:root {
    color-scheme: light;
    --ink: #1b2927;
    --muted: #81908d;
    --soft-muted: #a8b2af;
    --line: #e9efec;
    --canvas: #f5f8f6;
    --white: #fff;
    --green: #246c5b;
    --green-dark: #153d35;
    --green-soft: #e7f4ef;
    --amber: #e4a443;
    --theme-surface: #ffffff;
    --theme-surface-2: #f9fbfa;
    --theme-surface-3: #f1f5f3;
    --theme-elevated: #ffffff;
    --theme-topbar: rgba(255, 255, 255, 0.93);
    --theme-input-bg: #ffffff;
    --theme-input-border: #e1e8e4;
    --theme-hover: #f1f5f3;
    --theme-text-strong: #2d403a;
    --theme-text-muted: #81908d;
    --theme-shadow: 0 3px 10px #18382d05;
    --theme-shadow-strong: 0 10px 32px #18382d1a;
    --theme-kbd-bg: #ffffff;
    --theme-table-head: #fafcfb;
    --theme-chip: #f1f5f2;
    font-family: "DM Sans", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.app-shell { min-height: 100vh; }

.sidebar {
    position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; width: 246px; height: 100vh; height: 100dvh;
    flex-direction: column; overflow: hidden; padding: 22px 12px 16px; color: #d8e3df; background: #102522;
}
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; padding: 0 9px 22px; color: #fff; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #edb553; background: linear-gradient(145deg,#1c4d40,#17382f); box-shadow: 0 6px 18px #081a1740; }
.brand-mark svg { width: 29px; height: 29px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; letter-spacing: .12em; }
.brand-copy strong { font-family: Manrope,sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .16em; }
.brand-copy small { color: #9aada7; font-size: 8px; font-weight: 700; letter-spacing: .28em; }
.workspace-label { padding: 0 11px; color: #6f8981; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.main-nav {
    display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-height: 0; margin-top: 4px;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; margin-right: -2px;
    scrollbar-width: thin; scrollbar-color: rgba(232,179,84,.42) rgba(255,255,255,.05);
}
.main-nav::-webkit-scrollbar { width: 6px; }
.main-nav::-webkit-scrollbar-track {
    margin: 4px 0; background: rgba(255,255,255,.04); border-radius: 999px;
}
.main-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(232,179,84,.45), rgba(154,173,167,.35));
    border-radius: 999px; border: 1px solid rgba(16,37,34,.35);
}
.main-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(232,179,84,.7), rgba(154,173,167,.5));
}
.main-nav::-webkit-scrollbar-corner { background: transparent; }
.nav-link { position: relative; display: flex; min-height: 40px; align-items: center; gap: 12px; padding: 0 11px; border-radius: 9px; color: #a9bbb5; font-size: 12px; font-weight: 500; transition: background .18s ease,color .18s ease; }
.nav-link:hover { color: white; background: #ffffff0d; }
.nav-link.is-active { color: #fff; background: #ffffff12; box-shadow: inset 3px 0 #e8b354; }
.nav-link.is-active::after { position: absolute; inset: 10px auto 10px 0; width: 2px; border-radius: 2px; background: #e8b354; content: ""; }
.nav-link svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.nav-link span:nth-of-type(1) { flex: 1; }
.nav-count { display: grid; min-width: 23px; height: 20px; place-items: center; border-radius: 6px; color: #afc0ba; background: #ffffff12; font-size: 10px; font-weight: 600; }
.nav-count--alert { color: #e4b759; background: #e4b75920; }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: #eab654; box-shadow: 0 0 0 3px #eab6541c; }
.nav-divider { height: 1px; margin: 12px 10px 11px; background: #ffffff12; }
.workspace-label--lower { margin-bottom: 5px; }
.sidebar-bottom { flex: 0 0 auto; margin-top: 12px; padding-top: 4px; }
.help-card { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border: 1px solid #ffffff14; border-radius: 10px; background: #ffffff08; }
.help-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 8px; color: #e8b354; background: #e8b35417; }
.help-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.help-card div { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.help-card strong { color: #eaf0ed; font-size: 10px; font-weight: 600; }
.help-card div span { color: #80968e; font-size: 9px; }
.help-arrow { align-self: flex-start; color: #81968f; font-size: 13px; }
.sidebar-foot { display: flex; align-items: center; gap: 7px; padding: 16px 10px 0; color: #71877f; font-size: 9px; }
.status-pulse { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #56bd8c; box-shadow: 0 0 0 3px #56bd8c20; }

.main-area { min-height: 100vh; margin-left: 246px; }
.topbar { position: sticky; z-index: 10; top: 0; display: flex; height: 70px; align-items: center; justify-content: space-between; padding: 0 37px; border-bottom: 1px solid var(--line); background: var(--theme-topbar, #ffffffed); backdrop-filter: blur(14px); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #9aa7a3; font-size: 11px; }
.breadcrumb strong { color: #3c4b47; font-weight: 600; }
.crumb-slash { color: #c4ceca; }
.topbar-actions { display: flex; height: 100%; align-items: center; gap: 17px; }
.search-box { display: flex; width: 224px; height: 36px; align-items: center; gap: 8px; padding: 0 9px; border: 1px solid #e7eeea; border-radius: 8px; background: #f9fbfa; }
.search-box svg,.table-search svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: #93a19c; stroke-linecap: round; stroke-width: 1.7; }
.search-box input,.table-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.search-box input::placeholder,.table-search input::placeholder { color: #a8b3af; }
.search-box kbd { flex: 0 0 auto; padding: 3px 4px; border: 1px solid #e5ebe8; border-radius: 4px; color: #9aa5a1; background: var(--theme-kbd-bg, var(--white)); font: 9px "DM Sans",sans-serif; }
.icon-button { position: relative; display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.icon-button:hover { background: #f1f5f3; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: #667672; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.notification-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: #e69b55; }
.notification-button { text-decoration: none; }
.notification-count { position: absolute; top: -5px; right: -7px; display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border: 2px solid white; border-radius: 10px; color: white; background: #b96a50; font-size: 10px; font-weight: 700; }
.topbar-divider { width: 1px; height: 25px; background: #e9efec; }
.profile-button { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.avatar { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; font-size: 9px; font-weight: 700; }
.avatar--profile { width: 34px; height: 34px; color: #f7e8d0; background: linear-gradient(145deg,#986a48,#604431); font-size: 10px; }
.profile-copy { display: flex; flex-direction: column; gap: 3px; }
.profile-copy strong { color: #31413d; font-size: 10px; font-weight: 600; }
.profile-copy small { color: #9aa7a3; font-size: 9px; }
.profile-button form { margin: 0; }
.logout-button { padding: 5px 8px; border: 1px solid #e7eeea; border-radius: 6px; color: #71807a; background: white; font-size: 9px; cursor: pointer; }
.logout-button:hover { color: #a45b4e; border-color: #efd8d2; background: #fff9f7; }
.chevron { width: 13px; height: 13px; margin-left: 3px; fill: none; stroke: #8e9b97; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.menu-button { display: none; }
.close-menu { display: none; }

.page-content { width: min(100%, 1520px); margin: 0 auto; padding: 32px 37px 19px; }
.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow,.panel-kicker { color: #93a09b; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.eyebrow-line { width: 17px; height: 1px; background: #d3a552; }
h1,h2,p { margin-top: 0; }
h1,h2,.metric-value { font-family: Manrope,"DM Sans",sans-serif; }
h1 { margin-bottom: 5px; color: #1e302c; font-size: clamp(23px,2.1vw,29px); font-weight: 700; letter-spacing: -.045em; }
.wave { display: inline-block; margin-left: 3px; color: #d9a243; font-size: 18px; transform: rotate(10deg); }
.welcome-subtitle { margin: 0; color: #8c9995; font-size: 11px; }
.welcome-actions { display: flex; align-items: center; gap: 9px; }
.button { display: inline-flex; height: 37px; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid transparent; border-radius: 7px; font-size: 10px; font-weight: 600; cursor: pointer; transition: transform .16s ease,box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 12px #1a352512; }
.button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.button--secondary { border-color: #e2eae6; color: #53625d; background: white; }
.button--primary { color: #fff; background: #246c5b; box-shadow: 0 4px 9px #246c5b20; }
.button-plus { font-size: 17px; font-weight: 400; line-height: 1; }

.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 16px; }
.metric-card,.panel { border: 1px solid #e9efec; border-radius: 11px; background: white; box-shadow: 0 3px 10px #18382d05; }
.metric-card { min-width: 0; padding: 16px 16px 13px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.metric-label { color: #72807b; font-size: 10px; font-weight: 500; }
.info-dot { display: inline-grid; width: 12px; height: 12px; place-items: center; border: 1px solid #c8d2cd; border-radius: 50%; color: #9aa7a2; font-size: 8px; }
.metric-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 8px; }
.metric-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.metric-icon--green { color: #368b70; background: #e9f5ef; }
.metric-icon--blue { color: #558bb7; background: #edf4fa; }
.metric-icon--amber { color: #cd9642; background: #fbf3e5; }
.metric-icon--violet { color: #8a77bd; background: #f1eff9; }
.metric-value { overflow: hidden; margin: 10px 0 7px; color: #243632; font-size: clamp(22px,2vw,27px); font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.metric-decimal { color: #73817d; font-size: .69em; font-weight: 600; letter-spacing: -.02em; }
.metric-bottom { display: flex; min-height: 20px; align-items: center; gap: 6px; white-space: nowrap; }
.trend { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 700; }
.trend svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.trend--up { color: #359474; }
.trend--down { color: #608b78; }
.trend--warn { gap: 4px; color: #b98636; font-size: 8px; }
.trend-circle { display: grid; width: 12px; height: 12px; place-items: center; border-radius: 50%; color: #fff; background: #d8a246; font-size: 8px; }
.metric-note { overflow: hidden; color: #a0aaa6; font-size: 8px; text-overflow: ellipsis; }
.sparkline { width: 47px; height: 22px; flex: 0 0 auto; margin-left: auto; align-self: flex-end; }
.sparkline svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.sparkline--green { color: #70b89a; }.sparkline--blue { color: #83a8c6; }.sparkline--amber { color: #d2ad70; }.sparkline--violet { color: #a398c8; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(275px,.85fr); gap: 14px; margin-bottom: 14px; }
.panel { min-width: 0; padding: 18px 19px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.panel-kicker { margin-bottom: 5px; font-size: 8px; letter-spacing: .14em; }
h2 { margin-bottom: 0; color: #293a36; font-size: 14px; font-weight: 700; letter-spacing: -.025em; }
.period-tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid #eff2f0; border-radius: 7px; background: #f7f9f8; }
.period-tab { padding: 5px 9px; border: 0; border-radius: 5px; color: #95a09c; background: transparent; font-size: 9px; cursor: pointer; }
.period-tab { text-decoration: none; }
.period-tab:hover { color: #425650; }
.period-tab.is-selected { color: #2b6859; background: white; box-shadow: 0 1px 3px #193b2d12; font-weight: 700; }
.chart-summary { display: flex; align-items: baseline; gap: 10px; margin: 15px 0 0; }
.chart-summary strong { color: #233732; font-family: Manrope,sans-serif; font-size: 22px; letter-spacing: -.04em; }
.chart-summary-change { color: #389577; font-size: 9px; font-weight: 700; }
.chart-summary-change span { margin-left: 3px; color: #9ba6a2; font-size: 8px; font-weight: 400; }
.chart-wrap { position: relative; height: 168px; margin: 8px 0 0 31px; }
.chart-y-labels { position: absolute; inset: 2px auto 0 -32px; display: flex; flex-direction: column; justify-content: space-between; padding: 0 0 1px; color: #a7b1ad; font-size: 8px; }
.sales-chart { width: 100%; height: 100%; overflow: visible; }
.chart-gridline { fill: none; stroke: #edf1ef; stroke-dasharray: 3 5; stroke-width: 1; }
.chart-area { fill: url(#chart-fill); }
.chart-line { fill: none; stroke: #429a7d; stroke-linecap: round; stroke-width: 2.4; }
.chart-point { fill: white; stroke: #429a7d; stroke-width: 2.5; }
.chart-tooltip rect { fill: #183c33; }
.chart-tooltip text { fill: white; font: 600 10px "DM Sans",sans-serif; text-anchor: middle; }
.chart-x-labels { display: flex; justify-content: space-between; margin: 0 0 0 31px; color: #a7b1ad; font-size: 8px; }
.chart-footer { display: flex; align-items: center; gap: 16px; margin-top: 15px; padding-top: 11px; border-top: 1px solid #f0f3f1; color: #87948f; font-size: 8px; }
.chart-footer span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: #4da184; }
.legend-dot--muted { background: #d7e0dc; }
.chart-footer .chart-footer-note { margin-left: auto; color: #a8b1ae; }

.text-link { flex: 0 0 auto; color: #3a806c; font-size: 9px; font-weight: 600; }
.text-link span { padding-left: 3px; color: #8cab9f; }
.stock-content { display: flex; align-items: center; gap: 19px; padding: 14px 3px 13px; }
.donut-wrap { position: relative; display: grid; width: 137px; height: 137px; flex: 0 0 auto; place-items: center; }
.stock-donut { width: 137px; height: 137px; transform: rotate(-90deg); }
.donut-track,.donut-segment { fill: none; stroke-width: 13; }
.donut-track { stroke: #f1f4f2; }
.donut-segment { stroke-linecap: round; }
.donut-segment--green { stroke: #55a58a; }
.donut-segment--amber { stroke: #e6b15a; }
.donut-segment--red { stroke: #d7836d; }
.donut-center { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.donut-center strong { color: #2b3e38; font-family: Manrope,sans-serif; font-size: 23px; letter-spacing: -.06em; }
.donut-center span { color: #9aa6a1; font-size: 8px; }
.stock-legend { display: flex; flex: 1; flex-direction: column; gap: 13px; }
.legend-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.legend-label { display: flex; align-items: center; gap: 6px; color: #77847f; font-size: 9px; }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; }
.stock-dot--green { background: #55a58a; }.stock-dot--amber { background: #e6b15a; }.stock-dot--red { background: #d7836d; }
.legend-row strong { color: #455550; font-size: 9px; font-weight: 600; white-space: nowrap; }
.legend-row strong small { margin-left: 3px; color: #a3ada9; font-size: 8px; font-weight: 400; }
.stock-alert { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid #f4ead8; border-radius: 8px; background: #fdf9f1; }
.alert-symbol { display: grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #b78639; background: #f3e5c7; font-size: 10px; font-weight: 700; }
.stock-alert > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.stock-alert strong { color: #806333; font-size: 8px; font-weight: 600; }
.stock-alert small { color: #b09b75; font-size: 7px; }
.stock-alert a { color: #ad8038; font-size: 16px; }

.lower-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(275px,.85fr); align-items: start; gap: 14px; }
.orders-panel { padding-bottom: 0; }
.orders-header { align-items: center; margin-bottom: 15px; }
.orders-tools { display: flex; align-items: center; gap: 13px; }
.table-search { display: flex; width: 150px; height: 31px; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid #e9efec; border-radius: 6px; }
.table-search svg { width: 13px; height: 13px; }
.table-search input { font-size: 9px; }
.table-scroll { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.orders-table th { padding: 0 8px 9px; border-bottom: 1px solid #eef2f0; color: #a0aaa6; font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.orders-table th:first-child,.orders-table td:first-child { padding-left: 2px; }
.orders-table th:last-child,.orders-table td:last-child { padding-right: 0; text-align: right; }
.orders-table td { height: 52px; padding: 5px 8px; border-bottom: 1px solid #f1f4f2; color: #87938e; font-size: 8px; }
.orders-table tbody tr:last-child td { border-bottom: 0; }
.order-id { color: #387a67; font-size: 8px; font-weight: 700; }
.customer-cell { display: inline-flex; align-items: center; gap: 8px; }
.customer-cell .avatar { width: 27px; height: 27px; font-size: 8px; }
.avatar--orange { color: #956e4a; background: #f5eade; }
.avatar--blue { color: #557e9b; background: #e8f0f6; }
.avatar--purple { color: #7d6e9e; background: #eeeaf5; }
.avatar--green { color: #57846f; background: #e6f1e9; }
.customer-cell > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.customer-cell strong { color: #45544f; font-size: 8px; font-weight: 600; }
.customer-cell small { color: #a1aba7; font-size: 7px; }
.amount { color: #53615c !important; font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; font-size: 7px; font-weight: 600; }
.status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status--paid { color: #34876a; background: #eaf5ef; }
.status--pending { color: #b5873e; background: #fbf4e6; }
.status--overdue { color: #bf6c5b; background: #fbefec; }
.row-menu,.more-button { border: 0; color: #98a49f; background: transparent; font-size: 16px; line-height: 1; cursor: pointer; }
.row-menu:hover,.more-button:hover { color: #316e5d; }
.empty-search { padding: 25px; color: #98a49f; font-size: 10px; text-align: center; }
.table-footer { display: flex; align-items: center; justify-content: space-between; min-height: 43px; border-top: 1px solid #eef2f0; color: #9ca7a3; font-size: 8px; }
.table-footer strong { color: #65736e; font-weight: 600; }
.pagination { display: flex; align-items: center; gap: 3px; }
.pagination button { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #e8eeeb; border-radius: 5px; color: #71807a; background: white; font-size: 10px; cursor: pointer; }
.pagination button:disabled { color: #c3ccc8; cursor: default; }
.pagination button.page-current { border-color: #dcebe4; color: #31745f; background: #edf6f1; font-weight: 700; }
.pagination span { padding: 0 3px; }
.side-stack { display: flex; flex-direction: column; gap: 13px; }
.top-products { padding: 16px 16px 0; }
.top-products .panel-header { align-items: center; }
.more-button { padding: 0 3px; }
.product-list { margin-top: 10px; }
.product-item { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid #f0f3f1; }
.product-item:last-child { border-bottom: 0; }
.product-art { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 8px; }
.product-art svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.product-art--brake { color: #a36953; background: #f7eee9; }
.product-art--filter { color: #637c8c; background: #edf2f3; }
.product-art--plug { color: #9b8355; background: #f7f2e7; }
.product-details,.product-sales { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.product-details { flex: 1; }
.product-details strong { overflow: hidden; color: #485751; font-size: 8px; font-weight: 600; text-overflow: ellipsis; }
.product-details small { color: #a0aaa6; font-size: 7px; }
.product-sales { align-items: flex-end; }
.product-sales strong { color: #53625c; font-size: 8px; font-weight: 600; }
.product-sales small { color: #9da8a3; font-size: 7px; }
.panel-bottom-link { display: flex; min-height: 36px; align-items: center; justify-content: space-between; border-top: 1px solid #f0f3f1; color: #4b8b75; font-size: 8px; font-weight: 600; }
.panel-bottom-link span { font-size: 13px; }
.notice-card { position: relative; overflow: hidden; padding: 14px 15px 13px; border: 1px solid #dcebe4; border-radius: 10px; background: linear-gradient(125deg,#eff8f3 0%,#f8fbf8 70%,#f1f7f3 100%); }
.notice-glow { position: absolute; top: -38px; right: -26px; width: 110px; height: 110px; border: 1px solid #d4e9dd; border-radius: 50%; box-shadow: 0 0 0 13px #e3f0e8,0 0 0 27px #eaf4ed; opacity: .8; }
.notice-top { position: relative; display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.notice-icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 6px; color: #4a9074; background: #deefe4; }
.notice-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.notice-label { color: #799588; font-size: 7px; font-weight: 700; letter-spacing: .11em; }
.notice-spark { margin-left: auto; color: #c2a76b; font-size: 12px; }
.notice-card > strong { position: relative; display: block; margin-bottom: 5px; color: #315649; font-family: Manrope,sans-serif; font-size: 13px; letter-spacing: -.03em; }
.notice-card p { position: relative; margin-bottom: 11px; color: #748c81; font-size: 8px; line-height: 1.5; }
.notice-card p b { color: #4f7968; font-weight: 700; }
.notice-card > a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #438268; font-size: 8px; font-weight: 700; }
.page-footer { display: flex; align-items: center; gap: 18px; padding: 18px 2px 0; color: #a4aeaa; font-size: 8px; }
.page-footer span:nth-child(2) { display: inline-flex; align-items: center; gap: 7px; }
.page-footer a { margin-left: auto; color: #87958f; }
.page-footer a span { padding-left: 2px; }
.toast { position: fixed; z-index: 40; right: 24px; bottom: 23px; max-width: min(360px,calc(100vw - 32px)); padding: 12px 16px; border: 1px solid #dbe9e1; border-radius: 9px; color: #285d4d; background: white; box-shadow: 0 10px 32px #18382d1a; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease,transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

@media (min-width: 1500px) {
    .page-content { padding-right: 49px; padding-left: 49px; }
    .metric-card { padding: 18px 20px 15px; }
    .dashboard-grid,.lower-grid { gap: 17px; }
}
@media (max-width: 1180px) {
    .sidebar { width: 220px; }
    .main-area { margin-left: 220px; }
    .topbar { padding-right: 25px; padding-left: 25px; }
    .page-content { padding-right: 25px; padding-left: 25px; }
    .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dashboard-grid,.lower-grid { grid-template-columns: minmax(0,1.3fr) minmax(260px,.9fr); }
}
@media (max-width: 900px) {
    .sidebar { width: 72px; align-items: center; padding-right: 9px; padding-left: 9px; }
    .brand { padding: 0 0 30px; }
    .brand-copy,.workspace-label,.nav-link span,.nav-divider,.help-card,.sidebar-foot { display: none; }
    .main-nav { width: 100%; align-items: center; min-height: 0; overflow-y: auto; }
    .nav-link { width: 47px; justify-content: center; padding: 0; }
    .nav-link svg { width: 19px; height: 19px; }
    .nav-link.is-active::after { left: -9px; }
    .sidebar-bottom { display: none; }
    .main-area { margin-left: 72px; }
    .dashboard-grid,.lower-grid { grid-template-columns: minmax(0,1fr); }
    .stock-content { justify-content: center; }
    .stock-legend { max-width: 260px; }
    .side-stack { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 620px) {
    .sidebar { z-index: 35; width: 246px; align-items: stretch; padding: 23px 15px 18px; box-shadow: 12px 0 35px #122c2422; transform: translateX(-110%); transition: transform .22s ease; }
    .sidebar.is-open { transform: translateX(0); }
    .close-menu { position: absolute; top: 25px; right: 13px; display: grid; color: #9ab0a8; }
    .brand { padding: 0 9px 30px; }
    .brand-copy,.workspace-label,.nav-link span,.nav-divider,.help-card,.sidebar-foot { display: initial; }
    .brand-copy { display: flex; }
    .workspace-label { display: block; }
    .main-nav { align-items: stretch; }
    .nav-link { width: auto; justify-content: flex-start; padding: 0 11px; }
    .nav-link span:nth-of-type(1) { flex: 1; }
    .nav-link.is-active::after { left: 0; }
    .nav-divider { display: block; }
    .sidebar-bottom { display: block; }
    .help-card { display: flex; }
    .sidebar-foot { display: flex; }
    .main-area { margin-left: 0; }
    .topbar { height: 60px; padding: 0 14px; }
    .menu-button { display: grid; }
    .breadcrumb { margin-right: auto; margin-left: 7px; font-size: 10px; }
    .topbar-actions { gap: 7px; }
    .search-box { width: 35px; justify-content: center; padding: 0; border-color: transparent; background: transparent; }
    .search-box input,.search-box kbd { display: none; }
    .search-box svg { width: 18px; height: 18px; }
    .topbar-divider,.profile-copy,.profile-button .chevron { display: none; }
    .profile-button { margin-left: 1px; }
    .avatar--profile { width: 31px; height: 31px; }
    .page-content { padding: 24px 15px 16px; }
    .welcome-row { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 18px; }
    h1 { font-size: 24px; }
    .welcome-actions { width: 100%; }
    .welcome-actions .button { flex: 1; }
    .metric-grid { gap: 9px; }
    .metric-card { padding: 13px 11px 10px; }
    .metric-label { font-size: 9px; }
    .metric-icon { width: 26px; height: 26px; }
    .metric-icon svg { width: 14px; height: 14px; }
    .metric-value { font-size: 21px; }
    .metric-bottom { gap: 4px; }
    .metric-note { font-size: 7px; }
    .sparkline { display: none; }
    .panel { padding: 15px 13px; }
    .period-tab { padding: 5px 7px; font-size: 8px; }
    .chart-wrap { height: 140px; }
    .chart-footer { gap: 9px; font-size: 7px; }
    .chart-footer .chart-footer-note { display: none; }
    .stock-content { gap: 11px; }
    .donut-wrap,.stock-donut { width: 116px; height: 116px; }
    .donut-center strong { font-size: 20px; }
    .stock-legend { gap: 11px; }
    .orders-header { align-items: flex-start; flex-direction: column; }
    .orders-tools { width: 100%; justify-content: space-between; }
    .table-search { width: min(190px,65%); }
    .side-stack { grid-template-columns: 1fr; }
    .page-footer { flex-wrap: wrap; gap: 9px 14px; }
    .page-footer a { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
