/* Charlie 3.2.0 — Governance and Judicial Board screens */
.gov-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.gov-kpi{padding:16px;border-radius:12px;border:1px solid var(--line);background:var(--surface);display:grid;gap:7px}
.gov-kpi small{font-size:11px;letter-spacing:.05em;color:var(--muted);font-weight:750}
.gov-kpi strong{font-size:26px;line-height:1.1;color:var(--fg)}
.gov-tabs,.gov-actions,.gov-shortcuts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gov-tabs button.active{background:var(--garnet);color:#fff;border-color:var(--garnet)}
.gov-entry{border-top:1px solid var(--line);padding:16px 0;display:grid;gap:9px}
.gov-entry:first-of-type{border-top:0}
.gov-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.gov-head strong{color:var(--fg);font-size:15px;overflow-wrap:anywhere}
.gov-status{display:inline-flex;align-items:center;background:var(--soft);color:var(--fg);border:1px solid var(--line);font-size:11px;font-weight:750;border-radius:100px;padding:5px 10px;white-space:nowrap}
.gov-complete,.gov-closed,.gov-resolved{background:#e0f4e5;color:#205632;border-color:#abd2b7}
.gov-in_progress,.gov-review,.gov-hearing{background:#fff0c8;color:#68470e;border-color:#dec788}
.gov-open,.gov-not_started{background:#f9e0e5;color:#782734;border-color:#dfaab6}
.gov-pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0;color:var(--fg)}
.gov-hint{padding:10px;background:var(--soft);border-radius:8px;font-size:12px;color:var(--fg)}
.gov-edit{border:1px solid var(--gold);margin:14px 0}
.gov-actions label{min-width:150px;max-width:230px}
.gov-hearing{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid var(--line)}
.gov-hearing:first-of-type{border-top:0}
@media(max-width:740px){.gov-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.gov-head,.gov-hearing{flex-wrap:wrap}.gov-actions{align-items:end}}
[data-charlie-theme="dark"] .gov-complete,[data-theme="dark"] .gov-complete,[data-theme="dark"] .gov-resolved,[data-theme="dark"] .gov-closed{background:#183a27;color:#c3f5d1;border-color:#345f40}
[data-charlie-theme="dark"] .gov-in_progress,[data-charlie-theme="dark"] .gov-review,[data-charlie-theme="dark"] .gov-hearing{background:#45341a;color:#ffe1a4;border-color:#806833}
[data-charlie-theme="dark"] .gov-open,[data-charlie-theme="dark"] .gov-not_started{background:#502835;color:#ffe2e7;border-color:#895060}

/* Silent E-Board submission form enhancement — matches Chair Topic Submissions */
.gov-edit .ops-area{display:grid;gap:8px}
.gov-edit .ops-area label{display:block;width:100%}
.gov-edit .ops-area textarea{width:100%;min-height:118px}
.gov-edit .ops-bullet{justify-self:start;width:max-content}
.gov-edit .ops-full{grid-column:1/-1}
.gov-edit .ops-full h4{margin:8px 0 12px}
.gov-edit .ops-date-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.gov-edit .ops-date-row input{flex:1;min-width:0}
.gov-edit [name="Meeting Type"]:read-only{opacity:.88;cursor:default}
@media(max-width:650px){.gov-edit .ops-date-row{flex-wrap:wrap}}


/* Silent patch — distinct E-Board Dashboard and Chair Topic Submission pages */
.gov-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 18px}
.gov-dashboard-grid .card{margin:0}
.gov-dashboard-intro .gov-shortcuts,.gov-topic-heading .gov-shortcuts{margin-top:16px}
.gov-date-strong{font-size:22px;font-weight:800;line-height:1.2;color:var(--fg);margin:10px 0}
.gov-submission-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.gov-submission-details>div{display:flex;flex-direction:column;gap:7px;padding:13px;background:var(--soft);border:1px solid var(--line);border-radius:10px}
.gov-submission-details small{color:var(--muted);font-weight:800;letter-spacing:.055em;font-size:10px}
.gov-submission-details strong{color:var(--fg);font-size:14px;overflow-wrap:anywhere}
.gov-topics-filter{display:flex;justify-content:flex-end;margin:15px 0}
.gov-topics-filter label{min-width:220px}
.gov-topic-heading .gov-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
@media(max-width:760px){.gov-dashboard-grid{grid-template-columns:1fr}.gov-submission-details{grid-template-columns:1fr}.gov-topics-filter label{width:100%}}
