/* ==========================================================================
   Fate Ondaba — customer app (PWA)
   Layout: one app column (phone width; centred on larger screens), a hero card in the
   theme colour, white floating cards on a light ground, floating bottom tab bar.
   Themes: graphite (default) · forest · petrol · navy · aubergine · cream  — set on <html data-theme>
   ========================================================================== */

:root {
  /* Brand + semantic colours */
  --emerald: #10AD78; --emerald-dk: #087D58; --emerald-lt: #5BE0AE; --mint: #DFF5E9;
  --white: #FFFFFF; --bg: #F5F7F6; --ink: #17211E; --muted: #89938F; --muted-text: #66716D; --line: #E7ECE9;
  --amber: #F6B83F; --amber-bg: #FEF4DF; --amber-ink: #8A5B00;
  --red: #D94848; --red-bg: #FBE9E9; --red-ink: #A33434;
  --blue-bg: #E7F0FB; --blue-ink: #2659A6;
  --tile: #F3F3F3; --surround: #E3E9E6; --wa: #25D366; --wa-ink: #06301B;

  /* Hero theme (graphite default) */
  --hero: #141719; --hero-2: #202427; --hero-3: #2C3135;
  --hm1: #B6BCBF; --hm2: #A0A7AB; --hm3: #91989C; --hm4: #82898D;
  --hero-ink: #FFFFFF;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif; --font-heading: 'DM Sans', 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --app-w: 460px; --r-card: 16px; --r-input: 11px; --r-btn: 12px;
  --shadow-float: 0 12px 22px -12px rgba(23, 33, 30, .30), 0 2px 5px -1px rgba(23, 33, 30, .07);
  --shadow-tile: 0 12px 22px -10px rgba(23, 33, 30, .28), 0 3px 6px -2px rgba(23, 33, 30, .08), inset 0 1px 0 #FFFFFF;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
:root[data-theme="forest"]    { --hero: #062A20; --hero-2: #0C3A2D; --hero-3: #164A3B; --hm1: #B5C7C0; --hm2: #9FB5AD; --hm3: #8FA69E; --hm4: #7F9A90; }
:root[data-theme="petrol"]    { --hero: #08343A; --hero-2: #0F4650; --hero-3: #1A5964; --hm1: #AFCDD0; --hm2: #97B9BD; --hm3: #88AAAE; --hm4: #76999F; }
:root[data-theme="navy"]      { --hero: #0B1B2E; --hero-2: #14273F; --hero-3: #203652; --hm1: #B2BFCF; --hm2: #9BABBF; --hm3: #8A9BB0; --hm4: #7B8DA4; }
:root[data-theme="aubergine"] { --hero: #22142A; --hero-2: #2F1E39; --hero-3: #3E2A4A; --hm1: #C6B8CE; --hm2: #B0A0BA; --hm3: #A090AA; --hm4: #8F7E9A; }
:root[data-theme="cream"]     { --hero: #FEFBF3; --hero-2: #FFFFFF; --hero-3: #E8DEC6; --hm1: #5E5A50; --hm2: #7A7362; --hm3: #9A9382; --hm4: #8C8574; --hero-ink: #17211E; --bg: #F6F1E5; --surround: #EDE6D6; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--surround); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--emerald-dk); }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--font-display); letter-spacing: -.02em; font-weight: 700; }h1{font-family:var(--font-heading)}h2,h3{font-family:var(--font-heading)}
p { margin: 0; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Icons */
.ic { width: 22px; height: 22px; flex-shrink: 0; }
.ic-sm { width: 18px; height: 18px; flex-shrink: 0; }
.ic-xs { width: 15px; height: 15px; flex-shrink: 0; }
.ic-lg { width: 24px; height: 24px; flex-shrink: 0; }
.d3 { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 2px 2px rgba(23, 33, 30, .08)); }

/* ---- App shell ------------------------------------------------------------ */
.app { position: relative; max-width: var(--app-w); margin: 0 auto; min-height: 100%; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.screen { padding-bottom: calc(104px + var(--safe-b)); }
.screen.has-bar { padding-bottom: calc(196px + var(--safe-b)); }
.screen.flow { padding-bottom: calc(108px + var(--safe-b)); }
.screen.no-tabs { padding-bottom: calc(28px + var(--safe-b)); }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page { padding-block: 14px 8px; }
.stack { display: flex; flex-direction: column; }
.g4 { gap: 4px; } .g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g16 { gap: 16px; } .g20 { gap: 20px; } .g24 { gap: 24px; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted-text); }
.small { font-size: 13.5px; } .xs { font-size: 12px; }
.strong { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }

.topbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; padding-block: 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); background: var(--white); border-bottom: 1px solid var(--line); }
.topbar h1, .topbar .tb-title { font-size: 17px; font-weight: 700; flex: 1; text-align: center; margin-right: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.topbar h1{font-size:16.15px}
.topbar.left h1 { text-align: left; margin-right: 0; font-size: 19.95px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); text-decoration: none; position: relative; }

/* Floating tab bar */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); width: calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); max-width: calc(var(--app-w) - 24px); height: 64px; padding: 7px; display: flex; gap: 4px; border-radius: 24px; background: var(--hero); box-shadow: 0 18px 34px -14px rgba(6, 20, 15, .55), 0 4px 10px -4px rgba(6, 20, 15, .25), inset 0 1px 0 rgba(255, 255, 255, .08); z-index: 30; }
.tabbar a { flex: 1 1 0; min-width: 0; height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 17px; color: var(--hm2); text-decoration: none; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; transition: flex-grow .25s ease, background .2s, color .2s; }
.tabbar a .lbl { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .25s ease, opacity .2s; }
.tabbar a:hover { color: var(--white); }
.tabbar a[aria-current="page"] { flex-grow: 2.1; background: var(--emerald); color: var(--white); }
.tabbar a[aria-current="page"] .lbl { max-width: 110px; opacity: 1; }
.tabbar .badge-dot { position: relative; display: inline-flex; }
.tabbar .badge-dot::after { content: ""; position: absolute; top: -2px; right: -3px; width: 8px; height: 8px; border-radius: 4px; background: var(--amber); border: 2px solid var(--hero); }
:root[data-theme="cream"] .tabbar { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid #ECE3CE; box-shadow: 0 18px 34px -16px rgba(80, 62, 20, .35); }
:root[data-theme="cream"] .tabbar a { color: #7A7362; }
:root[data-theme="cream"] .tabbar a:hover { color: var(--ink); }
:root[data-theme="cream"] .tabbar a[aria-current="page"] { background: #062A20; color: var(--white); }
:root[data-theme="cream"] .tabbar .badge-dot::after { border-color: var(--white); }

/* Fixed action bars */
.action-bar { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--app-w); background: var(--white); border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: calc(12px + var(--safe-b)); z-index: 25; box-shadow: 0 -6px 18px rgba(6, 42, 32, .06); bottom: 0; }
.action-bar.above-tabs { padding-bottom: calc(88px + var(--safe-b)); }
.bar-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 12.5px; color: var(--muted-text); }
.bar-sum b { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row { display: flex; gap: 10px; }
.bar-row > * { flex: 1; }
.bar-row .icon-btn { flex: 0 0 52px; width: 52px; height: 52px; border: 1px solid var(--line); background: var(--white); }

/* ---- Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 18px; border: 0; border-radius: var(--r-btn); font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.005em; text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.985); }
.btn-block { width: 100%; }
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: #0E9D6D; }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] { background: #A9DCC9; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #CCD6D1; }
.btn-dark { background: var(--hero); color: var(--hero-ink); }
.btn-danger { background: var(--white); color: var(--red); border: 1px solid #F1C9C9; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #21C25D; }
.btn-sm { height: 40px; font-size: 14px; padding: 0 14px; }
.btn-xs { height: 32px; font-size: 13px; padding: 0 12px; border-radius: 10px; }
.txt-link { background: none; border: 0; padding: 6px 0; font-weight: 700; font-size: 13.5px; color: var(--emerald-dk); text-decoration: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: var(--white); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Pills ----------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.pill.blue { background: var(--blue-bg); color: var(--blue-ink); }
.pill.amber { background: var(--amber-bg); color: var(--amber-ink); }
.pill.green { background: var(--mint); color: var(--emerald-dk); }
.pill.teal { background: #E6F4F1; color: #0B6B5B; }
.pill.grey { background: #EEF1EF; color: #45504C; }
.pill.red { background: var(--red-bg); color: var(--red-ink); }

/* ---- Cards ----------------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.float-card { background: var(--white); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: var(--shadow-float); }
.pad { padding: 16px; }
.sec-title { display: flex; align-items: center; justify-content: space-between; font-size: 16.02px; }
.sec-title a { font-family: var(--font); font-size: 13.5px; font-weight: 700; color: var(--emerald-dk); text-decoration: none; letter-spacing: 0; }
.kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-text); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- Hero ------------------------------------------------------------------ */
.hero-shell { padding: 10px max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.hero { background: var(--hero); color: var(--hero-ink); padding: 16px 16px 18px; border-radius: 24px; }
:root[data-theme="cream"] .hero { border: 1px solid #EDE4CF; box-shadow: 0 10px 24px -14px rgba(80, 62, 20, .25); }
.hero-top { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.brand img { height: 38px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
:root[data-theme="cream"] .brand img { filter: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .1em; white-space: nowrap; }
.hero .icon-btn { background: var(--hero-2); border: 1px solid var(--hero-3); color: var(--hero-ink); }
:root[data-theme="cream"] .hero .icon-btn { background: var(--white); border-color: #E8DEC6; }
.dot { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 4px; background: var(--amber); border: 2px solid var(--hero-2); }
.hero h1 { font-size: 27.55px; line-height: 1.08; letter-spacing: -.035em; margin-top: 24px; }
.hero .lede { color: var(--hm1); margin-top: 8px; font-size: 14px; }
.hero-svcs { margin-top: 20px; }
.hero-svcs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--hm2); }
.hero-svcs-head a { color: var(--emerald-lt); text-decoration: none; letter-spacing: .02em; text-transform: none; font-size: 13px; }
:root[data-theme="cream"] .hero-svcs-head a { color: var(--emerald-dk); }
.hero-form { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.hfield { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); color: var(--hero-ink); }
.hfield .ic { color: var(--hm4); }
.hfield label { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--hm2); font-weight: 700; }
.hfield input { background: transparent; border: 0; outline: 0; width: 100%; color: inherit; font-size: 15px; padding: 2px 0 0; }
.hfield input::placeholder { color: var(--hm3); }
.hfield:focus-within { border-color: var(--emerald); }
.hfield.err { border-color: #F08C8C; }
:root[data-theme="cream"] .hfield { background: var(--white); border-color: #E8DEC6; }
:root[data-theme="cream"] .hfield .ic { color: var(--emerald-dk); }
.hero-err { color: #FFB4B4; font-size: 13px; }
:root[data-theme="cream"] .hero-err { color: var(--red-ink); }
.suggest { background: var(--hero-2); border: 1px solid var(--hero-3); border-radius: 12px; overflow: hidden; }
.suggest button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; color: var(--hero-ink); padding: 11px 14px; font-size: 14px; }
.suggest button + button { border-top: 1px solid var(--hero-3); }
.suggest .ic-sm { color: var(--hm2); }
.hero .btn { margin-top: 2px; height: 50px; }

/* Service tiles (home) */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.svc-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 90px; min-width: 0; padding-inline: 2px; background: var(--tile); border: 1px solid rgba(255, 255, 255, .9); border-radius: 16px; box-shadow: 0 14px 22px -12px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .12), inset 0 1px 0 #FFFFFF; font-size: 11px; letter-spacing: -.02em; font-weight: 700; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.svc-tile .d3 { width: 46px; height: 46px; }
.svc-tile:hover { transform: translateY(-2px); }
.svc-tile:active { transform: translateY(1px); }
:root[data-theme="cream"] .svc-tile { box-shadow: var(--shadow-tile); }

/* Home cards */
.promo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-card); background: var(--mint); border: 1px solid #C8EBD8; color: var(--ink); text-decoration: none; }
.promo .circ { width: 42px; height: 42px; border-radius: 21px; background: var(--emerald); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.promo b { display: block; font-size: 15px; font-family: var(--font-display); }
.promo span.t { font-size: 13px; color: #3E5A50; }
.list { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.list.float { border-color: rgba(255, 255, 255, .9); box-shadow: var(--shadow-float); border-radius: 18px; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: left; background: none; border: 0; color: inherit; text-decoration: none; }
.li + .li { border-top: 1px solid var(--line); }
.li .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--tile); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.li .ico .d3 { width: 34px; height: 34px; }
.li b { display: block; font-size: 14.5px; font-weight: 600; font-family: var(--font-display); letter-spacing: -.01em; }
.li .meta { display: block; font-size: 12.5px; color: var(--muted-text); }
.li .chev { color: var(--muted); }

/* Budget card */
.bud-card { display: block; width: 100%; text-align: left; border-radius: 20px; padding: 16px 16px 14px; background: var(--tile); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-tile); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.bud-card:hover { transform: translateY(-2px); }
.bud-top { display: flex; align-items: center; gap: 10px; }
.bud-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--white); color: var(--emerald-dk); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bud-main { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.bud-amt { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.bud-sub { font-size: 13px; color: var(--muted-text); margin-top: 2px; font-variant-numeric: tabular-nums; }
.urg-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--red-ink); margin-top: 6px; }
.urg-dot::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--red); }
.bud-empty { margin-top: 10px; font-size: 13.5px; color: var(--muted-text); }
.ring { position: relative; flex-shrink: 0; }
.ring svg { display: block; transform: rotate(-90deg); }
.ring .pct { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.ring .pct small { font-family: var(--font); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; padding-top: 12px; border-top: 1px solid #E1E5E3; }
.stat3 > div { padding: 0 8px; border-left: 1px solid #E1E5E3; min-width: 0; }
.stat3 > div:first-child { border-left: 0; padding-left: 0; }
.stat3 .k { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat3 .k i { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.stat3 .v { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Theme-coloured feature card */
.feature { background: var(--hero); color: var(--hero-ink); border-radius: 22px; padding: 18px; box-shadow: 0 18px 32px -18px rgba(6, 20, 15, .6); }
:root[data-theme="cream"] .feature { border: 1px solid #EDE4CF; box-shadow: 0 10px 24px -14px rgba(80, 62, 20, .25); }
.feature .kicker { color: var(--hm2); }
.feature .bud-sub, .feature .sub { color: var(--hm1); }
.feature .bud-amt { font-size: 32px; }
.feature .stat3 { border-top-color: rgba(255, 255, 255, .12); }
.feature .stat3 > div { border-left-color: rgba(255, 255, 255, .12); }
.feature .stat3 .k { color: var(--hm2); }
:root[data-theme="cream"] .feature .stat3, :root[data-theme="cream"] .feature .stat3 > div { border-color: #EDE4CF; }
.feature .btn { margin-top: 16px; width: 100%; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.steps4 div { font-size: 11.5px; line-height: 1.3; color: var(--hm1); }
.steps4 b { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 13px; background: rgba(255, 255, 255, .1); color: var(--hero-ink); font-family: var(--font-display); font-size: 13px; margin-bottom: 6px; }
.steps4 .done b { background: var(--emerald); color: var(--white); }
:root[data-theme="cream"] .steps4 b { background: #EFE7D3; }

/* ---- Segmented control & chips -------------------------------------------- */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 4px; background: #EAEFEC; border-radius: 14px; }
.seg a, .seg button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 4px; border: 0; border-radius: 10px; background: transparent; font-size: 12.5px; font-weight: 700; color: var(--muted-text); text-decoration: none; min-width: 0; text-align: center; }
.seg [aria-selected="true"], .seg [aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 4px 10px -4px rgba(23, 33, 30, .25); }
.seg .d3 { width: 32px; height: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; transition: all .15s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip[aria-pressed="true"], .chip[aria-checked="true"], .chip[aria-current="page"], .chip:has(input:checked) { background: var(--hero); border-color: var(--hero); color: var(--hero-ink); }
:root[data-theme="cream"] .chip[aria-pressed="true"], :root[data-theme="cream"] .chip[aria-current="page"], :root[data-theme="cream"] .chip:has(input:checked) { background: #062A20; border-color: #062A20; color: var(--white); }
.chip:has(input:focus-visible) { outline: 2px solid var(--emerald); outline-offset: 2px; }
.chip .ic-sm { width: 16px; height: 16px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-block: 2px 4px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row .chip { flex-shrink: 0; height: 36px; }

/* ---- Forms ----------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .flabel { font-size: 14px; font-weight: 700; }
.hint { font-size: 12.5px; color: var(--muted-text); }
.input, .textarea, .select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--white); font-size: 15px; outline: 0; transition: border-color .15s; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2366716D' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--emerald); }
.input.err, .textarea.err, .select.err { border-color: var(--red); }
.ferr { font-size: 12.5px; color: #B53A3A; display: flex; gap: 6px; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-card { padding: 16px; }
.form-step { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--emerald-dk); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check-row input { width: 20px; height: 20px; accent-color: var(--emerald-dk); margin-top: 1px; flex-shrink: 0; }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ph { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 10px; overflow: hidden; background: var(--bg); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 13px; border: 0; background: rgba(6, 42, 32, .75); color: var(--white); display: flex; align-items: center; justify-content: center; }
.ph.loading::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .6); }
.ph-add { aspect-ratio: 1; max-width: 100%; border-radius: 10px; border: 1.5px dashed #C4CFCA; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted-text); cursor: pointer; }
.ph-add .ic { color: var(--emerald-dk); }
.urg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.urg label { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); min-height: 72px; cursor: pointer; }
.urg input { position: absolute; opacity: 0; pointer-events: none; }
.urg b { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.urg span { font-size: 12px; color: var(--muted-text); }
.urg label:has(input:checked) { border-color: var(--emerald); box-shadow: inset 0 0 0 1px var(--emerald); background: #F3FBF7; }
.urg label:has(input:focus-visible) { outline: 2px solid var(--emerald); outline-offset: 2px; }
.urg label.emg b { color: #B53A3A; }
.urg label.emg:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: var(--red-bg); }
.urg label[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.emg-note { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: var(--red-bg); color: #8E2E2E; font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots button { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; }
.slots button[aria-checked="true"] { background: var(--hero); color: var(--hero-ink); border-color: var(--hero); }
:root[data-theme="cream"] .slots button[aria-checked="true"] { background: #062A20; color: #fff; border-color: #062A20; }
.slots button[disabled] { color: #B8C0BC; text-decoration: line-through; cursor: not-allowed; background: var(--bg); }
.slots .flex { grid-column: 1 / -1; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.days button { flex: 0 0 58px; height: 68px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 11.5px; color: var(--muted-text); font-weight: 600; }
.days button b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.days button[aria-checked="true"] { background: var(--hero); border-color: var(--hero); color: var(--hm1); }
.days button[aria-checked="true"] b { color: var(--hero-ink); }
:root[data-theme="cream"] .days button[aria-checked="true"] { background: #062A20; color: #cfe; }
:root[data-theme="cream"] .days button[aria-checked="true"] b { color: #fff; }
.days button[disabled] { opacity: .4; cursor: not-allowed; }
.days button .lim { width: 5px; height: 5px; border-radius: 3px; background: var(--amber); margin-top: 2px; }
.toggle { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.toggle .tl b { display: block; font-size: 14px; font-weight: 600; }
.toggle .tl span { font-size: 12.5px; color: var(--muted-text); font-variant-numeric: tabular-nums; }
.switch { width: 46px; height: 28px; border-radius: 14px; background: #D3DBD7; position: relative; flex-shrink: 0; border: 0; padding: 0; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--emerald-dk); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type=range] { flex: 1; min-width: 0; accent-color: var(--emerald-dk); height: 28px; }
.num-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; height: 44px; padding: 0 10px; gap: 4px; width: 112px; flex-shrink: 0; background: var(--white); }
.num-box:focus-within { border-color: var(--emerald); }
.num-box input { border: 0; outline: 0; width: 100%; min-width: 0; font-size: 15px; font-weight: 700; text-align: right; background: transparent; font-variant-numeric: tabular-nums; }
.num-box span { font-size: 13px; color: var(--muted-text); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: 20px; font-weight: 700; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }

/* ---- Service selection ----------------------------------------------------- */
.map { position: relative; height: 150px; overflow: hidden; background: #E9EEEB; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-btn { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); width: 44px; height: 44px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(6, 42, 32, .12); display: flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; }
.map-btn.l { left: max(16px, env(safe-area-inset-left, 0px)); }
.map-btn.r { right: max(16px, env(safe-area-inset-right, 0px)); }
.map-tag { position: absolute; left: 72px; right: 72px; top: calc(19px + env(safe-area-inset-top, 0px)); display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 0; border-radius: 8px; background: #141719; color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap; border: 0; overflow: hidden; text-decoration: none; box-shadow: 0 2px 8px rgba(6, 42, 32, .25); }
.map-tag .eta { background: var(--emerald); height: 30px; padding: 0 8px; display: flex; align-items: center; flex-shrink: 0; }
.map-tag span.a { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; text-align: left; }
.map-tag .ic-xs { width: 14px; height: 14px; }
.map-dot { position: absolute; left: 50%; top: 70%; width: 14px; height: 14px; border-radius: 7px; background: #141719; border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); }
.sel-panel { background: var(--bg); border-radius: 20px 20px 0 0; margin-top: -14px; position: relative; padding-block: 18px 8px; }
.sel-panel h1 { font-size: 17.1px; }
.group-h { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-text); margin-top: 6px; }
.svc-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; width: 100%; text-align: left; background: var(--white); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-card); box-shadow: var(--shadow-float); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.svc-card:hover { transform: translateY(-2px); }
.svc-card .ico { width: 60px; height: 48px; border-radius: 10px; background: var(--tile); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-card .ico .d3 { width: 40px; height: 40px; }
.svc-card b { display: block; font-size: 15px; font-weight: 700; font-family: var(--font-display); letter-spacing: -.01em; }
.svc-card .desc { display: block; font-size: 12.5px; color: var(--muted-text); }
.svc-card .tag { display: flex; width: fit-content; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--emerald-dk); }
.svc-card .side { font-size: 12px; font-weight: 700; color: var(--muted-text); text-align: right; white-space: nowrap; }
.svc-card .badge { position: absolute; top: -1px; right: -1px; background: #141719; color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 0 15px 0 9px; }
.svc-card .check { width: 22px; height: 22px; border-radius: 11px; border: 1.5px solid #C9D2CE; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: transparent; }
.svc-card .check .ic { width: 14px; height: 14px; stroke-width: 3; }
.svc-card[aria-pressed="true"] { border-color: var(--emerald); background: #F6FCF9; box-shadow: inset 0 0 0 1px var(--emerald), 0 14px 26px -12px rgba(8, 125, 88, .45); }
.svc-card[aria-pressed="true"] .check { background: var(--emerald-dk); border-color: var(--emerald-dk); color: var(--white); }
.svc-card[aria-pressed="true"] .side { color: var(--emerald-dk); }
.note { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 13px; color: var(--muted-text); }
.note .ic-sm { color: var(--emerald-dk); }

/* ---- Confirmation / detail -------------------------------------------------- */
.done-ic { width: 64px; height: 64px; border-radius: 32px; background: var(--mint); color: var(--emerald-dk); display: flex; align-items: center; justify-content: center; }
.done-ic .ic { width: 32px; height: 32px; stroke-width: 2.6; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted-text); }
.kv dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.steps { display: flex; flex-direction: column; }
.stp { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.stp:last-child { padding-bottom: 0; }
.stp .b { width: 22px; height: 22px; border-radius: 11px; border: 2px solid #C9D2CE; background: var(--white); flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.stp:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.stp.done .b { background: var(--emerald-dk); border-color: var(--emerald-dk); color: var(--white); }
.stp.done:not(:last-child)::after { background: var(--emerald); }
.stp.current .b { border-color: var(--emerald); box-shadow: 0 0 0 4px var(--mint); }
.stp .b .ic { width: 12px; height: 12px; stroke-width: 3; }
.stp b { font-size: 14px; font-weight: 700; display: block; }
.stp span { font-size: 12.5px; color: var(--muted-text); }
.job-card { display: flex; gap: 12px; padding: 14px; width: 100%; text-align: left; background: var(--white); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: var(--shadow-float); color: inherit; text-decoration: none; }
.job-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--tile); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.job-card .ico .d3 { width: 36px; height: 36px; }
.job-card b { font-size: 15px; font-family: var(--font-display); letter-spacing: -.01em; }
.job-card .ref { font-size: 12px; color: var(--muted-text); font-variant-numeric: tabular-nums; }
.job-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.job-card .amt { font-family: var(--font-display); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 32px 16px; }
.empty .circ { width: 56px; height: 56px; border-radius: 28px; background: var(--mint); color: var(--emerald-dk); display: flex; align-items: center; justify-content: center; }
.empty h3 { font-size: 15.13px; }
.qtable { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.qtable th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-text); font-weight: 700; text-align: left; padding: 0 0 8px; }
.qtable td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.qtable .num { text-align: right; white-space: nowrap; padding-left: 12px; }
.qtable .cat { font-size: 11.5px; color: var(--muted-text); display: block; }
.qtable tfoot td { font-weight: 700; }
.qtable tfoot tr.total td { font-size: 17px; font-family: var(--font-display); border-top: 2px solid var(--ink); }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .radio { width: 20px; height: 20px; border-radius: 10px; border: 2px solid #C9D2CE; flex-shrink: 0; }
.opt:has(input:checked) { border-color: var(--emerald); box-shadow: inset 0 0 0 1px var(--emerald); }
.opt:has(input:checked) .radio { border: 6px solid var(--emerald-dk); }
details.disclose summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.disclose summary::-webkit-details-marker { display: none; }
details.disclose[open] summary .ic-sm { transform: rotate(90deg); }
.banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.banner.ok { background: var(--mint); color: var(--emerald-dk); }
.banner.warn { background: var(--amber-bg); color: var(--amber-ink); }
.banner.bad { background: var(--red-bg); color: var(--red-ink); }
.banner.info { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery a { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg); display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .g-tag { position: absolute; left: 6px; bottom: 6px; background: rgba(20, 23, 25, .75); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; text-transform: capitalize; }
.tech { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 22px; background: var(--hero); color: var(--hero-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-family: var(--font-display); }
:root[data-theme="cream"] .av { background: #062A20; color: #fff; }
.stars { display: flex; justify-content: center; gap: 6px; }
.stars label { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 12px; cursor: pointer; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars svg { width: 36px; height: 36px; fill: #DDE3E0; stroke: none; transition: fill .12s, transform .12s; }
.stars label.on svg { fill: var(--amber); }
.stars label:has(input:focus-visible) { outline: 2px solid var(--emerald); }
.stars-static { display: inline-flex; gap: 2px; }
.stars-static svg { width: 16px; height: 16px; stroke: none; }
.tipgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tipgrid label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 10px; min-height: 40px; padding: 4px 6px; font-size: 13px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); cursor: pointer; }
.tipgrid input { position: absolute; opacity: 0; pointer-events: none; }
.tipgrid label:has(input:checked) { background: var(--mint); border-color: var(--emerald); color: var(--emerald-dk); box-shadow: inset 0 0 0 1px var(--emerald); }
.tipgrid label:has(input:focus-visible) { outline: 2px solid var(--emerald); }
.count { font-size: 12px; color: var(--muted-text); text-align: right; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 14px; background: var(--white); border: 1px solid var(--line); }
.bubble.me { align-self: flex-end; background: var(--hero); color: var(--hero-ink); border-color: var(--hero); }
.bubble .who { display: block; font-size: 11.5px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.bubble time { display: block; font-size: 11px; opacity: .6; margin-top: 4px; }

/* ---- Budget / inspection --------------------------------------------------- */
.rep-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.rep-line .av { width: 36px; height: 36px; font-size: 13px; }
.prio-row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-text); margin: 6px 2px -6px; }
.prio-row i { width: 7px; height: 7px; border-radius: 4px; }
.prio-row .ct { margin-left: auto; font-weight: 700; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.ins-list { background: var(--white); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: var(--shadow-float); padding: 4px 14px; }
.ins-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; width: 100%; text-align: left; background: transparent; border: 0; color: inherit; }
.ins-item + .ins-item, form + form .ins-item { border-top: 1px solid var(--line); }
.ins-list form + form { border-top: 1px solid var(--line); }
.ins-list form + form .ins-item { border-top: 0; }
.ins-item .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tile); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ins-item .ico .d3 { width: 32px; height: 32px; }
.ins-item b { display: block; font-size: 14.5px; font-weight: 700; font-family: var(--font-display); letter-spacing: -.01em; }
.ins-item .inote { display: block; font-size: 12.5px; color: var(--muted-text); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ins-item .right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ins-item .amt { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; display: block; }
.ins-item .st { font-size: 11.5px; font-weight: 700; color: var(--emerald-dk); text-align: right; display: block; }
.ins-item .tick { width: 24px; height: 24px; border-radius: 12px; border: 1.5px solid #C9D2CE; display: flex; align-items: center; justify-content: center; color: transparent; }
.ins-item .tick .ic { width: 14px; height: 14px; stroke-width: 3; }
.ins-item[aria-pressed="true"] .tick { background: var(--emerald-dk); border-color: var(--emerald-dk); color: var(--white); }
.ins-item[aria-pressed="false"] .amt { color: var(--muted-text); }
.ins-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ins-chk { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; font-weight: 600; min-width: 0; }
.ins-chk .d3 { width: 28px; height: 28px; }

/* ---- Design calculator ----------------------------------------------------- */
.est .amt { font-family: var(--font-display); font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.est .mid { display: inline-flex; margin-top: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); font-size: 12.5px; font-variant-numeric: tabular-nums; }
:root[data-theme="cream"] .est .mid { background: #F4ECD9; }
.sample { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--amber-bg); color: var(--amber-ink); font-size: 12.5px; font-weight: 700; }

/* ---- Flash, toast, install ------------------------------------------------- */
.flash-stack { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 0; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.flash-success { background: var(--mint); color: var(--emerald-dk); }
.flash-error { background: var(--red-bg); color: var(--red-ink); }
.flash-info { background: var(--white); border: 1px solid var(--line); }
.toast-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(160px + var(--safe-b)); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; width: calc(100% - 32px); max-width: 440px; pointer-events: none; }
.toast { background: #141719; color: var(--white); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(6, 42, 32, .25); text-align: center; }
.install { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.install img { width: 40px; height: 40px; border-radius: 10px; }
.sheet-back { position: fixed; inset: 0; background: rgba(10, 14, 12, .45); z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: var(--app-w); max-height: 88vh; overflow: auto; background: var(--white); border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); }
.sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }

/* ---- Auth ------------------------------------------------------------------ */
.auth-hero { padding: 26px 18px 20px; }
.auth-hero h1 { font-size: 24.7px; margin-top: 22px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* "How it works" numbered list on light cards */
.how { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: how; }
.how li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; counter-increment: how; }
.how li::before { content: counter(how); grid-row: span 2; width: 30px; height: 30px; border-radius: 15px; background: var(--tile); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.how b { font-family: var(--font-display); font-size: 14.5px; }
.how span { font-size: 13px; color: var(--muted-text); }

/* ---- Account ---------------------------------------------------------------- */
.av-lg { width: 56px; height: 56px; border-radius: 28px; font-size: 19px; background: rgba(255, 255, 255, .12); color: var(--hero-ink); }
:root[data-theme="cream"] .av-lg { background: #EFE7D3; }
.feature h2 { color: inherit; }
label.toggle { cursor: pointer; }
label.toggle:first-of-type { border-top: 0; padding-top: 4px; }
label.toggle + label.toggle { margin-top: 12px; }
label.toggle input:checked + .switch { background: var(--emerald-dk); }
label.toggle input:checked + .switch::after { transform: translateX(18px); }
label.toggle input:focus-visible + .switch { outline: 2px solid var(--emerald); outline-offset: 2px; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.theme-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--line); cursor: pointer; }
.theme-opt input { position: absolute; opacity: 0; }
.theme-opt .sw { position: relative; height: 64px; border-radius: 11px; margin-bottom: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.theme-opt .sw i { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 6px; border-radius: 3px; opacity: .9; }
.theme-opt b { font-size: 14px; font-family: var(--font-display); }
.theme-opt:has(input:checked) { border-color: var(--emerald-dk); box-shadow: 0 0 0 3px rgba(16, 173, 120, .18); }
.theme-opt:has(input:focus-visible) { outline: 2px solid var(--emerald); outline-offset: 2px; }

/* ---- Property, invoices, notifications ------------------------------------------- */
.prop-hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 168px; display: flex; align-items: flex-end; color: #fff; background: var(--hero); }
.prop-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.prop-hero .in { position: relative; padding: 16px; width: 100%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.prop-hero h2 { font-size: 16.91px; color: #fff; }
.prop-hero p { font-size: 13px; opacity: .85; }
.prop-hero .pill { position: absolute; top: 12px; left: 12px; }
.amt-col { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.amt-col b { font-family: var(--font-display); font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.li.unread b::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 4px; background: var(--emerald); margin-left: 6px; vertical-align: middle; }
.composer { position: sticky; bottom: calc(88px + var(--safe-b)); display: flex; gap: 8px; align-items: flex-end; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-float); }
.composer textarea { flex: 1; border: 0; outline: 0; resize: none; min-height: 40px; max-height: 140px; padding: 10px 8px; font-size: 15px; background: transparent; }
.composer select { width: auto; max-width: 132px; min-height: 40px; padding: 6px 8px; border: 0; background: var(--bg); border-radius: 10px; font-size: 13px; }
.composer .btn { width: 44px; height: 44px; padding: 0; flex-shrink: 0; }
.day-sep { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted-text); margin: 6px 0; }
.bubble .ref { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--emerald-dk); margin-bottom: 4px; text-decoration: none; }
.bubble.me .ref { color: var(--hm1); }
.faq details { padding: 14px 16px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 14.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic-sm { transform: rotate(90deg); }
.faq p { font-size: 14px; color: var(--muted-text); margin-top: 8px; }
.prose h3 { font-size: 14.24px; margin: 18px 0 6px; }
.prose p, .prose li { font-size: 14px; line-height: 1.6; }
.prose ul { padding-left: 18px; margin: 6px 0; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.inv-head img { height: 34px; width: auto; }
@media print { .tabbar, .topbar, .no-print, .action-bar { display: none !important; } .app { box-shadow: none; padding: 0; } body { background: #fff; } .float-card { box-shadow: none; border: 0; } }

/* ---- Auth ------------------------------------------------------------------ */
.auth-top { background: var(--hero); color: var(--hero-ink); padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 54px; border-radius: 0 0 28px 28px; }
.auth-top .brand-name { color: var(--hero-ink); }
.auth-top h1 { font-size: 24.7px; margin-top: 26px; color: var(--hero-ink); }
.auth-top p { color: var(--hm1); font-size: 14px; margin-top: 6px; }
.auth-card { margin-top: -36px; }
.or { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted-text); font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-title .link, button.link { background: none; border: 0; padding: 0; font-family: var(--font); font-size: 13.5px; font-weight: 700; color: var(--emerald-dk); cursor: pointer; letter-spacing: 0; }

/* ---- Before / after slider (projects) ------------------------------------------ */
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-label { position: absolute; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(20, 23, 25, .7); color: #fff; font-size: 11px; font-weight: 700; }
.ba-label.l { left: 10px; } .ba-label.r { right: 10px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.svc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-grid.three .svc-tile { height: 92px; font-size: 11.5px; }
.hero .hero-svcs + .hero-svcs { margin-top: 22px; }
.svc-note { font-size: 12.5px; color: var(--hm1); margin: -4px 0 10px; }
.svc-tile { position: relative; }
.svc-tile .ptag { position: absolute; top: 6px; right: 6px; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--emerald-dk); background: var(--mint); border-radius: 6px; padding: 2px 5px; }
/* Request form: chosen services + Add service */
.sel-chip { height: 40px; padding: 0 6px 0 14px; border-radius: 20px; background: var(--hero); color: var(--hero-ink); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.sel-chip button { width: 28px; height: 28px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .14); color: inherit; display: grid; place-items: center; padding: 0; }
.sel-chip button .ic { width: 14px; height: 14px; }
.sel-chip:not(:has(button)) { padding-right: 14px; }
.add-svc { height: 40px; padding: 0 14px; border-radius: 20px; border: 1.5px dashed #BFD9CC; background: #F4FBF7; color: var(--emerald-dk); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.add-svc .ic { width: 16px; height: 16px; }
.add-svc[aria-expanded="true"] { border-style: solid; background: var(--mint); }
.svc-picker { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 16px; background: var(--bg); }
.svc-picker .svc-tile { height: 84px; font-size: 11px; box-shadow: 0 8px 14px -10px rgba(23, 33, 30, .4), inset 0 1px 0 #fff; border: 0; }
.svc-picker .svc-tile .d3 { width: 38px; height: 38px; }
.svc-picker .pk { grid-column: 1 / -1; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-text); }
:root[data-theme="cream"] .sel-chip button { background: rgba(0, 0, 0, .08); }

/* ---- Service areas ------------------------------------------------------------------------------------------------ */
.svc-tile.off { color: var(--muted-text); }
.svc-tile.off .d3 { opacity: .45; filter: grayscale(1); }
.svc-tile.off .ptag { left: 6px; right: 6px; text-align: center; white-space: nowrap; text-transform: none; letter-spacing: 0; font-size: 9.5px; font-weight: 700; color: var(--muted-text); background: rgba(23, 33, 30, .06); }
.area-pick { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--hm2); }
.area-pick label { white-space: nowrap; }
.area-sel { position: relative; display: inline-flex; align-items: center; }
.area-sel select { appearance: none; -webkit-appearance: none; border: 0; background: rgba(255, 255, 255, .08); color: var(--hero-ink); font: inherit; font-weight: 700; padding: 5px 26px 5px 10px; border-radius: 9px; cursor: pointer; max-width: 160px; }
.area-sel select option { color: var(--ink); }
.area-sel .ic-xs { position: absolute; right: 7px; pointer-events: none; color: var(--hm2); width: 13px; height: 13px; }
.area-sel select:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
:root[data-theme="cream"] .area-sel select { background: #F1E9D6; }
.na-mark { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--tile); margin-top: 6px; box-shadow: var(--shadow-tile); filter: grayscale(.6); }
.na-mark .d3 { width: 56px; height: 56px; }
.hero .na-copy { color: var(--hm2); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.na-card { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.na-card form { width: 100%; }
.na-card .circ { width: 42px; height: 42px; border-radius: 21px; display: grid; place-items: center; flex-shrink: 0; }
.na-card .circ.ok { background: var(--mint); color: var(--emerald-dk); }
.svc-grid.light .svc-tile { background: var(--white); box-shadow: var(--shadow-float); color: var(--ink); }
.sec-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--emerald-dk); text-decoration: none; }
#prov-note { display: flex; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--amber-bg); color: var(--amber-ink); font-size: 13.5px; }
#prov-note a { color: inherit; font-weight: 700; }

/* ---- Weather: hero line, 14-day calendar, day panel and checklist --------------------------------------------------- */
.wx-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 12px 7px 9px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--hm1); font-size: 13px; text-decoration: none; max-width: 100%; }
.wx-line .ic { width: 18px; height: 18px; color: var(--hero-ink); flex-shrink: 0; }
.wx-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wx-line b { color: var(--hero-ink); font-family: var(--font-display); }
.wx-dot { width: 7px; height: 7px; border-radius: 4px; background: var(--amber); flex-shrink: 0; }
:root[data-theme="cream"] .wx-line { background: #F1E9D6; }
.fc { display: flex; flex-direction: column; gap: 12px; }
.fc-head { display: flex; align-items: baseline; justify-content: space-between; }
.fc-loc { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted-text); }
.fc-card { border-radius: 22px; padding: 16px 14px 14px; background: var(--tile); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-tile); display: flex; flex-direction: column; gap: 12px; }
.fc-month { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px; }
.fc-month b { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.fc-month span { font-size: 12px; font-weight: 600; color: var(--muted-text); }
.fc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.fc-dow { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.fc-day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; border: 0; border-radius: 13px; background: var(--white); color: var(--ink); font-family: var(--font); box-shadow: 0 6px 12px -8px rgba(23, 33, 30, .3), 0 1px 2px rgba(23, 33, 30, .05); transition: transform .15s, box-shadow .15s, background .15s; min-width: 0; cursor: pointer; }
.fc-day .n { font-family: var(--font-display); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.fc-day .ic { width: 19px; height: 19px; color: #5A6460; }
.fc-day .ic.dash { display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.fc-day .hi { font-size: 11px; font-weight: 700; color: var(--muted-text); font-variant-numeric: tabular-nums; line-height: 1; min-height: 11px; }
.fc-day:hover { transform: translateY(-1px); }
.fc-day.today .n { color: var(--emerald-dk); }
.fc-day.today::before { content: ""; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 2px; background: var(--emerald); }
.fc-day.warn::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 3px; background: var(--amber); box-shadow: 0 0 0 2px var(--white); }
.fc-day.far, .fc-day.none { background: transparent; box-shadow: none; }
.fc-day.far .n, .fc-day.far .hi { color: var(--muted); }
.fc-day.far .ic { color: #9AA39F; }
.fc-day[aria-pressed="true"] { background: var(--hero); box-shadow: 0 12px 18px -10px rgba(6, 20, 15, .6); }
.fc-day[aria-pressed="true"] .n, .fc-day[aria-pressed="true"] .hi, .fc-day[aria-pressed="true"] .ic { color: var(--hero-ink); }
.fc-day[aria-pressed="true"].warn::after { box-shadow: 0 0 0 2px var(--hero); }
:root[data-theme="cream"] .fc-day[aria-pressed="true"] { background: var(--ink); }
:root[data-theme="cream"] .fc-day[aria-pressed="true"] .n, :root[data-theme="cream"] .fc-day[aria-pressed="true"] .hi, :root[data-theme="cream"] .fc-day[aria-pressed="true"] .ic { color: var(--white); }
.fc-day:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.fc-key { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 2px; font-size: 11.5px; color: var(--muted-text); }
.fc-key span { display: inline-flex; align-items: center; gap: 6px; }
.fc-key .k-warn { width: 6px; height: 6px; border-radius: 3px; background: var(--amber); }
.fc-key .k-far { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid #CDD5D1; }
.fc-panel { background: var(--hero); color: var(--hero-ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 18px 30px -18px rgba(6, 20, 15, .65); }
.fc-panel:empty { display: none; }
.fc-p-top { display: flex; align-items: flex-start; gap: 12px; }
.fc-kick { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hm2); }
.fc-temp { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-top: 4px; font-variant-numeric: tabular-nums; }
.fc-temp small { font-size: 17px; font-weight: 600; color: var(--hm1); margin-left: 4px; letter-spacing: 0; }
.fc-glyph { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; flex-shrink: 0; }
.fc-glyph .ic { width: 28px; height: 28px; color: var(--hero-ink); }
.fc-sum { font-size: 14px; color: var(--hm1); line-height: 1.45; }
.fc-warn { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 10px; border-radius: 9px; background: rgba(246, 184, 63, .14); color: #F8C55A; font-size: 12px; font-weight: 700; }
.fc-stats { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); padding-top: 12px; margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, .12); }
.fc-stats > div { padding: 0 8px; border-left: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.fc-stats > div:first-child { border-left: 0; padding-left: 0; }
.fc-stats .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hm2); white-space: nowrap; }
.fc-stats b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-note { font-size: 13px; color: var(--hm1); }
.fc-list { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; margin-top: 2px; display: flex; flex-direction: column; gap: 4px; }
.fc-list-h { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hm2); }
.fc-list-h span:last-child { letter-spacing: 0; text-transform: none; font-size: 12px; }
.fc-todo { display: flex; flex-direction: column; }
.td-row { display: flex; align-items: center; gap: 10px; }
.td-row + .td-row { border-top: 1px solid rgba(255, 255, 255, .08); }
.fc-chk { flex: 1; min-width: 0; display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; cursor: pointer; position: relative; }
.fc-chk input { position: absolute; opacity: 0; pointer-events: none; }
.fc-chk .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .3); flex-shrink: 0; display: grid; place-items: center; color: transparent; margin-top: 1px; transition: background .15s, border-color .15s; }
.fc-chk .box .ic { width: 13px; height: 13px; stroke-width: 3; }
.fc-chk input:checked + .box { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.fc-chk input:focus-visible + .box { outline: 2px solid var(--emerald); outline-offset: 2px; }
.fc-chk .tx b { display: block; font-size: 14px; font-weight: 600; color: var(--hero-ink); }
.fc-chk .tx span { font-size: 12.5px; color: var(--hm2); }
.fc-chk input:checked ~ .tx b { text-decoration: line-through; color: var(--hm2); }
.help-dot { width: 38px; height: 38px; border-radius: 19px; flex-shrink: 0; display: grid; place-items: center; background: var(--emerald); color: var(--white); box-shadow: 0 6px 12px -8px rgba(8, 125, 88, .8); transition: background .15s, transform .1s; }
.help-dot .ic { width: 18px; height: 18px; }
.help-dot:hover { background: #0E9D6D; color: var(--white); }
.help-dot:active { transform: scale(.95); }
.fc-more { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 6px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); color: var(--hero-ink); font-weight: 700; font-size: 14px; text-decoration: none; font-family: var(--font-display); }
.fc-more:hover { background: rgba(255, 255, 255, .12); color: var(--hero-ink); }
:root[data-theme="cream"] .fc-panel { background: #FEFBF3; border: 1px solid #EDE4CF; box-shadow: 0 10px 24px -14px rgba(80, 62, 20, .25); }
:root[data-theme="cream"] .fc-glyph { background: #F4ECD9; border-color: #EDE4CF; }
:root[data-theme="cream"] .fc-warn { background: var(--amber-bg); color: var(--amber-ink); }
:root[data-theme="cream"] .fc-stats, :root[data-theme="cream"] .fc-stats > div, :root[data-theme="cream"] .fc-list, :root[data-theme="cream"] .td-row + .td-row { border-color: #EDE4CF; }
:root[data-theme="cream"] .fc-chk .box { border-color: #CFC5AE; }
:root[data-theme="cream"] .fc-more { background: #F4ECD9; border-color: #EDE4CF; }
.fc-src { padding: 0 4px; line-height: 1.5; }
.push-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 8px; }
@media (prefers-reduced-motion: reduce) { .fc-day, .help-dot { transition: none; } }
.area-off { margin-top: 8px; font-size: 12.5px; color: var(--amber); }
:root[data-theme="cream"] .area-off { color: var(--amber-ink); }

/* =====================================================================================================================
   Premium flow: Request a service, House inspection, Request sent, My jobs, Job, Quotation, Feedback
   Sizes agreed in the preview: service icons 27px · card headings 23px · number box 58px · screen title 19px
   ===================================================================================================================== */
:root { --rq-ic: 27px; --rq-h: 23px; --rq-no: 58px; --rq-title: 19px; --soft: #F4F6F5; }
.pr .hero h1 { margin-top: 18px; }
.pr-hero { padding-bottom: 16px; }
.pr-kick { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 15px; background: rgba(255, 255, 255, .08); border: 0; color: var(--hm1); font-size: 12px; font-weight: 700; font-family: var(--font); font-variant-numeric: tabular-nums; }
.pr-kick .ic-xs { width: 14px; height: 14px; }
:root[data-theme="cream"] .pr-kick { background: #F1E9D6; color: var(--ink); }
/* compact header with the step tracker */
.rq-hero { padding: 12px 12px 14px; }
.rq-hero .hero-top { gap: 12px; }
.rq-hero h1 { margin: 0 !important; font-size: calc(var(--rq-title) * 0.95); line-height: 1.15; }
.rq-step { display: block; font-size: 12.5px; font-weight: 600; color: var(--hm2); margin-top: 1px; }
.pr-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; }
.pr-steps a { display: block; padding-block: 4px; }
.pr-steps i { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; position: relative; }
.pr-steps i::after { content: ""; position: absolute; inset: 0; background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pr-steps li.done i::after, .pr-steps li.now i::after { transform: scaleX(1); }
.pr-steps li.now i::after { background: var(--hero-ink); }
:root[data-theme="cream"] .pr-steps i { background: #EADFC6; }
.rq-pane { animation: prIn .28s ease; }
@keyframes prIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rq-pane { animation: none; } }
/* cards */
.pr-card { padding: 18px 16px; display: flex; flex-direction: column; gap: 16px; }
.pr-card[hidden] { display: none; }
.pr-h { display: flex; gap: 12px; align-items: flex-start; }
.pr-h h2 { font-size: calc(var(--rq-h) * 0.89); line-height: 1.15; letter-spacing: -.02em; }
.pr-h p { font-size: 13px; color: var(--muted-text); margin-top: 3px; line-height: 1.4; }
.pr-h .no { width: var(--rq-no); height: var(--rq-no); border-radius: calc(var(--rq-no) * .3); background: var(--hero); color: var(--hero-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: calc(var(--rq-no) * .36); flex-shrink: 0; font-variant-numeric: tabular-nums; }
:root[data-theme="cream"] .pr-h .no { background: var(--ink); color: var(--white); }
.pr-card-h { font-size: 17px; letter-spacing: -.02em; }
.pr .field > label, .pr .field > .flabel { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-text); }
.opt-l { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-left: 4px; }
.pr .input, .pr .textarea, .pr .select { background-color: var(--soft); border: 1px solid transparent; border-radius: 13px; min-height: 50px; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.pr .input:focus, .pr .textarea:focus, .pr .select:focus { background-color: var(--white); border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(16, 173, 120, .12); }
.pr .input.err, .pr .textarea.err { border-color: var(--red); background-color: var(--white); }
.pr .textarea { min-height: 120px; }
.pr-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pr .ph, .pr .ph-add { border-radius: 14px; }
.pr .ph-add { border: 1.5px dashed #C9D3CE; background: #F7F9F8; color: var(--ink); }
.pr .ph-add .ic { width: 26px; height: 26px; padding: 6px; border-radius: 15px; background: var(--white); box-shadow: 0 4px 10px -6px rgba(23, 33, 30, .35); box-sizing: content-box; }
.pr .banner { border-radius: 16px; }
/* selected services as tiles */
.pr-sel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pr-sel .pt { position: relative; height: calc(var(--rq-ic) + 44px); border-radius: 16px; background: var(--tile); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; font-weight: 700; text-align: center; padding-inline: 4px; min-width: 0; box-shadow: 0 10px 18px -12px rgba(23, 33, 30, .4), 0 2px 4px rgba(23, 33, 30, .06), inset 0 1px 0 #fff; }
.pr-sel .pt .d3 { width: var(--rq-ic); height: var(--rq-ic); }
.pr-sel .pt button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 12px; border: 0; background: rgba(23, 33, 30, .08); color: var(--ink); display: grid; place-items: center; padding: 0; }
.pr-sel .pt button .ic { width: 12px; height: 12px; }
.pr-sel .add-svc { height: calc(var(--rq-ic) + 44px); border-radius: 16px; border: 1.5px dashed #C9D3CE; background: #F7F9F8; color: var(--ink); flex-direction: column; justify-content: center; gap: 6px; padding: 0; width: 100%; font-size: 11.5px; }
.pr-sel .add-svc .ic { width: calc(var(--rq-ic) * .45); height: calc(var(--rq-ic) * .45); padding: 5px; border-radius: 50%; background: var(--emerald); color: var(--white); box-sizing: content-box; }
.pr-sel .add-svc[aria-expanded="true"] { background: var(--mint); border-color: #BFE3D0; }
.pr-sel .svc-picker { grid-column: 1 / -1; background: var(--bg); border: 1px solid var(--line); }
.pr-sel .svc-picker .svc-tile { height: calc(var(--rq-ic) + 44px); }
.pr-sel .svc-picker .svc-tile .d3 { width: var(--rq-ic); height: var(--rq-ic); }
/* repair or new installation */
.rq-kind { display: flex; flex-direction: column; gap: 10px; }
.rq-kind button { display: flex; align-items: center; gap: 14px; padding: 14px; border: 0; border-radius: 18px; background: var(--soft); text-align: left; width: 100%; color: var(--ink); transition: background .15s, box-shadow .15s, transform .1s; }
.rq-kind button:active { transform: scale(.99); }
.rq-kind .ki { width: calc(var(--rq-ic) + 14px); height: calc(var(--rq-ic) + 14px); border-radius: 14px; background: var(--white); display: grid; place-items: center; color: var(--emerald-dk); flex-shrink: 0; box-shadow: 0 6px 12px -8px rgba(23, 33, 30, .4); }
.rq-kind .ki .ic { width: calc(var(--rq-ic) * .7); height: calc(var(--rq-ic) * .7); }
.rq-kind b { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: -.015em; }
.rq-kind span.grow > span { font-size: 12.5px; color: var(--muted-text); line-height: 1.4; }
.rq-kind .rd, .ins-props .rd { width: 22px; height: 22px; border-radius: 11px; border: 2px solid #C9D2CE; flex-shrink: 0; }
.rq-kind button[aria-checked="true"], .ins-props button[aria-checked="true"] { background: var(--hero); color: var(--hero-ink); box-shadow: 0 14px 22px -12px rgba(6, 20, 15, .7); }
.rq-kind button[aria-checked="true"] span.grow > span, .ins-props button[aria-checked="true"] span.a { color: var(--hm1); }
.rq-kind button[aria-checked="true"] .ki, .ins-props button[aria-checked="true"] .pi { background: rgba(255, 255, 255, .1); color: var(--hero-ink); box-shadow: none; }
.rq-kind button[aria-checked="true"] .rd, .ins-props button[aria-checked="true"] .rd { border: 6px solid var(--emerald); }
:root[data-theme="cream"] .rq-kind button[aria-checked="true"], :root[data-theme="cream"] .ins-props button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.opt-g { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; display: flex; align-items: center; gap: 6px; }
.opt-g .d3 { width: 20px; height: 20px; }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.opt-grid button { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--soft); text-align: left; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.opt-grid .cb { width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid #C6CFCB; flex-shrink: 0; display: grid; place-items: center; color: transparent; background: var(--white); }
.opt-grid .cb .ic { width: 12px; height: 12px; }
.opt-grid button[aria-pressed="true"] { background: var(--hero); color: var(--hero-ink); box-shadow: 0 10px 18px -10px rgba(6, 20, 15, .65); }
.opt-grid button[aria-pressed="true"] .cb { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.opt-grid button.other { grid-column: 1 / -1; border: 1.5px dashed #C9D3CE; background: transparent; }
.opt-grid button.other[aria-pressed="true"] { border-style: solid; border-color: var(--hero); }
.pr-seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.pr-seg::-webkit-scrollbar { display: none; }
.pr-seg .chip { flex-shrink: 0; height: 38px; border: 0; background: var(--soft); font-size: 13.5px; }
/* property cards */
.ins-props { display: flex; flex-direction: column; gap: 8px; }
.ins-props button { display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; border-radius: 16px; background: var(--soft); text-align: left; width: 100%; color: var(--ink); }
.ins-props .pi { width: 40px; height: 40px; border-radius: 12px; background: var(--white); display: grid; place-items: center; color: var(--emerald-dk); flex-shrink: 0; box-shadow: 0 4px 10px -6px rgba(23, 33, 30, .35); }
.ins-props .pi .ic { width: 18px; height: 18px; }
.ins-props b { display: block; font-size: 14.5px; font-family: var(--font-display); }
.ins-props span.a { font-size: 12.5px; color: var(--muted-text); }
/* urgency */
.pr .urg { gap: 10px; }
.pr .urg label { border: 0; background: var(--soft); border-radius: 16px; padding: 12px; min-height: 96px; gap: 3px; }
.pr .urg .u-ic { width: 30px; height: 30px; border-radius: 10px; background: var(--white); display: grid; place-items: center; color: var(--emerald-dk); margin-bottom: 4px; box-shadow: 0 4px 10px -6px rgba(23, 33, 30, .35); }
.pr .urg .u-ic .ic-sm { width: 16px; height: 16px; }
.pr .urg label.emg .u-ic { color: var(--red); }
.pr .urg label.emg b { color: var(--ink); }
.pr .urg label:has(input:checked) { background: var(--hero); color: var(--hero-ink); box-shadow: 0 12px 20px -12px rgba(6, 20, 15, .7); border: 0; }
.pr .urg label:has(input:checked) > span:not(.u-ic) { color: var(--hm1); }
.pr .urg label:has(input:checked) .u-ic { background: rgba(255, 255, 255, .1); color: var(--hero-ink); box-shadow: none; }
.pr .urg label.emg:has(input:checked) { background: var(--red); color: var(--white); box-shadow: 0 12px 20px -12px rgba(217, 72, 72, .8); }
.pr .urg label.emg:has(input:checked) b { color: var(--white); }
.pr .urg label.emg:has(input:checked) > span:not(.u-ic) { color: #FFE1E1; }
:root[data-theme="cream"] .pr .urg label:not(.emg):has(input:checked) { background: var(--ink); color: var(--white); }
.pr .emg-note { border-radius: 14px; }
/* day strip and arrival windows */
.pr .days { gap: 8px; margin-inline: -16px; padding: 4px 16px 10px; }
.pr .days button { flex: 0 0 58px; height: 76px; border-radius: 16px; border: 0; background: var(--soft); gap: 1px; }
.pr .days .dw { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-text); }
.pr .days b { font-size: 20px; line-height: 1.1; }
.pr .days .dm { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.pr .days button[aria-checked="true"] { background: var(--hero); box-shadow: 0 12px 18px -10px rgba(6, 20, 15, .65); }
.pr .days button[aria-checked="true"] .dw, .pr .days button[aria-checked="true"] .dm { color: var(--hm1); }
:root[data-theme="cream"] .pr .days button[aria-checked="true"] { background: var(--ink); }
:root[data-theme="cream"] .pr .days button[aria-checked="true"] b { color: var(--white); }
.pr .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr .slots button { height: 54px; border: 0; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.pr .slots button small { font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--muted-text); }
.pr .slots button[aria-checked="true"] { background: var(--hero); color: var(--hero-ink); box-shadow: 0 12px 18px -10px rgba(6, 20, 15, .65); }
.pr .slots button[aria-checked="true"] small { color: var(--hm1); }
.pr .slots button[disabled] { background: transparent; border: 1px dashed #DCE2DF; color: #B8C0BC; text-decoration: none; }
.pr .slots .flex { height: 48px; font-family: var(--font); font-size: 13.5px; }
:root[data-theme="cream"] .pr .slots button[aria-checked="true"] { background: var(--ink); color: var(--white); }
/* WhatsApp opt-in, trust strip */
.pr-wa, .pr-saved { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(180deg, #EEF9F3, #E3F6EC); border: 1px solid #CBEBDB; color: #2F4F44; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pr-wa input { position: absolute; opacity: 0; pointer-events: none; }
.pr-tick { width: 22px; height: 22px; border-radius: 11px; background: var(--emerald-dk); color: var(--white); display: grid; place-items: center; flex-shrink: 0; border: 2px solid var(--emerald-dk); }
.pr-tick .ic { width: 12px; height: 12px; stroke-width: 3; }
.pr-wa input:not(:checked) ~ .pr-tick { background: var(--white); border-color: #C9D2CE; color: transparent; }
.pr-wa input:focus-visible ~ .pr-tick { outline: 2px solid var(--emerald); outline-offset: 2px; }
.pr-saved b { display: block; color: var(--ink); font-size: 14px; }
.pr-saved span { font-size: 12.5px; font-weight: 500; color: #3E5A50; }
.pr-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pr-trust[hidden] { display: none; }
.pr-trust div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 6px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); }
.pr-trust .ic-sm { color: var(--emerald-dk); margin-bottom: 4px; }
.pr-trust b { font-family: var(--font-display); font-size: 12.5px; }
.pr-trust span { font-size: 11px; color: var(--muted-text); }
/* floating action bar (matches the tab bar) */
.pr .action-bar.pr-bar, .action-bar.pr-bar { bottom: calc(12px + var(--safe-b)); width: calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); max-width: calc(var(--app-w) - 24px); padding: 8px; border: 0; border-radius: 24px; background: var(--hero); box-shadow: 0 18px 34px -14px rgba(6, 20, 15, .55), 0 4px 10px -4px rgba(6, 20, 15, .25), inset 0 1px 0 rgba(255, 255, 255, .08); display: flex; align-items: center; gap: 10px; }
.pr-bar .btn { height: 50px; border-radius: 17px; font-size: 15px; width: auto; }
.pr-bar > .btn { flex: 0 0 auto; padding: 0 20px; }
.pr-bar > .btn[hidden] { display: none; }
.pr-bar .pr-prev { flex: 0 0 50px; width: 50px; padding: 0; }
.pr-bar.last .pr-sum { display: none; }
.pr-bar.last #req-submit, .pr-bar > .btn:only-child, .pr-bar .grow-btn { flex: 1; }
.pr-bar .bar-row { flex: 1; min-width: 0; display: flex; gap: 8px; }
.pr-bar .bar-row .btn { flex: 1; }
.pr-sum { flex: 1; min-width: 0; padding-left: 10px; color: var(--hero-ink); line-height: 1.25; }
.pr-sum b { display: block; font-family: var(--font-display); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-sum span { display: block; font-size: 12px; color: var(--hm2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-ghost { background: rgba(255, 255, 255, .08); color: var(--hero-ink); border: 0; }
.pr-ghost:hover { background: rgba(255, 255, 255, .14); color: var(--hero-ink); }
.pr-link { flex: 1; height: 38px; border: 0; background: none; color: var(--hm1); font-weight: 700; font-size: 13.5px; font-family: var(--font-display); border-radius: 12px; }
.pr-link:hover { color: var(--hero-ink); background: rgba(255, 255, 255, .06); }
.pr-link.bad { color: #FF9C9C; }
:root[data-theme="cream"] .action-bar.pr-bar { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid #ECE3CE; }
:root[data-theme="cream"] .pr-ghost { background: #F4ECD9; color: var(--ink); }
:root[data-theme="cream"] .pr-link { color: var(--muted-text); }
.screen.flow:has(.pr-bar) { padding-bottom: calc(110px + var(--safe-b)); }
/* inspection */
.ins-fee-card { padding: 14px; border-radius: 16px; background: var(--soft); }
.ins-fee { display: flex; align-items: baseline; gap: 8px; }
.ins-fee span { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ins-fee small { font-size: 13px; font-weight: 600; color: var(--muted-text); }
.hero .ins-fee small { color: var(--hm2); }
.ins-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ins-tiles div { height: 86px; border-radius: 16px; background: var(--tile); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 11px; font-weight: 700; text-align: center; padding-inline: 4px; line-height: 1.2; box-shadow: inset 0 1px 0 #fff; }
.ins-tiles .d3 { width: 36px; height: 36px; }
.q-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.q-stats > div { padding: 0 10px; border-left: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.q-stats > div:first-child { border-left: 0; padding-left: 0; }
.q-stats span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hm2); }
.q-stats b { display: block; font-family: var(--font-display); font-size: 14px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-stats.light, .q-stats.light > div { border-color: #DFE5E2; }
.q-stats.light span { color: var(--muted-text); }
:root[data-theme="cream"] .q-stats, :root[data-theme="cream"] .q-stats > div { border-color: #EDE4CF; }
/* timeline */
.pr-time { display: flex; flex-direction: column; }
.pr-time > div { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; position: relative; padding-bottom: 18px; }
.pr-time > div:last-child { padding-bottom: 0; }
.pr-time > div:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.pr-time > div.done:not(:last-child)::after { background: var(--emerald); }
.pr-time i { width: 26px; height: 26px; border-radius: 13px; border: 2px solid #CDD5D1; background: var(--white); display: grid; place-items: center; position: relative; z-index: 1; font-style: normal; font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--muted-text); }
.pr-time .done i { background: var(--emerald-dk); border-color: var(--emerald-dk); color: var(--white); }
.pr-time .now i { border-color: var(--emerald); box-shadow: 0 0 0 5px var(--mint); color: var(--emerald-dk); }
.pr-time i .ic, .pr-time i .ic-xs { width: 13px; height: 13px; stroke-width: 3; }
.pr-time b { display: block; font-size: 14.5px; font-family: var(--font-display); }
.pr-time span { font-size: 12.5px; color: var(--muted-text); }
.pr-time em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted-text); white-space: nowrap; padding-top: 4px; }
.pr-time .now em { color: var(--emerald-dk); }
/* "Not sure what needs fixing?" */
.insp-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 20px; background: var(--tile); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-tile); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.insp-card:hover { transform: translateY(-2px); color: var(--ink); }
.insp-card:active { transform: translateY(1px); }
.insp-top { display: flex; align-items: center; justify-content: space-between; }
.insp-kick { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--emerald-dk); }
.insp-kick .ic-xs { width: 14px; height: 14px; }
.insp-go { width: 32px; height: 32px; border-radius: 16px; background: var(--hero); color: var(--hero-ink); display: grid; place-items: center; }
:root[data-theme="cream"] .insp-go { background: var(--ink); color: var(--white); }
.insp-t { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-top: 2px; }
.insp-s { font-size: 13px; color: var(--muted-text); line-height: 1.45; }
.insp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.insp-stack { display: flex; align-items: center; }
.insp-stack i { width: 36px; height: 36px; border-radius: 18px; background: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--tile), 0 4px 8px -4px rgba(23, 33, 30, .3); }
.insp-stack i + i { margin-left: -9px; }
.insp-stack .d3 { width: 26px; height: 26px; }
.insp-stack em { font-style: normal; margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--muted-text); }
.insp-price { display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 12px; border-radius: 12px; background: var(--hero); color: var(--hm1); font-size: 12px; font-weight: 600; white-space: nowrap; }
.insp-price b { font-family: var(--font-display); font-size: 15px; color: var(--hero-ink); font-variant-numeric: tabular-nums; }
:root[data-theme="cream"] .insp-price { background: var(--ink); color: #D8D2C2; }
:root[data-theme="cream"] .insp-price b { color: var(--white); }
/* request sent */
.sent-hero { text-align: center; padding-top: 28px; }
.sent-hero h1 { margin-top: 14px !important; }
.sent-hero .lede { max-width: 310px; margin-inline: auto; }
.sent-ring { width: 88px; height: 88px; margin: 0 auto; }
.sent-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sent-ring .r0 { fill: rgba(16, 173, 120, .12); stroke: rgba(255, 255, 255, .08); stroke-width: 4; }
.sent-ring .r1 { fill: none; stroke: var(--emerald); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 226; stroke-dashoffset: 226; animation: prRing .7s .1s ease forwards; }
.sent-ring .ck { fill: none; stroke: var(--emerald-lt); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: prRing .35s .6s ease forwards; transform: rotate(90deg); transform-origin: 40px 40px; }
.sent-hero.emg .sent-ring .r1 { stroke: #FF8A8A; }
@keyframes prRing { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sent-ring .r1, .sent-ring .ck { animation: none; stroke-dashoffset: 0; } }
:root[data-theme="cream"] .sent-ring .ck { stroke: var(--emerald-dk); }
.sent-ref { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 12px 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); text-align: left; }
.sent-ref span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hm2); }
.sent-ref b { font-family: var(--font-display); font-size: 21px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
:root[data-theme="cream"] .sent-ref { background: #F6EFDF; border-color: #EDE4CF; }
.pr-kv { gap: 12px 16px; }
.pr-kv dt { font-size: 13px; }
.txt-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--emerald-dk); text-decoration: none; background: none; border: 0; }
/* my jobs */
.pr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pr-stats > div { padding: 0 12px; border-left: 1px solid rgba(255, 255, 255, .1); }
.pr-stats > div:first-child { border-left: 0; padding-left: 0; }
.pr-stats b { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pr-stats span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hm2); }
.pr-stats .amb b { color: var(--amber); }
:root[data-theme="cream"] .pr-stats, :root[data-theme="cream"] .pr-stats > div { border-color: #EDE4CF; }
:root[data-theme="cream"] .pr-stats .amb b { color: var(--amber-ink); }
.pr-filters { margin-top: 14px; margin-inline: -16px; padding-inline: 16px; }
.pr-filters .chip { height: 34px; border: 0; background: rgba(255, 255, 255, .07); color: var(--hm1); font-size: 13px; flex-shrink: 0; }
.pr-filters .chip[aria-current="page"] { background: var(--white); color: var(--ink); }
:root[data-theme="cream"] .pr-filters .chip { background: #F1E9D6; color: var(--muted-text); }
:root[data-theme="cream"] .pr-filters .chip[aria-current="page"] { background: var(--ink); color: var(--white); }
.pj { display: block; padding: 14px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-float); color: var(--ink); text-decoration: none; transition: transform .15s; overflow: hidden; }
.pj:hover { transform: translateY(-2px); color: var(--ink); }
.pj.off { opacity: .7; }
.pj-top { display: flex; gap: 12px; align-items: center; }
.pj-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--tile); display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 1px 0 #fff; }
.pj-ic .d3 { width: 38px; height: 38px; }
.pj b { display: block; font-family: var(--font-display); font-size: 15.5px; letter-spacing: -.015em; }
.pj .where { font-size: 12.5px; color: var(--muted-text); display: flex; align-items: center; gap: 4px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-amt { text-align: right; flex-shrink: 0; }
.pj-amt b { font-size: 15px; font-variant-numeric: tabular-nums; }
.pj-amt span { font-size: 11px; color: var(--muted); }
.pj-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.pj-track i { height: 4px; border-radius: 2px; background: #E7ECE9; }
.pj-track i.on { background: var(--emerald); }
.pj-track i.cur { background: linear-gradient(90deg, var(--emerald), #9BE3C6); }
.pj-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.pj-foot .when { font-size: 12px; color: var(--muted-text); text-align: right; }
.pj.needs { box-shadow: inset 0 0 0 1.5px var(--amber), 0 14px 26px -16px rgba(246, 184, 63, .6); }
.pj-cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px -14px -14px; padding: 11px 14px; background: var(--amber-bg); color: var(--amber-ink); font-size: 13px; font-weight: 700; }
/* job page */
.jd-top { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.jd-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--tile); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 14px 22px -12px rgba(0, 0, 0, .6), inset 0 1px 0 #fff; }
.jd-ic .d3 { width: 46px; height: 46px; }
.jd-top h1 { margin: 0 !important; font-size: 21.85px; }
.jd-top p { color: var(--hm1); font-size: 13px; margin-top: 2px; }
.jd-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; margin-top: 16px; }
.jd-track div { display: flex; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 700; color: var(--hm3); line-height: 1.2; }
.jd-track i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.jd-track .on i { background: var(--emerald); }
.jd-track .on { color: var(--hm1); }
.jd-track .cur i { background: linear-gradient(90deg, var(--emerald), #9BE3C6); }
.jd-track .cur { color: var(--hero-ink); }
:root[data-theme="cream"] .jd-track i { background: #EADFC6; }
.next { border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-float); }
.next.amb { background: linear-gradient(180deg, #FFF8E8, #FEF1D4); border-color: #F5DFAE; }
.next .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-text); }
.next.amb .k { color: var(--amber-ink); }
.next .big { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.next .sub { font-size: 13px; color: var(--muted-text); margin-top: 2px; }
.next .btn { height: 48px; border-radius: 14px; width: 100%; }
.pr .float-card.pad h2 { font-size: 15.13px!important; }
/* quotation */
.q-amt { font-family: var(--font-display); font-size: 38px; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-top: 16px; font-variant-numeric: tabular-nums; }
.q-amt small { font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--hm2); letter-spacing: 0; margin-left: 6px; }
.q-hero-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; color: var(--hm1); }
.q-hero-meta .pill.amber { background: rgba(246, 184, 63, .16); color: #F8C55A; }
.q-hero-meta .pill.green { background: rgba(16, 173, 120, .18); color: var(--emerald-lt); }
.q-hero-meta .pill.blue { background: rgba(91, 133, 214, .2); color: #A9C2F5; }
.q-hero-meta .pill.grey { background: rgba(255, 255, 255, .1); color: var(--hm1); }
:root[data-theme="cream"] .q-hero-meta .pill.amber { background: var(--amber-bg); color: var(--amber-ink); }
.scope { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.scope li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.scope li i { width: 20px; height: 20px; border-radius: 10px; background: var(--mint); color: var(--emerald-dk); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.scope li i .ic-xs { width: 12px; height: 12px; stroke-width: 3; }
.lines { display: flex; flex-direction: column; }
.lines .ln { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.lines .ln:first-child { border-top: 0; padding-top: 0; }
.lines .cat { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.lines .ln b { font-family: var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14.5px; }
.tot { padding: 14px; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tot div { display: flex; justify-content: space-between; }
.tot .t { padding-top: 8px; margin-top: 2px; border-top: 1px solid #DFE5E2; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.q-bar form { min-width: 0; }
.q-bar .pr-link { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.screen.flow:has(.q-bar) { padding-bottom: calc(150px + var(--safe-b)); }
/* feedback */
.fb-hero { text-align: center; }
.fb-hero legend { width: 100%; padding: 0; }
.fb-hero h1 { font-size: 22.8px; margin-top: 20px !important; }
.fb-tech { display: flex; align-items: center; gap: 12px; text-align: left; margin-top: 18px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.fb-tech .av { width: 46px; height: 46px; border-radius: 23px; background: var(--emerald); color: var(--white); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; font-family: var(--font-display); }
.fb-tech b { display: block; font-size: 15px; }
.fb-tech span { font-size: 12.5px; color: var(--hm1); }
:root[data-theme="cream"] .fb-tech { background: #F6EFDF; border-color: #EDE4CF; }
.fb-hero .stars { margin-top: 12px; gap: 4px; }
.fb-hero .stars svg { fill: rgba(255, 255, 255, .14); }
.fb-hero .stars label.on svg { fill: var(--amber); filter: drop-shadow(0 4px 10px rgba(246, 184, 63, .45)); }
:root[data-theme="cream"] .fb-hero .stars svg { fill: #E8DEC6; }
.fb-hero .rate-lbl { color: var(--hm1); font-size: 13.5px; margin-top: 4px; font-weight: 600; }
.pr .tipgrid label { border: 0; background: var(--soft); border-radius: 12px; min-height: 44px; font-weight: 600; }
.pr .tipgrid label:has(input:checked) { background: var(--hero); color: var(--hero-ink); box-shadow: 0 8px 14px -8px rgba(6, 20, 15, .6); }
:root[data-theme="cream"] .pr .tipgrid label:has(input:checked) { background: var(--ink); color: var(--white); }
/* account (matches the preview) */
.acc-card { display: flex; align-items: center; gap: 14px; padding: 14px; }
.acc-card .avatar { width: 46px; height: 46px; border-radius: 23px; background: var(--hero); color: var(--hero-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; font-family: var(--font-display); }
:root[data-theme="cream"] .acc-card .avatar { background: var(--ink); color: var(--white); }
.acc-card b { display: block; font-family: var(--font-display); font-size: 15px; }
.acc-card span { display: block; font-size: 13px; color: var(--muted-text); overflow-wrap: anywhere; }
.acc-edit { border: 1px solid var(--line); background: var(--white); }
.use-link { font-size: 13px; font-weight: 700; color: var(--emerald-dk); text-decoration: none; padding: 6px 2px; }
.list form + .li, .list .li + form .li, .list form .li { border-top: 1px solid var(--line); }

/* =====================================================================================================================
   Exact match with the preview: type details
   ===================================================================================================================== */
body { font-size: 14.5px; }
.brand-name { font-family: 'Montserrat', var(--font-display); font-weight: 300; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.svc-tile { font-weight: 600; letter-spacing: -.025em; }
.btn { font-weight: 600; }
.pr-filters .chip { font-weight: 700; }
.pr-kick { letter-spacing: .01em; }
.av, .avatar, .acc-card .avatar { font-family: var(--font); }
.sec-title { font-size: 15.13px; font-weight: 600; letter-spacing: -.025em; }
.li .meta { font-size: 13px; }

.brand-name { line-height: 1.15; }
.prio-h .ct, .ct { font-weight: 600; }
.acc-card .avatar { width: 42px; height: 42px; border-radius: 21px; }
