/* Product additions on top of base.css (the demo's Direction C system). Same rules: black and white, one red, 6px radius max. */

/* ---------- sign in ---------- */
.demo-link { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 5; font: 500 13.5px var(--mono); color: var(--ink-2); text-decoration: none; border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px 10px; background: var(--surface); }
.demo-link:hover { color: var(--ink); background: var(--hover); }
.who { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.who button { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.who button:hover { background: var(--hover); }
.who b { display: block; font-weight: 600; font-size: 15px; }
.who span.r { display: block; font-size: 15px; color: var(--ink-3); }
.who .mono { color: var(--ink-3); font-size: 15px; }
.who .av, .who .av-blank { width: 36px; height: 36px; }
.av-blank { display: block; background: var(--wall); border: 1px solid var(--line); border-radius: 3px; }
.stage-tag { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mark); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; font: inherit; font-size: 15px; }

/* ---------- portal shell (agents, team leads, office managers) ---------- */
.portal { min-height: 100%; display: flex; flex-direction: column; }
.p-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.p-top .in { max-width: 980px; margin: 0 auto; height: 52px; display: flex; align-items: center; gap: 20px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.p-nav { display: flex; gap: 2px; }
.p-nav a { height: 32px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: 15px; }
.p-nav a:hover { background: var(--hover); color: var(--ink); }
.p-nav a.on { color: var(--ink); font-weight: 600; background: var(--sel-bg); }
.p-me { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.p-me .av { width: 28px; height: 28px; }
.p-main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding-block: 16px 96px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.p-tabs { display: none; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
@media (max-width: 760px) {
  .p-top .p-nav { display: none; }
  .p-me .who-name { display: none; }
  .p-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--bg); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
  .p-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; font-size: 15px; color: var(--ink-3); text-decoration: none; }
  .p-tabs a.on { color: var(--ink); font-weight: 600; }
  .p-tabs svg.i { width: 18px; height: 18px; }
  .p-main { padding-block: 12px 96px; }
}

.ph { display: flex; justify-content: space-between; align-items: end; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ph h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ph .sub { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-top: 2px; }
.sec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 8px; border-bottom: 1px solid var(--ink); margin-top: 28px; }
.sec-h:first-child { margin-top: 0; }
.btn.big { height: 44px; padding: 0 18px; font-size: 15px; }

/* order rows */
.orows { display: flex; flex-direction: column; }
.orow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; width: 100%; color: inherit; }
.orow:hover { background: var(--hover); }
.orow .th { width: 64px; height: 64px; display: grid; place-items: center; background: var(--wall); overflow: hidden; }
.orow .th canvas { max-width: 60px; max-height: 60px; box-shadow: 0 0 0 1px var(--line); }
.orow b { display: block; font-weight: 600; font-size: 15px; }
.orow .sub { display: block; color: var(--ink-2); font-weight: 500; font-size: 15px; line-height: 1.35; }
.orow .next { display: block; font-size: 15px; margin-top: 6px; }
.orow .next.attn { color: var(--mark); font-weight: 600; }
.orow .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* progress tracker: five steps, squares on a hairline */
.track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 10px; }
.track .st { position: relative; padding-top: 14px; font-size: 15px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track .st::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-2); }
.track .st::after { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; background: var(--bg); outline: 1px solid var(--line-2); outline-offset: -1px; }
.track .st.done { color: var(--ink-2); }
.track .st.done::before { background: var(--ink); }
.track .st.done::after { background: var(--ink); outline-color: var(--ink); }
.track .st.now { color: var(--ink); font-weight: 600; }
.track .st.now::after { background: var(--bg); outline: 2px solid var(--ink); outline-offset: -2px; }
.track .st.attn { color: var(--mark); font-weight: 600; }
.track .st.attn::after { background: var(--mark); outline-color: var(--mark); }
@media (max-width: 520px) { .track .st { font-size: 0; } .track .st.now, .track .st.attn { font-size: 15px; overflow: visible; } }

/* catalog */
.cat-tabs { display: flex; gap: 18px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.cat-tabs button { border: 0; background: none; height: 36px; padding: 0; font-size: 15px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.cat-tabs button.on { color: var(--ink); font-weight: 600; border-color: var(--accent); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 20px; }
.pcard { border: 0; background: transparent; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; color: inherit; }
.pcard .frame { background: var(--wall); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; outline: 1px solid transparent; outline-offset: -1px; }
.pcard .frame canvas { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; box-shadow: var(--lift); }
.pcard.on .frame { outline: 2px solid var(--ink); outline-offset: -2px; }
.pcard:hover .frame { background: var(--hover); }
.pcard b { display: block; font-size: 15px; font-weight: 600; }
.pcard span { display: block; font-size: 15px; color: var(--ink-3); }
.kitrow { display: flex; gap: 8px; align-items: flex-end; height: 100%; }
.kitrow canvas { box-shadow: var(--lift); }

/* new order */
.no { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 36px; align-items: start; }
.no-form { display: flex; flex-direction: column; gap: 20px; }
.no-form .grp { display: flex; flex-direction: column; gap: 8px; }
.no-form .grp > .lab { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.opt-list { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.opt-list label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.opt-list label:last-child { border-bottom: 0; }
.opt-list label:has(input:checked) { background: var(--sel-bg); font-weight: 600; }
.opt-list input { accent-color: var(--ink); }
.prod-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.prod-pick button { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 10px 8px; text-align: left; font-size: 15px; font-weight: 500; min-height: 52px; }
.prod-pick button span { display: block; font: 500 13px var(--mono); color: var(--ink-3); margin-top: 3px; }
.prod-pick button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.prod-pick button.on span { color: #bbb; }
.no-prev { position: sticky; top: 80px; background: var(--wall); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 20px; min-height: 420px; }
.no-prev .pieces { display: flex; gap: 18px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.no-prev canvas { box-shadow: var(--lift); max-width: 100%; height: auto !important; }
.no-prev .cap { font: 500 13px var(--mono); color: var(--ink-3); text-align: center; }
.no-submit { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) { .no { grid-template-columns: minmax(0, 1fr); } .no-prev { position: static; min-height: 0; order: -1; } }

/* order detail */
.od { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.od-prev { background: var(--wall); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 16px; min-width: 0; }
.od-prev canvas { max-width: 100%; height: auto !important; box-shadow: var(--lift); }
.od-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.od-act { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv span:first-child { color: var(--ink-3); }
.kv span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.feed { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.feed div { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feed .mono { display: block; color: var(--ink-3); margin-bottom: 2px; }
.versions { display: flex; gap: 8px; flex-wrap: wrap; }
.versions button { border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); height: 28px; padding: 0 10px; font: 500 13px var(--mono); }
.versions button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.box { border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.box.attn { border-color: var(--mark); }
@media (max-width: 900px) { .od { grid-template-columns: minmax(0, 1fr); } }

/* tables and lists shared by the agency side */
.cards2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.note { border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 16px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.note b { font-weight: 600; }
.note .mono { color: var(--ink-3); }
.settings { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
.settings nav { display: flex; flex-direction: column; gap: 1px; position: sticky; top: 76px; align-self: start; }
.settings nav a { padding: 7px 8px; font-size: 15px; color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm); }
.settings nav a:hover { background: var(--hover); }
.settings section { padding-bottom: 28px; }
.settings h2 { font-size: 15px; margin-bottom: 10px; }
@media (max-width: 900px) { .settings { grid-template-columns: minmax(0, 1fr); } .settings nav { display: none; } }
.bar { height: 6px; background: var(--ink); display: block; }
.barcell { width: 40%; }
.qbar { display: flex; gap: 10px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.qbar select { height: 30px; font-size: 15px; width: auto; }
.office-banner { font: 500 13px var(--mono); color: var(--ink-3); }
.sq.attn { background: var(--mark); }
html, body { min-height: 100%; }
#pf-prev canvas { max-width: 100%; height: auto !important; box-shadow: var(--lift); }

/* ---------- Nov 5 readability pass (LTF1-LTF6): bigger darker text, tighter pages, back top-left ---------- */
.p-main .track { max-width: 560px; }
.orow b { font-weight: 600; font-size: 16px; }
.orow .next { font-size: 15px; font-weight: 500; margin-top: 4px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 6px; margin: 0 0 8px -6px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.backlink:hover { background: var(--hover); }
.av-init { display: grid; place-items: center; flex: none; background: var(--ink); color: var(--bg); font: 600 15px var(--f); letter-spacing: .02em; border-radius: 3px; }
.p-me { font-size: 15px; font-weight: 500; }
.p-nav a { font-size: 15px; font-weight: 500; }
.p-nav a.on, .nav a.on { font-weight: 600; }
.btn { font-weight: 600; }
.page { padding-block: 16px 48px; max-width: 1280px; }
.sec-h { margin-top: 20px; }
@media (max-width: 520px) {
  .orow { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; }
  .orow .th { width: 56px; height: 56px; } .orow .th canvas { max-width: 52px; max-height: 52px; }
  .orow .r { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; }
  .p-top .in { gap: 10px; }
}
.rq-item .sub { white-space: normal; overflow: visible; text-overflow: clip; font-size: 15px; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.rq-item.cur .sub { color: #ddd; }
.me button { white-space: nowrap; }
.me { flex-wrap: wrap; }
.ed-top > * { flex: none; } .ed-top .spacer { flex: 1 0 0 !important; }
.ed-top select { min-width: 120px; }

/* ===== Nov 5: one-page catalog, QR links, share, brand kit, public pages (Proof look: black and white, one red, 6px max, 15px+ text) ===== */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hint { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.45; }
.mark-text { color: var(--mark); font-weight: 600; }
.warn { color: var(--mark); } .bad { color: var(--mark); font-weight: 600; }
.btn.off { opacity: .5; pointer-events: none; }
label.btn { cursor: pointer; }
.btn:has(+ .vh:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.cat-jump { display: flex; flex-wrap: wrap; gap: 4px 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 8px; overflow: visible; }
.cat-jump a { font-size: 15px; color: var(--ink-3); text-decoration: none; padding: 4px 0; }
.cat-jump a:hover { color: var(--ink); text-decoration: underline; }
.cat-sec { margin-top: 36px; scroll-margin-top: 84px; }
@media (max-width: 760px) { .cat-sec { scroll-margin-top: 76px; } }
.me-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.me-link:hover .who-name, a.me-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; z-index: 15; width: 44px; height: 44px; border-radius: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font: inherit; font-size: 15px; cursor: pointer; }
.to-top:hover { color: var(--ink); border-color: var(--ink-3); }
.to-top[hidden] { display: none; }
@media (max-width: 760px) { .to-top { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; margin-top: 16px; }
.cgrid.stories { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cgrid.hangers { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cgrid.kits { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.cgrid .pcard .frame { aspect-ratio: auto; min-height: 280px; padding: 22px; }
.cgrid .pcard .frame canvas { max-width: 100%; max-height: none; width: auto !important; height: auto !important; }
.cgrid .pcard .frame > .lazy { max-width: 100%; }
.pcard span { font-size: 15px; }
.lazy { background: var(--hover); }
.pcard.kit .frame { aspect-ratio: auto; min-height: 0; padding: 18px; }
.kitrow canvas, .kitrow .lazy, .fy-row canvas, .fy-row .lazy { flex: none; }
.kitrow { display: flex !important; gap: 12px; align-items: flex-start; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.pcard .frame .kitrow canvas, .fy-row canvas { box-shadow: var(--lift); width: auto !important; height: auto !important; max-width: 100%; }
.foryou { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 20px; margin-top: 16px; }
.fy-card { border: 1px solid var(--line-2); border-radius: var(--r); display: flex; flex-direction: column; min-width: 0; }
.fy-h { padding: 12px 14px 0; display: flex; flex-direction: column; } .fy-h span { font-size: 15px; color: var(--ink-3); }
.fy-row { display: flex; gap: 12px; align-items: flex-start; justify-content: center; padding: 14px; background: var(--wall); margin: 12px 0 0; overflow: hidden; }
.fy-f { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; align-items: flex-start; }
@media (max-width: 520px) { .cgrid, .cgrid.kits, .cgrid.stories, .cgrid.hangers, .foryou { grid-template-columns: minmax(0, 1fr); } .cgrid .pcard .frame { padding: 14px; } }

/* QR destination */
.dest { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.dest .opt-list label { font-size: 15px; }
.dest-prev .dp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 15px; }
.dest-prev .dp > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; word-break: break-all; }
.dest-prev .dp.bad { display: flex; flex-direction: column; gap: 2px; border-color: var(--mark); }
.dest-prev .fav { width: 28px; height: 28px; background: var(--wall); border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.dest-prev .fav img { width: 20px; height: 20px; }
.qr-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.qr-line .mono { font-size: 15px; word-break: break-all; }
.qrbox .kv > div, .share .kv > div { font-size: 15px; }
.rq-qr { margin: 0 18px 18px; max-width: 520px; }

/* Share */
.share textarea { width: 100%; font-size: 15px; line-height: 1.45; border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px 10px; background: var(--surface); resize: vertical; }
.sh-alt { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 15px; } .sh-alt span { color: var(--ink-3); } .sh-alt a { color: var(--ink); font-weight: 600; }

/* Brand kit */
.kit { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.kit-prev { grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
.kit-main { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.kp { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; padding: 16px; background: var(--wall); margin-top: 12px; }
.kp canvas { box-shadow: var(--lift); max-width: 100%; }
.kit-sec h2 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 16px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.src { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 3px; font: 500 15px/1 var(--f); color: var(--ink-2); }
.src.lock { border-color: var(--ink); color: var(--ink); } .src .i { width: 14px; height: 14px; }
.layers > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lgv { display: flex; flex-direction: column; gap: 22px; margin-top: 12px; }
.lgrow .use, .hs .use { display: flex; gap: 8px; align-items: center; font-size: 15px; margin-bottom: 8px; }
.lgpair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lg-stage { aspect-ratio: 3 / 1; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; padding: 14px; overflow: hidden; }
.lg-stage img { max-width: 100%; max-height: 100%; }
.lg-cap { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 15px; }
.linkbtn { font-size: 15px; }
.hsg { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 12px; }
.hs { display: flex; flex-direction: column; gap: 6px; } .hs-im img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); display: block; border: 1px solid var(--line-2); }
.cgrid4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 12px; }
.crole .f { gap: 4px; } .cin { display: flex; gap: 8px; margin-top: 4px; } .cin input[type=text] { font-family: var(--mono); max-width: 120px; }
.contr { margin-top: 20px; } .cr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 150px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cr .demo { width: 44px; height: 32px; display: grid; place-items: center; font-weight: 700; border: 1px solid var(--line-2); border-radius: 4px; }
.sugg { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 15px; }
.sugg > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 180px; } .sugg .sw { width: 28px; height: 28px; }
@media (max-width: 900px) { .kit { grid-template-columns: minmax(0, 1fr); } .kit-prev, .kit-main { grid-column: 1; grid-row: auto; } .kit-prev { position: static; } .lgpair { grid-template-columns: 1fr; } .cr { grid-template-columns: 44px minmax(0, 1fr) auto; } .cr > span:last-child { grid-column: 2 / 4; } }

/* Public pages (/p/<listing>) */
.pub { min-height: 100vh; display: flex; flex-direction: column; }
.pub-top { display: flex; justify-content: space-between; align-items: center; padding: 12px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); font-size: 15px; gap: 12px; }
.pub-main { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px 64px; }
.pub-main h1 { font-size: 28px; margin-top: 6px; letter-spacing: -0.02em; }
.pub-hero img { width: 100%; max-height: 560px; object-fit: cover; display: block; margin-top: 16px; border-radius: var(--r); }
.pub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin-top: 24px; align-items: start; }
.pub-status { display: inline-block; font: 600 15px var(--f); border: 1px solid var(--ink); padding: 2px 8px; border-radius: 3px; }
.pub-city { font-size: 17px; color: var(--ink-3); } .pub-price { font-size: 32px; font-weight: 700; margin: 12px 0; }
.pub-specs { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 16px; padding: 12px 0; border-block: 1px solid var(--line); }
.pub-desc { font-size: 17px; line-height: 1.55; max-width: 62ch; } .pub-feat { font-size: 16px; line-height: 1.7; padding-left: 20px; }
.pub-agent { border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 16px; }
.pub-agent .btn { height: 44px; font-size: 16px; } .pa-top { display: flex; gap: 12px; align-items: center; font-size: 16px; } .pa-top span { display: flex; flex-direction: column; } .pa-top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.pa-legal { font-size: 15px; color: var(--ink-3); }
.pub-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 32px; } .pub-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.pub-fine { font-size: 15px; color: var(--ink-3); margin-top: 32px; }
@media (max-width: 760px) { .pub-grid { grid-template-columns: minmax(0, 1fr); } .pub-agent { position: static; } .pub-main h1 { font-size: 24px; } }

/* Readable type everywhere: nothing under 15px (Austin, Nov 4) */
.sec-h, .sec-h > *, .mono, .faint, .btn, .btn.sm, .linkbtn, .badge, .track .st, .tbl th { font-size: 15px; }
@media (max-width: 520px) { .track .st { font-size: 0; } .track .st.now, .track .st.attn { font-size: 15px; overflow: visible; } }

/* Share menu, prompts and markers (Proof look: lines, no pills) */
.shl { display: block; font-size: 15px; margin-top: 4px; color: var(--ink-2); }
.shl.todo { color: var(--ink); font-weight: 600; }
.box > .shl { margin-top: -4px; }
.orwrap { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.orwrap .orow { border-bottom: 0; flex: 1; min-width: 0; }
.orwrap .shbtn { flex: none; margin-right: 2px; }
@media (max-width: 520px) { .orwrap { flex-wrap: wrap; } .orwrap .orow { flex-basis: 100%; } .orwrap .shbtn { margin: -2px 0 10px 78px; } }
.shmenu { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.shi { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); min-height: 44px; }
.shi:hover { background: var(--hover); }
.shi b { font-weight: 600; font-size: 15px; } .shi span { font-size: 15px; color: var(--ink-3); }
@media (max-width: 520px) { .shmenu { grid-template-columns: 1fr; } }
.shphone { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px; } .shphone[hidden] { display: none; }
.shphone img { width: 148px; height: 148px; flex: none; image-rendering: pixelated; } .shphone b { font-size: 15px; }
@media (max-width: 520px) { .shphone { flex-direction: column; } }
.shmodal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.shpanel { background: var(--surface, #fff); border: 1px solid var(--ink); border-radius: var(--r); width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.shpanel .box { border: 0; padding: 0; }
.shhead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; } .shhead b { font-size: 17px; }
@media (max-width: 520px) { .shmodal { align-items: flex-end; padding: 0; } .shpanel { border-radius: var(--r) var(--r) 0 0; max-height: 92vh; } }

/* ---- Ready to go, autopilot, brand colors, match this listing (Proof look: hairlines, square corners, one red) ---- */
.rtg { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-bottom: 8px; }
.rg-card { border: 1px solid var(--line-2); border-radius: var(--r); display: flex; flex-direction: column; min-width: 0; background: var(--surface); }
.rg-pieces { display: flex; gap: 12px; justify-content: center; align-items: center; padding: 16px; background: var(--wall); border-bottom: 1px solid var(--line); min-height: 160px; }
.rg-pieces canvas { box-shadow: 0 1px 3px rgba(0,0,0,.2); max-width: 100%; height: auto; }
.rg-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.rg-h { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.rg-body p { color: var(--ink-2); font-size: 15px; }
.rg-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ap { border: 1px solid var(--line-2); border-radius: var(--r); }
.ap-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.ap-row + .ap-row { border-top: 1px solid var(--line); }
.sw-t { min-width: 64px; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font: 600 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sw-t.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.bc-start { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 12px; }
.bc-box { border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bc-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-b { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0; }
.bc-photo { margin-top: 16px; display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.bc-ph { position: relative; width: 200px; max-width: 100%; }
.bc-ph img { width: 100%; display: block; border: 1px solid var(--line-2); }
.pin { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 2px solid #fff; box-shadow: 0 0 0 1px #000; border-radius: 50%; display: grid; place-items: center; }
.pin i { font: 700 12px var(--mono); font-style: normal; color: #fff; mix-blend-mode: difference; }
.bc-kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin-top: 16px; }
.bc-kit { text-align: left; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.bc-kit.on { outline: 2px solid var(--ink); outline-offset: -1px; }
.bc-card { display: flex; justify-content: center; align-items: center; padding: 14px; background: var(--wall); border-bottom: 1px solid var(--line); min-height: 120px; }
.bc-card canvas { box-shadow: 0 1px 3px rgba(0,0,0,.2); max-width: 100%; height: auto; }
.bc-meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.bc-chips { display: flex; flex-direction: column; gap: 3px; color: var(--ink-2); }
.bc-chips > span { display: flex; align-items: center; gap: 8px; }
.bc-chips .sw { width: 16px; height: 16px; display: inline-block; border: 1px solid var(--line-2); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 8px 14px; font-weight: 600; font-size: 15px; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--accent); color: var(--on-accent); }
.match { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.match-sw { display: flex; align-items: center; gap: 6px; }
.match-sw .sw { width: 24px; height: 24px; border: 1px solid var(--line-2); display: inline-block; }
.match-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.match-cols > div { border: 1px solid var(--line); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.match-cols span { color: var(--ink-2); }
@media (max-width: 520px) { .match-cols { grid-template-columns: 1fr; } .rtg { grid-template-columns: 1fr; } }
.seg { display: flex; width: 100%; max-width: 420px; } .seg button { flex: 1; min-height: 40px; line-height: 1.2; }

/* Home: one compact line to Orders */
.home-status{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center;margin:4px 0 12px;padding:10px 12px;border:1px solid var(--line,#ddd);border-radius:8px;font-size:15px;color:var(--ink-2,inherit);text-decoration:none;min-height:44px}
.home-status:hover{background:var(--wash,rgba(0,0,0,.04))}
.home-status .hs-need{color:var(--mark);font-weight:700}
.home-status .hs-go{color:var(--ink);font-weight:600;text-decoration:underline}

/* Home round 2: Coming up, catalog cards in the feed, Everything we make */
.cu-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 14px 0 6px; -webkit-overflow-scrolling: touch; }
.cu-tile { flex: 0 0 min(240px, 74vw); scroll-snap-align: start; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.cu-pc { background: var(--wall); border-bottom: 1px solid var(--line); display: flex; justify-content: center; align-items: center; height: 180px; padding: 12px; }
.cu-pc canvas { box-shadow: 0 1px 3px rgba(0,0,0,.2); max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; }
.cu-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.cu-b b { font-size: 16px; } .cu-b > span { color: var(--ink-2); }
.ew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 14px; }
.ew-tile { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 0 0 12px; text-align: left; color: inherit; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.ew-tile:hover .ew-fr { background: var(--hover); }
.ew-fr { background: var(--wall); border-bottom: 1px solid var(--line); height: 150px; display: grid; place-items: center; padding: 10px; margin-bottom: 8px; }
.ew-fr canvas { box-shadow: 0 1px 3px rgba(0,0,0,.2); max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; }
.ew-tile b, .ew-tile .ew-n { padding: 0 12px; } .ew-n { color: var(--ink-3); }
.ew-end { display: flex; justify-content: center; padding: 22px 0 36px; }
@media (max-width: 520px) { .ew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#h-all { margin-top: 28px; }

/* ===== Home round 3: pieces in scenes, hero card, preview, order sheet ===== */
.calm-link { display: inline-block; margin-top: 6px; font-size: 15px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.calm-link:hover { color: var(--ink); }
.rtg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rtg-proofs { margin-bottom: 18px; }
.rtg .rg-hero { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
.rg-hero .rg-pieces { border-bottom: 0; border-right: 1px solid var(--line); }
.rg-hero .rg-body { justify-content: center; padding: 24px 28px; gap: 8px; }
.rg-hero .rg-h { font-size: 28px; line-height: 1.12; letter-spacing: -0.025em; }
.rg-hero .rg-body p { font-size: 17px; }
.rg-hero .rg-act { margin-top: 18px; } .rg-hero .rg-act .btn { height: 40px; padding: 0 16px; }
.rg-card { overflow: hidden; }
.rg-pieces { padding: 0; min-height: 0; display: block; background: var(--wall); }
.rg-pieces .sc { width: 100%; }
.rg-ask { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; } .rg-ask textarea { width: 100%; }
.od-ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; height: 32px; }
.rg-act { align-items: center; }
/* scene frames */
.sc { position: relative; overflow: hidden; width: 100%; isolation: isolate; }
.sc-bg { position: absolute; inset: 0; z-index: 0; }
.sc-pc { position: absolute; z-index: 2; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; transform: var(--t); transition: transform .18s ease; filter: drop-shadow(0 12px 16px rgba(0,0,0,.30)) drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.sc-cv { display: block; width: 100%; height: 100%; }
.sc-pc:hover, .sc-pc:focus-visible { transform: translateY(-7px) scale(1.03) var(--t); }
.sc-pc:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sc-view { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: var(--ink); color: var(--bg); font: 600 14px var(--sans, inherit); padding: 5px 12px; border-radius: var(--r); opacity: 0; transition: opacity .15s; pointer-events: none; }
.sc-pc:hover .sc-view, .sc-pc:focus-visible .sc-view { opacity: 1; }
.sc-desk .sc-bg { background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.18), transparent 60%), repeating-linear-gradient(92deg, rgba(0,0,0,.035) 0 2px, transparent 2px 9px), linear-gradient(160deg, #c8a47a, #a98259); }
.sc-desk::after { content: ""; position: absolute; right: 7%; bottom: 9%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #5b3a22 0 46%, #f4efe6 48% 78%, #d9d1c3 80%); box-shadow: 0 6px 10px rgba(0,0,0,.25); z-index: 1; }
.sc-mat .sc-bg { background: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 7.5% 10%, linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 7.5% 10%, linear-gradient(160deg, #3f7a62, #2f6350); }
.sc-lawn .sc-bg { background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(30,70,25,.55) 100%), var(--sc-photo, none) center 60% / cover, linear-gradient(#a9d3ee 0 52%, #6fae49 52%, #4f8a35); }
.sc-lawn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(to bottom, rgba(79,138,53,0), #4d8a33 62%, #3f7429); z-index: 1; }
.sc-lawn .sc-pc { z-index: 2; }
.sc-lawn .sc-pc::before, .sc-lawn .sc-pc::after { content: ""; position: absolute; top: 100%; width: 2.4%; height: 62%; background: linear-gradient(90deg, #8d8d8d, #d4d4d4); border-radius: 0 0 2px 2px; }
.sc-lawn .sc-pc::before { left: 24%; } .sc-lawn .sc-pc::after { right: 24%; }
.sc-door .sc-bg { background: linear-gradient(90deg, rgba(0,0,0,.14), transparent 12%, transparent 88%, rgba(0,0,0,.14)), linear-gradient(160deg, #6f4a33, #5a3926); }
.sc-door::before { content: ""; position: absolute; inset: 7% 22% 0; border: 2px solid rgba(0,0,0,.18); border-bottom: 0; border-radius: 3px; z-index: 1; }
.sc-knob { position: absolute; left: 50%; top: 10%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4e3b2, #b9923d 60%, #8a6a24); box-shadow: 0 2px 4px rgba(0,0,0,.4); pointer-events: none; }
.sc-handset { position: absolute; z-index: 2; background: #101012; border-radius: 9% / 4.4%; padding: 2.6%; transform: var(--t); transform-origin: 50% 50%; box-shadow: 0 0 0 2px #2c2c30, 0 18px 24px rgba(0,0,0,.35); display: flex; }
.sc-handset .ph-notch { position: absolute; z-index: 3; left: 50%; top: 2.2%; width: 28%; height: 2.4%; background: #101012; border-radius: 99px; transform: translateX(-50%); }
.sc-handset .ph-scr { position: relative; flex: 1; background: #fff; border-radius: 7.5% / 3.6%; overflow: hidden; display: flex; flex-direction: column; padding-top: 11%; container-type: inline-size; }
.sc-handset .ph-scr.story { padding: 0; background: #000; }
.ph-hd { display: flex; align-items: center; gap: 4cqw; padding: 0 4cqw 3cqw; font: 600 5cqw/1 system-ui, sans-serif; color: #111; }
.ph-hd i { width: 9cqw; height: 9cqw; border-radius: 50%; background: #c7c7c2; flex: none; } .ph-hd b { font-weight: 700; } .ph-hd span { margin-left: auto; font-weight: 400; color: #777; font-size: 4cqw; }
.ph-px { position: relative; width: 100%; }
.ph-scr.story .ph-px { flex: 1; min-height: 0; }
.ph-px .sc-pc { position: relative; left: auto; top: auto; width: 100%; aspect-ratio: var(--r); transform: none; filter: none; display: block; }
.ph-px .sc-pc:hover { transform: none; }
.ph-scr.story .ph-px .sc-pc { height: 100%; aspect-ratio: auto; } .ph-scr.story .sc-cv { object-fit: cover; }
.ph-ac { display: flex; gap: 4cqw; padding: 3cqw 4cqw; } .ph-ac i { width: 6cqw; height: 6cqw; border: 1.5px solid #222; border-radius: 50%; }
.ph-ln { height: 2.4cqw; background: #dcdcd8; margin: 1.5cqw 4cqw 0; border-radius: 2px; } .ph-ln.s { width: 55%; }
.sc-fan .sc-bg { background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.16), transparent 60%), repeating-linear-gradient(92deg, rgba(0,0,0,.035) 0 2px, transparent 2px 9px), linear-gradient(160deg, #c8a47a, #a98259); }
.sc-fan .sc-pc { transform-origin: 50% 100%; }
.sc-fan .sc-pc:hover, .sc-fan .sc-pc:focus-visible { z-index: 9 !important; }
/* Coming up: mini calendar */
.cu-row { gap: 16px; }
.cu-tile { flex: 0 0 min(250px, 74vw); position: relative; overflow: hidden; }
.cu-tile .rg-pieces { border-bottom: 1px solid var(--line); }
.cu-date { position: absolute; z-index: 5; top: 8px; left: 8px; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--r); text-align: center; padding: 3px 9px 4px; line-height: 1.05; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.cu-date b { display: block; font-size: 20px; } .cu-date span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.cu-b .rg-act { margin-top: 10px; }
/* Full-screen preview */
.pv { position: fixed; inset: 0; z-index: 55; background: rgba(12,12,14,.94); color: #f4f4f4; display: flex; flex-direction: column; padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0); }
.pv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.pv-t { display: flex; flex-direction: column; min-width: 0; } .pv-t b { font-size: 17px; } .pv-n { font-size: 15px; color: #c8c8c8; }
.pv .btn { background: #1d1d20; color: #f4f4f4; border-color: #4a4a4f; height: 40px; } .pv .btn:hover { background: #2a2a2e; } .pv .btn.primary { background: #fff; color: #111; border-color: #fff; }
.pv-mid { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 8px; }
.pv-stage { display: flex; justify-content: center; align-items: center; min-width: 0; perspective: 1400px; }
.pv-face { position: relative; transform-style: preserve-3d; transition: transform .45s ease; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.pv-face.flip { transform: rotateY(180deg); }
.pv-cv { position: absolute; inset: 0; backface-visibility: hidden; background: #fff; }
.pv-cv.bk { transform: rotateY(180deg); }
.pv-ar { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #4a4a4f; background: #1d1d20; color: #fff; display: grid; place-items: center; }
.pv-ar:hover { background: #2a2a2e; } .pv-ar[hidden] { display: none; }
.pv-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px 18px; }
.pv-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pv-ask { display: flex; gap: 8px; width: min(520px, 100%); } .pv-ask[hidden] { display: none; } .pv-ask textarea { flex: 1; }
@media (max-width: 700px) { .pv-ar { width: 44px; height: 44px; } .pv-mid { gap: 2px; padding: 0 2px; } }
/* Order sheet */
.os { gap: 12px; } .os-h { font-size: 22px; letter-spacing: -0.02em; }
.os-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.os-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.os-row.off .os-ck, .os-row.off .os-p { opacity: .45; }
.os-ck { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; } .os-ck input { width: 20px; height: 20px; flex: none; }
.os-th { width: 52px; height: 52px; display: grid; place-items: center; background: var(--wall); flex: none; } .os-th canvas { box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.os-nm { display: flex; flex-direction: column; min-width: 0; } .os-nm span { color: var(--ink-3); font-size: 14px; }
.os-q select { height: 36px; } .os-p { text-align: right; font-size: 15px; }
.os-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .os-meta .lab { display: block; margin-bottom: 4px; } .os-meta select, .os-meta input[type=text] { width: 100%; } .os-meta input[hidden] { display: none; } .os-meta #os-addr { margin-top: 6px; }
.os-tot { display: flex; justify-content: space-between; font-size: 17px; } .os-tot b { font-size: 20px; }
.os-act { display: flex; gap: 8px; } .os-act .btn.big { flex: 1; height: 42px; }
@media (max-width: 520px) { .os-meta { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .rtg { grid-template-columns: 1fr; } .rtg .rg-hero { grid-template-columns: 1fr; } .rg-hero .rg-pieces { border-right: 0; border-bottom: 1px solid var(--line); } .rg-hero .rg-body { padding: 16px; } .rg-hero .rg-h { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .sc-pc, .pv-face { transition: none; } }
.sc-phone .sc-bg { background: linear-gradient(160deg, #e9e9e6, #cfd3d8); }

.rg-ask[hidden], .rg-body [hidden] { display: none; }

/* ===== Nov 5 agent round ===== */
.o-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.o-tabs { margin: 0; border: 0; }
.og { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 14px; }
@media (min-width: 760px) { .og { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .og { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ocard { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.o-fr { border: 0; padding: 18px; background: var(--wall); aspect-ratio: 1 / 1; display: grid; place-items: center; width: 100%; }
.o-fr:hover { background: var(--hover); }
.o-fr canvas { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; box-shadow: var(--lift); }
.otl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.otl i { height: 3px; background: var(--line-2); } .otl i.done { background: var(--ink); } .otl i.now { background: var(--accent); }
.o-d { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.o-d b { font-size: 15px; font-weight: 600; cursor: pointer; } .o-d > span { font-size: 15px; color: var(--ink-3); }
.o-st { color: var(--ink-2) !important; font-weight: 500; } .o-st.ask { color: var(--ink) !important; font-weight: 600; }
.o-m { display: flex; justify-content: space-between; gap: 8px; margin-top: 2px; }
.o-sh { align-self: flex-start; margin-top: 4px; }
/* listings */
.lg2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 18px; margin-top: 14px; }
.lcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lc-ph, .lp-hero { position: relative; display: block; border: 0; padding: 0; width: 100%; background: var(--wall); overflow: hidden; }
.lc-ph canvas, .lp-hero canvas { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; }
.lc-tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: rgba(20,20,20,.78); color: #fff; font: 500 14px var(--mono); padding: 5px 9px; }
.lc-b { display: flex; flex-direction: column; gap: 4px; } .lc-t { display: flex; justify-content: space-between; gap: 10px; } .lc-t b { font-size: 16px; font-weight: 600; }
.mks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.mk { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; font-size: 14px; border: 1px solid var(--line-2); }
.mk svg { width: 13px; height: 13px; } .mk.has { background: var(--wall); color: var(--ink); } .mk.miss { border-style: dashed; color: var(--ink-3); }
.ls-sent { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: 15px; color: var(--ink-2); } .ls-sent span { display: flex; gap: 6px; align-items: center; }
.ls-form { border: 1px solid var(--line-2); padding: 16px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; } .ls-form label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 500; }
.ls-form h2 { font-size: 18px; } .nl-th { display: flex; flex-wrap: wrap; gap: 6px; } .nl-th img { width: 72px; height: 54px; object-fit: cover; }
.lp-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-bottom: 8px; } @media (max-width: 760px) { .lp-top { grid-template-columns: 1fr; } }
.lp-price { font-size: 22px; font-weight: 600; } .lp-spec { display: flex; gap: 16px; margin: 6px 0 10px; font-size: 15px; } .lp-info p { font-size: 15px; color: var(--ink-2); }
.lp-ph { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; } .lp-ph canvas { width: 100%; height: auto; display: block; }
.lp-share { display: flex; gap: 20px; align-items: center; margin-top: 14px; flex-wrap: wrap; } .lp-qr img { width: 150px; height: 150px; display: block; background: #fff; padding: 6px; border: 1px solid var(--line); }
.lp-url { word-break: break-all; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.rq-lr .lr-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); } .lr-th { display: flex; } .lr-th img { width: 38px; height: 38px; object-fit: cover; }
/* profile */
.pf-look { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; margin-bottom: 26px; } @media (max-width: 860px) { .pf-look { grid-template-columns: 1fr; } }
.pf-fan { background: var(--wall); display: flex; min-width: 0; justify-content: center; align-items: center; padding: 28px 40px; min-height: 300px; overflow: hidden; }
.fan-p { margin: 0 -10px; transform: rotate(var(--r)); position: relative; } .fan-p canvas { box-shadow: var(--lift); max-width: 100%; height: auto !important; width: auto !important; max-height: 165px; }
@media (max-width: 560px) { .fan-p { margin: 0 -34px; } .fan-p canvas { max-height: 170px; } }
.pf-try { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; align-items: flex-start; } .pf-kits { display: flex; gap: 10px; }
.pf-k { display: flex; border: 1px solid var(--line-2); } .pf-k i { width: 26px; height: 34px; display: block; }
.pf-inv { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; } .inv { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border: 1px dashed var(--line-2); color: inherit; text-decoration: none; font-size: 15px; } .inv span { color: var(--ink-3); } .inv svg { width: 14px; height: 14px; }
.pf-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; } .pf-form label { display: flex; flex-direction: column; gap: 3px; font-size: 15px; font-weight: 500; }
.pf-tell { display: flex; gap: 8px; margin-top: 8px; align-items: flex-start; } .pf-tell textarea { flex: 1; }
/* Home cards: the Catalog look. Piece on a quiet wall, text underneath, no heavy frame. */
.rtg .rg-card { border: 0; background: transparent; border-radius: 0; }
.rtg .rg-card .rg-body { padding: 10px 0 0; }
.rtg .rg-card:not(.rg-hero) .rg-h { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.rtg .rg-card .rg-pieces { background: var(--wall); }

.hs-new { margin-top: 12px; border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 12px; }
.hs-new-in { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.hs-new .hs-im { width: 110px; flex: none; } .hs-new-f { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 180px; }
.hs-q { font-size: 14px; } .hs-q.ok { color: #1a7f4b; } .hs-q.soft { color: #9a6700; } .hs-q.bad { color: #b42318; }
.hs-saved { margin: 10px 0 0; font-size: 15px; font-weight: 600; color: #1a7f4b; }
