
.gh-intro{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #cad9ee;background:#f4f8ff;border-radius:14px;padding:16px;margin:16px 0}
.gh-intro p{margin:6px 0 0;color:#46536a;font-size:.94rem}
.gh-chip{display:inline-flex;align-items:center;border:1px solid #c7d2e3;background:#f4f7fb;color:#39465b;border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:600;white-space:nowrap}
.gh-chip.gh-ok{border-color:#a8dfc0;background:#eaf7ef;color:#12673c}
.gh-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:14px 0 20px}
.gh-stat{border:1px solid #e1e8f2;background:white;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:4px}
.gh-stat strong{font-size:1.35rem;color:#0c3169}.gh-stat span{font-size:.82rem;color:#637084}
.gh-caution{background:#fffaf0;border:1px solid #eed49f;border-radius:12px;padding:14px 16px;margin:16px 0;color:#614716}
.gh-caution p{margin:6px 0 0;font-size:.87rem}
.gh-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #d9e3ef;margin:18px 0}
.gh-tabs button{flex-shrink:0;background:transparent;border:0;border-bottom:3px solid transparent;padding:12px 15px;cursor:pointer;font:inherit;color:#47556e}
.gh-tabs button.active{border-color:#0a3c83;color:#093771;font-weight:700}
.gh-tabs button:focus-visible{outline:2px solid #1c67bd;outline-offset:-2px}
.gh-panel{margin-bottom:1rem}.gh-panel h4{margin-bottom:8px}.gh-panel h5{margin:1.3rem 0 .65rem}
.gh-help{font-size:.9rem;line-height:1.55;margin-bottom:1rem}
.gh-levels{border:1px solid #dce3ec;border-radius:12px;padding:12px 16px;margin-top:16px}
.gh-levels legend{font-weight:600;padding:0 6px}
.gh-check{display:inline-flex;align-items:center;gap:7px;margin:8px 14px 8px 0;font-size:.94rem}
.gh-check input{width:18px;height:18px}
.gh-table-wrap{overflow-x:auto}.gh-table-wrap table{min-width:640px;width:100%}
.gh-records{display:grid;gap:9px}.gh-record{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e0e7f1;border-radius:12px;padding:12px 14px}
.gh-record p{margin:7px 0;color:#526079;font-size:.9rem}
.gh-evidence-list{display:grid;gap:12px}
.gh-evidence-item{border:1px solid #dce5ef;border-radius:12px;padding:14px;background:#fff}
.gh-evidence-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.gh-evidence-head select{max-width:180px;min-height:38px;border:1px solid #cbd5e1;border-radius:7px;background:#fff}
.gh-resources{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
.gh-resources a{display:flex;flex-direction:column;gap:8px;border:1px solid #d5e2ef;padding:14px;border-radius:11px;background:white;text-decoration:none}
.gh-resources a:hover{border-color:#1b5db7}.gh-resources small{color:#5b7189}
/* Keep the primary action in an independent top-right grid cell.
   Feedback occupies a reserved row below it, so saving never moves the button. */
.gh-actions{display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:auto minmax(1.4em,auto);align-items:start;gap:8px;padding:14px 0 25px}
.gh-actions #ghSave{grid-column:2;grid-row:1;justify-self:end;white-space:nowrap}
#ghanaStatus{grid-column:1 / -1;grid-row:2;min-width:0;min-height:1.4em;overflow-wrap:anywhere;font-size:.9rem;color:#4e617b}
#ghanaStatus[data-kind="error"]{color:#a52121}#ghanaStatus[data-kind="success"]{color:#14723d}
@media(max-width:650px){.gh-intro,.gh-evidence-head,.gh-record{flex-direction:column;align-items:stretch}.gh-evidence-head select{max-width:none}.gh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-tabs button{padding:11px 12px;font-size:.88rem}.gh-resources{grid-template-columns:1fr}}
