/* Shared Cloud design tokens: readable light surfaces, green brand, optional dark. */
:root{--wz-bg:#f3f7f6;--wz-panel:#fff;--wz-soft:#f7faf9;--wz-text:#173c37;--wz-muted:#607774;--wz-border:#dce8e3;--wz-primary:#16705b;--wz-tint:#e8f4ee;--wz-warning:#fff7e5;--wz-warning-text:#805510;--wz-danger:#b63745;--wz-shadow:0 6px 24px #123b2c06;--ux-ink:var(--wz-text);--ux-muted:var(--wz-muted);--ux-green:var(--wz-primary);--ux-line:var(--wz-border);color-scheme:light}
:root[data-theme=dark]{--wz-bg:#101a1c;--wz-panel:#19272a;--wz-soft:#142124;--wz-text:#e7f2ee;--wz-muted:#abc1b9;--wz-border:#344947;--wz-primary:#80dfb8;--wz-tint:#254339;--wz-warning:#3c321e;--wz-warning-text:#f5d58d;--wz-danger:#ffa9b3;--wz-shadow:0 6px 24px #00000012;color-scheme:dark}
.wz-appearance-toggle{position:fixed;z-index:1900;right:22px;bottom:18px;display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 15px;border:1px solid var(--wz-border);border-radius:24px;background:var(--wz-panel);color:var(--wz-text);box-shadow:0 3px 18px #143c3012;font:600 12px/1.4 system-ui,sans-serif;cursor:pointer}.wz-appearance-toggle:hover{border-color:var(--wz-primary)}.wz-appearance-toggle:focus-visible{outline:3px solid var(--wz-primary);outline-offset:3px}
/* Apply the same shell to the existing operational pages without replacing forms. */
html .wzux-shell,html body:has(.wzux-shell){background:var(--wz-bg);color:var(--wz-text);font-family:Inter,"Segoe UI",system-ui,sans-serif}
html .wzux-sidebar,html .wzux-topbar{background:var(--wz-panel);border-color:var(--wz-border)}
html .wzux-sidebar{padding:28px 18px 24px}html .wzux-brand{padding-left:10px}html .wzux-brand>span{border-radius:12px}
html .wzux-nav-item{font-size:13px;min-height:43px;border-radius:10px;line-height:1.4}html .wzux-nav-group h2{font-size:10px;letter-spacing:1.4px}html .wzux-nav-item.active{background:var(--wz-tint);color:var(--wz-primary)}html .wzux-nav-item:hover{background:var(--wz-soft)}html .wzux-nav-item .wzcloud-new{display:none}
html .wzux-topbar{min-height:82px;padding:18px 32px}html .wzux-page-title strong{font-size:18px}html .wzux-org select{font-size:13px;min-height:40px;background:var(--wz-panel);color:var(--wz-text);border-color:var(--wz-border)}
html .wzux-content{max-width:1440px;padding:32px 36px 82px}html .wzux-content .wzux-card,html .wzux-facts article{background:var(--wz-panel);border-color:var(--wz-border);box-shadow:var(--wz-shadow)}
html .wzux-button{font-size:13px;min-height:40px;border-radius:9px}html .wzux-button.secondary{background:var(--wz-panel);color:var(--wz-primary);border-color:var(--wz-border)}
html .wzux-sidebar-footer{border-color:var(--wz-border)}html .wzux-menu-toggle{background:var(--wz-panel);color:var(--wz-primary);border-color:var(--wz-border)}
/* Optional dark mode for the legacy business surfaces and their modal dialogs. */
html[data-theme=dark]{--bg:var(--wz-bg);--panel:var(--wz-panel);--surface:var(--wz-panel);--card:var(--wz-panel);--ink:var(--wz-text);--text:var(--wz-text);--muted:var(--wz-muted);--line:var(--wz-border);--border:var(--wz-border);--green:var(--wz-primary)}
html[data-theme=dark] body{background:var(--wz-bg);color:var(--wz-text)}
html[data-theme=dark] :is(.wzcloud-page,.wzcloud-page main,.wzcloud-page .app,.wzcloud-page .content,.wzcloud-page .shell){background:transparent;color:var(--wz-text)}
html[data-theme=dark] :is(.wzux-content,.wzcloud-page) :is(.card,.panel,.box,.step,.identity,.product-card,.template-card,.workspace-card,.offer-card,.summary,.modal,.modal-card,.modal-panel,.dialog,.dialog-card,dialog,.wzux-card,.wzux-facts article){background:var(--wz-panel)!important;color:var(--wz-text)!important;border-color:var(--wz-border)!important}
html[data-theme=dark] :is(.wzux-content,.wzcloud-page) :is(input,select,textarea){background:var(--wz-soft)!important;color:var(--wz-text)!important;border-color:var(--wz-border)!important}
html[data-theme=dark] :is(.wzux-content,.wzcloud-page) :is(table,thead,tbody,tr,th,td){background:transparent;color:var(--wz-text);border-color:var(--wz-border)}
html[data-theme=dark] :is(.wzux-content,.wzcloud-page) :is(h1,h2,h3,h4,label){color:inherit}
html[data-theme=dark] :is(.wzux-content,.wzcloud-page) :is(.muted,.hint,.sub,.subtitle,.note,.description){color:var(--wz-muted)!important}
html[data-theme=dark] .wzux-plans-frame{background:var(--wz-panel)}
html[data-theme=dark] :is(.customer-step,.customer-explore,.welcome-example,.welcome-how,.wzcommerce-common,.wz-modern-hero,.wz-modern-form,.wz-modern-table,.wz-d4-kpis article,.wz-d4-lots,.wz-d4-dialog,.wz-d4-close,.wzcloud-page .phone,.wzcloud-page .floating-label,.wzcloud-page .search,.wzcloud-page .price-chip,.wzcloud-page .device,.wzcloud-page .dialog-heading){background:var(--wz-panel)!important;color:var(--wz-text)!important;border-color:var(--wz-border)!important}
html[data-theme=dark] :is(.customer-step,.customer-explore,.welcome-example,.welcome-how) :is(h2,h3,p,small){color:var(--wz-text)}
html[data-theme=dark] :is(.wzcloud-plans,.wzcloud-print) :is(.stat,.mini-stat,.kpi,.field,.form-panel,.table-panel,.offer,.offer-card,.batch-card,.ticket-item,.preview-column,.preview-panel,.ticket-preview){background:var(--wz-panel)!important;color:var(--wz-text)!important;border-color:var(--wz-border)!important}
@media(max-width:760px){html .wzux-content{padding:22px 16px 82px}html .wzux-topbar{padding:14px 16px}html .wzux-page-title strong{font-size:16px}.wz-appearance-toggle{right:14px;bottom:12px;padding:8px 12px;font-size:11px}}
@media print{.wz-appearance-toggle{display:none!important}html[data-theme] body{color:#000!important;background:#fff!important}}

/* WifiZone identity: one green, strong type, clean professional surfaces. */
:root{--wz-primary:#087443;--wz-text:#172c23;--wz-muted:#455b50;--wz-bg:#f4f7f5;--wz-soft:#f0f6f2;--wz-tint:#e4f2e9;--wz-border:#d0dfd5;--wz-shadow:0 3px 14px #163d2505;--ux-ink:var(--wz-text);--ux-muted:var(--wz-muted);--ux-green:var(--wz-primary);--ux-line:var(--wz-border)}
:root[data-theme=dark]{--wz-primary:#72dfa2;--wz-text:#f0f7f2;--wz-muted:#c0d4c7;--wz-bg:#101c15;--wz-panel:#192b20;--wz-soft:#14251b;--wz-tint:#233f2c;--wz-border:#3c5847}
html[data-theme] body,html[data-theme] :is(.wzux-shell,.shell,.wzcloud-page,.login,.welcome-public){font-family:"Segoe UI",Arial,system-ui,sans-serif!important;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:auto}
html[data-theme] :is(button,input,select,textarea,label,table,h1,h2,h3,h4,p,a,small,strong,span,div){font-family:inherit}
html[data-theme] :is(.wzux-content,.content,.wzcloud-page){color:var(--wz-text);font-weight:450}
html[data-theme] :is(.heading h1,.wzux-page-title strong,.wzcloud-page h1){color:var(--wz-text);font-weight:750;letter-spacing:-.65px;line-height:1.25}
html[data-theme] :is(.panel-head h2,.wzcloud-page h2,.customer-step h3,.customer-explore h2){color:var(--wz-text);font-weight:700}
html[data-theme] :is(.hint,.muted,.heading p,.metric-label,.metric-foot,.network-visual p,.traffic-grid span,.context-line,.plan p,.footer,.subline,.legend,.port-state){color:var(--wz-muted);font-weight:500}
html[data-theme] :is(.eyebrow,.workspace-label,.tiny,.nav-group>h2,.wzux-nav-group h2,.welcome-eyebrow){color:var(--wz-primary);font-weight:750;letter-spacing:1.3px}
html[data-theme] :is(.sidebar,.wzux-sidebar){border-right-color:var(--wz-border);background:var(--wz-panel)}
html[data-theme] :is(.nav,.wzux-nav-item){font-size:14px;font-weight:600;color:var(--wz-text);border-radius:8px;min-height:44px}
html[data-theme] :is(.nav.active,.wzux-nav-item.active){background:#087443;color:#fff;font-weight:700;box-shadow:0 3px 8px #08744318}
html[data-theme] :is(.nav.active span,.wzux-nav-item.active>span){color:#fff}
html[data-theme] :is(.nav:hover,.wzux-nav-item:hover){background:var(--wz-tint);color:var(--wz-text)}
html[data-theme] :is(.nav.active:hover,.wzux-nav-item.active:hover){background:#065f36;color:white}
html[data-theme] :is(.brand,.wzux-brand){font-weight:750;color:var(--wz-text);letter-spacing:-.5px}
html[data-theme] :is(.mark,.wzux-brand>span){background:#087443;color:white;border-radius:10px;clip-path:none;font-weight:800}
html[data-theme] :is(.brand small,.wzux-brand small){color:var(--wz-primary);font-weight:700;letter-spacing:2px}
html[data-theme] :is(.topbar,.wzux-topbar){background:var(--wz-panel);border-bottom:1px solid var(--wz-border)}
html[data-theme] :is(.topbar .eyebrow,.wzux-page-title small){color:var(--wz-primary);font-weight:650;font-size:11px}
html[data-theme] :is(.topbar>div>div,.wzux-page-title strong){font-weight:700}
html[data-theme] :is(.panel,.metric,.plan,.customer-step,.customer-explore,.wzux-card){border-radius:12px;border-color:var(--wz-border)}
html[data-theme] .metric{border-top:3px solid #087443;background:var(--wz-panel)}
html[data-theme] .metric strong{font-size:42px;font-weight:750;color:var(--wz-text);letter-spacing:-1px}
html[data-theme] .metric-label{font-size:13px;font-weight:650}.metric-foot{font-size:12px}
html[data-theme] .network-panel{background:var(--wz-panel)}
html[data-theme] .network-orbit{background:var(--wz-tint);box-shadow:none;border-color:var(--wz-border)}
html[data-theme] .network-site{font-weight:700}.traffic-grid strong{font-weight:750}.plan strong{font-weight:750}
html[data-theme] :is(.primary,.wzux-button:not(.secondary),.welcome-public .login-form button[type=submit]){background:#087443;border-color:#087443;color:#fff;font-weight:700;box-shadow:0 3px 8px #08744315}
html[data-theme] :is(.primary:hover,.wzux-button:not(.secondary):hover){background:#065f36;border-color:#065f36;color:white}
html[data-theme] :is(.secondary,.wzux-button.secondary){font-weight:650;border-color:var(--wz-border);color:var(--wz-primary);background:var(--wz-panel)}
html[data-theme] :is(.text-button,.wzux-signout){font-weight:650;color:var(--wz-primary)}
html[data-theme] :is(input,select,textarea){font-weight:550;color:var(--wz-text);border-color:var(--wz-border);box-shadow:none}
html[data-theme] input::placeholder,html[data-theme] textarea::placeholder{color:var(--wz-muted);opacity:1;font-weight:400}
html[data-theme] :is(form label,th){color:var(--wz-text);font-weight:650}html[data-theme] th{font-size:12px;background:var(--wz-soft)}html[data-theme] td{font-size:14px;font-weight:500;color:var(--wz-text)}
html[data-theme] .pill.neutral{color:var(--wz-muted);font-weight:600;background:var(--wz-soft)}
html[data-theme] :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--wz-primary);outline-offset:3px}
html[data-theme] .customer-hero,html[data-theme] .wzux-welcome{background:linear-gradient(135deg,#082e1c,#086337);color:white;border:0;box-shadow:none}
html[data-theme] :is(.customer-hero,.wzux-welcome) :is(h1,h2,h3){color:#fff;font-weight:750}
html[data-theme] :is(.customer-hero,.wzux-welcome) p{color:#e3f2e8;font-weight:450}
/* A two-column sign-in page, following the JIS family while keeping WifiZone green. */
html[data-theme] .login-layout:not([hidden]){display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);width:100%;max-width:none;min-height:100dvh;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:var(--wz-bg)}
.login-brand-panel{display:flex;flex-direction:column;justify-content:center;padding:clamp(36px,6vw,90px);background:linear-gradient(145deg,#082e1c,#0b4529 70%,#086337);color:#fff;position:relative}
.login-brand-panel .login-wordmark{position:absolute;top:44px;left:clamp(36px,6vw,90px);font-size:20px;font-weight:750;letter-spacing:-.4px}
.login-brand-panel .login-kicker{font-size:12px;letter-spacing:2.5px;color:#8ee5ae;font-weight:750;margin:0 0 22px}
.login-brand-panel h2{font-size:clamp(34px,3.5vw,56px);line-height:1.12;letter-spacing:-1px;font-weight:800;color:white;margin:0 0 24px}
.login-brand-panel h2 span{color:#8ee5ae}.login-brand-panel p{font-size:16px;line-height:1.8;color:#e1f2e6;max-width:460px}.login-benefits{display:grid;gap:14px;margin:30px 0 0;padding:0;list-style:none;font-size:14px;font-weight:500}.login-benefits li:before{content:'✓';color:#8ee5ae;margin-right:12px;font-weight:800}
.login-card{align-self:center;justify-self:center;width:calc(100% - 64px);max-width:480px;margin:64px 0;padding:38px;background:var(--wz-panel);border:1px solid var(--wz-border);border-radius:16px;box-shadow:none}
html[data-theme] .login-card .brand{margin:0 0 28px;font-size:20px}.login-card h1{font-size:27px;font-weight:750;line-height:1.25;letter-spacing:-.6px;color:var(--wz-text)}.login-card>p{color:var(--wz-muted);font-size:14px;line-height:1.6;margin:14px 0 25px}.login-card form{gap:20px}.login-card input{min-height:46px}.login-card .primary{min-height:46px}.login-card form label{font-size:14px;font-weight:650}
html[data-theme] .welcome-public{font-family:"Segoe UI",Arial,system-ui,sans-serif!important}html[data-theme] .welcome-public .login-form-panel{border-color:var(--wz-border);box-shadow:none}html[data-theme] .welcome-public :is(h1,h2){font-weight:750;letter-spacing:-.7px}
@media(max-width:760px){html[data-theme] .login-layout:not([hidden]){display:block}.login-brand-panel{padding:72px 26px 30px;min-height:300px}.login-brand-panel .login-wordmark{top:23px;left:26px;font-size:18px}.login-brand-panel h2{font-size:33px}.login-brand-panel p{font-size:14px}.login-brand-panel .login-kicker{margin-bottom:14px}.login-benefits{display:none}.login-card{width:calc(100% - 32px);max-width:480px;margin:24px auto;padding:26px}.login-card h1{font-size:25px}html[data-theme] .metric strong{font-size:34px}.metric-foot{font-size:11px}}
@media print{.login-brand-panel{display:none!important}}
