/* Ocean Link visualizer (ol-viz.css) */
.olv { --navy:#021423; --navy2:#0b2a44; --gold:#f2be4b; --gold2:#e0a92f; --paper:#edeae2; --card:#fff; --line:rgba(2,20,35,.12); --muted:#5b6670;
  color:var(--navy); font:15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; max-width:1320px; margin:0 auto; padding:clamp(24px,4vw,56px) clamp(16px,3vw,40px) 64px; box-sizing:border-box; }
.olv *, .olv *::before, .olv *::after { box-sizing:border-box; }
.olv svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.olv button { font:inherit; color:inherit; cursor:pointer; }
.olv [hidden] { display:none !important; }

/* hero */
.olv-hero { max-width:760px; margin-bottom:clamp(20px,3vw,36px); }
.olv-eyebrow { font:400 15px/1 "Bebas Neue", Impact, sans-serif; letter-spacing:.18em; color:var(--gold2); margin:0 0 10px; text-transform:uppercase; }
.olv h1 { font:400 clamp(36px,5.2vw,64px)/1.02 "Instrument Serif", Georgia, serif; margin:0 0 14px; letter-spacing:-.01em; color:var(--navy); }
.olv h1 em { font-style:italic; color:var(--gold2); }
.olv-lede { font-size:clamp(15px,1.4vw,17px); color:#34414c; margin:0 0 14px; max-width:620px; }
.olv-privacy { display:inline-flex; gap:8px; align-items:center; margin:0; padding:7px 12px; border-radius:999px; background:rgba(2,20,35,.06); font-size:13px; color:var(--navy2); }

/* layout */
.olv-main { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr); gap:clamp(16px,2vw,28px); align-items:start; }
@media (max-width:980px) { .olv-main { grid-template-columns:1fr; } }
.olv-right { display:grid; gap:16px; position:sticky; top:96px; }
@media (max-width:980px) { .olv-right { position:static; } }
.olv-card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px; box-shadow:0 1px 2px rgba(2,20,35,.04); }
.olv-right > *, .olv-left, .olv-main > * { min-width:0; }
.olv h2.olv-h2, .olv h3, .olv p { text-transform:none; }
.olv h2.olv-h2 { display:flex; align-items:center; gap:10px; font-family:inherit; font-size:15px; font-weight:600; line-height:1.2; margin:0 0 14px; padding:0; letter-spacing:.01em; color:var(--navy); }
.olv-step { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--navy); color:#fff; font-size:12px; font-weight:700; }
.olv-muted { color:var(--muted); font-size:14px; margin:6px 0; }

/* buttons */
.olv-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 20px; border-radius:999px; border:1.5px solid transparent; font-weight:600; font-size:15px; text-decoration:none !important; transition:background .15s, border-color .15s, transform .1s; }
.olv-btn:active { transform:translateY(1px); }
.olv-btn:disabled { opacity:.6; cursor:default; }
.olv-btn-gold { background:var(--gold); color:var(--navy) !important; }
.olv-btn-gold:hover { background:var(--gold2); }
.olv-btn-navy { background:var(--navy); color:#fff !important; }
.olv-btn-navy:hover { background:var(--navy2); }
.olv-btn-line { background:#fff; border-color:rgba(2,20,35,.25); color:var(--navy) !important; }
.olv-btn-line:hover { border-color:var(--navy); }
.olv-sm { min-height:36px; padding:0 14px; font-size:13.5px; }
.olv-wide { width:100%; }
.olv-link { color:var(--navy2); font-weight:600; font-size:13.5px; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--gold); }
.olv-btn:focus-visible, .olv-tb:focus-visible, .olv-item:focus-visible, .olv-sw:focus-visible, .olv-seg button:focus-visible, .olv-chips button:focus-visible, .olv-stage:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }

/* photo drop zone */
.olv-drop { display:grid; justify-items:center; text-align:center; gap:12px; padding:clamp(40px,7vw,90px) 20px; border:2px dashed rgba(2,20,35,.22); border-radius:20px; background:linear-gradient(180deg,#fff 0%,#f6f4ef 100%); transition:border-color .15s, background .15s; }
.olv-drop.is-over { border-color:var(--gold2); background:#fffaf0; }
.olv-drop-ic { width:64px; height:64px; display:grid; place-items:center; border-radius:50%; background:var(--paper); }
.olv-drop-ic svg { width:30px; height:30px; }
.olv-drop-t { font:400 clamp(24px,2.6vw,32px)/1.15 "Instrument Serif", Georgia, serif; margin:0; }
.olv-drop-btns { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.olv-drop-tip { font-size:13px; color:var(--muted); margin:0; max-width:420px; }

/* stage */
.olv-stagewrap { position:relative; }
.olv-stage { position:relative; overflow:hidden; border-radius:16px; background:#111; touch-action:none; user-select:none; -webkit-user-select:none; line-height:0; outline:none; }
.olv-photo { width:100%; height:auto; display:block; }
.olv-layers { position:absolute; inset:0; }
.olv-layer { position:absolute; left:0; top:0; transform-origin:0 0; cursor:grab; }
.olv-layer:active { cursor:grabbing; }
.olv-svg { position:absolute; inset:0; width:100% !important; height:100% !important; pointer-events:none; overflow:visible; }
.olv-outline { fill:none; stroke:var(--gold); stroke-width:2; stroke-dasharray:6 5; }
.olv-mline { stroke:var(--gold); stroke-width:3; }
.olv-mdot { fill:#fff; stroke:var(--navy); stroke-width:2; }
.olv-handle { position:absolute; width:26px; height:26px; margin:-13px 0 0 -13px; border-radius:50%; background:#fff; border:3px solid var(--gold2); box-shadow:0 2px 6px rgba(0,0,0,.35); cursor:move; touch-action:none; z-index:3; }
@media (pointer:coarse) { .olv-handle { width:34px; height:34px; margin:-17px 0 0 -17px; } }
.olv-stage.is-measuring { cursor:crosshair; }
.olv-stage.is-measuring .olv-layer { pointer-events:none; }

.olv-toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px; }
.olv-tbg { display:flex; flex-wrap:wrap; gap:4px; padding:4px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.olv-tb { display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 10px; border:0; border-radius:8px; background:none; font-size:13px; font-weight:500; white-space:nowrap; }
.olv-tb:hover { background:var(--paper); }
.olv-tb-del { color:#a3261b; }
.olv-tbsel .olv-tb span { display:none; }
.olv-tbsel .olv-tb { width:36px; justify-content:center; padding:0; }
.olv-tbsliders { align-items:center; gap:14px; padding:4px 12px; font-size:13px; }
.olv-tbsliders label { display:inline-flex; align-items:center; gap:8px; }
.olv-tbsliders input[type=range] { width:110px; accent-color:var(--gold2); }
.olv-chk input { accent-color:var(--navy); width:16px; height:16px; }
.olv-tbhint { margin:0 6px; font-size:13px; color:var(--muted); }
@media (max-width:640px) { .olv-tbg:first-child .olv-tb span { display:none; } .olv-tbg:first-child .olv-tb { width:40px; justify-content:center; padding:0; } }

.olv-measure { position:relative; margin-top:10px; display:grid; gap:10px; padding:14px 16px; background:#fff; border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:14px; box-shadow:0 4px 16px rgba(2,20,35,.06); font-size:14px; }
.olv-measure p { margin:0; }
.olv-mrow { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.olv-checks input[type=checkbox] { width:17px; height:17px; margin:0; accent-color:var(--navy); }
.olv-mrow input[type=number] { width:90px; height:36px; border:1.5px solid var(--line); border-radius:10px; padding:0 10px; font:inherit; }
.olv-chip { height:32px; padding:0 12px; border-radius:999px; border:1px solid var(--line); background:#fff; font-size:13px; }

/* step 1 */
.olv-seg { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:4px; background:var(--paper); border-radius:12px; margin-bottom:12px; }
.olv-seg button { display:grid; gap:1px; padding:8px 10px; border:0; border-radius:9px; background:none; font-weight:600; font-size:14px; text-align:left; }
.olv-seg button small { font-weight:400; font-size:12px; color:var(--muted); }
.olv-seg button.is-on { background:#fff; box-shadow:0 1px 3px rgba(2,20,35,.15); }
.olv-chips { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.olv-chips button { height:32px; padding:0 14px; border-radius:999px; border:1px solid var(--line); background:#fff; font-size:13.5px; font-weight:500; }
.olv-chips button.is-on { background:var(--navy); border-color:var(--navy); color:#fff; }
.olv-search { width:100%; height:40px; border:1px solid var(--line); border-radius:10px; padding:0 12px; font:inherit; font-size:14px; margin-bottom:10px; background:#fff; }
.olv-list { display:grid; gap:6px; max-height:300px; overflow:auto; padding-right:4px; overscroll-behavior:contain; }
.olv-item { display:flex; align-items:center; gap:10px; width:100%; min-width:0; padding:6px; border:1px solid transparent; border-radius:10px; background:none; text-align:left; white-space:normal; color:var(--navy); text-transform:none; letter-spacing:0; }
.olv-item-t { min-width:0; overflow-wrap:anywhere; }
.olv button { text-transform:none; letter-spacing:normal; }
.olv-item:hover { background:#f6f4ef; }
.olv-item.is-on { border-color:var(--gold2); background:#fffaf0; }
.olv-item img, .olv-noimg { width:46px; height:46px; border-radius:8px; object-fit:cover; background:var(--paper); flex:none; }
.olv-item-t { display:grid; font-size:14px; font-weight:500; line-height:1.3; }
.olv-item-t small { font-size:12px; color:var(--muted); font-weight:400; }

/* step 2 */
.olv-dhead { display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:10px; }
.olv-dhead h3 { margin:0; font:400 24px/1.15 "Instrument Serif", Georgia, serif; }
.olv-lbl { display:grid; gap:6px; font-size:13px; font-weight:600; margin-bottom:12px; }
.olv-lbl b { font-weight:500; color:var(--muted); }
.olv-select { width:100%; min-width:0; height:42px; border:1px solid var(--line); border-radius:10px; padding:0 10px; font:inherit; font-size:14px; background:#fff; color:var(--navy); }
.olv-swatches { display:grid; grid-template-columns:repeat(auto-fill,minmax(38px,1fr)); gap:6px; }
.olv-sw { aspect-ratio:1; padding:0; border:2px solid transparent; border-radius:9px; overflow:hidden; background:none; }
.olv-sw img { width:100%; height:100%; object-fit:cover; display:block; }
.olv-sw.is-on { border-color:var(--navy); box-shadow:0 0 0 2px var(--gold); }
.olv-meta { font-size:12.5px; color:var(--muted); margin:-4px 0 10px; }
.olv-mvwrap { margin-bottom:12px; }
.olv-mv { position:relative; height:280px; border-radius:12px; background:radial-gradient(ellipse at 50% 35%,#fff 0%,#eeebe4 70%); overflow:hidden; }
.olv-mv model-viewer { width:100%; height:100%; --poster-color:transparent; }
.olv-mv-load { position:absolute; inset:0; display:grid; place-items:center; font-size:13px; color:var(--muted); pointer-events:none; opacity:0; transition:opacity .2s; }
.olv-mv.is-loading .olv-mv-load { opacity:1; }
.olv-mv.is-loading model-viewer { opacity:.35; }
.olv-actions { display:grid; gap:8px; }
/* AR button sits inside the 3D preview (model-viewer's ar-button slot); model-viewer shows it only when AR is available */
.olv-mv .olv-ar { position:absolute; left:12px; right:12px; bottom:12px; width:auto; box-shadow:0 6px 18px rgba(2,20,35,.25); }
.olv-arnote { margin:8px 2px 0; font-size:12.5px; color:var(--muted); line-height:1.45; }
.olv-hero-ctas { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }

/* design-my-kitchen form + run controls */
.olv-dgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px 12px; }
.olv-dgrid label { display:grid; gap:4px; font-size:13px; font-weight:600; }
.olv-dgrid select { height:36px; border:1.5px solid var(--line); border-radius:10px; padding:0 8px; font:inherit; font-size:14px; background:#fff; color:var(--navy); width:100%; }
.olv-checks { gap:6px 16px; }
.olv-checks .olv-chk { display:inline-flex; align-items:center; gap:7px; font-size:13.5px; }
.olv-tb-gold { background:var(--gold) !important; color:var(--navy) !important; font-weight:600 !important; }
.olv-tb-gold:hover { background:var(--gold2) !important; }
.olv-placed-head:not(:empty) { margin-bottom:10px; }

/* v2: 3D overlay, wall marking, kitchen editor */
.olv-gl { position:absolute; inset:0; width:100% !important; height:100% !important; pointer-events:none; }
.olv-wallfill { fill:rgba(242,190,75,.12); stroke:var(--gold); stroke-width:2; stroke-dasharray:7 5; }
.olv-ceil { stroke-dasharray:8 6; }
.olv-svgt { fill:#fff; font:600 12px system-ui, sans-serif; text-anchor:middle; paint-order:stroke; stroke:rgba(2,20,35,.75); stroke-width:3px; }
.olv-stage { cursor:grab; }
.olv-kit { display:grid; gap:12px; }
.olv-kit .olv-dgrid input[type=number] { width:100%; min-width:70px; height:36px; border:1.5px solid var(--line); border-radius:10px; padding:0 10px; font:inherit; font-size:14px; }
.olv-kit .olv-checks { gap:6px 16px; }
.olv-kit .olv-chk input, .olv-measure .olv-chk input { width:17px; height:17px; margin:0; accent-color:var(--navy); }
.olv-runmeta { font-size:13px; color:var(--muted); }
.olv-strip { display:grid; gap:4px; padding:10px; background:var(--paper); border-radius:12px; }
.olv-strip-row { position:relative; height:46px; }
.olv-strip-wall { height:30px; }
.olv-blk { position:absolute; top:0; bottom:0; display:grid; place-items:center; margin:0 1px; padding:0 2px; border:1.5px solid rgba(2,20,35,.25); border-radius:6px; background:#fff; font-size:11px; font-weight:600; color:var(--navy); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.olv-blk.is-wall { background:rgba(255,255,255,.6); border-style:dashed; font-weight:500; color:var(--muted); }
.olv-blk.is-sink { background:#e8f0f4; border-color:#7aa3b8; }
.olv-blk.is-tall { background:#f1ede4; }
.olv-blk.is-on { border-color:var(--gold2); box-shadow:0 0 0 2px var(--gold); z-index:1; }
button.olv-blk { cursor:pointer; }
.olv-sinkrow { font-size:13px; font-weight:600; }
.olv-chip:disabled { opacity:.45; cursor:default; }
.olv-chip-del { color:#a3261b; }
.olv-selbox { display:grid; gap:8px; padding:12px; border:1px solid var(--gold2); border-radius:12px; background:#fffaf0; }
.olv-selbox .olv-dhead h3 { font-size:20px; }
.olv-lbl input[type=range] { width:100%; accent-color:var(--gold2); }
.olv-arbtn:disabled { opacity:.7; }
.olv-card-kit .olv-mv { height:240px; }

/* v3: appliance spaces, Claude panel, design-link note */
.olv-blk.is-gap { background:repeating-linear-gradient(135deg,#f6f4ef 0 6px,#ebe7de 6px 12px); border-style:dashed; color:var(--muted); font-weight:500; }
.olv-design-note { margin-bottom:14px; padding:14px 16px; background:#fff; border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:14px; display:grid; gap:8px; font-size:14px; }
.olv-design-note p { margin:0; }
.olv-claude { margin-top:16px; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.olv-claude summary { display:flex; align-items:center; gap:10px; padding:14px 16px; cursor:pointer; font-weight:600; font-size:15px; list-style:none; }
.olv-claude summary::-webkit-details-marker { display:none; }
.olv-claude summary::after { content:"+"; margin-left:auto; font-size:20px; line-height:1; color:var(--muted); }
.olv-claude[open] summary::after { content:"−"; }
.olv-claude-badge { padding:3px 9px; border-radius:999px; background:var(--paper); font-size:11.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--navy2); }
.olv-claude-body { padding:0 16px 16px; font-size:14px; display:grid; gap:10px; }
.olv-claude-body p { margin:0; }
.olv-claude-body ol { margin:0; padding-left:20px; display:grid; gap:10px; }
.olv-claude-body a { color:var(--navy2); text-decoration-color:var(--gold); text-underline-offset:3px; }
.olv-copyrow { display:flex; gap:8px; align-items:flex-start; margin-top:6px; }
.olv-copyrow code { flex:1; min-width:0; padding:8px 10px; border-radius:10px; background:var(--paper); font:12.5px/1.45 ui-monospace, Menlo, Consolas, monospace; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--navy); }

/* step 3 */
.olv-placed { display:grid; gap:8px; }
.olv-pl { border:1px solid var(--line); border-radius:12px; padding:6px; }
.olv-pl.is-on { border-color:var(--gold2); background:#fffaf0; }
.olv-pl-main { display:flex; gap:10px; align-items:center; width:100%; border:0; background:none; text-align:left; padding:0; }
.olv-pl-main canvas { width:56px; height:56px; border-radius:8px; background:var(--paper); flex:none; }
.olv-pl-main span { display:grid; font-size:14px; line-height:1.3; }
.olv-pl-main small { color:var(--muted); font-size:12px; }
.olv-pl-act { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:6px 2px 2px 66px; }

/* v4: one linked designer */
.olv-hero { max-width:900px; }
.olv-howto { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:6px 18px; margin:0 0 12px; padding:0; list-style:none; counter-reset:olv; font-size:14px; color:#34414c; }
.olv-howto li { counter-increment:olv; display:flex; gap:8px; align-items:baseline; }
.olv-howto li::before { content:counter(olv); flex:none; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--navy); color:#fff; font-size:11px; font-weight:700; transform:translateY(-1px); }
.olv-howto b { color:var(--navy); }
.olv-helplinks { margin:0 0 12px; }
.olv-app { display:grid; grid-template-columns:minmax(260px,300px) minmax(0,1fr) minmax(280px,320px); gap:16px; align-items:start; }
.olv-col { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; min-width:0; }
.olv-col > *, .olv-seg button, .olv-layouts button, .olv-tabs button, .olv-viewseg button { min-width:0; }
.olv-seg button, .olv-layouts button, .olv-item, .olv-mode, .olv-pname { white-space:normal; }
.olv-colL, .olv-colR { position:sticky; top:calc(var(--olv-top,0px) + 12px); max-height:calc(100vh - var(--olv-top,0px) - 24px); overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:1px; }
.olv-pane.olv-card { padding:16px; }
.olv-pane .olv-h2 { margin-bottom:12px; }
.olv-x { margin-left:auto; width:30px; height:30px; border-radius:50%; border:1px solid var(--line); background:#fff; font-size:18px; line-height:1; }
.olv-tabs { display:none; }
.olv-design-note { margin-bottom:0; }

/* room bar */
.olv-roomrow { display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; }
.olv-roomrow + .olv-roomrow { margin-top:12px; }
.olv-layouts { display:flex; flex-wrap:wrap; gap:4px; padding:4px; background:var(--paper); border-radius:12px; flex:1 1 auto; }
.olv-layouts button { flex:1 1 0; min-width:84px; display:grid; justify-items:center; gap:2px; padding:8px 6px; border:0; border-radius:9px; background:none; font-size:12.5px; font-weight:600; }
.olv-layouts button svg { width:26px; height:26px; stroke-width:2.6; color:var(--muted); }
.olv-layouts button.is-on { background:#fff; box-shadow:0 1px 3px rgba(2,20,35,.15); }
.olv-layouts button.is-on svg { color:var(--gold2); }
.olv-lens { display:flex; flex-wrap:wrap; gap:8px 14px; }
.olv-len { display:grid; gap:3px; font-size:12px; font-weight:600; color:var(--muted); }
.olv-len.is-on { color:var(--navy); }
.olv-len input[type=number] { width:84px; height:36px; border:1.5px solid var(--line); border-radius:10px; padding:0 10px; font:inherit; font-size:14px; color:var(--navy); }
.olv-len i { font-style:normal; font-size:13px; font-weight:500; }
.olv-roomrow .olv-select { width:auto; height:36px; font-size:13.5px; }
.olv-checks .olv-chk { display:inline-flex; align-items:center; gap:7px; font-size:13.5px; }
.olv-chk input { width:17px; height:17px; margin:0; accent-color:var(--navy); }

/* view */
.olv-view { background:#fff; border:1px solid var(--line); border-radius:16px; padding:10px; display:grid; gap:10px; }
.olv-viewbar { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.olv-viewseg { display:flex; gap:4px; padding:4px; background:var(--paper); border-radius:11px; }
.olv-viewseg button { height:34px; padding:0 14px; border:0; border-radius:8px; background:none; font-size:13.5px; font-weight:600; }
.olv-viewseg button.is-on { background:#fff; box-shadow:0 1px 3px rgba(2,20,35,.15); }
.olv-3d { position:relative; height:clamp(360px,58vh,600px); border-radius:12px; overflow:hidden; background:#efebe4; }
.olv-cv3 { display:block; width:100% !important; height:100% !important; touch-action:none; cursor:grab; outline:none; }
.olv-cv3:active { cursor:grabbing; }
.olv-3dhint { position:absolute; left:10px; bottom:10px; margin:0; padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.85); font-size:12px; color:var(--muted); pointer-events:none; }
.olv-photobox .olv-stage { margin:0 auto; width:fit-content; max-width:100%; }
.olv-photobox .olv-photo { width:auto; max-width:100%; max-height:70vh; }

/* plan strips */
.olv-plan { display:grid; gap:8px; }
.olv-pwall { background:#fff; border:1px solid var(--line); border-radius:12px; padding:8px 10px 10px; }
.olv-pwall.is-active { border-color:var(--gold2); }
.olv-pname { display:flex; justify-content:space-between; gap:10px; width:100%; padding:0 0 6px; border:0; background:none; font-size:12.5px; color:var(--muted); text-align:left; }
.olv-pname b { color:var(--navy); font-size:13px; }
.olv-warn { color:#a3261b; font-weight:600; }
.olv-pwall .olv-strip { padding:6px; background:linear-gradient(90deg,var(--paper) var(--wall,100%),#f7d5cf var(--wall,100%)); }
.olv-pwall .olv-strip-row { height:40px; }
.olv-pwall .olv-strip-wall { height:24px; }
.olv-blk.is-corner { background:#efe6d2; }
.olv-blk.is-res { background:repeating-linear-gradient(135deg,#efe6d2 0 5px,#e4d8bf 5px 10px); border-style:dotted; color:var(--muted); }
.olv-blk.is-fill { opacity:.6; }

/* style + catalog */
.olv-cline { margin:0 0 8px; font-size:13.5px; color:var(--muted); }
.olv-cline b { color:var(--navy); }
.olv-mode { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; margin:-4px 0 10px; padding:8px 10px; border-radius:10px; background:var(--paper); font-size:13px; }
.olv-mode.is-swap { background:#fff4dc; border:1px solid var(--gold2); }
.olv-inline { width:auto !important; height:30px !important; padding:0 6px !important; font-size:13px !important; }
.olv-colL .olv-list { max-height:none; overflow:visible; }
.olv-item { position:relative; }
.olv-item-go { margin-left:auto; flex:none; padding:3px 10px; border-radius:999px; border:1px solid var(--line); font-size:12px; font-weight:600; color:var(--navy2); opacity:0; transition:opacity .12s; }
.olv-item:hover .olv-item-go, .olv-item:focus-visible .olv-item-go, .olv-item.is-on .olv-item-go { opacity:1; }
@media (hover:none) { .olv-item-go { opacity:1; } }
@keyframes olvflash { 0% { box-shadow:0 0 0 3px var(--gold); } 100% { box-shadow:0 0 0 0 rgba(242,190,75,0); } }
.olv-list.is-flash { animation:olvflash 1.2s ease-out; border-radius:10px; }

/* selected + actions */
.olv-sub { display:block; margin-top:2px; font-size:12.5px; color:var(--muted); }
.olv-selbox { gap:10px; grid-template-columns:minmax(0,1fr); min-width:0; }
.olv-selbox > *, .olv-pane > * { min-width:0; max-width:100%; }
.olv-colL, .olv-colR { overflow-x:hidden; }
.olv-pane .olv-select { max-width:100%; min-width:0; }
.olv .olv-btn { white-space:normal; text-align:center; line-height:1.2; }
.olv-dhead > div { min-width:0; }
.olv-dhead .olv-link { flex:none; }
.olv-fx { display:grid; gap:8px; padding:10px; border-radius:10px; background:#fff; border:1px solid var(--line); }
.olv-fx b { font-size:13px; }
.olv-fx .olv-mrow { gap:6px; }
.olv-chip.is-on { background:var(--navy); border-color:var(--navy); color:#fff; }
.olv-selbox .olv-dhead { align-items:flex-start; }
.olv-sum { margin:0 0 8px; font-size:13.5px; font-weight:600; }
.olv-wlist { margin:0 0 10px; padding:0; list-style:none; display:grid; gap:4px; font-size:13px; color:var(--muted); }
.olv-wlist b { color:var(--navy); }
.olv-wlist .is-warn { color:#a3261b; }
.olv-pane .olv-sinkrow { margin-bottom:8px; }
.olv-actions-bar { display:grid; gap:8px; }
.olv-actions-bar .olv-btn { min-height:44px; }

/* Claude helper */
.olv-claude { margin-top:20px; }
.olv-csteps { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.olv-cstep { display:flex; gap:10px; align-items:flex-start; padding:12px; border-radius:12px; background:var(--paper); }
.olv-cstep p { margin:0 0 8px; }
.olv-cstep .olv-step { flex:none; }
.olv-cstep .olv-btn { min-height:36px; }

/* tablet + phone: 3D view in the page flow (not pinned), tabbed panels, bottom action bar */
@media (max-width:1099px) {
  .olv { padding-bottom:110px; }
  .olv-howto { grid-template-columns:1fr 1fr; font-size:13px; }
  .olv-app { display:flex; flex-direction:column; align-items:stretch; gap:10px; }
  .olv-col { display:contents; }
  .olv-colL, .olv-colR { position:static; max-height:none; overflow:visible; }
  .olv-design-note { order:0; }
  .olv-view { order:1; position:relative; z-index:1; padding:6px; border-radius:14px; box-shadow:0 6px 18px rgba(2,20,35,.08); }
  .olv-3d { height:clamp(230px,40vh,460px); }
  .olv-photobox .olv-photo { max-height:44vh; }
  .olv-viewseg button { height:30px; padding:0 10px; font-size:13px; }
  .olv-viewbar .olv-tb span { display:none; }
  .olv-plan { order:2; }
  .olv-tabs { order:3; display:grid; grid-template-columns:repeat(4,1fr); gap:4px; padding:4px; background:var(--paper); border-radius:12px; }
  .olv-tabs button { position:relative; height:40px; border:0; border-radius:9px; background:none; font-size:13.5px; font-weight:600; }
  .olv-tabs button.is-on { background:#fff; box-shadow:0 1px 3px rgba(2,20,35,.15); }
  .olv-dot { position:absolute; top:7px; right:10px; width:7px; height:7px; border-radius:50%; background:var(--gold2); }
  .olv-pane { order:4; }
  .olv-app[data-tab=room] .olv-pane:not([data-pane=room]),
  .olv-app[data-tab=style] .olv-pane:not([data-pane=style]),
  .olv-app[data-tab=cat] .olv-pane:not([data-pane=cat]),
  .olv-app[data-tab=sel] .olv-pane:not([data-pane=sel]) { display:none; }
  .olv-colL .olv-list { max-height:none; }
  .olv-actions-bar { order:5; position:fixed; left:0; right:0; bottom:0; z-index:50; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px 12px calc(10px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.96); backdrop-filter:blur(8px); border-top:1px solid var(--line); box-shadow:0 -6px 18px rgba(2,20,35,.08); }
  .olv-actions-bar.has-ar { grid-template-columns:1.4fr 1fr 1fr; }
  body:has(#ea11y-root) .olv-actions-bar { padding-right:74px; }
  .olv-actions-bar .olv-btn { min-height:44px; padding:0 10px; font-size:13.5px; gap:6px; }
  .olv-layouts button { min-width:64px; }
  .olv-claude { order:6; }
  .olv-status { bottom:calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width:560px) {
  .olv-howto { grid-template-columns:1fr; }
  .olv-hero h1 { font-size:34px; }
  .olv-privacy { border-radius:12px; align-items:flex-start; }
  .olv-actions-bar:not(.has-ar) .olv-btn span, .olv-actions-bar .olv-btn { white-space:nowrap; }
}

/* status toast */
.olv-status { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); background:var(--navy); color:#fff; padding:10px 18px; border-radius:14px; font-size:14px; line-height:1.4; opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; z-index:9999; width:max-content; max-width:min(560px, calc(100vw - 32px)); text-align:center; box-shadow:0 8px 24px rgba(2,20,35,.25); }
.olv-status.is-on { opacity:1; transform:translate(-50%,0); }
