/* 준엮음 시연 화면 스타일. 토큰(:root) -> 기본 -> 컴포넌트 -> 화면 순서. */
:root {
  --brand-50: #eaf2f9; --brand-100: #cfe2f1; --brand-200: #9ec4e2; --brand-500: #2b6ea8; --brand-600: #1f5a8c; --brand-700: #17466d; --brand-900: #0f2740;
  --accent-50: #fbefe6; --accent-100: #f6d9c3; --accent-500: #d0702f; --accent-600: #b5551c; --accent-700: #8f4115;
  --ink-900: #0f1b2a; --ink-700: #2c3b4e; --ink-500: #566679; --ink-400: #7a8798; --ink-300: #a7b2c0;
  --line: #dde3ea; --line-strong: #c3ccd7; --bg: #f5f7fa; --surface: #ffffff; --surface-2: #eef2f6;
  --ok: #1c7a4d; --ok-bg: #e4f4ec; --warn: #8a5700; --warn-bg: #fdf1d8; --err: #b42318; --err-bg: #fde9e7; --info: #1f5a8c; --info-bg: #eaf2f9;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(15,39,64,.06), 0 1px 3px rgba(15,39,64,.08);
  --sh-md: 0 4px 12px rgba(15,39,64,.08), 0 2px 4px rgba(15,39,64,.06);
  --sh-lg: 0 16px 40px rgba(15,39,64,.16);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --font: "Pretendard", "Pretendard Variable", "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --container: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 24px; color: var(--ink-900); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#hdr-root { display: contents; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand-900); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 300; }
.skip:focus { left: 8px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 28px; height: 28px; }

/* 글자 위계 */
.t-display { font-size: 44px; line-height: 54px; font-weight: 800; letter-spacing: -0.02em; }
.t-h1 { font-size: 32px; line-height: 42px; font-weight: 800; letter-spacing: -0.015em; }
.t-h2 { font-size: 24px; line-height: 34px; font-weight: 700; letter-spacing: -0.01em; }
.t-h3 { font-size: 18px; line-height: 28px; font-weight: 700; }
.t-body { font-size: 15px; line-height: 24px; font-weight: 400; }
.t-small { font-size: 13px; line-height: 20px; }
.t-cap { font-size: 12px; line-height: 18px; letter-spacing: .01em; }
.muted { color: var(--ink-500); }
.num { font-variant-numeric: tabular-nums; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-md); font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s, color .15s; text-decoration: none; }
.btn:hover, .btn.is-hover { text-decoration: none; }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover, .btn-primary.is-hover { background: var(--brand-700); }
.btn-primary:active { background: var(--brand-900); }
.btn-accent { background: var(--accent-600); color: #fff; }
.btn-accent:hover, .btn-accent.is-hover { background: var(--accent-700); }
.btn-secondary { background: var(--surface); color: var(--brand-700); border-color: var(--line-strong); }
.btn-secondary:hover, .btn-secondary.is-hover { background: var(--brand-50); border-color: var(--brand-500); }
.btn-ghost { background: transparent; color: var(--brand-700); }
.btn-ghost:hover, .btn-ghost.is-hover { background: var(--brand-50); }
.btn-danger { background: var(--surface); color: var(--err); border-color: #e7b3ad; }
.btn-danger:hover { background: var(--err-bg); }
.btn.is-focus { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-secondary.is-loading::after, .btn-ghost.is-loading::after { border-color: var(--line-strong); border-top-color: var(--brand-600); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; color: var(--ink-700); position: relative; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-500); border: 2px solid #fff; }

/* 입력 */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field .req { color: var(--err); margin-left: 2px; }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; line-height: 22px; }
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:hover, .select:hover, .textarea:hover, .is-hover.input { border-color: var(--brand-500); }
.input:focus, .select:focus, .textarea:focus, .input.is-focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(31,90,140,.2); }
.input.is-error, .select.is-error, .textarea.is-error { border-color: var(--err); background: #fffafa; }
.input.is-error:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.2); }
.input[disabled] { background: var(--surface-2); color: var(--ink-400); cursor: not-allowed; }
.help { font-size: 12px; line-height: 18px; color: var(--ink-500); }
.err-msg { font-size: 12px; line-height: 18px; color: var(--err); font-weight: 600; display: none; }
.is-error ~ .err-msg, .field.has-error .err-msg { display: block; }
.input-group { display: flex; gap: 8px; }
.input-group .select { width: 110px; flex: none; }
.check { display: flex; align-items: center; gap: 10px; min-height: 32px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-600); flex: none; margin: 0; }
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
.switch i { position: absolute; inset: 0; background: var(--line-strong); border-radius: 26px; transition: .15s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: var(--sh-sm); transition: .15s; }
.switch input:checked + i { background: var(--brand-600); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border-radius: var(--r-md); gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--ink-500); min-height: 34px; }
.seg button[aria-pressed="true"], .seg button.on { background: var(--surface); color: var(--brand-700); box-shadow: var(--sh-sm); }

/* 배지, 태그 */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--ink-700); white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err { background: var(--err-bg); color: var(--err); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-accent { background: var(--accent-50); color: var(--accent-700); }
.badge-solid { background: var(--brand-700); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-700); }
.chip button { display: inline-grid; place-items: center; border: 0; background: transparent; padding: 0; width: 18px; height: 18px; border-radius: 50%; color: var(--ink-500); }
.chip button:hover { background: var(--surface-2); color: var(--ink-900); }
button.chip:hover, a.chip:hover { border-color: var(--brand-500); background: var(--brand-50); text-decoration: none; }
.chip.on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); font-size: 12px; color: var(--ink-700); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 카드 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.card-pad { padding: 24px; }
.card-hover { transition: box-shadow .15s, border-color .15s, transform .15s; }
.card-hover:hover { box-shadow: var(--sh-md); border-color: var(--line-strong); transform: translateY(-2px); }
.card-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.card-hd h3 { font-size: 16px; line-height: 24px; font-weight: 700; }
.card-bd { padding: 24px; }

/* 탭, 표, 단계 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { flex: none; position: relative; padding: 12px 16px; border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-500); min-height: 46px; white-space: nowrap; }
.tabs button:hover, .tabs a:hover { color: var(--ink-900); text-decoration: none; }
.tabs .on { color: var(--brand-700); }
.tabs .on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--brand-600); border-radius: 3px 3px 0 0; }
.tabs .cnt { margin-left: 6px; font-size: 12px; background: var(--surface-2); padding: 1px 7px; border-radius: 10px; color: var(--ink-700); }
.tbl-wrap { overflow-x: auto; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 22px; }
.tbl thead th { background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--ink-500); letter-spacing: .02em; white-space: nowrap; }
.tbl tbody tr:hover { background: #fafcfe; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.kv { display: grid; grid-template-columns: 140px 1fr; }
.kv > dt, .kv > dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv > dt { color: var(--ink-500); font-weight: 600; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r-md); font-weight: 600; padding: 0 10px; }
.pager button:hover:not([disabled]) { border-color: var(--brand-500); background: var(--brand-50); }
.pager button.on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.pager button[disabled] { opacity: .4; cursor: not-allowed; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-500); padding: 20px 0 12px; }
.crumb a { color: var(--ink-500); }
.crumb svg { width: 14px; height: 14px; }
.empty { text-align: center; padding: 56px 20px; color: var(--ink-500); }
.empty .ic-lg { margin: 0 auto 12px; color: var(--ink-300); width: 40px; height: 40px; }
.empty b { display: block; color: var(--ink-900); font-size: 17px; margin-bottom: 4px; }
.bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand-500); border-radius: 8px; }
.alert { display: flex; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; background: var(--info-bg); color: var(--brand-700); }
.alert.warn { background: var(--warn-bg); color: var(--warn); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert.err { background: var(--err-bg); color: var(--err); }
.alert svg { margin-top: 2px; }

/* 레이아웃 */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.sec { padding: 64px 0; }
.sec-alt { background: var(--surface); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-hd .eyebrow { font-size: 13px; font-weight: 700; color: var(--accent-600); letter-spacing: .06em; margin-bottom: 6px; }
.sec-hd p { color: var(--ink-500); margin-top: 6px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap-r { flex-wrap: wrap; }
.sp { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.mt1 { margin-top: 8px; } .mt2 { margin-top: 16px; } .mt3 { margin-top: 24px; } .mt4 { margin-top: 32px; }
.hide { display: none !important; }

/* 헤더 */
.util { background: var(--brand-900); color: #c9d6e4; font-size: 12px; }
.util .wrap { display: flex; align-items: center; gap: 20px; height: 36px; }
.util a { color: #c9d6e4; }
.util .seg { background: rgba(255,255,255,.1); padding: 2px; }
.util .seg button { color: #c9d6e4; min-height: 26px; padding: 2px 12px; font-size: 12px; }
.util .seg button.on, .util .seg button[aria-pressed="true"] { background: #fff; color: var(--brand-900); }
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-900); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none !important; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--brand-600), var(--brand-900)); color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 800; position: relative; }
.logo-mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-500); border: 2px solid #fff; }
.logo small { display: block; font-size: 9.5px; letter-spacing: .22em; color: var(--ink-500); font-weight: 700; margin-top: -2px; }
.gnb { display: flex; gap: 4px; }
.gnb > li { position: relative; }
.gnb > li > a { display: flex; align-items: center; gap: 4px; height: 72px; padding: 0 14px; color: var(--ink-900); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 3px solid transparent; }
.gnb > li > a:hover, .gnb > li:focus-within > a { color: var(--brand-600); }
.gnb > li > a.on { color: var(--brand-600); border-bottom-color: var(--brand-600); }
.mega { position: absolute; left: -20px; top: 72px; width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-lg); padding: 24px; display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gnb > li:hover .mega, .gnb > li:focus-within .mega { display: grid; }
.mega h4 { font-size: 14px; margin-bottom: 8px; color: var(--brand-700); display: flex; align-items: center; gap: 6px; }
.mega a { display: block; padding: 5px 0; color: var(--ink-700); font-size: 14px; }
.mega a:hover { color: var(--brand-600); }
.hsearch { flex: 1; max-width: 340px; margin-left: auto; position: relative; }
.hsearch input { padding-left: 42px; border-radius: var(--r-pill); background: var(--surface-2); border-color: transparent; min-height: 42px; }
.hsearch input:focus { background: #fff; }
.hsearch svg { position: absolute; left: 14px; top: 11px; color: var(--ink-500); }
.hact { display: flex; align-items: center; gap: 4px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.burger { display: none; }
.mnav { display: none; }

/* 푸터 */
.ftr { background: var(--brand-900); color: #aebccd; padding: 48px 0 32px; margin-top: 0; font-size: 13px; }
.ftr .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.ftr h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.ftr li { padding: 4px 0; }
.ftr a { color: #aebccd; }
.ftr .logo { color: #fff; }
.ftr .logo small { color: #8fa3ba; }
.ftr .bt { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 20px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ftr .demo-note { font-size: 12px; color: #8fa3ba; }
.ftr .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ftr .btn-secondary:hover { background: rgba(255,255,255,.1); }

/* 홈 */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--brand-50) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 em { font-style: normal; color: var(--accent-600); }
.hero .lead { color: var(--ink-500); font-size: 17px; line-height: 28px; margin-top: 16px; }
.sbox { display: flex; gap: 0; background: var(--surface); border: 2px solid var(--brand-600); border-radius: var(--r-lg); margin-top: 28px; box-shadow: var(--sh-md); overflow: hidden; }
.sbox select { border: 0; border-right: 1px solid var(--line); border-radius: 0; width: 150px; flex: none; min-height: 56px; background: var(--surface-2); font-weight: 600; }
.sbox input { border: 0; border-radius: 0; min-height: 56px; flex: 1; min-width: 0; font-size: 16px; }
.sbox input:focus, .sbox select:focus { box-shadow: none; }
.sbox .btn { border-radius: 0; min-height: 56px; padding: 0 28px; }
.hot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--ink-500); }
.hero-vis { position: relative; }
.hero-vis img { width: 100%; height: 440px; object-fit: cover; border-radius: 24px; box-shadow: var(--sh-lg); }
.float { position: absolute; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 14px 18px; display: flex; gap: 12px; align-items: center; }
.float b { display: block; font-size: 22px; line-height: 28px; color: var(--brand-900); }
.float span { font-size: 12px; color: var(--ink-500); }
.float .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; }
.float.f1 { left: -28px; bottom: 36px; }
.float.f2 { right: 20px; top: -20px; }
.cat-tile { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 300px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; text-decoration: none !important; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,39,64,.05) 20%, rgba(15,39,64,.88) 100%); z-index: 1; }
.cat-tile > *:not(img) { position: relative; z-index: 2; }
.cat-tile h3 { font-size: 22px; line-height: 30px; }
.cat-tile p { color: #d6e1ee; font-size: 14px; margin-top: 4px; }
.cat-tile .subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cat-tile .subs span { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
.step4 { padding: 24px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); position: relative; }
.step4 .no { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.step4 h3 { font-size: 17px; margin-bottom: 6px; }
.step4 p { font-size: 14px; color: var(--ink-500); }
.mcard { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none !important; position: relative; }
.mcard .ph { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.mcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.mcard .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.mcard .wish { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink-700); box-shadow: var(--sh-sm); }
.mcard .wish.on { color: var(--err); }
.mcard .wish.on svg { fill: var(--err); }
.mcard .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mcard .nm { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink-900); }
.mcard .sp-line { font-size: 13px; color: var(--ink-500); }
.mcard .meta { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; }
.mcard .meta b { display: block; font-size: 14px; color: var(--ink-900); }
.mcard .meta span { color: var(--ink-500); font-size: 12px; }
.mcard.list { flex-direction: row; }
.mcard.list .ph { width: 220px; aspect-ratio: auto; flex: none; }
.scard { overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
.scard .ph { height: 140px; position: relative; }
.scard .ph img { width: 100%; height: 100%; object-fit: cover; }
.scard .lg { position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--brand-700); box-shadow: var(--sh-sm); font-size: 20px; }
.scard .bd { padding: 32px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.scard h3 { font-size: 17px; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--line); text-align: center; }
.stat3 b { display: block; font-size: 15px; color: var(--brand-700); }
.stat3 span { font-size: 11px; color: var(--ink-500); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; }
.rating svg { color: #d99a00; fill: #d99a00; width: 15px; height: 15px; }
.cta { background: linear-gradient(120deg, var(--brand-900), var(--brand-700)); color: #fff; border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(208,112,47,.35); }
.cta > * { position: relative; z-index: 1; }
.cta p { color: #c9d6e4; margin-top: 8px; }
.news-row { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit; }
.news-row:hover { text-decoration: none; }
.news-row:hover .tt { color: var(--brand-600); }
.news-row .tt { font-weight: 600; flex: 1; }
.news-row time { font-size: 12px; color: var(--ink-500); flex: none; }

/* 목록 화면 */
.page-hd { padding: 8px 0 24px; }
.page-hd p { color: var(--ink-500); margin-top: 6px; }
.list-lay { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
.filters { position: sticky; top: 92px; padding: 0; overflow: hidden; }
.fgrp { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.fgrp:last-child { border-bottom: 0; }
.fgrp h4 { font-size: 14px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.fgrp .tree-main { font-weight: 700; }
.fgrp .tree-sub { padding-left: 26px; }
.rbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rbar .select { width: auto; min-height: 38px; padding: 6px 12px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat-lay { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
.cat-nav button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-weight: 700; font-size: 15px; }
.cat-nav button:last-child { border-bottom: 0; }
.cat-nav button:hover { background: var(--brand-50); }
.cat-nav button.on { background: var(--brand-50); color: var(--brand-700); box-shadow: inset 4px 0 0 var(--brand-600); }
.sub-tile { display: flex; gap: 14px; padding: 14px; align-items: center; color: inherit; text-decoration: none !important; }
.sub-tile img { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; flex: none; }
.sub-tile b { display: block; font-size: 16px; }
.sub-tile span { font-size: 13px; color: var(--ink-500); }

/* 상세 */
.det-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.gal .main { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.gal .main img { width: 100%; height: 100%; object-fit: cover; transition: object-position .3s, transform .3s; }
.gal .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gal .thumbs button { aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.gal .thumbs button.on { border-color: var(--brand-600); }
.gal .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sum h1 { margin: 8px 0 10px; }
.sum .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.fact { padding: 14px 16px; background: var(--bg); border-radius: var(--r-md); border: 1px solid var(--line); }
.fact span { display: block; font-size: 12px; color: var(--ink-500); }
.fact b { display: block; font-size: 17px; line-height: 26px; color: var(--ink-900); }
.sticky-tabs { position: sticky; top: 72px; z-index: 50; background: var(--bg); padding-top: 8px; margin-top: 40px; }
.cert { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.cert .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; flex: none; }
.cert b { display: block; }
.cert span { font-size: 13px; color: var(--ink-500); }
.sup-box { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); margin-top: 18px; color: inherit; }
.sup-box:hover { text-decoration: none; border-color: var(--brand-500); }
.sup-box .lg { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.prop-hl td:nth-child(2) { font-weight: 700; }
.sup-hero { position: relative; height: 240px; border-radius: 0 0 24px 24px; overflow: hidden; }
.sup-hero img { width: 100%; height: 100%; object-fit: cover; }
.sup-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,39,64,0) 30%, rgba(15,39,64,.65)); }
.sup-head { display: flex; gap: 20px; align-items: flex-start; position: relative; z-index: 2; padding: 16px 0 24px; }
.sup-head .lg { margin-top: -64px; }
.sup-head .lg { width: 96px; height: 96px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-md); display: grid; place-items: center; font-weight: 800; font-size: 40px; color: var(--brand-700); flex: none; }
.metric { text-align: center; padding: 18px 12px; }
.metric b { display: block; font-size: 26px; line-height: 34px; color: var(--brand-700); }
.metric span { font-size: 12px; color: var(--ink-500); }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }

/* RFQ, 거래 */
.rfq-lay { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding-bottom: 64px; }
.vstep { position: sticky; top: 96px; padding: 20px; }
.vstep li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; position: relative; }
.vstep li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 44px; bottom: -8px; width: 2px; background: var(--line); }
.vstep .dotn { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--ink-500); flex: none; }
.vstep li.on .dotn { border-color: var(--brand-600); background: var(--brand-600); color: #fff; }
.vstep li.done .dotn { border-color: var(--ok); background: var(--ok); color: #fff; }
.vstep b { display: block; font-size: 14px; }
.vstep span { font-size: 12px; color: var(--ink-500); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.sup-pick { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; background: #fff; }
.sup-pick:hover { border-color: var(--brand-500); }
.sup-pick.on { border-color: var(--brand-600); background: var(--brand-50); }
.sup-pick input { width: 18px; height: 18px; accent-color: var(--brand-600); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cmp { min-width: 880px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; font-size: 14px; line-height: 22px; }
.cmp th:last-child, .cmp td:last-child { border-right: 0; }
.cmp thead th { background: var(--surface-2); vertical-align: bottom; }
.cmp tbody th { background: var(--bg); text-align: left; width: 150px; font-size: 13px; color: var(--ink-500); font-weight: 600; position: sticky; left: 0; z-index: 1; }
.cmp td.best { background: #f3faf6; box-shadow: inset 0 0 0 2px rgba(28,122,77,.35); }
.cmp td.sel { background: var(--brand-50); }
.cmp .big { font-size: 20px; font-weight: 800; color: var(--ink-900); }
.cmp .pend { color: var(--ink-400); font-style: normal; }
.cmp .shead { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.cmp .shead .lg { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--brand-700); }
.arrive { animation: arrive .5s ease; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dstep { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; }
.dstep li { text-align: center; position: relative; padding: 0 4px; }
.dstep li:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 50%; right: -50%; height: 3px; background: var(--line); z-index: 0; }
.dstep li.done:not(:last-child)::after { background: var(--ok); }
.dstep .dotn { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line-strong); background: #fff; display: grid; place-items: center; margin: 0 auto 8px; font-weight: 700; font-size: 13px; color: var(--ink-500); }
.dstep li.done .dotn { background: var(--ok); border-color: var(--ok); color: #fff; }
.dstep li.on .dotn { border-color: var(--brand-600); color: var(--brand-600); box-shadow: 0 0 0 5px rgba(31,90,140,.18); }
.dstep b { display: block; font-size: 13px; line-height: 18px; }
.dstep span { font-size: 11px; color: var(--ink-500); }
.deal-lay { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; padding-bottom: 64px; }
.act-panel { border: 2px solid var(--brand-600); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.act-panel.wait { border-color: var(--line-strong); background: var(--bg); }
.log li { display: flex; gap: 12px; padding: 10px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.log li:last-child { border: 0; }
.log time { color: var(--ink-500); flex: none; width: 82px; font-size: 12px; }
.msgs { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; padding: 4px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.msg.me { align-self: flex-end; background: var(--brand-600); color: #fff; }
.msg small { display: block; font-size: 11px; opacity: .7; margin-bottom: 2px; }
.doc { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14px; }
.doc svg { color: var(--brand-600); }

/* 대시보드 */
.dash-lay { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding: 24px 0 64px; }
.snav { position: sticky; top: 96px; padding: 12px; }
.snav button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 12px; border: 0; background: transparent; border-radius: var(--r-md); font-weight: 600; font-size: 14px; color: var(--ink-700); text-align: left; min-height: 44px; }
.snav button:hover { background: var(--surface-2); }
.snav button.on { background: var(--brand-50); color: var(--brand-700); }
.snav .cnt { margin-left: auto; background: var(--accent-600); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 7px; min-width: 20px; text-align: center; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { padding: 20px; }
.kpi > span { font-size: 13px; color: var(--ink-500); display: flex; align-items: center; gap: 6px; }
.kpi b { display: block; font-size: 30px; line-height: 40px; margin-top: 6px; color: var(--brand-900); }
.kpi small { font-size: 12px; color: var(--ink-500); }
.minip { display: flex; gap: 3px; }
.minip i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.minip i.d { background: var(--ok); }
.minip i.o { background: var(--brand-500); }
.notif li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.notif li:last-child { border: 0; }
.notif .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.notif small { color: var(--ink-500); display: block; font-size: 12px; }

/* 인사이트 */
.ins-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none !important; }
.ins-card .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.ins-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.ins-card .bd { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.ins-card h3 { font-size: 17px; line-height: 26px; }
.ins-card p { font-size: 14px; color: var(--ink-500); }
.article { max-width: 780px; margin: 0 auto; }
.article h1 { margin: 12px 0 16px; }
.article .body p { margin: 0 0 18px; font-size: 16px; line-height: 28px; color: var(--ink-700); }
.article .body h3 { margin: 28px 0 10px; }
.article .cover { aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; margin: 24px 0; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.auth-lay { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 108px); }
.auth-vis { position: relative; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.auth-vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-vis::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,39,64,.25), rgba(15,39,64,.9)); z-index: 1; }
.auth-vis > *:not(img) { position: relative; z-index: 2; }
.auth-form { display: grid; place-items: center; padding: 48px 32px; background: #fff; }
.auth-form > div { width: 100%; max-width: 440px; }

/* 모달, 서랍, 알림 */
.ovl { position: fixed; inset: 0; background: rgba(15,27,42,.55); z-index: 200; display: grid; place-items: center; padding: 20px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 600px; max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--sh-lg); }
.modal-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-bd { padding: 24px; }
.modal-ft { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: #fff; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(760px, 100vw); background: #fff; z-index: 210; box-shadow: var(--sh-lg); display: flex; flex-direction: column; animation: slide .22s ease; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-hd { padding: 20px 24px 0; border-bottom: 1px solid var(--line); }
.drawer-bd { padding: 24px; overflow-y: auto; flex: 1; }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); }
.toast { background: var(--brand-900); color: #fff; padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--sh-lg); display: flex; gap: 10px; align-items: flex-start; font-size: 14px; max-width: 420px; animation: arrive .25s; }
.toast svg { color: #6fd6a1; margin-top: 2px; }
.pop { position: absolute; right: 0; top: 52px; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); z-index: 120; padding: 8px 16px; }

/* 디자인 시스템 서랍 */
.ds-sec { margin-bottom: 36px; }
.ds-sec h3 { font-size: 17px; margin-bottom: 4px; }
.ds-sec > p { font-size: 13px; color: var(--ink-500); margin-bottom: 14px; }
.ds-used { font-size: 12px; color: var(--ink-500); margin-top: 8px; }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sw { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; font-size: 12px; }
.sw i { display: block; height: 56px; }
.sw div { padding: 8px 10px; line-height: 17px; }
.sw b { display: block; font-size: 12px; }
.sw code, .ds code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--ink-500); }
.ds-state { display: grid; grid-template-columns: 110px repeat(4, 1fr); gap: 10px 14px; align-items: center; font-size: 12px; }
.ds-state > span { color: var(--ink-500); font-weight: 600; }
.ty-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ty-row small { color: var(--ink-500); font-size: 12px; }
.sp-row { display: flex; align-items: center; gap: 12px; font-size: 12px; margin-bottom: 8px; }
.sp-row i { display: block; height: 14px; background: var(--brand-500); border-radius: 3px; }
.ic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.ic-grid div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 6px; text-align: center; font-size: 11px; color: var(--ink-500); }
.ic-grid svg { margin: 0 auto 6px; color: var(--ink-900); }

/* 반응형 */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .gnb > li > a { padding: 0 9px; font-size: 14px; }
  .hsearch { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-vis img { height: 320px; }
  .list-lay, .cat-lay { grid-template-columns: 1fr; }
  .filters { position: static; }
  .det-top { grid-template-columns: 1fr; }
  .rfq-lay, .deal-lay, .dash-lay { grid-template-columns: 1fr; }
  .vstep, .snav { position: static; }
  .vstep ol { display: flex; gap: 8px; overflow-x: auto; }
  .vstep li { flex: none; }
  .vstep li:not(:last-child)::after { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .snav { display: flex; overflow-x: auto; gap: 4px; }
  .snav button { flex: none; width: auto; }
  .auth-lay { grid-template-columns: 1fr; }
  .auth-vis { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 40px 0; }
  .t-display { font-size: 30px; line-height: 40px; }
  .t-h1 { font-size: 25px; line-height: 34px; }
  .util .wrap > a { display: none; }
  .gnb { display: none; }
  .hdr .wrap { gap: 8px; height: 60px; }
  .burger { display: inline-grid; margin-left: auto; }
  .hact { margin-left: 0; }
  .mnav { display: block; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .mnav a { display: block; padding: 13px 4px; font-weight: 600; color: var(--ink-900); border-bottom: 1px solid var(--line); }
  .mnav .m-sub { padding-left: 14px; font-weight: 500; font-size: 14px; color: var(--ink-500); }
  .logo small { display: none; }
  .g2, .g3, .g4, .steps4, .kpis { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi b { font-size: 24px; }
  .sbox { flex-wrap: wrap; }
  .sbox select { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); min-height: 48px; }
  .sbox input { min-height: 52px; width: 100%; flex: 1 1 100%; }
  .sbox .btn { width: 100%; min-height: 52px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
  .hero-vis img { height: 220px; }
  .float.f1 { left: 8px; bottom: -18px; padding: 10px 12px; }
  .float.f2 { display: none; }
  .cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .mcard.list { flex-direction: column; }
  .mcard.list .ph { width: 100%; aspect-ratio: 4 / 3; }
  .form-grid { grid-template-columns: 1fr; }
  .dstep { grid-template-columns: 1fr; gap: 14px; }
  .dstep li { display: flex; gap: 12px; text-align: left; align-items: flex-start; }
  .dstep li:not(:last-child)::after { display: none; }
  .dstep .dotn { margin: 0; flex: none; }
  .sup-head { flex-direction: column; align-items: flex-start; }
  .sup-head .lg { width: 72px; height: 72px; font-size: 30px; }
  .sup-hero { height: 160px; }
  .kv { grid-template-columns: 110px 1fr; }
  .card-pad, .card-bd { padding: 18px; }
  .card-hd { padding: 14px 18px; flex-wrap: wrap; }
  .sec-hd { flex-direction: column; align-items: flex-start; }
  .ftr .cols { grid-template-columns: 1fr; }
  .ds-state { grid-template-columns: 1fr 1fr; }
  .ty-row { grid-template-columns: 1fr; gap: 4px; }
  .sum .facts { grid-template-columns: 1fr 1fr; }
  .float b { font-size: 18px; }
  .pop { right: -60px; width: 300px; }
  .modal { border-radius: 16px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .toasts { left: 16px; right: 16px; bottom: 16px; }
  .auth-form { padding: 32px 16px; }
  .sticky-tabs { top: 60px; }
}
@media (max-width: 760px) {
  .util .wrap { gap: 10px; }
  .util .wrap > span:not(.sp) { display: none; }
  .util .seg { flex: none; }
  .grid.g2, .grid.g3 { grid-template-columns: 1fr !important; }
  .grid.g4 { grid-template-columns: 1fr 1fr !important; }
  .tbl { min-width: 620px; }
  .kpi { min-width: 0; }
  .metric { padding: 12px 8px; }
  .metric b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.dash-lay > *, .deal-lay > *, .rfq-lay > *, .list-lay > *, .cat-lay > *, .det-top > * { min-width: 0; }
.grid > * { min-width: 0; }

/* ===== 2차 보강: 상태, 목록 도구, 보조 화면 ===== */
.btn-danger-solid { background: var(--err); color: #fff; }
.btn-danger-solid:hover { background: #8f1f15; }
.err-t { color: var(--err); font-weight: 700; }
.sk { background: linear-gradient(90deg, var(--surface-2) 25%, #e3e9ef 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.sk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 0 18px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.sk-img { height: 170px; border-radius: 0; }
.sk-line { height: 14px; margin: 0 18px; display: block; }
.sk-card .sk-line:last-child { margin-bottom: 4px; }
td .sk-line, th .sk-line { margin: 0; }
.w40 { width: 40%; } .w70 { width: 70%; } .w90 { width: 90%; }
.state-page { max-width: 520px; margin: 0 auto; padding: 88px 0 120px; text-align: center; }
.state-page .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); color: var(--ink-500); display: inline-grid; place-items: center; margin-bottom: 18px; }
.state-page .ico.lock { background: var(--warn-bg); color: var(--warn); }
.state-page .ico.err { background: var(--err-bg); color: var(--err); }
.state-page .ico svg { width: 30px; height: 30px; }
.state-page h1 { margin-bottom: 8px; }
.toast.err { background: #7d1b12; }
.toast.err svg { color: #ffb4ab; }
.toast.info svg { color: #9ec4e2; }
.toast span { flex: 1; }
.tclose { border: 0; background: transparent; color: inherit; opacity: .7; padding: 2px; margin: -2px -6px 0 4px; border-radius: 6px; line-height: 0; }
.tclose:hover { opacity: 1; background: rgba(255,255,255,.15); }
.pager .gap { align-self: center; color: var(--ink-400); padding: 0 4px; }
.cn { margin-left: auto; font-size: 12px; color: var(--ink-400); font-variant-numeric: tabular-nums; }
.check { position: relative; }
.fbtn { display: none; margin-bottom: 14px; }
.lnk { border: 0; background: transparent; padding: 0; color: inherit; text-decoration: underline; font-size: 13px; cursor: pointer; }
.ftr .lnk { color: #c9d6e4; }
.ftr .biz { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: #8fa3ba; }
.ftr .bt .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* 첫 화면 보강 */
.hero .wrap { padding-bottom: 76px; }
.quick { margin-top: -32px; position: relative; z-index: 2; }
.quick .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qa { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); color: var(--ink-900); text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.qa:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); border-color: var(--brand-500); }
.qa .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.qa div { flex: 1; }
.qa b { display: block; font-size: 17px; }
.qa span:not(.ico) { display: block; font-size: 13px; color: var(--ink-500); margin-top: 2px; }
.qa > svg { color: var(--ink-400); }
.qa-main { background: var(--accent-600); border-color: var(--accent-600); color: #fff; }
.qa-main .ico { background: rgba(255,255,255,.2); color: #fff; }
.qa-main span:not(.ico), .qa-main > svg { color: #fbe6d6; }
.qa-main:hover { border-color: var(--accent-700); }
.trust { background: var(--surface); border-bottom: 1px solid var(--line); margin-top: 32px; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.trust .wrap > div { display: flex; gap: 12px; align-items: flex-start; }
.trust .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.trust b { display: block; font-size: 14px; }
.trust span:not(.ico) { display: block; font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.tbl tr.clk:hover { background: var(--brand-50); }

/* 헤더 검색 자동 완성 */
#hs-pop { position: absolute; left: 0; right: 0; top: 100%; }
.pop.sg { position: absolute; left: 0; top: 6px; width: min(420px, 90vw); padding: 8px 14px 12px; }
.sg-h { font-size: 12px; font-weight: 700; color: var(--ink-500); padding: 10px 0 4px; }
.sg a:not(.chip):not(.sg-all) { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; color: var(--ink-900); font-size: 14px; }
.sg a:not(.chip):hover { background: var(--surface-2); text-decoration: none; }
.sg a small { margin-left: auto; color: var(--ink-500); font-size: 12px; }
.sg a svg { color: var(--ink-400); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-all { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 6px 0; border-top: 1px solid var(--line); color: var(--brand-700); font-weight: 600; font-size: 14px; }

/* 목록 도구 */
.lbar { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.lbar .grow { flex: 1; min-width: 200px; }
.lbar .select { min-height: 40px; padding: 6px 12px; width: auto; }
.lbar .btn { min-height: 40px; }
.isearch { position: relative; }
.isearch svg { position: absolute; left: 12px; top: 13px; color: var(--ink-500); }
.isearch .input { padding-left: 38px; min-height: 40px; }
.mtbl .chkc { width: 44px; text-align: center; }
.mtbl input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brand-600); }
.thumb { display: block; width: 56px; height: 42px; border-radius: 8px; overflow: hidden; flex: none; background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.big { width: 100%; height: 96px; border-radius: 10px; margin-bottom: 10px; }
.rec { display: flex; gap: 10px; align-items: center; padding: 10px; color: inherit; text-decoration: none !important; }
.rec b { display: block; font-size: 13px; line-height: 18px; }
.cmp-chk { margin-top: 4px; border-top: 1px dashed var(--line); padding-top: 8px; font-size: 13px; color: var(--ink-700); }
.sfilter { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 14px; padding: 18px 20px; margin-bottom: 20px; align-items: end; }
.sfilter .field > label { font-size: 12px; }
.sfilter .select { min-height: 42px; }

/* 비교 트레이 */
.cmp-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -8px 24px rgba(15,39,64,.14); }
.cmp-tray .wrap { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.cmp-tray .ti { font-weight: 700; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.cmp-tray .items { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cmp-tray .items .chip { flex: none; }
.btn.is-disabled[aria-disabled] { opacity: .45; pointer-events: none; }
.mcmp thead th { vertical-align: top; min-width: 200px; }
.mcmp tr.df td, .mcmp tr.df th { background: #fffaf0; }
.mcmp tr.grp th { background: var(--surface-2); color: var(--ink-700); font-size: 12px; letter-spacing: .04em; position: static; width: auto; }
.mcmp td { font-size: 14px; }

/* 소재 상세 보강 */
.opt-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; background: var(--surface); margin-bottom: 16px; }
.opt-box h4 { font-size: 14px; margin-bottom: 10px; }
.opt-box .form-grid { gap: 12px; }
.opt-box .select { min-height: 40px; }
.qa-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa-item:last-child { border-bottom: 0; }
.qa-item p { flex: 1; }
.bars { display: flex; align-items: flex-end; gap: 14px; height: 190px; padding-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.bars i { display: block; width: 100%; max-width: 48px; background: var(--brand-500); border-radius: 6px 6px 0 0; }
.bars b { font-size: 12px; color: var(--ink-700); }
.bars span { font-size: 12px; color: var(--ink-500); }
.paper { border: 1px solid var(--line-strong); border-radius: 10px; padding: 24px 28px; background: #fff; }
.paper h4 { font-size: 18px; margin-bottom: 14px; text-align: center; letter-spacing: -.01em; }
.track { margin: 0; padding: 0; list-style: none; }
.track li { position: relative; padding: 0 0 18px 26px; border-left: 2px solid var(--line); margin-left: 6px; }
.track li:last-child { border-left-color: transparent; padding-bottom: 0; }
.track li::before { content: ""; position: absolute; left: -8px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); }
.track li.done { border-left-color: var(--ok); }
.track li.done::before { background: var(--ok); border-color: var(--ok); }
.track li b { display: block; font-size: 14px; }
.track li span { font-size: 12px; color: var(--ink-500); }
.doc-btn { width: 100%; background: #fff; cursor: pointer; }
.doc-btn:hover { border-color: var(--brand-500); background: var(--brand-50); }
.prefrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prefrow:last-child { border-bottom: 0; }
.prefrow small { display: block; font-size: 12px; color: var(--ink-500); }
.pw-bar { display: block; height: 5px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.pw-bar i { display: block; height: 100%; width: 0; background: var(--err); transition: width .2s, background .2s; }
.pw-bar[data-s="1"] i { width: 33%; background: var(--err); }
.pw-bar[data-s="2"] i { width: 66%; background: #d99a00; }
.pw-bar[data-s="3"] i { width: 100%; background: var(--ok); }
.sum-box .kv > dt, .sum-box .kv > dd { padding: 10px 0; }

/* 고객센터, 입점 안내 */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg); }
.faq summary svg { transition: transform .15s; flex: none; color: var(--ink-500); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; color: var(--ink-700); line-height: 26px; }
.phero { background: linear-gradient(180deg, var(--surface) 0%, var(--brand-50) 100%); }
.phero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.phero em { font-style: normal; color: var(--accent-600); }
.phero .lead { color: var(--ink-500); font-size: 17px; line-height: 28px; margin-top: 16px; max-width: 520px; }
.pstat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pstat div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); }
.pstat b { display: block; font-size: 28px; line-height: 36px; color: var(--brand-700); }
.pstat span { font-size: 13px; color: var(--ink-500); }

/* 대시보드 보강 */
.snav .cnt { margin-left: auto; }
.card > .lbar:first-of-type { border-top: 0; }
.card .tbl-wrap + .pager { margin-bottom: 16px; }

/* 반응형 보강 */
@media (max-width: 1100px) {
  .fbtn { display: inline-flex; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .quick .wrap { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .phero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .sfilter { grid-template-columns: repeat(3, 1fr); }
  .sfilter .field:first-child { grid-column: 1 / -1; }
  .hdr .wrap { gap: 18px; }
}
@media (max-width: 760px) {
  .quick { margin-top: -20px; }
  .qa { padding: 16px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .sfilter { grid-template-columns: 1fr 1fr; }
  .lbar { padding: 12px 16px; }
  .lbar .grow { flex: 1 1 100%; }
  .lbar .field:not(.grow) { flex: 1 1 calc(50% - 10px); }
  .lbar .select { width: 100%; }
  .cmp-tray .wrap { flex-wrap: wrap; gap: 8px; }
  .cmp-tray .items { order: 3; flex: 1 1 100%; }
  .pstat { grid-template-columns: 1fr 1fr; }
  .paper { padding: 18px 16px; }
  .bars { gap: 6px; }
  .pop.sg { width: 92vw; left: -60px; }
  .state-page { padding: 56px 0 88px; }
  .mtbl { min-width: 860px; }
  .faq summary { padding: 16px; }
  .faq details p { padding: 0 16px 16px; }
  .prefrow { align-items: flex-start; }
}
.msearch { position: relative; margin-bottom: 8px; }
.msearch svg { position: absolute; left: 14px; top: 14px; color: var(--ink-500); }
.msearch .input { padding-left: 40px; border-radius: var(--r-pill); background: var(--surface-2); border-color: transparent; }
.mtbl { min-width: 1000px; }
.mtbl td { vertical-align: middle; }
.mtbl td:nth-child(2) { min-width: 250px; }
.mtbl td:nth-child(3) { white-space: nowrap; }
.mtbl td:nth-child(4) { min-width: 170px; }
.mtbl td:nth-child(5) { min-width: 140px; }
.mtbl td.r, .mtbl th.r { white-space: nowrap; }
.mtbl td:last-child { white-space: nowrap; }
@media (max-width: 760px) {
  .tbl { min-width: 780px; }
  .tbl th, .tbl td { white-space: nowrap; }
  .tbl td:nth-child(2) { white-space: normal; min-width: 190px; }
  .mtbl td:nth-child(2) { min-width: 230px; }
  .mtbl td:nth-child(4), .mtbl td:nth-child(5) { white-space: normal; }
  .cmp { min-width: 760px; }
}
.tbl td.r, .tbl td.num, .tbl th.r { white-space: nowrap; }
