:root {
  color-scheme: light;
  --page: #f3f5f6;
  --surface: #fff;
  --strong: #162629;
  --secondary: #4e6266;
  --accent: #075d61;
  --soft-accent: #dcefeb;
  --current: #edf7f4;
  --divider: #dde5e5;
  --chrome: #f7f9f9d9;
  --chrome-edge: #cddbdbe0;
  --chrome-shadow: #142b3020;
  --tab-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  --tab-height: 63px;
  --tab-clearance: calc(var(--tab-bottom) + var(--tab-height) + 22px);
  --hero: #183a41;
  --hero-text: #f5faf9;
  --hero-muted: #c6dcde;
  --focus: #1a69bf;
  --income: #075e54;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Bengali", "Bangla Sangam MN", "Nirmala UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #111b20;
  --surface: #1a282e;
  --strong: #f0f6f6;
  --secondary: #acbec1;
  --accent: #90ded3;
  --soft-accent: #243e41;
  --current: #21363a;
  --divider: #36474d;
  --chrome: #17272bdd;
  --chrome-edge: #486069d9;
  --chrome-shadow: #0005;
  --hero: #254249;
  --hero-text: #f5faf9;
  --hero-muted: #cee1e1;
  --focus: #9ad0ff;
  --income: #90ded3;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding: 74px 0 var(--tab-clearance); }
body { margin: 0; background: var(--page); color: var(--strong); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { scroll-margin: 8px 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button:active { transform: scale(.98); }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }
canvas[data-glyph] { display: inline-block; vertical-align: middle; width: 22px; height: 22px; }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 5; padding: 12px; background: var(--surface); color: var(--accent); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.shell {
  width: min(100%, 630px);
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) clamp(16px, 5.65vw, 32px) var(--tab-clearance);
}
.bar { position: sticky; top: max(8px, env(safe-area-inset-top, 0px)); z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 54px; }
.scroll-edge {
  position: absolute; z-index: -1; pointer-events: none; inset: -12px calc(-1 * clamp(16px, 5.65vw, 32px)) -26px;
  background: linear-gradient(to bottom, var(--page), transparent 94%); opacity: 0;
  transition: opacity 160ms ease-out;
}
[data-scrolled] .scroll-edge { opacity: 1; }
@supports ((backdrop-filter: blur(1px)) and (mask-image: linear-gradient(black, transparent))) {
  .scroll-edge {
    background: var(--chrome);
    backdrop-filter: blur(13px) saturate(1.12);
    mask-image: linear-gradient(black 18%, #000d 57%, transparent);
  }
}
.trip { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 670; min-height: 44px; min-width: 0; padding: 3px 10px 3px 3px; text-align: left; border-radius: 15px; }
#trip-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; }
.trip-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 12px; color: var(--accent); background: var(--soft-accent); }
.trip-icon canvas[data-glyph] { width: 19px; height: 19px; }
.trip-chevron { flex: 0 0 auto; color: var(--secondary); }
.trip-chevron canvas[data-glyph] { width: 16px; height: 16px; }
.header-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.icon-button, #close-sheet {
  display: grid; place-items: center; width: 44px; min-height: 44px; flex: 0 0 auto;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--secondary);
}
.trip, .icon-button, .tabbar {
  background: var(--surface);
  border: 1px solid var(--chrome-edge);
  box-shadow: 0 3px 12px var(--chrome-shadow);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .trip, .icon-button, .tabbar {
    background: var(--chrome);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
  }
}
.page-intro { margin: 16px 0 19px; }
.connection { display: flex; align-items: center; gap: 7px; padding: 7px 10px; margin-top: 6px; border-radius: 10px; color: var(--secondary); background: var(--surface); font-size: 13px; }
.connection canvas[data-glyph] { width: 17px; height: 17px; }
.date { color: var(--secondary); font-size: 14px; font-weight: 560; margin-bottom: 3px; }
h1 { font-size: clamp(37px, 11.8vw, 52px); font-weight: 760; line-height: 1.06; letter-spacing: -.056em; overflow-wrap: anywhere; }
h2 { font-size: 21px; font-weight: 735; line-height: 1.25; letter-spacing: -.027em; }
.plan { background: var(--surface); border-radius: 23px; border: 1px solid var(--divider); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; z-index: 1; top: 50px; bottom: 69px; left: 33px; width: 2px; background: var(--divider); pointer-events: none; }
.stop + .stop { border-top: 1px solid var(--divider); }
.stop-button {
  width: 100%; text-align: left; border: 0; background: transparent; border-radius: 22px;
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 14px; align-items: start; gap: 11px;
  padding: 17px 16px; min-height: 58px;
}
.stop-now .stop-button { background: var(--current); border-radius: 22px 22px 0 0; grid-template-columns: 34px minmax(0, 1fr); }
.stop-next .stop-button { border-radius: 0 0 22px 22px; }
.point { display: grid; place-items: center; position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--surface); }
.stop-next .point { background: var(--surface); box-shadow: inset 0 0 0 1px var(--divider); color: var(--secondary); }
.point canvas[data-glyph] { width: 18px; height: 18px; }
.stop-text { display: grid; min-width: 0; gap: 4px; }
.stop-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 8px; }
.stop-status { font-size: 13px; font-weight: 730; color: var(--accent); }
.stop-next .stop-status { color: var(--secondary); }
.stop-text strong { font-size: 20px; font-weight: 730; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.stop-text .meeting-countdown { color: var(--accent); background: var(--soft-accent); padding: 4px 8px; border-radius: 7px; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bangla { font: 500 14px/1.5 "Bangla Sangam MN", "Noto Sans Bengali", "Nirmala UI", "Vrinda", sans-serif; color: var(--secondary); }
.instruction { font-size: 14px; line-height: 1.4; color: var(--secondary); margin-top: 2px; }
.primary { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 8px 15px; background: var(--accent); color: var(--surface); font-weight: 690; font-size: 15px; text-decoration: none; }
.directions-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 7px; }
.directions { justify-self: start; }
.copy-address { min-height: 44px; min-width: 44px; padding: 7px 12px; border-radius: 11px; border: 1px solid var(--divider); background: var(--surface); color: var(--accent); font-size: 14px; font-weight: 680; }
.saved-address, .copy-result { color: var(--secondary); font-size: 13px; line-height: 1.35; }
.copy-result:empty { display: none; }
.meet-time { font-size: inherit; font-weight: 630; }
.primary canvas[data-glyph] { width: 18px; height: 18px; }
.countdown { color: var(--accent); font-size: 14px; font-weight: 690; }
.stop-right { align-self: center; color: var(--secondary); }
time { padding-top: 1px; font-size: 16px; font-weight: 715; font-variant-numeric: tabular-nums; color: var(--strong); }
time small { font-size: 11px; }
.stop-right canvas[data-glyph], .transaction-end canvas[data-glyph] { width: 15px; height: 15px; }
.activity, .home-secondary { margin-top: 21px; }
.section-heading { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 7px; }
.route-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; margin: 13px 0 19px; }
.route-line::before { content: ""; position: absolute; top: 5px; left: 16.666%; right: 16.666%; height: 2px; background: var(--divider); }
.route-line li { display: grid; justify-items: center; gap: 6px; position: relative; color: var(--secondary); font-size: 13px; }
.route-line li span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--secondary); background: var(--page); }
.route-line li[aria-current] { color: var(--accent); font-weight: 740; }
.route-line li[aria-current] span { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px var(--soft-accent); }
.announcement { display: grid; grid-template-columns: 34px minmax(0, 1fr) 14px; gap: 10px; align-items: center; width: 100%; text-align: left; min-height: 64px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--divider); border-radius: 17px; }
.announcement-icon, .empty-icon { display: grid; place-items: center; border-radius: 10px; width: 34px; height: 34px; color: var(--accent); background: var(--soft-accent); }
.announcement-icon canvas[data-glyph] { width: 18px; height: 18px; }
.announcement-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; color: var(--secondary); font-size: 12px; margin-bottom: 2px; }
.announcement-text { min-width: 0; }
.announcement-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.empty-state { display: grid; justify-items: start; gap: 10px; background: var(--surface); border: 1px solid var(--divider); border-radius: 19px; padding: 22px; }
.empty-state p { color: var(--secondary); line-height: 1.45; }
.balance { padding: 20px; border-radius: 24px; background: var(--hero); color: var(--hero-text); }
.balance p:first-child, .balance dt { font-size: 14px; font-weight: 560; color: var(--hero-muted); }
.money { font-variant-numeric: tabular-nums; }
.balance-number { font-size: clamp(32px, 11.5vw, 47px); line-height: 1.15; letter-spacing: -.055em; font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.balance-number.large-amount { font-size: clamp(30px, 9.8vw, 44px); }
.balance-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 19px; padding-top: 13px; border-top: 1px solid #e5f9f74d; }
.balance dd { font-size: 16px; font-weight: 670; margin-top: 3px; overflow-wrap: anywhere; }
.activity-zone { color: var(--secondary); font-size: 13px; }
.activity .section-heading { min-height: 32px; }
.transaction-group + .transaction-group { margin-top: 14px; }
.transaction-date { margin: 0 0 6px 3px; font-size: 13px; color: var(--secondary); font-weight: 650; }
.transactions { background: var(--surface); border: 1px solid var(--divider); border-radius: 20px; }
.transactions li + li { border-top: 1px solid var(--divider); }
.transaction {
  display: grid; width: 100%; align-items: center; grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px; padding: 10px 13px; text-align: left; border: 0; border-radius: 18px; min-height: 58px; background: transparent;
}
.transaction .stamp { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: var(--accent); background: var(--soft-accent); }
.stamp canvas[data-glyph] { width: 18px; height: 18px; }
.transaction strong { display: block; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.transaction small { display: block; font-size: 13px; line-height: 1.35; color: var(--secondary); margin-top: 3px; overflow-wrap: anywhere; }
.transaction-end { display: flex; align-items: center; gap: 5px; color: var(--secondary); }
.transaction-end .money { color: var(--strong); font-weight: 670; font-size: 15px; text-align: right; }
.transaction-end .positive { color: var(--income); }
.transaction--wide { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; }
.transaction--wide .stamp { grid-row: span 2; }
.transaction--wide .transaction-end { grid-column: 2; justify-content: flex-end; }
.tabbar {
  position: fixed; z-index: 2; left: 50%; bottom: var(--tab-bottom); transform: translateX(-50%);
  width: min(calc(100% - 44px), 352px); padding: 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  border-radius: 22px;
}
.tabbar button {
  display: grid; place-items: center; align-content: center; gap: 3px; min-height: 53px; min-width: 44px;
  font-size: 12px; font-weight: 680; border: 0; border-radius: 17px; background: transparent; color: var(--secondary);
}
.tabbar button[aria-current="page"], .tabbar button[aria-expanded="true"] { color: var(--accent); background: var(--soft-accent); }
#sheet {
  position: fixed; margin: auto auto 0; inset: auto 0 0; width: min(100%, 520px); max-width: 100%; max-height: 85dvh;
  border: 1px solid var(--divider); border-radius: 26px 26px 0 0; background: var(--surface); color: var(--strong);
  padding: 23px 21px max(27px, env(safe-area-inset-bottom)); overflow-y: auto;
}
#sheet[open] { animation: sheet-enter 245ms cubic-bezier(.2,.85,.28,1.07) both; }
#sheet::backdrop { background: #0d1d2966; }
@keyframes sheet-enter { from { opacity: .5; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.sheet-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.sheet-heading h2 { font-size: 24px; }
#sheet-subtitle { color: var(--secondary); margin-bottom: 4px; font-size: 14px; }
#close-sheet { background: var(--page); }
.sheet-lead { font-size: 18px; font-weight: 650; }
.sheet-note { color: var(--secondary); margin-top: 8px; }
.sheet-row { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--divider); }
.sheet-row dd { text-align: end; font-weight: 620; }
.sheet-history { margin-top: 16px; }
.sheet-action { width: 100%; margin-top: 18px; }
.address-block { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.address-block dt { font-size: 13px; color: var(--secondary); }
.address-block dd { overflow-wrap: anywhere; margin-top: 3px; }
.tour-options { display: grid; gap: 7px; }
.tour-choice { width: 100%; min-height: 48px; border: 1px solid var(--divider); border-radius: 12px; background: var(--page); text-align: left; padding: 10px 12px; overflow-wrap: anywhere; }
.tour-choice[aria-pressed="true"] { background: var(--soft-accent); color: var(--accent); font-weight: 700; }
.account-label { color: var(--secondary); margin-top: 4px; }
.notification-list li { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid var(--divider); }
.notification-list time { color: var(--secondary); font-size: 13px; font-weight: 570; }
.notification-list h3 { font-size: 16px; }
.notification-list p { font-size: 14px; color: var(--secondary); line-height: 1.45; overflow-wrap: anywhere; }
.shell--organizer { width: min(100%, 1064px); }
.organizer-grid { display: grid; gap: 24px; align-items: start; }
.group-title { margin: 0 0 11px; }
.grouped { border: 1px solid var(--divider); border-radius: 22px; background: var(--surface); }
.organizer-plan li, .organizer-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start;
  gap: 11px; padding: 16px 13px;
}
.organizer-plan li + li, .organizer-link + .organizer-link { border-top: 1px solid var(--divider); }
.organizer-plan li:first-child { background: var(--current); border-radius: 21px 21px 0 0; }
.organizer-plan strong, .organizer-link strong { font-size: 16px; font-weight: 720; }
.organizer-plan p, .organizer-link small { margin-top: 3px; color: var(--secondary); font-size: 13px; display: block; }
.organizer-plan time { white-space: nowrap; font-size: 13px; }
.organizer-grid .stamp, #deposit-success .stamp { display: grid; place-items: center; width: 34px; height: 34px; color: var(--accent); background: var(--soft-accent); border-radius: 10px; }
.organizer-link { width: 100%; min-height: 60px; align-items: center; text-align: left; background: transparent; border: 0; border-radius: 12px; }
.organizer-link:link { color: inherit; text-decoration: none; }
.organizer-link > span:last-child { color: var(--secondary); }
.organizer-link > span:last-child canvas { width: 16px; height: 16px; }
.deposit-card { padding: 20px; }
.full-plan { max-width: 780px; }
.money-grid .balance-number { overflow-wrap: anywhere; }
.money-actions { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.sidebar-member { display: none; }
#money-members li, .picker-results button, .charge-member {
  min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px; min-height: 48px;
}
#money-members li + li, .picker-results li + li, .charge-member + .charge-member { border-top: 1px solid var(--divider); }
#money-members strong, .picker-results strong { display: block; overflow-wrap: anywhere; font-size: 15px; }
#money-members small, .picker-results small, .charge-member small, .picker-trigger small { display: block; overflow-wrap: anywhere; color: var(--secondary); font-size: 13px; }
#money-members .money { flex: 0 0 auto; font-weight: 670; }
.picker-trigger { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; }
.picker-trigger > span:first-child { overflow-wrap: anywhere; min-width: 0; }
.picker-trigger > span:last-child { flex: 0 0 auto; color: var(--secondary); }
.picker-results { margin-top: 12px; max-height: 44dvh; overflow-y: auto; }
.picker-results button { width: 100%; border: 0; background: var(--surface); text-align: left; }
.picker-results button:hover { background: var(--current); }
.picker-results [aria-current="true"] { background: var(--current); }
.review-balance { background: var(--current); margin-top: 10px; border-radius: 11px; padding: 0 10px; }
.review-balance .sheet-row:last-child { border-bottom: 0; }
#receipt-details { margin: 12px 0; }
.preview-issue { padding: 10px 12px; border-radius: 9px; background: var(--current); }
#deposit-form label, .message-label { display: block; font-size: 15px; font-weight: 700; margin: 0 0 7px; }
#deposit-member, #deposit-amount, #update-message, .organizer-input { color: var(--strong); background: var(--surface); font: inherit; }
#deposit-member, #update-message, .amount-field, .organizer-input {
  border: 1px solid var(--secondary); border-radius: 11px; width: 100%; min-height: 48px; padding: 9px 11px;
}
.amount-field { display: flex; align-items: center; gap: 8px; color: var(--secondary); padding-block: 1px; }
#deposit-amount { border: 0; padding: 1px 4px; width: 100%; min-width: 0; min-height: 44px; }
#deposit-amount:focus, #deposit-amount:focus-visible { outline: 0; }
.amount-field:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
#deposit-member[aria-invalid="true"], .amount-field:has([aria-invalid="true"]) { border-color: var(--error); }
:root { --error: #982f2f; }
:root[data-theme="dark"] { --error: #ffaaa5; }
.field-error { color: var(--error); font-size: 13px; margin: 6px 0 17px; }
.field-error:empty { margin-top: 0; }
.wide-action { width: 100%; margin-top: 4px; }
.primary:disabled { cursor: default; background: var(--soft-accent); color: var(--secondary); }
.deposit-context { background: var(--current); border: 1px solid var(--divider); border-radius: 18px; padding: 15px 16px; }
.deposit-context p, .demo-note, .form-status { color: var(--secondary); font-size: 13px; line-height: 1.45; }
.deposit-context strong { display: block; margin-top: 4px; }
.deposit-context .context-note { margin-top: 8px; }
.demo-note, .form-status:not(:empty) { margin-top: 13px; }
#deposit-pending .wide-action, #deposit-success .wide-action { margin-top: 16px; }
#deposit-success h2 { margin-top: 10px; }
.receipt-amount { font-size: 32px; font-weight: 730; letter-spacing: -.04em; margin: 6px 0 3px; overflow-wrap: anywhere; }
.review-message { margin: 12px 0; font-size: 14px; color: var(--secondary); }
.review-message:empty { display: none; }
.sheet-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 8px; margin-top: 16px; }
.sheet-actions .copy-address:disabled { opacity: .66; cursor: default; }
#update-message { min-height: 92px; resize: vertical; }
.mode-options, .charge-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mode-options label, .charge-member { min-height: 44px; cursor: pointer; }
.mode-options label { display: flex; align-items: center; padding: 8px; border: 1px solid var(--divider); border-radius: 10px; }
.mode-options label:has(:checked) { background: var(--current); }
fieldset { border: 0; padding: 0; margin: 14px 0; min-width: 0; }
legend { font-weight: 700; padding: 0 0 6px; }
.charge-member { justify-content: flex-start; padding-inline: 0; }
.mobile-charge-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 10px 0; border-top: 1px solid var(--divider); color: var(--secondary); font-size: 14px; }
.mobile-charge-summary strong { color: var(--strong); }
.desktop-charge-summary { display: none; }
@media (max-width: 779px) {
  .charge-member { padding-block: 7px; }
  #charge-form fieldset { margin-bottom: 8px; }
  #charge-error:empty { display: none; }
}
.charge-member input, .mode-options input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.charge-amounts { margin-top: 12px; }
#charge-form label:not(.charge-member) { display: block; font-size: 14px; font-weight: 690; margin-bottom: 6px; }
.scheduled-list { margin-top: 12px; }
.scheduled-list li + li { margin-top: 9px; }
body:has(dialog[open]) { overflow: hidden; }
@media (min-width: 700px) and (min-height: 600px) {
  .shell { padding-top: 22px; }
  #sheet { margin: auto; inset: 0; border-radius: 26px; }
}
@media (max-width: 460px) {
  .stop-button { padding: 13px 14px; gap: 9px; }
  .timeline::before { left: 31px; top: 47px; bottom: 64px; }
  .stop-text { gap: 3px; }
}
@media (min-width: 780px) {
  .shell--organizer { width: min(100%, 1280px); display: grid; grid-template-columns: 205px minmax(0, 1fr); column-gap: 32px; padding-bottom: 65px; }
  .shell--organizer .bar { grid-column: 1 / -1; }
  .shell--organizer main { grid-row: 2; grid-column: 2; min-width: 0; }
  #organizer-nav { grid-row: 2; grid-column: 1; position: sticky; inset: 85px auto auto; align-self: start; width: auto; transform: none; grid-template-columns: 1fr; margin-top: 29px; padding: 7px; border-radius: 18px; }
  #organizer-nav button, #organizer-nav a { border-radius: 11px; display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 11px; min-height: 47px; font: inherit; font-size: 14px; font-weight: 670; text-decoration: none; color: var(--secondary); }
  #organizer-nav button[aria-current] { color: var(--accent); }
  #organizer-nav a { border-top: 1px solid var(--divider); margin-top: 5px; }
  .member-shortcut { display: none; }
  .mobile-charge-summary { display: none; }
  .desktop-charge-summary { display: block; }
  .organizer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 24px; }
  .money-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .deposit-grid { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
  .shell--organizer .page-intro { margin-block: 28px 25px; }
  .organizer-plan li, .organizer-link, .deposit-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  button:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .trip, .icon-button, .tabbar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .scroll-edge { background: linear-gradient(var(--page), transparent); backdrop-filter: none; mask-image: none; }
}
