/* v4.2.60 — Super Admin workspace with sidebar parity + global weather video manager */
:root{--sa-side-a:#156f8d;--sa-side-b:#19a787;--sa-side-c:#143a67;--sa-bg:#eef2f5;--sa-card:#fff;--sa-text:#17212b;--sa-muted:#6d7781;--sa-line:#e4e8ec}
body{background:var(--sa-bg)!important;color:var(--sa-text)!important;padding:0!important}
.super-workspace{min-height:100vh!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--sa-bg)!important;display:grid!important;grid-template-columns:278px minmax(0,1fr)!important;overflow:visible!important}
.super-sidebar{position:sticky;top:0;height:100vh;padding:22px 16px 18px;display:flex;flex-direction:column;background:linear-gradient(160deg,var(--sa-side-a) 0%,var(--sa-side-b) 48%,var(--sa-side-c) 100%);color:#fff;box-shadow:14px 0 36px rgba(23,64,82,.12);z-index:30}
.super-brand{display:flex;gap:12px;align-items:center;padding:4px 6px 20px;border-bottom:1px solid rgba(255,255,255,.14)}.super-brand-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.97);color:#127e82;font-size:25px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.12)}.super-brand strong{display:block;font-size:16px;letter-spacing:-.02em}.super-brand span{display:block;margin-top:2px;font-size:11px;color:rgba(255,255,255,.7);letter-spacing:.09em;text-transform:uppercase}
.super-nav{flex:1;overflow:auto;padding:12px 2px 14px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}.super-nav-group{margin:12px 0}.super-nav-group>span{display:block;padding:0 12px 7px;font-size:9px;font-weight:900;letter-spacing:.17em;color:rgba(255,255,255,.56)}.super-nav-item{width:100%;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:8px;padding:10px 12px;margin:3px 0;border:1px solid transparent;border-radius:13px;background:transparent;color:rgba(255,255,255,.82);text-align:left;cursor:pointer;transition:.18s ease}.super-nav-item b{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.09);font-size:14px;font-style:normal}.super-nav-item em{font-style:normal;font-size:13px;font-weight:720;letter-spacing:.005em}.super-nav-item:hover{background:rgba(255,255,255,.09);color:#fff}.super-nav-item.active{background:#fff;color:#153b54;box-shadow:0 10px 25px rgba(7,45,56,.15)}.super-nav-item.active b{background:#e7f8f5;color:#0d927c}
.super-sidebar-footer{display:grid;gap:6px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14)}.super-side-action{border:0;background:rgba(255,255,255,.08);color:rgba(255,255,255,.9);border-radius:12px;padding:10px 12px;text-align:left;cursor:pointer}.super-side-action:hover{background:rgba(255,255,255,.15)}.super-side-action.danger{color:#ffe4df}
.super-content-shell{min-width:0}.super-topbar{position:sticky!important;top:0!important;z-index:20!important;display:flex!important;justify-content:space-between!important;align-items:center!important;padding:18px 28px!important;border-bottom:1px solid var(--sa-line)!important;background:rgba(255,255,255,.88)!important;backdrop-filter:blur(20px)!important}.super-topbar h1{font-size:24px!important;margin:2px 0!important;color:var(--sa-text)!important}.super-topbar p{margin:0!important;color:var(--sa-muted)!important}.super-topbar-status{display:flex;align-items:center;gap:8px;border:1px solid var(--sa-line);background:#fff;border-radius:999px;padding:8px 12px;font-size:11px;color:var(--sa-muted)}.super-topbar-status strong{color:#1f6f76}.live-dot{width:8px;height:8px;border-radius:50%;background:#25b881;box-shadow:0 0 0 5px rgba(37,184,129,.12)}
.super-pages{padding:26px 30px 60px!important}.super-page{display:none}.super-page.active{display:block;animation:superPageIn .22s ease}@keyframes superPageIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 18px}.page-intro>div>span{display:block;font-size:10px;letter-spacing:.17em;font-weight:900;color:#1d9588;margin-bottom:6px}.page-intro h2{font-size:28px;letter-spacing:-.035em;margin:0;color:var(--sa-text)}.page-intro p{margin:6px 0 0;color:var(--sa-muted);max-width:780px}.global-pill{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#e8f6f2;color:#16806f;font-size:10px;font-weight:900;letter-spacing:.08em;border:1px solid #d1ece4;white-space:nowrap}
.super-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.overview-card{min-height:175px;padding:22px;border-radius:22px;border:1px solid var(--sa-line);background:#fff;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 10px 30px rgba(31,49,61,.045)}.overview-card span{font-size:11px;font-weight:850;letter-spacing:.08em;color:#6f7881;text-transform:uppercase}.overview-card strong{margin-top:12px;font-size:22px;line-height:1.08;letter-spacing:-.03em;color:#17212b}.overview-card button{margin-top:auto;border:0;background:transparent;font-weight:800;padding:0;cursor:pointer}.accent-blue{background:linear-gradient(145deg,#e8efff,#fff)}.accent-blue button{color:#4869c8}.accent-cyan{background:linear-gradient(145deg,#dff6ef,#fff)}.accent-cyan button{color:#158771}.accent-orange{background:linear-gradient(145deg,#fff0df,#fff)}.accent-orange button{color:#c47626}
.weather-global-panel{padding:20px!important}.weather-upload-help{display:flex;gap:12px;align-items:center;padding:12px 14px;margin-bottom:16px;border-radius:14px;border:1px solid #dbe9e6;background:#f4fbf9;color:#62716e}.weather-upload-help strong{color:#197f73}.weather-upload-help span{font-size:12px}.weather-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.weather-video-card{border:1px solid var(--sa-line);border-radius:18px;overflow:hidden;background:#fff}.weather-video-preview{height:185px;position:relative;background:linear-gradient(145deg,#dceaf0,#a9c8d4);display:grid;place-items:center;overflow:hidden}.weather-video-preview video{width:100%;height:100%;object-fit:cover}.weather-video-preview .weather-video-empty{font-size:42px;opacity:.6}.weather-video-state{position:absolute;right:10px;top:10px;padding:5px 8px;border-radius:999px;background:rgba(14,25,31,.65);color:#fff;font-size:9px;font-weight:900;letter-spacing:.07em;backdrop-filter:blur(8px)}.weather-video-card-body{padding:15px}.weather-video-card h3{margin:0;font-size:17px}.weather-video-card p{margin:5px 0 12px;color:var(--sa-muted);font-size:12px;min-height:34px}.weather-video-meta{font-size:10px;color:#8a9299;margin-bottom:10px}.weather-video-form{display:grid;grid-template-columns:1fr auto;gap:8px}.weather-video-form input[type=file]{min-width:0;padding:9px!important;font-size:11px!important}.weather-video-actions{display:flex;gap:8px;align-items:center;margin-top:8px}.weather-video-actions button{font-size:11px;padding:8px 11px!important}
.super-page .panel{margin-top:14px!important}.super-page .table-wrap{margin-top:0}.super-page .stats{margin-bottom:0}
@media(max-width:1100px){.super-workspace{grid-template-columns:238px minmax(0,1fr)!important}.weather-video-grid,.super-overview-grid{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.super-workspace{display:block!important}.super-sidebar{position:relative;height:auto;padding:12px}.super-brand{padding-bottom:10px}.super-nav{display:flex;overflow:auto;gap:6px;padding:8px 0}.super-nav-group{display:contents}.super-nav-group>span{display:none}.super-nav-item{min-width:150px;margin:0;background:rgba(255,255,255,.08)}.super-sidebar-footer{display:flex;border:0;padding:4px 0}.super-content-shell{min-width:0}.super-topbar{position:sticky!important;padding:14px 16px!important}.super-topbar-status{display:none}.super-pages{padding:18px 14px 44px!important}.page-intro{align-items:flex-start;flex-direction:column}.weather-video-grid,.super-overview-grid{grid-template-columns:1fr}}

/* v4.2.64: deterministic Super Admin panel routing */
.super-page[hidden]{display:none!important}
.super-page.active:not([hidden]){display:block!important}
/* v4.2.66 — Authentication visibility hard guard.
   super-workspace has display:grid!important, therefore generic .hidden could be overridden
   by this later stylesheet. These selectors are intentionally more specific and last. */
#superApp.hidden,
#superApp[hidden],
.super-workspace.hidden { display:none!important; }
#superLogin.hidden,
#superLogin[hidden] { display:none!important; }


/* v4.2.68 — Tenant-selectable global weather providers */
.weather-provider-panel{padding:20px!important}.weather-provider-toolbar{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(360px,1.3fr);gap:14px;align-items:end;margin:12px 0 16px}.weather-provider-toolbar>label{margin:0}.weather-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.weather-provider-card{border:1px solid var(--sa-line);border-radius:18px;background:#fff;padding:16px;box-shadow:0 8px 24px rgba(31,49,61,.035)}.weather-provider-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.weather-provider-head h3{margin:0;font-size:17px}.weather-provider-head p{margin:5px 0 0;color:var(--sa-muted);font-size:12px;line-height:1.45}.weather-provider-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.weather-provider-fields label{margin:0}.weather-provider-fields label:has(input[name=api_key]){grid-column:1/-1}.weather-key-clear{grid-column:1/-1!important;display:flex!important;align-items:center;gap:8px;font-size:11px!important;color:var(--sa-muted)!important}.weather-key-clear input{width:auto!important}.weather-keyless{grid-column:1/-1;padding:10px 12px;border:1px dashed #cfe2dd;border-radius:12px;background:#f7fbfa}.weather-keyless strong,.weather-keyless span{display:block}.weather-keyless strong{font-size:12px;color:#197f73}.weather-keyless span{margin-top:3px;font-size:11px;color:var(--sa-muted)}.weather-provider-actions{display:flex;align-items:center;gap:8px;margin-top:12px}.weather-provider-actions button,.weather-provider-actions a{font-size:11px}.weather-provider-card .badge.ready{background:#e7f7f0;color:#167b62;border-color:#cdebdc}.weather-provider-card .badge.offline{background:#fff2e8;color:#a85f1e;border-color:#f2dac3}
@media(max-width:1100px){.weather-provider-grid{grid-template-columns:1fr}.weather-provider-toolbar{grid-template-columns:1fr}}
