:root{--ink:#15231f;--muted:#68756f;--paper:#f4f6f1;--card:#fff;--nav:#0c2721;--nav-soft:#173a32;--accent:#ef6c47;--accent-dark:#d95734;--mint:#5bc5a7;--line:#dfe6df;--yellow:#e6ad38;--red:#da574d;--shadow:0 12px 34px rgba(24,47,39,.09);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-size:15px}button,input,select{font:inherit}button,a{transition:.18s ease}a{color:inherit;text-decoration:none}.eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:800;color:#9adbc8}.eyebrow.dark{color:#6f7f78}.primary-button{border:0;border-radius:12px;background:var(--accent);color:#fff;padding:13px 18px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(239,108,71,.24)}.primary-button:hover{background:var(--accent-dark);transform:translateY(-1px)}.primary-button:disabled{opacity:.55;cursor:wait}.primary-button.inline{display:inline-block}.ghost-button,.icon-button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;color:var(--ink);cursor:pointer}.ghost-button:hover,.icon-button:hover{border-color:#b7c5bd;background:#f9fbf8}

/* Login */
.login-body{background:var(--nav);min-height:100vh;overflow:hidden}.login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(380px,1.2fr) minmax(420px,.8fr)}.login-brand{position:relative;display:flex;flex-direction:column;justify-content:center;padding:9vw;color:#fff;isolation:isolate;background:radial-gradient(circle at 24% 20%,rgba(91,197,167,.22),transparent 34%),linear-gradient(145deg,#0b2b23,#0b211c)}.login-brand:after{content:"";position:absolute;inset:auto -150px -200px auto;width:540px;height:540px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 65px rgba(255,255,255,.025),0 0 0 130px rgba(255,255,255,.018);z-index:-1}.brand-mark{width:60px;height:60px;border-radius:18px;background:var(--accent);display:grid;place-items:center;font-size:28px;font-weight:900;margin-bottom:46px;box-shadow:0 16px 32px rgba(239,108,71,.3)}.login-brand h1{font-size:clamp(48px,7vw,92px);line-height:.95;margin:0;letter-spacing:-.055em}.login-lead{max-width:600px;font-size:20px;line-height:1.55;color:#c6d8d1}.login-note{position:absolute;bottom:44px;color:#85a298}.login-pulse{display:flex;align-items:flex-end;gap:8px;height:92px;margin-top:46px}.login-pulse span{display:block;width:16px;border-radius:8px 8px 2px 2px;background:linear-gradient(var(--mint),#2e7864)}.login-pulse span:nth-child(1){height:24px}.login-pulse span:nth-child(2){height:43px}.login-pulse span:nth-child(3){height:38px}.login-pulse span:nth-child(4){height:70px;background:linear-gradient(var(--accent),#b7492f)}.login-pulse span:nth-child(5){height:88px;background:linear-gradient(#f18a65,var(--accent))}.login-card{background:#fff;display:flex;flex-direction:column;justify-content:center;padding:clamp(46px,8vw,110px);gap:34px}.login-card h2{font-size:38px;letter-spacing:-.04em;margin:0 0 10px}.login-card p{color:var(--muted);line-height:1.5}.login-card form{display:grid;gap:20px}.login-card label,.plan-editor label{display:grid;gap:8px;color:#34463f;font-weight:700;font-size:13px}.login-card input,.plan-editor input,.plan-editor select{width:100%;border:1px solid #ccd7d1;border-radius:12px;padding:13px 14px;background:#fbfcfa;outline:none}.login-card input:focus,.plan-editor input:focus,.plan-editor select:focus{border-color:var(--mint);box-shadow:0 0 0 3px rgba(91,197,167,.16)}.form-error{background:#fff0ed;color:#9f352c!important;padding:12px 14px;border-radius:10px;margin:0}.privacy-note{font-size:12px;border-top:1px solid var(--line);padding-top:20px}

/* Shell */
.app-body{background:var(--paper)}.app-shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#0d2c25,#0a211c);color:#dce9e4;padding:24px 16px 18px;display:flex;flex-direction:column;z-index:20}.sidebar-brand{display:flex;align-items:center;gap:12px;font-size:17px;padding:0 8px 28px}.sidebar-brand>span{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:var(--accent);color:#fff;font-weight:900}.sidebar nav{display:grid;gap:5px}.sidebar nav a,.sidebar-bottom>a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:11px;color:#a9c0b8;font-weight:650}.sidebar nav a:hover,.sidebar-bottom>a:hover,.sidebar a.active{background:var(--nav-soft);color:#fff}.nav-icon{font-size:18px;width:20px;text-align:center}.sidebar-bottom{margin-top:auto}.user-card{display:grid;grid-template-columns:38px 1fr 28px;gap:9px;align-items:center;border-top:1px solid rgba(255,255,255,.09);padding:18px 4px 0;margin-top:12px}.user-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#d7efe7;color:#16483a;font-weight:900}.user-card div{min-width:0}.user-card strong,.user-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-card strong{font-size:12px}.user-card small{font-size:10px;color:#83a097;text-transform:uppercase;margin-top:3px}.user-card button{border:0;background:transparent;color:#8eaaa0;font-size:19px;cursor:pointer}.workspace{min-width:0}.topbar{height:64px;border-bottom:1px solid var(--line);background:rgba(244,246,241,.92);backdrop-filter:blur(12px);position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.status-cluster{display:flex;align-items:center;gap:9px;font-size:12px}.status-cluster strong{color:#3b6458}.status-cluster span:last-child{color:var(--muted);padding-left:9px;border-left:1px solid #cbd5cf}.status-dot{width:8px;height:8px;background:var(--yellow);border-radius:50%;box-shadow:0 0 0 4px rgba(230,173,56,.15)}.filterbar{display:flex;align-items:end;gap:14px;padding:18px 30px;border-bottom:1px solid var(--line);background:#fff}.filterbar>label{display:grid;gap:6px}.filterbar label>span,.filterbar legend,.product-filter summary{font-size:11px;font-weight:800;color:#6d7a74;text-transform:uppercase;letter-spacing:.06em}.filterbar select,.filterbar input[type=month]{border:1px solid #d4ddd7;background:#fbfcfa;border-radius:10px;padding:9px 11px;min-height:39px}.filterbar fieldset{border:0;padding:0;margin:0;display:flex;gap:5px}.filterbar legend{margin-bottom:6px}.filter-chip input{position:absolute;opacity:0}.filter-chip span{display:block;padding:10px 12px;border:1px solid #d4ddd7;border-radius:10px;background:#fbfcfa;color:#50625a;cursor:pointer}.filter-chip input:checked+span{background:#173a32;color:#fff;border-color:#173a32}.product-filter{position:relative;margin-left:auto}.product-filter summary{list-style:none;cursor:pointer;border:1px solid #d4ddd7;border-radius:10px;padding:12px 13px;background:#fbfcfa;min-width:150px;color:#4c5f57}.product-filter summary::-webkit-details-marker{display:none}.product-filter summary b{float:right;color:var(--accent);text-transform:none;margin-left:12px}.product-filter>div{position:absolute;right:0;top:48px;width:300px;max-height:360px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:10px;z-index:30}.product-filter>div label{display:flex;gap:9px;align-items:center;padding:8px;border-radius:8px;font-size:13px}.product-filter>div label:hover{background:#f3f6f2}#main-content{padding:30px;max-width:1640px;margin:0 auto}.mobile-only{display:none}

/* Dashboard */
.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.page-heading h1{font-size:34px;letter-spacing:-.045em;margin:0 0 7px}.page-heading p:last-child{margin:0;color:var(--muted)}.status-pill{padding:10px 13px;border-radius:999px;font-size:12px;font-weight:850;background:#e8eeea;color:#607068}.status-pill.red{background:#ffe7e3;color:#a4372e}.status-pill.yellow{background:#fff2d7;color:#8a5e08}.status-pill.green{background:#e4f5e8;color:#28743a}.status-pill.emerald{background:#dff6ee;color:#15745a}.hero-grid{display:grid;grid-template-columns:1.35fr repeat(5,1fr);gap:12px}.kpi-card{background:var(--card);border:1px solid #e5ebe7;border-radius:16px;padding:17px;min-height:128px;display:flex;flex-direction:column;box-shadow:0 4px 15px rgba(24,47,39,.035)}.kpi-card.hero{background:linear-gradient(150deg,#173a32,#0d2c25);color:#fff;border:0;box-shadow:0 12px 28px rgba(15,49,40,.2)}.kpi-card>span{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#718078;font-weight:800}.kpi-card.hero>span{color:#9ed1c1}.kpi-card strong{font-size:30px;letter-spacing:-.045em;margin:auto 0 5px}.kpi-card small{color:#7c8983;line-height:1.35}.kpi-card.hero small{color:#acc7be}.segment-strip{display:grid;grid-template-columns:1fr 1fr 1.45fr;gap:12px;margin:12px 0 30px}.segment-strip article{background:#e9efea;border-radius:14px;padding:13px 17px;display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 12px}.segment-strip span{font-size:11px;font-weight:900;color:#507065}.segment-strip strong{font-size:22px;text-align:right}.segment-strip small{grid-column:1/-1;color:#718078}.section-block{margin:30px 0}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-title h2{font-size:21px;margin:0;letter-spacing:-.025em}.section-title a{font-weight:800;color:var(--accent);font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.product-card{background:#fff;border:1px solid #e1e8e3;border-radius:16px;padding:16px;display:grid;grid-template-columns:7px 1fr auto;gap:12px;min-height:132px;box-shadow:0 4px 14px rgba(24,47,39,.03)}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#c9d6cf}.product-status{width:7px;border-radius:8px;background:#c2cbc6;grid-row:1/3}.product-status.red{background:var(--red)}.product-status.yellow{background:var(--yellow)}.product-status.green{background:#66b76e}.product-status.emerald{background:var(--mint)}.product-card small{font-size:10px;color:#7c8a83;text-transform:uppercase;font-weight:800}.product-card h3{font-size:15px;margin:5px 0}.product-card>strong{font-size:23px;align-self:center}.product-card em{font-size:11px;font-style:normal;color:#77837e}.product-card footer{grid-column:2/4;border-top:1px solid #edf1ee;padding-top:10px;display:flex;justify-content:space-between;color:#708079;font-size:11px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.75fr);gap:14px;margin-top:30px}.panel{background:#fff;border:1px solid #e2e8e4;border-radius:18px;padding:20px;box-shadow:0 6px 20px rgba(24,47,39,.04)}.trend-chart{width:100%;height:280px;overflow:visible}.chart-grid line{stroke:#e7ece8;stroke-width:1}.chart-grid text,.axis-date{fill:#819088;font-size:11px}.chart-area{fill:rgba(91,197,167,.10)}.actual-line{fill:none;stroke:#1e8d70;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.plan-line{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:7 6}.legend{font-size:11px;color:#6f7d76;display:flex;gap:7px;align-items:center}.legend span{width:18px;height:3px;border-radius:3px;margin-left:6px}.legend .actual{background:#1e8d70}.legend .plan{background:var(--accent)}.count-badge{display:grid;place-items:center;background:#eef2ef;border-radius:9px;min-width:30px;height:30px;font-weight:900}.warning-list{display:grid;gap:10px}.warning-item{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:12px;border-radius:12px;background:#f3f6f3}.warning-item>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#dfe8e3;color:#4c665d;font-weight:900}.warning-item.warning{background:#fff6e5}.warning-item.warning>span{background:#f4dca7;color:#835a08}.warning-item strong{font-size:13px}.warning-item p{margin:4px 0 0;color:#6e7b75;font-size:11px;line-height:1.45}.change-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.change-grid article{background:#fff;border:1px solid #e3e9e5;border-radius:15px;padding:17px}.change-grid span{font-size:11px;font-weight:800;color:#6f7c76;text-transform:uppercase}.change-grid strong{font-size:26px;display:block;margin:10px 0 3px}.change-grid small{color:#75837c}.empty-state{grid-column:1/-1;border:1px dashed #cbd6d0;border-radius:14px;padding:28px;text-align:center;color:#718078;background:#fafbf9}.loading-panel,.fatal-panel,.roadmap-panel{min-height:420px;display:grid;place-content:center;text-align:center;color:#6e7c75}.spinner{width:28px;height:28px;border:3px solid #dce5df;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 14px}@keyframes spin{to{transform:rotate(360deg)}}

/* Products */
.plan-editor{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(500px,1.35fr);gap:28px;margin-bottom:20px}.plan-editor h2{margin:0 0 7px}.plan-editor p{color:var(--muted);line-height:1.5}.plan-editor form{display:grid;grid-template-columns:1.4fr .75fr .65fr .6fr auto;gap:10px;align-items:end}.plan-editor .primary-button{height:43px}.product-table-wrap{background:#fff;border:1px solid #e2e8e4;border-radius:18px;overflow:auto;box-shadow:0 6px 20px rgba(24,47,39,.04)}.product-table{width:100%;border-collapse:collapse;min-width:800px}.product-table th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#748179;text-align:left;background:#f1f4f1;padding:13px 15px}.product-table td{padding:14px 15px;border-top:1px solid #edf1ee}.product-table td strong,.product-table td small{display:block}.product-table td small{font-size:10px;color:#87948e;margin-top:4px}.product-table td a{color:var(--accent);font-weight:800;font-size:12px}.table-status{display:inline-block;padding:6px 8px;border-radius:8px;background:#edf1ee;color:#66766f;font-size:10px;font-weight:900}.table-status.red{background:#ffe7e3;color:#a4372e}.table-status.yellow{background:#fff2d7;color:#8a5e08}.table-status.green,.table-status.emerald{background:#e4f5e8;color:#28743a}.back-link{display:inline-block;margin-bottom:18px;color:var(--accent);font-weight:800}.hero-grid.compact{grid-template-columns:1.2fr repeat(4,1fr);margin-bottom:20px}.roadmap-panel{background:#fff;border:1px dashed #c8d3cd;border-radius:20px;padding:80px 24px}.roadmap-panel h2{font-size:28px;margin:10px}.roadmap-panel p{max-width:620px;margin:0 auto 24px;line-height:1.6}.roadmap-marker{display:inline-block;margin:auto;background:#e8efeb;color:#49645a;padding:8px 12px;border-radius:999px;font-weight:900;font-size:11px;text-transform:uppercase}.toast{position:fixed;right:24px;bottom:24px;background:#153a31;color:#fff;padding:14px 18px;border-radius:12px;box-shadow:var(--shadow);z-index:100;font-weight:750}.toast.error{background:#9e3e35}

@media(max-width:1250px){.hero-grid{grid-template-columns:repeat(3,1fr)}.kpi-card.hero{grid-column:span 1}.product-grid{grid-template-columns:repeat(2,1fr)}.dashboard-columns{grid-template-columns:1fr}.plan-editor{grid-template-columns:1fr}.plan-editor form{grid-template-columns:repeat(4,1fr)}.plan-editor button{grid-column:1/-1}.hero-grid.compact{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.app-shell{display:block}.sidebar{position:fixed;left:-260px;width:236px;transition:left .2s}.sidebar.open{left:0;box-shadow:20px 0 40px rgba(0,0,0,.24)}.mobile-only{display:inline-block}.topbar{padding:0 16px}.filterbar{padding:12px 16px;overflow-x:auto;align-items:end}.product-filter{margin-left:0}.product-filter>div{left:0;right:auto}.topbar-actions{display:none}#main-content{padding:22px 16px}.hero-grid{grid-template-columns:repeat(2,1fr)}.segment-strip{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr}.change-grid{grid-template-columns:1fr}.plan-editor form{grid-template-columns:1fr 1fr}.page-heading h1{font-size:29px}.status-cluster span:last-child{display:none}}
@media(max-width:560px){.login-body{overflow:auto}.login-layout{display:block}.login-brand{min-height:42vh;padding:42px 28px}.brand-mark{margin-bottom:28px}.login-brand h1{font-size:54px}.login-lead{font-size:16px}.login-pulse{display:none}.login-note{position:static;margin-top:30px}.login-card{padding:42px 28px}.hero-grid,.hero-grid.compact{grid-template-columns:1fr}.kpi-card{min-height:110px}.page-heading{display:block}.status-pill{display:inline-block;margin-top:14px}.plan-editor form{grid-template-columns:1fr}.topbar{gap:10px}.status-cluster{white-space:nowrap}}
/* Author styles must never override the native hidden state of conditional controls. */
[hidden]{display:none!important}
