:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #eef1f6;
  --text: #0e1525;
  --text-2: #4a5568;
  --muted: #8592a6;
  --border: #e5e9f0;
  --primary: #2f6bff;
  --primary-2: #6a4cff;
  --primary-soft: rgba(47, 107, 255, .1);
  --on-primary: #ffffff;
  --success: #12a150;
  --success-soft: rgba(18, 161, 80, .12);
  --warning: #e19100;
  --warning-soft: rgba(225, 145, 0, .14);
  --danger: #e5484d;
  --danger-soft: rgba(229, 72, 77, .12);
  --neutral: #8a94a6;
  --neutral-soft: rgba(138, 148, 166, .16);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .18);
  --hero-1: #2f6bff;
  --hero-2: #7a4dff;
  --radius: 18px;
  --radius-sm: 12px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a0e16;
  --surface: #121926;
  --surface-2: #172031;
  --surface-3: #1d283b;
  --text: #e8ecf4;
  --text-2: #b4bfd0;
  --muted: #7d8aa0;
  --border: #222e42;
  --primary: #5b8cff;
  --primary-2: #8b6bff;
  --primary-soft: rgba(91, 140, 255, .16);
  --success: #2ec27e;
  --success-soft: rgba(46, 194, 126, .16);
  --warning: #f5b23d;
  --warning-soft: rgba(245, 178, 61, .16);
  --danger: #ff6369;
  --danger-soft: rgba(255, 99, 105, .16);
  --neutral: #8792a6;
  --neutral-soft: rgba(135, 146, 166, .18);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .55);
  --hero-1: #2c5ef0;
  --hero-2: #6b3ff0;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  font-feature-settings: "cv11", "ss01";
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
.num { font-variant-numeric: tabular-nums; }
svg { display: block; }

/* ------------------------------------------------ layout */
#app { min-height: 100vh; }
.screen {
  padding: 16px 16px calc(96px + var(--safe-b));
  max-width: 640px;
  margin: 0 auto;
  animation: fade .22s ease;
}
.screen.no-tabs { padding-bottom: calc(110px + var(--safe-b)); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.topbar h1 { font-size: 24px; font-weight: 750; letter-spacing: -.02em; margin: 0; }
.topbar .sub { color: var(--muted); font-size: 13px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); color: #fff;
}
.avatar.sm { width: 32px; height: 32px; font-size: 13px; }

.section { margin-top: 22px; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 10px; }
.section-h h2 { font-size: 16px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.link { color: var(--primary); font-weight: 600; font-size: 14px; }

.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card.pad { padding: 16px; }

/* ------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 20px;
  background: linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 100%);
  box-shadow: 0 10px 30px rgba(60, 80, 255, .28);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .09);
}
.hero::before { width: 220px; height: 220px; right: -70px; top: -90px; }
.hero::after { width: 160px; height: 160px; right: 40px; bottom: -100px; }
.hero .label { opacity: .85; font-size: 13px; font-weight: 500; }
.hero .big { font-size: 32px; font-weight: 780; letter-spacing: -.03em; margin: 4px 0 2px; position: relative; z-index: 1; }
.hero .big small { font-size: 16px; font-weight: 600; opacity: .8; margin-left: 4px; }
.hero .row { display: flex; gap: 8px; margin-top: 16px; position: relative; z-index: 1; flex-wrap: wrap; }
.hero .pill {
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); border-radius: 12px;
  padding: 8px 12px; font-size: 13px; display: flex; flex-direction: column; min-width: 0; flex: 1;
}
.hero .pill b { font-size: 16px; font-weight: 700; }

/* ------------------------------------------------ segmented, chips */
.seg {
  display: flex; background: var(--surface-3); border-radius: 14px; padding: 4px; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: 1 0 auto; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--text-2); white-space: nowrap; transition: all .15s;
}
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2);
  transition: all .15s;
}
.chip .cnt { background: var(--surface-3); border-radius: 999px; padding: 0 7px; font-size: 12px; color: var(--muted); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.on .cnt { background: rgba(255, 255, 255, .2); color: inherit; }
:root[data-theme="dark"] .chip.on .cnt { background: rgba(0, 0, 0, .2); }

/* ------------------------------------------------ KPI */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { padding: 14px; }
.kpi .k { color: var(--muted); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 22px; font-weight: 750; letter-spacing: -.02em; margin-top: 4px; }
.kpi .v small { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 3px; }
.kpi .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.ic { display: grid; place-items: center; }
.ic svg { width: 15px; height: 15px; }

.alert-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.alert { padding: 12px 14px; display: flex; gap: 10px; align-items: center; text-align: left; }
.alert .t { font-size: 12px; color: var(--muted); font-weight: 600; }
.alert .v { font-weight: 750; font-size: 18px; }
.alert .ic { width: 36px; height: 36px; border-radius: 12px; flex: none; }
.alert .ic svg { width: 18px; height: 18px; }

/* ------------------------------------------------ status */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 650; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-pending { color: var(--warning); background: var(--warning-soft); }
.s-approved { color: var(--success); background: var(--success-soft); }
.s-rejected { color: var(--danger); background: var(--danger-soft); }
.s-cancelled { color: var(--neutral); background: var(--neutral-soft); }
.c-pending { color: var(--warning); } .c-approved { color: var(--success); }
.c-rejected { color: var(--danger); } .c-cancelled { color: var(--neutral); }
.bg-primary { background: var(--primary-soft); color: var(--primary); }
.bg-success { background: var(--success-soft); color: var(--success); }
.bg-warning { background: var(--warning-soft); color: var(--warning); }
.bg-danger { background: var(--danger-soft); color: var(--danger); }

/* ------------------------------------------------ request list */
.list { display: flex; flex-direction: column; gap: 10px; }
.item {
  display: flex; gap: 12px; padding: 14px; align-items: center; text-align: left; width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .12s;
}
.item:active { transform: scale(.985); }
.item .cur {
  width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center;
  font-weight: 750; font-size: 12px; letter-spacing: .02em;
}
.item .mid { flex: 1; min-width: 0; }
.item .t { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .m { color: var(--muted); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .r { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.item .amt { font-weight: 750; font-size: 15px; letter-spacing: -.01em; }
.due-warn { color: var(--danger); font-weight: 600; }

.search {
  display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 0 12px; margin: 12px 0;
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; background: none; outline: none; padding: 12px 0; min-width: 0; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .ill {
  width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 24px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.empty .ill svg { width: 34px; height: 34px; }
.empty b { color: var(--text); display: block; font-size: 16px; margin-bottom: 4px; }

/* ------------------------------------------------ detail */
.detail-head { text-align: center; padding: 22px 16px 18px; }
.detail-head .id { color: var(--muted); font-size: 13px; font-weight: 600; }
.detail-head .amt { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.detail-head .amt small { font-size: 18px; color: var(--muted); font-weight: 650; margin-left: 4px; }
.detail-head .eq { color: var(--muted); font-size: 13px; }
.detail-head .ttl { font-size: 16px; font-weight: 600; margin-top: 10px; }
.rows { padding: 4px 16px; }
.rowi { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rowi:last-child { border-bottom: 0; }
.rowi .k { color: var(--muted); font-size: 14px; flex: none; }
.rowi .v { font-weight: 600; text-align: right; word-break: break-word; }
.note { padding: 12px 14px; border-radius: 14px; font-size: 14px; margin-top: 12px; }

.timeline { padding: 6px 16px 10px; }
.tl { display: flex; gap: 12px; position: relative; padding: 10px 0; }
.tl::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: -10px; width: 2px; background: var(--border); }
.tl:last-child::before { display: none; }
.tl .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tl .dot svg { width: 15px; height: 15px; }
.tl .a { font-weight: 650; font-size: 14px; }
.tl .b { color: var(--muted); font-size: 12.5px; }
.tl .d { font-size: 13px; color: var(--text-2); margin-top: 3px; word-break: break-word; }

.file {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.file:last-child { border-bottom: 0; }
.file img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--surface-3); }
.file .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.file .n { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .n small { display: block; color: var(--muted); font-weight: 500; }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px;
  border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform .1s, opacity .15s; width: 100%;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--on-primary); box-shadow: 0 6px 18px rgba(60, 90, 255, .3); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-ghost { background: var(--surface-3); color: var(--text); }
.btn-sm { padding: 9px 12px; font-size: 13px; border-radius: 11px; width: auto; }
.actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + var(--safe-b));
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.actions .in { max-width: 640px; margin: 0 auto; display: flex; gap: 10px; }
.actions .in.col { flex-direction: column; }
.btn-row { display: flex; gap: 10px; }

/* ------------------------------------------------ form */
.form { display: flex; flex-direction: column; gap: 14px; }
.field label.l { display: flex; justify-content: space-between; font-size: 13px; font-weight: 650; color: var(--text-2); margin: 0 4px 6px; }
.field label.l span { color: var(--muted); font-weight: 500; }
.input, textarea.input, select.input {
  width: 100%; background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 13px 14px; outline: none; transition: border-color .15s, box-shadow .15s; appearance: none;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input.err { border-color: var(--danger); }
textarea.input { min-height: 84px; resize: vertical; }
.amount-wrap { position: relative; }
.amount-wrap .input { font-size: 26px; font-weight: 750; letter-spacing: -.02em; padding: 14px 80px 14px 16px; }
.amount-wrap .cc {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: var(--primary-soft); color: var(--primary); font-weight: 750; padding: 8px 12px; border-radius: 10px;
}
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opt {
  padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface);
  font-weight: 600; font-size: 14px; transition: all .15s;
}
.opt.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.err-msg { color: var(--danger); font-size: 13px; margin: 6px 4px 0; }
.upload {
  display: flex; align-items: center; gap: 10px; justify-content: center; padding: 16px; border-radius: 14px;
  border: 1.5px dashed var(--border); color: var(--primary); font-weight: 650; background: var(--surface); width: 100%;
}
.upload svg { width: 20px; height: 20px; }
.attached { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--border); }
.attached .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.toggle { position: relative; width: 50px; height: 30px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle span { position: absolute; inset: 0; background: var(--surface-3); border-radius: 999px; transition: .2s; border: 1px solid var(--border); }
.toggle span::after { content: ""; position: absolute; width: 24px; height: 24px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.toggle input:checked + span { background: var(--success); border-color: var(--success); }
.toggle input:checked + span::after { transform: translateX(20px); }

/* ------------------------------------------------ charts */
.chart-card { padding: 16px 12px 12px; }
.chart-card h3 { margin: 0 4px 12px; font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; }
.chart-card h3 small { color: var(--muted); font-weight: 600; font-size: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 4px 0; font-size: 12px; color: var(--text-2); font-weight: 600; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding: 0 4px; }
.bars .b { flex: 1; display: flex; flex-direction: column-reverse; min-width: 0; height: 100%; justify-content: flex-start; border-radius: 6px 6px 3px 3px; overflow: hidden; }
.bars .b span { display: block; width: 100%; transition: height .4s ease; }
.bars .b span:last-child { border-radius: 6px 6px 0 0; }
.bars .b.empty-b { background: var(--surface-3); border-radius: 6px; height: 4px !important; align-self: flex-end; }
.xlabels { display: flex; gap: 3px; padding: 6px 4px 0; }
.xlabels span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); min-width: 0; overflow: hidden; }
.donut-wrap { display: flex; align-items: center; gap: 18px; padding: 0 8px; }
.donut-wrap svg { width: 132px; height: 132px; flex: none; }
.donut-legend { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.donut-legend .li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.donut-legend .li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.donut-legend .li span { flex: 1; color: var(--text-2); }
.donut-legend .li b { font-weight: 700; }
.hbar { padding: 8px 4px; }
.hbar .top { display: flex; justify-content: space-between; font-size: 13.5px; gap: 10px; }
.hbar .top span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .top b { font-weight: 700; flex: none; }
.hbar .track { height: 8px; background: var(--surface-3); border-radius: 999px; margin-top: 7px; overflow: hidden; }
.hbar .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.hbar .sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.cur-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.cur-row:last-child { border-bottom: 0; }
.cur-row .code { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 750; font-size: 12px; background: var(--primary-soft); color: var(--primary); flex: none; }
.cur-row .vals { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cur-row .vals div { font-size: 12px; color: var(--muted); }
.cur-row .vals b { display: block; font-size: 13.5px; color: var(--text); }
.stack { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-3); margin: 4px 4px 0; }
.stack span { height: 100%; }

/* ------------------------------------------------ settings list */
.menu { overflow: hidden; }
.mi {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%; text-align: left;
  border-bottom: 1px solid var(--border);
}
.mi:last-child { border-bottom: 0; }
.mi .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.mi .ic svg { width: 18px; height: 18px; }
.mi .tx { flex: 1; min-width: 0; }
.mi .tx b { display: block; font-weight: 600; }
.mi .tx small { color: var(--muted); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi .chev { color: var(--muted); width: 18px; height: 18px; flex: none; }
.mi .end { color: var(--muted); font-size: 14px; flex: none; }

/* ------------------------------------------------ tabbar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(18px);
  border-top: 1px solid var(--border); padding-bottom: var(--safe-b);
}
.tabbar .in { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 64px; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 0; position: relative; }
.tab svg { width: 23px; height: 23px; }
.tab.on { color: var(--primary); }
.tab .dotc { position: absolute; top: 2px; left: 50%; margin-left: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 700; }
.fab {
  width: 54px; height: 54px; border-radius: 18px; margin: -18px auto 0; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 8px 22px rgba(60, 90, 255, .4);
}
.fab svg { width: 26px; height: 26px; }

/* ------------------------------------------------ sheet, toast */
.overlay { position: fixed; inset: 0; background: rgba(5, 10, 20, .45); z-index: 50; animation: fadeO .2s; }
@keyframes fadeO { from { opacity: 0; } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; background: var(--surface);
  border-radius: 24px 24px 0 0; padding: 10px 16px calc(18px + var(--safe-b)); max-height: 88vh; overflow-y: auto;
  animation: up .25s cubic-bezier(.2, .9, .3, 1); box-shadow: var(--shadow-lg); max-width: 640px; margin: 0 auto;
}
@keyframes up { from { transform: translateY(100%); } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--border); margin: 0 auto 14px; }
.sheet h3 { margin: 0 0 14px; font-size: 18px; font-weight: 750; }
.sheet p { color: var(--text-2); margin: 0 0 16px; }
.toast {
  position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 60; background: var(--text); color: var(--bg);
  padding: 11px 16px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg);
  animation: drop .25s ease; max-width: calc(100% - 32px); display: flex; gap: 8px; align-items: center;
}
.toast.err { background: var(--danger); color: #fff; }
@keyframes drop { from { transform: translate(-50%, -20px); opacity: 0; } }

/* ------------------------------------------------ misc */
.skel { background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 14px; }
@keyframes sk { to { background-position: -200% 0; } }
.center-screen { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.center-screen .ill { width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; margin: 0 auto 18px; }
.center-screen .ill svg { width: 40px; height: 40px; }
.center-screen h2 { margin: 0 0 8px; }
.center-screen p { color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.day-h { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 4px 8px; }
.day-h b { font-size: 15px; }
.day-h span { color: var(--muted); font-size: 13px; font-weight: 600; }
.spinner { width: 22px; height: 22px; border: 2.5px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; margin: 24px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
