:root {
  --paper: #eceef0;
  --ink: #18191b;
  --muted: #73767b;
  --faint: #e8eaed;
  --soft: #f4f5f7;
  --night: #18191b;
  --font: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Production WebView shell: the review phone frame stays available at /web/,
   while /web/?mode=app renders only the actual product surface. */
html.app-mode,
html.app-mode body {
  min-width: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
}
html.app-mode .prototype-shell {
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  padding: 0;
}
html.app-mode .prototype-topline,
html.app-mode .prototype-notes,
html.app-mode .phone-statusbar {
  display: none;
}
html.app-mode .phone {
  width: 100%;
  height: 100svh;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
html.app-mode .phone:not(.subpage):not(.fullview):not(.admin-view) .screen {
  height: calc(100% - 72px - env(safe-area-inset-bottom));
}
html.app-mode .phone.subpage .screen,
html.app-mode .phone.fullview .screen,
html.app-mode .phone.admin-view .screen {
  height: 100%;
}
html.wechat-shell .app-navbar {
  display: none;
}

body { background: var(--paper); }
.prototype-shell { gap: 72px; padding-top: 42px; padding-bottom: 42px; }
.prototype-topline { font-size: 10px; color: #777b80; }
.phone { border-width: 5px; border-color: #26272a; border-radius: 26px; box-shadow: 0 24px 60px #1b1e2312; }
.phone-statusbar { padding-top: 10px; }
.screen { background: #fff; }
.app-navbar { height: 52px; grid-template-columns: 74px minmax(0, 1fr) 76px; padding: 0 19px; border-bottom: 0; background: #fffffffa; }
.app-navbar .navbar-title { font-size: 14px; font-weight: 600; }
.app-navbar .wordmark { font: 800 17px/1.2 Arial, sans-serif; }
.app-navbar .wechat-capsule { width: 72px; height: 29px; border-color: #e5e6e8; }
.app-navbar .button-icon { width: 36px; height: 36px; }
.content { padding: 20px 24px 32px; }
.page-title { font-size: 26px; line-height: 1.4; font-weight: 700; }
.page-eyebrow { font-size: 11px; line-height: 1.5; color: #8b8e93; }
.lead { font-size: 13px; line-height: 1.8; }
.section-head { margin-top: 27px; margin-bottom: 15px; }
.section-head h3 { font-size: 14px; font-weight: 600; }
.section-head .text-link { font-size: 12px; color: var(--muted); }
.section-head h3 + button { flex: none; }
.text-link { color: #676b70; }
.primary-button, .secondary-button { min-height: 49px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.primary-button { background: var(--ink); color: #fff; box-shadow: 0 3px 5px #18191b08; }
.secondary-button { border-color: #e1e3e7; background: #fff; }
.primary-button.inverse { background: var(--ink); color: #fff; }
.primary-button:active { transform: translateY(1px); }
.full-button { margin-top: 12px; }
.button-row { gap: 12px; }
.sticky-footer { min-height: 88px; padding: 16px 24px 20px; border-color: #edf0f2; background: #fffffffa; }
.phone.subpage .sticky-footer { bottom: 0; }
.footer-summary b { font-size: 22px; font-weight: 600; }
.footer-summary small { font-size: 11px; color: #85888c; }
.sticky-footer .primary-button { min-height: 49px; }
.screen:has(.sticky-footer) .content { padding-bottom: 112px; }

.tabbar { height: 72px; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; padding: 8px 16px 12px; border-color: #edeff2; background: #fff; }
.phone:has(.tabbar[data-role="rider"]) .tabbar { grid-template-columns: repeat(4, minmax(0,1fr)); }
.tab { position: relative; gap: 6px; color: #93969a; font-size: 11px; font-weight: 500; }
.tab svg { width: 22px !important; height: 22px !important; stroke-width: 1.65; }
.tab.is-active { color: #191a1d; font-weight: 600; }
.tab.is-active svg { stroke-width: 2.1; }
.screen { height: calc(100% - 102px); }
.phone.subpage .screen { height: calc(100% - 30px); }

.context-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.context-line > span, .context-line > button:first-child { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: #70747a; }
.context-line .location-chip { margin: 0; min-height: 30px; color: #555a60; font-size: 12px; font-weight: 500; }
.context-line .location-chip svg { width: 14px; height: 14px; }
.context-line .button-icon { width: 32px; height: 32px; }
.home-focus { padding-top: 8px; }
.home-focus .context-line { margin-bottom: 20px; }
.home-focus .page-eyebrow { margin-bottom: 8px; }
.home-focus .page-title { max-width: 100%; font-size: 25px; }
.home-focus .lead { margin-top: 7px; }
.disposal-heading { margin-bottom: 4px; }
.disposal-heading .eyebrow { margin: 0 0 8px; color: #989da4; font: 500 11px/1.5 Arial,sans-serif; }
.disposal-heading h1 { margin: 0; color: #191b1e; font-size: 25px; line-height: 1.45; font-weight: 700; }
.eyebrow { color: #989da4; font: 500 11px/1.5 Arial,sans-serif; }
.service-media { margin: 20px -24px 16px; min-width: 0; }
.service-media .ly-motion { width: 100%; }
.service-stage { position: relative; }
.service-stage .scene-play { position: absolute; right: 22px; bottom: 16px; z-index: 1; width: 44px; height: 44px; border: 1px solid #ffffffc0; border-radius: 50%; background: #ffffffd9; color: #454d56; }
.service-stage .scene-play svg { width: 19px; height: 19px; }
.home-focus .ly-motion-bag text { display: none; }
.primary-task { margin-bottom: 26px; }
.primary-task > .primary-button, .home-focus > .primary-button { width: 100%; }
.collection-summary.task-summary { display: grid; width: 100%; grid-template-columns: 32px minmax(0,1fr) auto; gap: 11px; margin: 10px 0 17px; padding: 2px 0; border: 0; background: transparent; text-align: left; }
.status-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: #5f6871; background: #f2f4f6; }
.status-mark.warning { color: #967855; background: #faf5ef; }
.status-mark.success { color: #64836f; background: #f1f6f3; }
.status-mark svg { width: 16px; height: 16px; }
.task-summary > span, .task-summary > div { min-width: 0; }
.task-summary small { display: block; color: #898c91; font-size: 11px; line-height: 1.6; margin-bottom: 4px; }
.task-summary b { display: block; color: var(--ink); font-size: 19px; line-height: 1.45; font-weight: 600; }
.collection-summary .status-copy { min-width: 0; }
.collection-summary .status-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.collection-summary .status-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collection-summary .status-time { min-width: 76px; text-align: right; color: #8b9097; font-size: 10px; line-height: 1.5; }
.collection-summary .status-time b { color: #34383e; font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-secondary { display: grid; gap: 0; margin-top: 8px; }
.service-link { display: flex; align-items: center; width: 100%; min-height: 68px; padding: 15px 0; gap: 13px; border: 0; border-top: 1px solid #eceef1; background: transparent; color: #292d32; text-align: left; }
.service-link > svg:first-child { width: 18px; height: 18px; color: #737b84; flex: none; }
.service-link > span { min-width: 0; flex: 1; }
.service-link > span b { display: block; color: #2e3339; font-size: 13px; font-weight: 600; line-height: 1.5; }
.service-link > span small { display: block; margin-top: 4px; color: #969da5; font-size: 10px; line-height: 1.4; }
.service-link > svg:last-child { width: 15px; color: #b1b7be; flex: none; }
.disposal-action .primary-button { width: 100%; }
.quiet-note .text-link { display: inline-flex; align-items: center; gap: 4px; margin-left: 7px; color: #626b74; font-size: 11px; white-space: nowrap; }
.home-secondary .row-link { min-height: 73px; padding: 17px 0; border-color: #eceef0; }
.home-secondary .row-link > span:first-child:not(.row-symbol) { flex: 1; }
.home-secondary .row-link b { font-size: 13px; font-weight: 600; }
.home-secondary .row-link small { margin-top: 5px; font-size: 11px; }
.home-secondary .row-link > svg { color: #b1b4b8; width: 16px; }
.home-secondary .row-symbol { width: 34px; height: 34px; flex-basis: 34px !important; background: #f4f5f7; border-radius: 6px; }
.home-secondary .row-symbol svg { width: 17px; color: #686e75; }
.state-pill { font-size: 10px; padding: 3px 7px; border-radius: 3px; font-weight: 500; background: #f0f2f4; color: #60666d; }
.state-pill.success { background: #f0f6f2; color: #46715a; }
.state-pill.warning { background: #faf4ec; color: #926c3c; }

.flow-page { padding-top: 24px; }
.flow-heading { margin-bottom: 20px; }
.flow-heading > h1 { margin: 0; color: #191b1e; font-size: 25px; line-height: 1.45; font-weight: 700; text-wrap: balance; }
.flow-heading > p.eyebrow { margin: 0 0 13px; color: #a0a6af; font: 500 11px/1.5 Arial,sans-serif; }
.flow-heading > p:last-child:not(.eyebrow) { margin: 11px 0 0; color: #7b838d; font-size: 12px; line-height: 1.8; }
.flow-heading .page-title { font-size: 27px; }
.flow-heading .lead { max-width: 290px; }
.flow-heading > .page-eyebrow { color: #a1a6ae; margin-bottom: 12px; font: 500 11px/1.5 Arial,sans-serif; }
.quiet-note { color: #949aa3; font-size: 11px; line-height: 1.9; margin-top: 20px; }
.quantity-label { display: block; color: #a2a8b0; font-size: 11px; margin-bottom: 14px; }
.booking-location { display: flex; align-items: center; gap: 10px; padding: 15px 0; margin: 22px 0 4px; border-bottom: 1px solid #eef0f3; }
.booking-location > svg { width: 16px; height: 16px; color: #9aa2ad; }
.booking-location > span { flex: 1; min-width: 0; display: block; color: #535c67; }
.booking-location b { display: block; font-size: 12px; font-weight: 500; }
.booking-location small { display: block; font-size: 10px; color: #989fa9; margin-top: 4px; }
.booking-location .text-link { font-size: 11px; flex: none; color: #969faa; }
.booking-page .bag-composer { margin-top: 14px; margin-bottom: 12px; }
.booking-page .bag-picker { margin-top: 8px; }
.schedule-page .bag-picker { text-align: left; margin-top: 0; margin-bottom: 25px; }
.schedule-page .bag-picker .stepper { width: 196px; height: 49px; }
.schedule-page .bag-picker .stepper input { font-size: 34px; height: 49px; }
.flow-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #96999d; font: 500 10px/1.4 Arial,sans-serif; }
.flow-progress span { width: 25px; height: 2px; display: block; background: #e3e6e9; }
.flow-progress span.active, .flow-progress span.complete { background: #1c1d20; }
.flow-progress span.is-active { background: #1c1d20; }
.screen[data-refresh="true"] .content { animation: none; }
.booking-location .text-link, .booking-line .text-link, .profile-location .text-link, .schedule-toolbar .text-link { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; }
.context-line .notification-button { width: 44px; height: 44px; margin: -6px -6px -6px 0; }
.profile-identity .button-icon { width: 44px; height: 44px; margin-right: -6px; }
.flow-progress small { margin-left: 3px; font-size: 10px; }
.bag-picker { margin-top: 22px; margin-bottom: 25px; text-align: center; }
.bag-picker .stepper { width: 240px; height: 56px; grid-template-columns: 46px minmax(0,1fr) 25px 46px; border: 0; border-radius: 0; background: white; overflow: visible; align-items: center; }
.bag-picker .stepper input { height: 56px; border: 0; font-size: 43px; line-height: 1; font-weight: 600; font-family: Arial, sans-serif; }
.bag-picker .stepper > b { font-size: 13px; color: #7b7f85; justify-self: start; align-self: center; padding-top: 8px; }
.bag-picker .stepper .button-icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e6e8eb; background: #fff; }
.bag-picker .stepper .button-icon:last-child { color: white; background: #1b1c1f; border-color: #1b1c1f; }
.bag-picker .stepper .button-icon svg { width: 19px; height: 19px; }
.bag-picker .inline-help { margin: 20px 0 0; font-size: 11px; }
.booking-summary { margin-top: 27px; padding: 18px 0 0; border-top: 1px solid #edf0f2; }
.booking-line { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin: 17px 0; font-size: 13px; line-height: 1.7; }
.booking-line > span { flex: none; color: #81858b; }
.booking-line > b, .booking-line > div { min-width: 0; text-align: right; font-size: 13px; font-weight: 500; }
.booking-line small { display: block; color: #999da2; font-size: 11px; line-height: 1.65; margin-top: 3px; }
.booking-line .text-link { justify-content: flex-end; margin-top: 5px; font-size: 11px; }
.booking-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; border-top: 1px solid #edf0f2; }
.booking-total span { color: #85898e; font-size: 12px; }
.booking-total b { color: #1b1c1f; font: 600 28px/1.3 Arial,sans-serif; }
.flow-page .notice { border: 0; background: #f5f6f8; border-radius: 5px; margin-top: 22px; padding: 12px; color: #7b8188; }
.flow-page .notice span { font-size: 11px; line-height: 1.8; }
.flow-page .notice svg { color: #9a9fa6; width: 16px; height: 16px; }
.flow-page > .context-line { margin-top: 28px; }
.segmented { min-height: 45px; padding: 4px; gap: 4px; background: #f2f4f6; border: 0; border-radius: 6px; }
.segmented button { min-height: 37px; font-size: 12px; color: #8a8e94; }
.segmented button.active { background: white; box-shadow: 0 2px 4px #20283008; color: #24272c; }
.option-list { gap: 12px; }
.option { padding: 17px 15px; border-radius: 6px; border-color: #e6e8eb; background: white; gap: 13px; }
.option.selected, .option:has(input:checked) { background: #f5f6f8; border-color: #25272c; }
.option b { font-size: 13px; font-weight: 600; }
.option small { font-size: 11px; color: #8a8f96; }
.option.disabled { border-color: #edf0f2; background: #fafbfc; color: #aeb2b7; }
.option.disabled small { color: #aeb2b7; }
.field { margin-top: 24px; }
.field-label { font-size: 12px; font-weight: 500; color: #777c83; }
.form-input, .form-select, .form-textarea { padding: 13px 14px; min-height: 49px; border-color: #e0e3e7; border-radius: 6px; background: #fff; font-size: 14px; }
.detail-line { padding: 15px 0; border-color: #eceef0; font-size: 12px; }
.detail-line > b { font-size: 12px; font-weight: 500; }
.agreement { line-height: 1.8; font-size: 11px !important; }
.agreement input { margin-top: 2px; }

.schedule-overview .page-title { font-size: 25px; }
.schedule-page { padding-top: 17px; }
.schedule-overview .eyebrow { margin: 0 0 8px; }
.schedule-overview h1 { margin: 0; color: #1c1e22; font-size: 25px; line-height: 1.45; }
.schedule-number { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.schedule-number strong { color: #202329; font: 600 34px/1 Arial,sans-serif; }
.schedule-number span { color: #747b84; font-size: 12px; }
.schedule-overview > p:last-child { margin: 9px 0 0; color: #858c94; font-size: 11px; }
.schedule-page > .service-media { margin-top: 17px; margin-bottom: 15px; }
.schedule-page .schedule-summary { margin-top: 11px; }
.schedule-summary .detail-line { padding: 11px 0; }
.schedule-page > .full-button { margin-top: 18px; }
.schedule-toolbar { display: flex; justify-content: flex-end; gap: 17px; margin-top: 13px; }
.schedule-toolbar .text-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
.schedule-toolbar svg { width: 14px; height: 14px; }
.schedule-overview .task-summary { margin-top: 25px; margin-bottom: 24px; }
.schedule-overview .booking-summary { margin-top: 24px; }
.schedule-overview > .primary-button { width: 100%; margin-top: 24px; }
.schedule-overview .text-link { font-size: 12px; }
.schedule-overview .button-row { margin-top: 24px; }
.week-grid { gap: 5px; margin-top: 25px; margin-bottom: 30px; }
.day { min-height: 70px; border: 1px solid #e6e8eb; border-radius: 5px; color: #91969d; }
.day.is-on { border-color: #1e2024; color: white; background: #1e2024; }
.day svg { width: 16px; height: 16px; }

.balance-section { padding: 11px 0 25px; }
.balance-section > small, .balance-section > p { display: block; margin: 0; color: #878c94; font-size: 12px; line-height: 1.6; }
.balance-number { margin: 17px 0 14px; display: flex; align-items: baseline; gap: 8px; }
.balance-number strong, .balance-number b { font: 600 59px/1 Arial,sans-serif; color: #1c1e22; }
.balance-number > span { color: #767b83; font-size: 13px; }
.balance-number em { color: #767b83; font: 500 13px/1 var(--font); font-style: normal; }
.daily-limit { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; font-size: 11px; color: #8e939a; }
.daily-limit b { color: #626872; font-weight: 500; }
.daily-limit-track { width: 100%; height: 3px; overflow: hidden; margin-top: 8px; background: #edf0f3; }
.daily-limit-track i { display: block; height: 100%; background: #262a30; }
.member-strip { border-top: 1px solid #eceef0; border-bottom: 1px solid #eceef0; padding: 20px 0; }
.member-strip header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; }
.member-strip b { color: #41464e; font-size: 13px; font-weight: 600; }
.member-strip p { margin: 0; color: #969ba3; font-size: 11px; line-height: 1.8; }
.member-strip .button-row { margin-top: 20px; }
.membership-page { padding-top: 14px; }
.membership-strip { display: flex; align-items: center; gap: 11px; padding: 17px 0; }
.membership-strip > svg { flex: none; color: #858d96; }
.membership-strip > span { flex: 1; min-width: 0; }
.membership-strip b, .membership-strip small { display: block; }
.membership-strip b { font-size: 12px; }
.membership-strip small { margin-top: 5px; color: #9aa1aa; font-size: 10px; }
.membership-strip .button-icon { width: 30px; height: 30px; color: #a0a8b2; }
.membership-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 23px; }
.membership-actions > button { display: grid; grid-template-columns: 19px minmax(0,1fr) 15px; align-items: center; gap: 8px; min-height: 51px; padding: 0; border: 0; background: transparent; text-align: left; }
.membership-actions > button > svg:first-child { width: 18px; height: 18px; color: #6e7782; }
.membership-actions > button > svg:last-child { width: 14px; color: #a7afb9; }
.membership-actions b { display: block; color: #363d46; font-size: 12px; font-weight: 600; }
.membership-actions small { display: block; margin-top: 5px; color: #9da5af; font-size: 10px; line-height: 1.5; }
.cash-service-note { display: flex; align-items: center; gap: 10px; padding-top: 21px; margin-top: 13px; border-top: 1px solid #edf0f2; }
.cash-service-note > svg { width: 16px; height: 16px; color: #8b949f; flex: none; }
.cash-service-note > span { flex: 1; min-width: 0; }
.cash-service-note b { display: block; font-size: 11px; color: #65707c; font-weight: 500; }
.cash-service-note small { display: block; margin-top: 5px; color: #9ca5b0; font-size: 10px; }
.cash-service-note .text-link { font-size: 10px; display: inline-flex; align-items: center; gap: 3px; }
.booking-line > b { flex: 1; }
.booking-line .text-link { flex: none; }
.ledger-list { border-top: 0; }
.ledger-row { display: grid; width: 100%; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 17px 0; border: 0; border-bottom: 1px solid #edf0f2; background: transparent; text-align: left; }
.ledger-row > span:nth-child(2) { min-width: 0; }
.ledger-row b { font-size: 12px; font-weight: 500; }
.ledger-row small { display: block; margin-top: 5px; color: #9b9fa5; font-size: 10px; }
.ledger-row > b { font: 500 13px/1.4 Arial,sans-serif; color: #484e57; }
.ledger-row .row-symbol { color: #969ca4; background: #f4f6f8; }
.ledger-row .row-symbol svg { width: 15px; }
.profile-identity { padding: 14px 0 22px; gap: 14px; }
.profile-identity .mini-avatar { width: 48px; height: 48px; background: #22252a; color: white; border-radius: 8px; font-size: 17px; font-weight: 500; }
.profile-identity h1 { font-size: 22px; }
.profile-identity p { color: #91979f; font-size: 11px; }
.profile-identity h1 { margin: 0 0 9px; line-height: 1.4; }
.profile-location { display: flex; align-items: center; gap: 11px; padding: 16px 0 18px; border-bottom: 1px solid #eceff2; }
.profile-location > svg { width: 17px; height: 17px; color: #8e98a3; flex: none; }
.profile-location > span { flex: 1; min-width: 0; }
.profile-location b { display: block; font-size: 12px; font-weight: 500; color: #575f68; line-height: 1.5; }
.profile-location small { display: block; color: #9ca4ad; font-size: 10px; margin-top: 4px; }
.profile-location .text-link { flex: none; font-size: 11px; color: #929da8; }
.service-tip { margin: 10px 0 18px; color: #939ba5; font-size: 11px; line-height: 1.6; }
.journey-link { margin-top: 17px; margin-bottom: 0; }
.journey-link .text-link { margin-left: 0; }
.menu-list { border-top: 0; margin-top: 4px; }
.menu-item { min-height: 62px; padding: 16px 0; border-color: #eceff2; gap: 12px; }
.menu-item > b { font-size: 13px; font-weight: 500; }
.menu-item > svg:first-child { width: 17px; color: #9299a2; }
.menu-item > svg:last-child { width: 15px; color: #bbc0c6; }
.menu-item small { font-size: 10px; color: #9ca2ab; }
.row-link { border-color: #eceef1; }
.row-link > span > b { font-weight: 500; }
.row-link > span > small { color: #9299a2; }
.notice { border-left: 0; background: #f5f6f8; border-radius: 5px; }
.notice > span { color: #7b828b; font-size: 11px; line-height: 1.8; }
.notice > svg { color: #9099a3; width: 16px; height: 16px; }
.notice.warning { background: #faf5ef; }
.notice.warning > svg, .notice.warning > span { color: #967855; }
.notice.success { background: #f1f6f3; }
.notice.success > svg, .notice.success > span { color: #64836f; }
.result-content { padding-top: 32px; }
.result-content > .ly-motion { margin: 8px -24px 25px; width: calc(100% + 48px); }
.result-content > .page-title { font-size: 24px; }
.result-content > p { margin-top: 10px; margin-bottom: 27px; color: #8c929a; font-size: 12px; line-height: 1.8; }
.result-content > .primary-button { width: 100%; }
.timeline { margin-top: 19px; margin-bottom: 27px; gap: 10px; }
.timeline span { font-size: 10px; border-top-width: 1px; border-color: #e4e7eb; color: #9fa5ad; }
.timeline .complete { border-color: #7c838e; color: #6b737e; }
.timeline .active { border-color: #252a31; color: #252a31; }
.proof-image { border: 0; border-radius: 5px; background: #f0f2f5; }
.proof-image svg { width: 100%; height: auto; }
.metric-band { border-color: #eceef0; }
.metric-band > span { padding-top: 17px; padding-bottom: 17px; border-color: #eceef0; }
.metric-band > span > b { font-size: 27px; font-family: Arial,sans-serif; font-weight: 600; }
.metric-band > span > b em { color: #939aa3; font-size: 11px; }
.metric-band small { color: #939aa3; font-size: 10px; font-weight: 400; }
.plan-offer { padding: 30px 0 15px; border: 0; }
.plan-offer .page-title { margin: 22px 0 28px; font: 600 45px/1.2 Arial,sans-serif; }
.plan-offer .page-title small { color: #9aa1ab; font-size: 12px; font-family: var(--font); }

.sheet { padding: 22px 24px 24px; border-radius: 8px 8px 0 0; box-shadow: 0 -10px 30px #151a2310; }
.sheet-overlay { background: #1d222c55; backdrop-filter: blur(2px); }
.sheet > header h2 { font-size: 16px; font-weight: 600; }
.sheet > header { margin-bottom: 22px; }
.sheet .option-list { margin-top: 15px; }
.sheet p { color: #858d98; font-size: 12px; }
.sheet-actions { gap: 12px; }
.sheet:has(.ly-motion-journey) { max-height: 94%; padding-left: 0; padding-right: 0; }
.sheet:has(.ly-motion-journey) > header, .sheet:has(.ly-motion-journey) > .sheet-actions { margin-left: 24px; margin-right: 24px; }
.sheet:has(.ly-motion-journey) > header { margin-bottom: 0; }
.sheet:has(.ly-motion-journey) > .sheet-actions { margin-top: 5px; }
.toast { bottom: 90px; background: #282d35; border-radius: 5px; font-size: 11px; padding: 10px 14px; }
.prototype-notes h1 { font-size: 30px; line-height: 1.55; }
.prototype-notes > p { color: #969ba3; font-size: 12px; }
.review-toolbar { grid-template-columns: 95px minmax(0,1fr); column-gap: 18px; row-gap: 16px; border-color: #dce0e5; padding: 22px 0; }
.review-toolbar > select { width: 100%; max-width: none; }
.review-toolbar > .motion-toggle, .review-toolbar > #motion-preview { grid-column: 1 / -1; }
.review-toolbar .motion-toggle { justify-content: flex-start; }
.review-toolbar label { font-size: 11px; }
.review-toolbar select { color: #676e78; border: 1px solid #d9dee5; border-radius: 5px; padding-top: 9px; padding-bottom: 9px; }
.review-list { border-color: #dce0e5; }
.review-list button { border-color: #dce0e5; color: #777f8b; }
.review-list span { font-size: 11px; }
.notes-legend { color: #9da4ae; font-size: 10px; line-height: 1.8; }
.phone.admin-view { border-radius: 8px; border-width: 1px; }

@media (max-width: 920px) and (min-width: 601px) {
  .prototype-shell { gap: 25px; }
  .review-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { background: #fff; }
  .prototype-shell { padding: 0; }
  .phone { border: 0; border-radius: 0; box-shadow: none; height: 100svh; }
  .phone:not(.subpage) .screen { height: calc(100% - 102px - env(safe-area-inset-bottom)); }
  .phone.subpage .screen { height: calc(100% - 30px); }
  .tabbar { height: calc(72px + env(safe-area-inset-bottom)); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .phone.subpage .sticky-footer { padding-bottom: max(20px,env(safe-area-inset-bottom)); }
  .phone.admin-view { border: 0; border-radius: 0; }
  .button-icon[aria-label]:hover::after { display: none; }
}
@media (max-width: 360px) {
  .content { padding-left: 20px; padding-right: 20px; }
  .service-media { margin-left: -20px; margin-right: -20px; }
  .page-title, .home-focus .page-title, .flow-heading .page-title { font-size: 24px; }
  .app-navbar { padding-left: 14px; padding-right: 14px; }
  .sticky-footer { padding-left: 20px; padding-right: 20px; }
  .week-grid { gap: 4px; }
  .schedule-page .week-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .day { min-height: 61px; }
  .task-summary { gap: 12px; }
  .collection-summary.task-summary { gap: 9px; }
  .collection-summary .status-copy b { font-size: 12px; }
  .collection-summary .status-copy small { font-size: 10px; }
  .collection-summary .status-time b { font-size: 12px; }
  .membership-actions { gap: 14px; }
  .membership-actions > button { gap: 6px; }
  .result-content > .ly-motion { margin-left: -20px; margin-right: -20px; width: calc(100% + 40px); }
}

/* Audit pass: keep user-facing copy readable and remove the dense finance grid. */
.balance-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.balance-head > div { min-width: 0; }
.balance-head > .balance-state { margin-top: 7px; color: #5f6872; font-size: 13px; font-weight: 600; }
.balance-head .balance-state { display: block; margin-top: 10px; color: #69727c; font-size: 13px; font-weight: 600; }
.balance-number { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; }
.balance-number b { font: 600 48px/1 Arial, sans-serif; letter-spacing: -1px !important; }
.balance-number span { color: #6e7680; font-size: 16px; }
.daily-limit-card { margin-top: 24px; padding: 17px 18px 18px; border: 1px solid #e7eaed; border-radius: 8px; background: #f7f8f9; }
.daily-limit-card > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.daily-limit-card b { color: #22262b; font-size: 17px; font-weight: 700; }
.daily-limit-card span { color: #707883; font-size: 12px; white-space: nowrap; }
.daily-limit-card .daily-limit-track { margin-top: 14px; height: 6px; border-radius: 999px; background: #e1e5e8; }
.daily-limit-card .daily-limit-track i { border-radius: inherit; background: #252a30; }
.purchase-options { display: grid; gap: 10px; margin-top: 22px; }
.purchase-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 28px; }
.purchase-heading h2 { margin: 0; color: #252a30; font-size: 17px; line-height: 1.4; }
.purchase-heading p { margin: 0; color: #69727c; font-size: 12px; }
.purchase-option { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; width: 100%; min-height: 78px; padding: 13px 14px; border: 1px solid #e4e7ea; border-radius: 8px; background: #fff; text-align: left; }
.purchase-option:active { background: #f6f7f8; }
.purchase-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: #4d5660; background: #f1f3f5; }
.purchase-copy { min-width: 0; }
.purchase-copy b { display: block; color: #252a30; font-size: 16px; font-weight: 650; }
.purchase-copy small { display: block; margin-top: 5px; color: #69727c; font-size: 12px; line-height: 1.5; }
.purchase-option > strong { color: #262b31; font: 600 18px/1 Arial, sans-serif; white-space: nowrap; }
.purchase-option > svg:last-child { color: #929aa3; }
.membership-page .membership-strip { margin-top: 20px; padding: 18px 0; }
.membership-page .membership-strip b { font-size: 16px; }
.membership-page .membership-strip small { margin-top: 6px; color: #69727c; font-size: 12px; }
.membership-page .cash-service-note { margin-top: 22px; padding-top: 18px; }
.membership-page .cash-service-note b { font-size: 14px; color: #444c55; }
.membership-page .cash-service-note small { font-size: 12px; color: #69727c; }
.member-card { margin-top: 25px; padding: 20px; border: 1px solid #dde2e6; border-radius: 10px; background: #f8f9fa; }
.member-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.member-card-top > div { min-width: 0; }
.member-kicker { margin: 0 0 7px; color: #747d87; font-size: 12px; }
.member-card h2 { margin: 0; color: #23282e; font-size: 20px; line-height: 1.35; font-weight: 700; }
.member-card-copy { margin: 14px 0 0; color: #5f6872; font-size: 13px; line-height: 1.6; }
.member-card-action { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; margin-top: 18px; padding: 0; color: #252a30; background: transparent; font-size: 14px; font-weight: 650; }
.member-card-action svg { width: 17px; height: 17px; }
.member-card .state-pill { margin-top: 2px; padding: 5px 8px; font-size: 12px; }
.profile-feature .menu-item > span b { display: block; color: #2e3339; font-size: 15px; font-weight: 600; }
.profile-feature .menu-item > span small { display: block; margin-top: 5px; color: #69727c; font-size: 12px; line-height: 1.5; }
.profile-feature .menu-item { min-height: 72px; }
.tab { font-size: 12px; }
.service-link > span small, .menu-item small, .membership-strip small, .membership-actions small, .cash-service-note small, .ledger-row small, .profile-location small, .quiet-note, .inline-help, .form-note { font-size: 12px; }
.page-eyebrow, .eyebrow { font-size: 12px; }
.screen .state-pill,
.screen .task-state,
.screen .timeline span,
.screen .metric-band small,
.screen .booking-location small,
.screen .booking-line small,
.screen .flow-progress,
.screen .flow-progress small,
.screen .collection-summary .status-time,
.screen .service-tip,
.screen .result-content > p,
.screen .toast { font-size: 12px; }
.screen .collection-summary .status-time b { font-size: 14px; }
.screen .service-link > span b,
.screen .row-link > span > b,
.screen .menu-item > b { font-size: 15px; }
