/* 미리보기 사이트 전용 레이아웃(PC). 부품이 아님 — catalog.css와 별개 */
body { background: #E9ECF0; }
.topbar { position: sticky; top: 0; z-index: 50; height: 52px; display: flex; align-items: center; gap: 22px; padding: 0 28px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 0.5px solid var(--separator); }
.topbar .brand { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; margin-right: 8px; }
.topbar .brand small { font-weight: 600; color: var(--muted); font-size: 12px; margin-left: 6px; }
.topbar a { font-size: 13.5px; font-weight: 700; color: var(--text-2); text-decoration: none; padding: 6px 2px; }
.topbar a.on, .topbar a:hover { color: var(--blue); }
.topbar .sp { flex: 1; }
.topbar .note { font-size: 12px; color: var(--muted); }
.layout { display: flex; gap: 24px; max-width: 1640px; margin: 0 auto; padding: 24px 28px 80px; align-items: flex-start; }
.side { position: sticky; top: 72px; flex: none; width: 180px; display: flex; flex-direction: column; gap: 2px; }
.side a { font-size: 13px; font-weight: 600; color: var(--text-2); text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.side a:hover { background: #fff; color: var(--blue); }
.side .h { font-size: 11px; font-weight: 800; color: var(--muted); padding: 10px 10px 4px; letter-spacing: .3px; }
.grid { flex: 1; min-width: 0; columns: 3 400px; column-gap: 20px; }
.panel { display: block; width: 100%; margin-bottom: 20px; break-inside: avoid; background: var(--bg); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(22,28,45,.04), 0 6px 20px rgba(22,28,45,.06); overflow: hidden; }
.panel.wide { column-span: all; }

.panel > .ph { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px 10px; background: #fff; border-bottom: 0.5px solid var(--separator); }
.panel > .ph b { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; }
.panel > .ph span { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.panel > .pb { padding: 12px 4px 18px; }
.panel .tabbar, .panel .app-header { position: static; }
/* 라벨·스와치 */
.cat-lab { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin: 12px 18px 6px; }
.cat-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 18px; }
.cat-demo { padding: 10px 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.swatch { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.swatch i { width: 40px; height: 40px; border-radius: 10px; border: 0.5px solid var(--separator); }
.swatch small { font-size: 10px; color: var(--muted); font-family: var(--font-mono); }
.gapbar { display: flex; align-items: flex-end; gap: 14px; padding: 8px 18px; flex-wrap: wrap; }
.gapbar i { display: block; background: var(--blue-tint-2); border: 1px solid rgba(49,130,246,.35); }
.gapbar div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gapbar small { font-size: 10px; color: var(--muted); font-family: var(--font-mono); white-space: nowrap; }
/* 표 */
table.f { border-collapse: collapse; width: 100%; font-size: 13px; background: #fff; border-radius: 12px; overflow: hidden; }
table.f th, table.f td { text-align: left; padding: 9px 12px; border-bottom: 0.5px solid var(--separator); vertical-align: top; }
table.f th { background: #F7F9FB; font-weight: 800; color: var(--text-2); font-size: 12px; }
table.f code, .prose code { font-family: var(--font-mono); font-size: 12px; background: #F2F4F6; padding: 1px 5px; border-radius: 4px; }
.prose { font-size: 14px; color: var(--text-2); line-height: 1.65; max-width: 900px; }
.prose h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); margin-bottom: 6px; }
.prose h2 { font-size: 17px; font-weight: 800; color: var(--text); margin: 30px 0 10px; }
/* 검증 비교 */
.cmp { display: flex; gap: 24px; align-items: flex-start; }
.cmp > div { width: 480px; flex: none; }
.cmp .cap { font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px 2px; font-family: var(--font-mono); }
.cmp img { width: 480px; display: block; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.app.shot { min-height: 0; height: 1500px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.app.shot .tabbar { margin-top: auto; }
.app.shot .body { flex: 1; overflow: hidden; }
.sp { height: var(--section-gap); } .sp-l { height: 24px; }
/* 패널 안 소제목 */
.cat-h { margin: 18px 18px 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cat-h b { font-size: 13px; font-weight: 800; color: var(--text-2); }
.cat-h span { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
