/* The purchase flow in the showroom (js/plus/purchase.js): the WhatsApp code prompt (.cue-otp) and the Fill EOI panel (#pu-eoi).
   The showroom's own tokens (css/showroom.css: --ink --muted --paper --card --line --r --tap --pad --shadow) and its .pill buttons; motion is opacity and
   transform only, and none under reduced motion. */

/* ---------- the code prompt: above everything, the welcome sheet included ---------- */
.cue-otp { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--pad); background: rgba(12, 12, 16, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s ease; color: var(--ink); }
.cue-otp.on { opacity: 1; } .cue-otp.out { opacity: 0; }
.cue-otp-card { position: relative; width: min(26rem, 100%); padding: 1.8rem 1.6rem 1.5rem; border-radius: calc(var(--r) * .9); background: var(--card); box-shadow: var(--shadow);
  transform: translateY(10px) scale(.98); transition: transform .32s cubic-bezier(.22, 1, .36, 1); }
.cue-otp.on .cue-otp-card { transform: none; }
.cue-otp-card h3 { margin: 0 2.4rem .5rem 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.cue-otp-p { margin: 0 0 1.1rem; color: var(--ink-2); line-height: 1.5; }
.cue-otp-in { width: 100%; height: 3.6rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); color: var(--ink);
  font: 600 1.7rem/1 var(--sans); letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.cue-otp-in:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.cue-otp-err { margin: .6rem 0 0; color: #b3261e; font-size: .92rem; }
.cue-otp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.2rem; }
.cue-otp-acts .pill[disabled] { opacity: .45; pointer-events: none; }
.cue-otp-later { margin-left: auto; padding: .5rem .2rem; border: 0; background: none; color: var(--muted); font: inherit; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cue-otp .x, #pu-eoi .x { position: absolute; top: 1rem; right: 1rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.cue-otp .x svg, #pu-eoi .x svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Fill EOI in the home card, under Request hold (the same quiet flat bar as css/ux/tower-home.css .hm-hold-btn) ---------- */
:root body #lv-home .hm-eoi { flex: 1 1 100%; }
:root body #lv-home .hm-eoi[hidden] { display: none; }
:root body #lv-home .hm-eoi-btn {
  display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 3.5rem; padding: .35rem 1.2rem .35rem .5rem; text-align: left; border: 0; cursor: pointer; font: inherit;
  border-radius: var(--r-pill); background: var(--lg-field); color: var(--lg-fg); box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.112);
  transition: background-color var(--dur-quick) var(--ease-out);
}
:root body #lv-home .hm-eoi-btn:hover { background: var(--lg-field-hi); }
:root body #lv-home .hm-eoi-btn.on { background: rgba(124, 203, 140, .14); box-shadow: inset 0 0 0 1px rgba(124, 203, 140, .45); }
:root body #lv-home .hm-eoi-btn .hh-ring > svg:last-child { position: relative; }

/* ---------- the EOI panel ---------- */
/* the Meeting Center's "Join my meeting" button (crm/meetings/showroom-meet.js) steps aside while the panel is open; a call already on screen stays */
body:is(.pu-open, .cu-page-open) .mtg-join { visibility: hidden; }   /* (26 Nov) nor over My account: it covered the account number's Copy */
#pu-eoi { position: fixed; inset: 0; z-index: 900; color: var(--ink); }
#pu-eoi[hidden], #pu-eoi [hidden] { display: none !important; }   /* .pill's display would otherwise win over the hidden attribute */
.pu-scrim { position: absolute; inset: 0; background: rgba(12, 12, 16, .45); opacity: 0; transition: opacity .26s ease; }
.pu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(46rem, 100%); display: flex; flex-direction: column; background: var(--card); box-shadow: var(--shadow);
  border-radius: calc(var(--r) * .9) 0 0 calc(var(--r) * .9); transform: translateX(28px); opacity: 0; transition: transform .34s cubic-bezier(.22, 1, .36, 1), opacity .26s ease; }
#pu-eoi.on .pu-scrim { opacity: 1; } #pu-eoi.on .pu-panel { transform: none; opacity: 1; }
.pu-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.6rem 1.8rem .6rem; }
.pu-head h2 { margin: 0; font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }
.pu-head-acts { display: flex; align-items: center; gap: .6rem; padding-right: 2.8rem; }
.pu-head .x { top: 1.4rem; right: 1.4rem; }
.pu-k { margin: 0 0 .25rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pu-steps { display: flex; gap: .4rem; margin: 0; padding: 0 1.8rem; list-style: none; counter-reset: s; }
.pu-steps:empty { display: none; }
.pu-steps li { counter-increment: s; display: flex; align-items: center; gap: .45rem; padding: .35rem .8rem .35rem .4rem; border-radius: 99px; background: var(--paper); color: var(--muted); font-size: .88rem; font-weight: 600; }
.pu-steps li::before { content: counter(s); display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--paper-2); font-size: .78rem; }
.pu-steps li.on { color: var(--ink); background: var(--paper-2); } .pu-steps li.on::before { background: var(--ink); color: var(--paper); }
.pu-steps li.done::before { content: "✓"; background: #d7ecdd; color: #1d6a3c; }
.pu-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 1rem 1.8rem 1.6rem; scrollbar-width: thin; }
.pu-foot { display: flex; justify-content: space-between; gap: .8rem; padding: .9rem 1.8rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.pu-foot .pill.wait, .pu-foot .pill[disabled] { opacity: .5; pointer-events: none; }
.pu-sec { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.pu-sec:last-child { border-bottom: 0; }
.pu-sec h3 { margin: 0 0 .4rem; font-size: 1.08rem; font-weight: 600; }
.pu-note { margin: 0 0 1rem; color: var(--ink-2); line-height: 1.5; font-size: .96rem; }
.pu-note.bad, .bad { color: #b3261e; }
.pu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; margin: .6rem 0; }
.pu-f { display: grid; gap: .35rem; min-width: 0; }
.pu-f.full { grid-column: 1 / -1; }
.pu-f > span, .pu-lab { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pu-f input, .pu-f select { width: 100%; min-height: 3rem; padding: 0 .9rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--paper); color: var(--ink); font: 500 1rem/1.2 var(--sans); box-sizing: border-box; }
.pu-f input[readonly] { color: var(--muted); }
.pu-f input:focus, .pu-f select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.pu-f small { color: var(--muted); font-size: .84rem; }
.pu-err { color: #b3261e; font-size: .86rem; font-style: normal; }
.pu-row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin: .7rem 0; }
.pu-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.pu-chip { min-height: 2.6rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); font: 600 .94rem/1 var(--sans); cursor: pointer; }
.pu-chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pu-chips .pu-err { flex-basis: 100%; }
.pu-co-h { display: flex; align-items: baseline; justify-content: space-between; }
.pu-link { border: 0; background: none; padding: .3rem 0; color: var(--ink-2); font: 600 .92rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pu-big { margin: .2rem 0 .6rem; font-size: 2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pu-acc { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.pu-acc-r { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .7rem 1rem; border-top: 1px solid var(--line); }
.pu-acc-r:first-child { border-top: 0; }
.pu-acc-r span { color: var(--muted); font-size: .88rem; } .pu-acc-r b { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pu-copy { min-height: 2.2rem; padding: 0 .8rem; border: 0; border-radius: 99px; background: var(--paper-2); color: var(--ink); font: 600 .84rem var(--sans); cursor: pointer; }
.pu-proof { margin-top: 1rem; }
.pu-proof.busy { opacity: .5; pointer-events: none; }
.pu-drop { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.1rem 1.2rem; border: 1.5px dashed var(--line); border-radius: 1rem; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.pu-drop svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.pu-drop span { display: grid; gap: .2rem; } .pu-drop small { color: var(--muted); }
.pu-proof-has { display: flex; align-items: center; gap: 1rem; padding: .8rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.pu-proof-has img, .pu-pdf { width: 4.2rem; height: 4.2rem; border-radius: .7rem; object-fit: cover; background: var(--paper-2); display: grid; place-items: center; font-weight: 700; color: var(--muted); flex: none; }
.pu-proof-has div { display: grid; gap: .15rem; } .pu-proof-has small { color: var(--muted); overflow-wrap: anywhere; }
.pu-dl { display: grid; gap: .8rem; margin: .4rem 0 0; }
.pu-dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; } .pu-dl dt { color: var(--muted); font-size: .92rem; } .pu-dl dd { margin: 0; }
.pu-terms { margin: 0 0 1rem; padding: .9rem 1rem; border-radius: .9rem; background: var(--paper); color: var(--ink-2); line-height: 1.55; white-space: pre-line; }
.pu-agree { display: flex; align-items: flex-start; gap: .7rem; line-height: 1.45; cursor: pointer; }
.pu-agree input { width: 1.3rem; height: 1.3rem; margin-top: .1rem; accent-color: var(--ink); flex: none; }
.pu-empty { display: grid; justify-items: center; gap: .4rem; padding: 2.5rem 1rem; text-align: center; }
.pu-empty h3 { margin: 0; font-size: 1.3rem; } .pu-empty p { margin: 0; max-width: 32rem; color: var(--ink-2); line-height: 1.5; }
.pu-tick { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: .6rem; border-radius: 50%; background: #d7ecdd; color: #1d6a3c; }
.pu-tick svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 2.4; }
.pu-wait { display: flex; align-items: center; gap: .8rem; padding: 2rem 0; color: var(--muted); }
.pu-wait span { width: 1.2rem; height: 1.2rem; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: pu-spin .8s linear infinite; }
@keyframes pu-spin { to { transform: rotate(360deg); } }
.pu-st-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.pu-st-h h3 { margin: 0; }
.pu-pill { flex: none; padding: .35rem .8rem; border-radius: 99px; font-size: .84rem; font-weight: 600; background: var(--paper-2); color: var(--ink-2); }
.pu-pill.ok { background: #d7ecdd; color: #1d6a3c; } .pu-pill.hold { background: #f6e6c8; color: #7a4f08; } .pu-pill.sold { background: var(--paper-2); color: var(--muted); }
.pu-list { display: grid; gap: 0; margin: .4rem 0 1rem; padding: 0; list-style: none; }
.pu-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.pu-list li:first-child { border-top: 0; }
.pu-list li > div { display: grid; gap: .15rem; } .pu-list small { color: var(--muted); }
.pu-qr-img { width: min(16rem, 70vw); padding: .8rem; border-radius: 1.2rem; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pu-qr-img svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .pu-panel { width: 100%; border-radius: 0; }
  .pu-head, .pu-body, .pu-foot { padding-left: 1.1rem; padding-right: 1.1rem; }
  .pu-steps { padding: 0 1.1rem; }
  .pu-grid { grid-template-columns: 1fr; }
  .pu-acc-r { grid-template-columns: 1fr auto; } .pu-acc-r span { grid-column: 1 / -1; }
  .pu-dl div { grid-template-columns: 1fr; gap: .1rem; }
  .pu-head-acts .pill span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cue-otp, .cue-otp-card, .pu-scrim, .pu-panel { transition: none; } .pu-wait span { animation: none; } }

/* (24 November, PLAN decision 19) a customer's own phone or laptop (html.cue-customer, js/plus/crm.js): the salesperson's tools are not shown, and the drawer's
   last tab is My account (js/plus/purchase.js) instead of the tablet's visit log, export, Next guest, sales desk and panel link */
html.cue-customer #drawer .dr-pres, html.cue-customer #drawer .gs-sw, html.cue-customer #drawer .gs-panel, html.cue-customer #drawer .gs-diff,
html.cue-customer #drawer .pr-pres, html.cue-customer #drawer #pr-match, html.cue-customer #drawer [data-crm-verify],
html.cue-customer #drawer [data-drp="visit"] > :not([data-cu-acct]):not(.crm-staffin) { display: none !important; }
html:not(.cue-customer) #drawer [data-drp="visit"] [data-cu-acct], html:not(.cue-customer) #drawer .crm-staffin { display: none !important; }
/* (26 Nov) a customer's own phone or laptop: the drawer is My account alone. The tabs, the guest header, Guest and Journey and the Play band are the
   showroom presenter's (the welcome drawer, which has no tabs, keeps its own buttons) */
html.cue-customer #drawer :is(.dr-tabs, .dr-who, [data-drp="guest"], [data-drp="journey"], .dr-tabs ~ .dr-go) { display: none !important; }
html.cue-customer #drawer [data-drp="visit"] { display: block !important; }   /* (26 Nov) a showroom tablet's own My account tab shows it */
#drawer .crm-staffin { margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid var(--line); }
#drawer .crm-staffin summary { cursor: pointer; color: var(--muted); font-size: .9rem; min-height: var(--tap, 44px); display: flex; align-items: center; }
#drawer .crm-staffin[open] summary { margin-bottom: .6rem; }
#drawer .crm-staffin-n { margin: .6rem 0 0; color: var(--muted); font-size: .84rem; }
#drawer .cu-acct { display: grid; gap: .6rem; }
#drawer .cu-acct .k { margin: .4rem 0 0; }
#drawer .cu-who { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 1rem; }
#drawer .cu-who b, #drawer .cu-eoi b { display: block; font-weight: 600; }
#drawer .cu-who small, #drawer .cu-eoi small { color: var(--muted); font-size: .86rem; }
#drawer .cu-sub { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
#drawer .cu-eois { display: grid; gap: .45rem; }
#drawer .cu-eoi { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; min-height: var(--tap, 44px); padding: .7rem .9rem; border: 1px solid var(--line);
  border-radius: 1rem; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
#drawer .cu-eoi .pu-pill { flex: none; }
#drawer .cu-acct label.nm { display: grid; gap: .3rem; }
#drawer .cu-acct .pu-err { margin: -.2rem 0 0; }

/* (phase 3) identity, once per applicant: KYC (js/plus/purchase.js kycView) */
.pu-note.ok { color: #1d6a3c; }
.pu-note svg { width: 1em; height: 1em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 2.4; }
.pu-kyc-r { display: flex; align-items: center; gap: .6rem; flex: none; }
.pu-kyc-acts { display: flex; flex-wrap: wrap; gap: .7rem; margin: .4rem 0 1rem; }
/* (26 Nov) what doesn't match an uploaded document */
.pu-kyc-probs { margin: .8rem 0 .2rem; padding: .85rem 1rem; border-radius: 1rem; background: #fdecea; border-left: 4px solid #b3261e; color: #6b1a14; }
.pu-kyc-probs .pu-k { margin: 0 0 .3rem; color: #b3261e; }
.pu-kyc-probs ul { margin: 0; padding-left: 1.1rem; } .pu-kyc-probs li { margin: .2rem 0; font-weight: 600; line-height: 1.4; }
.pu-kyc-or { margin: .9rem 0; text-align: center; color: var(--muted); font-size: .9rem; }
.pu-kyc-head .pu-note { margin: .6rem 0 0; }
.pu-sec .pu-drop { margin-top: .4rem; }
.pu-kyc-docs li .pill { flex: none; }
.pu-kyc-busy { display: flex; align-items: center; gap: .8rem; margin: .6rem 0; padding: .9rem 1rem; border-radius: 1rem; background: var(--paper); color: var(--ink-2); }
.pu-kyc-busy span { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: pu-spin .8s linear infinite; flex: none; }
@media (prefers-reduced-motion: reduce) { .pu-kyc-busy span, .pu-wait span { animation: none; } }
@media (max-width: 640px) { .pu-kyc-r { flex-direction: column; align-items: flex-end; gap: .35rem; } }

/* (24 Nov) the draft's countdown: the home is held while the EOI is filled in */
.pu-timer { display: flex; align-items: center; gap: .5rem; margin: .7rem 1.8rem 0; padding: .5rem .8rem; border-radius: 12px; background: var(--paper); color: var(--ink-2, var(--muted)); font-size: .86rem; line-height: 1.35; }
.pu-timer svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pu-timer b { font-variant-numeric: tabular-nums; color: var(--ink, inherit); }
.pu-timer.low { background: #fff3e0; color: #8a4b00; } .pu-timer.low b { color: #8a4b00; }
@media (max-width: 640px) { .pu-timer { margin: .6rem 1.1rem 0; } .pu-steps li:not(.on) { font-size: 0; gap: 0; padding: .35rem; } }   /* four steps on a phone: the others by their number only */
.pu-kyc-acts .pill { max-width: 100%; white-space: normal; text-align: left; line-height: 1.3; }   /* a long choice wraps on a phone instead of reaching the edge */

/* (3d, PLAN §22.5; 26 Nov: tabs, any screen) My account: a full page over CUE (?account), under the EOI panel (900) and the code prompt (1000).
   960px and wider (a laptop, a tablet held sideways): the home, who looks after them and their details on the left; the tabs on the right.
   641 to 959px (a tablet held upright): the home across the top, its plan beside its facts; the tabs under it; the two small cards side by side.
   640px and narrower (a phone): one column; the tabs scroll sideways and stay under the header */
#cu-page { position: fixed; inset: 0; z-index: 850; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); opacity: 0; transform: translateY(12px); transition: opacity .26s ease, transform .34s cubic-bezier(.22, 1, .36, 1); --cu-w: 76rem; --cu-r: calc(var(--r) * .8); }
#cu-page.on { opacity: 1; transform: none; }
body.cu-page-open #toast { z-index: 880; }   /* a toast shows over the page */
.cu-p-head { position: sticky; top: 0; z-index: 3; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cu-p-head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--cu-w); margin: 0 auto; padding: 1rem 1.5rem .9rem; }
.cu-p-head h1 { margin: 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.015em; }
.cu-p-head-r { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.cu-p-head .x { position: static; flex: none; }   /* in the row, after the name (showroom.css puts every .x in the top corner, over the name) */
.cu-p-me-chip { display: grid; margin: 0; text-align: right; line-height: 1.3; min-width: 0; } .cu-p-me-chip[hidden] { display: none; }
.cu-p-me-chip b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cu-p-me-chip small { color: var(--muted); font-size: .84rem; }
.cu-p-body { max-width: var(--cu-w); margin: 0 auto; padding: 1.4rem 1.5rem 4rem; }
.cu-p-homes { display: flex; gap: .5rem; overflow-x: auto; margin: 0 0 1.1rem; padding: 2px; scrollbar-width: none; } .cu-p-homes::-webkit-scrollbar { display: none; }
.cu-p-hchip { flex: none; display: grid; gap: .1rem; min-height: var(--tap, 44px); padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cu-p-hchip.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); } .cu-p-hchip b { font-weight: 600; } .cu-p-hchip small { color: var(--muted); font-size: .8rem; }
.cu-p-grid { display: grid; grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr); grid-template-areas: "home main" "who main" "set main" ". main"; grid-template-rows: auto auto auto 1fr; gap: 1.2rem 1.6rem; align-items: start; }
.cu-p-home { grid-area: home; } .cu-p-main { grid-area: main; min-width: 0; } .cu-p-who { grid-area: who; } .cu-p-set { grid-area: set; }
.cu-p-card, .cu-p-main { background: var(--card); border-radius: var(--cu-r); box-shadow: var(--shadow); }
.cu-p-card { padding: 1.3rem 1.35rem; min-width: 0; }
.cu-p-card h3 { margin: 0 0 .5rem; font-size: 1rem; font-weight: 600; }
.cu-p-h3 { margin: 1.7rem 0 .7rem; font-size: 1.02rem; font-weight: 600; } .cu-p-h3:first-child { margin-top: 0; } .cu-p-h3 small { margin-left: .4rem; font-weight: 400; color: var(--muted); }
/* the home */
.cu-p-home-h { display: grid; gap: .9rem; }
.cu-p-plan { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 14px; background: var(--paper); }
.cu-p-home h2 { margin: .1rem 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; } .cu-p-cfg { margin: 0 0 .6rem; color: var(--muted); }
.cu-p-facts { display: grid; gap: .65rem; margin: 1.1rem 0 1.2rem; }
.cu-p-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; } .cu-p-facts dt { color: var(--muted); font-size: .9rem; flex: none; }
.cu-p-facts dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cu-p-acts { display: flex; flex-wrap: wrap; gap: .5rem; } .cu-p-home .pu-note { margin: .9rem 0 0; }
.cu-p-who > div { margin-top: .8rem; } .cu-p-who .pu-k { margin: 0 0 .15rem; } .cu-p-who b, .cu-p-who a { display: block; } .cu-p-who a { color: var(--ink-2, var(--muted)); overflow-wrap: anywhere; }
.cu-p-set p { margin: 0 0 .9rem; line-height: 1.5; overflow-wrap: anywhere; } .cu-p-set .pill { margin-top: 1rem; }
.cu-p-wa-note { display: block; color: var(--muted); font-size: .8rem; margin: .25rem 0 0 2rem; }
/* the tabs */
.cu-p-tabs { position: sticky; top: var(--cu-head, 4.6rem); z-index: 2; display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding: .7rem .8rem; border-bottom: 1px solid var(--line); border-radius: var(--cu-r) var(--cu-r) 0 0; background: var(--card); }
.cu-p-tabs::-webkit-scrollbar { display: none; }
.cu-p-tabs button { position: relative; flex: none; min-height: var(--tap, 44px); padding: 0 1.05rem; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: 500 .95rem var(--sans); cursor: pointer; }
.cu-p-tabs button:hover { color: var(--ink); } .cu-p-tabs button.on { background: var(--ink); color: var(--card); }
.cu-p-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cu-p-dot { position: absolute; top: .55rem; right: .4rem; width: .5rem; height: .5rem; border-radius: 50%; background: #c26a00; }
.cu-p-panel { padding: 1.4rem 1.5rem 1.6rem; }
.cu-p-empty { padding: .4rem 0; } .cu-p-empty h2, .cu-p-empty h3 { margin: 0 0 .4rem; font-weight: 600; }
/* overview: what's next, the money, the steps */
.cu-p-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1.4rem; margin: 0 0 1.2rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: var(--paper); }
.cu-p-next > div { flex: 1 1 18rem; min-width: 0; } .cu-p-next .pu-k { margin-bottom: .2rem; }
.cu-p-next h3 { margin: 0 0 .2rem; font-size: 1.15rem; font-weight: 600; } .cu-p-next p:not(.pu-k) { margin: 0; color: var(--ink-2); line-height: 1.45; }
.cu-p-next.warn { background: #fbf1df; } .cu-p-next.bad { background: #fbe9e7; } .cu-p-next.ok { background: color-mix(in srgb, #2e7d32 8%, var(--card)); }
.cu-p-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 0 0 1.3rem; }
.cu-p-tiles > div { display: grid; align-content: start; gap: .15rem; min-width: 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 1rem; }
.cu-p-tiles span { color: var(--muted); font-size: .82rem; } .cu-p-tiles b { font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } .cu-p-tiles small { color: var(--muted); font-size: .8rem; }
.cu-p-tiles .due b { color: #7a4f08; } .cu-p-tiles .bad b, .cu-p-tiles .bad small { color: #b3261e; }
.cu-p-tl { display: grid; margin: 0 0 1rem; padding: 0; list-style: none; }
.cu-p-tl li { position: relative; display: grid; gap: .1rem; padding: 0 0 1.05rem 2.1rem; color: var(--muted); }
.cu-p-tl li::before { content: ""; position: absolute; left: .3rem; top: .28rem; box-sizing: border-box; width: .8rem; height: .8rem; border: 2px solid var(--line); border-radius: 50%; background: var(--card); }
.cu-p-tl li::after { content: ""; position: absolute; left: .67rem; top: 1.2rem; bottom: .15rem; width: 2px; background: var(--line); }
.cu-p-tl li:last-child { padding-bottom: 0; } .cu-p-tl li:last-child::after { display: none; }
.cu-p-tl li b { font-weight: 600; } .cu-p-tl li small { font-size: .85rem; }
.cu-p-tl li.done { color: var(--ink); } .cu-p-tl li.done::before { border-color: #2e7d32; background: #2e7d32; } .cu-p-tl li.done::after { background: #2e7d32; }
.cu-p-tl li.on { color: var(--ink); } .cu-p-tl li.on::before { border-color: var(--ink); background: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 14%, transparent); }
/* lists: payments, documents, applicants */
.cu-p-list { margin: 0 0 .6rem; padding: 0; list-style: none; }
.cu-p-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.cu-p-list li:first-child { border-top: 0; }
.cu-p-li-m { display: grid; gap: .12rem; flex: 1 1 15rem; min-width: 0; overflow-wrap: anywhere; } .cu-p-li-m b { font-weight: 600; } .cu-p-li-m small { color: var(--muted); font-size: .86rem; }
.cu-p-li-r { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; }
/* instalments: due now, the schedule */
.cu-p-due { display: grid; gap: .8rem; margin: 0 0 1.3rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: #fbf1df; } .cu-p-due.bad { background: #fbe9e7; }
.cu-p-due-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; } .cu-p-due .pu-note { margin: 0; } .cu-p-due .pu-acc { background: var(--card); }
.cu-p-big { margin: .1rem 0 .2rem; font-size: 2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cu-p-sched { margin: 0 0 1rem; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.cu-p-sr { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(9rem, auto); align-items: center; gap: .5rem 1.2rem; padding: .85rem 1rem; border-top: 1px solid var(--line); }
.cu-p-sr:first-child { border-top: 0; }
.cu-p-sr.paid { background: color-mix(in srgb, #2e7d32 4%, var(--card)); } .cu-p-sr.due, .cu-p-sr.part { background: #fdf7ec; } .cu-p-sr.overdue { background: #fdf0ee; }
.cu-p-sr-m { display: grid; gap: .1rem; min-width: 0; } .cu-p-sr-m b { font-weight: 600; } .cu-p-sr-m small { color: var(--muted); font-size: .85rem; } .cu-p-sr-m small.bad { color: #b3261e; }
.cu-p-sr-a { display: grid; text-align: right; } .cu-p-sr-a b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .cu-p-sr-a small { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.cu-p-sr-s { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem; }
.pu-pill.bad { background: #fbe0dc; color: #b3261e; }
.pu-to-acct { border-bottom: 0; }
@media (max-width: 959px) {
  .cu-p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "home home" "main main" "who set"; grid-template-rows: none; }
  .cu-p-home { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem 1.6rem; align-items: start; }
  .cu-p-home .cu-p-facts { margin-top: .2rem; }
}
@media (max-width: 640px) {
  .cu-p-head-in { padding: .8rem 1rem .7rem; } .cu-p-head h1 { font-size: 1.35rem; } .cu-p-me-chip { display: none; }
  .cu-p-body { padding: .9rem .75rem 3rem; }
  .cu-p-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "home" "main" "who" "set"; gap: .9rem; }
  .cu-p-home { display: block; } .cu-p-home-h { display: flex; align-items: center; gap: 1rem; } .cu-p-plan { width: 88px; height: 88px; aspect-ratio: auto; flex: none; }
  .cu-p-card { padding: 1.1rem 1rem; } .cu-p-panel { padding: 1.1rem 1rem 1.3rem; } .cu-p-tabs { padding: .55rem; } .cu-p-tabs button { padding: 0 .9rem; }
  .cu-p-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cu-p-sr { grid-template-columns: minmax(0, 1fr) auto; } .cu-p-sr-s { grid-column: 1 / -1; justify-content: flex-start; }
  .cu-p-next .pill { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #cu-page { transition: none; } }

/* (phase 4) the booking: the plans to choose from, the cost sheet and the schedule */
.bk-plans { display: grid; gap: .7rem; margin: .6rem 0; }
.bk-plan { display: grid; gap: .25rem; text-align: left; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.bk-plan b { font-size: 1rem; } .bk-plan span { font-size: .92rem; } .bk-plan small { color: var(--muted); font-size: .8rem; }
.bk-plan.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.bk-tbl { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .4rem 0 .6rem; }
.bk-tbl td { padding: .55rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; } .bk-tbl td small { display: block; color: var(--muted); font-size: .76rem; }
.bk-tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; } .bk-tbl tr.tot td { font-weight: 600; border-bottom: 0; }

/* (phase 6) the instalments: what is due now, overdue in red */
.pu-sec.pu-overdue h3 { color: var(--bad, #b42318); }
/* (30 Nov) the booking form read back: a section per applicant, each value as read, to check; one Gemini wasn't sure of stands out */
.pu-bkf .pu-bkf-s { margin: 1.1rem 0 .2rem; }
.pu-bkf-w { display: contents; }
.pu-bkf-w.unsure > .pu-f input, .pu-bkf-t.unsure .pu-bkf-opts { border-color: #c98a00; background: #fff8e6; }
.pu-bkf-w.unsure > .pu-f > span, .pu-bkf-t.unsure > span { color: #8a5a00; }
.pu-bkf-opts { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; padding: .55rem .2rem; border-radius: .9rem; border: 1px solid transparent; }
.pu-bkf-opts .pu-agree { align-items: center; }
@media (max-width: 560px) { .pu-bkf .pu-grid { grid-template-columns: minmax(0, 1fr); } .pu-bkf .pu-f { grid-column: 1 / -1; } }
