:root {
  color-scheme: light;
  --page: #f3f6f5;
  --surface: #fff;
  --surface-2: #f7f9f8;
  --ink: #172b29;
  --muted: #526661;
  --subtle: #60746e;
  --line: #dce5e1;
  --green: #126554;
  --green-dark: #0b4d40;
  --green-soft: #e5f2ec;
  --amber: #8b5410;
  --amber-soft: #fff3da;
  --blue: #275b8c;
  --blue-soft: #e9f2fd;
  --red: #a73731;
  --red-soft: #fbe9e6;
  --purple: #67508f;
  --purple-soft: #f1ebfa;
  --sidebar: 232px;
  font: 15px/1.55 "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .53; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
button, .nav-item, .task, .metric, .btn { transition: background .16s, border-color .16s, box-shadow .16s; }
.skip { position: fixed; z-index: 20; left: 10px; top: -80px; padding: 10px 14px; background: #fff; border: 1px solid var(--green); }
.skip:focus { top: 10px; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.muted { color: var(--muted); }
.quiet { color: var(--subtle); font-size: .87rem; }
.num { font-variant-numeric: tabular-nums; }
.mono { font: 600 .88rem/1.45 "Cascadia Mono", Consolas, monospace; letter-spacing: -.03em; }
.nowrap { white-space: nowrap; }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr { position: absolute; height: 1px; width: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.initial { display: grid; place-content: center; justify-items: center; min-height: 100vh; color: var(--muted); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; flex: none; }
.brand strong { display: block; font-size: 1.19rem; line-height: 1.24; letter-spacing: .025em; }
.brand small { display: block; font-size: .79rem; margin-top: 4px; color: var(--subtle); }
.layout { display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); min-height: 100vh; }
.sidebar {
  grid-column: 1; grid-row: 1; position: sticky; top: 0; align-self: start;
  height: 100vh; height: 100dvh; background: #fbfdfc; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 23px 14px 16px; overflow-y: auto; z-index: 5;
}
.sidebar .brand { margin: 0 8px 31px; }
.role-switch { padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 11px; display: flex; align-items: center; gap: 10px; margin: 0 2px 23px; }
.role-switch .icon { color: var(--green); }
.role-switch strong, .profile-name strong, .rail-foot strong { display: block; font-size: .92rem; line-height: 1.4; }
.role-switch small, .profile-name small, .rail-foot small { display: block; color: var(--subtle); font-size: .77rem; }
.nav-group { margin: 0 0 19px; }
.nav-label { color: var(--subtle); font-size: .77rem; font-weight: 650; letter-spacing: .08em; padding: 0 11px; margin: 0 0 7px; }
.nav-item { display: flex; gap: 11px; align-items: center; min-height: 43px; border-radius: 8px; margin: 3px 0; padding: 0 10px; font-size: .95rem; color: var(--muted); position: relative; }
.nav-item .icon { width: 18px; height: 18px; color: #5b746c; }
.nav-item:hover { background: #eef4f1; color: var(--ink); }
.nav-item[aria-current="page"] { background: #e3f0e9; color: #104f41; font-weight: 700; }
.nav-item[aria-current="page"]::after { content: ""; background: #168064; position: absolute; right: 9px; width: 5px; height: 5px; border-radius: 50%; }
.nav-item[aria-current="page"] .icon { color: #176954; }
.rail-footer { margin-top: auto; padding-top: 14px; }
.rail-help { display: flex; gap: 10px; align-items: center; padding: 10px; width: 100%; border: 0; min-height: 42px; margin: 0 0 10px; border-radius: 8px; background: transparent; text-align: left; color: var(--muted); font-size: .9rem; }
.rail-help:hover { background: var(--green-soft); }
.rail-foot { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding: 15px 6px 0; }
.rail-foot .icon-box { width: 33px; height: 33px; }
.rail-foot .icon { width: 16px; height: 16px; }
.work { grid-column: 2; min-width: 0; }
.topbar {
  height: 67px; padding: 0 30px; background: #fff; border-bottom: 1px solid var(--line); display: flex;
  align-items: center; justify-content: space-between; gap: 18px;
}
.top-left, .top-actions, .crumbs, .profile, .inline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumbs { white-space: nowrap; font-size: .93rem; color: var(--subtle); gap: 7px; }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs strong { color: var(--ink); }
.top-actions { gap: 16px; }
.global-search { display: flex; align-items: center; gap: 8px; min-width: 0; background: #f6f9f7; border: 1px solid var(--line); border-radius: 8px; height: 36px; padding: 0 10px; color: var(--subtle); }
.global-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px #12655420; }
.global-search .icon { width: 15px; height: 15px; }
.global-search input { height: 100%; width: clamp(112px, 13vw, 188px); border: 0; background: transparent; outline: none; color: var(--ink); font-size: .86rem; }
.global-search kbd { font: 500 .74rem/1.25 "Segoe UI",sans-serif; color: var(--subtle); border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 1px 5px; white-space: nowrap; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; color: #1b5b49; white-space: nowrap; background: #edf6ef; border: 1px solid #dbeae0; border-radius: 999px; font-size: .78rem; font-weight: 650; padding: 4px 9px; }
.demo-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #328667; }
.profile { border-left: 1px solid var(--line); padding-left: 15px; gap: 8px; }
.avatar { background: #dceee6; color: #16604d; border: 1px solid #cee4da; display: grid; place-items: center; font-size: .88rem; font-weight: 750; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; }
.profile-name { white-space: nowrap; }
.profile-name small { max-width: 100px; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 0; color: var(--muted); flex: 0 0 auto; }
.icon-button:hover { border-color: var(--line); background: var(--surface-2); color: var(--ink); }
.icon-button .icon { width: 17px; height: 17px; }
.menu-open { display: none; }
.rail-backdrop { display: none; }
.main { max-width: 1800px; margin: 0 auto; padding: 24px 30px 30px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px 18px; margin: 0 0 20px; }
.page-heading h1 { margin: 0; color: #132a26; font-size: clamp(1.55rem, 2.2vw, 2.07rem); letter-spacing: -.046em; line-height: 1.25; font-weight: 770; }
.page-heading p { color: var(--muted); margin: 7px 0 0; font-size: .95rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 38px; padding: 7px 13px; white-space: nowrap; font-weight: 650; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; text-align: center; }
.btn .icon { width: 17px; height: 17px; }
.btn:hover { background: #f2f7f5; border-color: #bacdc4; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--green); }
.btn-danger { color: var(--red); border-color: #e9c4bd; }
.btn-danger:hover { background: var(--red-soft); border-color: #dfa49a; }
.btn-small { min-height: 31px; padding: 5px 9px; border-radius: 6px; font-size: .84rem; }
.btn-small .icon { width: 14px; height: 14px; }
.date-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 8px; color: var(--muted); padding: 7px 11px; font-size: .88rem; }
.date-chip .icon { width: 16px; height: 16px; }
.hero {
  background: #123f36 linear-gradient(106deg,#102f29 0%,#13463a 53%,#1c5548 100%); color: #fff; position: relative; isolation: isolate;
  border: 1px solid #1c5247; border-radius: 15px; min-height: 197px; overflow: hidden; display: flex; align-items: center;
  margin-bottom: 19px;
}
.hero-art { position: absolute; right: 0; bottom: 0; height: 100%; width: min(67%, 780px); object-fit: cover; object-position: right bottom; z-index: -1; }
.hero-body { padding: 20px 25px 22px; max-width: 72%; }
.hero-label { color: #d4f2db; display: inline-flex; align-items: center; gap: 6px; background: #ffffff13; border: 1px solid #bbf5d345; border-radius: 5px; padding: 3px 8px; font-size: .77rem; font-weight: 650; }
.hero-label .icon { width: 13px; height: 13px; }
.hero h2 { font-size: clamp(1.55rem, 3vw, 2.29rem); font-weight: 780; line-height: 1.22; letter-spacing: -.035em; margin: 8px 0 4px; }
.hero p { color: #d0e6dd; font-size: .94rem; margin: 0 0 12px; }
.hero p strong { color: #e2ffc8; }
.hero .btn { background: #d0edb4; border-color: #d0edb4; color: #143428; min-height: 32px; font-size: .82rem; padding: 4px 10px; }
.hero .btn:hover { background: #e4f8cf; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }
.metric {
  display: block; text-align: left; width: 100%; padding: 13px 14px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; box-shadow: 0 1px 2px #1a392305; min-height: 116px;
}
.metric:hover { border-color: #94bbac; background: #fbfefb; box-shadow: 0 3px 10px #144a3b0c; }
.metric-head { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 670; }
.metric-head > .icon:last-child { width: 14px; height: 14px; margin-left: auto; color: #789188; }
.icon-box { width: 34px; height: 34px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--green); background: var(--green-soft); }
.icon-box .icon { width: 18px; height: 18px; }
.tone-green { background: var(--green-soft); color: var(--green-dark); }
.tone-amber { background: var(--amber-soft); color: var(--amber); }
.tone-blue { background: var(--blue-soft); color: var(--blue); }
.tone-red { background: var(--red-soft); color: var(--red); }
.tone-purple { background: var(--purple-soft); color: var(--purple); }
.tone-neutral { background: #ecf1ef; color: #4e665d; }
.metric-val { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.metric-val strong { font-size: 2.04rem; letter-spacing: -.052em; line-height: 1.13; font-weight: 760; }
.metric-val small { color: var(--muted); font-size: .78rem; }
.metric p { margin: 3px 0 0; color: var(--subtle); font-size: .79rem; }
.overview-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(266px,1fr); gap: 15px; margin-bottom: 17px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; min-width: 0; box-shadow: 0 1px 2px #163d3006; }
.card-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; padding: 15px 16px 12px; }
.card-head h2, .card-head h3 { font-size: 1.04rem; line-height: 1.35; margin: 0; font-weight: 750; }
.card-head p { font-size: .83rem; margin: 4px 0 0; color: var(--muted); }
.card-body { padding: 1px 15px 16px; }
.chart-card { container-type: inline-size; }
.chart-card .card-head { align-items: center; }
.chart-legend { display: flex; gap: 11px; align-items: center; white-space: nowrap; font-size: .79rem; color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-key { width: 8px; height: 8px; border-radius: 2px; background: #2f7968; }
.legend-key.shipments { background: #aacbbb; border: 1px solid #a0bdad; }
.trend { padding: 0 15px 12px; margin: 0; }
.trend svg { width: 100%; height: auto; display: block; }
.trend .chart-compact { display: none; }
@container (max-width: 495px) {
  .trend .chart-wide { display: none; }
  .trend .chart-compact { display: block; }
}
.chart-guide { stroke: #e3ece7; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-axis { stroke: #dbe7e1; stroke-width: 1; }
.chart-text { fill: var(--subtle); font: 600 12px "Segoe UI", "Microsoft YaHei", sans-serif; }
.bar-orders { fill: #2d7867; }
.bar-shipments { fill: #a9c9ba; }
.chart-group:hover .bar-orders { fill: #155f4f; }
.chart-group:hover .bar-shipments { fill: #88b09e; }
.task-list { display: grid; gap: 5px; padding: 0 13px 13px; }
.task { background: #f7f9f8; border: 1px solid #e5ede9; border-radius: 7px; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 5px 8px; text-align: left; }
.task:hover { background: #eff6f2; border-color: #c6dbd2; }
.task .icon-box { width: 27px; height: 27px; border-radius: 6px; }
.task .icon-box .icon { width: 15px; height: 15px; }
.task strong { font-size: .9rem; }
.task .task-count { margin-left: auto; font-size: .86rem; text-align: center; padding: 1px 7px; border-radius: 5px; font-weight: 740; min-width: 24px; }
.task > .icon { width: 13px; height: 13px; color: #668279; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .91rem; white-space: nowrap; }
th, td { padding: 11px 13px; border-bottom: 1px solid #e9efec; text-align: left; }
th:first-child,td:first-child { padding-left: 16px; }
th:last-child,td:last-child { padding-right: 16px; }
thead th { background: #f5f8f7; color: #50655e; font-size: .82rem; font-weight: 680; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafcfb; }
.table-link { border: 0; background: none; padding: 4px 0; color: var(--green); font-weight: 700; text-align: left; }
.table-link:hover { text-decoration: underline; }
.subcell { display: block; font-size: .78rem; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.table-actions { text-align: right; }
.table-actions > * + * { margin-left: 5px; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; line-height: 1.2; font-size: .8rem; font-weight: 650; padding: 4px 7px; border-radius: 5px; white-space: nowrap; }
.badge.has-dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.platform-label { display: inline-block; padding: 3px 6px; border-radius: 4px; color: #3f5b51; background: #edf4f0; font-size: .79rem; font-weight: 650; }
.t-taobao { background: #fff0e4; color: #87421e; }
.t-douyin { background: #eef0f5; color: #3c4660; }
.t-pdd { background: #fcebe8; color: #983c36; }
.t-jd { background: #faebee; color: #9b3a53; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tool-search { display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #cfdcd6; border-radius: 7px; background: #fff; }
.tool-search .icon { width: 16px; height: 16px; color: var(--muted); }
.tool-search input { border: 0; padding-left: 0; width: 170px; outline: none; }
.tool-search:focus-within { box-shadow: 0 0 0 2px #12655430; }
input:not([type="checkbox"]), select, textarea { min-height: 38px; }
input, select, textarea { color: var(--ink); }
.field input:not([type="checkbox"]), .field select, .field textarea, .toolbar select {
  min-width: 0; width: 100%; border: 1px solid #cfdcd6; border-radius: 7px; background: #fff; padding: 8px 9px; font-size: .94rem;
}
.toolbar select { width: auto; min-width: 105px; font-size: .88rem; padding: 5px 8px; }
.field input::placeholder, .field textarea::placeholder, input::placeholder { color: #5e716b; }
.field textarea { min-height: 75px; resize: vertical; }
.toolbar .push { margin-left: auto; }
.pager { padding: 10px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pager .actions { gap: 5px; }
.empty { text-align: center; padding: 30px 15px; color: var(--muted); white-space: normal; }
.empty > .icon-box { margin-bottom: 6px; }
.empty strong { display: block; color: var(--ink); }
.empty p { margin: 4px 0 0; font-size: .9rem; }
.main .loading { min-height: 185px; display: grid; place-items: center; color: var(--muted); }
.notice { padding: 9px 12px; border: 1px solid #cfe5da; border-radius: 8px; color: #23594b; background: #edf7f2; font-size: .9rem; }
.notice .icon { width: 16px; height: 16px; margin-right: 3px; }
.notice-warning { color: #754610; background: #fff6e5; border-color: #efdcb5; }
.notice-error { color: #8e302c; background: #fcf0ed; border-color: #eccbc4; }
.main > .notice { margin-bottom: 13px; }
.tabs { display: flex; gap: 9px; flex-wrap: wrap; }
.tab { border: 0; min-height: 35px; padding: 5px 10px; border-radius: 6px; background: #eef3f1; color: var(--muted); font-size: .9rem; font-weight: 650; }
.tab:hover { background: var(--green-soft); }
.tab[aria-pressed="true"] { color: #135a49; background: #dfeee7; }
.store-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.store-card { padding: 15px; }
.store-top { display: flex; justify-content: space-between; gap: 8px; }
.store-top h2 { font-size: 1.1rem; margin: 0 0 3px; }
.store-meta { margin: 12px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 10px; border-radius: 7px; background: #f5f8f6; }
.store-meta span, .kv dt { display: block; font-size: .81rem; color: var(--muted); }
.store-meta strong { display: block; font-size: .9rem; }
.store-card .actions { justify-content: flex-end; }
.footer { display: flex; justify-content: space-between; gap: 8px; margin: 18px 1px 0; color: var(--subtle); font-size: .78rem; }
.dialog { border: 1px solid var(--line); padding: 0; border-radius: 13px; width: min(690px,calc(100vw - 24px)); max-height: calc(100dvh - 28px); overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 24px 90px #0a302a38; }
.dialog::backdrop { background: #102e29a4; }
.dialog-head {
  position: sticky; top: 0; z-index: 2; background: #fff; display: flex; align-items: start; justify-content: space-between; gap: 10px;
  padding: 15px 17px 12px; border-bottom: 1px solid var(--line);
}
.dialog-head h2 { margin: 0; font-size: 1.15rem; }
.dialog-head p { margin: 3px 0 0; font-size: .86rem; color: var(--muted); }
.dialog-body { padding: 15px 17px 17px; }
.dialog-body > .notice { margin: 0 0 12px; }
.dialog-body h3 { font-size: .99rem; margin: 14px 0 7px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.dialog-actions.start { justify-content: flex-start; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.field { display: grid; align-content: start; gap: 5px; color: var(--ink); min-width: 0; }
.field > span:first-child { font-weight: 650; font-size: .88rem; }
.field > small { font-size: .79rem; color: var(--muted); }
.wide { grid-column: 1/-1; }
.check-row { display: flex; align-items: center; gap: 7px; font-size: .89rem; min-height: 35px; }
.check-row input { width: 16px; height: 16px; accent-color: var(--green); }
.form-error { margin: 10px 0 0; }
.line-items { display: grid; gap: 7px; }
.line-item { display: grid; grid-template-columns: minmax(0,1fr) 75px 36px; align-items: end; gap: 7px; }
.item-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; font-size: .9rem; }
.kv { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; background: #f6f9f7; border-radius: 8px; padding: 12px; margin: 0 0 12px; }
.kv dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.dialog-table { border: 1px solid var(--line); border-radius: 7px; }
.dialog-table td,.dialog-table th { padding: 7px 9px; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list li { position: relative; padding: 7px 2px 7px 15px; border-left: 1px solid #d3e5db; margin-left: 5px; overflow-wrap: anywhere; }
.event-list li::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; left: -4px; top: 13px; background: #2e8870; }
.event-list p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.event-list time { font-size: .78rem; color: var(--subtle); }
.mini-detail { margin-top: 13px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; }
.mini-detail summary { cursor: pointer; font-weight: 650; font-size: .92rem; }
.toast-stack { position: fixed; bottom: 15px; right: 15px; z-index: 30; display: grid; gap: 7px; width: min(380px,calc(100% - 30px)); pointer-events: none; }
.toast { display: flex; align-items: start; gap: 8px; background: #fff; border: 1px solid #b7d7c7; border-left: 4px solid #258361; border-radius: 8px; padding: 11px; box-shadow: 0 8px 26px #143e3020; color: var(--ink); }
.toast.error { border-color: #eabdb5; border-left-color: #b4473b; }
.toast .icon { color: var(--green); }
.toast.error .icon { color: var(--red); }
.login {
  display: grid; grid-template-columns: minmax(320px, 460px) minmax(330px, 570px); min-height: min(595px, calc(100vh - 50px));
  width: min(1040px,calc(100% - 38px)); margin: 25px auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 0 20px 65px #10413318;
}
.login-wrap { min-height: 100vh; display: grid; place-items: center; }
.login-main { padding: clamp(22px,4.8vw,49px); align-self: center; }
.login-main .brand { margin-bottom: 25px; }
.login-main h1 { font-size: 1.82rem; letter-spacing: -.025em; margin: 0; }
.login-main > p { font-size: .94rem; color: var(--muted); margin: 5px 0 18px; }
.login-main form { display: grid; gap: 11px; }
.login-main form .btn-primary { width: 100%; margin-top: 4px; }
.login-demo { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 13px; }
.login-demo p { margin: 0 0 7px; font-size: .86rem; color: var(--muted); }
.login-art { background: #173d34 url('/dispatch-map.svg') center 75% / auto 55% no-repeat; color: #fff; padding: 40px 31px; display: flex; flex-direction: column; justify-content: space-between; }
.login-art h2 { color: #fff; font-size: clamp(1.56rem,3.4vw,2.37rem); line-height: 1.3; margin: 10px 0; letter-spacing: -.035em; }
.login-art p { color: #dceee7; max-width: 31ch; }
.login-art footer { font-size: .86rem; color: #cff0de; border-top: 1px solid #5b8f7e; padding-top: 13px; }
@media (max-width: 1200px) {
  :root { --sidebar: 206px; }
  .main,.topbar { padding-left: 22px; padding-right: 22px; }
  .top-actions { gap: 11px; }
  .chart-text { font-size: 13px; }
}
@media (max-width: 945px) {
  :root { --sidebar: 188px; }
  .main,.topbar { padding-left: 15px; padding-right: 15px; }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .topbar { gap: 9px; }
  .top-actions { gap: 8px; }
  .profile { padding-left: 8px; }
  .global-search kbd, .profile-name { display: none; }
  .metric-grid { gap: 8px; }
  .metric { padding: 9px; }
  .metric-head { gap: 5px; }
  .metric-head .icon-box { width: 28px; height: 28px; }
  .metric-head .icon-box .icon { width: 15px; height: 15px; }
  .metric-head > .icon:last-child { display: none; }
  .overview-grid { gap: 9px; grid-template-columns: minmax(0,1.35fr) minmax(210px,1fr); }
}
@media (max-width: 760px) {
  .layout { display: block; }
  .sidebar { display: none; position: fixed; left: 0; top: 0; width: 231px; box-shadow: 5px 0 26px #10292122; }
  .sidebar.mobile-open { display: flex; }
  .rail-backdrop.mobile-open { display: block; position: fixed; inset: 0; z-index: 4; border: 0; background: #11312966; }
  .menu-open { display: inline-grid; }
  .topbar { height: 55px; }
  .top-left, .crumbs { gap: 4px; }
  .crumbs > span:first-child, .crumbs > .icon, .global-search { display: none; }
  .profile { gap: 4px; border: 0; padding: 0; }
  .top-actions .avatar { width: 30px; height: 30px; }
  .main { padding-top: 16px; }
  .page-heading { align-items: flex-start; margin-bottom: 13px; }
  .page-heading .actions { justify-content: flex-end; flex-shrink: 0; }
  .date-chip { display: none; }
  .hero { min-height: 168px; margin-bottom: 12px; }
  .hero-body { padding: 13px 16px; max-width: 84%; }
  .hero-art { opacity: .61; width: 64%; mask-image: linear-gradient(to right, transparent, black 28%); }
  .metric-grid { margin-bottom: 12px; }
  .metric { min-height: 103px; }
  .overview-grid { margin-bottom: 12px; }
  .login { grid-template-columns: minmax(0,1fr); max-width: 445px; margin: 14px auto; }
  .login-art { display: none; }
}
@media (max-width: 520px) {
  .page-heading { flex-wrap: wrap; }
  .page-heading .actions { justify-content: flex-start; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-grid,.store-grid { grid-template-columns: minmax(0,1fr); }
  .chart-card .card-head { flex-wrap: wrap; }
  .hero-art { width: 51%; opacity: .5; }
  .hero-body { max-width: 100%; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .footer { flex-direction: column; }
  .toolbar .push { margin-left: 0; }
  .tool-search input { width: 150px; }
  .page-heading p { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
