/* Padrão Concursos | Acervo GCM 2025–2026 */
.gm-area{background:#fff;border:1px solid #c7e0e8;border-radius:17px;overflow:hidden;margin:0 0 22px;box-shadow:0 8px 22px #173d4c0b}
.gm-hero{background:#123447;color:white;display:flex;justify-content:space-between;gap:18px;padding:23px}
.gm-eyebrow{color:#00CBFC;font-size:10px;letter-spacing:1.4px;font-weight:900}
.gm-hero h2{font-size:clamp(20px,2.3vw,27px);margin:9px 0;color:white}
.gm-hero p{font-size:12px;line-height:1.7;color:#00CBFC;max-width:540px}
.gm-hero-fig{min-width:130px;flex:none;background:#ffffff16;border:1px solid #c8f1f429;border-radius:12px;padding:12px;display:grid;gap:1px;text-align:center}
.gm-hero-fig b{font-size:24px;color:#fff}.gm-hero-fig small{font-size:10px;color:#00CBFC;margin-bottom:5px}
.gm-insight{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e0edf0}
.gm-insight>div{padding:13px 15px;display:grid;gap:5px;border-right:1px solid #e2edef}
.gm-insight>div:last-child{border-right:0}.gm-insight strong{font-size:15px;color:#087593}.gm-insight span{font-size:11px;color:#748c97}
.gm-tools{display:flex;flex-wrap:wrap;gap:13px;padding:17px 18px 0}
.gm-tools label{font-size:12px;color:#466b79;font-weight:800;display:grid;gap:6px}
.gm-search-label{flex:1;min-width:190px}.gm-select-label{min-width:120px}
.gm-tools input,.gm-tools select{min-height:43px;border-radius:9px;border:1px solid #bad5df;background:white;padding:9px 11px;font-size:13px;color:#087593}
.gm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}
.gm-card{min-width:0;border:1px solid #d4e7ec;border-radius:12px;background:#fbfefe;padding:14px;display:flex;flex-direction:column;gap:7px}
.gm-card[hidden]{display:none}
.gm-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px}
.gm-state{background:#daf2f7;border-radius:6px;padding:4px 7px;color:#087593;font-weight:900;font-size:10px}
.gm-year{color:#6b8793;font-size:11px}
.gm-card h4{font-size:17px;color:#18475a;margin:2px 0}.gm-card p{color:#647e8a;line-height:1.55;font-size:11px}
.gm-status{font-size:10px;color:#577263;margin-top:auto;font-weight:800}
.gm-card-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px}
.gm-primary,.gm-outline{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:5px;border-radius:8px;min-height:36px;border:1px solid #00CBFC;padding:8px 11px;font-size:11px;font-weight:850;text-decoration:none;cursor:pointer}
.gm-primary{background:#00CBFC;color:#123447}.gm-primary:hover{background:#00CBFC;color:#123447}
.gm-outline{background:white;color:#087593;border-color:#a9cbd6}.gm-outline:hover{background:#e5f5f9}
.gm-results{font-size:12px;color:#678590;padding:0 18px 13px}
.gm-note{background:#f1f8fa;border-top:1px solid #d9e9ed;padding:14px 18px;font-size:11px;line-height:1.7;color:#516e7d}.gm-note b{color:#205769}
.gm-note a{color:#087593;text-decoration:underline}
body.gm-open{overflow:hidden}
.gm-backdrop{position:fixed;inset:0;z-index:100100;background:#071b2bdd;padding:16px;display:grid;place-items:center;overflow:auto;overscroll-behavior:contain}
.gm-dialog{width:min(1050px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:white;color:#254f60;border-radius:16px;box-shadow:0 24px 70px #0005}
.gm-dialog>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;background:#00CBFC;color:#123447;padding:18px 21px}
.gm-dialog>header h2{font-size:22px;color:#fff;margin:8px 0 5px}
.gm-dialog>header p{font-size:12px;color:#00CBFC}
.gm-close{width:37px;height:37px;flex:none;border-radius:50%;border:1px solid #ffffff55;background:#ffffff23;color:white;font-size:20px;cursor:pointer}
.gm-dialog-body{padding:20px}
.gm-instruction{background:#edf7fa;border:1px solid #c4dfe7;border-radius:12px;padding:15px;margin-bottom:15px}
.gm-instruction>b{font-size:14px;color:#087593}.gm-instruction p{font-size:12px;color:#547481;margin:7px 0 12px;line-height:1.65}
.gm-instruction>div{display:flex;gap:8px;flex-wrap:wrap}
.gm-card-progress{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:15px;font-size:13px;color:#426779}
.gm-answergrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gm-answer-row{border:1px solid #d8e7ed;border-radius:10px;padding:9px;background:#fafdfd;min-width:0}
.gm-answer-row>span{font-size:12px;font-weight:900;color:#087593}
.gm-answer-row>div{display:flex;gap:3px;flex-wrap:wrap;margin:8px 0}
.gm-answer-row button{min-width:26px;min-height:29px;border-radius:6px;border:1px solid #b4d1da;background:#fff;color:#087593;font-size:12px;font-weight:900;cursor:pointer}
.gm-answer-row button.on{background:#00CBFC;color:#123447;border-color:#00CBFC}
.gm-answer-row button:focus-visible{outline:3px solid #00CBFC;outline-offset:2px}
.gm-answer-row small{color:#66838e;font-size:10px}
.gm-answer-row.gm-correct{background:#edf9f0;border-color:#a3ceae}.gm-answer-row.gm-wrong{background:#fff0ee;border-color:#e7b5ad}
.gm-answer-row.gm-annulled{background:#fff8ea;border-color:#efd4a1}.gm-answer-row.gm-unanswered{background:#f4f7fb;border-color:#c5ced8}
.gm-actions{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}
.gm-score{margin:0 0 15px;border-top:1px solid #dbe8ed;padding-top:12px;font-size:13px}
.gm-score:empty{display:none}.gm-score strong{font-size:16px;color:#087593}
.gm-score p{color:#55727e;font-size:12px;line-height:1.6;margin:7px 0 10px}
.gm-editorial{color:#6c8490;font-size:11px;line-height:1.7;padding-top:12px;border-top:1px solid #e0eaee}
@media(max-width:1050px){.gm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gm-answergrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.gm-hero{padding:17px;flex-direction:column}.gm-hero-fig{display:flex;justify-content:flex-start;gap:9px;align-items:baseline;min-width:0}.gm-hero-fig b{font-size:19px}.gm-hero-fig small{margin:0}.gm-insight{grid-template-columns:1fr}.gm-insight>div{padding:10px 14px;border-right:0;border-bottom:1px solid #e2edef}.gm-insight>div:last-child{border-bottom:0}.gm-grid{grid-template-columns:1fr;padding:12px}.gm-backdrop{padding:5px;place-items:start center}.gm-dialog{max-height:calc(100dvh - 10px);border-radius:10px}.gm-dialog>header{padding:12px 14px}.gm-dialog>header h2{font-size:17px}.gm-dialog-body{padding:11px}.gm-answergrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.gm-answer-row{padding:7px}.gm-answer-row button{min-width:23px;min-height:26px;font-size:11px}.gm-card-buttons .gm-primary{flex-grow:1}}
@media(max-width:390px){.gm-answergrid{grid-template-columns:1fr 1fr}.gm-answer-row button{min-width:21px}}


/* O header{height:82px} global da barra superior não deve limitar cabeçalhos de diálogos */
.gm-dialog>header{height:auto;min-height:0}
.gm-dialog>header p{margin:0;line-height:1.45}
