/* GRFTSH_REVIEWER_COMPENSATION_DASHBOARD_PHASE1 */
.dashboard-reviewer-compensation { min-width: 0; }
.dashboard-rc-header h2 { margin: 0 0 8px; }
.dashboard-rc-header p, .dashboard-rc-modules p { color: var(--text-muted, #aaa); line-height: 1.5; }
.dashboard-rc-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 22px 0; }
.dashboard-rc-modules button { min-width: 0; padding: 18px; border: 1px solid rgba(160,160,160,.2); border-radius: 14px; background: rgba(120,120,120,.06); color: inherit; text-align: left; font: inherit; cursor: pointer; }
.dashboard-rc-modules button:hover, .dashboard-rc-modules button:focus-visible { border-color: rgba(210,210,210,.6); background: rgba(130,130,130,.12); }
.dashboard-rc-modules h3 { margin: 0 0 8px; }
.dashboard-rc-modules p { margin: 0; }
.dashboard-rc-status { color: var(--text-muted, #aaa); }

/* GRFTSH_REVIEWER_COMPENSATION_RATES_UI_PHASE2 */
.dashboard-rc-rates { margin-top: 20px; border-top: 1px solid rgba(150,150,150,.2); padding-top: 18px; }
.dashboard-rc-rates-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.dashboard-rc-rates-head h3 { margin:0; }
.dashboard-rc-rates button { padding:10px 14px; border-radius:9px; border:1px solid rgba(150,150,150,.35); cursor:pointer; }
.dashboard-rc-rates button:disabled { opacity:.5; cursor:wait; }
.dashboard-rc-current { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; margin:16px 0; }
.dashboard-rc-rate-card { display:flex; flex-direction:column; gap:8px; border:1px solid rgba(150,150,150,.25); border-radius:12px; padding:16px; }
.dashboard-rc-rate-card h4 { margin:0; }
.dashboard-rc-rate-card strong { font-size:1.5rem; }
.dashboard-rc-rate-card small, .dashboard-rc-hint { color:var(--text-muted,#aaa); line-height:1.5; }
.dashboard-rc-form { padding:16px; border:1px solid rgba(150,150,150,.25); border-radius:12px; margin-bottom:18px; }
.dashboard-rc-form h4 { margin:0 0 14px; }
.dashboard-rc-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr)); gap:12px; }
.dashboard-rc-fields label { display:flex; flex-direction:column; gap:7px; }
.dashboard-rc-fields input, .dashboard-rc-fields select { width:100%; box-sizing:border-box; padding:10px; border-radius:8px; border:1px solid rgba(150,150,150,.35); background:var(--surface,#222); color:inherit; }
.dashboard-rc-history { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:12px; }
.dashboard-rc-history-group { border:1px solid rgba(150,150,150,.2); border-radius:12px; padding:14px; }
.dashboard-rc-history-group h5 { margin:0 0 10px; }
.dashboard-rc-history-row { display:flex; flex-wrap:wrap; gap:8px 12px; justify-content:space-between; padding:8px 0; border-top:1px solid rgba(150,150,150,.13); }
.dashboard-rc-status[data-error="true"] { color:#f09a9a; }

/* GRFTSH_REVIEWER_COMPENSATION_SUBNAV_PHASE3 */
.dashboard-rc-modules[hidden], .dashboard-rc-subnav[hidden], .dashboard-rc-rates[hidden], .dashboard-rc-pending[hidden] { display: none !important; }
.dashboard-rc-subnav { margin: 20px 0 8px; }
.dashboard-rc-subnav button { background: transparent; color: inherit; border: 1px solid rgba(160,160,160,.28); border-radius: 9px; padding: 10px 14px; cursor: pointer; }
.dashboard-rc-subnav button:hover, .dashboard-rc-subnav button:focus-visible { border-color: rgba(210,210,210,.6); }
.dashboard-rc-pending { margin-top: 18px; border-top: 1px solid rgba(150,150,150,.2); padding-top: 18px; color: var(--text-muted,#aaa); }
.dashboard-rc-pending h3 { color: inherit; }

/* GRFTSH_REVIEWER_COMPENSATION_REVIEWERS_UI_PHASE5 */
.dashboard-rc-reviewers-list { display:grid; gap:16px; margin-top:16px; }
.dashboard-rc-reviewer-card { border:1px solid rgba(255,255,255,.15); border-radius:14px; padding:18px; display:grid; gap:14px; background:rgba(255,255,255,.035); }
.dashboard-rc-reviewer-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; align-items:center; }
.dashboard-rc-reviewer-head h4 { margin:0; }
.dashboard-rc-reviewer-head small { opacity:.75; }
.dashboard-rc-reviewer-info p { margin:5px 0; }
.dashboard-rc-reviewer-history { border-top:1px solid rgba(255,255,255,.1); padding-top:10px; }
.dashboard-rc-reviewer-history summary { cursor:pointer; }
.dashboard-rc-reviewer-event { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 0; }
.dashboard-rc-reviewer-event small { width:100%; opacity:.8; }
.dashboard-rc-reviewer-editor { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; border-top:1px solid rgba(255,255,255,.12); padding-top:14px; }
.dashboard-rc-reviewer-field { display:grid; gap:6px; min-width:0; }
.dashboard-rc-reviewer-field input, .dashboard-rc-reviewer-field select, .dashboard-rc-reviewer-field textarea { width:100%; min-width:0; padding:9px; border:1px solid #555; background:#1a1a1a; color:#fff; border-radius:8px; box-sizing:border-box; }
.dashboard-rc-reviewer-editor button { grid-column:1/-1; justify-self:start; padding:10px 18px; border-radius:8px; cursor:pointer; }
@media(max-width:700px) { .dashboard-rc-reviewer-editor { grid-template-columns:1fr; } }

/* GRFTSH_REVIEWER_COMPENSATION_REVIEWERS_UI_PHASE6 */
.dashboard-rc-reviewers-search-label { display:block; margin:12px 0 6px; font-weight:600; }
.dashboard-rc-reviewers-search { display:block; width:100%; box-sizing:border-box; color:inherit; background:#1a1a1a; border:1px solid #555; border-radius:9px; padding:11px 13px; font:inherit; }
.dashboard-rc-reviewers-search:focus-visible { outline:2px solid #bdbdbd; outline-offset:2px; }
.dashboard-rc-reviewers-count { text-align:right; opacity:.7; font-size:12px; margin-top:7px; }
.dashboard-rc-reviewers-list { gap:10px; margin-top:10px; }
.dashboard-rc-reviewer-card { display:block; padding:0; overflow:hidden; }
.dashboard-rc-reviewer-card[hidden] { display:none !important; }
.dashboard-rc-reviewer-head { display:flex; cursor:pointer; list-style:none; padding:16px 18px; user-select:none; }
.dashboard-rc-reviewer-head::-webkit-details-marker { display:none; }
.dashboard-rc-reviewer-head:focus-visible { outline:2px solid #eee; outline-offset:-3px; }
.dashboard-rc-reviewer-identity { display:grid; gap:5px; min-width:0; }
.dashboard-rc-reviewer-identity h4 { overflow-wrap:anywhere; }
.dashboard-rc-reviewer-chevron { display:inline-block; font-size:23px; line-height:1; transition:transform .15s ease; flex:none; }
.dashboard-rc-reviewer-card[open] .dashboard-rc-reviewer-chevron { transform:rotate(180deg); }
.dashboard-rc-reviewer-content { display:grid; gap:14px; border-top:1px solid rgba(255,255,255,.12); padding:16px 18px 18px; }
.dashboard-rc-reviewers-no-match { margin:12px 0; opacity:.8; }

/* GRFTSH_REVIEWER_COMPENSATION_STATEMENTS_UI_PHASE8 */
.dashboard-rc-statements-search-label { display:block; margin:12px 0 6px; font-weight:600; }
.dashboard-rc-statements-search { width:100%; box-sizing:border-box; padding:11px 13px; border-radius:9px; background:#1a1a1a; border:1px solid #555; color:inherit; font:inherit; }
.dashboard-rc-statements-search:focus-visible { outline:2px solid #bdbdbd; outline-offset:2px; }
.dashboard-rc-statements-list { display:grid; gap:10px; margin-top:12px; }
.dashboard-rc-statement-card { border:1px solid rgba(255,255,255,.15); border-radius:14px; overflow:hidden; background:rgba(255,255,255,.035); }
.dashboard-rc-statement-card[hidden] { display:none!important; }
.dashboard-rc-statement-head { display:flex; gap:12px; justify-content:space-between; align-items:center; cursor:pointer; padding:16px 18px; }
.dashboard-rc-statement-head:focus-visible { outline:2px solid #eee; outline-offset:-3px; }
.dashboard-rc-statement-identity { display:grid; gap:5px; min-width:0; }
.dashboard-rc-statement-identity h4 { margin:0; overflow-wrap:anywhere; }
.dashboard-rc-statement-identity small { opacity:.7; }
.dashboard-rc-statement-content { border-top:1px solid rgba(255,255,255,.12); padding:16px 18px; display:grid; gap:10px; }
.dashboard-rc-st-detail-line { display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap; overflow-wrap:anywhere; }
.dashboard-rc-st-detail-line strong { font-weight:600; }
.dashboard-rc-statement-entries { display:grid; gap:10px; }
.dashboard-rc-st-entry { padding:12px; border:1px solid rgba(255,255,255,.12); border-radius:10px; display:grid; gap:7px; }
.dashboard-rc-st-error { color:#ff9999; }
.dashboard-rc-statements-no-match { opacity:.8; }

/* GRFTSH_REVIEWER_COMPENSATION_STATEMENTS_UI_PHASE10C */
.dashboard-rc-st-draft { border:1px solid rgba(255,255,255,.16); border-radius:14px; padding:16px; margin:14px 0 20px; background:rgba(255,255,255,.03); }
.dashboard-rc-st-draft h4 { margin:0 0 14px; }
.dashboard-rc-st-draft-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 12px; align-items:end; }
.dashboard-rc-st-draft-fields label { grid-row:1; font-weight:600; }
.dashboard-rc-st-draft-fields select, .dashboard-rc-st-draft-fields input { width:100%; box-sizing:border-box; border:1px solid #555; border-radius:9px; padding:10px; background:#1a1a1a; color:inherit; font:inherit; min-width:0; color-scheme:dark; }
.dashboard-rc-st-draft-actions { display:flex; flex-wrap:wrap; gap:10px; margin:15px 0 8px; }
.dashboard-rc-st-draft-actions button { padding:10px 15px; border-radius:9px; cursor:pointer; }
.dashboard-rc-st-draft-actions button:disabled { opacity:.45; cursor:not-allowed; }
.dashboard-rc-st-preview-result { display:grid; gap:10px; margin-top:12px; }
.dashboard-rc-st-blocks { border-top:1px solid rgba(255,255,255,.15); padding-top:12px; }
.dashboard-rc-st-blocks ul { margin:7px 0 0; padding-left:22px; }
@media(max-width:620px) { .dashboard-rc-st-draft-fields {grid-template-columns:1fr;} .dashboard-rc-st-draft-fields label {grid-row:auto;} }

/* GRFTSH_REVIEWER_COMPENSATION_APPROVAL_UI_PHASE11B */
.dashboard-rc-st-approve-area { border-top:1px solid rgba(255,255,255,.15);padding-top:15px;display:grid;gap:9px;justify-items:start; }
.dashboard-rc-st-approve-button { padding:11px 16px;border-radius:9px;cursor:pointer;font:inherit;font-weight:650; }
.dashboard-rc-st-approve-button:disabled { opacity:.45;cursor:not-allowed; }
.dashboard-rc-st-approve-help { margin:0;opacity:.85;font-size:.9em; }
.dashboard-rc-st-approve-help[data-error="true"] { color:#ff9999;opacity:1; }

/* GRFTSH_REVIEWER_COMPENSATION_PAYMENT_UI_PHASE12B */
.dashboard-rc-st-payment-area {border-top:1px solid rgba(255,255,255,.15); margin-top:12px; padding-top:16px; display:grid; gap:9px; max-width:600px}
.dashboard-rc-st-payment-area h5,.dashboard-rc-st-payment-area p {margin:0}
.dashboard-rc-st-payment-note {opacity:.85;font-size:.9em}
.dashboard-rc-st-payment-date,.dashboard-rc-st-payment-reference {width:100%;box-sizing:border-box;padding:10px 12px;border-radius:8px;color:inherit;background:var(--surface,#191919);border:1px solid rgba(255,255,255,.25);font:inherit}
.dashboard-rc-st-payment-check {display:flex;align-items:flex-start;gap:9px;cursor:pointer;margin-top:5px}
.dashboard-rc-st-payment-check input {margin-top:4px}
.dashboard-rc-st-payment-button {justify-self:start;padding:11px 16px;border-radius:9px;cursor:pointer;font:inherit;font-weight:650}
.dashboard-rc-st-payment-button:disabled {opacity:.45;cursor:not-allowed}
.dashboard-rc-st-payment-feedback[data-error="true"] {color:#ff9999}

/* GRFTSH_REVIEWER_COMPENSATION_VOID_UI_PHASE13B */
.dashboard-rc-st-void-area {border-top:1px solid rgba(255,255,255,.15); margin-top:12px; padding-top:16px; display:grid;gap:9px;justify-items:start}
.dashboard-rc-st-void-note,.dashboard-rc-st-void-feedback {margin:0;font-size:.9em}
.dashboard-rc-st-void-note {opacity:.85}
.dashboard-rc-st-void-button {padding:11px 16px;border-radius:9px;border:1px solid #b94a4a;background:transparent;color:inherit;cursor:pointer;font:inherit;font-weight:650}
.dashboard-rc-st-void-button:disabled {opacity:.45;cursor:not-allowed}
.dashboard-rc-st-void-feedback[data-error="true"] {color:#ff9999}
