:root {
  color-scheme: light;
  --paper: #f5f6f2;
  --white: #fff;
  --ink: #1c2925;
  --subtle: #52625a;
  --muted: #68776e;
  --line: #e1e7e0;
  --forest: #14583f;
  --forest-hover: #0f4733;
  --forest-light: #eaf4ec;
  --sidebar: #14372b;
  --sidebar-low: #112e24;
  --sidebar-ink: #d1dfd6;
  --amber: #855514;
  --amber-light: #fbf2df;
  --blue: #2e5d7c;
  --blue-light: #eaf2f8;
  --red: #a53a39;
  --red-light: #fceeee;
  --radius: 14px;
  --sidebar-width: 224px;
  --shadow: 0 1px 2px rgb(20 45 31 / 4%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #25865f;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 760; line-height: 1.22; letter-spacing: -.044em; }
h2 { font-size: 1.125rem; font-weight: 710; line-height: 1.35; letter-spacing: -.025em; }
h3 { font-size: .99rem; font-weight: 690; line-height: 1.4; }
small { color: var(--muted); }
img { max-width: 100%; }
svg { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.workspace { min-width: 0; }
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  padding: 26px 15px 20px;
  background: linear-gradient(165deg, var(--sidebar) 0%, var(--sidebar-low) 100%);
  color: var(--sidebar-ink);
}
.brand { display: flex; align-items: center; gap: 11px; margin: 0 5px 34px; color: #fff; text-align: left; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 41px; border-radius: 12px; color: #153f2d; background: #c9e9cf; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 28%); }
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: grid; gap: 2px; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.brand-copy > :last-child:not(:first-child) { color: #a6c2b2; font-size: .7rem; font-weight: 500; letter-spacing: .02em; }
.nav-list { display: grid; align-content: start; gap: 5px; margin: 0; padding: 0; list-style: none; }
.sidebar .eyebrow { color: #a9c5b4; padding-inline: 11px; margin-bottom: 8px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 43px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-align: left;
  background: transparent;
  color: inherit;
  font-size: .9rem;
  font-weight: 570;
  transition: background .15s ease, color .15s ease;
}
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { text-decoration: none; background: rgb(214 239 220 / 10%); color: white; }
.nav-item.active, .nav-item[aria-current="page"] { border-color: rgb(206 234 214 / 11%); background: #2a5140; color: #f4fff6; }
.sidebar :focus-visible { outline-color: #b6dfbf; }
.sidebar-foot { margin: auto 3px 0; padding: 13px 10px 0; border-top: 1px solid rgb(211 236 218 / 16%); color: #bcd0c3; font-size: .79rem; }
.sidebar-foot strong { color: #e0ede4; font-weight: 610; }
.sidebar-foot p + p { margin-top: 4px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #8bcc9c; vertical-align: .07em; }

.topbar { background: rgb(255 255 255 / 88%); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1450px; min-height: 66px; padding: 10px clamp(20px, 3.5vw, 46px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-date, .breadcrumb { color: var(--muted); font-size: .83rem; }
.topbar-avatar { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 50%; color: var(--forest); background: #e6efe6; font-size: .83rem; font-weight: 700; }
.mobile-nav { display: none; }
.main { max-width: 1450px; margin-inline: auto; padding: 29px clamp(20px, 3.5vw, 46px) 42px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 21px; }
.page-head h1 + p { margin-top: 7px; }
.page-head .breadcrumb, .page-head .eyebrow { margin-bottom: 6px; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.eyebrow { color: var(--forest); font-size: .75rem; font-weight: 680; letter-spacing: .045em; }

.btn {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; background: #f4f7f3; border-color: #cfd9d0; }
.btn.primary { border-color: var(--forest); background: var(--forest); color: #fff; box-shadow: 0 1px 2px rgb(19 64 44 / 15%); }
.btn.primary:hover { border-color: var(--forest-hover); background: var(--forest-hover); }
.btn.outline { color: var(--forest); }
.btn.subtle { border-color: transparent; background: var(--forest-light); color: var(--forest); }
.btn.subtle:hover { background: #dcf0e1; }
.btn.danger { color: var(--red); border-color: #eed2d1; background: var(--red-light); }
.btn.danger:hover { background: #f9dddd; }
.btn.icon-btn, .icon-btn { min-width: 36px; min-height: 36px; padding: 6px; }
.btn svg { width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 29px; padding: 1px 3px; border: 0; border-radius: 4px; background: transparent; color: var(--forest); font-size: .82rem; font-weight: 670; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 2px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { position: relative; display: grid; align-content: start; justify-items: start; gap: 4px; min-width: 0; min-height: 115px; padding: 15px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.stat-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--forest-light); color: var(--forest); }
.stat-card > .stat-icon { position: absolute; inset: 14px 13px auto auto; }
.stat-icon svg { width: 17px; height: 17px; }
.stat-icon.amber, .task-icon.amber { color: var(--amber); background: var(--amber-light); }
.stat-icon.blue, .task-icon.blue { color: var(--blue); background: var(--blue-light); }
.stat-icon.grey, .task-icon.grey { color: var(--subtle); background: #edf0ec; }
.stat-value { margin: 0; color: #19392d; font-size: clamp(1.5rem, 2.65vw, 2.1rem); font-weight: 760; line-height: 1.15; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--subtle); font-size: .83rem; font-weight: 620; }
.stat-card > .stat-label { padding-right: 35px; }
.stat-meta { color: var(--muted); font-size: .73rem; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(250px, 1fr); align-items: start; gap: 16px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 15px 16px; border-bottom: 1px solid #edf0ec; }
.panel-head > div { min-width: 0; }
.panel-head h2 + p, .panel-kicker { margin-top: 3px; font-size: .77rem; color: var(--muted); }
.panel-body { padding: 15px 16px; }
.panel-body > .filter-row:first-child { margin-top: 0; }
.section-title { display: flex; gap: 7px; align-items: center; }
.section-title svg { color: var(--forest); }
.search-field { min-width: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fafbf9; }
.search-field:focus-within { border-color: #87ac95; }
.search-field input { width: 100%; min-width: 0; padding: 2px 0; outline: 0; border: 0; background: transparent; color: var(--ink); font-size: .82rem; }
.search-field input:focus-visible { outline: 0; }
.search-field svg { width: 15px; height: 15px; }
.filter-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
.filter-row > .search-field { max-width: 260px; flex: 1 1 140px; }
.tabs { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.tab { display: inline-flex; align-items: center; gap: 4px; min-height: 33px; padding: 5px 9px; border: 1px solid transparent; border-radius: 7px; color: var(--subtle); background: transparent; font-size: .81rem; font-weight: 590; white-space: nowrap; }
.tab:hover { background: #f2f6f1; }
.tab.active, .tab[aria-selected="true"] { background: var(--forest-light); color: var(--forest); font-weight: 690; }

.worker-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.worker-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.worker-head { display: flex; align-items: center; gap: 10px; padding: 10px 11px; }
.worker-avatar { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: #e7f0e6; color: #356449; font-size: .95rem; font-weight: 700; }
.worker-card:nth-child(3n + 2) .worker-avatar { background: #eaf0f5; color: #3c637b; }
.worker-card:nth-child(3n + 3) .worker-avatar { background: #f2ebdc; color: #795e33; }
.worker-details { display: grid; gap: 2px; flex: 1; min-width: 0; }
.worker-details strong { font-weight: 690; }
.worker-details p, .worker-details small { font-size: .75rem; color: var(--muted); }
.worker-status { margin-left: auto; }
.worker-orders { display: grid; margin: 0; padding: 0 10px 8px; list-style: none; }
.order-row { min-width: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 6px 11px; padding: 8px 9px; border: 0; border-top: 1px solid #e8ede7; text-align: left; background: #f8faf7; color: inherit; }
.order-row:first-child { border-top: 0; border-radius: 7px 7px 0 0; }
.order-row:last-child { border-radius: 0 0 7px 7px; }
.order-row:only-child { border-radius: 7px; }
:is(a, button).order-row:hover { text-decoration: none; background: #edf4ec; }
.order-bed { color: #214e3a; font-size: .83rem; font-weight: 700; }
.order-time, .order-id { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.order-name { color: var(--subtle); font-size: .79rem; }
.order-main { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px; }
.tag, .count { display: inline-flex; align-items: center; gap: 4px; justify-content: center; flex: none; min-height: 23px; padding: 2px 7px; border-radius: 6px; color: var(--subtle); background: #edf0ec; font-size: .73rem; font-weight: 640; line-height: 1.2; white-space: nowrap; }
.tag.green { color: var(--forest); background: var(--forest-light); }
.tag.amber { color: var(--amber); background: var(--amber-light); }
.tag.blue { color: var(--blue); background: var(--blue-light); }
.tag.grey { color: var(--subtle); background: #edf0ec; }
.tag.red { color: var(--red); background: var(--red-light); }
.count { min-width: 23px; min-height: 21px; border-radius: 999px; padding-inline: 6px; color: var(--forest); background: var(--forest-light); font-variant-numeric: tabular-nums; }

.task-list, .summary-list { list-style: none; display: grid; padding: 0; margin: 0; }
.task-row { min-width: 0; width: 100%; display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; border: 0; border-bottom: 1px solid #ebefea; color: inherit; background: transparent; text-align: left; }
.task-row:first-child { padding-top: 0; }
.task-row:last-child { padding-bottom: 0; border-bottom: 0; }
:is(a, button).task-row:hover { color: var(--forest); text-decoration: none; }
.task-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: var(--forest-light); color: var(--forest); }
.task-icon svg { width: 16px; height: 16px; }
.task-content { display: grid; min-width: 0; flex: 1; gap: 2px; }
.task-row strong { font-size: .82rem; font-weight: 680; }
.task-row small, .task-row p { color: var(--muted); font-size: .74rem; }
.summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf0ec; font-size: .83rem; }
.summary-row:first-child { padding-top: 0; }
.summary-row:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-row strong, .amount { color: #1d4c36; font-weight: 700; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.empty { min-height: 65px; padding: 20px 12px; border-radius: 9px; color: var(--muted); background: #f8faf7; text-align: center; font-size: .83rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.table-wrap { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .82rem; }
.data-table :is(th, td) { padding: 9px 9px; border-bottom: 1px solid #e8ede8; vertical-align: middle; }
.data-table th { background: #f7f9f6; color: var(--subtle); font-weight: 670; white-space: nowrap; }
.data-table td { min-width: max-content; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcf9; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.detail-block { min-width: 0; padding: 11px; border-radius: 9px; background: #f6f9f5; overflow-wrap: anywhere; }
.detail-block > :last-child:not(:first-child) { margin-top: 2px; }
.timeline { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.timeline-item { position: relative; padding-left: 15px; font-size: .83rem; }
.timeline-item::before { content: ""; position: absolute; left: 2px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: #38835c; }
.timeline-item:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: calc(.55em + 7px); bottom: -8px; width: 1px; background: var(--line); }
.stack { display: grid; gap: 12px; min-width: 0; }
.inline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; align-content: start; align-items: start; gap: 5px; min-width: 0; font-size: .82rem; font-weight: 640; color: var(--subtle); }
.field :is(input:not([type="checkbox"], [type="radio"]), textarea, select) { width: 100%; min-width: 0; min-height: 39px; padding: 8px; border: 1px solid #d6dfd5; border-radius: 8px; color: var(--ink); background: var(--white); font-size: .88rem; font-weight: 450; }
.field :is(input, textarea)::placeholder { color: #78857d; }
.field textarea { min-height: 70px; resize: vertical; }
.field small { font-size: .74rem; font-weight: 500; }
.field :is(input, textarea, select):focus-visible { outline-offset: 1px; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px; }
.notice, .feedback { padding: 9px 11px; border-radius: 8px; color: #23503a; background: var(--forest-light); font-size: .8rem; }
.notice.amber, .feedback.amber { color: var(--amber); background: var(--amber-light); }
.feedback.error, .notice.error { color: var(--red); background: var(--red-light); }
.feedback:empty { display: none; }
.divider { height: 1px; border: 0; margin: 12px 0; background: var(--line); }

.dialog { inset: 0; width: min(590px, calc(100% - 28px)); max-width: none; max-height: min(88vh, 880px); max-height: min(88dvh, 880px); margin: auto; padding: 0; overflow: auto; border: 1px solid #dce3db; border-radius: 15px; color: var(--ink); background: var(--white); box-shadow: 0 22px 72px rgb(12 35 23 / 25%); }
.dialog::backdrop { background: rgb(16 37 28 / 53%); }
.dialog-head { position: sticky; top: 0; z-index: 1; padding: 13px 16px; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); background: var(--white); }
.dialog-body { padding: 14px 16px 17px; }
.dialog-foot { position: sticky; bottom: 0; z-index: 1; padding: 10px 16px; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: var(--white); }
.toast { position: fixed; z-index: 25; right: 20px; bottom: 20px; max-width: min(420px, calc(100% - 40px)); padding: 10px 14px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 10px; background: #154530; color: #fff; box-shadow: 0 6px 20px rgb(15 41 28 / 20%); font-size: .85rem; }
.toast:empty { display: none; }
.toast.error { background: #89302f; }
.upload { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 90px; padding: 12px; border: 1px dashed #a9c4ae; border-radius: 10px; background: #f3f8f3; color: var(--forest); text-align: center; font-size: .83rem; }
.upload:focus-within { outline: 2px solid #25865f; outline-offset: 2px; }
.upload input { max-width: 100%; }
.preview-box { min-width: 0; overflow: hidden; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9f6; }
.image-preview { display: block; object-fit: contain; max-width: 100%; max-height: 220px; margin-inline: auto; border-radius: 6px; }

@media (min-width: 1180px) {
  .stats-grid { gap: 16px; }
  .stat-card { padding: 16px 17px; }
  .dashboard-grid { gap: 19px; }
  .panel-head, .panel-body { padding-inline: 18px; }
}
@media (max-width: 1030px) {
  :root { --sidebar-width: 184px; }
  .sidebar { padding-inline: 11px; }
  .brand { margin-inline: 2px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); gap: 11px; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 13px 10px; }
  .stat-card > .stat-icon { inset: 10px 8px auto auto; }
  .stat-card > .stat-label { padding-right: 24px; }
  .stat-icon { width: 27px; height: 27px; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .topbar-inner { min-height: 53px; padding-inline: 16px; }
  .mobile-nav { position: fixed; z-index: 12; inset: auto 0 0; display: flex; align-items: stretch; justify-content: space-evenly; gap: 3px; padding: 4px 7px calc(4px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(255 255 255 / 97%); box-shadow: 0 -4px 16px rgb(20 39 26 / 5%); }
  .mobile-nav .nav-item, .mobile-nav > :is(a, button) { flex: 1; width: auto; min-width: 0; min-height: 49px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 2px; color: var(--subtle); font-size: .71rem; white-space: nowrap; }
  .mobile-nav .nav-item:hover, .mobile-nav .nav-item.active, .mobile-nav [aria-current="page"] { border-color: transparent; color: var(--forest); background: var(--forest-light); }
  .mobile-nav svg { width: 18px; height: 18px; }
  .main { padding: 20px 14px calc(80px + env(safe-area-inset-bottom)); }
  .page-head { flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 15px; }
  .page-actions { justify-content: flex-start; }
  .stats-grid { gap: 8px; margin-bottom: 14px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .panel-head, .panel-body { padding: 11px; }
  .toast { bottom: calc(67px + env(safe-area-inset-bottom)); right: 12px; }
  .btn { min-height: 42px; }
  .tab { min-height: 38px; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { min-height: 88px; padding: 11px; }
  .stat-meta { font-size: .7rem; }
  .topbar-date { display: none; }
  .main { padding-inline: 10px; }
  .page-actions .btn { white-space: normal; }
  .search-field { min-height: 41px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .field :is(input:not([type="checkbox"], [type="radio"]), textarea, select), .search-field input { font-size: 16px; }
  .dialog { width: calc(100% - 16px); max-height: 94dvh; }
  .dialog-head, .dialog-body, .dialog-foot { padding-inline: 11px; }
}
@media (max-width: 350px) {
  .order-row { flex-wrap: wrap; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .page-actions { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.upload-copy { display: grid; gap: 1px; }
.upload-copy span { color: var(--subtle); }
.upload-actions { justify-content: center; flex-wrap: wrap; }
.upload label { cursor: pointer; }
.upload label:focus-within { outline: 2px solid #25865f; outline-offset: 2px; }
.extra-details { border: 1px solid var(--line); padding: 9px 10px; border-radius: 9px; }
.extra-details summary { color: var(--forest); font-weight: 620; cursor: pointer; }
.extra-details[open] > .form-grid, .extra-details[open] > .detail-grid { margin-top: 10px; }
.review-input { border-color: #b37026 !important; background: #fff9eb !important; }
.preview-box pre { max-height: 180px; overflow: auto; white-space: pre-wrap; }
.ocr-status:empty { display: none; }
.proof-image { max-height: 58dvh; }
.dialog-head .icon-btn { font-size: 0; width: 38px; flex: 0 0 38px; }
.worker-no-orders { padding: 5px 8px; }

.auth-shell { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(100%, 410px); padding: clamp(23px, 6vw, 33px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 22px 64px rgb(20 55 43 / 9%); }
.auth-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; }
.auth-brand .brand-mark { width: 50px; height: 50px; flex-basis: 50px; }
.auth-brand h1 { font-size: 1.75rem; }
.auth-brand p { margin-top: 4px; }
.auth-body, .auth-form { display: grid; gap: 14px; }
.auth-form .field input { min-height: 44px; font-size: 16px; }
.auth-submit { min-height: 44px; }
.auth-body .feedback { margin: 0; }
.account-label { flex: none; font-size: .82rem; white-space: nowrap; color: var(--muted); }
.topbar-right .btn { min-height: 34px; padding: 6px 9px; font-size: .78rem; }
.demo-bar { margin-bottom: 14px; border-color: #f0dfbc; background: var(--amber-light); color: var(--amber); }
