/* Rinse — "Rinse Cycle"
   The whole app is a washing machine seen from the front. The porthole is the hero of every screen: the water
   level is what is left of your month, the ring round it lights up as the clothes go through the drum, and the
   clothes tumble while they wash. Deep drum-navy, soap blue, foam white, and a fabric-softener lime for the
   one thing to tap. */
:root {
  --drum: #0A1F44; --drum-2: #06142F; --drum-3: #15306A; --drum-line: rgba(10, 31, 68, .12);
  --soap: #2F6BFF; --soap-2: #1E4FD6; --soap-soft: #E6EEFF;
  --aqua: #7FD8F5; --aqua-2: #39B8E6; --aqua-soft: #E4F7FD;
  --lime: #C6F432; --lime-2: #A4D10F; --lime-soft: #F3FCD6;
  --coral: #FF6B5B; --coral-soft: #FFE6E2; --mint: #17A673; --mint-soft: #DDF5EA; --sun: #FFB020; --sun-soft: #FFF2D9;
  --foam: #F3F7FF; --paper: #FFFFFF;
  --text: #0B1530; --muted: #56627F; --faint: #96A0B8;
  --r: 24px; --r-sm: 15px;
  --shadow: 0 1px 0 rgba(10, 31, 68, .04), 0 12px 32px -14px rgba(6, 20, 47, .28);
  --shadow-lg: 0 34px 70px -24px rgba(6, 20, 47, .55);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif; --ui: 'Figtree', system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --suds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%237FD8F5' stroke-opacity='.10' stroke-width='1.4'%3E%3Ccircle cx='22' cy='26' r='12'/%3E%3Ccircle cx='38' cy='14' r='5'/%3E%3Ccircle cx='86' cy='70' r='16'/%3E%3Ccircle cx='66' cy='92' r='6'/%3E%3Ccircle cx='104' cy='42' r='4'/%3E%3Ccircle cx='18' cy='96' r='8'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--drum-2); }
body { font-family: var(--ui); color: var(--text); background: var(--drum-2) var(--suds); min-height: 100dvh; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--foam); position: relative; overflow-x: clip; box-shadow: 0 0 90px rgba(0, 0, 0, .4); }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; } .center { text-align: center; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.small { font-size: 13px; } .tiny { font-size: 11.5px; } .b { font-weight: 700; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.display { font-family: var(--display); letter-spacing: -.02em; }
svg { flex-shrink: 0; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes wave { to { transform: translateX(-50%); } }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-150px) scale(1.1); opacity: 0; } }
@keyframes tumble { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes foam { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-110vh) scale(1.2); opacity: 0; } }
.rise { animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; }
.rise:nth-child(2) { animation-delay: .05s; } .rise:nth-child(3) { animation-delay: .1s; } .rise:nth-child(4) { animation-delay: .15s; } .rise:nth-child(5) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- the porthole ---------- */
.port { position: relative; width: 220px; aspect-ratio: 1; margin: 0 auto; }
.port svg { width: 100%; height: 100%; display: block; overflow: visible; }
.port .water { transition: transform 1.4s cubic-bezier(.3, .7, .2, 1); }
.port .wv { animation: wave 5.5s linear infinite; }
.port .wv2 { animation: wave 8s linear infinite reverse; }
.port .bub { animation: bubble 4.2s ease-in infinite; transform-box: fill-box; }
.port .clothes { transform-origin: 110px 110px; }
.port.spin .clothes { animation: tumble 2.6s cubic-bezier(.5, .1, .5, .9) infinite; }
.port.slow .clothes { animation: tumble 9s linear infinite; }
.port .tick { transition: stroke .5s, opacity .5s; }
.port .tick.on { stroke: var(--lime); }
.port .tick.now { stroke: var(--lime); animation: pulse 1.4s ease-in-out infinite; }
.port .read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; color: #fff; text-shadow: 0 2px 12px rgba(6, 20, 47, .55); }
.port .read .n { font-family: var(--display); font-weight: 800; font-size: 58px; line-height: .9; letter-spacing: -.04em; }
.port .read .n small { font-size: 24px; opacity: .7; font-weight: 700; }
.port .read .l { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-top: 6px; opacity: .92; }
.port.sm { width: 76px; } .port.sm .read .n { font-size: 22px; } .port.sm .read .l { display: none; }
.port.md { width: 150px; } .port.md .read .n { font-size: 38px; } .port.md .read .l { font-size: 11px; }
.port.lg { width: 248px; }
.port.empty .read .n { font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.25; max-width: 130px; }

/* ---------- splash ---------- */
.splash { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--drum) var(--suds); color: #fff; transition: opacity .5s, visibility .5s; }
.splash.gone { opacity: 0; visibility: hidden; }
.splash .inner { text-align: center; }
.splash .port { width: 170px; animation: pop .8s cubic-bezier(.2, .9, .3, 1.3) both; }
.splash .word { font-family: var(--display); font-weight: 800; font-size: 50px; letter-spacing: -2px; margin-top: 14px; animation: rise .6s .3s both; }
.splash .tag { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; opacity: .7; margin-top: 2px; animation: rise .6s .45s both; }

/* ---------- welcome / role ---------- */
.welcome { min-height: 100dvh; background: radial-gradient(120% 70% at 50% 0%, var(--drum-3), var(--drum) 55%, var(--drum-2)); color: #fff; padding: calc(24px + env(safe-area-inset-top)) 22px calc(24px + var(--safe-b)); display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.welcome::before { content: ''; position: absolute; inset: 0; background: var(--suds); z-index: -1; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.brand .dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 9%), conic-gradient(var(--aqua), var(--soap), var(--aqua)); box-shadow: inset 0 0 0 4px #DDE6F7, inset 0 0 0 6px var(--drum); }
.welcome .port { margin: 18px auto 4px; }
.welcome h1 { font-family: var(--display); font-weight: 800; font-size: 43px; line-height: .98; letter-spacing: -.045em; margin: 14px 0 10px; }
.welcome h1 em { font-style: normal; color: var(--lime); }
.welcome .lede { opacity: .8; font-size: 15px; line-height: 1.55; max-width: 36ch; }
.roles { display: grid; gap: 12px; margin-top: auto; padding-top: 26px; }
.role { position: relative; text-align: left; border-radius: var(--r); padding: 20px 56px 18px 20px; background: var(--paper); color: var(--text); box-shadow: var(--shadow-lg); transition: transform .2s; }
.role:active { transform: scale(.98); }
.role .k { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--soap); }
.role .t { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.role .d { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.role .go { position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soap); color: #fff; font-size: 18px; }
.role.biz { background: var(--lime); }
.role.biz .k { color: var(--drum); opacity: .7; } .role.biz .d { color: #2B3A12; } .role.biz .go { background: var(--drum); }
.fine { text-align: center; font-size: 12px; opacity: .6; margin-top: 14px; }

/* ---------- paywall / setup ---------- */
.pay { min-height: 100dvh; background: radial-gradient(120% 60% at 50% 0%, var(--drum-3), var(--drum) 60%); color: #fff; padding: calc(20px + env(safe-area-inset-top)) 22px calc(30px + var(--safe-b)); }
.pay h1 { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.04em; margin: 22px 0 10px; }
.pay h1 em { font-style: normal; color: var(--lime); }
.pay .lede { opacity: .8; line-height: 1.55; font-size: 15px; }
.perks { display: grid; gap: 10px; margin-top: 22px; }
.perk { display: flex; gap: 13px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-sm); padding: 13px 14px; }
.perk .ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(127, 216, 245, .14); color: var(--aqua); display: grid; place-items: center; }
.perk .ic svg { width: 21px; height: 21px; }
.perk b { display: block; font-size: 14.5px; } .perk span { font-size: 13px; opacity: .72; line-height: 1.45; }
.price-card { background: var(--paper); color: var(--text); border-radius: var(--r); padding: 22px 20px; margin-top: 22px; box-shadow: var(--shadow-lg); }
.price-card .amt { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.04em; }
.price-card .per { font-size: 15px; font-weight: 700; color: var(--muted); }
.price-card .vs { font-size: 13.5px; color: var(--muted); margin: 6px 0 16px; line-height: 1.5; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.progress i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.progress i.d { background: var(--aqua); } .progress i.n { background: var(--lime); }

/* ---------- top bar, body, nav ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: rgba(243, 247, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--drum-line); }
.top .title { flex: 1; min-width: 0; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.top .title small { display: block; font-family: var(--ui); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow); color: var(--drum); position: relative; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .dotn { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--paper); }
.body { padding: 16px 16px calc(110px + var(--safe-b)); }
.nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; padding: 0 12px calc(10px + var(--safe-b)); pointer-events: none; }
.nav .in { max-width: 456px; margin: 0 auto; display: flex; background: var(--drum); border-radius: 26px; padding: 7px; box-shadow: var(--shadow-lg); pointer-events: auto; }
.nav button { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 8px 2px 7px; border-radius: 19px; color: rgba(255, 255, 255, .62); font-size: 11px; font-weight: 700; position: relative; transition: background .2s, color .2s; }
.nav button svg { width: 22px; height: 22px; }
.nav button.on { background: rgba(127, 216, 245, .14); color: #fff; }
.nav button.on svg { color: var(--lime); }
.nav .count { position: absolute; top: 3px; right: calc(50% - 22px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--lime); color: var(--drum); font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }

/* ---------- buttons, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 18px; border-radius: 17px; background: var(--soap); color: #fff; font-weight: 800; font-size: 15.5px; box-shadow: 0 10px 22px -12px rgba(47, 107, 255, .9); transition: transform .15s, opacity .2s; text-decoration: none; }
.btn:active { transform: scale(.98); } .btn:disabled { opacity: .55; }
.btn svg { width: 19px; height: 19px; }
.btn.lime { background: var(--lime); color: var(--drum); box-shadow: 0 10px 22px -12px rgba(140, 180, 10, .9); }
.btn.drum { background: var(--drum); color: #fff; box-shadow: none; }
.btn.ghost { background: var(--paper); color: var(--drum); box-shadow: inset 0 0 0 1.5px var(--drum-line); }
.btn.wa { background: #1FAF5A; box-shadow: 0 10px 22px -12px rgba(31, 175, 90, .9); }
.btn.danger { background: var(--coral); box-shadow: none; }
.btn.sm { width: auto; padding: 9px 14px; border-radius: 13px; font-size: 13.5px; }
.btn.xs { width: auto; padding: 7px 11px; border-radius: 11px; font-size: 12.5px; box-shadow: none; }
.btns { display: flex; gap: 10px; } .btns > * { flex: 1; }
.link { color: var(--soap); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.pay .link { color: var(--aqua); }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--drum-line); background: var(--paper); font-size: 16px; outline: none; transition: border .2s, box-shadow .2s; }
.input:focus { border-color: var(--soap); box-shadow: 0 0 0 4px var(--soap-soft); }
textarea.input { resize: vertical; min-height: 76px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 19px; height: 19px; color: var(--faint); }
.search .input { padding-left: 42px; border-radius: 18px; }

/* ---------- chips, pills, segments, toggles ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 8px 13px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--drum-line); font-size: 13px; font-weight: 700; color: var(--drum); white-space: nowrap; }
.chip.on { background: var(--drum); color: #fff; box-shadow: none; }
.chip .c { opacity: .6; margin-left: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 9px; border-radius: 999px; background: var(--soap-soft); color: var(--soap-2); font-size: 11.5px; font-weight: 700; }
.tag.aqua { background: var(--aqua-soft); color: #0C7AA3; } .tag.lime { background: var(--lime-soft); color: #5A7206; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.active { background: var(--mint-soft); color: var(--mint); } .pill.due { background: var(--sun-soft); color: #B26F00; }
.pill.lapsed { background: var(--coral-soft); color: #D8402F; } .pill.pending { background: #EEF0F5; color: var(--muted); }
.pill.stage { background: var(--soap-soft); color: var(--soap-2); } .pill.ready { background: var(--lime-soft); color: #5A7206; }
.seg { display: flex; background: #E6ECF8; border-radius: 15px; padding: 4px; gap: 4px; }
.seg button { flex: 1; padding: 10px 6px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.seg button.on { background: var(--paper); color: var(--drum); box-shadow: var(--shadow); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days button { padding: 11px 0; border-radius: 13px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--drum-line); font-weight: 800; font-size: 13px; }
.days button.on { background: var(--soap); color: #fff; box-shadow: none; }
.switch { width: 50px; height: 30px; border-radius: 15px; background: #CBD3E4; position: relative; transition: background .2s; flex-shrink: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch.on { background: var(--mint); } .switch.on::after { transform: translateX(20px); }
.qty { display: flex; align-items: center; gap: 4px; background: #E6ECF8; border-radius: 15px; padding: 4px; }
.qty button { width: 40px; height: 40px; border-radius: 11px; background: var(--paper); font-size: 20px; font-weight: 800; color: var(--drum); box-shadow: var(--shadow); }
.qty button:disabled { opacity: .35; }
.qty b { min-width: 34px; text-align: center; font-family: var(--display); font-size: 22px; }

/* ---------- cards ---------- */
.card { background: var(--paper); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); display: block; width: 100%; text-align: left; }
.card + .card { margin-top: 10px; }
.card.tap { transition: transform .15s; } .card.tap:active { transform: scale(.985); }
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 10px; }
.sec h3 { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.sec .n { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-soft); color: #0C7AA3; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.av.lime { background: var(--lime-soft); color: #5A7206; }
.meter { height: 8px; border-radius: 4px; background: #E6ECF8; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--aqua-2), var(--soap)); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--drum-line); font-size: 14px; }
.kv:last-child { border-bottom: 0; } .kv span { color: var(--muted); } .kv b { text-align: right; }
.hero { background: radial-gradient(120% 90% at 50% 0%, var(--drum-3), var(--drum)); color: #fff; border-radius: 30px; padding: 22px 18px 20px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--suds); opacity: .9; pointer-events: none; }
.hero > * { position: relative; }
.hero .hi { font-size: 13px; font-weight: 700; opacity: .7; }
.hero h2 { font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero .facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 14px; }
.hero .facts span { padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; }
.hero .facts span b { color: var(--lime); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stat { background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 11px 10px; }
.stat b { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 11px; opacity: .72; font-weight: 600; }
.banner { display: flex; gap: 12px; align-items: center; border-radius: 20px; padding: 14px; margin-bottom: 12px; background: var(--sun-soft); }
.banner.red { background: var(--coral-soft); } .banner.lime { background: var(--lime-soft); } .banner.blue { background: var(--soap-soft); }
.banner .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .7); }
.banner .ic svg { width: 20px; height: 20px; }
.banner b { display: block; font-size: 14px; } .banner span { font-size: 12.5px; color: var(--muted); }

/* laundry card (customer find) */
.lc .name { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.lc .where { font-size: 13px; color: var(--muted); margin-top: 2px; }
.lc .from { font-size: 13px; color: var(--muted); } .lc .from b { font-family: var(--display); font-size: 19px; color: var(--drum); }
.covers { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--mint); }
.covers svg { width: 15px; height: 15px; }

/* plan card */
.plan { border-radius: 22px; padding: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--drum-line); position: relative; }
.plan + .plan { margin-top: 10px; }
.plan .pn { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.plan .pp { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.plan .pp small { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.plan ul { list-style: none; margin: 10px 0 12px; display: grid; gap: 5px; font-size: 13.5px; }
.plan li { display: flex; gap: 8px; align-items: center; } .plan li svg { width: 16px; height: 16px; color: var(--soap); }
.plan.best { box-shadow: inset 0 0 0 2px var(--soap); }
.plan.best::after { content: 'Most picked'; position: absolute; top: -9px; right: 14px; background: var(--soap); color: #fff; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; }
.plan.off { opacity: .55; }

/* stage stepper */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 10px; }
.steps button, .steps div { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--faint); padding-top: 26px; position: relative; }
.steps button::before, .steps div::before { content: ''; position: absolute; top: 4px; left: 50%; translate: -50% 0; width: 18px; height: 18px; border-radius: 50%; background: #E6ECF8; box-shadow: inset 0 0 0 2px #fff; }
.steps button::after, .steps div::after { content: ''; position: absolute; top: 12px; left: calc(50% + 11px); width: calc(100% - 18px); height: 3px; border-radius: 2px; background: #E6ECF8; }
.steps > :last-child::after { display: none; }
.steps .d { color: var(--drum); } .steps .d::before { background: var(--soap); } .steps .d::after { background: var(--soap); }
.steps .n { color: var(--drum); } .steps .n::before { background: var(--lime); box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(198, 244, 50, .4); }
.timeline { list-style: none; margin-top: 8px; }
.timeline li { display: flex; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.timeline li i { width: 10px; height: 10px; border-radius: 50%; background: var(--soap); margin-top: 5px; flex-shrink: 0; }
.timeline li span { color: var(--muted); margin-left: auto; font-size: 12.5px; }

/* order card */
.oc .what { font-weight: 800; font-size: 15px; }
.oc .meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.addr { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 8px; }
.addr svg { width: 16px; height: 16px; margin-top: 1px; color: var(--soap); }
.acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.acts .btn { flex: 1; min-width: 0; }

/* how it works */
.how { counter-reset: how; display: grid; gap: 10px; }
.how div { display: flex; gap: 12px; align-items: flex-start; }
.how div::before { counter-increment: how; content: counter(how); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--drum); font-weight: 800; flex-shrink: 0; }
.how b { display: block; font-size: 14.5px; } .how span { font-size: 13px; color: var(--muted); }

/* empty states */
.empty { text-align: center; padding: 26px 18px; }
.empty .port { margin-bottom: 8px; }
.empty h4 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.empty p { color: var(--muted); font-size: 14px; margin: 6px auto 16px; max-width: 32ch; line-height: 1.5; }

/* ---------- sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(6, 20, 47, .52); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s both; }
.scrim.closing { opacity: 0; transition: opacity .2s; }
.sheet { width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto; background: var(--foam); border-radius: 28px 28px 0 0; padding: 12px 18px calc(26px + var(--safe-b)); position: relative; animation: sheetUp .32s cubic-bezier(.2, .9, .3, 1) both; overscroll-behavior: contain; }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: #CBD3E4; margin: 0 auto 12px; }
.sheet .x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow); color: var(--drum); z-index: 2; }
.sheet .x svg { width: 18px; height: 18px; }
.sheet h2 { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.03em; padding-right: 44px; line-height: 1.1; }
.sheet .sub { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }
.sheet .lab { font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 8px; }

/* ---------- toast, install, update, celebration ---------- */
.toast { position: fixed; left: 50%; bottom: calc(100px + var(--safe-b)); z-index: 70; translate: -50% 20px; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; background: var(--drum); color: #fff; padding: 12px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; max-width: min(92vw, 420px); box-shadow: var(--shadow-lg); text-align: center; }
.toast.on { opacity: 1; translate: -50% 0; }
.install-card { display: flex; align-items: center; gap: 12px; background: var(--drum); color: #fff; border-radius: 20px; padding: 12px; margin-bottom: 14px; }
.install-card b { display: block; font-size: 14px; } .install-card span { font-size: 12px; opacity: .7; }
.install-card .brand .dot { width: 34px; height: 34px; }
.install-card .x2 { width: 30px; height: 30px; display: grid; place-items: center; opacity: .6; } .install-card .x2 svg { width: 16px; height: 16px; }
.update-bar { position: fixed; left: 50%; translate: -50% 0; top: calc(10px + env(safe-area-inset-top)); z-index: 80; display: flex; gap: 12px; align-items: center; background: var(--drum); color: #fff; padding: 10px 10px 10px 16px; border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 600; width: max-content; max-width: 94vw; }
.suds-burst { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.suds-burst i { position: absolute; bottom: -40px; border-radius: 50%; border: 2px solid rgba(127, 216, 245, .9); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(127, 216, 245, .25) 60%); animation: foam 2.2s ease-out both; }
.ios-steps { padding-left: 20px; display: grid; gap: 10px; font-size: 14.5px; } .ios-steps span { color: var(--muted); }
.note { font-size: 12.5px; color: var(--muted); background: var(--paper); border-radius: 14px; padding: 11px 13px; line-height: 1.5; box-shadow: inset 0 0 0 1px var(--drum-line); }
.waits { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: tumble .8s linear infinite; }
