:root{--brand:#166534;--brand-strong:#0f4f2a;--nav:#15191e;--canvas:#f3f5f7;--soft:#eef1f4;--coral:#e95d43;--warning:#e9a23b;--success:#1f8a5b;--radius:8px;--shadow-soft:0 10px 30px rgba(20,28,38,.07)}
body{background:var(--canvas);color:#18212b}
.signup-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.topbar{position:fixed;inset:0 auto 0 0;width:236px;height:100vh;background:var(--nav);border:0;padding:22px 14px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:22px;color:#fff;z-index:20}
.logo{padding:0 10px;display:flex;align-items:center;gap:12px;min-height:44px}.logo>span:first-child,.brand-mark{background:var(--brand);color:#fff;border-radius:8px}.logo .logo-copy{display:grid;width:auto;height:auto;background:none;color:inherit;border-radius:0;gap:1px}.logo-copy strong{font-size:17px}.logo-copy small{color:#aab4bf;font-size:11px;text-transform:uppercase;font-weight:800}
.topbar nav{display:flex;flex-direction:column;gap:4px;overflow:visible}.topbar nav a{color:#bdc5ce;padding:11px 12px;border-radius:7px;font-size:14px;display:flex;align-items:center;gap:10px}.topbar nav a:hover{background:#232a31;color:#fff}.topbar nav a.active{background:#fff;color:#13191f}.nav-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#252d35;color:#dce2e8;font-size:12px;font-weight:900}.topbar nav a.active .nav-icon{background:var(--brand);color:#fff}.topbar-meta{margin-top:auto;padding:12px;border-top:1px solid #303740;color:#9ea9b5;font-size:12px;display:grid;gap:4px}.topbar-meta strong{color:#fff;font-size:13px}
.shell{width:auto;max-width:1540px;margin:0 0 0 236px;padding:28px 30px 60px}.panel{box-shadow:var(--shadow-soft);border-color:#e1e6eb}.alert{margin-bottom:18px}
.login-screen{min-height:100vh;padding:0;display:grid;grid-template-columns:minmax(340px,.9fr) minmax(440px,1.1fr);background:#fff}.login-brand{background:#15191e;color:#fff;padding:clamp(36px,6vw,84px);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-brand-head{display:flex;align-items:center;gap:12px}.login-brand-head img,.brand-logo-image{width:46px;height:46px;object-fit:contain;border-radius:8px;background:#fff}.login-brand-head strong{font-size:19px}.login-brand-main{max-width:560px}.login-brand-main h1{font-size:clamp(42px,5vw,72px);line-height:1.02;margin:14px 0 20px;letter-spacing:0}.login-brand-main p{font-size:19px;line-height:1.55;color:#c3ccd5;max-width:510px}.login-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:34px}.login-proof div{border-top:2px solid var(--brand);padding-top:12px}.login-proof strong{display:block;font-size:18px}.login-proof span{font-size:12px;color:#aab4bf}.login-brand-foot{font-size:12px;color:#8f9aa6}.login-form-wrap{display:grid;place-items:center;padding:36px}.login-card{width:min(460px,100%);box-shadow:none;border:0;padding:0}.login-screen>.login-card{grid-column:1/-1;align-self:center;justify-self:center;padding:28px}.login-card .brand-mark{display:none}.login-card h1{font-size:34px;margin:0 0 8px}.login-card p{margin-bottom:26px}.login-card label{margin-bottom:16px}.login-card input{background:#f8fafb;border-color:#d9e0e6}.login-card button{margin-top:4px}.helper-link{display:block;margin-top:18px;text-align:center;color:var(--brand);font-weight:800}
.dashboard-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.dashboard-top h1{font-size:34px;line-height:1.1;margin:4px 0 7px}.dashboard-top p{margin:0;color:var(--muted)}.dashboard-actions{display:flex;gap:9px;flex-wrap:wrap}.dashboard-filter{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1px solid var(--line);padding:9px;border-radius:8px}.dashboard-filter label{font-size:12px}.dashboard-filter input,.dashboard-filter select{min-height:40px;padding:8px 10px}.dashboard-filter button{min-height:40px;padding:8px 13px}
.executive-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.executive-kpi{background:#fff;border:1px solid #e0e5ea;border-radius:8px;padding:18px;min-height:126px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow-soft)}.executive-kpi span{font-size:13px;color:#687481;font-weight:800}.executive-kpi strong{font-size:31px;line-height:1.1}.executive-kpi small{color:#7a8591}.executive-kpi.emphasis{background:#17211d;color:#fff;border-color:#17211d}.executive-kpi.emphasis span,.executive-kpi.emphasis small{color:#b7c6be}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:14px;margin-bottom:14px}.dashboard-panel{background:#fff;border:1px solid #e0e5ea;border-radius:8px;padding:18px;box-shadow:var(--shadow-soft)}.dashboard-panel h2{font-size:18px;margin:0}.dashboard-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.dashboard-panel-head span{font-size:12px;color:var(--muted)}.revenue-chart{display:flex;align-items:end;gap:7px;height:230px;padding:14px 0 0;overflow-x:auto}.revenue-bar{min-width:34px;flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.revenue-bar i{display:block;width:min(26px,75%);background:var(--brand);border-radius:5px 5px 2px 2px;min-height:4px}.revenue-bar span{font-size:10px;color:#77828d;white-space:nowrap}.revenue-bar strong{font-size:10px;white-space:nowrap}.channel-list{display:grid;gap:13px}.channel-row{display:grid;grid-template-columns:1fr auto;gap:7px}.channel-row strong{display:block;font-size:14px}.channel-row em{font-style:normal;font-weight:900}.channel-row small{display:block;color:var(--muted);margin-top:2px}.channel-track{grid-column:1/-1;height:7px;background:#edf0f2;border-radius:8px;overflow:hidden}.channel-track i{display:block;height:100%;background:var(--brand);border-radius:8px}.channel-row:nth-child(2) .channel-track i{background:var(--coral)}.channel-row:nth-child(3) .channel-track i{background:var(--warning)}
.store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.store-card{border:1px solid #e1e6eb;border-radius:8px;padding:15px;background:#fbfcfd}.store-card span{display:block;color:var(--muted);font-size:12px;font-weight:800}.store-card strong{display:block;font-size:24px;margin:6px 0}.store-card small{color:#6c7782}.health-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f2;padding:11px 0}.health-row:first-of-type{border-top:0}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--success);display:inline-block;margin-right:7px}.status-dot.warn{background:var(--warning)}
.brand-settings-preview{background:#15191e;color:#fff;border-radius:8px;padding:22px;display:flex;align-items:center;gap:15px}.brand-settings-preview img{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:8px}.brand-settings-preview strong{display:block;font-size:22px}.brand-settings-preview span{color:#aeb8c2}
.analytics-hero{background:#17211d}.analytics-filter{grid-template-columns:1fr 1fr 1.25fr auto}.insight-grid{grid-template-columns:repeat(4,1fr)}.analytics-kpis div:first-child{border-top:3px solid var(--brand)}.analytics-kpis div:nth-child(3){border-top:3px solid var(--coral)}.analytics-kpis div:nth-child(4){border-top:3px solid var(--warning)}
@media(max-width:1080px){.executive-kpis{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.shell{padding:22px}}
@media(max-width:820px){.topbar{position:sticky;inset:auto;width:100%;height:auto;padding:9px 12px;display:flex;flex-direction:row;align-items:center;gap:12px}.logo{padding:0}.logo-copy small{display:none}.topbar nav{flex:1;flex-direction:row;overflow-x:auto}.topbar nav a{white-space:nowrap;padding:9px}.nav-icon{display:none}.topbar-meta{display:none}.shell{margin:0;padding:16px 13px 90px}.login-screen{grid-template-columns:1fr}.login-brand{display:none}.login-form-wrap{min-height:100vh;padding:24px}.login-card .brand-mark{display:grid;margin-bottom:20px}.dashboard-top{align-items:flex-start;flex-direction:column}.dashboard-actions,.dashboard-filter{width:100%}.dashboard-filter{display:grid;grid-template-columns:1fr 1fr}.dashboard-filter button{grid-column:1/-1}.executive-kpis{grid-template-columns:1fr 1fr}.dashboard-top h1{font-size:29px}}
@media(max-width:520px){.logo-copy{display:none}.topbar{gap:7px}.topbar nav a{font-size:13px}.executive-kpis{grid-template-columns:1fr}.dashboard-filter{grid-template-columns:1fr}.dashboard-filter button{grid-column:auto}.dashboard-actions>*{flex:1}.revenue-chart{height:190px}.login-card h1{font-size:29px}}
