/* Grid Tracker styles scoped to its own page; no changes to Radio */
.gt-page{color:#e6f4ff;box-sizing:border-box;width:100%;max-width:1580px;margin:0 auto;padding:12px 16px 28px}.gt-page *{box-sizing:border-box}.gt-heading,.gt-tools,.gt-maptoolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.gt-heading h2{margin:0;font-size:1.45rem}.gt-heading p,.gt-count,.gt-mapwrap small,.gt-notice{color:#9db6c9;font-size:.84rem}.gt-page button,.gt-page select,.gt-page input{background:#12344b;color:#e3f6ff;border:1px solid #2a6a89;border-radius:7px;padding:8px 10px;max-width:100%;width:auto;font:inherit}.gt-page button{cursor:pointer;min-height:35px}.gt-page button:hover{border-color:#2addf4}.gt-statline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.gt-statline>div,.gt-mapwrap,.gt-details{border:1px solid #235773;border-radius:10px;background:#0b2336;padding:12px;min-width:0}.gt-statline span{display:block;color:#92b5cf;font-size:.77rem}.gt-statline strong{font-size:1.5rem}.gt-tools{justify-content:flex-start;background:#0b2336;border:1px solid #235773;border-radius:9px;padding:10px}.gt-tools label{font-size:.79rem;display:flex;flex-direction:column;gap:4px;min-width:120px;flex:1}.gt-tools label:last-of-type{flex:2}.gt-tools input{width:100%}.gt-count{margin:11px 0}.gt-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:12px}.gt-mapwrap{overflow:hidden}.gt-maptoolbar{margin-bottom:8px}.gt-maptoolbar button{font-size:1.2rem}.gt-mapwrap small{display:block;margin-top:7px}.gt-map{width:100%}#gt-map{aspect-ratio:2/1;overflow:hidden;border:1px solid #326480;border-radius:7px;background:#071c2d}#gt-world{display:block;width:100%;height:100%}#gt-lines path{stroke:#315368;stroke-width:.65;fill:none}#gt-cells rect{cursor:pointer;stroke:#11354a;stroke-width:.4}.gt-worked{fill:#24cc78;fill-opacity:.82}.gt-confirmed{fill:#22d4f8;fill-opacity:.9}#gt-cells rect:hover{fill:#f6cb52}.gt-details h3{margin:0 0 10px}.gt-details p{color:#b1cbda}.gt-record{border-top:1px solid #27455a;padding:8px 2px;display:flex;justify-content:space-between;gap:8px;font-size:.83rem}.gt-record span{color:#adc3d5}#gt-grid-records{max-height:330px;overflow-y:auto}.gt-details button{margin-top:12px}.gt-notice{padding:10px}@media(max-width:750px){.gt-page{padding:8px}.gt-statline{grid-template-columns:repeat(2,minmax(0,1fr))}.gt-columns{grid-template-columns:1fr}.gt-tools label{flex:1 1 43%;min-width:0}.gt-record{flex-direction:column;gap:3px}#gt-grid-records{max-height:220px}}

/* Grid Tracker desktop mockup-inspired dashboard v2 */
@media(min-width:900px){
.gt-page{max-width:none;width:min(100%,1760px);padding:14px 20px 24px}
.gt-desktop-shell{display:grid;grid-template-columns:minmax(230px,270px) minmax(0,1fr);grid-template-areas:"heading heading" "side main";gap:14px;align-items:start}
.gt-desktop-heading{grid-area:heading;display:flex;justify-content:space-between;align-items:center;gap:12px}
.gt-desktop-heading .gt-heading{min-width:0}.gt-desktop-heading .gt-heading h2{font-size:1.75rem}
.gt-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.gt-header-actions button{white-space:nowrap;font-size:.85rem}
.gt-header-actions #gt-open-large{background:linear-gradient(120deg,#0478b7,#08b9db);font-weight:700;color:#fff}
.gt-filter-sidebar{grid-area:side;background:#0d253c;border:1px solid #25618a;border-radius:10px;padding:14px;min-width:0}
.gt-sidebar-title{font-size:1rem;margin:0 0 14px}
.gt-filter-sidebar .gt-tools{display:flex;flex-direction:column;align-items:stretch;border:0;background:transparent;padding:0;gap:14px}
.gt-filter-sidebar .gt-tools label{width:100%;flex:initial;min-width:0;color:#b9d5e7}
.gt-filter-sidebar .gt-tools select,.gt-filter-sidebar .gt-tools input{width:100%;min-width:0}
.gt-filter-sidebar #gt-reset{display:none}
.gt-primary{grid-area:main;min-width:0}
.gt-statline{grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 10px}
.gt-statline>div{min-height:76px;padding:10px 12px;background:linear-gradient(145deg,#0e2c48,#082137)}
.gt-statline strong{display:block;font-size:1.55rem;color:#c9f5ff;margin-top:3px}
.gt-statline>div:first-child strong{color:#62e59c}
.gt-count{margin:5px 0 8px;font-size:.76rem}
.gt-dashboard-body{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(230px,1fr);gap:12px;align-items:stretch}
.gt-center{min-width:0;display:flex;flex-direction:column;gap:10px}
.gt-mapwrap{display:flex;flex-direction:column;background:#091f35}
.gt-maptoolbar{font-weight:700}.gt-mapwrap #gt-map{aspect-ratio:2.08/1}
.gt-mapwrap small{font-size:.7rem}
.gt-dashboard-body>.gt-details{margin:0;min-height:0}
.gt-details #gt-grid-records{max-height:300px}.gt-details button{width:100%}
.gt-grid-qso-panel{border:1px solid #235773;background:#0b2336;border-radius:10px;padding:10px;min-width:0}
.gt-qso-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px}
.gt-qso-head strong{font-size:.94rem}.gt-qso-head button{font-size:.75rem;min-height:30px;padding:5px 9px}
.gt-qso-tablebox{max-height:145px;overflow:auto}.gt-qso-tablebox table{border-collapse:collapse;width:100%;font-size:.75rem;table-layout:fixed}
.gt-qso-tablebox th,.gt-qso-tablebox td{border-bottom:1px solid #274b61;text-align:left;padding:6px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gt-qso-tablebox th{color:#a9d6ed;background:#11334f}
.gt-page .gt-desktop-shell ~ *{display:none}
}
@media(max-width:899px){.gt-desktop-shell{display:contents}.gt-desktop-heading,.gt-dashboard-body,.gt-center,.gt-primary{display:contents}.gt-header-actions{display:none}.gt-sidebar-title,.gt-grid-qso-panel,.gt-unique-card{display:none}.gt-filter-sidebar{display:contents}.gt-large-overlay{display:none!important}}
.gt-large-overlay[hidden]{display:none!important}
.gt-large-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(1,8,18,.82);padding:3vh 3vw;display:flex;align-items:center;justify-content:center}
.gt-large-dialog{display:flex;flex-direction:column;background:#071b31;color:#e7f9ff;border:1px solid #18b5dd;border-radius:13px;padding:14px;width:min(96vw,1800px);height:94vh;box-shadow:0 20px 90px #000c;min-height:0}
.gt-large-header,.gt-large-actions,.gt-large-bottom,.gt-large-legend{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gt-large-header{flex-wrap:wrap}.gt-large-header h2{margin:0;font-size:1.3rem}.gt-large-header p{margin:3px 0 9px;color:#98b7d1;font-size:.83rem}
.gt-large-actions button{background:#113651;color:#e1f7ff;border:1px solid #277b9e;border-radius:7px;padding:9px 12px;cursor:pointer}
.gt-large-map-slot{min-height:0;flex:1;display:flex;align-items:stretch;padding:5px 0}.gt-large-map-slot #gt-map{width:100%;height:100%;aspect-ratio:auto;flex:1}
.gt-large-bottom{align-items:flex-start;min-height:56px;flex-wrap:wrap;padding:8px 4px;color:#c1e3f7;font-size:.83rem}
.gt-large-legend{justify-content:flex-start;flex-wrap:wrap}.gt-large-legend span{display:inline-flex;gap:6px;align-items:center}
.gt-large-legend i{display:inline-block;width:11px;height:11px;border-radius:2px;background:#36576d}.gt-large-legend .gt-legend-worked{background:#24cc78}.gt-large-legend .gt-legend-confirmed{background:#22d4f8}
body.gt-modal-open{overflow:hidden}
@media(min-width:900px) and (max-height:760px){.gt-page{padding:7px 13px}.gt-statline>div{min-height:62px;padding:7px}.gt-mapwrap #gt-map{aspect-ratio:2.6/1}.gt-qso-tablebox{max-height:100px}.gt-desktop-heading .gt-heading h2{font-size:1.35rem}.gt-grid-qso-panel{padding:7px}}
