.dashboard-stage{position:relative;isolation:isolate;display:grid;gap:18px;padding-bottom:18px}
.dashboard-stage::before{position:absolute;z-index:-1;inset:-25px -26px -26px;content:"";background:linear-gradient(100deg,rgba(246,248,250,.91),rgba(246,248,250,.97) 63%,rgba(246,248,250,.87)),url("assets/login-tools-illustration.svg") right center/cover no-repeat;pointer-events:none}
.dashboard-hero{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:224px;padding:clamp(24px,3vw,42px);overflow:hidden;border:1px solid #233946;border-radius:18px;background:linear-gradient(100deg,#132633 0%,rgba(19,39,52,.98) 42%,rgba(19,39,52,.86) 100%),url("assets/login-tools-illustration.svg") right 43%/cover no-repeat;color:white;box-shadow:0 16px 40px rgba(22,39,52,.13)}
.dashboard-hero::after{position:absolute;right:-85px;bottom:-190px;width:420px;height:420px;border:1px solid #e5ae6940;border-radius:50%;content:"";box-shadow:0 0 0 36px #e5ae6912,0 0 0 74px #e5ae6909;pointer-events:none}
.dashboard-hero-copy{position:relative;z-index:1;max-width:630px}
.dashboard-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 15px;color:#e9bd83;font-size:10px;font-weight:760;letter-spacing:.17em}
.dashboard-eyebrow b{color:#f1d9b5;font-size:12px}
.dashboard-live-dot{width:7px;height:7px;border-radius:50%;background:#7ed0a0;box-shadow:0 0 0 4px #7ed0a028}
.dashboard-hero h2{margin:0;color:#fff;font-size:clamp(25px,3vw,38px);line-height:1.15;letter-spacing:-.035em}
.dashboard-hero-copy>p:not(.dashboard-eyebrow){max-width:480px;margin:11px 0 0;color:#bdc9cf;font-size:13px;line-height:1.7}
.dashboard-hero-note{display:flex;align-items:center;gap:9px;margin-top:22px;color:#dce4e6;font-size:11px}
.dashboard-pulse-icon{display:grid;place-items:center;width:21px;height:21px;border:1px solid #8dcaa17d;border-radius:50%;color:#a9e0b9;font-size:11px}
.dashboard-hero-art{position:absolute;z-index:0;right:clamp(30px,6vw,100px);top:50%;display:grid;place-items:center;width:130px;height:130px;transform:translateY(-50%);color:#e9b66e}
.dashboard-hero-art svg{position:relative;z-index:1;width:77px;height:77px;fill:#e9b66e1b;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 8px 18px #050d1390);transform:rotate(-9deg)}
.dashboard-art-ring{position:absolute;inset:0;border:1px solid #ebc38b4a;border-radius:50%;box-shadow:inset 0 0 32px #ddae5c13,0 0 0 12px #c8995710}
.dashboard-art-spark{position:absolute;width:7px;height:7px;border-radius:50%;background:#f4d098;box-shadow:0 0 15px #f5d095}
.spark-one{top:8px;right:25px}.spark-two{bottom:15px;left:8px;width:5px;height:5px}
.dashboard-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.dashboard-actions{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;background:rgba(255,255,255,.72);border:1px solid #e5e9ed;border-radius:12px}.dashboard-actions>.dashboard-section-label{margin-right:4px;white-space:nowrap}.dashboard-action-link,.dashboard-refresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:31px;padding:0 11px;border:1px solid #e2e8ed;border-radius:8px;background:#fff;color:#435462;text-decoration:none;font-size:10px;font-weight:700;transition:background .16s ease,border-color .16s ease,transform .16s ease}.dashboard-action-link:hover,.dashboard-refresh:hover:not(:disabled){background:#f6f3ec;border-color:#d6c19f;transform:translateY(-1px)}.dashboard-action-link span{color:#ad7845;font-size:15px}.dashboard-action-spacer{flex:1}.dashboard-updated{color:#88939a;font-size:9px;white-space:nowrap}.dashboard-refresh{cursor:pointer}.dashboard-refresh svg{width:14px;height:14px;fill:none;stroke:#92724f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dashboard-refresh:disabled{opacity:.55;cursor:wait}.dashboard-refresh:focus-visible,.dashboard-action-link:focus-visible{outline:3px solid #d9b16f;outline-offset:2px}
.dashboard-kpi{position:relative;display:flex;align-items:center;gap:13px;min-width:0;min-height:116px;padding:17px 16px;overflow:hidden;border:1px solid #e5e9ed;border-radius:15px;background:rgba(255,255,255,.93);box-shadow:0 6px 18px #1c2e3a08;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.dashboard-kpi:hover{transform:translateY(-3px);border-color:#d9c4a8;box-shadow:0 12px 25px #1c2e3a12}
.kpi-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#edf5f1;color:#3c8665}
.kpi-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.kpi-image{flex:none;display:grid;place-items:center;width:58px;height:58px;border:1px solid #e7ebed;border-radius:15px;background:#f7f9f8}
.kpi-image img{display:block;width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 3px 4px #1423311c);transition:transform .18s ease}
.dashboard-kpi:hover .kpi-image img{transform:translateY(-2px) scale(1.06)}
.dashboard-kpi>div:last-of-type{display:grid;gap:4px;min-width:0}
.dashboard-kpi>div:last-of-type>span{color:#77838d;font-size:11px;font-weight:600}
.dashboard-kpi strong{overflow:hidden;color:#1e2c39;font-size:clamp(16px,1.6vw,22px);line-height:1.2;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.035em}
.dashboard-kpi small{overflow:hidden;color:#a1a8ac;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.kpi-corner{position:absolute;right:12px;top:10px;color:#bdc3c6;font-size:8px;font-weight:750;letter-spacing:.1em}
.due-kpi .kpi-image{background:#fff0eb;border-color:#f6dfd8}.due-kpi strong{color:#c45d45!important}.orders-kpi .kpi-icon{background:#f0effb;color:#7972ae}.stock-kpi .kpi-icon{background:#fff4e7;color:#be8241}.alert-kpi .kpi-icon{background:#fff0eb;color:#bd7051}.cogs-kpi .kpi-icon{background:#edf0fa;color:#637bb0}.expenses-kpi .kpi-icon{background:#fff0eb;color:#bd7051}.profit-kpi .kpi-icon{background:#eaf5ed;color:#4b8a63}.returns-kpi .kpi-icon{background:#edf4fa;color:#668cb0}.profit-negative{color:#bd654e!important}
.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.85fr);gap:16px}
.dashboard-panel{min-width:0;margin:0;padding:21px 22px;border:1px solid #e5e9ed;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 7px 22px #1c2e3a08}
.dashboard-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.dashboard-section-label{color:#a66f3d;font-size:9px;font-weight:800;letter-spacing:.16em}
.dashboard-panel-heading h3{margin:5px 0 0;color:#21303d;font-size:17px;letter-spacing:-.025em}
.dashboard-panel-heading p{margin:5px 0 0;color:#929ba1;font-size:10px}
.trend-total{text-align:right;white-space:nowrap}
.trend-total small{display:block;color:#9ca3a7;font-size:8px;font-weight:750;letter-spacing:.11em}
.trend-total strong{display:block;margin-top:5px;color:#2e765b;font-size:15px}
.dashboard-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:end;height:154px;margin-top:17px;padding:0 4px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#edf0f1 38px,#edf0f1 39px)}
.chart-column{display:grid;grid-template-rows:1fr auto;align-items:end;gap:8px;height:100%;min-width:0;text-align:center}
.chart-bar-track{display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%}
.chart-bar{display:block;width:min(31px,66%);min-height:3px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#b7d6c6,#74a88b);transition:height .5s ease,filter .18s ease}
.chart-column:hover .chart-bar{filter:brightness(.94)}
.chart-bar-today{background:linear-gradient(180deg,#e7bd7e,#bc7845);box-shadow:0 3px 12px #bc784533}
.chart-day{color:#9ca4a9;font-size:9px}.chart-day-today{color:#a96d3c;font-weight:750}
.dashboard-chart-foot{display:flex;justify-content:space-between;gap:10px;margin-top:10px;color:#969fa4;font-size:9px}
.dashboard-chart-foot>span:first-child{display:flex;align-items:center;gap:7px}.chart-legend{width:7px;height:7px;border-radius:50%;background:#83ad94}
.dashboard-inventory{display:flex;flex-direction:column}
.inventory-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff4e7;color:#bd8247}
.inventory-symbol svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.inventory-summary{display:flex;align-items:baseline;gap:8px;margin-top:23px}.inventory-summary strong{color:#22313d;font-size:32px;letter-spacing:-.05em}.inventory-summary span{color:#8b959b;font-size:10px}
.inventory-meter{height:8px;margin-top:12px;overflow:hidden;border-radius:99px;background:#f6e6dc}.inventory-meter span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#78a98d,#dfb26f);transition:width .6s ease}
.inventory-legend{display:grid;gap:10px;margin-top:16px}.inventory-legend span{display:flex;align-items:center;gap:8px;color:#77838b;font-size:10px}.inventory-legend b{margin-left:auto;color:#344451;font-size:10px}
.healthy-dot,.low-dot{width:7px;height:7px;border-radius:50%;background:#70a987}.low-dot{background:#da9863}
.dashboard-text-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:20px;color:#9b683c;text-decoration:none;font-size:10px;font-weight:750}.dashboard-text-link span{font-size:15px;transition:transform .16s ease}.dashboard-text-link:hover span{transform:translateX(3px)}
.dashboard-recent{padding-bottom:8px}.dashboard-recent .dashboard-panel-heading{align-items:center;margin-bottom:16px}.dashboard-table{font-size:10px}.dashboard-table th{padding:10px 8px;background:transparent;color:#a1a8ac;font-size:8px;letter-spacing:.1em}.dashboard-table td{padding:12px 8px;color:#52616c;border-bottom-color:#f0f1f2}.dashboard-table tbody tr:last-child td{border-bottom:0}.dashboard-table td:first-child{font-weight:750;color:#344654}.invoice-mark{display:inline-grid;place-items:center;width:22px;height:22px;margin-right:8px;border-radius:7px;background:#f3f0ea;color:#a87547;font-size:11px}.dashboard-table .dashboard-amount{font-weight:750;color:#293c49}.invoice-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:99px;font-size:9px;font-weight:750}.invoice-status::before{width:5px;height:5px;border-radius:50%;content:""}.status-paid{background:#eaf5ed;color:#528567}.status-paid::before{background:#6ca984}.status-due{background:#fff1e7;color:#ba7950}.status-due::before{background:#d49262}
@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid{grid-template-columns:minmax(0,1.25fr) minmax(250px,.85fr)}.dashboard-kpi strong{font-size:20px}}
@media(max-width:760px){.dashboard-actions{flex-wrap:wrap}.dashboard-action-spacer{display:none}.dashboard-updated{margin-left:auto}.dashboard-stage{gap:13px}.dashboard-stage::before{inset:-18px -14px;background-position:65% center}.dashboard-hero{min-height:210px;padding:23px 22px}.dashboard-hero-art{right:17px;width:92px;height:92px;opacity:.62}.dashboard-hero-art svg{width:55px;height:55px}.dashboard-hero-copy{max-width:calc(100% - 40px)}.dashboard-hero-note{font-size:10px}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-panel{padding:18px}.dashboard-chart{height:140px}}
@media(max-width:520px){.dashboard-actions{gap:6px;padding:8px}.dashboard-actions>.dashboard-section-label{flex-basis:100%}.dashboard-action-link,.dashboard-refresh{flex:1;padding:0 7px;font-size:9px}.dashboard-updated{flex-basis:100%;margin:0}.dashboard-kpis{grid-template-columns:1fr 1fr;gap:9px}.dashboard-kpi{min-height:102px;gap:9px;padding:14px 10px}.kpi-icon{width:36px;height:36px;border-radius:11px}.kpi-icon svg{width:19px;height:19px}.kpi-image{width:40px;height:40px;border-radius:11px}.kpi-image img{width:39px;height:39px}.dashboard-kpi>div:last-of-type>span{font-size:9px}.dashboard-kpi strong{font-size:16px}.dashboard-kpi small{font-size:8px}.kpi-corner{right:8px;top:7px;font-size:7px}.dashboard-eyebrow{font-size:8px;letter-spacing:.12em}.dashboard-hero h2{font-size:25px}.dashboard-hero-copy>p:not(.dashboard-eyebrow){max-width:250px;font-size:11px}.dashboard-hero-art{right:-15px;top:28%;transform:translateY(-50%);opacity:.28}.dashboard-hero-note{max-width:250px;margin-top:14px;font-size:9px}.dashboard-panel-heading h3{font-size:15px}.dashboard-panel-heading p{font-size:9px}.dashboard-recent .dashboard-panel-heading{align-items:flex-start}.dashboard-table th,.dashboard-table td{padding:9px 6px;font-size:9px}.dashboard-table th{font-size:7px}.invoice-mark{width:18px;height:18px;margin-right:4px}.dashboard-table td:nth-child(3){white-space:normal}}
