/* NoLaundry customer app. Mobile-first, also fine in a desktop browser. */
:root {
  --bg: #FFFDF5;
  --paper: #ffffff;
  --ink: #17191B;
  --muted: #5c6166;
  --line: rgba(23, 25, 27, .14);
  --orange: #FF4000;
  --orange-deep: #E23A00;
  --soft: #F4F1EA;
  --soft-2: #E7E2D8;
  --danger: #8A2B22;
  --ok: #1B6B45;
  --shadow: 0 16px 40px rgba(23, 25, 27, .16);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tap: 48px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416;
    --paper: #1C1F22;
    --ink: #F6F4EF;
    --muted: #C5CBC7;
    --line: rgba(255, 255, 255, .14);
    --soft: #262A2E;
    --soft-2: #343A3F;
    --shadow: 0 16px 40px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip {
  position: absolute; left: 12px; top: 8px; z-index: 20;
  transform: translateY(-140%);
  background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { transform: none; }
#app { min-height: 100%; }
#toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; z-index: 80;
  transition: opacity .2s ease, transform .2s ease; max-width: min(92vw, 420px); text-align: center;
}
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.stage { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.stage-pad { padding: calc(12px + var(--safe-t)) 20px calc(20px + var(--safe-b)); }
.scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 8px 20px 24px; }
.with-tabs .scroll { padding-bottom: calc(108px + var(--safe-b)); }
.with-tabs .sticky-cta { bottom: 76px; }
.with-fab .scroll { padding-bottom: calc(132px + var(--safe-b)); }
.with-fab .section-h { padding-right: 68px; }
.dock-fixed {
  position: fixed; left: 0; right: 0; z-index: 24;
  bottom: calc(12px + var(--safe-b));
  padding: 12px 20px 8px;
  background: linear-gradient(to top, var(--bg) 64%, transparent);
}
.with-tabs .dock-fixed { bottom: calc(64px + var(--safe-b)); }

h1, h2, .display { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
h1:focus, h2:focus { outline: none; }
h1 { font-size: 34px; }
h2 { font-size: 22px; }
.lede { color: var(--muted); margin: 8px 0 0; font-size: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.4; }
.err { color: var(--danger); font-size: 14px; font-weight: 650; margin: 8px 0 0; }
.ok { color: var(--ok); }

.btn, .btn-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: var(--tap); border-radius: 999px; border: 0;
  padding: 14px 18px; font-weight: 800; font-size: 17px; text-decoration: none; text-align: center;
}
.btn { background: #17191b; color: #fff; }
.btn:hover { background: #000; }
.btn:disabled { opacity: .55; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-text { background: none; border: 0; color: var(--ink); font-weight: 750; min-height: 44px; padding: 8px; width: 100%; }
.btn:focus-visible, .btn-line:focus-visible, .btn-text:focus-visible, .chip:focus-visible, .icon-btn:focus-visible, .tab:focus-visible, .row:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

.dock {
  margin-top: auto; padding: 8px 20px calc(16px + var(--safe-b));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.fine { text-align: center; margin: 12px 0 0; font-size: 15px; }
.fine button, .fine a { font-weight: 800; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.onboard .fine, .onboard .fine button { color: #fff; }
input::placeholder, textarea::placeholder { color: #8b908c; opacity: 1; }

/* Onboarding */
.onboard { position: relative; min-height: 100dvh; color: #fff; background: #17191B; overflow: hidden; }
.onboard-track { display: flex; height: 100dvh; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.onboard-slide { flex: 0 0 100%; height: 100dvh; position: relative; }
.onboard-slide img { width: 100%; height: 100%; object-fit: cover; }
.onboard-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 16, .88) 0%, rgba(12, 10, 16, .35) 42%, rgba(12, 10, 16, .15) 100%);
}
.onboard-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 24px calc(18px + var(--safe-b));
}
.onboard h1 { font-size: 40px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.onboard .lede { color: rgba(255,255,255,.92); font-size: 17px; margin-bottom: 18px; }
.dots { display: flex; gap: 6px; justify-content: center; margin: 0 0 18px; }
.dots button {
  width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.45);
}
.dots button[aria-current="true"] { width: 22px; background: #fff; }
.onboard .btn { background: #17191b; color: #fff; }

/* Login */
.brand { height: 36px; width: auto; }
.tabs-seg { display: flex; background: var(--soft); border-radius: 999px; padding: 4px; margin: 18px 0; }
.tabs-seg button {
  flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: transparent; font-weight: 750; color: var(--muted);
}
.tabs-seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
label.field { display: block; margin: 0 0 12px; font-size: 13px; font-weight: 750; }
label.field span { display: block; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], textarea, select {
  width: 100%; min-height: var(--tap); border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--paper); padding: 12px 14px; font-size: 16px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 500; margin: 8px 0 14px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: #17191B; flex: none; }
.legal { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.legal a { font-weight: 750; }
.suggest { list-style: none; margin: 6px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.suggest button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); min-height: 48px; padding: 10px 12px; }
.suggest button:last-child { border-bottom: 0; }
.banner {
  display: flex; gap: 10px; align-items: flex-start;
  background: #F8E7E4; color: #6E241C; border-radius: 16px; padding: 12px 14px; margin: 0 0 14px;
}
@media (prefers-color-scheme: dark) {
  .banner { background: #3A2422; color: #FFD0C8; }
}
.otp { position: relative; margin: 12px 0; }
.otp input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; min-height: 64px; font-size: 16px;
}
.otp-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp-cells span {
  height: 64px; border-radius: 14px; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; background: var(--paper);
}
.otp-cells span.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 64, 0, .25); }
.link-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.link-row button { background: none; border: 0; font-weight: 750; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Choices */
.choice {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; margin: 0 0 12px; min-height: 84px;
}
.choice[aria-pressed="true"], .plan[aria-pressed="true"] { border-color: var(--ink); box-shadow: none; }
.choice b, .plan b { display: block; font-size: 18px; }
.choice small, .plan small { color: var(--muted); display: block; margin-top: 2px; }
.ico {
  width: 44px; height: 44px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; flex: none;
}
.ico svg { width: 22px; height: 22px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.chip {
  min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); font-weight: 750;
}
.chip[aria-pressed="true"] { background: #17191b; border-color: #17191b; color: #fff; }
.rec {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: var(--orange); color: #17191B; border-radius: 999px; padding: 3px 8px; margin-left: 6px; vertical-align: 2px;
}

/* Sheets */
.scrim { position: fixed; inset: 0; background: rgba(17, 17, 17, .46); z-index: 30; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--paper); color: var(--ink);
  border-radius: 22px 22px 0 0; max-height: min(92dvh, 880px); overflow: auto;
  padding: 8px 20px calc(16px + var(--safe-b));
  box-shadow: var(--shadow);
  animation: rise .32s cubic-bezier(.22, 1, .36, 1);
}
.sheet h2 { font-size: 26px; }
.handle { width: 40px; height: 5px; border-radius: 99px; background: var(--soft-2); margin: 6px auto 10px; }
.sheet-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sheet-head h2 { flex: 1; font-size: 22px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--soft); color: var(--ink); font-size: 20px;
}
.sheet-photo { width: calc(100% + 40px); margin: 0 -20px 14px; height: 180px; object-fit: cover; }
.sticky-cta {
  position: sticky; bottom: 0; background: linear-gradient(to top, var(--paper) 65%, transparent);
  padding-top: 12px; margin-top: 8px;
}
.guard {
  position: fixed; left: 16px; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 50; background: var(--paper); border-radius: 22px; padding: 18px 18px 16px;
  box-shadow: var(--shadow); animation: pop .22s cubic-bezier(.22, 1, .36, 1);
}
.guard-actions { display: flex; gap: 8px; margin-top: 14px; }
.guard-actions .btn, .guard-actions .btn-line { font-size: 14px; padding: 12px 10px; }

@keyframes rise { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: translateY(-46%); opacity: 0; } to { transform: translateY(-50%); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .onboard-track, .sheet, .guard, #toast { animation: none; transition: none; }
}

/* Plans and dates */
.welcome {
  background: #FDE7DF; border-radius: 18px; padding: 14px; margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .welcome { background: #3A2430; } }
.plan {
  width: 100%; text-align: left; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 20px; padding: 16px; margin: 0 0 12px;
}
.plan-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.price { font-weight: 800; font-size: 18px; white-space: nowrap; }
.plan ul { margin: 10px 0 0; padding: 0; list-style: none; }
.plan li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.mark { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); display: grid; place-items: center; }
.plan[aria-pressed="true"] .mark { background: #17191b; border-color: #17191b; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dates::-webkit-scrollbar { display: none; }
.date {
  scroll-snap-align: start; min-width: 72px; border-radius: 16px; border: 1.5px solid var(--line);
  background: var(--paper); padding: 10px 8px 8px; text-align: center;
}
.date b { display: block; font-size: 20px; }
.date[aria-pressed="true"] { background: #17191b; border-color: #17191b; color:#fff; }
.tmr { display: inline-block; margin-top: 4px; background: var(--orange); color: #17191B; font-size: 10px; font-weight: 800; border-radius: 999px; padding: 2px 6px; }
.fee { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 4px; }
.pill-note { display: inline-block; background: #F3E2B8; color: #5C4510; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 8px; margin-left: 6px; }
.row-btn { background: none; border: 0; color: var(--ink); font-weight: 800; min-height: 44px; }

/* Logged-in shell */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + var(--safe-t)) 16px 8px; background: #17191B; color: #fff;
}
.top .brand { height: 28px; filter: brightness(0) invert(1); }
.who { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font-weight: 750; min-height: 44px; }
.av { width: 36px; height: 36px; border-radius: 999px; background: var(--orange); color: #17191B; display: grid; place-items: center; font-weight: 800; }
.hi { font-size: 32px; margin: 16px 0 12px; }
.plus { width: auto; padding-inline: 18px; }
.tipcard, .panel, .hero-dark, .time, .empty {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin: 0 0 12px;
}
.hero-dark {
  background: #17191B; color: #fff; border: 0; display: grid; grid-template-columns: 1fr 118px; gap: 8px; align-items: center; overflow: hidden; min-height: 148px;
}
.hero-dark img { width: 118px; height: 120px; object-fit: cover; border-radius: 14px; }
.kicker { font-size: 12px; letter-spacing: .12em; font-weight: 800; opacity: .7; }
.section-h { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; }
.section-h h2 { font-size: 20px; }
.section-h button, .section-h a { background: none; border: 0; color: var(--ink); font-weight: 800; text-decoration: none; min-height: 44px; }
.empty { color: var(--muted); text-align: center; padding: 28px 16px; }
.segbar { display: flex; background: var(--soft); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.segbar button { flex: 1; min-height: 40px; border: 0; border-radius: 11px; background: transparent; font-weight: 750; color: var(--muted); }
.segbar button[aria-selected="true"] { background: var(--paper); color: var(--ink); }

.profile { display: flex; gap: 12px; align-items: center; padding: 4px 0 12px; }
.profile .av { width: 56px; height: 56px; font-size: 20px; }
.kv { padding: 10px 0; border-top: 1px solid var(--line); }
.kv b { display: block; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.addr { display: flex; gap: 8px; align-items: flex-start; }
.badge { font-size: 11px; font-weight: 800; background: #FDE7DF; color: #8A2B12; border-radius: 999px; padding: 2px 8px; }
.menu button, .menu a {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; border-top: 1px solid var(--line); min-height: 56px; text-align: left; text-decoration: none; font-weight: 700; padding: 8px 0;
}
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.switch p { margin: 2px 0 0; }
.switch input { width: 46px; height: 28px; accent-color: var(--orange); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.step { background: var(--soft); border-radius: 16px; padding: 12px 10px; text-align: center; min-height: 132px; }
@media (prefers-color-scheme: dark) { .step { background: #3A2430; } }
.step b, .step strong, .step span { display: block; }
.step b { margin: 0 0 6px; color: var(--orange-deep); font-size: 12px; }
.step strong { font-size: 15px; margin-bottom: 4px; }
.step span { font-size: 12px; color: var(--muted); }
details.faq { border-top: 1px solid var(--line); padding: 12px 0; }
details.faq summary { font-weight: 750; min-height: 44px; cursor: pointer; }
.progress { height: 8px; background: var(--soft-2); border-radius: 99px; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: var(--orange); width: 0; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + var(--safe-b));
}
.tabbar a, .tabbar button {
  background: none; border: 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 700; min-height: 48px; text-decoration: none;
}
.tabbar svg { width: 24px; height: 24px; }
.tabbar [aria-current="page"] { color: var(--orange-deep); }
.fab {
  position: fixed; right: 16px; bottom: calc(148px + var(--safe-b)); z-index: 26;
  width: 58px; height: 58px; border-radius: 999px; border: 0; background: #17191b; color: #fff;
  box-shadow: 0 8px 20px rgba(255, 64, 0, .35); display: grid; place-items: center;
}
.fab svg { width: 26px; height: 26px; }
.back { display: flex; align-items: center; gap: 6px; background: none; border: 0; font-weight: 800; min-height: 44px; padding: 0; margin-bottom: 6px; }

@media (min-width: 840px) {
  body { background: #E7E2D8; }
  #app { max-width: 430px; margin: 0 auto; min-height: 100dvh; box-shadow: 0 0 0 1px rgba(0,0,0,.06); background: var(--bg); }
  .sheet, .scrim, .guard, .tabbar, .fab, .dock-fixed { left: 50%; right: auto; width: 430px; transform: translateX(-50%); }
  .guard { width: min(398px, calc(100% - 32px)); transform: translate(-50%, -50%); }
  .scrim { top: 0; bottom: 0; height: 100%; }
  @media (prefers-color-scheme: dark) { body { background: #0C0E10; } }
}

/* Account setup: consistent iOS controls and spacing in both color schemes. */
.signup-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 24px; }
.signup-head .btn-text { width: auto; flex: none; min-height: 44px; padding-inline: 8px; }
.signup .signup-links { text-align: left; margin: 12px 0 24px; }
.signup .field { margin-bottom: 16px; }
.signup .field input { display: block; width: 100%; min-width: 0; min-height: 52px; font-size: 16px; font-weight: 500; }
.signup .field span { font-size: 14px; }
.signup .btn-text[data-act="unit"] { min-height: 44px; margin-bottom: 8px; }
.signup .check { margin-top: 16px; }
.signup .check input { accent-color: var(--orange); }
.signup { padding-bottom: calc(28px + var(--safe-b)); }


/* Consumer reference design: white app chrome, focused orange actions and warm imagery.
   Keep the existing safe areas, form semantics and dark-mode support. */
:root { --bg:#fff; --paper:#fff; --ink:#101114; --muted:#555b61; --line:#e4e5e7; --soft:#f5f5f5; --soft-2:#e6e6e7; --orange:#ff4d00; --orange-deep:#b93600; --font:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; }
.top { background:var(--paper); color:var(--ink); padding:calc(8px + var(--safe-t)) 20px 10px; gap:12px; border-bottom:1px solid var(--line); }
.top .brand { height:32px; max-width:calc(100% - 112px); object-fit:contain; filter:none; }
.top .top-icon { color:var(--ink); width:44px; height:44px; justify-content:center; flex:none; border-radius:50%; padding:0; }
.top-icon svg { width:25px; height:25px; }
h1 { font-size:clamp(29px,8vw,36px); letter-spacing:-.045em; }
h2 { letter-spacing:-.025em; }
.btn:not(.btn-ink), .onboard .btn { background:#17191b; color:white; border-radius:18px; min-height:54px; font-weight:750; }
.btn:not(.btn-ink):hover { background:#000; }
.btn-line { border-radius:16px; min-height:50px; }
.scroll { padding-inline:20px; }
.customer-home .hi { margin:20px 0 0; }
.home-lede { margin:5px 0 20px; font-size:17px; }
.home-pickup { background:#fff1e6; color:#101114; border-radius:22px; padding:16px; margin-bottom:20px; }
.home-pickup-copy { display:grid; grid-template-columns:minmax(0,1fr) minmax(76px,38%); align-items:center; gap:10px; margin-bottom:14px; }
.home-pickup-text svg { width:26px; height:26px; color:#c83a00; }
.home-pickup-text h2 { margin:7px 0; font-size:25px; }
.home-pickup-text p { margin:0; font-size:14px; color:#555; }
.home-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin:0 0 20px; }
.home-actions button { border:0; background:none; color:var(--ink); display:flex; flex-direction:column; align-items:center; gap:7px; padding:0 2px; min-height:76px; font-size:12px; font-weight:650; text-align:center; overflow-wrap:anywhere; }
.home-actions .ico { width:48px; height:48px; border-radius:15px; }
.first-order-card { display:grid; grid-template-columns:82px minmax(0,1fr) 14px; align-items:center; gap:12px; width:100%; background:var(--soft); color:var(--ink); border:0; border-radius:18px; padding:10px; text-align:left; }
.first-order-card img { width:82px; height:84px; object-fit:cover; border-radius:12px; }
.first-order-card b { font-size:19px; letter-spacing:-.03em; line-height:1.12; display:block; }
.first-order-card em { color:var(--orange-deep); font-style:normal; }
.first-order-card small { display:block; margin-top:6px; color:var(--muted); }
.panel,.plan,.time,.tipcard { border-radius:18px; box-shadow:none; }
.tabbar { background:var(--paper); }
.tabbar [aria-current="page"] { color:var(--orange-deep); }
.tabbar svg { stroke-width:2; }
.sheet { border-radius:26px 26px 0 0; }
.sheet-head h2 { font-size:25px; }
.pickup-address,.pickup-window { display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:16px; padding:14px; margin:14px 0; }
.pickup-address svg,.pickup-window svg { width:24px; height:24px; flex:none; color:var(--orange-deep); }
.pickup-address small { color:var(--muted); display:block; overflow-wrap:anywhere; }
.pickup-heading { font-size:18px!important; margin-top:18px; }
.pickup-window { margin-top:8px; background:#fff1e6; color:#17191b; border-color:#e78356; }
.date { min-height:72px; min-width:66px; border:1px solid var(--line); background:var(--soft); }
.date[aria-pressed="true"],.chip[aria-pressed="true"] { background:#17191b; border-color:#17191b; color:white; }
.tmr { background:white; color:#a62e00; }
.choice[aria-pressed="true"],.plan[aria-pressed="true"] { border-color:var(--ink); box-shadow:none; }
.chip { min-height:44px; }
.order-card h2 { font-size:23px; margin:10px 0; }
.order-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; font-size:12px; color:var(--muted); font-weight:650; }
.order-progress { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:0; list-style:none; margin:22px 0; }
.order-progress li { position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; font-size:11px; color:var(--muted); font-weight:650; }
.order-progress li:not(:first-child)::before { content:""; position:absolute; top:12px; right:50%; width:100%; height:3px; background:var(--soft-2); }
.order-progress li.done::before,.order-progress li.current::before { background:var(--orange-deep); }
.progress-dot { position:relative; width:27px; height:27px; border:2px solid var(--soft-2); border-radius:50%; background:var(--paper); display:grid; place-items:center; }
.progress-dot svg { width:17px; height:17px; }
.done .progress-dot { background:#c83a00; border-color:#c83a00; color:white; }
.current .progress-dot { border-color:var(--orange-deep); }
.current .progress-dot::after { content:""; width:13px; height:13px; border-radius:50%; background:var(--orange-deep); }
.order-help svg { width:20px; height:20px; }
.checkout-offer { display:flex; align-items:center; justify-content:center; gap:14px; background:#fff1e6; color:#17191b; border-radius:18px; padding:20px 12px; margin:14px 0; }
.checkout-offer svg { width:38px; height:38px; color:#c83a00; }
.checkout-offer strong { color:#c83a00; font-size:clamp(25px,8vw,34px); display:block; line-height:1.1; }
.checkout-plan { display:flex; align-items:center; gap:14px; padding:12px 0; }
.checkout-plan img { width:84px; height:84px; object-fit:cover; border-radius:12px; }
.checkout-plan h2 { font-size:21px; }
.checkout-plan p { margin:4px 0; }
.checkout-total { display:flex; justify-content:space-between; align-items:center; padding:16px 0; border-block:1px solid var(--line); }
.checkout-total strong { color:var(--ok); font-size:23px; }
@media(prefers-color-scheme:dark) {
  :root { --bg:#121416; --paper:#1c1f22; --ink:#f6f4ef; --muted:#c5cbc7; --line:#393c40; --soft:#262a2e; --soft-2:#45494e; --orange-deep:#ff9567; --ok:#78dba4; }
  .top .brand { background:white; border-radius:6px; padding:3px; }
}
@media(max-width:350px) { .scroll { padding-inline:14px; } .home-pickup { padding:12px; } .home-actions { gap:3px; } .home-actions button { font-size:11px; } }
@media(min-width:840px) { body { background:#eee; } .fab { left:auto; right:calc((100vw - 430px)/2 + 16px); width:58px; transform:none; } }
@media(min-width:840px) and (prefers-color-scheme:dark) { body { background:#0c0e10; } }

/* In-app order tracking, scoped to the consumer route. */
.consumer-tracking .lede { margin-bottom:16px; }
.consumer-track-map { height:clamp(220px,32vh,330px); border-radius:20px; overflow:hidden; background:var(--soft); position:relative; z-index:0; }
.consumer-track-map[hidden], .track-hero[hidden] { display:none; }
.consumer-track-card { margin:12px 0 14px; padding:18px; }
.consumer-track-card h2 { font-size:26px; line-height:1.12; }
.track-eta { color:var(--muted); margin:8px 0; font-size:17px; }
.track-eta:empty { display:none; }
.track-hero { background:var(--soft); border-radius:16px; padding:16px; margin:12px 0; font-weight:750; overflow-wrap:anywhere; }
.track-details { display:flex; align-items:center; justify-content:center; text-decoration:none; }
.consumer-map-home span { display:grid; place-items:center; width:32px; height:32px; background:white; border:2px solid #111; color:#111; border-radius:50%; font:900 24px/1 system-ui; }
.consumer-map-van { filter:drop-shadow(0 3px 5px #0005); }
.consumer-track-service { display:flex; gap:12px; align-items:center; background:#fff1e6; color:#17191b; padding:12px; border-radius:16px; }
.consumer-track-service img { width:78px; height:70px; object-fit:cover; border-radius:10px; }
.consumer-track-service small { display:block; color:#555; }

.track-hero { display:flex; align-items:center; gap:12px; }
.track-hero img,.track-hero .track-avatar { width:52px; height:52px; flex:none; border-radius:50%; object-fit:cover; }
.track-avatar { display:grid; place-items:center; background:#fff1e6; color:#b93600; font-size:20px; font-weight:800; }
.track-hero small { display:block; font-weight:500; color:var(--muted); }

/* Order support is scoped to the authenticated tracking screen. */
.track-chat[hidden] { display:none; }
.track-chat { margin:14px 0; border:1px solid var(--line); border-radius:16px; padding:12px; }
.track-chat-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.track-chat-head h3 { margin:0; font-size:18px; }
.track-chat-head .btn-text { width:auto; color:var(--ink); }
.track-messages { display:flex; flex-direction:column; gap:10px; max-height:320px; overflow:auto; padding:8px 0 14px; color:var(--muted); font-size:14px; }
.track-message { background:var(--soft); color:var(--ink); padding:10px 12px; border-radius:14px; max-width:90%; overflow-wrap:anywhere; align-self:flex-start; }
.track-message.own { background:#fff1e6; color:#17191b; align-self:flex-end; }
.track-message p { margin:4px 0; white-space:pre-wrap; }
.track-message time,.track-message small { font-size:11px; display:block; }
.track-chat form label { display:block; font-size:14px; font-weight:700; margin-bottom:6px; }
.track-chat form .btn { margin-top:8px; }
.order-progress time { font-size:10px; color:var(--muted); line-height:1.15; }

.track-activity[hidden]{display:none}
.track-activity{border:1px solid var(--line);border-radius:16px;padding:14px;margin:12px 0}
.track-activity h3{font-size:17px;margin:0 0 6px}
.track-activity .btn-line[aria-pressed=true]{border-color:var(--ink);color:var(--ink)}

/* Connectivity status remains outside the repainted order and checkout views. */
.network-status[hidden]{display:none}
.network-status{position:fixed;z-index:100;left:0;right:0;top:0;padding:calc(env(safe-area-inset-top,0px) + 7px) 16px 8px;background:#202124;color:#fff;font-size:13px;font-weight:600;text-align:center;line-height:1.4;pointer-events:none}
body:has(.network-status:not([hidden])) #app{padding-top:38px}
.sheet button:disabled,.guard button:disabled{opacity:.55;cursor:not-allowed}
.sheet [tabindex="-1"]:focus-visible,.guard [tabindex="-1"]:focus-visible{outline:2px solid var(--orange);outline-offset:3px}


/* Signed-in workspace: a full desktop app, not a stretched phone mockup. */
.portal-workspace { --bg:#fff; --paper:#fff; --soft:#f4f4f4; --line:#e5e5e5; }
.portal-workspace .top { justify-content:space-between; }
.portal-workspace .top > a { display:flex; align-items:center; min-height:44px; }
.portal-workspace .top .brand { width:148px; max-width:100%; height:auto; }
.portal-workspace .nwsw { margin:8px 0 24px; max-width:420px; background:var(--soft); }
.portal-workspace .nwsw .nwsw-o { min-height:48px; padding:8px; color:var(--ink); }
.portal-workspace .nwsw .nwsw-o span { color:var(--muted); max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.portal-workspace .nwsw .nwsw-o.on { background:var(--paper); box-shadow:none; }
.customer-home .hi { font-size:clamp(30px,4vw,40px); }
.customer-home .home-lede { margin:6px 0 24px; }
.home-workspace { display:grid; gap:24px; }
.home-workspace > div { min-width:0; }
.home-primary .section-h { margin-top:0; }
.customer-home .home-pickup { background:#f5f5f3; padding:20px; border-radius:18px; margin:0; }
.customer-home .home-pickup-text h2 { font-size:clamp(24px,3vw,32px); line-height:1.14; margin:8px 0; }
.customer-home .home-pickup-text .home-kicker { font-size:12px; font-weight:800; color:#595959; }
.customer-home .home-pickup .btn { border-radius:12px; min-height:52px; background:#17191b; color:white; }
.customer-home .home-section-title { font-size:21px; margin:0 0 10px; }
.home-links { border-top:1px solid var(--line); }
.home-link { display:grid; grid-template-columns:40px minmax(0,1fr) 14px; gap:12px; align-items:center; padding:14px 0; min-height:70px; border-bottom:1px solid var(--line); text-decoration:none; }
.home-link-icon { display:grid; place-items:center; width:40px; height:40px; background:var(--soft); border-radius:10px; }
.home-link-icon svg { width:22px; height:22px; }
.home-link b,.home-link small { display:block; overflow-wrap:anywhere; }
.home-link small { font-size:13px; color:var(--muted); margin-top:3px; }
.home-link:focus-visible,.home-secondary:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.home-secondary { display:flex; align-items:center; min-height:44px; font-size:14px; font-weight:750; }
.portal-workspace .nwup { border:1px solid var(--line); color:var(--ink); background:var(--paper); border-radius:14px; padding:16px; }
.portal-workspace .nwup p { color:var(--muted); }
.portal-workspace .tabbar [aria-current="page"] { color:var(--ink); font-weight:800; }
@media(min-width:900px) {
 body:has(.portal-workspace.with-tabs) #app { max-width:none; margin:0; box-shadow:none; }
 .portal-workspace.with-tabs { padding-left:208px; }
 .portal-workspace.with-tabs > .top { margin-left:-208px; min-height:66px; padding:10px 24px; }
 .portal-workspace.with-tabs > .scroll { width:100%; max-width:1120px; margin:0 auto; padding:32px clamp(24px,4vw,48px) 48px; }
 .portal-workspace.with-tabs > .tabbar { top:66px; left:0; right:auto; bottom:0; transform:none; width:208px; display:flex; flex-direction:column; justify-content:flex-start; gap:4px; padding:16px 12px; border-top:0; border-right:1px solid var(--line); background:var(--paper); }
 .portal-workspace.with-tabs > .tabbar .tab { flex:none; width:100%; flex-direction:row; gap:12px; padding:12px; min-height:48px; border-radius:10px; font-size:15px; justify-content:flex-start; }
 .portal-workspace.with-tabs > .tabbar [aria-current="page"] { background:var(--soft); }
 body:has(.portal-workspace.with-tabs) .scrim { left:0; right:0; width:auto; transform:none; }
 body:has(.portal-workspace.with-tabs) .sheet { width:min(500px,100%); }
 body:has(.portal-workspace.with-tabs) .fab { right:24px; bottom:24px; }
}
@media(min-width:1200px) {
 .home-workspace { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:32px; align-items:start; }
}
@media(prefers-color-scheme:dark) {
 .portal-workspace { --bg:#121416; --paper:#1c1f22; --soft:#262a2e; --line:#393c40; }
 .customer-home .home-pickup { background:#262a2e; color:var(--ink); }
 .customer-home .home-pickup-text p,.customer-home .home-pickup-text .home-kicker { color:var(--muted); }
 .customer-home .home-pickup .btn { background:#f6f4ef; color:#17191b; }
}

/* Action-first order surfaces; keep the same visual system as Business. */
.portal-workspace .order-featured { background:#f5f5f3; border:0; border-radius:18px; padding:20px; box-shadow:none; }
.portal-workspace .order-featured .order-help,.portal-workspace .order-empty .btn { background:#17191b; color:#fff; border-radius:12px; min-height:52px; }
.portal-workspace .order-featured .order-progress { margin:20px 0; }
.portal-workspace .order-empty { display:grid; justify-items:center; text-align:center; gap:12px; padding:28px 20px; background:var(--soft); border:0; }
.portal-workspace .order-empty h2 { font-size:21px; margin:0; }
.portal-workspace .order-empty .btn { max-width:320px; }
.portal-workspace .portal-orders .segbar { margin:20px 0 16px; }
.portal-workspace .portal-orders .segbar button { min-height:44px; }
.portal-workspace .account-help .home-link { border-bottom:0; }
.portal-workspace .account-help .btn-text { display:flex; align-items:center; justify-content:center; }
@media(min-width:900px) {
 .portal-workspace.with-tabs > .scroll:not(:has(~ .top)) { min-width:0; }
 .portal-workspace .portal-account .panel,.portal-workspace .portal-orders .order-card { max-width:800px; }
 .portal-workspace .portal-orders .order-empty { max-width:800px; }
}
@media(prefers-color-scheme:dark) {
 .portal-workspace .order-featured { background:#262a2e; }
 .portal-workspace .order-featured .order-help,.portal-workspace .order-empty .btn { background:#f6f4ef;color:#17191b; }
}

/* Keep image geometry independent of intrinsic HTML dimensions and grid track height. */
.customer-home .home-pickup-copy { grid-template-columns:minmax(0,1fr) minmax(76px,38%); align-items:center; }
.customer-home .home-pickup-text { min-width:0; }
.customer-home .home-pickup .btn { width:100%; }
@media(max-width:380px) {
 .customer-home .home-pickup-copy { grid-template-columns:minmax(0,1fr) minmax(68px,34%); }
}
/* Full-width shell during initial load and failure; no desktop phone-frame flash. */
#app:has(.portal-startup) { max-width:none; margin:0; box-shadow:none; min-height:100dvh; }
.portal-startup { width:100%; max-width:1120px; margin:0 auto; padding:28px 24px 48px; }
.portal-startup .brand { width:148px; height:auto; margin-bottom:32px; }
.portal-startup h1 { font-size:clamp(25px,4vw,34px); }
.portal-startup .btn { max-width:320px; }
@media(min-width:900px) { .portal-startup { padding:40px 48px; } }

/* Action-first customer home — compact, accessible service workspace. */
.customer-home .hi { margin:16px 0 20px; font-size:clamp(28px,4vw,36px); letter-spacing:-.04em; }
.customer-home .nwsw { margin:4px 0 16px; }
.customer-home .nwsw .nwsw-o { min-height:44px; padding:5px 8px; }
.customer-home .home-workspace { gap:24px; }
.customer-home .home-pickup { padding:16px; border-radius:18px; }
.customer-home .home-pickup-copy { gap:12px; margin-bottom:16px; grid-template-columns:minmax(0,1fr) minmax(72px,34%); }
.customer-home .home-pickup-text h2 { margin:0 0 8px; font-size:clamp(24px,3vw,30px); letter-spacing:-.035em; line-height:1.14; }
.customer-home .home-pickup-text p { font-size:14px; line-height:1.45; }
.customer-home .home-link { min-height:60px; padding:10px 0; gap:12px; }
.customer-home .home-link-icon { width:38px; height:38px; }
.customer-home .home-section-title { font-size:20px; margin:0 0 6px; }
.customer-home .order-featured { padding:16px; }
.customer-home .order-featured .order-progress { margin:14px 0; }
@media(min-width:1200px) { .customer-home .home-workspace { gap:32px; } .customer-home .home-pickup { padding:24px; } }

/* Contextual Home cards: scheduled pickups are concise; active orders expose progress. */
.customer-home .home-card-label { font-size:12px; font-weight:750; color:var(--muted); margin:0 0 8px; }
.customer-home .order-featured .order-meta { margin:0 0 10px; }
.customer-home .order-featured h2 { font-size:clamp(24px,3vw,30px); line-height:1.15; margin:0 0 8px; }
.customer-home .home-pickup-window { font-size:14px; color:var(--muted); margin:6px 0 16px; }
.order-card .order-progress { grid-template-columns:repeat(5,minmax(0,1fr)); }
.order-card .order-progress li { font-size:10px; line-height:1.25; overflow-wrap:anywhere; }
.customer-home .home-pickup .btn,.customer-home .order-featured .order-help { display:flex; justify-content:space-between; align-items:center; padding-inline:16px; }
.customer-home .home-secondary { padding:4px 0; }
@media(min-width:900px) and (max-width:1199px) { .customer-home .home-workspace { grid-template-columns:minmax(0,1fr) minmax(240px,.9fr); gap:24px; } }
@media(max-width:380px) { .order-card .order-progress li { font-size:9px; } }

/* Quiet repeat-booking action, without competing with the active order CTA. */
.customer-home .home-next-actions { margin-top:12px; }
.customer-home .home-next-actions .btn-line { width:100%; min-height:48px; border-radius:12px; border:1px solid var(--line); background:transparent; color:var(--ink); }
.customer-home .home-next-actions .btn-line:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.portal-account .nwup { max-width:800px; }

/* Text-first Home: no reserved artwork column. */
.customer-home .home-pickup-copy { display:block; margin:0 0 20px; }
.customer-home .home-pickup-text h2 { max-width:100%; }
.customer-home .home-pickup { padding:24px; }
.customer-home .home-pickup .btn { min-height:52px; }
.portal-pending .pending-status { margin:10px 0 0; font-size:12px; color:var(--muted); }
.portal-pending .pending-links { display:grid; gap:0; }
.portal-pending .pending-links span { display:block; height:54px; border-bottom:1px solid var(--line); position:relative; }
.portal-pending .pending-links span::before { content:''; display:block; width:48%; height:12px; border-radius:6px; background:var(--soft-2); position:absolute; top:21px; left:0; }
.portal-pending .home-pickup .btn:disabled { opacity:.48; cursor:default; }
.portal-workspace:has(.portal-pending) .tabbar button:disabled { opacity:.5; cursor:default; }
@media(max-width:599px) { .customer-home .home-pickup { padding:18px; } }


/* Booking: a quiet, action-first sequence with one clear selection and one CTA. */
.booking-screen { padding-top:calc(12px + var(--safe-t)); padding-bottom:calc(116px + var(--safe-b)); }
.booking-screen .back { min-height:44px; margin-bottom:12px; }
.booking-eyebrow { margin:4px 0 10px; font-size:12px; font-weight:750; color:var(--muted); letter-spacing:.02em; }
.booking-screen h1 { font-size:clamp(28px,5vw,36px); line-height:1.12; letter-spacing:-.045em; margin:0 0 8px; }
.booking-screen .lede { font-size:15px; line-height:1.45; margin:0 0 20px; }
.booking-intro { display:flex; align-items:center; justify-content:space-between; gap:16px; background:var(--soft); border-radius:16px; padding:14px 16px; margin-bottom:16px; }
.booking-intro b,.booking-intro small { display:block; }
.booking-intro small { color:var(--muted); margin-top:4px; font-size:13px; }
.booking-intro img { flex:none; width:76px; height:76px; object-fit:cover; border-radius:10px; }
.booking-plans { display:grid; gap:10px; }
.booking-plans .booking-plan { display:grid; grid-template-columns:minmax(0,1fr) auto 24px; align-items:center; gap:12px; padding:16px; margin:0; min-height:84px; text-align:left; background:var(--paper); border:1px solid var(--line); border-radius:14px; }
.booking-plans .booking-plan[aria-pressed="true"] { border:2px solid var(--ink); padding:15px; box-shadow:none; }
.booking-plan-main b { font-size:17px; line-height:1.2; }
.booking-plan-main small { font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.booking-plan-price { text-align:right; white-space:nowrap; }
.booking-plan-price b { font-size:19px; letter-spacing:-.03em; }
.booking-plan-price small { font-size:12px; }
.booking-plans .booking-plan .mark { margin:0; width:24px; height:24px; }
.booking-plans .booking-plan[aria-pressed="true"] .mark { color:#fff; background:#17191b; border-color:#17191b; }
.booking-terms { margin:14px 0; line-height:1.5; }
.booking-dock .btn,.booking-sheet .sticky-cta .btn { display:flex; align-items:center; justify-content:space-between; min-height:52px; border-radius:12px; background:#17191b; color:#fff; }
.booking-sheet .pickup-address { margin-bottom:18px; }
.booking-sheet .dates { padding:4px 2px 10px; margin-bottom:12px; }
.booking-sheet .date { min-width:76px; min-height:86px; }
.booking-sheet .tmr { font-size:10px; padding:2px 4px; white-space:nowrap; }
.booking-summary { margin:16px 0; border-block:1px solid var(--line); }
.booking-summary > div { display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:12px 0; font-size:14px; }
.booking-summary > div + div { border-top:1px solid var(--line); }
.booking-summary span { color:var(--muted); flex:1; }
.booking-summary b { text-align:right; overflow-wrap:anywhere; }
.booking-disclosure { border-block:1px solid var(--line); margin:12px 0; }
.booking-disclosure summary { padding:12px 0; min-height:44px; font-size:14px; font-weight:650; cursor:pointer; }
.booking-disclosure p { margin:0 0 12px; }
@media(min-width:900px) {
 .portal-workspace.with-tabs > .booking-screen { max-width:760px; padding-bottom:120px; }
 .portal-workspace.with-tabs .booking-dock { left:208px; right:0; width:auto; transform:none; display:flex; justify-content:center; }
 .portal-workspace.with-tabs .booking-dock .btn { max-width:650px; }
}
@media(max-width:360px) {
 .booking-plans .booking-plan { gap:8px; padding:12px; }
 .booking-plans .booking-plan[aria-pressed="true"] { padding:11px; }
 .booking-plan-price b { font-size:17px; }
}
@media(prefers-color-scheme:dark) {
 .booking-plans .booking-plan[aria-pressed="true"] .mark,.booking-dock .btn,.booking-sheet .sticky-cta .btn { background:#f6f4ef; color:#17191b; border-color:#f6f4ef; }
}

/* Account: compact settings hub, matching Home's visual hierarchy. */
.portal-account .account-workspace { display:grid; gap:28px; margin-top:24px; align-items:start; }
.portal-account .account-workspace>div { min-width:0; display:grid; gap:24px; }
.portal-account .account-identity { background:var(--soft); border-radius:16px; padding:18px; }
.portal-account .account-identity .profile { padding:0 0 16px; gap:12px; }
.portal-account .account-identity .av { background:var(--ink); color:var(--paper); width:48px; height:48px; font-size:16px; flex:none; }
.portal-account .account-identity-name { min-width:0; overflow-wrap:anywhere; }
.portal-account .account-identity-name b { display:block; font-size:18px; }
.portal-account .account-identity-name small { display:block; color:var(--muted); font-size:13px; margin-top:3px; }
.portal-account .account-phone { display:flex; gap:10px; align-items:center; border-top:1px solid var(--line); padding-top:8px; font-size:14px; flex-wrap:wrap; }
.portal-account .account-phone>span { color:var(--muted); }
.portal-account .account-phone>b { margin-left:auto; font-weight:600; overflow-wrap:anywhere; min-width:0; }
.portal-account .account-edit { border:0; border-radius:8px; background:var(--paper); color:var(--ink); min-height:44px; padding:0 14px; font-weight:700; }
.portal-account .account-edit-form { margin-top:16px; }
.portal-account .account-edit-form .btn { min-height:48px; }
.portal-account .account-group h2 { font-size:20px; margin:0 0 10px; line-height:1.2; }
.portal-account .account-row { min-height:64px; padding:10px 0; width:100%; text-align:left; background:none; border:0; border-bottom:1px solid var(--line); color:var(--ink); }
.portal-account .account-row b { font-size:15px; line-height:1.3; }
.portal-account .account-row small { line-height:1.4; }
.portal-account .account-disclosure summary { cursor:pointer; list-style:none; }
.portal-account .account-disclosure summary::-webkit-details-marker { display:none; }
.portal-account .account-disclosure[open] .account-chevron { transform:rotate(90deg); }
.portal-account .account-disclosure-body { border-bottom:1px solid var(--line); padding:14px 0 16px 52px; }
.portal-account .account-disclosure-body .btn-line { min-height:48px; }
.portal-account .account-signout { min-height:48px; width:100%; border:1px solid var(--line); border-radius:12px; font-weight:700; background:transparent; color:var(--ink); }
.portal-account :is(.account-edit,.account-signout,.account-row):focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
@media(min-width:1050px) { .portal-account .account-workspace { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; } }
@media(max-width:380px) { .portal-account .account-disclosure-body { padding-left:0; } }

/* Profile-first Account. Full-width identity and contextual setup, then balanced settings. */
.portal-account > .account-identity { margin-top:20px; padding:18px 20px; }
.portal-account > .account-identity .profile { padding-bottom:14px; }
.portal-account .account-identity .av { width:52px; height:52px; font-size:18px; }
.portal-account .account-setup { display:grid; grid-template-columns:44px minmax(0,1fr); align-items:center; gap:12px; padding:18px; margin-top:16px; border:1px solid var(--line); border-radius:16px; }
.portal-account .account-setup-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--soft); }
.portal-account .account-setup-icon svg { width:24px; height:24px; }
.portal-account .account-setup h2 { font-size:18px; line-height:1.3; margin:0 0 3px; }
.portal-account .account-setup p { font-size:14px; color:var(--muted); line-height:1.4; margin:0; }
.portal-account .account-setup .btn { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:48px; border-radius:10px; text-decoration:none; }
.portal-account .account-workspace { gap:28px; margin-top:28px; }
.portal-account .account-row { min-height:60px; padding:9px 0; }
.portal-account .account-row .home-link-icon { width:36px; height:36px; border-radius:9px; }
.portal-account .account-row .home-link-icon svg { width:20px; height:20px; }
.portal-account .account-footer { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:24px; padding-top:12px; border-top:1px solid var(--line); }
.portal-account .account-footer a { font-size:14px; color:var(--muted); text-decoration:underline; text-underline-offset:3px; padding:12px 0; }
.portal-account .account-footer .account-signout { width:auto; min-width:112px; border:0; background:var(--soft); padding:0 16px; }
@media(min-width:1050px) {
 .portal-account > .account-identity { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.75fr); gap:14px 24px; align-items:center; }
 .portal-account > .account-identity .profile { padding:0; }
 .portal-account > .account-identity .account-phone { border:0; border-left:1px solid var(--line); padding:0 0 0 24px; }
 .portal-account > .account-identity .account-edit-form { grid-column:1/-1; max-width:480px; }
 .portal-account .account-setup { grid-template-columns:44px minmax(0,1fr) auto; gap:16px; }
 .portal-account .account-setup .btn { grid-column:auto; min-width:160px; width:auto; }
 .portal-account .account-workspace { gap:40px; }
}
@media(max-width:380px) { .portal-account .account-setup { padding:14px; } .portal-account .account-phone { gap:8px; } }

/* Portal action palette: orange remains a brand/status accent, not a CTA fill. */
:root { --action-bg:#17191b; --action-fg:#fff; --action-hover:#000; --action-active:#303236; }
.btn:not(.btn-ink), .onboard .btn, .fab { background:var(--action-bg); color:var(--action-fg); }
.btn:not(.btn-ink):hover:not(:disabled), .onboard .btn:hover:not(:disabled), .fab:hover { background:var(--action-hover); }
.btn:not(.btn-ink):active:not(:disabled), .onboard .btn:active:not(:disabled), .fab:active { background:var(--action-active); }
.btn:not(.btn-ink):disabled, .btn:not(.btn-ink)[aria-busy=true] { background:var(--action-bg); color:var(--action-fg); opacity:.55; cursor:default; }
.date[aria-pressed=true],.chip[aria-pressed=true],.plan[aria-pressed=true] .mark { background:var(--action-bg); border-color:var(--action-bg); color:var(--action-fg); }
@media(prefers-color-scheme:dark) { :root { --action-bg:#f6f4ef; --action-fg:#17191b; --action-hover:#fff; --action-active:#dedede; } }
