:root {
  --bg: var(--tg-theme-secondary-bg-color, #eef2f3);
  --surface: var(--tg-theme-bg-color, #ffffff);
  --surface-2: #f7f9f9;
  --text: var(--tg-theme-text-color, #172326);
  --muted: var(--tg-theme-hint-color, #66777c);
  --line: rgba(23, 35, 38, 0.11);
  --primary: #087f78;
  --primary-strong: #066b65;
  --primary-soft: #e5f5f2;
  --ai: #db631c;
  --ai-soft: #fff0e6;
  --danger: #c73c3c;
  --danger-soft: #fff0f0;
  --success: #18794e;
  --success-soft: #e7f5ed;
  --telegram: var(--tg-theme-button-color, #2aabee);
  --on-telegram: var(--tg-theme-button-text-color, #ffffff);
  --shadow-sheet: 0 -18px 60px rgba(14, 23, 25, 0.2);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --space-row: 14px;
  --space-section: 28px;
  --font-scale: 1;
}

:root[data-theme="dark"] {
  --bg: #101719;
  --surface: #182124;
  --surface-2: #202b2e;
  --text: #f0f5f4;
  --muted: #9aabad;
  --line: rgba(238, 247, 246, 0.12);
  --primary: #49c8bc;
  --primary-strong: #74d8cf;
  --primary-soft: #173b38;
  --ai: #ff985c;
  --ai-soft: #3c291f;
  --danger: #ff8989;
  --danger-soft: #3c2525;
  --success: #67d49d;
  --success-soft: #1d392b;
  --shadow-sheet: 0 -18px 60px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--tg-theme-secondary-bg-color, #101719);
    --surface: var(--tg-theme-bg-color, #182124);
    --surface-2: #202b2e;
    --text: var(--tg-theme-text-color, #f0f5f4);
    --muted: var(--tg-theme-hint-color, #9aabad);
    --line: rgba(238, 247, 246, 0.12);
    --primary: #49c8bc;
    --primary-strong: #74d8cf;
    --primary-soft: #173b38;
    --ai: #ff985c;
    --ai-soft: #3c291f;
    --danger: #ff8989;
    --danger-soft: #3c2525;
    --success: #67d49d;
    --success-soft: #1d392b;
  }
}

:root[data-mode="calm"] { --space-row: 18px; --space-section: 36px; --font-scale: 1.02; }
:root[data-mode="terminal"] { --space-row: 10px; --space-section: 22px; --font-scale: .96; }

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: "Plus Jakarta Sans", sans-serif; font-size: calc(16px * var(--font-scale)); -webkit-font-smoothing: antialiased; }
body { margin: 0; min-width: 320px; background: var(--bg); overscroll-behavior: contain; }
button, select, textarea { font: inherit; }
button, select { touch-action: manipulation; }
button { border: 0; color: inherit; }
button:focus-visible, select:focus-visible, textarea:focus-visible, [role="button"]:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; }
button:disabled { opacity: .36; pointer-events: none; }
p, h1, h2 { text-wrap: pretty; }

.app-shell { width: min(100%, 480px); min-height: 100dvh; margin: 0 auto; background: var(--surface); padding-bottom: calc(88px + env(safe-area-inset-bottom)); position: relative; }
.demo-strip { min-height: 32px; display: flex; align-items: center; gap: 6px; padding: calc(7px + env(safe-area-inset-top)) 16px 7px; background: var(--ai-soft); color: var(--ai); font-size: .69rem; letter-spacing: .01em; }
.demo-strip .snapshot { margin-left: auto; color: var(--muted); white-space: nowrap; }
.brand-mark { font-size: .9rem; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 12px; position: sticky; top: 0; z-index: 4; background: color-mix(in srgb, var(--surface) 93%, transparent); backdrop-filter: blur(16px); }
.topbar h1 { margin: 2px 0 0; font-size: 1.78rem; line-height: 1.05; letter-spacing: -.045em; }
.eyebrow { margin: 0; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-size: .76rem; font-weight: 800; cursor: pointer; }
.content { padding: 10px 16px 24px; }
.content section + section { margin-top: var(--space-section); }

.decision-card { border-radius: var(--radius-l); padding: 20px; background: var(--ai-soft); color: var(--text); cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.decision-card:active { transform: scale(.985); }
.decision-top, .section-head, .task-meta, .task-foot, .review-card-top, .sheet-head { display: flex; align-items: center; }
.decision-top { justify-content: space-between; }
.ai-label { color: var(--ai); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.time-chip { color: var(--muted); font-size: .75rem; font-weight: 700; }
.urgent-chip { padding: 5px 8px; border-radius: 999px; background: var(--ai); color: white; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.decision-card h2 { max-width: 330px; margin: 30px 0 10px; font-size: 1.72rem; line-height: 1.04; letter-spacing: -.04em; }
.decision-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.48; }
.unlock-line { display: grid; gap: 3px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 52%, transparent); }
.unlock-line span { color: var(--muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.unlock-line strong { font-size: .76rem; line-height: 1.4; }
.decision-action { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 15px; border-top: 1px solid color-mix(in srgb, var(--ai) 20%, transparent); color: var(--ai); font-size: .86rem; font-weight: 800; }

.section-head { justify-content: space-between; margin-bottom: 10px; }
.section-head h2 { margin: 2px 0 0; font-size: 1.16rem; letter-spacing: -.025em; }
.text-button { min-height: 44px; padding: 0 8px; background: transparent; color: var(--primary); font-size: .83rem; font-weight: 800; cursor: pointer; }
.review-stack { border-top: 1px solid var(--line); }
.review-row { width: 100%; min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.review-id { color: var(--ai); font-size: .69rem; font-weight: 800; letter-spacing: .04em; }
.review-row strong { display: block; font-size: .88rem; line-height: 1.28; }
.review-row small { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }
.review-row .icon { color: var(--muted); }

.task-list { border-top: 1px solid var(--line); }
.task-row { width: 100%; min-height: 92px; display: grid; grid-template-columns: 32px 1fr 20px; align-items: center; gap: 8px; padding: var(--space-row) 2px; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.task-row:active { background: var(--surface-2); }
.task-row.is-compact { min-height: 82px; }
.rank { align-self: start; padding-top: 2px; color: var(--muted); font-size: .7rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.task-main { min-width: 0; }
.task-meta { gap: 7px; color: var(--muted); font-size: .68rem; }
.task-meta strong { color: var(--primary); letter-spacing: .025em; }
.task-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-title { display: block; margin: 5px 0 8px; font-size: .9rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }
.task-foot { gap: 6px; color: var(--muted); font-size: .69rem; }
.person-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.person-слава { background: #3776c4; }
.person-женя { background: #a255a2; }
.person-тимур { background: var(--ai); }
.status-pill { display: inline-flex; min-height: 24px; align-items: center; margin-left: auto; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .61rem; font-weight: 800; white-space: nowrap; }
.status-pill.review { background: var(--ai-soft); color: var(--ai); }
.status-pill.active { background: var(--primary-soft); color: var(--primary-strong); }
.status-pill.done { background: var(--success-soft); color: var(--success); }
.row-arrow { color: var(--muted); }

.list-page { padding-top: 2px; }
.filters { position: sticky; top: 77px; z-index: 3; margin: 0 -16px 8px; padding: 8px 16px 12px; background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 9px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .75rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.chip.is-active { background: var(--text); color: var(--surface); }
.select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.select-row label { min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--muted); }
.select-row select { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: .72rem; }

.ai-summary { display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: end; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.ai-summary > div { display: grid; }
.ai-summary strong { font-size: 3.9rem; line-height: .9; letter-spacing: -.08em; color: var(--ai); }
.ai-summary small, .ai-kicker { color: var(--muted); font-size: .68rem; font-weight: 700; }
.ai-kicker { margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ai-summary p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.47; }
.bottleneck-banner { margin: 12px 0 0; padding: 14px 16px; border-left: 4px solid var(--ai); border-radius: 4px var(--radius-m) var(--radius-m) 4px; background: var(--surface-2); }
.bottleneck-banner span { color: var(--ai); font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.bottleneck-banner strong { display: block; margin-top: 5px; font-size: .86rem; }
.bottleneck-banner p { margin: 5px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.42; }
.ai-legend { display: flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--muted); font-size: .62rem; }
.ai-legend span:last-child { margin-left: auto; }
.ai-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; }
.legend-up { background: var(--primary); }
.legend-hold { background: var(--line); }
.priority-list { border-top: 1px solid var(--line); }
.priority-item { display: grid; grid-template-columns: 28px 1fr 44px; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.priority-item.is-top .priority-rank { background: var(--ai); color: white; }
.priority-rank { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: .7rem; font-weight: 800; }
.priority-body { min-width: 0; }
.movement { margin-left: auto; color: var(--muted); }
.movement.up { color: var(--primary); }
.movement.down { color: var(--ai); }
.priority-title { width: 100%; margin: 5px 0 6px; padding: 0; background: transparent; text-align: left; font-size: .85rem; line-height: 1.3; font-weight: 750; cursor: pointer; }
.priority-body p { margin: 0; color: var(--muted); font-size: .69rem; line-height: 1.42; }
.why-button { min-height: 36px; margin: 8px 0 0; padding: 0; background: transparent; color: var(--primary); font-size: .69rem; font-weight: 800; cursor: pointer; }
.question-status { display: inline-flex; margin-left: 8px; color: var(--ai); font-size: .62rem; font-weight: 800; }
.move-controls { display: grid; align-content: center; gap: 4px; }
.move-controls button { width: 44px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.sticky-apply { position: sticky; bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px -4px 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-m); background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 8px 28px rgba(0, 0, 0, .09); backdrop-filter: blur(16px); }
.sticky-apply div { display: grid; }
.sticky-apply strong { font-size: .8rem; }
.sticky-apply span { color: var(--muted); font-size: .62rem; }

.primary-button, .secondary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; padding: 0 16px; font-size: .78rem; font-weight: 800; cursor: pointer; transition: opacity 160ms ease, transform 160ms ease; }
.primary-button { background: var(--primary); color: white; }
.primary-button:active, .secondary-button:active { transform: scale(.975); }
.secondary-button { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.secondary-button.is-active { border-color: var(--primary); color: var(--primary-strong); background: var(--primary-soft); }

.review-hero { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 12px 0 22px; border-bottom: 1px solid var(--line); }
.review-hero strong { grid-row: 1 / 3; font-size: 3.8rem; line-height: .9; letter-spacing: -.08em; color: var(--ai); }
.review-hero span { align-self: end; font-weight: 800; }
.review-hero small { align-self: start; color: var(--muted); }
.review-cards { display: grid; gap: 18px; padding-top: 18px; }
.review-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.review-card-top { justify-content: space-between; color: var(--muted); font-size: .7rem; }
.review-card > button { width: 100%; padding: 16px 0; background: transparent; text-align: left; cursor: pointer; }
.review-card h2 { margin: 6px 0 8px; font-size: 1.08rem; line-height: 1.22; letter-spacing: -.03em; }
.review-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.review-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; }

.settings-page section { padding: 18px 0 24px; border-bottom: 1px solid var(--line); }
.settings-page h2 { margin: 4px 0 14px; font-size: 1.12rem; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mode-card { min-height: 86px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); text-align: left; cursor: pointer; }
.mode-card strong { font-size: .76rem; }
.mode-card span { color: var(--muted); font-size: .64rem; line-height: 1.3; }
.mode-card.is-active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 13px; background: var(--surface-2); }
.segmented button { min-height: 42px; border-radius: 10px; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 750; cursor: pointer; }
.segmented button.is-active { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.state-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.helper { color: var(--muted); font-size: .7rem; line-height: 1.4; }
.about { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; border: 0 !important; }
.about-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ai-soft); font-size: 1.5rem; }
.about p { margin: 4px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }

.bottom-nav { position: fixed; z-index: 10; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(18px); }
.nav-item { min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; }
.nav-item span { font-size: .58rem; font-weight: 700; white-space: nowrap; }
.nav-item.is-active { color: var(--primary-strong); background: var(--primary-soft); }

.sheet-backdrop { position: fixed; z-index: 30; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(8, 14, 15, .52); animation: fadeIn 180ms ease; }
.task-sheet, .confirm-sheet { width: min(100%, 480px); max-height: calc(92dvh - env(safe-area-inset-top)); position: relative; border-radius: 24px 24px 0 0; background: var(--surface); box-shadow: var(--shadow-sheet); animation: sheetIn 240ms cubic-bezier(.2,.8,.2,1); }
.confirm-sheet { padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet-handle { width: 38px; height: 4px; margin: 8px auto 10px; border-radius: 99px; background: var(--line); }
.sheet-head { justify-content: space-between; padding: 0 16px 6px; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); cursor: pointer; }
.task-sheet-scroll { max-height: calc(92dvh - 148px); overflow-y: auto; padding: 12px 20px 28px; }
.task-sheet h2 { margin: 8px 0 12px; font-size: 1.52rem; line-height: 1.12; letter-spacing: -.045em; }
.task-result { margin: 0 0 20px; color: var(--muted); line-height: 1.48; font-size: .84rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border-radius: var(--radius-m); background: var(--surface-2); }
.detail-grid div { display: grid; gap: 2px; }
.detail-grid span, .detail-section > span, .return-field > span { color: var(--muted); font-size: .65rem; font-weight: 700; }
.detail-grid strong { font-size: .78rem; }
.progress-track { height: 5px; margin: 12px 2px 20px; overflow: hidden; border-radius: 99px; background: var(--surface-2); }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.detail-section { padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail-section p { margin: 5px 0 0; font-size: .78rem; line-height: 1.48; }
.detail-section.has-blocker p { color: var(--danger); }
.materials-button { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 0; background: transparent; text-align: left; font-size: .78rem; font-weight: 750; cursor: pointer; }
.materials-button span { margin-left: auto; color: var(--muted); }
.return-field { display: grid; gap: 7px; margin-top: 14px; }
.return-field-first { margin: 4px 0 16px; }
.return-field textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface-2); color: var(--text); line-height: 1.45; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: 18px; }
.sheet-actions.fixed { margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.confirm-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--ai-soft); color: var(--ai); }
.confirm-sheet h2 { margin: 18px 0 8px; font-size: 1.35rem; }
.confirm-sheet p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.48; }
.analysis-card { margin-top: 18px; padding: 16px; border-radius: var(--radius-m); background: var(--ai-soft); }
.analysis-card ul { margin: 12px 0; padding-left: 18px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.analysis-card strong { display: block; font-size: .8rem; line-height: 1.45; }
.owner-decision, .resolved-decision { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.owner-decision > span, .resolved-decision > span { color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.owner-decision p, .resolved-decision p { margin: 7px 0 13px; font-size: .8rem; line-height: 1.45; }
.owner-decision .primary-button { width: 100%; }
.question-send { width: 100%; margin-top: 10px; }
.question-helper { margin: 8px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.42; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 32px), 420px); padding: 13px 16px; border-radius: 13px; background: var(--text); color: var(--surface); font-size: .75rem; font-weight: 700; box-shadow: 0 12px 36px rgba(0, 0, 0, .25); animation: toastIn 220ms ease; }
.state-box { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.state-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 1.3rem; font-weight: 800; }
.state-box strong { color: var(--text); }
.state-box p { max-width: 250px; margin: 6px 0 16px; font-size: .75rem; line-height: 1.45; }
.error-box .state-symbol { background: var(--danger-soft); color: var(--danger); }
.skeleton-list { padding-top: 12px; }
.skeleton-row { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.skeleton-row i, .skeleton-row b { display: block; border-radius: 8px; background: var(--surface-2); animation: pulse 1.1s ease-in-out infinite alternate; }
.skeleton-row i { width: 28px; height: 28px; }
.skeleton-row span { display: grid; gap: 7px; }
.skeleton-row b:nth-child(1) { width: 32%; height: 8px; }
.skeleton-row b:nth-child(2) { width: 88%; height: 15px; }
.skeleton-row b:nth-child(3) { width: 54%; height: 8px; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetIn { from { transform: translateY(24px); opacity: 0; } }
@keyframes toastIn { from { transform: translate(-50%, 8px); opacity: 0; } }
@keyframes pulse { to { opacity: .45; } }

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 80px rgba(11, 22, 24, .14); }
  .bottom-nav { bottom: 24px; border-radius: 0 0 28px 28px; }
  .sheet-backdrop { align-items: center; }
  .task-sheet, .confirm-sheet { border-radius: 24px; max-height: min(86dvh, 760px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
