/* Alder & Pine Home — shopper screens. Tokens from design's V1 (Pegasus Components). */
:root {
  --ink: #1C1A17; --muted: #5E594F; --faint: #6B655A;
  --paper: #F4F1EA; --page: #EAE6DD; --card: #FFFDF8; --line: #DDD7CB; --line-2: #EAE5DA; --field: #BDB6A7;
  --green: #2E5B45; --green-soft: #E4ECE5; --on-green: #FFFDF8;
  --warn-bg: #F7EBD2; --warn: #7A5200; --warn-ink: #5C3E00;
  --bad-bg: #F6E1DC; --bad: #9A3324; --bad-ink: #5A1F16;
  --note: #EDE8DE;
  --serif: 'Source Serif 4', Georgia, serif; --sans: 'Instrument Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--green); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.top-in { height: 64px; max-width: 1288px; margin: 0 auto; display: flex; align-items: center; gap: 4px; padding: 0 12px; }
.top .back { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 28px; line-height: 1; text-decoration: none; color: inherit; flex-shrink: 0; }
.top .back[hidden] { display: none; }
.top .brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .01em; line-height: 1; color: inherit; text-decoration: none; padding: 0 8px; white-space: nowrap; }
.wm-sub { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; margin-top: 4px; color: var(--green); }
.top .spacer { width: 44px; }

main { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; background: var(--paper); }
@media (min-width: 560px) { main { margin: 24px auto; border-radius: 18px; border: 1px solid var(--line); flex: none; } }
.pad { padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 20px; }
.foot { padding: 18px 20px 28px; text-align: center; font-size: 12px; color: var(--faint); }

h1 { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.15; font-weight: 500; text-wrap: pretty; }
h1.sm { font-size: 28px; }
.lead { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); }
.stack { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 14px; color: var(--muted); }
.input { height: 50px; width: 100%; border: 1px solid var(--field); border-radius: 10px; background: var(--card); padding: 0 14px; font-size: 16px; }
.input.big { height: 56px; font-size: 22px; font-weight: 600; }
.input[aria-invalid="true"] { border: 2px solid var(--bad); padding: 0 13px; }
.err { font-size: 14px; font-weight: 600; color: var(--bad); }
.money { position: relative; }
.money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 600; }
.money .input { padding-left: 32px; }

.btn { height: 52px; border: none; border-radius: 10px; background: var(--green); color: var(--on-green); font-size: 16px; font-weight: 600; cursor: pointer; padding: 0 18px; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.btn:disabled { opacity: .6; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--field); }
.btn.danger { background: transparent; color: var(--bad); border: 1.5px solid var(--bad); }
.btn.sm { height: 44px; font-size: 15px; }
.link { border: none; background: transparent; color: var(--green); font-size: 15px; font-weight: 600; cursor: pointer; padding: 10px 4px; text-decoration: underline; }
.link.plain { text-decoration: none; }
.link.bad { color: var(--bad); }

.card { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.card.tap { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 16px; cursor: pointer; text-decoration: none; color: var(--ink); }
.card.tap:hover { border-color: var(--field); }
.card .kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line-2); }
.card .kv:last-child { border-bottom: none; }
.card.agent { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.empty { padding: 18px 16px; border: 1px dashed var(--field); border-radius: 14px; font-size: 15px; line-height: 1.45; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }

.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.dark { background: var(--ink); color: var(--paper); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.outline { border: 1px solid var(--ink); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--field); background: transparent; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }

.toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border: none; background: transparent; padding: 0; cursor: pointer; text-align: left; width: 100%; }
.toggle .sw { width: 50px; height: 30px; border-radius: 999px; background: #CFC8BA; display: flex; align-items: center; padding: 3px; flex-shrink: 0; }
.toggle .sw i { width: 24px; height: 24px; border-radius: 50%; background: var(--card); }
.toggle[aria-checked="true"] .sw { background: var(--green); justify-content: flex-end; }

.note { padding: 16px; border-radius: 14px; background: var(--note); font-size: 15px; line-height: 1.5; }
.alert { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; font-size: 15px; line-height: 1.45; }
.alert strong { font-size: 16px; }
.alert.warn { background: var(--warn-bg); color: var(--warn-ink); } .alert.warn strong { color: var(--warn); }
.alert.bad { background: var(--bad-bg); color: var(--bad-ink); } .alert.bad strong { color: var(--bad); }
.alert.good { background: var(--green-soft); color: var(--ink); } .alert.good strong { color: var(--green); }

.keybox { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border: 1.5px solid var(--green); background: var(--green-soft); }
.keybox code { font-family: var(--mono); font-size: 14px; word-break: break-all; background: var(--card); padding: 12px; border-radius: 8px; border: 1px solid var(--line); }

.meter { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--green); }
.meter.full i { background: var(--warn); }

.log { display: flex; flex-direction: column; }
.log .item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E4DFD4; }
.log .item > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.log .what { font-size: 15px; font-weight: 600; }
.log .detail { font-size: 14px; color: var(--muted); }
.log .when { font-size: 13px; color: var(--muted); white-space: nowrap; }
.log .item.stop .what { color: var(--bad); }

.sheet { position: fixed; inset: 0; background: rgba(28,26,23,.5); display: flex; align-items: flex-end; justify-content: center; z-index: 5; }
.sheet > div { width: 100%; max-width: 520px; background: var(--card); border-radius: 22px 22px 0 0; padding: 26px 20px 38px; display: flex; flex-direction: column; gap: 14px; }
.sheet h2 { margin: 0; font-size: 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1:focus { outline: none; }
.card .kv > span:last-child { min-width: 0; overflow-wrap: anywhere; text-align: right; }

/* Step 4: approvals and payment */
.center { text-align: center; }
.stack.tight { gap: 3px; }
.grow { flex: 1; min-width: 0; }
.go { font-size: 14px; font-weight: 700; color: var(--green); white-space: nowrap; }
.label.green { color: var(--green); }
.card.waiting { border: 1.5px solid var(--green); background: var(--green-soft); }
.card.tap.static { cursor: default; }
.card .kv.col { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 16px; }
.row-link { text-decoration: none; color: var(--ink); }
.status { font-size: 13px; font-weight: 700; white-space: nowrap; }
.status.ok { color: var(--green); } .status.muted { color: var(--muted); }
.line-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.line-item:last-child { border-bottom: none; }
.item-pic { width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0; overflow: hidden; background: #EFEAE0; display: grid; place-items: center; }
.item-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-pic svg { width: 82%; height: auto; }
.warn-text { color: var(--warn); font-weight: 700; }
.totals { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.between.total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.option { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.option:has(input:checked) { border: 2px solid var(--green); padding: 11px 13px; }
.option input { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; margin: 0; }
.option.off { opacity: .55; cursor: default; }
.opt-name { font-size: 16px; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; border: 1px solid #8C8578; color: var(--muted); }
.tag.dashed { align-self: flex-start; border-style: dashed; }
.btn.dark { background: var(--ink); }
.input.area { height: 96px; padding: 12px 14px; resize: vertical; }
fieldset.plain { border: none; padding: 0; margin: 0; }
.stripe-box { min-height: 120px; padding: 4px 0; }
.check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--on-green); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.record-link { background: var(--note); border: none; }
.alert:not(.good):not(.bad):not(.warn) { background: var(--note); }
.card .kv.col > span:last-child { text-align: left; }

/* Step 5: Silver Lake (lender) */
:root { --navy: #2F4E78; --navy-soft: #E3E9F2; --navy-ink: #1D324F; --navy-line: #C9D1DD; }
body.lender .top { background: var(--navy); border-bottom-color: var(--navy); }
body.lender .top .back, body.lender .top .brand { color: #fff; }
.top .brand .sl-brand { display: block; font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.top .brand .sl-sub { display: block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
body.lender main { background: #F7F9FC; }
.lender-body .input { border-color: #9AA6B8; background: #fff; }
.sl-note { padding: 12px 20px; background: var(--navy-soft); font-size: 14px; line-height: 1.45; color: var(--navy-ink); }
.sl-h { font-family: var(--sans); font-size: 26px; font-weight: 700; }
.sl-info { padding: 12px 16px; border-radius: 12px; background: var(--navy-soft); font-size: 14px; line-height: 1.45; color: var(--navy-ink); }
.sl-card { border-color: var(--navy-line); background: #fff; }
.btn.navy { background: var(--navy); color: #fff; }
.link.navy-text { color: var(--navy); }
.link.inline { padding: 0; font-size: inherit; }
.input.narrow { max-width: 160px; letter-spacing: .3em; }
.input.code { font-size: 24px; letter-spacing: .5em; text-align: center; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check-row input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.check-row:has(input[aria-invalid="true"]) { color: var(--bad); }
.reveal { display: flex; gap: 6px; align-items: center; }
.reveal .input { flex: 1; }
.test-ids { font-size: 14px; color: var(--muted); border: 1px dashed var(--field); border-radius: 10px; padding: 10px 14px; }
.test-ids summary { cursor: pointer; font-weight: 600; }
.offer { border: 1.5px solid var(--navy); border-radius: 16px; background: #fff; overflow: hidden; }
.offer-top { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 2px; background: var(--navy-soft); color: var(--navy-ink); font-size: 14px; }
.offer-top strong { font-size: 34px; color: var(--ink); letter-spacing: -.01em; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; }
.offer-grid > div { padding: 12px 18px; border-top: 1px solid #E6EAF0; display: flex; flex-direction: column; gap: 2px; }
.offer-grid > div:nth-child(odd):not(.wide) { border-right: 1px solid #E6EAF0; }
.offer-grid > div span { font-size: 13px; color: var(--muted); }
.offer-grid > div strong { font-size: 17px; }
.offer-grid .wide { grid-column: 1 / 3; flex-direction: row; justify-content: space-between; }
.disclosure { border: 1px solid var(--navy-line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.disclosure summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 15px; }
.disclosure > div { margin-top: 10px; line-height: 1.5; }
.steps .step { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #E6EAF0; font-size: 15px; line-height: 1.45; }
.steps .step:last-child { border-bottom: none; }
.steps .num { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; border: 1.5px solid var(--navy); color: var(--navy); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps .num.on { background: var(--navy); color: #fff; }
.split { padding-top: 4px; }
.decided { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.decided.ibmi { color: var(--navy); }
.decided.ibmi .dot { width: 8px; height: 8px; border-radius: 50%; background: #2E7D4F; box-shadow: 0 0 0 3px rgba(46,125,79,.18); }
.decided.sim { color: var(--warn); border: 1px dashed var(--warn); border-radius: 8px; padding: 6px 10px; align-self: flex-start; }

/* Store pages (people shopping for themselves) */
.top .tools { display: flex; justify-content: flex-end; gap: 2px; margin-left: auto; flex-shrink: 0; }
.top .tool { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: inherit; border-radius: 10px; }
.top .tool:hover { background: var(--page); }
.top .tool svg { width: 23px; height: 23px; }
.top .count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.top .count[hidden] { display: none; }
body.lender .top .tools { visibility: hidden; }
body.wide main { max-width: 1080px; }
@media (min-width: 560px) { body.wide main { margin: 24px auto; } }

.hero { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 4px; }
.hero h1 { font-size: clamp(30px, 5vw, 42px); max-width: 24ch; }
.hero .lead { max-width: 56ch; }
.searchbar { display: flex; gap: 8px; }
.searchbar .input { flex: 1; height: 48px; }
.searchbar .btn { height: 48px; }
.chips a.chip { text-decoration: none; color: var(--ink); }
.chips a.chip[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; } }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.pcard:hover { border-color: var(--field); }
.pimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; color: var(--ink); }
.pimg svg { width: 62%; height: auto; }
.pimg img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.pimg.mini img { border-radius: 10px; }
.pimg.big { border-radius: 14px; aspect-ratio: 5 / 4; }
.cat-living-room { background: #E4ECE5; } .cat-dining { background: #F1E6D6; } .cat-bedroom { background: #E8E4EE; } .cat-appliances { background: #E2E9EE; } .cat-other { background: var(--note); }
.pbody { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; flex: 1; }
.ptitle { font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.ptitle:hover { text-decoration: underline; }
.pbody .between { margin-top: auto; padding-top: 10px; }
.price { font-size: 17px; font-weight: 700; }
.price.big { font-size: 28px; }
.pdetail { display: grid; gap: 24px; }
@media (min-width: 760px) { .pdetail { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty select.input { width: 96px; }
.agent-hint { padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--field); font-size: 14px; line-height: 1.5; color: var(--muted); }
.agent-hint q { color: var(--ink); font-style: italic; }
.cart-layout { display: grid; gap: 24px; }
@media (min-width: 860px) { .cart-layout { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.line-item .pimg.mini { width: 72px; height: 56px; aspect-ratio: auto; border-radius: 10px; flex-shrink: 0; }
.line-item .pimg.mini svg { width: 80%; }
.line-item select.input { height: 40px; width: 72px; padding: 0 8px; font-size: 15px; }
.addr { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.addr:has(input:checked) { border: 2px solid var(--green); padding: 13px; }
.addr input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.summary { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 6; display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 15px; box-shadow: 0 8px 24px rgba(28,26,23,.25); max-width: calc(100vw - 32px); }
.toast a { color: #CFE3D4; font-weight: 700; white-space: nowrap; }
.row-inline { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.pbody .btn.sm { height: 40px; padding: 0 16px; }
@media (max-width: 639px) { .pbody { padding: 10px 12px 12px; } .ptitle { font-size: 15px; } .price { font-size: 15px; } .pbody .between { flex-wrap: wrap; gap: 6px; } }
.summary .between.total { border-top: none; padding-top: 0; }
/* Connect your AI */
.connect-head { display: flex; flex-direction: column; gap: 10px; }
.connect-logos { display: flex; align-items: center; gap: 10px; }
.cl { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }
.cl.app { background: var(--ink); color: var(--paper); }
.cl.store { background: var(--green); color: var(--on-green); font-family: var(--serif); font-size: 17px; }
.cl-dots { color: var(--muted); letter-spacing: .2em; }
.rules { margin: 0; padding: 14px 16px 14px 34px; border-radius: 14px; background: var(--note); display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }

/* Merchant console */
body.console main { max-width: 1240px; }
@media (min-width: 560px) { body.console main { margin: 24px auto; } }
body.console .top .tools { visibility: hidden; }
.console-tag { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.cs { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cs { grid-template-columns: 210px 1fr; } }
.cs-nav { display: flex; gap: 4px; padding: 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
@media (min-width: 900px) { .cs-nav { flex-direction: column; border-bottom: none; border-right: 1px solid var(--line); padding: 20px 12px; min-height: 70vh; } }
.cs-nav a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.cs-nav a:hover { background: var(--page); }
.cs-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.cs-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.cs-who { display: none; }
@media (min-width: 900px) { .cs-who { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding: 12px; font-size: 14px; color: var(--muted); } }
.cs-main { padding: 24px 20px 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (min-width: 900px) { .cs-main { padding: 28px 32px 40px; } }
.cs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cs-gap { margin-top: 10px; }
.cs-signin { max-width: 420px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.tile strong { font-size: 30px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cs-grid2 { display: grid; gap: 16px; }
@media (min-width: 900px) { .cs-grid2 { grid-template-columns: 1fr 1fr; } }
.cs-card { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.cs-card .kv { padding: 0; min-height: 40px; }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 14px; }
.bar-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: none; }
.tbl td > span.small { display: block; }
.tbl td > span.id-line { margin-top: 6px; line-height: 1.9; }
@media (max-width: 700px) {
  .tbl thead { display: none; }
  .tbl tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tbl td { display: grid; grid-template-columns: 110px 1fr; gap: 10px; border: none; padding: 4px 14px; }
  .tbl td::before { content: attr(data-h); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
}
.meter.mini { display: block; height: 6px; margin-top: 6px; width: 120px; }
.input.sel { height: 40px; font-size: 14px; width: auto; min-width: 140px; }
.bad-text { color: var(--bad); }
.desk { gap: 14px; }
.desk-name { margin: 0; font-size: 22px; font-family: var(--serif); font-weight: 500; }
.desk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
@media (min-width: 900px) { .desk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.desk-form { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.desk-form .field:first-child { width: 220px; }
.chip-radio { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: 999px; font-size: 15px; cursor: pointer; }
.chip-radio:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-radio input { accent-color: var(--green); }
.desk-actions { max-width: 420px; }
.cs-filter { max-width: 320px; }
.tile strong { font-size: clamp(22px, 6vw, 30px); overflow-wrap: anywhere; }
.cs-who { align-items: flex-start; }
.tbl td.wide-cell { min-width: 190px; }
.tbl td.nw { white-space: nowrap; }
.cs-toggle { align-self: flex-start; }
.tbl td.wrap { max-width: 200px; overflow-wrap: anywhere; }
.tbl th, .tbl td { padding-left: 10px; padding-right: 10px; }
.tbl td.wrap { max-width: 180px; min-width: 150px; }
.tbl td.wide-cell { min-width: 170px; }
.tbl .input.sel { min-width: 0; width: 132px; }
.tbl .input.sel { width: 152px; }
/* After the order */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.timeline li { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.done:not(:last-child)::before { background: var(--green); }
.timeline .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--field); background: var(--card); flex-shrink: 0; margin-top: 2px; }
.timeline li.done .dot { border-color: var(--green); background: var(--green); }
.timeline li.now strong { color: var(--green); }
.sched-tbl { margin-top: 10px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.sched-tbl td, .sched-tbl th { padding: 8px 10px; }
@media (max-width: 700px) { .sched-tbl thead { display: table-header-group; } .sched-tbl tr { display: table-row; padding: 0; } .sched-tbl td { display: table-cell; padding: 8px 10px; } .sched-tbl td::before { content: none; } }
.cs-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Store front: header, hero, rooms, grid, product page, trust strip, footer ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip:focus { left: 8px; }
.demobar { background: var(--ink); color: #E9E4D8; font-size: 13px; line-height: 1.4; text-align: center; padding: 7px 16px; }
.demobar strong { color: #fff; font-weight: 600; }
.menu-btn { display: none; width: 44px; height: 44px; border: none; background: transparent; color: inherit; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; }
.menu-btn svg { width: 24px; height: 24px; }
.catnav { display: flex; gap: 2px; margin-left: 20px; }
.catnav a { color: inherit; text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.catnav a:hover { background: var(--page); }
.hsearch { position: relative; margin-left: auto; width: min(280px, 26vw); }
.hsearch svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hsearch input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); padding: 0 14px 0 38px; font-size: 15px; }
.hsearch input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
.hsearch + .tools { margin-left: 8px; }
.mnav { border-top: 1px solid var(--line); background: var(--paper); padding: 12px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 17px; }
body.lender .catnav, body.lender .hsearch, body.lender .menu-btn, body.console .catnav, body.console .hsearch, body.console .menu-btn { display: none; }
body.lender .wm-sub { display: none; }
@media (max-width: 899px) {
  .catnav, .hsearch { display: none; }
  .menu-btn { display: flex; }
  .top-in { height: 58px; padding: 0 6px; }
  .top .brand { font-size: 20px; }
}

/* Shop pages run edge to edge; account and checkout screens keep their card. */
body.shop main { max-width: none; margin: 0; border: none; border-radius: 0; background: var(--paper); padding-bottom: 0; }
.wrap { width: 100%; max-width: 1288px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 599px) { .wrap { padding: 0 16px; } }
.sec-h { margin: 0 0 16px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.hero-photo { position: relative; color: #fff; background: #3a3530; }
.hero-photo img { display: block; width: 100%; height: clamp(420px, 46vw, 620px); object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,.62) 0%, rgba(20,18,15,.28) 48%, rgba(20,18,15,0) 72%); pointer-events: none; }
.hero-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; max-width: 14ch; color: #fff; }
.hero-copy p { margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.5; color: #F1ECE3; }
.hero-btn { height: 52px; padding: 0 28px; background: var(--paper); color: var(--ink); }
.hero-btn:hover { background: #fff; color: var(--ink); }
@media (max-width: 699px) {
  .hero-photo img { height: 460px; object-position: 62% center; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(20,18,15,.72) 0%, rgba(20,18,15,.35) 55%, rgba(20,18,15,.05) 100%); }
  .hero-copy { top: auto; bottom: 28px; transform: none; }
  .hero-copy p { font-size: 15px; }
}
.rooms-sec { padding-top: 44px; }
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 799px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.room { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.room img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; background: var(--note); transition: opacity .15s; }
.room span { font-family: var(--serif); font-size: 19px; }
.room:hover img { opacity: .9; }
.room:hover span { text-decoration: underline; text-underline-offset: 4px; }

.products-sec { padding-top: 44px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.products-sec .sec-h { margin: 0; }
.listing-head { padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.listing-head h1 { font-size: clamp(30px, 4vw, 40px); }
.listing-head + .rooms-sec, .listing-head + .products-sec { padding-top: 20px; }
body.shop .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1099px) { body.shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { body.shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
body.shop .pcard { border: none; border-radius: 0; background: transparent; overflow: visible; }
body.shop .pcard .pimg { border-radius: 10px; overflow: hidden; }
body.shop .pcard .pimg img { transition: transform .3s ease; }
body.shop .pcard:hover .pimg img { transform: scale(1.03); }
body.shop .pbody { padding: 12px 0 0; display: flex; flex-direction: column; gap: 3px; }
body.shop .ptitle { font-family: var(--serif); font-size: 18px; line-height: 1.25; color: var(--ink); text-decoration: none; }
body.shop .ptitle:hover { text-decoration: underline; text-underline-offset: 3px; }
body.shop .pbody .price { margin-top: 6px; font-size: 16px; font-weight: 600; }
.fin { font-size: 13px; color: var(--muted); }
.fin strong { color: var(--green); font-weight: 600; }
.pact { margin-top: 10px; }
.pact .btn { width: 100%; height: 42px; }
@media (min-width: 760px) { .pact .btn { width: auto; min-width: 96px; } }

/* product page */
body.shop .crumbs { padding-top: 20px; }
body.shop .crumbs span:last-child { color: var(--ink); }
body.shop .pdetail { padding: 18px 0 56px; gap: 40px; }
@media (min-width: 900px) { body.shop .pdetail { grid-template-columns: 1.25fr 1fr; } }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
body.shop .pimg.big { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumb { width: 92px; flex-shrink: 0; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumb[aria-pressed="true"] { border-color: var(--green); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.buybox h1 { font-size: clamp(30px, 3.4vw, 40px); }
.buybox .price.big { font-size: 26px; }
.deliv { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deliv svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.deliv .tag { margin-left: 4px; }

/* help / about */
.page-copy { max-width: 760px; padding-top: 8px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.page-copy h1 { font-size: clamp(32px, 4vw, 42px); }
.page-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.page-copy .demo-copy { font-size: 14px; border-left: 3px solid var(--line); padding-left: 12px; }
.help-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.help-links a { padding: 10px 16px; border: 1px solid var(--field); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; }
.help-links a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* trust strip */
.trust { background: var(--card); border-top: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
@media (max-width: 899px) { .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 28px; height: 28px; color: var(--green); flex-shrink: 0; }
.trust-item > span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }

/* footer */
.foot { padding: 0; text-align: left; font-size: 14px; color: #D6DED8; background: #23463A; }
.foot a { color: #F2EFE7; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
@media (max-width: 799px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .foot-brand { grid-column: 1 / -1; } }
.foot-cols nav { display: flex; flex-direction: column; gap: 10px; }
.foot-cols h2 { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A9C2B4; }
.foot .brand { display: inline-flex; flex-direction: column; font-family: var(--serif); font-size: 24px; color: #fff; }
.foot .wm-sub { color: #A9C2B4; }
.foot-brand p { margin: 12px 0 0; max-width: 30ch; color: #C9D4CC; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #B9C7BE; }
.foot-base span:last-child { margin-left: auto; }
@media (max-width: 799px) { .foot-base span:last-child { margin-left: 0; } }
body.console .foot-cols { display: none; }

/* Silver Lake, the lender: its own brand at checkout (navy, lake blue, brass) */
.sl-badge { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 10px; border: 1px solid #d6dde6; border-radius: 10px; background: #f6f8fb; }
.sl-badge img { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.sl-wm { display: flex; flex-direction: column; font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1; color: #0f2337; }
.sl-wm small { margin-top: 3px; font-family: var(--sans); font-size: 8.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #1d5c7a; }
.sl-learn { margin-left: auto; font-size: 13px; font-weight: 600; color: #1d5c7a; }
.sl-learn:hover { color: #b8893f; }

html, body { overflow-x: clip; }
@media (min-width: 900px) { body.shop .top .back { display: none; } }
@media (max-width: 599px) { .trust-row { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; padding-bottom: 22px; } .demobar { font-size: 12px; padding: 6px 12px; } }
.catnav a[aria-current="page"] { background: var(--green-soft); color: var(--green); font-weight: 600; }
.wrap > .hero { padding: 32px 0 8px; }

/* Shop with your AI agent + the guided walkthrough */
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-btn.alt { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.85); }
.hero-btn.alt:hover { background: rgba(255,255,255,.12); color: #fff; }
.agent-hint a { color: var(--green); font-weight: 600; }
.agent-guide .steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.55; }
.agent-guide .steps li { padding-left: 4px; }
.agent-guide .steps li > strong, .agent-guide .steps li > span, .agent-guide .steps li > .copy-row { display: block; }
.agent-guide .steps li > span { margin-top: 4px; }
.agent-guide .steps li > .copy-row { display: flex; }
.agent-guide .steps span { color: var(--muted); }
.agent-guide q { color: var(--ink); font-style: italic; }
.copy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.copy-row code { font-family: "IBM Plex Mono", monospace; font-size: 14px; padding: 8px 12px; border-radius: 8px; background: var(--note); color: var(--ink); overflow-wrap: anywhere; }
.walk-step { display: grid; grid-template-columns: 1fr 240px; gap: 32px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.walk-txt { display: flex; flex-direction: column; gap: 8px; }
.walk-txt h2 { margin: 0; font-size: 24px; }
.walk-phone img { width: 100%; height: auto; border-radius: 22px; border: 6px solid #1C1A17; display: block; }
.walk-cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
@media (max-width: 700px) { .walk-step { grid-template-columns: 1fr; } .walk-phone { max-width: 240px; } }
/* ---------- the store's concierge ("Need a hand?", concierge.js) ---------- */
.cc { position: fixed; right: 20px; bottom: 20px; z-index: 7; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.cc > * { pointer-events: auto; }
.cc[hidden] { display: none; }
.cc-launch { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--green); color: var(--on-green); font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 8px 24px rgba(28,26,23,.22); }
.cc-launch svg { width: 22px; height: 22px; }
.cc-launch:hover { filter: brightness(1.08); }
.cc.is-open .cc-launch { padding: 0 14px; }
.cc.is-open .cc-launch-t { display: none; }
.cc-nudge { position: relative; width: 300px; max-width: calc(100vw - 40px); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px; box-shadow: 0 12px 32px rgba(28,26,23,.18); font-size: 14px; line-height: 1.45; animation: cc-in .25s ease-out; }
.cc-nudge[hidden] { display: none; }
.cc-nudge p { margin: 0 18px 10px 0; color: var(--muted); }
.cc-nudge strong { color: var(--ink); display: block; font-size: 15px; margin-bottom: 2px; }
.cc-nudge-x, .cc-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--faint); cursor: pointer; border-radius: 8px; }
.cc-nudge-x:hover, .cc-x:hover { background: var(--note); color: var(--ink); }
.cc-panel { width: 380px; max-width: calc(100vw - 40px); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 48px rgba(28,26,23,.24); overflow: hidden; animation: cc-in .2s ease-out; }
.cc-panel[hidden] { display: none; }
.cc-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 48px 14px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.cc-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--on-green); font-family: var(--serif); font-weight: 600; font-size: 17px; }
.cc-who { display: flex; flex-direction: column; min-width: 0; }
.cc-who strong { font-size: 15px; }
.cc-who span { font-size: 12px; color: var(--muted); }
.cc-x { top: 50%; transform: translateY(-50%); right: 8px; }
.cc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cc-msg { display: flex; }
.cc-msg p { margin: 0; max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.cc-msg.them p { background: var(--card); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.cc-msg.me { justify-content: flex-end; }
.cc-msg.me p { background: var(--green); color: var(--on-green); border-bottom-right-radius: 4px; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-chip { border: 1px solid var(--field); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; text-align: left; }
.cc-chip:hover { border-color: var(--green); color: var(--green); }
.cc-cards { display: flex; flex-direction: column; gap: 8px; }
.cc-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cc-card-img { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--note); display: block; }
.cc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-card-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cc-card-t { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; }
.cc-card-t:hover { text-decoration: underline; }
.cc-card-v, .cc-card-r { font-size: 12px; color: var(--muted); }
.cc-card-r { font-style: italic; }
.cc-card-p { font-family: var(--mono); font-size: 13px; margin-top: 2px; }
.cc-add { border: 0; background: var(--green); color: var(--on-green); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cc-add:disabled { background: var(--green-soft); color: var(--green); cursor: default; }
.cc-card-out { font-size: 12px; color: var(--bad); white-space: nowrap; }
.cc-typing p, .cc-typing { gap: 4px; }
.cc-typing { padding: 12px 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; }
.cc-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: cc-dot 1s infinite ease-in-out; }
.cc-typing span:nth-child(2) { animation-delay: .15s; }
.cc-typing span:nth-child(3) { animation-delay: .3s; }
.cc-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card); }
.cc-form input { flex: 1; min-width: 0; border: 1px solid var(--field); border-radius: 999px; padding: 10px 14px; font-size: 16px; background: var(--paper); }
.cc-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.cc-send { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--green); color: var(--on-green); display: grid; place-items: center; cursor: pointer; }
.cc-send svg { width: 20px; height: 20px; }
.cc-fine { margin: 0; padding: 0 14px 10px; background: var(--card); font-size: 11px; line-height: 1.4; color: var(--faint); }
@keyframes cc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cc-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .cc-nudge, .cc-panel, .cc-typing span { animation: none; } }
@media (max-width: 599px) {
  .cc { right: 12px; bottom: 12px; left: 12px; }
  .cc-panel { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; height: 82vh; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .cc.is-open .cc-launch { display: none; }
  .cc-nudge { max-width: 100%; }
}
body.console .cc { display: none; }
@media (max-width: 599px) { .cc-launch { padding: 0 13px; } .cc-launch-t { display: none; } }
