/* 步序 2.0 design tokens and shared components for the member site and the console. */
/* Colour rule: one hue, one meaning. Green = actions and success, blue = in progress and notices, amber = needs a look,
   red = failed, grey = neutral. Settings (每天一次 / 模拟走路) and membership (Max / Pro) never borrow a status colour. */
:root {
  --brand: #137f5c;
  --brand-strong: #0e6a4c;
  --brand-soft: #e5f4ec;
  --brand-ink: #0a4633;
  --brand-tint: #f1f8f4;
  --brand-line: #cfe6d9;
  --bg: #f2f4f1;
  --surface: #ffffff;
  --surface-2: #f7f8f6;
  --surface-3: #edf0ec;
  --border: #e1e6e0;
  --border-strong: #c9d1ca;
  --text: #0f1a15;
  --text-2: #44514a;
  --text-3: #64716a;
  /* Form controls need 3:1 against white; plain dividers stay light. */
  --border-input: #8a958f; --border-input-hover: #6f7a74; --border-hover: #b6c0b8;
  --placeholder: #8a958f; --control-off: #b4bdb7;
  --success: #137f5c; --success-soft: #e5f4ec; --success-border: #bddfcc;
  --warning: #8f5508; --warning-soft: #fdf4e3; --warning-border: #efd29c;
  --danger: #b0301d; --danger-soft: #fdecea; --danger-border: #f2c3bb;
  /* One blue for "in progress" and for notices. */
  --info: #2a62b0; --info-soft: #edf3fc; --info-border: #c9daf3;
  --pending: #2a62b0; --pending-soft: #edf3fc; --pending-border: #c9daf3;
  --neutral-soft: #eef1ef; --neutral-border: #dde2df;
  /* Dark text on each soft status background. */
  --info-ink: #1d4a8a; --warning-ink: #6d4206; --danger-ink: #8a2416; --pending-ink: #1d4a8a;
  --danger-strong: #93261a; --danger-soft-hover: #fbdcd7;
  /* Membership tier: the darkest ink, so it never reads as a result. */
  --tier: #16241d;
  /* Charts: one colour per result, the same in every chart and on both sites. */
  --chart-ok: #179b6c; --chart-partial: #86c9a8; --chart-run: #4f86d6; --chart-check: #e3a12f; --chart-fail: #d4503d;
  --chart-skip: #c3cbc6; --chart-wait: #e3e8e4; --chart-new: #4f86d6; --chart-track: #edf0ec; --chart-window: rgb(19 127 92 / .14);
  --toast-bg: #102019; --toast-success: #8ff0c2; --toast-warning: #ffc56b;
  --wechat: #07c160;
  --focus: #2f7ae5;
  /* 4-point spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  /* Buttons are pills; inputs 10, blocks inside cards 14, cards 20, dialogs 28. */
  --radius-xs: 6px; --radius-sm: 10px; --radius: 14px; --radius-lg: 20px; --radius-xl: 28px; --radius-pill: 999px;
  /* Type sizes; weights are 400 text, 600 labels and titles, 700 figures. */
  --fs-caption: 12px; --fs-small: 13px; --fs-label: 14px; --fs-body: 15px; --fs-title-3: 17px; --fs-title-2: 20px;
  --fs-title-1: 26px; --fs-metric: 30px; --fs-hero: 40px; --fs-display: 72px;
  /* Motion: quick for press and hover, medium for switches and entrances, slow for sliders, counters and charts. */
  --dur-1: 120ms; --dur-2: 220ms; --dur-3: 420ms;
  --shadow-sm: 0 1px 2px rgb(15 26 21 / .06);
  --shadow: 0 1px 3px rgb(15 26 21 / .05), 0 12px 32px -18px rgb(15 26 21 / .22);
  --shadow-lg: 0 28px 70px -20px rgb(15 26 21 / .36);
  --ring: 0 0 0 4px rgb(19 127 92 / .16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 15px/1.55 var(--font); font-feature-settings: "tnum" 1; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
.noscript { padding: 24px; }
h1 { font-size: var(--fs-title-1); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--fs-title-2); line-height: 1.35; font-weight: 650; letter-spacing: -.01em; }
h3 { font-size: var(--fs-title-3); line-height: 1.4; font-weight: 600; }
a { color: var(--brand); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--text-2); }
.subtle { color: var(--text-3); font-size: var(--fs-small); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .92em; }
.icon { flex: none; }

/* Buttons: pills; one primary per card. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--radius-pill); font-weight: 600; font-size: var(--fs-body); line-height: 1; white-space: nowrap; text-decoration: none;
  cursor: pointer; user-select: none; transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1), box-shadow var(--dur-1), transform var(--dur-1);
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { cursor: not-allowed; opacity: .55; }
.btn.is-busy { cursor: progress; opacity: .85; }
.btn.is-busy::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn.is-busy > .icon { display: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgb(14 106 76 / .3), inset 0 1px 0 rgb(255 255 255 / .14); }
.btn-primary:hover:not(:disabled) { background: var(--brand-strong); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-2); border-color: var(--border-hover); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-3); color: var(--text); }
.btn-link { background: none; color: var(--brand); padding: 0 2px; min-height: 32px; font-weight: 600; }
.btn-link:hover:not(:disabled) { color: var(--brand-strong); text-decoration: underline; }
.btn-link.btn-sm { padding: 0 2px; min-height: 30px; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: var(--danger-strong); }
.btn-danger-soft { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-border); }
.btn-danger-soft:hover:not(:disabled) { background: var(--danger-soft-hover); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: var(--fs-label); gap: 6px; }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: var(--fs-title-3); }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }

/* Fields */
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-size: var(--fs-label); font-weight: 600; color: var(--text); }
.field-optional { font-weight: 400; color: var(--text-3); }
.field-hint { font-size: var(--fs-small); color: var(--text-3); }
.field-hint.caps { color: var(--warning); }
.field-error { font-size: var(--fs-small); color: var(--danger); }
.input {
  width: 100%; min-width: 0; height: 44px; padding: 0 14px; background: var(--surface); border: 1px solid var(--border-input);
  border-radius: var(--radius-sm); font-size: var(--fs-body); transition: border-color var(--dur-1), box-shadow var(--dur-1); appearance: none;
}
.input::placeholder { color: var(--placeholder); }
.input:hover { border-color: var(--border-input-hover); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(176 48 29 / .14); }
.input:disabled { background: var(--surface-2); color: var(--text-3); }
.select { padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364716a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input-wrap { position: relative; display: grid; gap: 6px; }
.input-wrap .input { padding-right: 48px; }
.input-wrap .input::-ms-reveal, .input-wrap .input::-ms-clear { display: none; }
.input-action { position: absolute; top: 2px; right: 2px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: none; color: var(--text-3); cursor: pointer; }
.input-action:hover { color: var(--text); background: var(--surface-3); }
.input-suffix { position: relative; }
.input-suffix > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; font-size: var(--fs-label); }
/* The one-line entry: the whole pill is the field and the button sits inside it. */
.entry { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 5px; border: 1px solid var(--border-input); border-radius: var(--radius-pill); background: var(--surface); transition: border-color var(--dur-1), box-shadow var(--dur-1); }
.entry:hover { border-color: var(--border-input-hover); }
.entry:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.entry:has(.input[aria-invalid="true"]) { border-color: var(--danger); }
.entry .input { flex: 1; height: 44px; border: 0; border-radius: var(--radius-pill); padding: 0 16px; background: transparent; box-shadow: none; font-size: var(--fs-title-3); }
.entry .input:focus { box-shadow: none; }
.entry .btn { flex: none; min-height: 44px; padding: 0 26px; }

/* Surfaces */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 0; }
.card-head h2, .card-head h3 { display: flex; align-items: center; gap: 8px; }
.card-body { padding: 16px 24px 24px; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack-sm { display: grid; gap: 10px; align-content: start; }
.row { display: flex; align-items: center; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.spacer { flex: 1; }

/* Key–value list and a min–max pair */
.facts { margin: 0; display: grid; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.facts > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; }
.facts > div + div { border-top: 1px solid var(--border); }
.facts dt { color: var(--text-3); font-size: var(--fs-label); flex: none; }
.facts dd { margin: 0; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.range-sep { padding-bottom: 11px; color: var(--text-3); }

/* Results: a pill with a dot. */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); font-size: var(--fs-caption); font-weight: 600;
  white-space: nowrap; background: var(--neutral-soft); color: var(--text-2); border: 1px solid var(--neutral-border);
  transition: background-color var(--dur-3) var(--ease), color var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge[data-tone="success"] { background: var(--success-soft); color: var(--brand-strong); border-color: var(--success-border); }
.badge[data-tone="warning"] { background: var(--warning-soft); color: var(--warning); border-color: var(--warning-border); }
.badge[data-tone="danger"] { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-border); }
.badge[data-tone="info"] { background: var(--info-soft); color: var(--info); border-color: var(--info-border); }
.badge[data-tone="pending"] { background: var(--pending-soft); color: var(--pending); border-color: var(--pending-border); }
.badge[data-tone="pending"] .badge-dot { animation: breathe 1.6s ease-in-out infinite; }
/* "Next" is hollow green everywhere: this badge, the time-strip slot and the progress dots. */
.badge[data-tone="next"] { background: var(--surface); color: var(--brand); border-color: var(--brand); }
/* Settings: 每天一次 / 模拟走路 share one brand tint and are told apart by their icon; off is grey. */
.kind-tag {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px 0 7px; border-radius: 8px; font-size: var(--fs-caption); font-weight: 600;
  white-space: nowrap; background: var(--brand-tint); color: var(--brand-strong); border: 1px solid var(--brand-line);
}
.kind-tag .icon { color: var(--brand); }
.kind-tag[data-kind="off"] { padding: 0 9px; background: var(--surface-2); color: var(--text-3); border-color: var(--border); }
/* Membership tier: Max filled ink, Pro ink outline, 免费 plain grey. */
.tier {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--radius-xs); font-size: var(--fs-caption); font-weight: 700; letter-spacing: .03em;
  line-height: 1; white-space: nowrap; background: var(--surface-3); color: var(--text-2);
}
.tier[data-tier="max"] { background: var(--tier); color: #fff; }
.tier[data-tier="pro"] { background: var(--surface); color: var(--tier); box-shadow: inset 0 0 0 1.5px var(--tier); }

/* Callouts: neutral/info for to-dos, warning for "needs a look", danger only for failures. */
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--neutral-border); background: var(--surface-2); color: var(--text-2); font-size: var(--fs-label); animation: callout-in var(--dur-2) var(--ease-out); }
@keyframes callout-in { from { opacity: 0; transform: translateY(4px); } }
/* A finished task's check pops in where its spinner was. */
.callout[data-tone="success"] .callout-icon { animation: pop .45s var(--ease-out); }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.15); } }
.callout-icon { margin-top: 1px; color: var(--text-3); }
.callout-body { flex: 1; min-width: 0; display: grid; gap: 4px; overflow-wrap: anywhere; }
.callout-actions { display: flex; gap: 8px; flex-wrap: wrap; align-self: center; }
.callout[data-tone="info"] { background: var(--info-soft); border-color: var(--info-border); color: var(--info-ink); }
.callout[data-tone="info"] .callout-icon { color: var(--info); }
.callout[data-tone="success"] { background: var(--success-soft); border-color: var(--success-border); color: var(--brand-ink); }
.callout[data-tone="success"] .callout-icon { color: var(--success); }
.callout[data-tone="warning"] { background: var(--warning-soft); border-color: var(--warning-border); color: var(--warning-ink); }
.callout[data-tone="warning"] .callout-icon { color: var(--warning); }
.callout[data-tone="danger"] { background: var(--danger-soft); border-color: var(--danger-border); color: var(--danger-ink); }
.callout[data-tone="danger"] .callout-icon { color: var(--danger); }
.callout[data-tone="pending"] { background: var(--pending-soft); border-color: var(--pending-border); color: var(--pending-ink); }
.callout[data-tone="pending"] .callout-icon { color: var(--pending); }

/* Segmented control: a pill track with a white pill for the current item. */
.segmented { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-3); border-radius: var(--radius-pill); }
.segment { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; padding: 7px 16px; border-radius: var(--radius-pill); font-size: var(--fs-label); font-weight: 600; color: var(--text-2); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.segment:active { transform: scale(.97); }
.segment:hover { color: var(--text); }
.segment[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgb(15 26 21 / .12), 0 0 0 1px rgb(15 26 21 / .04); }
/* Sliding highlight (ui.slider): the host places it with --thumb-x/y/w/h; until then the current item has its own. */
.has-slider { isolation: isolate; }
.segmented.has-slider { position: relative; }
.slider-thumb { position: absolute; z-index: -1; left: 0; top: 0; width: var(--thumb-w, 0); height: var(--thumb-h, 0); transform: translate(var(--thumb-x, 0), var(--thumb-y, 0)); opacity: 0; pointer-events: none; transition: transform var(--dur-3) var(--ease-out), width var(--dur-3) var(--ease-out), height var(--dur-3) var(--ease-out); }
.slider-on > .slider-thumb { opacity: 1; }
.slider-still > .slider-thumb { transition: none; }
.segmented > .slider-thumb { border-radius: var(--radius-pill); background: var(--surface); box-shadow: 0 1px 2px rgb(15 26 21 / .12), 0 0 0 1px rgb(15 26 21 / .04); }
.segmented.slider-on > .segment[aria-pressed="true"] { background: none; box-shadow: none; }
/* One breathing dot for everything that is live or in progress */
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
/* Rows that arrive (keyed lists create only new rows, so only those play it) */
@keyframes row-in { from { opacity: 0; transform: translateY(-4px); } }
/* A page or view coming in: up 8px and fade; its cards follow one after another. */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.rise > * { animation: rise var(--dur-2) var(--ease-out) both; }
.rise > :nth-child(2) { animation-delay: 40ms; } .rise > :nth-child(3) { animation-delay: 80ms; }
.rise > :nth-child(4) { animation-delay: 120ms; } .rise > :nth-child(n + 5) { animation-delay: 160ms; }
/* Bars grow from the baseline (chart code sets --grow-delay per bar). */
@keyframes grow-y { from { transform: scaleY(0); } }
.grow { transform-box: fill-box; transform-origin: 50% 100%; animation: grow-y var(--dur-3) var(--ease-out) both; animation-delay: var(--grow-delay, 0ms); }

/* Switch (a checkbox styled as a toggle) */
.switch { position: relative; display: inline-flex; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--control-off); transition: background var(--dur-2); pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .2); transition: transform var(--dur-2) var(--ease-spring); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.switch input:disabled + span { opacity: .5; }

/* Feedback */
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 16px; color: var(--text-3); }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--surface-3); color: var(--text-3); margin-bottom: 4px; }
.empty-title { color: var(--text-2); font-weight: 600; }
.empty-body { font-size: var(--fs-small); max-width: 320px; }

.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 10px; max-width: min(92vw, 460px); padding: 12px 18px; border-radius: var(--radius);
  background: var(--toast-bg); color: #fff; font-size: var(--fs-label); box-shadow: var(--shadow-lg); animation: toast-in var(--dur-2) var(--ease-out);
}
.toast[data-tone="success"] .icon { color: var(--toast-success); }
.toast[data-tone="warning"] .icon, .toast[data-tone="danger"] .icon { color: var(--toast-warning); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* Dialog */
.dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
.dialog::backdrop { background: rgb(12 20 16 / .45); backdrop-filter: blur(2px); }
.dialog[open] { animation: dialog-in var(--dur-2) var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.dialog-body { display: grid; gap: 14px; padding: 24px; margin: 0; }
.dialog-title { font-size: var(--fs-title-2); }
.dialog-value { font-size: var(--fs-metric); font-weight: 700; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.dialog-message { display: grid; gap: 6px; color: var(--text-2); font-size: var(--fs-body); }
.dialog-extra:empty { display: none; }
.dialog-actions { display: flex; gap: 10px; margin-top: 6px; }
.dialog-actions .btn { flex: 1; }
body:has(dialog[open]) { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 720px) {
  body { font-size: var(--fs-body); }
  .input { height: 46px; font-size: var(--fs-title-3); }
  .entry .input { height: 44px; }
  .card-head { padding: 16px 16px 0; }
  .card-body { padding: 14px 16px 18px; }
  .card-pad { padding: 18px 16px; }
  .dialog { width: calc(100vw - 24px); }
  .dialog-body { padding: 20px; }
  .dialog-value { font-size: var(--fs-title-1); }
}
