:root {
 --bg:#0c1115;--bg-soft:#10171d;--panel:#141c23;--panel-strong:#19232c;--stroke:#26313a;--stroke-strong:#3b4a55;
 --text:#e8eef1;--muted:#9eacb7;--muted-2:#71828e;--accent:#a4e7bb;--accent-2:#e8c77b;--accent-3:#6da7d6;
 --danger:#f69191;--warning:#e7bc71;--success:#a4e7bb;--focus:#a4e7bb;--shadow:none;--sidebar:208px;
 --radius-xl:12px;--radius-lg:10px;--radius-md:8px;--radius-sm:6px;--font:Manrope,Inter,system-ui,sans-serif;
}
body { background:var(--bg); color:var(--text); }
.app-shell { grid-template-columns:208px minmax(0,1fr); }
.sidebar { padding:26px 14px 20px; gap:28px; background:#10171c; border-color:var(--stroke); backdrop-filter:none; }
.brand { padding:0 10px; gap:10px; }
.brand img { width:34px; height:34px; border-radius:0; box-shadow:none; }
.brand strong { font-size:17px; letter-spacing:-.04em; line-height:1.3; }
.brand span { font-size:11px; color:var(--muted); letter-spacing:.025em; }
.nav-list { gap:5px; }
.nav-item { border-radius:7px; min-height:42px; gap:10px; padding:0 12px; font-size:12px; line-height:1.4; }
.nav-icon { background:transparent; border-radius:0; width:20px; height:20px; color:var(--muted-2); font-size:17px; }
.nav-item.active { color:var(--accent); background:#22372c; border-color:transparent; }
.nav-item.active .nav-icon { background:none; color:var(--accent); }
.nav-item:hover { background:#1c272f; border-color:transparent; }
.sidebar-card { border:0; border-top:1px solid var(--stroke); padding:18px 10px 0; border-radius:0; background:none; box-shadow:none; }
.sidebar-card h3 { font-size:12px; margin:10px 0 6px; }
.sidebar-card p:not(.eyebrow) { font-size:11px; line-height:1.65; }
.sidebar-card .ghost-button { margin-top:8px; min-height:34px; font-size:11px; width:100%; }
.main { padding:28px 30px 44px; max-width:1680px; width:100%; margin:0 auto; }
.topbar { position:relative; top:auto; padding:0 0 24px; margin-bottom:22px; border-bottom:1px solid var(--stroke); background:none; backdrop-filter:none; align-items:center; gap:20px; }
.topbar .eyebrow { color:var(--muted-2); font-size:11px; margin-bottom:7px; }
.topbar h1 { font-size:28px; line-height:1.2; letter-spacing:-.04em; margin:0; }
.top-actions { gap:8px; flex-shrink:0; }
.primary-button,.secondary-button,.ghost-button,.upload-btn { min-height:36px; padding:8px 12px; border-radius:6px; font-size:11px; font-weight:700; box-shadow:none; line-height:1.35; }
.primary-button { background:var(--accent); color:#12301e; border-color:var(--accent); }
.primary-button:hover { background:#bcefcf; transform:none; }
.secondary-button,.upload-btn,.ghost-button { background:#19232b; border-color:var(--stroke); color:var(--text); }
.secondary-button:hover,.upload-btn:hover,.ghost-button:hover { background:#24313b; transform:none; }
.avatar { width:32px; height:32px; font-size:11px; background:#2b332a; border:1px solid #465346; color:#d2e2c6; }
.glass-card { background:var(--panel); border:1px solid var(--stroke); border-radius:10px; box-shadow:none; padding:20px; backdrop-filter:none; }
.page.active { animation:app-enter .24s ease-out; }
.section-intro { gap:18px; padding:0; border:0; border-radius:0; background:none; margin-bottom:20px; align-items:center; }
.section-intro>div:first-child { min-width:0; flex:1; }
.section-intro .eyebrow { display:none; }
.section-intro h2 { margin:0 0 6px; font-size:21px; line-height:1.25; letter-spacing:-.03em; }
.section-intro p:not(.eyebrow) { margin:0; max-width:560px; font-size:12px; line-height:1.6; color:var(--muted); }
.section-intro .inline-actions { flex-shrink:0; }
.toolbar { display:grid; grid-template-columns:minmax(200px,1fr) 170px 180px; gap:12px; padding:14px; margin-bottom:16px; border-radius:9px; }
.toolbar label>span { font-size:11px; margin-bottom:7px; color:var(--muted); letter-spacing:.025em; }
input,select,textarea { background:#0f171d; color:var(--text); border:1px solid #34424c; border-radius:6px; box-shadow:none; }
.toolbar input,.toolbar select { padding:10px 11px; height:39px; font-size:12px; }
.table-card { padding:0; border-radius:9px; overflow:hidden; }
.table-wrap { overflow-x:auto; }
.table-card table { min-width:850px; width:100%; font-size:12px; }
th { background:#10181e; color:var(--muted-2); font-size:11px; font-weight:600; text-transform:none; letter-spacing:.02em; padding:13px 14px; white-space:nowrap; }
td { padding:17px 14px; border-color:var(--stroke); white-space:nowrap; }
tr[data-sku]:hover { background:#1b2932; }
.sku-cell { font-size:11px; color:var(--muted-2); font-family:ui-monospace,monospace; }
.product-title-cell { min-width:200px; max-width:270px; }
.product-title-cell strong { font-size:12px; line-height:1.5; font-weight:650; }
.product-title-cell small { font-size:11px; color:var(--muted-2); line-height:1.6; max-width:255px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.product-open { padding:0; border:0; background:none; color:var(--text); text-align:left; min-height:30px; }
.status { padding:4px 7px; border-radius:4px; font-size:11px; font-weight:600; }
.kpi-grid { gap:12px; margin:0 0 20px; }
.kpi-card { border:1px solid var(--stroke); border-radius:9px; background:var(--panel); padding:18px; min-height:130px; box-shadow:none; }
.kpi-card strong { font-size:26px; letter-spacing:-.04em; line-height:1.3; margin-top:10px; }
.kpi-card .kpi-label,.kpi-card>span { font-size:11px; color:var(--muted); }
.kpi-card small { font-size:11px; line-height:1.5; }
.hero-grid { grid-template-columns:minmax(0,1.25fr) minmax(290px,.9fr); gap:16px; margin-bottom:20px; }
.hero-card { min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 150px; gap:20px; padding:24px; background:var(--panel); }
.hero-copy h2 { font-size:24px; line-height:1.25; margin:10px 0; max-width:520px; }
.hero-copy>p:not(.eyebrow) { font-size:12px; line-height:1.7; color:var(--muted); }
.hero-actions { margin-top:20px; gap:8px; }
.score-panel { display:grid; align-content:center; gap:12px; }
.score-ring { width:128px; height:128px; box-shadow:none; }
.score-ring>span { font-size:34px; line-height:1; }
.score-ring small { font-size:11px; }
.score-caption strong { font-size:11px; }
.score-caption span { font-size:11px; line-height:1.5; }
.ai-card { padding:20px; }
.hero-card::before,.ai-card::before { display:none; }
.ai-card h3,.card-head h3 { font-size:15px; line-height:1.4; margin:4px 0 0; }
.ai-summary { gap:0; }
.ai-summary>div,.summary-item { background:none; border:0; border-radius:0; padding:12px 0; border-bottom:1px solid var(--stroke); }
.ai-summary strong { font-size:11px; line-height:1.5; }
.ai-summary p { font-size:11px; line-height:1.65; color:var(--muted); }
.analytics-grid,.two-col-grid,.reviews-grid { gap:16px; margin-bottom:18px; }
.chart-card canvas { max-height:300px; }
.card-head { gap:12px; margin-bottom:18px; }
.card-head .eyebrow { color:var(--muted-2); }
.pill,.status-dot { font-size:11px; border-radius:4px; }
.insight-card,.priority-item,.risk-item,.template-card { background:#10181e; border-color:var(--stroke); border-radius:7px; box-shadow:none; }
.insight-card strong,.priority-item strong { font-size:12px; }
.insight-card p,.priority-item p { font-size:11px; line-height:1.6; }
.modal { width:min(800px,calc(100% - 32px)); max-height:calc(100% - 32px); border-radius:12px; background:#131c23; backdrop-filter:none; }
.modal-content { padding:28px; }
.modal h2 { padding-right:26px; font-size:25px; line-height:1.3; margin:10px 0; }
.close-modal { border-radius:6px; background:#24323e; font-size:22px; }
.product-detail-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:22px 0; }
.detail-box { padding:14px; border-radius:7px; background:#10171d; }
.detail-box strong { font-size:19px; line-height:1.4; }
.detail-box span { font-size:11px; }
.strategy-step { border-radius:7px; background:#1b2b25; border-color:#35493e; }
.strategy-step p { font-size:12px; }
.toast { border-radius:8px; background:#263c31; border:1px solid #53715c; color:#e8fff0; }
@keyframes app-enter { from { opacity:.7; transform:translateY(5px); } to { opacity:1; transform:none; } }
@media(max-width:1400px) { .table-card th:nth-child(3),.table-card td:nth-child(3),.table-card th:nth-child(7),.table-card td:nth-child(7),.table-card th:nth-child(8),.table-card td:nth-child(8) { display:none; } .table-card table { min-width:680px; } .hero-grid { grid-template-columns:1fr; } .ai-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; } .hero-card { grid-template-columns:1fr 200px; } .kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1050px) { .app-shell { grid-template-columns:180px minmax(0,1fr); } .main { padding:24px; } .sidebar { padding:24px 10px; } .brand { padding:0 5px; } .topbar { align-items:flex-start; } .topbar h1 { font-size:25px; } .top-actions { gap:6px; } .avatar { display:none; } .section-intro { align-items:flex-start; } .section-intro .inline-actions { flex-direction:column; align-items:stretch; } .toolbar { grid-template-columns:1fr 1fr; } .search-field { grid-column:1/-1; } .kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .app-shell { display:block; } .sidebar { position:relative; height:auto; padding:16px 18px 0; gap:16px; border-right:0; border-bottom:1px solid var(--stroke); } .brand { padding:0; } .brand span { display:none; } .nav-list { display:flex; overflow-x:auto; gap:4px; padding-bottom:10px; } .nav-item { width:auto; flex-shrink:0; min-height:38px; padding:0 12px; } .nav-icon { display:none; } .sidebar-card { display:none; } .main { padding:22px 18px 32px; } .topbar { gap:12px; margin-bottom:20px; } .topbar h1 { font-size:24px; } .top-actions { justify-content:flex-end; } .top-actions .upload-btn { display:none; } .top-actions button { font-size:11px; padding:8px 10px; } .section-intro { display:block; } .section-intro .inline-actions { margin-top:15px; flex-direction:row; align-items:center; } .section-intro p:not(.eyebrow) { font-size:12px; } .hero-card { grid-template-columns:1fr 125px; padding:20px; } .score-ring { width:110px; height:110px; } .hero-copy h2 { font-size:22px; } .ai-summary { grid-template-columns:1fr; gap:0; } .analytics-grid,.two-col-grid,.reviews-grid,.forecast-grid,.integrations-grid { grid-template-columns:1fr; } .product-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .modal-content { padding:22px; } }
@media(max-width:520px) { .hero-card { display:block; } .score-panel { display:none; } .toolbar { padding:12px; gap:10px; } .toolbar input,.toolbar select { font-size:16px; height:42px; } .kpi-card { padding:15px; min-height:116px; } .kpi-card strong { font-size:22px; } .kpi-grid { gap:10px; } .table-wrap { overflow:visible; } .table-card table,.table-card tbody { display:block; min-width:0; width:100%; } .table-card thead { display:none; } .table-card tr[data-sku] { display:grid; grid-template-columns:1fr 1fr; padding:16px; gap:10px; border-bottom:1px solid var(--stroke); } .table-card td { display:block; padding:0; border:0; font-size:13px; white-space:normal; } .table-card td:first-child { grid-column:1/-1; font-size:11px; } .table-card td:nth-child(2) { grid-column:1/-1; } .table-card td:nth-child(3),.table-card td:nth-child(7),.table-card td:nth-child(8) { display:none; } .table-card td:nth-child(n+4)::before { content:attr(data-label); display:block; font-size:11px; color:var(--muted); margin-bottom:3px; } .product-title-cell { max-width:none; min-width:0; } .product-title-cell strong { font-size:14px; } .product-title-cell small { display:none; } .table-card td:last-child { align-self:end; } .topbar .eyebrow { font-size:11px; } .roadmap { grid-template-columns:1fr; } }
