/* LG HouseTwin — 화면 스타일
   방향: LG 쇼룸처럼 따뜻한 회색(Warm Grey) 바탕에 흰 판, 넉넉한 여백. 색은 판정·시뮬레이션 의미에만 쓰고
   LG 레드(Heritage Red)는 주 버튼과 "지금 고른 것"에만. Active Red는 작은 점 하나 정도로만.
   색 출처: lg.com/global/our-identity/color (Heritage Red #A50034, Active Red #FD312E, Warm Grey #F0ECE4) */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("vendor/fonts/PretendardVariable.woff2") format("woff2-variations");
}
:root {
  --warm-grey: #f0ece4;
  --concrete: var(--warm-grey);
  --sheet: #ffffff;
  --drafting: #f7f5f1;
  --grid: #e6e0d6;
  --ink: #1d1c1a;
  --graphite: #6b655d;
  --line: #e3ded5;
  --line-soft: #eeeae3;
  --lg: #a50034;
  --lg-active: #fd312e;
  --lg-deep: #860029;
  --lg-soft: #f8e8ec;

  --fit: #1e7a4f;
  --fit-bg: #e2f2e8;
  --cond: #9a6400;
  --cond-bg: #fbefd6;
  --nofit: #b3261e;
  --nofit-bg: #fbe3e1;
  --unk: #5b6370;
  --unk-bg: #eceef1;
  --sun: #f2a900;
  --wifi: #2a6fb0;
  --route: #4b45b0;

  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --t-xs: 12px;
  --t-sm: 13px;
  --t-md: 14px;
  --t-lg: 16px;
  --t-xl: 20px;
  --t-hero: clamp(40px, 4.4vw + 8px, 76px);

  --r-sheet: 20px;
  --r-ctl: 12px;
  --shadow-sheet: 0 1px 2px rgba(60, 48, 30, .05), 0 8px 24px -16px rgba(60, 48, 30, .18);
  --shadow-float: 0 1px 2px rgba(60, 48, 30, .08), 0 24px 48px -20px rgba(60, 48, 30, .32);
  --glass: rgba(255, 255, 255, .72);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  background: var(--warm-grey);
  color: var(--ink);
  font-size: var(--t-md);
  line-height: 1.55;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; }
img { max-width: 100%; }
h1 { font-size: var(--t-xl); line-height: 1.3; margin: 0; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
h2 { font-size: var(--t-lg); line-height: 1.35; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: var(--t-sm); margin: 0 0 8px; font-weight: 600; }
h3 .muted { font-weight: 400; }
.gap { margin-top: 18px; }
.sub { color: var(--graphite); margin: 4px 0 18px; font-size: var(--t-sm); }
.muted { color: var(--graphite); }
.mono { font-variant-numeric: tabular-nums; }
.spacer { flex: 1; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
:focus-visible { outline: 2px solid var(--lg); outline-offset: 2px; }
p { text-wrap: pretty; }

/* ---------- 상단 바: 유리 막대 ---------- */
.top {
  display: flex; align-items: center; gap: 20px;
  height: var(--topbar); padding: 0 24px; padding-top: env(safe-area-inset-top);
  background: var(--glass); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
  border-bottom: 1px solid rgba(29, 28, 26, .06);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; white-space: nowrap; letter-spacing: -.03em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(29, 28, 26, .06); }
.brand .wm { font-weight: 700; }
.brand .wm b { color: var(--lg); font-weight: 800; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--lg); background: var(--lg-soft); padding: 1px 7px; border-radius: 999px; }
.install-wrap { position: relative; }
.install { background: var(--sheet); color: var(--ink); border-color: var(--line); padding: 8px 16px; font-size: var(--t-sm); }
.install:hover { background: var(--sheet); border-color: var(--ink); }
.install-tip {
  position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 12px 14px;
  background: var(--sheet); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-float); font-size: var(--t-sm);
}
main { padding: 28px 24px 48px; max-width: 1280px; margin: 0 auto; }
body[data-route="c"] main { max-width: none; padding: 0; }
/* 첫 화면은 상단 바가 사진 위에 뜬다 */
body[data-route="home"] .top { position: fixed; left: 0; right: 0; background: rgba(255, 255, 255, .55); border-bottom-color: rgba(255, 255, 255, .5); }
body[data-route="home"] main { max-width: none; padding: 0; }

/* ---------- 컨트롤 ---------- */
label { display: block; font-size: var(--t-xs); color: var(--graphite); margin: 10px 0 4px; }
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl);
  font: inherit; background: var(--sheet); color: var(--ink);
}
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29, 28, 26, .07); }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; letter-spacing: -.01em; cursor: pointer; text-decoration: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease), transform .12s var(--ease);
}
button:hover, .btn:hover { background: #34322f; }
button:active, .btn:active { transform: scale(.97); }
button.primary { background: var(--lg); border-color: var(--lg); box-shadow: 0 8px 20px -10px rgba(165, 0, 52, .7); }
button.primary:hover { background: var(--lg-deep); border-color: var(--lg-deep); }
button.lg, .btn.lg { padding: 15px 28px; font-size: var(--t-lg); font-weight: 700; }
button.ghost, .btn.ghost { background: var(--sheet); color: var(--ink); border-color: var(--line); }
button.ghost:hover, .btn.ghost:hover { border-color: var(--ink); background: var(--sheet); }
button.danger { background: var(--sheet); color: var(--nofit); border-color: #efc4c0; }
button.danger:hover { background: var(--nofit-bg); }
button.small, .btn.small { padding: 5px 12px; font-size: var(--t-xs); }
button:disabled { opacity: .5; cursor: default; transform: none; }
a.quiet { color: var(--graphite); font-size: var(--t-sm); text-decoration: none; border-bottom: 1px solid var(--line); }
a.quiet:hover { color: var(--ink); border-color: var(--ink); }
kbd { font: 500 11px/1 var(--font); padding: 3px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--sheet); }

/* 세그먼트 버튼 (보기·도구·살아 보기) */
.seg { display: inline-flex; align-items: center; padding: 4px; gap: 2px; background: var(--drafting); border: 1px solid var(--line-soft); border-radius: 999px; }
.seg button { background: transparent; color: var(--graphite); border: 0; padding: 6px 13px; font-size: var(--t-sm); font-weight: 500; border-radius: 999px; white-space: nowrap; }
.seg button:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.seg button.on { background: var(--sheet); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(60, 48, 30, .12), 0 2px 8px -4px rgba(60, 48, 30, .2); }
.seg-label { font-size: var(--t-xs); color: var(--graphite); padding: 0 6px 0 8px; }
.tabs { display: inline-flex; gap: 2px; padding: 4px; background: var(--drafting); border: 1px solid var(--line-soft); border-radius: 999px; }
.tabs button { background: transparent; color: var(--graphite); border: 0; padding: 5px 12px; font-size: var(--t-xs); border-radius: 999px; }
.tabs button.on { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(60, 48, 30, .12); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 12px; font-size: var(--t-xs); font-weight: 500; border-radius: 999px; background: var(--sheet); color: var(--graphite); border: 1px solid var(--line); font-weight: 400; }
.chip:hover { color: var(--ink); border-color: var(--ink); background: var(--sheet); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 공통 블록 ---------- */
.panel { background: var(--sheet); border-radius: var(--r-sheet); padding: 22px; box-shadow: var(--shadow-sheet); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: 340px minmax(0, 1fr) 420px; gap: 16px; align-items: start; }
@media (max-width: 1200px) { .grid3 { grid-template-columns: 1fr 1fr; } .grid3 > :last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
th { color: var(--graphite); font-weight: 500; font-size: var(--t-xs); }
td input { padding: 4px 6px; width: 84px; }
.table-scroll { overflow-x: auto; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 8px; align-items: center; }
.list li:last-child { border-bottom: 0; }
.notice { background: var(--cond-bg); color: #5c3c00; border-radius: 8px; padding: 8px 10px; font-size: var(--t-xs); margin-bottom: 10px; }
.empty { color: var(--graphite); text-align: center; padding: 24px 0; }
.hint-sm { color: var(--graphite); font-size: var(--t-xs); margin: 0 0 10px; }
.drop { border: 1.5px dashed #cfc7bb; border-radius: 16px; padding: 24px; text-align: center; color: var(--graphite); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop:hover, .drop.over { border-color: var(--lg); color: var(--lg); background: #fdf5f7; }
.floorplan { display: block; width: 100%; max-height: 420px; object-fit: contain; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
details.panel > summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
details.panel > summary::-webkit-details-marker { display: none; }
#toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-float); font-weight: 500;
  opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; max-width: min(420px, calc(100vw - 32px)); z-index: 40;
}
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#toast.err { background: var(--nofit); }

/* 판정 배지 */
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; white-space: nowrap; line-height: 1.6; }
.badge.fit { color: var(--fit); background: var(--fit-bg); }
.badge.conditional { color: var(--cond); background: var(--cond-bg); }
.badge.no_fit { color: var(--nofit); background: var(--nofit-bg); }
.badge.unknown { color: var(--unk); background: var(--unk-bg); }
.badge.demo { color: #6a4c00; background: #fff1c2; border: 1px dashed #d8b23f; font-weight: 500; }
.badge.src { color: var(--graphite); background: var(--concrete); font-weight: 500; }

/* 추천 카드 */
.cards { display: grid; gap: 10px; margin-top: 10px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--sheet); }
.card .head { display: flex; gap: 8px; align-items: flex-start; }
.card .name { font-weight: 600; }
.card .cat { font-size: var(--t-xs); color: var(--graphite); }
.dims { margin-top: 8px; font-size: var(--t-xs); }
.dims td, .dims th { padding: 3px 2px; }
.reason { font-size: var(--t-xs); color: var(--graphite); margin-top: 6px; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 3px; font-size: var(--t-xs); }
.swatch i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); display: inline-block; }
button.swatch { background: var(--sheet); color: var(--ink); font-weight: 400; }
button.swatch:hover { border-color: var(--ink); background: var(--sheet); }
button.swatch.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
button.sw { width: 30px; height: 30px; padding: 0; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .14); }
button.sw:hover { transform: translateY(-1px); }
button.sw.on { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 4px var(--ink); }
.palette { display: flex; gap: 4px; }
.palette i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .1); }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; display: inline-block; }
/* 설치 전 확인 목록 */
.ic-sum { font-weight: 600; margin: 0 0 10px; }
.ic-list, .ic-checks { list-style: none; margin: 0; padding: 0; }
.ic-item { padding: 12px 0; border-top: 1px solid var(--line, #e5e1da); }
.ic-item:first-child { border-top: 0; padding-top: 0; }
.ic-head { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.ic-dims { font-size: var(--t-xs); margin: 2px 0 8px; }
.ic-checks li { display: grid; grid-template-columns: 5.2em 1fr; gap: 8px; align-items: baseline; padding: 3px 0; font-size: var(--t-sm); }
.ic-checks .badge { text-align: center; }
.ic-checks em { font-style: normal; font-size: var(--t-xs); }
.ic-fold > summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.ic-fold > div { padding-top: 8px; }
.ir-box form label { display: block; margin-top: 8px; font-size: var(--t-xs); }
.ir-box form input { width: 100%; }
.ir-box[hidden], .ir-box [hidden], .before-pane[hidden], .ic-fold[hidden] { display: none !important; }
#beforeBtn { top: 52px; }
#beforeBtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); z-index: 6; }
.before-pane { position: absolute; inset: 0; z-index: 5; }
.before-pane .viewer { height: 100%; border-radius: 0; }
.before-tag { position: absolute; z-index: 4; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(29, 28, 26, .78); color: #fff; font-size: var(--t-xs); pointer-events: none; }
.minimap #beforeBtn, .minimap .before-pane, .studio[data-view="plan"] #beforeBtn { display: none; }
.furn-btn:disabled { opacity: .4; cursor: default; }
.reasons { list-style: none; margin: 0; padding: 0; font-size: var(--t-sm); }
.reasons li { padding: 4px 0; display: flex; gap: 8px; align-items: baseline; }

/* ---------- 3D 뷰어 ---------- */
.viewer { position: relative; height: 460px; border-radius: 16px; overflow: hidden; background: #e9e4dc; }
.viewer canvas { display: block; }
.viewer .hud { position: absolute; left: 12px; bottom: 12px; font-size: var(--t-xs); color: var(--graphite); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 4px 12px; border-radius: 999px; pointer-events: none; }

/* ---------- 평면도 ---------- */
.plan { display: block; width: 100%; height: 360px; background: var(--drafting); border-radius: 16px; touch-action: none; user-select: none; }
.plan .grid line { stroke: var(--grid); }
.plan .scale path { fill: none; stroke: var(--ink); }
.plan .scale text { fill: var(--ink); font-weight: 600; }
.plan .wall { stroke: var(--ink); stroke-linecap: square; }
.plan .wall.measured { stroke: var(--fit); }
.plan .wall.sel { stroke: var(--lg); }
.plan .floor { fill: #fdfbf8; stroke: none; }
.plan .door, .plan .window { stroke: #fdfbf8; stroke-linecap: butt; }
.plan .glass { stroke: #8fa9b8; stroke-width: 1.5px; vector-effect: non-scaling-stroke; pointer-events: none; }
.plan .swing { fill: none; stroke: #a39a8d; stroke-width: 1px; vector-effect: non-scaling-stroke; pointer-events: none; }
/* 가구 기호: 흰 바탕에 가는 선, 쿠션·상판 같은 덩어리만 살짝 진하게 */
.plan .sym { pointer-events: none; }
.plan .sym :is(rect, circle), .plan .placed .sym :is(rect, circle) { fill: #fff; stroke: #8f867a; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan .sym .soft, .plan .placed .sym .soft { fill: #efe9df; }
.plan .sym .ln, .plan .placed .sym .ln { fill: none; stroke: #b3aa9c; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan .sym .dash { stroke-dasharray: 4 3; }
.plan .sym.sel :is(rect, circle) { stroke: var(--lg); }
.plan .obj.has-sym { fill: transparent; stroke: none; }
.plan .obj.has-sym:hover { fill: rgba(60, 48, 30, .06); }
.plan .placed.furn > rect { fill: transparent; stroke: transparent; }
.plan .placed.furn.v-no_fit > rect { stroke: var(--nofit); }
.plan .placed.furn.sel > rect { stroke: var(--lg); }
.plan .placed.built rect { fill: var(--ink); stroke: var(--ink); }
.plan .placed.built.sel rect { fill: var(--lg); stroke: var(--lg); }
.plan .obj { fill: #e4ded4; stroke: #b0a798; cursor: pointer; }
.plan .obj:hover { fill: #d9d1c4; }
.plan .obj.gone { fill: none; stroke-dasharray: .06 .04; opacity: .45; }
.plan .obj.sel { stroke: var(--lg); }
.plan .zone { fill-opacity: .12; }
.plan .zone.kitchen { fill: var(--lg); stroke: var(--lg); }
.plan .zone.living { fill: var(--wifi); stroke: var(--wifi); }
.plan .zone.other { fill: #5d8a3a; stroke: #5d8a3a; }
.plan .draft { fill: var(--lg); fill-opacity: .1; stroke: var(--lg); stroke-dasharray: 4 3; }
.plan text { font-size: 11px; fill: #4a463f; font-family: var(--font); }
.plan .placed { cursor: grab; }
.plan .placed rect { stroke: var(--fit); }
.plan .placed.v-conditional rect { stroke: var(--cond); }
.plan .placed.v-no_fit rect { stroke: var(--nofit); }
.plan .placed.v-unknown rect { stroke: var(--unk); }
.plan .placed .front { stroke: var(--ink); stroke-linecap: round; }
.plan .placed.sel rect { stroke: var(--lg); }
.plan .placed.under > rect { fill: none; stroke-dasharray: .06 .04; }
.plan .placed.under > rect.counter { fill: #fff; stroke: #8f867a; stroke-width: 1px; stroke-dasharray: none; vector-effect: non-scaling-stroke; }
.plan .placed.dragging { opacity: .35; }
.plan .placed.ghost { opacity: .75; pointer-events: none; }
.plan .placed.ghost rect { stroke-dasharray: .08 .05; }
.plan #overlay { pointer-events: none; }
.plan .sunpatch { fill: #ffd54a; fill-opacity: .55; stroke: #e0a800; }
.plan .compass circle { fill: #fff; stroke: var(--ink); }
.plan .compass path { fill: var(--lg); }
.plan .router-sym rect { fill: var(--ink); }
.plan .router-sym path { stroke: var(--ink); }
.plan .route { fill: none; stroke: var(--route); stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .85; }
.plan .narrow { fill: none; stroke: var(--nofit); stroke-opacity: .9; }
.plan .tag rect { fill: var(--ink); fill-opacity: .82; }
.plan .tag text { fill: #fff; font-weight: 600; }

/* ---------- 첫 화면: 실사 렌더 위에 카피 ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; animation: hero-in 1.6s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.04); opacity: .4; } to { transform: none; opacity: 1; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(240, 236, 228, .95) 0%, rgba(240, 236, 228, .82) 32%, rgba(240, 236, 228, 0) 58%),
    linear-gradient(0deg, rgba(240, 236, 228, .9) 0%, rgba(240, 236, 228, 0) 26%);
}
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 48px; width: 100%; max-width: 1360px; margin: 0 auto; padding: calc(var(--topbar) + 56px) 56px 40px; }
.hero-copy { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: var(--t-sm); font-weight: 500; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--lg-active); box-shadow: 0 0 0 4px rgba(253, 49, 46, .16); }
.hero h1 { font-size: var(--t-hero); line-height: 1.12; letter-spacing: -.045em; font-weight: 750; margin: 0 0 22px; }
.lede { font-size: 18px; color: #4f4a43; max-width: 33em; margin: 0 0 34px; line-height: 1.7; }
.recent { max-width: 1360px; margin: 0 auto; padding: 40px 56px 64px; }
.recent h2 { font-size: var(--t-xl); margin-bottom: 14px; }
.recent .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.recent .list li { padding: 0; border: 0; }
.recent .list li.muted { padding: 4px 0; }
@media (max-width: 760px) {
  /* 휴대폰: 카피 → 렌더 사진 → 단계·올리기 순서로 흐른다 */
  .hero { min-height: auto; padding-top: calc(var(--topbar) + 24px); }
  .hero::before { display: none; }
  .hero-inner { display: contents; }
  .hero-copy { order: 0; padding: 0 16px; }
  .hero-bg { order: 1; position: relative; inset: auto; z-index: 0; margin: 16px 16px 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-sheet); }
  .hero-bg img { object-position: 50% 40%; }
  .eyebrow { font-size: var(--t-xs); margin-bottom: 16px; }
  .hero h1 { margin-bottom: 14px; }
  .lede { font-size: var(--t-md); margin-bottom: 22px; }
  .recent { padding: 24px 16px 48px; }
}

/* ---------- 리모델링 작업대 ---------- */
.studio {
  display: grid; gap: 14px; padding: 14px 16px 16px;
  grid-template-columns: 300px minmax(0, 1fr) 340px;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "head head head" "lib stage side";
  height: calc(100dvh - var(--topbar));
}
.studio > * { min-width: 0; min-height: 0; }
.studio-head { grid-area: head; display: flex; align-items: center; gap: 16px; padding: 2px 4px 0; }
.studio-title { flex: 1; min-width: 0; }
.studio-title .sub { margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lib, .side, .stage { background: var(--sheet); border-radius: var(--r-sheet); box-shadow: var(--shadow-sheet); }
/* 왼쪽 제품 목록: 세로로 내려 보는 카드 (위 타일 = 제품 사진 자리) */
.lib { grid-area: lib; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; padding: 16px 14px 12px; }
.lib-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lib-head { display: flex; align-items: baseline; justify-content: space-between; }
.lib-head h2 { margin: 0; }
.lib-head .muted { font-size: var(--t-xs); }
.lib #q { padding: 8px 12px; border-radius: 999px; font-size: var(--t-sm); background: var(--drafting); }
.lib .chips { gap: 4px; }
.lib #lib { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; margin: 0 -6px; padding: 2px 6px 6px; scrollbar-width: thin; }
.lib .prod { cursor: pointer; display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 0;
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 6px 6px 8px; background: var(--sheet);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.lib .prod + .prod { margin-top: 0; }
.lib .prod:hover { border-color: var(--line); box-shadow: var(--shadow-sheet); background: var(--sheet); }
.lib .prod.armed { border-color: var(--lg); box-shadow: 0 0 0 1px var(--lg), 0 10px 24px -14px rgba(165, 0, 52, .6); background: var(--sheet); }
.lib .prod.nosize { opacity: .5; cursor: not-allowed; }
.lib .prod .dot.tile { width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .06); display: flex; align-items: flex-end; padding: 5px 6px; background-size: cover; background-position: center; box-shadow: inset 0 -24px 24px -18px rgba(0, 0, 0, .12); }
.lib .prod .dot.tile span { font-size: 10px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .85); padding: 1px 6px; border-radius: 999px; }
.lib .prod .body { min-width: 0; padding: 0 2px; }
.lib .name { font-weight: 600; font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lib .cat { font-size: 11px; color: var(--graphite); margin-top: 2px; }
.lib .variants { gap: 3px; }
.lib .vlabel { display: block; margin: 3px 0 0; font-size: 11px; }
.lib #lib > li.muted { grid-column: 1 / -1; padding: 12px; }


.stage { grid-area: stage; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.canvas { position: relative; flex: 1; min-height: 0; background: var(--drafting); }
.pane { position: absolute; overflow: hidden; transition: inset .25s var(--ease), width .25s var(--ease), height .25s var(--ease); }
.pane .plan { height: 100%; border-radius: 0; }
.pane .viewer { height: 100%; border-radius: 0; }
/* 큰 화면 하나 + 작은 창(PIP) */
.studio[data-view="plan"] .plan-pane,
.studio[data-view="3d"] .view-pane { inset: 0; z-index: 1; }
/* 작은 쪽은 오른쪽 패널 아래 미니맵 칸으로 옮긴다 (가운데 화면을 가리지 않게) */
.minimap { --mini-h: 200px; flex: none; margin-top: auto; position: relative; height: var(--mini-h); border-top: 1px solid var(--line-soft); background: var(--drafting); border-radius: 0 0 var(--r-sheet) var(--r-sheet); overflow: hidden; }
.minimap[hidden] { display: none; }
.minimap .pane { position: absolute; inset: 0; }
.minimap .plan-pane .plan { background: var(--drafting); }
.minimap .render-btn, .minimap .hud { display: none; }
.studio[data-view="split"] .plan-pane { inset: 0 50% 0 0; border-right: 1px solid var(--line); }
.studio[data-view="split"] .view-pane { inset: 0 0 0 50%; }
.pip-swap { position: absolute; top: 10px; right: 10px; z-index: 3; display: none; padding: 5px 12px; font-size: var(--t-xs); background: rgba(29, 28, 26, .78); border-color: transparent; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.minimap .pip-swap { display: inline-flex; }
/* 1인칭 둘러보기: 회전 안내는 숨긴다 (미니맵 평면은 어디쯤 걷는지 보라고 남긴다) */
.studio.walking .viewer .hud { display: none; }
#walk.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.render-btn { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 7px 14px; font-size: var(--t-xs); background: rgba(255, 255, 255, .8); color: var(--ink); border-color: rgba(29, 28, 26, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sheet); }
.render-btn:hover { background: #fff; border-color: var(--ink); }
.studio[data-view="plan"] .render-btn { display: none; }
.render-shot { position: absolute; inset: 14px; z-index: 5; margin: 0; background: var(--sheet); border-radius: 12px; box-shadow: var(--shadow-float); padding: 10px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.render-shot[hidden] { display: none; }
.render-shot img { flex: 1; min-height: 0; width: 100%; object-fit: contain; border-radius: 8px; }
.hint { margin: 0; padding: 7px 14px; font-size: var(--t-xs); color: var(--graphite); border-top: 1px solid var(--line-soft); }
.hint b { color: var(--lg); }
.hint a { color: var(--ink); }

/* 살아 보기 결과 시트 */
.sheet { border-top: 1px solid var(--line); padding: 12px 14px 14px; max-height: 42%; overflow-y: auto; font-size: var(--t-sm); background: var(--sheet); }
.sheet:empty { display: none; }
.sheet .row:first-child { margin-top: 0 !important; }
.simgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.simgrid label { margin: 0; }
.simgrid input[type=range] { padding: 0; border: 0; accent-color: var(--ink); }
.sheet .notice { margin: 0; }

/* 오른쪽 패널 */
.side { grid-area: side; display: flex; flex-direction: column; overflow: hidden; }
.side-tabs { display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; flex: none; }
.side-tabs::-webkit-scrollbar { display: none; }
.side-tabs button {
  background: none; border: 0; color: var(--graphite); padding: 8px 8px 10px; border-radius: 0; font-size: var(--t-sm); white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}
.side-tabs button:hover { background: none; color: var(--ink); }
.side-tabs button.on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--lg); }
.side-tabs .count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; font-size: 11px; line-height: 18px; text-align: center; background: var(--concrete); border-radius: 999px; font-weight: 600; }
.side-body { flex: 1; overflow-y: auto; padding: 16px; }
.side-body > [data-panel] { display: none; }
.studio[data-tab="sel"] [data-panel="sel"], .studio[data-tab="list"] [data-panel="list"],
.studio[data-tab="finish"] [data-panel="finish"], .studio[data-tab="zones"] [data-panel="zones"],
.studio[data-tab="extra"] [data-panel="extra"] { display: block; }
.m-only { display: none; }
.side select { margin-top: 4px; }
#pls li { cursor: pointer; padding: 10px 8px; margin: 0 -8px; border-radius: 8px; border-bottom: 0; }
#pls li:hover { background: var(--drafting); }
#pls li.on { background: var(--lg-soft); }

/* 선택 패널 */
.verdict-strip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -16px -16px 14px; padding: 9px 16px; font-size: var(--t-sm); font-weight: 600; }
.verdict-strip em { font-style: normal; font-weight: 400; font-size: var(--t-xs); opacity: .85; }
.verdict-strip.v-fit { background: var(--fit-bg); color: var(--fit); }
.verdict-strip.v-conditional { background: var(--cond-bg); color: var(--cond); }
.verdict-strip.v-no_fit { background: var(--nofit-bg); color: var(--nofit); }
.verdict-strip.v-unknown, .verdict-strip.v-object { background: var(--unk-bg); color: var(--unk); }
.insp-name { font-size: var(--t-xl); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 4px; }
.insp-meta { color: var(--graphite); font-size: var(--t-xs); margin: 0 0 14px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ok-line { color: var(--fit); margin: 0 0 12px; font-weight: 500; }
.tool-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 14px 0 4px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.src-link { display: inline-block; margin-top: 16px; font-size: var(--t-xs); color: var(--graphite); }
.insp-empty h2 { margin-bottom: 6px; }
.insp-empty p { color: var(--graphite); font-size: var(--t-sm); margin: 0 0 16px; }
.keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--t-xs); color: var(--graphite); }
.keys li { display: flex; gap: 4px; align-items: center; }
.keys kbd { color: var(--ink); }
.mats-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mats-row > span { width: 34px; font-size: var(--t-xs); color: var(--graphite); }

/* 중간 폭: 양옆을 조금 좁히고 제품은 한 줄에 하나 */
@media (max-width: 1279px) {
  .studio { grid-template-columns: 236px minmax(0, 1fr) 300px; }
  .lib #lib { grid-template-columns: 1fr; }
  .lib .prod { flex-direction: row; align-items: flex-start; }
  .lib .prod .dot.tile { width: 64px; flex: none; aspect-ratio: 1; }
  .lib .prod .dot.tile span { display: none; }
}
/* 좁은 폭(휴대폰): 위에서 아래로 */
@media (max-width: 900px) {
  .studio { height: auto; grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "head" "stage" "lib" "side"; padding: 10px 10px 24px; gap: 10px; }
  .lib #lib { max-height: 60vh; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lib .prod { flex-direction: column; }
  .lib .prod .dot.tile { width: 100%; aspect-ratio: 4 / 3; }
  .lib .prod .dot.tile span { display: inline; }
  .studio-head { flex-wrap: wrap; gap: 8px; }
  .studio-title .sub { margin: 2px 0 0; white-space: normal; }
  .canvas { flex: none; height: 56vh; min-height: 320px; }
  .toolbar { padding: 8px; gap: 6px; }
  .seg button { padding: 5px 8px; }
  .seg-label { display: none; }
  .sheet { max-height: none; }
  .simgrid { grid-template-columns: 1fr 1fr; }
  .side { overflow: visible; }
  .side-body { overflow: visible; }
  .lib { position: relative; z-index: 1; }
  .lib-side #q { width: 100%; }
  .keys-pop { width: auto; right: 12px; }
  .minimap { --mini-h: 220px; border-radius: var(--r-sheet); margin-top: 10px; }
  .studio[data-view="split"] .plan-pane { inset: 0 0 50% 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .studio[data-view="split"] .view-pane { inset: 50% 0 0 0; }
  .top { gap: 8px; padding: 0 10px; padding-top: env(safe-area-inset-top); }
  .top .tag { display: none; }
  .install { padding: 6px 10px; font-size: var(--t-xs); white-space: nowrap; }
}

@media (max-width: 560px) {
  .brand .wm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 스캔 가구 한꺼번에 치우기 */
.furn-btn { margin-left: 8px; padding: 7px 14px; font-size: var(--t-xs); background: var(--sheet); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; }
.furn-btn:hover { border-color: var(--ink); }
.furn-btn.on { background: var(--ink); color: var(--sheet); border-color: var(--ink); }

/* 같은 모델의 색·재질: 제품 줄 안의 작은 동그라미 */
.lib .variants { display: flex; align-items: center; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.lib .vsw { width: 22px; height: 22px; padding: 2px; border-radius: 50%; background: var(--sheet); border: 1px solid var(--line); display: inline-grid; place-items: center; }
.lib .vsw i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); display: block; }
.lib .vsw:hover { border-color: var(--ink); background: var(--sheet); }
.lib .vsw.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.lib .vsw:focus-visible { outline: 2px solid var(--lg); outline-offset: 1px; }
.lib .vlabel { font-size: var(--t-xs); color: var(--graphite); margin-left: 4px; }
.lib .vlabel.solo { margin: 3px 0 0; }

/* 리모델링 머리말의 다른 집 스캔 */
.studio-head .new-scan { white-space: nowrap; align-self: center; }

/* 선 아이콘 (이모지 대신) */
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg button .ic, .furn-btn .ic { margin-right: 0; }
.furn-btn { display: inline-flex; align-items: center; }
.studio-title h1 { font-size: 24px; letter-spacing: -.035em; }

/* ---- 마감재: 말로 꾸미기(AI) + 실제 벽지·바닥재 카드 ---- */
.badge.ai { color: var(--lg); background: var(--lg-soft); }
details > summary { cursor: pointer; font-size: var(--t-sm); font-weight: 600; padding: 4px 0; }

/* ---------- 계정: 상단 버튼·메뉴 ---------- */
.acct { position: relative; }
.acct-btn { background: var(--sheet); color: var(--ink); border-color: var(--line); padding: 7px 14px; font-size: var(--t-sm); white-space: nowrap; }
.acct-btn:hover { background: var(--sheet); border-color: var(--ink); }
.acct-btn.on { padding: 4px 12px 4px 4px; gap: 8px; }
.acct-ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lg); color: #fff; font-weight: 700; font-size: var(--t-sm); }
.acct-role { font-size: 11px; font-weight: 600; color: var(--graphite); background: var(--drafting); border-radius: 999px; padding: 1px 8px; }
.acct-role.technician { color: #1f4f7a; background: #e4eef8; }
.acct-role.admin { color: var(--lg); background: var(--lg-soft); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 8px; background: var(--sheet); border-radius: 16px; box-shadow: var(--shadow-float); z-index: 30; display: grid; }
.acct-menu[hidden] { display: none; }
.acct-mail { margin: 4px 10px 8px; font-size: var(--t-xs); color: var(--graphite); }
.acct-menu a, .acct-menu button { all: unset; cursor: pointer; padding: 9px 10px; border-radius: 10px; font-size: var(--t-sm); }
.acct-menu a:hover, .acct-menu button:hover, .acct-menu a:focus-visible, .acct-menu button:focus-visible { background: var(--drafting); }
.acct-menu .acct-out { color: var(--nofit); border-top: 1px solid var(--line-soft); margin-top: 4px; border-radius: 0 0 10px 10px; }

/* ---------- 로그인 창 ---------- */
dialog.auth, dialog.saves { border: 0; padding: 0; border-radius: 24px; background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-float); width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
dialog.saves { width: min(620px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(29, 28, 26, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: dlg-in .22s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.auth-form, .saves-in { position: relative; padding: 28px 28px 24px; }
.auth-form h2, .saves-in h2 { font-size: 22px; margin: 0 0 4px; }
.auth-x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; padding: 0; background: transparent; color: var(--graphite); border: 0; font-size: 22px; font-weight: 400; }
.auth-x:hover { background: var(--drafting); color: var(--ink); }
.auth-reason { margin: 0 0 4px; color: var(--graphite); font-size: var(--t-sm); }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 6px; }
.role-pick button { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 14px 12px; border-radius: 16px; text-align: left; background: var(--drafting); color: var(--ink); border: 1px solid var(--line-soft); }
.role-pick button:hover { background: var(--sheet); border-color: var(--line); }
.role-pick button[aria-checked="true"] { background: var(--sheet); border-color: var(--lg); box-shadow: inset 0 0 0 1px var(--lg); }
.role-pick b { font-size: var(--t-lg); }
.role-pick span { font-size: var(--t-xs); font-weight: 400; color: var(--graphite); line-height: 1.4; }
.role-pick button[aria-checked="true"] b { color: var(--lg); }
.auth-form label em { font-style: normal; color: var(--graphite); opacity: .8; margin-left: 4px; }
.auth-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.auth-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #e4eef8; color: #1f4f7a; font-size: var(--t-xs); }
.g-wrap { margin: 16px 0 2px; }
.g-btn { min-height: 44px; display: flex; justify-content: center; }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--graphite); font-size: var(--t-xs); }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line, #e5e1da); }
.auth-err { margin: 12px 0 0; color: var(--nofit); font-size: var(--t-sm); }
.auth-go { width: 100%; margin-top: 18px; padding: 13px 16px; font-size: var(--t-md); }
.auth-switch { text-align: center; margin: 14px 0 0; font-size: var(--t-sm); color: var(--graphite); }
.auth-switch a { color: var(--ink); font-weight: 600; }

/* ---------- 리모델링 저장 막대 ---------- */
.savebar { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.save-state { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); color: var(--graphite); white-space: nowrap; margin-right: 4px; }
.save-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--unk); }
.save-state.ok i { background: var(--fit); box-shadow: 0 0 0 3px var(--fit-bg); }
.save-state.busy i { background: var(--cond); animation: pulse 1s infinite alternate; }
.save-state.off i { background: #c9c3b9; }
@keyframes pulse { to { opacity: .3; } }
kbd { font: inherit; font-size: 10px; font-weight: 600; padding: 0 5px; border-radius: 5px; background: rgba(255, 255, 255, .18); }
button.ghost kbd { background: var(--drafting); }
.saves-in form { margin: 14px 0 6px; flex-wrap: nowrap; }
.saves-in form input { flex: 1; }
.saves-list { list-style: none; margin: 8px 0 0; padding: 0; }
.saves-list li { display: flex; align-items: center; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.saves-list li > div { display: grid; gap: 2px; min-width: 0; }
.saves-list .muted { font-size: var(--t-xs); }
.badge.open { color: var(--lg); background: #fbeef2; }
.saves-list li.undo { color: var(--graphite); font-size: var(--t-sm); background: var(--warm-grey); border-radius: 12px; padding: 10px 12px; border-bottom-color: transparent; }
.saves-list li.undo [data-undo] { color: var(--lg); border-color: var(--lg); }
dialog.save-as { width: min(440px, calc(100vw - 32px)); }
dialog.save-as .row { margin-top: 16px; flex-wrap: nowrap; gap: 8px; }
dialog.save-as input { flex: 1; min-width: 0; }
.save-state .save-name { color: var(--ink); font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.save-state .save-name::after { content: "·"; margin-left: 6px; color: var(--graphite); font-weight: 400; }

/* ---------- 내 집 · 기사 관리 ---------- */
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.page-head > div { flex: 1; }
.page-head h1 { font-size: 28px; }
.page-head .sub { margin-bottom: 0; }
.homes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.homes a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-sheet); text-decoration: none; transition: box-shadow .15s var(--ease); }
.homes a:hover { box-shadow: var(--shadow-float); }
.homes a b { font-size: var(--t-lg); }
.homes a span { font-size: var(--t-xs); color: var(--graphite); }
.homes a .go { color: var(--lg); font-weight: 600; font-size: var(--t-sm); margin-top: 8px; }
.homes .empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); border-radius: var(--r-sheet); color: var(--graphite); text-align: center; }
.gate { max-width: 520px; margin: 40px auto; }
.gate .sub { margin-bottom: 16px; }
.seg .count { font-size: 11px; color: var(--graphite); }
table.techs td { vertical-align: middle; }

@media (max-width: 760px) {
  .acct-name, .acct-role { display: none; }
  .acct-btn.on { padding: 4px; }
  .savebar { width: 100%; margin-left: 0; order: 5; }
  .page-head { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { dialog[open], .save-state.busy i { animation: none; } }
/* 조작키 창 */
.keys-pop { position: absolute; top: 12px; left: 12px; z-index: 6; width: 300px; max-height: calc(100% - 24px); overflow-y: auto; padding: 14px 16px 16px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-radius: 18px; box-shadow: var(--shadow-float); }
.keys-pop[hidden] { display: none; }
.keys-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.keys-head b { font-size: var(--t-lg); }
.keys-pop h4 { margin: 12px 0 6px; font-size: var(--t-xs); color: var(--graphite); font-weight: 600; }
#keysBtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.insp-empty .how { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--graphite); font-size: var(--t-sm); }
.insp-empty .how b { color: var(--ink); }
.lib .prod .dot.tile span { font-style: normal; }
/* 안내는 아래 한 줄로만 (3D 위 겹치는 안내 숨김) */
.studio .viewer .hud { display: none; }
@media (max-width: 900px) {
  .studio-title h1 { font-size: 20px; }
  #keysBtn { display: none; }
}

/* 제품 사진 카드: 사진은 우리 3D 모델을 Blender로 렌더한 것. 타일 크기·배치는 .dot.tile 규칙을 따르고, 바탕만 고른 색을 아주 옅게 */
.lib .prod .dot.tile.thumb { position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--tint) 22%, var(--warm-grey)) 0%, var(--warm-grey) 70%); }
.lib .prod .dot.tile.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; transition: transform .18s ease; pointer-events: none; }
.lib .prod:hover .dot.tile.thumb img { transform: scale(1.05); }
.lib .prod.armed .dot.tile.thumb { background: radial-gradient(120% 90% at 50% 100%, var(--lg-soft) 0%, var(--warm-grey) 75%); }
.lib .prod .dot.tile.thumb span { position: relative; z-index: 1; }
.insp-photo { position: relative; overflow: hidden; height: 150px; border-radius: 14px; background: radial-gradient(120% 90% at 50% 100%, #e7e1d6 0%, var(--warm-grey) 70%); display: grid; place-items: center; margin-bottom: 10px; }
.insp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
/* 제품 필터 (종류는 칩, 나머지는 작은 선택 상자) */
.lib .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.lib .filters label { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.lib .filters select { margin: 0; padding: 5px 8px; font-size: var(--t-xs); border-radius: 10px; background: var(--drafting); }

/* 제품 상세 창: 누르면 3D 위에 뜬다. 왼쪽 목록 카드를 키운 모양 — 폭은 목록과 비슷하게, 높이는 내용만큼만 */
.pd-modal { position: absolute; top: 12px; left: 12px; z-index: 7; width: min(332px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow-y: auto; padding: 14px;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 20px; box-shadow: var(--shadow-float);
  display: flex; flex-direction: column; gap: 12px; animation: pd-in .22s var(--ease) both; }
.pd-modal[hidden] { display: none; }
@keyframes pd-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.pd-top { position: relative; display: flex; flex-direction: column; gap: 12px; }
.pd-photo { height: clamp(150px, 30vh, 232px); border-radius: 14px; border: 1px solid rgba(0, 0, 0, .06); background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 8px;
  box-shadow: inset 0 -40px 40px -30px rgba(0, 0, 0, .14); }
.pd-photo span { font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, .85); padding: 1px 7px; border-radius: 999px; }
.pd-title h2 { font-size: 17px; line-height: 1.35; margin: 0 0 4px; }
.pd-title p { margin: 0 0 10px; font-size: var(--t-xs); }
.pd-variants { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-close { position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, .9); }
.pd-spec { font-size: var(--t-sm); width: 100%; }
.pd-spec td .muted { display: block; font-size: var(--t-xs); }
.pd-spec th { width: 64px; color: var(--graphite); font-weight: 500; font-size: var(--t-xs); padding: 8px 6px 8px 0; vertical-align: top; }
.pd-spec td { padding: 8px 0; }
.pd-notes { font-size: var(--t-xs); color: var(--graphite); }
.pd-notes summary { cursor: pointer; }
.pd-notes ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
/* 색이 많으면 줄이 길어진다: 고른 색만 이름을 보이고 나머지는 목록 카드처럼 점으로 */
.pd-variants .swatch:not(.on) { padding: 3px; font-size: 0; gap: 0; }
/* 화면이 낮아 내용이 넘쳐도 넣어 보기는 늘 보이게 */
.pd-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: sticky; bottom: -14px; margin: 0 -14px -14px; padding: 10px 14px 14px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 10px); }
.pd-actions .primary { flex: 1 1 auto; padding: 12px 20px; font-size: var(--t-md); }
.pd-src { font-size: 11px; margin-left: auto; }
@media (max-width: 900px) {
  .pd-modal { position: fixed; top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 86vh; z-index: 30; }
}
/* 상세 창 사진: 우리 모델 렌더. 잘리지 않게 contain, 바탕은 Warm Grey */
.pd-photo.has-photo { background-color: var(--warm-grey) !important; background-size: contain; background-repeat: no-repeat; box-shadow: none; }

/* ---------- LG 봇 ‘하우니’: 오른쪽 아래 도우미 + 말로 꾸미기 대화창 ---------- */
.bot { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.bot > * { pointer-events: auto; }
.bot-btn { position: relative; width: 68px; height: 68px; padding: 6px; border-radius: 50%; background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.bot-btn:hover { background: var(--sheet); border-color: var(--lg); transform: translateY(-2px); }
.bot-btn .bot-art { width: 100%; height: 100%; display: block; }
.bot-art .bot-shadow { fill: rgba(60, 48, 30, .12); }
.bot-body { animation: bot-bob 3.2s ease-in-out infinite; transform-origin: 32px 56px; }
.bot-eyes { animation: bot-blink 4.6s infinite; transform-origin: 32px 39px; }
.bot.thinking .bot-body { animation-duration: .9s; }
@keyframes bot-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes bot-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
.bot-tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: var(--t-xs); font-weight: 600; padding: 6px 11px; border-radius: 999px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.bot-btn:hover .bot-tip, .bot-btn:focus-visible .bot-tip, .bot.nudge .bot-tip { opacity: 1; }
.bot.open .bot-tip { opacity: 0; }
.bot.nudge .bot-btn { animation: bot-hello 1.4s ease-in-out 2; }
@keyframes bot-hello { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.bot-panel { width: min(360px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 140px)); display: flex; flex-direction: column; background: var(--sheet); border-radius: 22px; box-shadow: var(--shadow-float); overflow: hidden; animation: dlg-in .22s var(--ease); }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.bot-head .bot-art { width: 40px; height: 40px; flex: none; }
.bot-head div { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.bot-head span { font-size: var(--t-xs); color: var(--graphite); }
.bot-x { width: 32px; height: 32px; padding: 0; background: transparent; color: var(--graphite); border: 0; font-size: 22px; font-weight: 400; }
.bot-x:hover { background: var(--drafting); color: var(--ink); }
.bot-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--drafting); }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 16px; font-size: var(--t-sm); line-height: 1.5; }
.msg p { margin: 0 0 6px; } .msg p:last-child { margin-bottom: 0; }
.msg.hb { align-self: flex-start; background: var(--sheet); border: 1px solid var(--line-soft); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--lg); color: #fff; border-bottom-right-radius: 6px; }
.msg .row { margin-top: 6px; }
.msg-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--graphite); opacity: .4; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }
.bot-ex { padding: 8px 14px 0; }
.bot-form { display: flex; gap: 8px; padding: 10px 14px 14px; }
.bot-form input { flex: 1; min-width: 0; }
@media (max-width: 720px) { .bot { right: 16px; bottom: 16px; } .bot-btn { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .bot-body, .bot-eyes, .bot.nudge .bot-btn, .dots i { animation: none; } }

/* 채광 시각: 재생 버튼 + 슬라이더 한 줄 */
.time-row { display: flex; align-items: center; gap: 8px; }
.time-row input[type="range"] { flex: 1; min-width: 0; margin: 0; }
.time-row button { flex: none; white-space: nowrap; }

/* 제품 서랍: 공간 용도 묻기 + 단계별 옵션 필터 */
.lib .ask-q { margin: 0 0 6px; font-size: var(--t-sm); font-weight: 600; }
.lib .ask-a { margin: 0; display: flex; align-items: baseline; gap: 4px; font-size: var(--t-sm); color: var(--graphite); }
.lib .ask-a b { color: var(--ink); }
.lib .ask-a button { margin-left: auto; padding: 0; border: 0; background: none; font-size: var(--t-xs); color: var(--graphite); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.lib .ask-a button:hover { color: var(--lg); }
.lib .opt-steps { list-style: none; counter-reset: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 32vh; overflow-y: auto; scrollbar-width: thin; }
.lib .opt-steps:empty { display: none; }
.lib .opt-steps li { margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.lib .opt-steps li::before { content: none; }
.lib .step-n { flex: none; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--graphite); border: 1px solid var(--line); }
.lib .step.done .step-n { background: var(--lg); border-color: var(--lg); color: #fff; }
.lib .step-l { font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.lib .step .chips { flex-basis: 100%; }
.lib .step .chip { padding: 3px 9px; white-space: nowrap; }
.lib .step .chip i { font-style: normal; font-size: 10px; opacity: .6; margin-left: 2px; }
/* ---- 덜어 내기 (지예: "아직도 조잡해 보인다") ----
   3D를 줄이던 아래 칸을 없앤다: 안내는 3D 왼쪽 위 작은 칩, 살아 보기 설정은 왼쪽 아래 떠 있는 카드.
   도구줄은 테두리 없는 조용한 버튼, 제품 목록은 사진 + 이름 + 치수 한 줄씩. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.toolbar .furn-btn { border-color: transparent; background: transparent; margin-left: 2px; transition-property: background-color, color; transition-duration: .15s; }
.toolbar .furn-btn:hover { border-color: transparent; background: var(--drafting); }
.toolbar .furn-btn.on, #walk.on { background: var(--ink); color: #fff; }

.canvas .hint { position: absolute; top: 12px; left: 12px; z-index: 4; max-width: min(560px, calc(100% - 170px)); padding: 6px 12px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sheet); pointer-events: none; text-wrap: pretty; line-height: 1.45; }
.canvas .hint:empty { display: none; }
.canvas .sheet { position: absolute; left: 12px; bottom: 12px; z-index: 5; width: min(520px, calc(100% - 24px)); max-height: min(62%, 480px); border: 0; border-radius: 16px; padding: 14px 16px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow-float); }
.canvas .simgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.sim-notes { margin-top: 8px; font-size: 12px; color: var(--graphite); text-wrap: pretty; }
.sim-notes summary { cursor: pointer; width: fit-content; }
.lib .filters select { color: var(--ink); }

@media (min-width: 901px) {
  .lib #lib { grid-template-columns: 1fr; gap: 2px; }
  .lib .prod { flex-direction: row; align-items: center; gap: 12px; padding: 8px; border-color: transparent; }
  .lib .prod:hover { border-color: transparent; background: var(--drafting); box-shadow: none; }
  .lib .prod .dot.tile { width: 60px; flex: none; aspect-ratio: 1; padding: 0; border-radius: 10px; }
  .lib .prod .dot.tile span { display: none; }
  .lib .name { font-size: 13px; -webkit-line-clamp: 2; }
  .lib .vlabel { display: none; }
  .lib .variants { margin-top: 4px; }
}
@media (max-width: 900px) {
  .canvas .hint { display: none; }
}

/* 상세 창 판정: 들어가는지 한눈에 (근거 숫자는 화면에 내지 않는다) */
.pd-verdict { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; padding: 14px 16px; border-radius: 14px; background: var(--drafting); }
.pd-verdict b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.pd-verdict span { font-size: var(--t-xs); color: var(--graphite); }
.pd-verdict em { grid-column: 1 / -1; font-style: normal; font-size: var(--t-sm); }
.pd-verdict.v-fit { background: var(--fit-bg); color: var(--fit); }
.pd-verdict.v-conditional { background: var(--cond-bg); color: var(--cond); }
.pd-verdict.v-no_fit { background: var(--nofit-bg); color: var(--nofit); }
.pd-verdict.v-none b { font-size: var(--t-md); }
.pd-verdict:not(.v-none) span { color: inherit; opacity: .75; }

/* 채광: 주소 입력 한 줄, 집 방향(남향·북향) */
.simgrid .addr-row { grid-column: 1 / -1; }
.simgrid .addr-row input { flex: 1; min-width: 0; margin: 0; }
.simgrid .addr-row #addrNow { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 70%; vertical-align: bottom; }
.facing { margin: 0 0 8px; font-size: var(--t-sm); }
.facing b { font-size: 17px; }
.facing em { display: block; font-style: normal; font-size: 12px; color: var(--graphite); margin-top: 2px; text-wrap: pretty; }
.canvas .sheet { max-height: min(78%, 560px); }

/* ---------- 첫 화면 시작 칸: 스캔 올리기 + 샘플 집 (2026-11-21) ---------- */
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; align-items: stretch; }
.start-box { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 24px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(1.5) blur(28px); backdrop-filter: saturate(1.5) blur(28px); border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--shadow-float); }
.start-box h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.slots { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 148px; padding: 16px 12px; text-align: center; cursor: pointer; border: 1.5px dashed #cfc7bb; border-radius: 16px; background: var(--sheet); transition: border-color .15s, background .15s; }
.slot:hover, .slot.over, .slot:focus-visible { border-color: var(--lg); background: #fdf5f6; }
.slot.has { border-style: solid; border-color: var(--lg); }
.slot .ic { width: 30px; height: 30px; margin: 0; color: var(--graphite); }
.slot.has .ic { color: var(--lg); }
.slot-t { display: inline-flex; align-items: center; gap: 6px; }
.slot-t b { font-size: 15px; }
.slot-t em { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; color: var(--graphite); background: var(--drafting); }
.slot-t em.need { color: #fff; background: var(--lg); }
.slot-hint { font-size: var(--t-xs); color: var(--graphite); line-height: 1.45; }
.slots-note { margin: 10px 2px 0; font-size: var(--t-xs); color: var(--graphite); line-height: 1.5; }
.slot.has .slot-hint { display: none; }
.slot-file { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--drafting); font-size: var(--t-xs); }
.slot-file[hidden] { display: none; }
.slot-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-x { flex: none; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--graphite); font-size: 16px; line-height: 1; box-shadow: none; }
.slot-x:hover { background: var(--line); color: var(--ink); transform: none; }
.start-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.start-foot a.quiet { font-size: var(--t-xs); }
.samples { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sample { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 12px; text-align: left; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--sheet); color: var(--ink); box-shadow: none; transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.sample:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--lg); box-shadow: var(--shadow-sheet); background: var(--sheet); }
.sample.busy { opacity: .6; }
/* 오래 걸리는 일: 예상 시간 대신 빙글 도는 원 */
.spin { display: inline-block; flex: none; width: 1.1em; height: 1.1em; margin-right: .55em; vertical-align: -.2em; border-radius: 50%; border: 2.5px solid rgb(165 0 52 / .16); border-top-color: var(--lg); animation: spin .8s linear infinite; }
.primary .spin { border-color: rgb(255 255 255 / .32); border-top-color: #fff; }
button.busy:disabled { opacity: 1; cursor: progress; }
.drop.busy { display: flex !important; align-items: center; justify-content: center; color: var(--lg); border-style: solid; border-color: rgb(165 0 52 / .35); background: #fdf5f7; cursor: progress !important; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }
.sample b { padding: 0 4px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.sample-img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 11px; background: var(--drafting); }
.sample-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sample-img .ic { width: 34px; height: 34px; margin: 0; color: #b9b1a5; }
.sample-img em { position: absolute; left: 6px; top: 6px; font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); }
/* 최근에 만든 집: 샘플 집과 같은 카드 */
.proj { position: relative; border-radius: 16px; background: var(--sheet); box-shadow: var(--shadow-sheet); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.proj:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.proj a { display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 14px; text-decoration: none; color: var(--ink); }
.proj a b { padding: 6px 4px 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-del { position: absolute; right: 14px; top: 14px; min-width: 28px; height: 28px; padding: 0 7px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(29, 28, 26, .55); color: #fff; font-size: 12px; font-weight: 600; box-shadow: none; opacity: 0; transition: opacity .15s; }
.proj:hover .proj-del, .proj-del:focus-visible, .proj-del.ask { opacity: 1; }
.proj-del:hover { background: var(--ink); transform: none; }
.proj-del.ask { background: var(--lg); padding: 0 11px; }
.proj-del .ic { width: 14px; height: 14px; margin: 0; stroke-width: 2.6; }
@media (hover: none) { .proj-del { opacity: 1; } }
@media (max-width: 1100px) { .start { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .start { order: 2; margin: -56px 16px 0; position: relative; z-index: 1; }
  .slots { grid-template-columns: 1fr; }
  .slot { min-height: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; }
  .samples { grid-template-columns: 1fr 1fr; }
}
/* 최근에 만든 집: 하우니로 시작은 제목 옆 버튼 하나. 누르면 집을 고른다 */
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.recent-head h2 { margin: 0; }
.hauni-start { background: var(--sheet); color: var(--ink); border-color: var(--line); padding: 8px 16px 8px 13px; font-size: var(--t-sm); }
.hauni-start:hover, .hauni-start[aria-pressed="true"] { background: var(--sheet); border-color: var(--ink); }
.hauni-start .ic { width: 17px; height: 17px; margin: 0; color: var(--lg); }
.pick-note { margin: -4px 0 14px; font-size: var(--t-sm); color: var(--ink); }
.pick-note .link { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--graphite); font-size: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.pick-note .link:hover { color: var(--ink); background: none; }
.picking .proj { cursor: pointer; }
.picking .proj:hover { box-shadow: 0 0 0 2px var(--ink), var(--shadow-float); }
.picking .proj-del { display: none; }
