@charset "UTF-8";
/* ==========================================================================
   组件层：抽屉 / 弹窗 / 提示 / 下拉 / 图表 / 日历 / 时间线 / 收据
   ========================================================================== */

/* --------------------------------------------------------------- overlay */
.overlay {
  position: fixed; inset: 0; background: rgba(10, 22, 20, .42);
  backdrop-filter: blur(2px); z-index: var(--z-modal);
  animation: fadeIn .18s ease; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.overlay.right { justify-content: flex-end; padding: 0; }
.overlay.center { }

/* ---------------------------------------------------------------- drawer */
.drawer {
  width: 520px; max-width: 96vw; height: 100%; background: var(--surface);
  box-shadow: -20px 0 60px rgba(10,22,20,.22); display: flex; flex-direction: column;
  animation: slideIn .26s cubic-bezier(.32,.72,0,1);
}
.drawer.wide { width: 760px; }
@keyframes slideIn { from { transform: translateX(28px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer-hd {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.drawer-hd .h { font-size: 15.5px; font-weight: 680; }
.drawer-hd .sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.drawer-hd .x { margin-left: auto; }
.drawer-bd { flex: 1 1 auto; overflow-y: auto; padding: 20px; }
.drawer-ft {
  flex: 0 0 auto; padding: 13px 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 9px; background: var(--surface-2);
}
.drawer-ft .spacer { flex: 1 1 auto; }

/* ----------------------------------------------------------------- modal */
.modal {
  width: 560px; max-width: 100%; max-height: calc(100vh - 48px); background: var(--surface);
  border-radius: var(--r-xl); box-shadow: var(--sh-3); display: flex; flex-direction: column;
  animation: popIn .2s cubic-bezier(.2,1.1,.4,1); overflow: hidden;
}
.modal.w-lg { width: 780px; }
.modal.w-xl { width: 980px; }
.modal.w-sm { width: 420px; }
.modal-hd { padding: 18px 22px 14px; display: flex; align-items: flex-start; gap: 12px; }
.modal-hd .h { font-size: 16px; font-weight: 680; }
.modal-hd .sub { font-size: 12.5px; color: var(--text-2); margin-top: 3px; }
.modal-hd .x { margin-left: auto; }
.modal-bd { padding: 4px 22px 20px; overflow-y: auto; flex: 1 1 auto; }
.modal-ft {
  padding: 14px 22px; border-top: 1px solid var(--line); display: flex; align-items: center;
  gap: 9px; background: var(--surface-2);
}
.modal-ft .spacer { flex: 1 1 auto; }

/* ----------------------------------------------------------------- toast */
.toast-root {
  position: fixed; top: 16px; right: 16px; z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: 9px; pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px; min-width: 260px; max-width: 400px;
  padding: 11px 13px; background: #12201E; color: #E6F0EE; border-radius: var(--r);
  box-shadow: var(--sh-pop); animation: toastIn .24s cubic-bezier(.2,1.1,.4,1);
  pointer-events: auto; font-size: 13px; border-left: 3px solid var(--brand-300);
}
.toast.out { animation: toastOut .2s forwards; }
.toast.ok { border-left-color: #4CC47F; }
.toast.warn { border-left-color: #E5B14E; }
.toast.err { border-left-color: #E3685E; }
.toast .ti { flex: 0 0 auto; margin-top: 1px; }
.toast.ok .ti { color: #4CC47F; } .toast.err .ti { color: #E3685E; }
.toast.warn .ti { color: #E5B14E; } .toast .ti { color: var(--brand-300); }
.toast .tt { font-weight: 650; }
.toast .td { color: #A8BDB9; font-size: 12.5px; margin-top: 1px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(26px); } }

/* -------------------------------------------------------------- dropdown */
.dd {
  position: absolute; z-index: 90; min-width: 168px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-pop);
  padding: 5px; animation: popIn .13s ease;
}
.dd-item {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 9px;
  border-radius: var(--r-xs); font-size: 13px; color: var(--text); text-align: left; transition: background .12s;
}
.dd-item:hover { background: var(--surface-3); }
.dd-item.danger { color: var(--danger); }
.dd-item.danger:hover { background: var(--danger-50); }
.dd-item .ic { color: var(--text-3); }
.dd-item.danger .ic { color: var(--danger); }
.dd-sep { height: 1px; background: var(--line-soft); margin: 5px 2px; }
.dd-label { padding: 6px 9px 3px; font-size: 10.5px; letter-spacing: .8px; color: var(--text-3); text-transform: uppercase; font-weight: 600; }

/* --------------------------------------------------------------- tooltip */
.tip {
  position: fixed; z-index: var(--z-toast); background: #16211F; color: #EAF2F0;
  padding: 6px 9px; border-radius: var(--r-xs); font-size: 12px; pointer-events: none;
  box-shadow: var(--sh-pop); max-width: 260px; line-height: 1.5;
}
.tip b { color: #fff; }

/* ---------------------------------------------------------------- palette */
.palette-overlay { position: fixed; inset: 0; z-index: var(--z-palette); background: rgba(10,22,20,.5); backdrop-filter: blur(3px); display: flex; justify-content: center; padding-top: 12vh; animation: fadeIn .15s; }
.palette {
  width: 620px; max-width: 92vw; max-height: 62vh; background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); overflow: hidden; display: flex; flex-direction: column; animation: popIn .18s;
}
.palette-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.palette-in input { border: none; outline: none; flex: 1 1 auto; font-size: 15px; background: none; }
.palette-list { overflow-y: auto; padding: 7px; }
.palette-item {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: var(--r-sm);
  cursor: pointer; font-size: 13.5px;
}
.palette-item:hover, .palette-item.on { background: var(--brand-50); }
.palette-item .kind { font-size: 11px; color: var(--text-3); margin-left: auto; }
.palette-group { padding: 10px 10px 4px; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); font-weight: 600; }

/* ------------------------------------------------------------------ kpi */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .kpi-grid { grid-template-columns: 1fr; } }
.kpi {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 17px; box-shadow: var(--sh-1); position: relative; overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.kpi::after {
  content: ""; position: absolute; right: -26px; top: -26px; width: 96px; height: 96px;
  background-image: var(--motif-arena); background-size: 96px 96px;
  opacity: .05; pointer-events: none; border-radius: 50%;
}
.kpi.clickable { cursor: pointer; }
.kpi.clickable:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.kpi .k-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; position: relative; z-index: 1; }
.kpi .k-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 30px; }
.kpi .k-label { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.kpi .k-val {
  font-size: 27px; font-weight: 700; letter-spacing: -.6px; font-variant-numeric: tabular-nums; line-height: 1.15;
  font-family: "DIN Alternate", "Bahnschrift", "Oswald", "PingFang SC", "Microsoft YaHei", sans-serif;
  position: relative; z-index: 1;
}
.kpi .k-val .unit { font-size: 14px; font-weight: 600; color: var(--text-3); margin-left: 2px; }
.kpi .k-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.kpi .k-spark { position: absolute; right: 0; bottom: 0; opacity: .95; pointer-events: none; }
.delta {
  display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 700;
  padding: 1px 6px; border-radius: var(--r-pill);
}
.delta.up { background: var(--ok-50); color: var(--ok); }
.delta.down { background: var(--danger-50); color: var(--danger); }
.delta.flat { background: var(--surface-3); color: var(--text-3); }

/* ---------------------------------------------------------------- charts */
.chart { width: 100%; display: block; overflow: visible; }
.chart .grid-line { stroke: var(--line-soft); stroke-width: 1; }
.chart .axis-txt { font-size: 10.5px; fill: var(--text-3); }
.chart .bar { transition: opacity .15s; }
.chart .bar:hover { opacity: .82; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-2); }
.chart-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.chart-tip {
  position: fixed; z-index: var(--z-toast); background: #16211F; color: #EAF2F0; border-radius: var(--r-xs);
  padding: 7px 10px; font-size: 12px; pointer-events: none; box-shadow: var(--sh-pop); white-space: nowrap;
}
.chart-tip .t { font-weight: 650; color: #fff; margin-bottom: 3px; }
.chart-tip .r { display: flex; align-items: center; gap: 7px; }
.chart-tip .r i { width: 8px; height: 8px; border-radius: 2px; }
.chart-tip .r b { margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums; }

.donut-legend { display: flex; flex-direction: column; gap: 9px; }
.donut-legend .li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.donut-legend .li i { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 9px; }
.donut-legend .li .nm { flex: 1 1 auto; color: var(--text-2); }
.donut-legend .li .vl { font-weight: 650; font-variant-numeric: tabular-nums; }
.donut-legend .li .pc { color: var(--text-3); width: 42px; text-align: right; font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------- heat */
.heat { display: grid; gap: 3px; }
.heat-cell { aspect-ratio: 1.9; border-radius: 4px; background: var(--surface-3); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.heat-cell:hover { transform: scale(1.09); box-shadow: 0 2px 10px rgba(0,0,0,.18); z-index: 2; }
.heat-scale { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3); }
.heat-scale .ramp { display: flex; }
.heat-scale .ramp i { width: 15px; height: 9px; border-radius: 2px; }

/* -------------------------------------------------------------- progress */
.bar-track { height: 6px; background: var(--surface-3); border-radius: var(--r-pill); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-pill); transition: width .4s cubic-bezier(.4,0,.2,1); }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.bar-row .nm { width: 96px; flex: 0 0 96px; color: var(--text-2); }
.bar-row .tr { flex: 1 1 auto; }
.bar-row .vl { width: 76px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* -------------------------------------------------------------- calendar */
.cal {
  border: 1px solid var(--line); border-radius: var(--r); overflow: auto; background: var(--surface);
  display: flex; flex-direction: column; min-width: 0; max-height: 660px;
}
.cal-wrap { min-width: 980px; }
.cal-hd {
  display: grid; grid-template-columns: 104px 1fr; background: var(--surface-2);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 6;
}
.cal-hd .corner { border-right: 1px solid var(--line); padding: 8px 12px; font-size: 11.5px; color: var(--text-3); font-weight: 600; display: flex; align-items: center; }
.cal-hd .hours { display: grid; grid-template-columns: repeat(14, 1fr); }
.cal-hd .hours .h { padding: 7px 0 7px 7px; font-size: 11px; color: var(--text-3); border-left: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.cal-body { position: relative; }
.cal-row { display: grid; grid-template-columns: 104px 1fr; height: 54px; }
.cal-row + .cal-row { border-top: 1px solid var(--line-soft); }
.cal-court {
  border-right: 1px solid var(--line); padding: 8px 10px; background: var(--surface);
  position: sticky; left: 0; z-index: 3;
}
.cal-court .code { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.cal-court .mt { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.cal-slot { position: relative; background-image: linear-gradient(to right, var(--line-soft) 1px, transparent 1px); background-size: calc(100% / 14) 100%; }
.cal-slot:hover { background-color: rgba(14, 124, 123, .045); }
.cal-axis { position: absolute; left: 104px; right: 0; top: 0; bottom: 0; pointer-events: none; z-index: 5; }
.cal-grid .now-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--danger); z-index: 5; pointer-events: none; }
.cal-grid .now-line::before { content: ""; position: absolute; top: -1px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 3px rgba(204, 66, 57, .2); }
.cal-ev {
  position: absolute; border-radius: 6px; padding: 4px 7px; font-size: 11.5px; overflow: hidden;
  cursor: pointer; border-left: 3px solid; transition: box-shadow .15s, transform .12s; z-index: 2;
  top: 3px; height: 46px;
  background: var(--brand-50); color: var(--brand-700); border-color: var(--brand);
}
.cal-ev:hover { box-shadow: var(--sh-2); transform: translateY(-1px); z-index: 6; }
.cal-ev.pending { background: var(--warn-50); color: var(--warn); border-color: var(--warn); }
.cal-ev.group { background: var(--violet-50); color: var(--violet); border-color: var(--violet); }
.cal-ev.maintain { background: var(--surface-3); color: var(--text-3); border-color: var(--text-4); }
.cal-ev .t { font-weight: 650; line-height: 1.25; }
.cal-ev .s { opacity: .78; font-size: 10.5px; }
.cal-daybar { display: grid; grid-template-columns: 104px 1fr; border-bottom: 1px solid var(--line); background: var(--surface-2); position: sticky; top: 0; z-index: 5; }
.cal-daybar .d { padding: 7px 12px; font-size: 11.5px; font-weight: 600; color: var(--text-2); border-right: 1px solid var(--line); }
.cal-daybar .ds { display: grid; }
.cal-daybar .ds .cell { border-left: 1px solid var(--line-soft); text-align: center; font-size: 11px; color: var(--text-3); padding: 7px 0; }
.cal-daybar .ds .cell.today { color: var(--brand); font-weight: 700; background: var(--brand-50); }

/* -------------------------------------------------------------- timeline */
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong);
}
.tl-item.done::before { background: var(--brand); border-color: var(--brand); }
.tl-item.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.tl-item .tt { font-size: 13px; font-weight: 600; }
.tl-item .td { font-size: 12px; color: var(--text-3); margin-top: 1px; }

/* ------------------------------------------------------------- court grid */
.court-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.court-card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 13px; background: var(--surface);
  cursor: pointer; transition: all .16s; position: relative; overflow: hidden;
}
.court-card:hover { border-color: var(--brand-300); box-shadow: var(--sh-2); transform: translateY(-2px); }
.court-card .strip { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.court-card .top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.court-card .code { font-weight: 700; font-size: 15px; letter-spacing: .3px; }
.court-card .meta { font-size: 11.5px; color: var(--text-3); }
.court-card .stats { display: flex; gap: 14px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line); }
.court-card .stats div { font-size: 11px; color: var(--text-3); }
.court-card .stats b { display: block; font-size: 13.5px; color: var(--text); font-variant-numeric: tabular-nums; font-weight: 650; }
.court-card .cc-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; padding-top: 9px;
  border-top: 1px dashed var(--line);
}
.court-card .cc-stats span { display: block; font-size: 10.5px; color: var(--text-3); }
.court-card .cc-stats b { display: block; font-size: 13.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text); }
.court-card .cc-status { white-space: nowrap; }

.state-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.state-free { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-50); }
.state-busy { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.state-soon { background: var(--info); box-shadow: 0 0 0 3px var(--info-50); }
.state-idle { background: var(--text-4); }
.state-maint { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-50); }

/* ------------------------------------------------------------ key/value */
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 9px 14px; font-size: 13px; }
.kv dt { color: var(--text-3); font-size: 12.5px; }
.kv dd { margin: 0; font-weight: 550; }
.kv.wide { grid-template-columns: 120px 1fr; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.stat-strip .s { background: var(--surface); padding: 12px 14px; }
.stat-strip .s .l { font-size: 11.5px; color: var(--text-3); }
.stat-strip .s .v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.3px; margin-top: 2px; }

/* --------------------------------------------------------------- receipt */
.receipt {
  background: #FCFCFA; border: 1px solid var(--line); border-radius: var(--r); padding: 20px;
  font-family: "PingFang SC", "Microsoft YaHei", monospace; font-size: 12.5px; line-height: 1.85;
}
.receipt h4 { text-align: center; font-size: 15px; margin-bottom: 3px; font-family: inherit; }
.receipt .rc-sub { text-align: center; color: var(--text-3); font-size: 11.5px; margin-bottom: 14px; }
.receipt .rc-line { display: flex; justify-content: space-between; gap: 12px; }
.receipt .rc-line span:last-child { font-variant-numeric: tabular-nums; }
.receipt hr { border: none; border-top: 1px dashed var(--line-strong); margin: 10px 0; }
.receipt .rc-total { font-size: 16px; font-weight: 700; }

/* ------------------------------------------------------------- list rows */
.lrow {
  display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.lrow:last-child { border-bottom: none; }
.lrow .main { flex: 1 1 auto; min-width: 0; }
.lrow .t { font-size: 13.5px; font-weight: 600; }
.lrow .s { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.lrow .right { text-align: right; flex: 0 0 auto; }
.lrow.clickable { cursor: pointer; border-radius: var(--r-sm); padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.lrow.clickable:hover { background: var(--surface-2); }

/* ---------------------------------------------------------------- tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  padding: 9px 14px; font-size: 13.5px; color: var(--text-2); border-bottom: 2px solid transparent;
  margin-bottom: -1px; white-space: nowrap; transition: color .15s; font-weight: 500;
}
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--brand-700); border-bottom-color: var(--brand); font-weight: 650; }
.tabs button .cnt { font-size: 11px; color: var(--text-3); margin-left: 5px; }
.tabs button.on .cnt { color: var(--brand-300); }

/* --------------------------------------------------------- filter toolbar */
.toolbar {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 14px;
}
.toolbar .grow { flex: 1 1 auto; }
.filter-input { position: relative; }
.filter-input .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.filter-input .input { padding-left: 31px; width: 210px; }

/* ---------------------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 25px; padding: 0 9px;
  border-radius: var(--r-pill); background: var(--surface-3); color: var(--text-2);
  font-size: 12px; cursor: pointer; border: 1px solid transparent; transition: all .14s;
}
.chip:hover { background: var(--line); }
.chip.on { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); font-weight: 600; }
.chip .x { opacity: .6; }
.chip .x:hover { opacity: 1; }

/* -------------------------------------------------------------- stepper */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 20px; }
.steps .st { display: flex; align-items: center; gap: 8px; }
.steps .n {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; background: var(--surface-3); color: var(--text-3);
  border: 1px solid var(--line);
}
.steps .st.on .n { background: var(--brand); color: #fff; border-color: var(--brand); }
.steps .st.done .n { background: var(--ok-50); color: var(--ok); border-color: var(--ok-100); }
.steps .st .lb { font-size: 12.5px; color: var(--text-3); }
.steps .st.on .lb { color: var(--text); font-weight: 600; }
.steps .ln { flex: 1 1 40px; height: 1px; background: var(--line); margin: 0 12px; }

/* --------------------------------------------------------------- select */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px,1fr)); gap: 7px; }
.slot-btn {
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 7px 4px; text-align: center;
  font-size: 12.5px; font-variant-numeric: tabular-nums; background: var(--surface); transition: all .13s; position: relative;
}
.slot-btn:hover:not([disabled]) { border-color: var(--brand); background: var(--brand-50); }
.slot-btn.on { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.slot-btn[disabled] { background: var(--surface-3); color: var(--text-4); border-color: var(--line-soft); cursor: not-allowed; text-decoration: line-through; }
.slot-btn .p { display: block; font-size: 10.5px; opacity: .8; }

/* ------------------------------------------------------------- picker */
.picker-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.picker-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; border-bottom: 1px solid var(--line-soft); }
.picker-row:last-child { border-bottom: none; }
.picker-row:hover { background: var(--surface-2); }
.picker-row.on { background: var(--brand-50); }

/* ------------------------------------------------------------ misc util */
.money { font-variant-numeric: tabular-nums; font-weight: 650; }
.money::before { content: "¥"; font-size: .82em; margin-right: 1px; font-weight: 600; opacity: .75; }
.money.big { font-size: 22px; font-weight: 700; }
.money .dec { font-size: .68em; opacity: .7; }
.scroll-y { overflow-y: auto; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.gap4 { gap: 4px; } .gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; }
.mb0 { margin-bottom: 0; } .mb6 { margin-bottom: 6px; } .mb10 { margin-bottom: 10px; } .mb14 { margin-bottom: 14px; } .mb18 { margin-bottom: 18px; }
.f11 { font-size: 11px; } .f12 { font-size: 12px; } .f13 { font-size: 13px; } .f14 { font-size: 14px; } .f16 { font-size: 16px; } .f18 { font-size: 18px; } .f22 { font-size: 22px; }
.w100 { width: 100%; }
.flex1 { flex: 1 1 auto; min-width: 0; }
.flexc { display: flex; align-items: center; }
.flexc.gap8 { gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
