:root {
  --bg: #f7f2ed;
  --surface: #fffdfb;
  --surface-soft: #f2ece6;
  --surface-strong: #e9e0d8;
  --ink: #2c2524;
  --ink-2: #665c59;
  --muted: #998d89;
  --line: #e6ddd6;
  --primary: #9c6368;
  --primary-dark: #75474d;
  --primary-soft: #f4e3e4;
  --success: #2f7658;
  --success-soft: #e1f1e8;
  --warning: #ad711f;
  --warning-soft: #fbecd5;
  --danger: #c63f3f;
  --danger-soft: #fbe5e4;
  --info: #496d8c;
  --info-soft: #e5eef5;
  --shadow: 0 8px 28px rgba(80, 57, 52, .08);
  --shadow-sm: 0 3px 12px rgba(80, 57, 52, .065);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
input, select, textarea { outline: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.numeric, .money { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.money { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 650; letter-spacing: -.025em; }
.hidden { display: none !important; }
.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; }

.app-root { min-height: 100vh; display: flex; justify-content: center; background: var(--bg); }
.app-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 60px rgba(71, 49, 44, .08);
}
.page-with-nav { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 20px); }
.page-body { padding: 14px 16px 28px; }
.page-body.compact { padding-top: 8px; }

.app-header {
  position: sticky; top: 0; z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(247, 242, 237, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 221, 214, .72);
}
.header-inner { min-height: 58px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 6px 12px; }
.header-title { text-align: center; font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.header-title small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.header-button {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; background: rgba(255,255,255,.72); color: var(--ink-2); border: 1px solid rgba(230,221,214,.78);
}
.header-button.primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.header-button.right { justify-self: end; }
.header-button.left { justify-self: start; }
.header-button .icon { width: 20px; height: 20px; }

.bottom-nav {
  position: fixed; bottom: 0; z-index: 40; width: min(100%, 480px);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding: 7px 10px env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: rgba(255, 253, 251, .96); border-top: 1px solid rgba(230,221,214,.9);
  backdrop-filter: blur(18px);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 14px; color: #817572; font-size: 11px; font-weight: 600; background: transparent;
}
.nav-item .icon { width: 22px; height: 22px; }
.nav-item.active { color: var(--primary-dark); background: var(--primary-soft); }
.nav-item.active .icon { stroke-width: 2.3; }

.section { margin-top: 16px; }
.section:first-child { margin-top: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 10px; }
.section-heading h2 { margin: 0; font-size: 17px; line-height: 1.2; }
.section-heading p, .section-heading span { margin: 0; color: var(--muted); font-size: 12px; }
.card {
  background: var(--surface); border: 1px solid rgba(230,221,214,.86); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 15px;
}
.card.tight { padding: 12px; }
.card + .card { margin-top: 10px; }
.card-title { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.muted { color: var(--muted); }
.subtle { color: var(--ink-2); font-size: 13px; }
.tiny { font-size: 11px; }
.center { text-align: center; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row.start { align-items: flex-start; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack.sm { gap: 6px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.btn {
  min-height: 46px; padding: 0 16px; border-radius: 14px; display: inline-flex; align-items: center;
  justify-content: center; gap: 7px; font-weight: 700; background: var(--surface-soft); color: var(--ink);
  border: 1px solid transparent; transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--primary-dark); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 12px; font-size: 13px; border-radius: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 26px; height: 26px; }
.icon-button { width: 38px; height: 38px; padding: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-soft); color: var(--ink-2); }

.status {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.status.pending { color: var(--primary-dark); background: var(--primary-soft); }
.status.completed { color: var(--success); background: var(--success-soft); }
.status.cancelled { color: #726a67; background: #eeeae7; }
.status.rescheduled { color: var(--warning); background: var(--warning-soft); }
.status.late, .status.noshow { color: #a3382d; background: #fde8e1; }
.status.conflict { color: var(--danger); background: var(--danger-soft); }

.badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 750; background: var(--surface-soft); color: var(--ink-2); }
.badge.vip { background: var(--primary); color: #fff; }
.badge.success { background: var(--success-soft); color: var(--success); }
.badge.warning { background: var(--warning-soft); color: var(--warning); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }

.alert {
  padding: 13px 14px; border-radius: 15px; display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid transparent; box-shadow: var(--shadow-sm);
}
.alert.danger { color: #8b2929; background: #fbe4e2; border-color: #f1c4c0; }
.alert.warning { color: #855717; background: var(--warning-soft); border-color: #efd5ad; }
.alert.info { color: #355a78; background: var(--info-soft); border-color: #cddde9; }
.alert.success { color: #245f45; background: var(--success-soft); border-color: #c6e3d3; }
.alert .icon { width: 21px; height: 21px; margin-top: 1px; }
.alert strong { display: block; font-size: 14px; }
.alert p { margin: 2px 0 0; font-size: 12px; line-height: 1.45; }

.progress-card { padding: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.progress-top strong { font-size: 19px; }
.progress-track { height: 9px; background: var(--surface-strong); border-radius: 999px; overflow: hidden; margin-top: 11px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--success), #6ba184); border-radius: inherit; }
.progress-meta { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.date-nav { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 6px; }
.date-display { text-align: center; }
.date-display strong { display: block; font-size: 19px; }
.date-display span { color: var(--muted); font-size: 12px; }
.segmented { display: inline-flex; padding: 3px; gap: 3px; border-radius: 12px; background: var(--surface-soft); }
.segmented button { min-height: 32px; padding: 0 12px; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.segmented button.active { color: var(--primary-dark); background: #fff; box-shadow: 0 2px 8px rgba(74,52,48,.08); }
.quick-row { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 0 11px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 12px; font-weight: 650;
}
.chip.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.chip.soft { background: var(--surface-soft); border-color: transparent; }

.timeline { position: relative; }
.hour-strip { display: flex; gap: 7px; overflow-x: auto; padding: 8px 2px 10px; scrollbar-width: none; }
.hour-strip::-webkit-scrollbar { display: none; }
.hour-pill { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: 11px; }
.timeline-entry { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; }
.timeline-time { padding-top: 13px; text-align: right; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.timeline-time span { display: block; color: var(--muted); font-size: 10px; }
.timeline-line { position: relative; padding-bottom: 12px; }
.timeline-line:before { content: ""; position: absolute; left: -16px; top: 20px; bottom: -12px; width: 1px; background: var(--line); }
.timeline-line:after { content: ""; position: absolute; left: -20px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg); }
.appointment-card {
  width: 100%; text-align: left; padding: 14px; border-radius: 17px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 9px;
}
.appointment-card:hover { border-color: #d8c8c5; }
.appointment-card.conflict { background: #fff7f5; border-color: #efaaa5; border-left: 4px solid var(--danger); }
.appointment-card.compact { padding: 12px; }
.appointment-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.appointment-name { display: flex; align-items: center; gap: 6px; font-weight: 750; }
.appointment-service { font-size: 13px; color: var(--ink-2); }
.appointment-meta { display: flex; flex-wrap: wrap; gap: 7px 10px; font-size: 11px; color: var(--muted); }
.appointment-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: linear-gradient(135deg, #f2dedc, #e8ece7); display: flex; align-items: center; justify-content: center; color: var(--primary); flex: none; }
.thumb.placeholder { border: 1px solid var(--line); }
.thumb-grid { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }

.form-card { padding: 15px; }
.form-section + .form-section { margin-top: 12px; }
.form-section-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; font-weight: 750; }
.form-section-title .icon { width: 19px; height: 19px; color: var(--primary); }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 11px; }
.field:first-child { margin-top: 0; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.field .hint { margin: 0; color: var(--muted); font-size: 11px; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 13px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 92px; padding-top: 11px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(156,99,104,.12); }
.input[readonly] { background: var(--surface-soft); color: var(--ink-2); }
.input.error, .select.error, .textarea.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(198,63,63,.1); }
.field-error { color: var(--danger); font-size: 11px; }
.amount-input { display: grid; grid-template-columns: 28px 1fr; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden; }
.amount-input span { text-align: right; color: var(--muted); }
.amount-input input { min-height: 46px; border: 0; padding-left: 6px; }
.search-wrap { position: relative; }
.search-wrap .icon { position: absolute; left: 12px; top: 13px; width: 18px; color: var(--muted); }
.search-wrap input { padding-left: 39px; }
.suggestions { margin-top: 8px; border: 1px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden; }
.suggestion { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.suggestion:last-child { border-bottom: 0; }
.suggestion:hover { background: var(--surface-soft); }

.upload-box { border: 1px dashed #d5c4bf; border-radius: 16px; min-height: 150px; background: #faf7f4; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.upload-box img { width: 100%; height: 190px; object-fit: cover; }
.upload-empty { text-align: center; color: var(--muted); padding: 22px; }
.upload-actions { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 7px; }
.upload-actions button { background: rgba(44,37,36,.72); color: #fff; }
.file-input { display: none; }

.detail-hero { padding: 15px; }
.detail-hero .identity { display: flex; gap: 12px; align-items: center; }
.avatar { width: 50px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary-dark); font-size: 18px; font-weight: 800; flex: none; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.detail-item { padding: 11px; background: var(--surface-soft); border-radius: 13px; }
.detail-item span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.detail-item strong { font-size: 13px; }
.sticky-actions { position: fixed; bottom: 0; z-index: 45; width: min(100%, 480px); padding: 10px 14px calc(10px + env(safe-area-inset-bottom,0px)); display: flex; gap: 9px; background: rgba(255,253,251,.96); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
.sticky-actions .btn { flex: 1; }
.page-with-sticky { padding-bottom: 94px; }

.stat-card { padding: 13px; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat-card .label { font-size: 11px; color: var(--muted); }
.stat-card .value { margin-top: 4px; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-card.primary { background: var(--primary-soft); border-color: #ecc9cc; color: var(--primary-dark); }
.stat-card.success { background: var(--success-soft); border-color: #c6e3d3; color: var(--success); }

.income-hero { padding: 17px; background: linear-gradient(145deg, #fffdfb, #f5e9e4); border: 1px solid #e9d9d4; border-radius: 21px; box-shadow: var(--shadow); }
.income-hero .label { color: var(--ink-2); font-size: 12px; }
.income-hero .total { margin-top: 6px; font-size: 34px; line-height: 1.1; }
.income-breakdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 14px; }
.breakdown-card { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.74); }
.breakdown-card .name { font-size: 11px; color: var(--muted); }
.breakdown-card .value { margin-top: 4px; font-size: 18px; font-weight: 800; }
.ledger-item { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger-item:last-child { border-bottom: 0; }
.ledger-icon { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--surface-soft); color: var(--primary); }
.ledger-icon.recharge { background: var(--success-soft); color: var(--success); }
.ledger-icon.deposit { background: var(--warning-soft); color: var(--warning); }
.ledger-item .title { font-weight: 700; font-size: 13px; }
.ledger-item .meta { color: var(--muted); font-size: 11px; margin-top: 2px; }
.ledger-item .amount { font-size: 15px; font-weight: 800; white-space: nowrap; }

.bar-chart { height: 180px; display: flex; align-items: end; gap: 5px; padding-top: 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.bar-group { min-width: 14px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; flex: 1; }
.bar-pair { flex: 1; width: 100%; display: flex; align-items: end; justify-content: center; gap: 2px; }
.bar { width: 6px; min-height: 2px; border-radius: 4px 4px 1px 1px; background: var(--primary); }
.bar.recharge { background: #dcaa9d; }
.bar-label { font-size: 9px; color: var(--muted); }

.empty-state { text-align: center; padding: 46px 22px; }
.empty-state .empty-icon { width: 58px; height: 58px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-soft); color: var(--primary); margin-bottom: 12px; }
.empty-state h3 { margin: 0; font-size: 16px; }
.empty-state p { margin: 6px 0 16px; color: var(--muted); font-size: 13px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(44,37,36,.42); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; padding-top: 30px; }
.modal-sheet { width: min(100%, 480px); max-height: 88vh; overflow: auto; border-radius: 24px 24px 0 0; background: var(--surface); padding: 18px 16px calc(18px + env(safe-area-inset-bottom,0px)); box-shadow: 0 -20px 60px rgba(44,37,36,.18); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-head h2 { margin: 0; font-size: 19px; }
.modal-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.modal-actions { display: flex; gap: 9px; margin-top: 18px; }
.modal-actions .btn { flex: 1; }
.modal-list { display: flex; flex-direction: column; gap: 8px; }
.modal-list-item { padding: 11px 12px; border-radius: 13px; background: var(--surface-soft); }
.confirm-summary { padding: 13px; border-radius: 14px; background: var(--surface-soft); display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }

.toast-root { position: fixed; z-index: 120; top: calc(14px + env(safe-area-inset-top,0px)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 420px); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { padding: 12px 14px; border-radius: 14px; background: rgba(44,37,36,.94); color: #fff; box-shadow: 0 10px 30px rgba(44,37,36,.22); font-size: 13px; font-weight: 650; display: flex; gap: 9px; align-items: center; animation: toast-in .22s ease-out; }
.toast.success { background: rgba(47,118,88,.96); }
.toast.error { background: rgba(198,63,63,.96); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.week-list { display: flex; flex-direction: column; gap: 9px; }
.week-day { width: 100%; text-align: left; display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 13px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.week-day.today { border-color: #d7a6a9; background: #fff9f8; }
.week-date-box { text-align: center; padding: 7px 5px; border-radius: 12px; background: var(--surface-soft); }
.week-date-box.today { background: var(--primary); color: #fff; }
.week-date-box strong { display: block; font-size: 17px; }
.week-date-box span { display: block; font-size: 10px; }
.week-day .info strong { display: block; font-size: 14px; }
.week-day .info span { color: var(--muted); font-size: 11px; }

.tabs-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tabs-row::-webkit-scrollbar { display: none; }

.settings-list { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.settings-item { width: 100%; text-align: left; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: transparent; }
.settings-item:last-child { border-bottom: 0; }
.settings-item .left { display: flex; align-items: center; gap: 10px; }

.payment-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.payment-option { min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: 13px; }
.payment-option.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.payment-detail { margin-top: 10px; padding: 13px; border-radius: 14px; background: var(--surface-soft); }

.inline-link { color: var(--primary-dark); font-weight: 700; }
.mono-line { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.flex { display: flex; }
.flex-1 { flex: 1; min-width: 0; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.mt-6 { margin-top: 6px; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }

@media (min-width: 700px) {
  body { padding: 22px 0; }
  .app-shell { min-height: calc(100vh - 44px); border-radius: 30px; overflow: hidden; }
  .app-header { border-radius: 30px 30px 0 0; }
  .bottom-nav { border-radius: 0 0 30px 30px; }
  .sticky-actions { border-radius: 0 0 30px 30px; }
  .modal-backdrop { align-items: center; }
  .modal-sheet { border-radius: 24px; max-height: 84vh; }
}
