/*
 * Avenrow v4 · the app, reproduced. Source of truth: references/app-2026-11/ (the November screenshots) and the app's
 * src/constants/palette.ts (Colors, DarkBackground, DarkAtmosphereColors, LightAtmosphereColors, TabBarChrome).
 * Everything here lives inside .app, at the phone's own design size (390 px wide); pages scale the phone to fit.
 * The phone follows the page: html[data-theme="dark"] shows the app's Dark appearance, "light" its Light appearance.
 * Sample data only.
 */

/* ---------- appearance tokens ---------- */
.app {
  --a-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --a-ink: #EEECE6; --a-ink2: #A4B0AC; --a-ink3: #889490;
  --a-g0: #283630; --a-g1: #1F2B27; --a-g2: #192421; --a-g3: #18221F;
  --a-card: rgba(168, 190, 184, .075);
  --a-card-solid: #222C29;
  --a-line: rgba(228, 240, 235, .11); --a-top: rgba(228, 240, 235, .17);
  --a-hair: rgba(200, 218, 212, .09);
  --a-tray: rgba(176, 198, 192, .09);
  --a-accent: #3DB38B; --a-accent-ink: #5ECFA5; --a-fill: #1E8566; --a-deep: #156650;
  --a-brass: #B99A5B; --a-year: #D3A866; --a-owed: #DDA858; --a-due: #F0917C;
  --a-done: #C3953F; --a-paid: #27A97F;
  --a-booked: rgba(238, 236, 230, .22);
  --a-glass: rgba(60, 76, 70, .5); --a-glass-edge: rgba(228, 240, 235, .2);
  --a-tabs: rgba(34, 42, 39, .78); --a-lens: rgba(61, 179, 139, .14);
  --a-sheet: #1B201F; --a-menu: rgba(52, 60, 57, .92);
  --a-seg: rgba(176, 198, 192, .1); --a-seg-on: rgba(238, 236, 230, .16);
  --a-shadow: 0 0 0 transparent;
  color-scheme: dark;
}
html[data-theme="light"] .app {
  --a-ink: #1B2A27; --a-ink2: #515D5A; --a-ink3: #5F6865;
  --a-g0: #F3F1EA; --a-g1: #F4EFE6; --a-g2: #F3EDE2; --a-g3: #F1EBDF;
  --a-card: #FFFDF8;
  --a-card-solid: #FFFDF8;
  --a-line: rgba(92, 74, 50, .15); --a-top: rgba(255, 255, 255, .95);
  --a-hair: rgba(92, 74, 50, .12);
  --a-tray: #EAE5DD;
  --a-accent: #1A7A5D; --a-accent-ink: #136048; --a-fill: #1A7A5D; --a-deep: #136048;
  --a-brass: #B99A5B; --a-year: #876424; --a-owed: #965816; --a-due: #A63F32;
  --a-done: #B98A36; --a-paid: #1A7A5D;
  --a-booked: rgba(27, 42, 39, .16);
  --a-glass: rgba(255, 253, 248, .78); --a-glass-edge: rgba(92, 74, 50, .14);
  --a-tabs: rgba(255, 253, 248, .8); --a-lens: rgba(225, 220, 210, .8);
  --a-sheet: #F8F4EC; --a-menu: rgba(255, 253, 248, .94);
  --a-seg: rgba(92, 74, 50, .08); --a-seg-on: #FFFDF8;
  --a-shadow: 0 10px 22px -16px rgba(27, 42, 39, .3);
  color-scheme: light;
}

/* ---------- the device ---------- */
.device { position: relative; width: 626px; height: calc(var(--sh, 1280px) + 36px); padding: 18px; border-radius: 88px;
  background: linear-gradient(145deg, #3c423f 0%, #121614 38%, #262a28 100%);
  box-shadow: inset 0 0 0 1.5px #5d6460, inset 0 0 0 4px #090b0a, 0 60px 120px -40px rgba(0, 0, 0, .7), 0 30px 60px -30px rgba(0, 0, 0, .5); }
html[data-theme="light"] .device { background: linear-gradient(145deg, #d9d4ca 0%, #a7a198 40%, #cfc9be 100%);
  box-shadow: inset 0 0 0 1.5px #ece7dd, inset 0 0 0 4px #1b1d1c, 0 60px 110px -50px rgba(27, 42, 39, .4), 0 26px 50px -30px rgba(27, 42, 39, .3); }
.device .bezel { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 2px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .5), transparent 24%, transparent 72%, rgba(170, 255, 220, .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

.app { position: relative; width: 590px; height: var(--sh, 1280px); border-radius: 70px; overflow: hidden; isolation: isolate; color: var(--a-ink); background: var(--a-g3);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; font-size: 22px; line-height: 1.3; letter-spacing: -.01em;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: background-color 400ms ease, color 400ms ease; }
:where(.app) svg { display: block; }
:where(.app) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.a-ground { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 55% at 0% 0%, rgba(92, 138, 128, .30), rgba(78, 118, 110, .09) 38%, rgba(70, 104, 98, 0) 75%),
    radial-gradient(351px 380px at 70% 112%, rgba(78, 138, 122, .3), rgba(78, 138, 122, .08) 45%, rgba(78, 138, 122, 0) 75%),
    linear-gradient(180deg, var(--a-g0) 0%, var(--a-g1) 20%, var(--a-g2) 60%, var(--a-g3) 100%); }
html[data-theme="light"] .a-ground { background:
    radial-gradient(110% 50% at 0% 0%, rgba(138, 198, 176, .2), rgba(150, 205, 184, .06) 40%, rgba(160, 210, 190, 0) 78%),
    linear-gradient(180deg, var(--a-g0) 0%, var(--a-g1) 34%, var(--a-g2) 68%, var(--a-g3) 100%); }
.a-ground::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at var(--px, 50%) var(--py, 60%), rgba(94, 207, 165, var(--flash, 0)), rgba(94, 207, 165, 0) 70%); }

.a-sbar { position: absolute; top: 0; left: 0; right: 0; height: 80px; display: flex; justify-content: space-between; align-items: center; padding: 20px 52px 0 84px; font: 600 25px/1 var(--a-font); z-index: 30; pointer-events: none; }
.a-sbar .r { display: flex; gap: 6px; align-items: center; transform: scale(1.45); transform-origin: 100% 50%; }
.a-sbar .sig { width: 17px; height: 11px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 4.6px, currentColor 4.6px 7.6px, transparent 7.6px 9.2px, currentColor 9.2px 12.2px, transparent 12.2px 13.8px, color-mix(in srgb, currentColor 35%, transparent) 13.8px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.a-sbar .wifi { width: 15px; height: 11px; border-radius: 15px 15px 0 0; background: radial-gradient(circle at 50% 100%, currentColor 0 2.6px, transparent 2.7px 4.4px, currentColor 4.5px 6.6px, transparent 6.7px 8.4px, currentColor 8.5px 10.6px, transparent 10.7px); }
.a-sbar .bat { width: 26px; height: 12px; border: 1.5px solid currentColor; border-radius: 4px; position: relative; opacity: .9; }
.a-sbar .bat::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1.5px; }
.a-island { position: absolute; top: 15px; left: 50%; width: 172px; height: 52px; margin-left: -86px; background: #000; border-radius: 26px; z-index: 31; }
.a-home { position: absolute; bottom: 12px; left: 50%; width: 200px; height: 7px; margin-left: -100px; border-radius: 4px; background: var(--a-ink); opacity: .85; z-index: 31; pointer-events: none; }

/* ---------- views (tabs) ---------- */
.a-views { position: absolute; inset: 0; z-index: 2; }
.a-view { position: absolute; inset: 0; padding: 80px 28px 0; opacity: 0; visibility: hidden; transform: scale(.975); filter: blur(4px);
  transition: opacity 260ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1), filter 260ms ease, visibility 0s 420ms; }
.a-view.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 300ms ease 60ms, transform 480ms cubic-bezier(.16, 1, .3, 1), filter 300ms ease, visibility 0s; }

/* header: "November 2026 ⌄" in light weight, the year in brass; a glass pill on the right */
.a-hd { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 0 0 2px; }
.a-ttl { display: flex; align-items: center; gap: 8px; font: 300 42px/50px var(--a-font); letter-spacing: -.6px; white-space: nowrap; }
.a-ttl em { font-style: normal; color: var(--a-year); }
.a-ttl .chev { width: 20px; height: 12px; margin-top: 6px; color: var(--a-year); }
.a-pill { display: flex; align-items: center; height: 58px; padding: 0 4px; border-radius: 29px; background: var(--a-glass); color: var(--a-ink);
  box-shadow: inset 0 1px 0 var(--a-glass-edge), inset 0 0 0 .5px var(--a-glass-edge), var(--a-shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.a-pill > span, .a-pill > button { position: relative; width: 52px; height: 52px; display: grid; place-items: center; }
.a-pill > * + *::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: var(--a-hair); }
.a-pill svg { width: 26px; height: 26px; }
.a-badge { position: absolute; top: -6px; right: -4px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: #E5484D; color: #fff; font: 600 16px/26px var(--a-font); text-align: center; }

/* the week strip */
.a-strip { display: grid; grid-template-columns: repeat(7, 1fr); margin: 22px -6px 0; }
.a-strip .c { display: grid; justify-items: center; gap: 6px; }
.a-strip small { font: 400 16px/20px var(--a-font); letter-spacing: .06em; color: var(--a-ink2); text-transform: uppercase; }
.a-strip b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 400 26px/1 var(--a-font); font-variant-numeric: tabular-nums; transition: background-color 300ms ease, color 300ms ease; }
.a-strip .c.sel b { background: var(--a-fill); color: #fff; font-weight: 600; }
.a-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--a-ink3); }
.a-strip i.none { visibility: hidden; }

.a-cap { margin: 52px 6px 12px; display: flex; justify-content: space-between; align-items: center; font: 500 16px/20px var(--a-font); letter-spacing: .12em; text-transform: uppercase; color: var(--a-ink2); }
.a-sub { margin: 30px 6px 12px; font: 400 19px/24px var(--a-font); color: var(--a-ink2); }

/* ---------- the job card (Schedule) ---------- */
.a-jobs { display: grid; gap: 12px; }
.jc { position: relative; border-radius: 28px; touch-action: pan-y; -webkit-tap-highlight-color: transparent; outline-offset: 2px; }
.jc-act { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: flex-start; gap: 12px; padding: 32px 0 0; pointer-events: none; }
.jc-act .pa { display: grid; justify-items: center; gap: 10px; font: 500 18px/1 var(--a-font); color: var(--a-ink2); opacity: var(--r, 0); transform: scale(calc(.7 + var(--r, 0) * .3)); transform-origin: 50% 30%; pointer-events: auto; }
.jc-act .pa span { width: 82px; height: 58px; border-radius: 29px; display: grid; place-items: center; color: #fff; }
.jc-act .pa svg { width: 28px; height: 28px; }
.jc-act .pa-done span { background: var(--a-done); }
.jc-act .pa-paid span { background: var(--a-paid); }
.jc-act .pa-paid { transform: scale(calc(.7 + var(--r2, 0) * .3)); opacity: var(--r2, 0); }
.jc[data-st="paid"] .jc-act { visibility: hidden; }
.jc-face { position: relative; border-radius: 28px; background: var(--a-card); box-shadow: inset 0 0 0 .5px var(--a-line), inset 0 1px 0 var(--a-top), var(--a-shadow); will-change: transform; overflow: hidden; }
html[data-theme="light"] .jc-face { background: linear-gradient(180deg, #FFFEFA, #FBF7EF); }
.jc-face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--a-ink); opacity: 0; transition: opacity 180ms ease; pointer-events: none; }
.jc.down .jc-face::after { opacity: .04; transition-duration: 60ms; }
.jc-row { display: flex; align-items: center; gap: 18px; min-height: 92px; padding: 14px 24px 14px 18px; }
.jc-circ { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px var(--a-ink3); transition: box-shadow 260ms ease; }
.jc-circ .dot { position: absolute; inset: 9px; border-radius: 50%; background: var(--a-done); transform: scale(0); transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1); }
.jc-circ .fill { position: absolute; inset: 0; border-radius: 50%; background: var(--a-paid); transform: scale(0); transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1); }
.jc-circ svg { position: absolute; inset: 7px; width: 20px; height: 20px; clip-path: inset(0 100% 0 0); transition: clip-path 260ms ease; }
.jc[data-st="now"] .jc-circ { box-shadow: inset 0 0 0 2.4px var(--a-done); }
.jc[data-st="now"] .jc-circ .dot { transform: scale(1); }
.jc[data-st="done"] .jc-circ { box-shadow: inset 0 0 0 2.4px var(--a-done); }
.jc[data-st="done"] .jc-circ .dot { transform: scale(1.62); }
.jc[data-st="done"] .jc-circ svg { clip-path: inset(0 0 0 0); transition-delay: 80ms; }
.jc[data-st="paid"] .jc-circ { box-shadow: inset 0 0 0 2.4px var(--a-paid); }
.jc[data-st="paid"] .jc-circ .fill { transform: scale(1); }
.jc[data-st="paid"] .jc-circ svg { clip-path: inset(0 0 0 0); transition-delay: 80ms; }
.jc-tm { min-width: 82px; display: grid; justify-items: center; flex: none; }
.jc-tm b { font: 300 30px/34px var(--a-font); letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.jc-tm small { font: 400 19px/24px var(--a-font); color: var(--a-ink2); }
.jc-tm.any b { font-size: 20px; line-height: 25px; color: var(--a-ink2); font-weight: 400; letter-spacing: 0; }
.jc-tm.date small { order: -1; }
.jc-ln { flex: 1; min-width: 0; display: grid; gap: 3px; }
.jc-ln b, .jc-ln span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-ln b { font: 500 24px/29px var(--a-font); }
.jc-ln span { font: 400 19px/24px var(--a-font); color: var(--a-ink2); }
.jc-pr { display: grid; justify-items: end; gap: 2px; flex: none; }
.jc-pr b { font: 600 23px/28px var(--a-font); font-variant-numeric: tabular-nums; }
.jc-pr small { font: 500 15px/18px var(--a-font); color: var(--a-ink3); }
.jc[data-st="done"] .jc-pr small { color: var(--a-owed); }
.jc[data-st="paid"] .jc-pr small { color: var(--a-accent-ink); }
.jc-pr small.flip { animation: aFlip 420ms cubic-bezier(.16, 1, .3, 1); }
@keyframes aFlip { from { opacity: 0; transform: translateY(5px); } }
.jc-note { display: flex; align-items: center; gap: 8px; margin: 0 24px 0 70px; padding: 13px 0 15px; border-top: 1px solid var(--a-hair); font: 400 19px/23px var(--a-font); color: var(--a-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-note svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.jc.new { animation: aRowIn 700ms cubic-bezier(.34, 1.4, .64, 1) both; }
@keyframes aRowIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* ---------- the floating tab bar and the + ---------- */
.a-tabbar { position: absolute; left: 30px; right: 28px; bottom: 30px; display: flex; gap: 12px; align-items: center; z-index: 20; }
.a-tabs { position: relative; flex: 1; height: 84px; border-radius: 42px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 6px;
  background: var(--a-tabs); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--a-glass-edge), inset 0 0 0 .5px var(--a-glass-edge), 0 10px 24px -12px rgba(0, 0, 0, .45); }
.a-lens { position: absolute; left: 6px; top: 6px; bottom: 6px; width: calc((100% - 12px) / 4); border-radius: 36px; background: var(--a-lens); will-change: transform; }
html:not([data-theme="light"]) .a-lens { background: rgba(14, 20, 18, .55); }
.a-tab { position: relative; display: grid; justify-items: center; gap: 4px; font: 500 15px/18px var(--a-font); color: var(--a-ink); height: 100%; align-content: center; transition: color 200ms ease, transform 140ms ease; }
.a-tab svg { width: 36px; height: 36px; }
.a-tab.on { color: var(--a-accent); }
html:not([data-theme="light"]) .a-tab.on { color: var(--a-accent-ink); }
.a-tab:active { transform: scale(.94); }
.a-plus { width: 84px; height: 84px; border-radius: 42px; display: grid; place-items: center; flex: none; color: #fff; background: radial-gradient(120% 120% at 30% 20%, #23926F, #1A7A5D 55%, #136048);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 24px -10px rgba(0, 0, 0, .5); }
.a-plus svg { width: 38px; height: 38px; }

/* ---------- glass, cards, segmented control ---------- */
.a-card { border-radius: 22px; background: var(--a-card); box-shadow: inset 0 0 0 .5px var(--a-line), inset 0 1px 0 var(--a-top), var(--a-shadow); }
html[data-theme="light"] .a-card { background: linear-gradient(180deg, #FFFEFA, #FBF7EF); }
.a-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 44px; padding: 3px; border-radius: 22px; background: var(--a-seg); margin: 24px -6px 0; }
.a-seg span { position: relative; z-index: 1; display: grid; place-items: center; font: 500 18px/1 var(--a-font); color: var(--a-ink); }
.a-seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 19px; background: var(--a-seg-on); box-shadow: inset 0 1px 0 var(--a-top), var(--a-shadow); transform: translateX(calc(var(--seg, 0) * 100%)); transition: transform 420ms cubic-bezier(.34, 1.3, .64, 1); }

/* ---------- Money: the half-ring gauge ---------- */
.a-gauge { position: relative; width: 380px; height: 212px; margin: 32px auto 0; }
.a-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.a-gauge path { fill: none; stroke-width: 12; stroke-linecap: butt; transition: stroke 400ms ease; }
.a-gauge .trk { stroke: var(--a-booked); opacity: .5; }
.a-gauge .g1 { stroke: var(--a-accent); }
.a-gauge .g2 { stroke: var(--a-brass); }
.a-gauge .g3 { stroke: var(--a-booked); }
html:not([data-theme="light"]) .a-gauge .g2 { stroke: #C99A4A; }
.a-gauge.spent .g1 { stroke: #B98E48; } .a-gauge.spent .g2 { stroke: #E2C691; } .a-gauge.spent .g3 { stroke: #8F8E88; } .a-gauge.spent .g4 { stroke: #C9C6BE; }
.a-gauge .ctr { position: absolute; left: 0; right: 0; bottom: 6px; display: grid; justify-items: center; gap: 2px; }
.a-gauge .ctr small { font: 400 19px/24px var(--a-font); color: var(--a-ink2); }
.a-gauge .ctr b { font: 300 66px/70px var(--a-font); letter-spacing: -1.4px; font-variant-numeric: tabular-nums; }
.a-gauge .ctr b sup { font-size: 24px; vertical-align: 26px; margin-right: 4px; font-weight: 400; }
.a-stats { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); margin-top: 12px; padding: 12px 6px; }
.a-stats > div { display: grid; justify-items: center; gap: 3px; }
.a-stats small { display: flex; align-items: center; gap: 7px; font: 400 18px/22px var(--a-font); color: var(--a-ink2); }
.a-stats small i { width: 7px; height: 7px; border-radius: 50%; }
.a-stats b { font: 400 24px/30px var(--a-font); font-variant-numeric: tabular-nums; }
.k1 { background: var(--a-accent); } .k2 { background: #C99A4A; } .k3 { background: var(--a-ink3); }
.a-due { display: flex; justify-content: space-between; margin: 40px 6px 12px; font: 400 19px/24px var(--a-font); color: var(--a-ink2); }
.a-due b { color: var(--a-owed); font-weight: 600; font-variant-numeric: tabular-nums; }
.a-av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 600 18px/1 var(--a-font); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.av-ms { background: radial-gradient(circle at 35% 30%, #8E7135, #654E1B); }
.av-ej { background: radial-gradient(circle at 35% 30%, #9D6952, #7D4832); }
.av-sd { background: radial-gradient(circle at 35% 30%, #6B7C46, #495927); }
.av-jc { background: radial-gradient(circle at 35% 30%, #8E7135, #654E1B); }
.av-st { background: radial-gradient(circle at 35% 30%, #6C7B48, #47572C); }
.a-owe { padding: 6px 0 0; }
.a-owe-h { display: flex; align-items: center; gap: 18px; padding: 14px 22px 8px; }
.a-owe-h .n { flex: 1; min-width: 0; display: grid; gap: 2px; }
.a-owe-h .n b { font: 400 24px/29px var(--a-font); }
.a-owe-h .n span { font: 400 18px/23px var(--a-font); color: var(--a-ink2); }
.a-owe-h > b { font: 500 24px/29px var(--a-font); color: var(--a-owed); font-variant-numeric: tabular-nums; transition: color 300ms ease; }
.a-owe-r { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; padding: 0 22px 0 94px; height: 56px; font: 400 21px/1 var(--a-font); transition: opacity 400ms ease, transform 400ms ease; }
.a-owe-r small { font-size: 18px; color: var(--a-ink3); }
.a-owe-r span:last-child { color: var(--a-ink2); font-variant-numeric: tabular-nums; }
.a-owe-r.paid { opacity: .35; }
.a-owe-a { display: grid; grid-template-columns: 1fr 1fr; margin: 6px 0 0 94px; border-top: 1px solid var(--a-hair); }
.a-owe-a span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; padding: 0 12px; font: 400 21px/1 var(--a-font); color: var(--a-accent-ink); }
html[data-theme="light"] .a-owe-a span { color: var(--a-accent); }
.a-owe-a span + span { border-left: .5px solid var(--a-hair); }
.a-owe-a svg { width: 23px; height: 23px; }
.a-list { padding: 2px 0; }
.a-li { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 10px 22px; }
.a-li + .a-li { box-shadow: inset 0 .5px 0 var(--a-hair); }
.a-li .d { width: 78px; flex: none; font-size: 18px; color: var(--a-ink3); }
.a-li .n { flex: 1; min-width: 0; display: grid; gap: 2px; }
.a-li .n b { font: 400 23px/28px var(--a-font); }
.a-li .n span { font-size: 18px; color: var(--a-ink2); }
.a-li > b { font: 400 23px/28px var(--a-font); font-variant-numeric: tabular-nums; }
.a-li .p { color: var(--a-year); font-weight: 400; }
.a-li .chev { width: 10px; height: 16px; color: var(--a-ink3); flex: none; }

/* ---------- Job details (light screenshot): the map, the card, tasks, photos ---------- */
.a-map { position: absolute; left: 0; right: 0; top: 0; height: 380px; overflow: hidden; background: #E9E6DC; }
html:not([data-theme="light"]) .a-map { background: #2A322F; }
.a-map svg { width: 100%; height: 100%; }
.a-dcard { position: relative; margin: 300px 0 0; padding: 26px 26px 0; }
.a-dcard h4 { margin: 0; font: 600 34px/40px var(--a-font); letter-spacing: -.3px; }
.a-dcard .who { margin-top: 4px; font-size: 21px; color: var(--a-ink2); }
.a-dcard .adr { margin-top: 6px; font-size: 21px; color: var(--a-accent-ink); }
html[data-theme="light"] .a-dcard .adr { color: var(--a-accent); }
.a-dcard .tp { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; padding-bottom: 18px; }
.a-dcard .tp > div + div { padding-left: 16px; text-align: right; border-left: .5px solid var(--a-hair); }
.a-dcard .tp b { display: block; font: 300 52px/58px var(--a-font); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.a-dcard .tp b small { font-size: 23px; letter-spacing: 0; }
.a-dcard .tp span { font-size: 19px; color: var(--a-ink2); }
.a-dcard .tp .due { color: var(--a-due); }
.a-dcard .key { display: flex; align-items: center; gap: 12px; margin: 0 -26px; padding: 20px 26px; border-top: 1px solid var(--a-hair); font-size: 22px; color: var(--a-ink2); }
.a-dcard .key b { color: var(--a-ink); font-weight: 400; }
.a-dcard .key svg { width: 24px; height: 14px; color: var(--a-brass); }
.a-tasks { padding: 20px 6px 0; }
.a-tasks .th { display: flex; justify-content: space-between; align-items: center; font-size: 20px; color: var(--a-ink2); margin-bottom: 8px; }
.a-tasks .th svg { width: 20px; height: 20px; color: var(--a-accent); }
.a-task { display: flex; align-items: center; gap: 16px; height: 55px; font-size: 23px; transition: color 300ms ease; }
.a-task i { position: relative; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px var(--a-ink3); flex: none; transition: background-color 260ms ease, box-shadow 260ms ease; }
.a-task i::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) scale(0); transition: transform 260ms cubic-bezier(.34, 1.56, .64, 1); }
.a-task.on { color: var(--a-ink2); }
.a-task.on i { background: var(--a-fill); box-shadow: none; }
.a-task.on i::after { transform: rotate(45deg) scale(1); }
.a-photos { display: flex; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: .5px solid var(--a-hair); }
.a-photo { position: relative; width: 98px; height: 98px; border-radius: 16px; flex: none; overflow: hidden; background: linear-gradient(150deg, #5E6F6A, #2B3633); }
.a-photo.p2 { background: linear-gradient(160deg, #8B9A86, #43544D); }
.a-photo.p3 { background: linear-gradient(140deg, #C9C1AE, #8E8875); }
.a-photo.add { display: grid; place-items: center; background: var(--a-card); box-shadow: inset 0 0 0 .5px var(--a-line); color: var(--a-ink2); font-size: 30px; font-weight: 300; }
.a-photo em { position: absolute; left: 7px; bottom: 7px; padding: 4px 9px; border-radius: 10px; background: rgba(255, 253, 248, .88); color: #1B2A27; font: 600 15px/1 var(--a-font); font-style: normal; }
.a-cta { position: absolute; left: 22px; right: 22px; bottom: 40px; z-index: 5; display: flex; gap: 10px; padding: 6px; border-radius: 40px; background: var(--a-glass); box-shadow: inset 0 0 0 .5px var(--a-glass-edge), 0 10px 30px -16px rgba(0, 0, 0, .4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.a-btn { flex: 1; height: 68px; padding: 0 22px; border-radius: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; font: 600 20px/1 var(--a-font); color: #fff; background: var(--a-fill); transition: transform 160ms ease, background-color 300ms ease; }
html[data-theme="light"] .a-btn { background: #1E7A5E; }
.a-btn svg { width: 18px; height: 18px; }
.a-btn.ghost { flex: 0 0 130px; background: var(--a-card); color: var(--a-accent-ink); box-shadow: inset 0 0 0 .5px var(--a-line); }
html[data-theme="light"] .a-btn.ghost { color: var(--a-accent); background: #FFFDF8; }
.a-btn.press { transform: scale(.96); }

/* ---------- the method menu (Payment) ---------- */
.a-menu { position: absolute; z-index: 12; width: 340px; padding: 8px 0; border-radius: 30px; background: var(--a-menu); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 .5px var(--a-line), 0 24px 60px -16px rgba(0, 0, 0, .45); transform-origin: 20% 0%; }
.a-menu > span { position: relative; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 26px 0 50px; font-size: 22px; transition: background-color 200ms ease; }
.a-menu > span.on::before { content: ""; position: absolute; left: 22px; top: 20px; width: 6px; height: 12px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.a-menu > span.hi { background: var(--a-seg); }
.a-menu .more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.a-menu .rm { color: #E5484D; }

/* ---------- Voice (the screenshot) ---------- */
.a-voice { position: absolute; inset: 0; z-index: 3; display: grid; justify-items: center; align-content: start; padding: 80px 28px 0; text-align: center; }
.a-voice > p, .a-voice > .a-wave { position: relative; }
.a-voice .vh { position: relative; width: 100%; display: grid; justify-items: center; gap: 2px; padding-top: 18px; }
.a-voice .vh b { font: 600 23px/28px var(--a-font); }
.a-voice .vh small { font-size: 18px; color: var(--a-year); }
.a-voice .back { position: absolute; left: -8px; top: 14px; width: 60px; height: 60px; border-radius: 30px; display: grid; place-items: center; background: var(--a-glass); box-shadow: inset 0 0 0 .5px var(--a-glass-edge); }
.a-voice .back svg { width: 12px; height: 18px; }
.a-voice .try { margin: 56px 0 0; font-size: 19px; color: var(--a-year); }
.a-voice .q { margin: 14px 0 0; font: 400 33px/44px var(--a-font); color: var(--a-ink2); text-wrap: balance; }
.a-voice .q span { transition: color 300ms ease; }
.a-voice .q span.on { color: var(--a-ink); }
.a-voice .q span.map { color: var(--a-accent-ink); }
html[data-theme="light"] .a-voice .q span.map { color: var(--a-accent); }
.a-voice .tmr { margin: 250px 0 0; font: 200 88px/1 var(--a-font); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.a-voice .st { margin: 18px 0 0; font-size: 21px; color: var(--a-ink2); }
.a-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 46px; margin-top: 54px; }
.a-wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--a-accent); transform: scaleY(var(--a, .08)); opacity: calc(.35 + var(--a, .08) * .65); }
.a-stop { position: absolute; left: 50%; bottom: 84px; width: 132px; height: 132px; margin-left: -66px; border-radius: 50%; display: grid; place-items: center; background: var(--a-glass); box-shadow: inset 0 0 0 .5px var(--a-glass-edge); }
.a-stop span { width: 106px; height: 106px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 20%, #23926F, #1A7A5D 55%, #136048); }
.a-stop span::after { content: ""; width: 34px; height: 34px; border-radius: 8px; background: #fff; }
.a-stop + small { position: absolute; left: 0; right: 0; bottom: 36px; font-size: 19px; color: var(--a-ink2); }

/* ---------- Invoice (light screenshot) ---------- */
.a-inv { padding: 20px 22px 18px; border-radius: 24px; background: #FFFDF8; color: #1B2A27; box-shadow: 0 20px 50px -24px rgba(27, 42, 39, .3), inset 0 0 0 .5px rgba(92, 74, 50, .12); font-size: 15px; }
html:not([data-theme="light"]) .a-inv { background: #F8F4EC; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .55), inset 0 0 0 .5px rgba(92, 74, 50, .12); }
.a-inv .ih { display: flex; justify-content: space-between; gap: 10px; }
.a-inv small { display: block; font: 600 11px/1.3 var(--a-font); letter-spacing: .16em; color: #5F6B68; text-transform: uppercase; }
.a-inv .ih b { display: block; font-size: 19px; line-height: 1.3; }
.a-inv .ih .r { text-align: right; }
.a-inv .ih .r small { font-size: 15px; letter-spacing: .3em; font-weight: 400; }
.a-inv .ih .r b { font-size: 17px; letter-spacing: .04em; }
.a-inv hr { border: 0; height: 1.5px; margin: 12px 0; background: #1A7A5D; }
.a-inv .ln { display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; padding: 8px 0; border-top: 1px solid #1B2A27; }
.a-inv .tot { display: flex; justify-content: space-between; margin-left: 40%; padding: 10px 0 0; border-top: 1.5px solid #1B2A27; font: 600 13px/1 var(--a-font); letter-spacing: .14em; }
.a-inv .tot b { font-size: 24px; letter-spacing: 0; }
