/* 준올 텍스타일 원단 라이브러리 */
:root {
  --bg: #f6f3ee; --paper: #ffffff; --ink: #1d2433; --muted: #657084; --line: #e3ded4; --line2: #eeeae2;
  --brand: #243449; --brand2: #34506f; --accent: #b4603c; --accent-soft: #f6e6dc; --sage: #e3ebe0;
  --ok: #2b7a52; --ok-bg: #e2f1e8; --warn: #9a5b0a; --warn-bg: #fbf0dc; --err: #b3372f; --err-bg: #fbe6e3; --info-bg: #e6edf5;
  --c-text: #34506f; --c-img: #b4603c; --c-blk: #c9c3b8;
  --r: 10px; --shadow: 0 1px 2px rgba(29,36,51,.06), 0 6px 18px rgba(29,36,51,.06);
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "NanumSquare", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; letter-spacing: -0.005em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: 28px; } h2 { font-size: 21px; } h3 { font-size: 16px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); } .sm { font-size: 12.5px; }
:focus-visible { outline: 3px solid #5b8fd1; outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; }
.boot { padding: 80px 0; text-align: center; color: var(--muted); }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 90; background: rgba(36,52,73,.12); overflow: hidden; }
.progress i { display: block; height: 100%; width: 35%; background: var(--accent); animation: slide 1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* 역할 전환 띠 */
.strip { background: #151d2b; color: #d6dbe5; font-size: 12.5px; }
.strip-in { max-width: 1480px; margin: 0 auto; padding: 6px 32px; display: flex; align-items: center; gap: 16px; }
.strip .seg { display: inline-flex; background: #263247; border-radius: 8px; padding: 2px; }
.strip .seg button { border: 0; background: transparent; color: #aab4c6; padding: 4px 12px; border-radius: 6px; font-size: 12.5px; }
.strip .seg button.on { background: #f4efe6; color: #1d2433; font-weight: 600; }
.strip-note { flex: 1; color: #8f9bb0; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; display: inline-flex; align-items: center; gap: 4px; }
.strip .link-btn { color: #aab4c6; }
.link-btn:hover { color: var(--accent); }

/* 머리말 */
.hd { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.hd-in { max-width: 1480px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.brand-t b { font-size: 14px; letter-spacing: .08em; color: var(--brand); }
.brand-t i { font-style: normal; font-size: 12px; color: var(--muted); margin-top: 3px; }
.hd-search { flex: 1; max-width: 560px; position: relative; display: flex; align-items: center; background: #f2eee7; border: 1px solid transparent; border-radius: 999px; padding: 0 14px; color: var(--muted); }
.hd-search:focus-within { background: #fff; border-color: var(--brand2); }
.hd-search input { border: 0; background: transparent; flex: 1; padding: 10px 10px; outline: 0; min-width: 0; color: var(--ink); }
.hd-nav { display: flex; gap: 4px; }
.hd-nav a { padding: 8px 12px; border-radius: 8px; font-weight: 500; color: #3c475b; }
.hd-nav a:hover, .hd-nav a.on { background: var(--sage); color: var(--brand); }
.hd-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.seg.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg.lang button { border: 0; background: #fff; padding: 6px 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.seg.lang button.on { background: var(--brand); color: #fff; }
.tool { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 500; }
.tool.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.badge { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; }
.admin-hd .brand-t i { color: var(--accent); font-weight: 600; }
.grow { flex: 1; }

/* 버튼과 폼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.btn:hover { border-color: var(--brand2); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand2); }
.btn.danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn.on { background: var(--sage); border-color: #b7c9b0; color: #2a4a33; }
.btn.sm { padding: 6px 11px; font-size: 13px; }
.btn.lg { padding: 13px 22px; font-size: 15.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block-btn { width: 100%; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); padding: 0; }
.icon-btn:hover { background: #efeae1; color: var(--ink); }
.icon-btn.danger:hover { background: var(--err-bg); color: var(--err); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field label { font-weight: 600; font-size: 13.5px; }
.req { color: var(--err); }
.field input, .field select, .field textarea, .rng input, .rng select, .toolbar select, .toolbar input[type=date], .sort select { border: 1px solid #cfc9bd; border-radius: 8px; background: #fff; padding: 9px 11px; width: 100%; min-width: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(91,143,209,.35); border-color: var(--brand2); }
.field [aria-invalid="true"] { border-color: var(--err); background: #fff8f7; }
.hint { color: var(--muted); font-size: 12.5px; }
.err { color: var(--err); font-size: 12.5px; min-height: 0; display: block; }
.err:empty { display: none; }
.chk, .radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.chk input, .radio input { width: 17px; height: 17px; accent-color: var(--brand); }
.agree { align-items: flex-start; }
.agree input { margin-top: 3px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.f3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.fs { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px 12px; margin: 0 0 14px; min-width: 0; }
.fs legend { padding: 0 6px; font-weight: 600; font-size: 13.5px; }
.fs-r { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fs.wide { padding: 14px 18px; }

/* 안내 상자 */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; margin: 0 0 14px; font-size: 14px; background: var(--info-bg); color: #28415f; }
.notice.warn { background: var(--warn-bg); color: #6d4107; } .notice.err { background: var(--err-bg); color: #7a211c; } .notice.info { background: var(--info-bg); }
.notice p { margin: 4px 0 8px; } .notice .row { display: flex; gap: 8px; flex-wrap: wrap; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .row.end { justify-content: flex-end; margin-top: 14px; }
.state-view { max-width: 560px; margin: 70px auto; text-align: center; padding: 0 20px; }
.state-view h1 { margin: 14px 0 8px; font-size: 24px; } .state-view p { color: var(--muted); margin-bottom: 18px; } .state-view .row { justify-content: center; }
.state-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--sage); color: var(--brand); display: grid; place-items: center; }
.state-ic.err { background: var(--err-bg); color: var(--err); }
.empty { text-align: center; padding: 46px 20px; background: var(--paper); border: 1px dashed #d4cec2; border-radius: var(--r); }
.empty h3 { margin: 12px 0 6px; } .empty p { color: var(--muted); margin-bottom: 14px; } .empty .row { justify-content: center; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #1d2433; color: #fff; padding: 11px 18px; border-radius: 10px; display: flex; align-items: center; gap: 10px; z-index: 120; box-shadow: var(--shadow); max-width: min(560px, 92vw); font-size: 14px; }
.toast.err { background: #8f2a23; }
.toast[hidden] { display: none; }

/* 본문 공통 */
main:focus, main:focus-visible { outline: 0; }
main { max-width: 1480px; margin: 0 auto; padding: 28px 32px 64px; min-height: 60vh; outline: 0; }
body[data-area="admin"] main { max-width: none; padding: 0; }
.block { margin: 48px 0 0; } .block-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.more { display: inline-flex; align-items: center; color: var(--accent); font-weight: 600; font-size: 14px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }
.col { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #3c475b; } .col.big { font-size: 15px; margin: 6px 0 10px; }
.sku { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.ph { display: block; width: 100%; aspect-ratio: 1; background: #b9b4aa; }
.ph.s { width: 44px; height: 44px; border-radius: 6px; }

/* 홈 */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 20px 0 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.hero h1 { font-size: 44px; line-height: 1.18; margin: 16px 0 14px; letter-spacing: -0.03em; word-break: keep-all; }
.lead { font-size: 17px; color: #46506a; max-width: 640px; word-break: keep-all; }
.hero-box { margin-top: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.fine { margin-top: 12px; color: var(--muted); font-size: 13px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tabs > a, .tabs > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: #3c475b; }
.tabs > .on { background: var(--brand); color: #fff; border-color: var(--brand); }
.big-search { display: flex; gap: 8px; position: relative; }
.big-search input { flex: 1; min-width: 0; border: 1px solid #cfc9bd; border-radius: 10px; padding: 13px 16px; font-size: 16px; background: #fff; }
.big-search input:focus { outline: 3px solid rgba(91,143,209,.35); border-color: var(--brand2); }
.big-search input[aria-invalid="true"] { border-color: var(--err); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.chip { border: 1px solid var(--line); background: #faf8f4; border-radius: 999px; padding: 5px 12px; font-size: 13px; color: #3c475b; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.suggest { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); z-index: 20; margin-top: 4px; overflow: hidden; }
.suggest button { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; border: 0; background: #fff; color: #3c475b; }
.suggest button:hover { background: var(--sage); }
.hero-r { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; aspect-ratio: 1.25; }
.mo { position: relative; border-radius: 14px; overflow: hidden; background: #ddd; }
.mo img, .mo .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.mo span { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.88); font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 6px; }
.mo.m0 { grid-row: span 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 36px; }
.stats div { background: var(--paper); padding: 16px 22px; display: flex; flex-direction: column; }
.stats b { font-size: 26px; letter-spacing: -.02em; color: var(--brand); } .stats span { color: var(--muted); font-size: 13px; }
.use-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.use { position: relative; border-radius: 14px; overflow: hidden; background: #ddd; aspect-ratio: 1 / 1.05; display: block; }
.use img, .use .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.use span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(20,28,42,.82)); color: #fff; padding: 28px 12px 10px; display: flex; flex-direction: column; }
.use b { font-size: 15px; } .use i { font-style: normal; font-size: 12.5px; opacity: .85; }
.ex-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ex { position: relative; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.ex:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.ex-k { color: var(--accent); font-weight: 700; font-size: 12.5px; } .ex b { font-size: 16px; line-height: 1.35; } .ex span:not(.ex-k) { color: var(--muted); font-size: 13.5px; } .ex i { position: absolute; right: 14px; bottom: 14px; color: var(--accent); }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.step-list li > span { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.step-list p { color: var(--muted); font-size: 13.5px; }
.step-list.v { grid-template-columns: 1fr; } .step-list.v li { flex-direction: row; align-items: flex-start; gap: 12px; padding: 12px 14px; }

/* 카드 */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card:hover { box-shadow: var(--shadow); }
.card-img { position: relative; display: block; aspect-ratio: 1; background: #e8e3da; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; } .card:hover .card-img img { transform: scale(1.03); }
.card-img .ph { height: 100%; }
.card-b { padding: 12px 14px 8px; flex: 1; min-width: 0; }
.card-b h3 { font-size: 15.5px; margin: 3px 0 4px; word-break: keep-all; } .card-b h3 a:hover { color: var(--accent); }
.spec { font-size: 13px; color: #3c475b; margin-top: 6px; } .spec2 { font-size: 12.5px; color: var(--muted); }
.card-f { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 12px; }
.tierb, .oos { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tierb.match { background: var(--ok); color: #fff; } .tierb.near { background: #fff; color: var(--warn); border: 1px solid #e3c68f; }
.oos { top: auto; bottom: 10px; background: rgba(29,36,51,.82); color: #fff; font-weight: 500; }
.score { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 10px; padding: 3px 9px; display: flex; align-items: baseline; gap: 4px; box-shadow: var(--shadow); }
.score b { font-size: 18px; color: var(--brand); } .score i { font-style: normal; font-size: 11px; color: var(--muted); } .score.near b { color: var(--warn); }
.reasons { margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.reasons li { font-size: 12.5px; color: var(--ok); display: flex; align-items: center; gap: 5px; } .reasons li.gap { color: var(--warn); }
.bars { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.bars li { display: grid; grid-template-columns: 34px 1fr 26px; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.bars i { height: 6px; background: #ece7de; border-radius: 3px; position: relative; } .bars i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--c-text); border-radius: 3px; }
.bars b { text-align: right; color: #3c475b; font-weight: 600; }
.skel .card-img { background: linear-gradient(90deg, #ece7de, #f5f1ea, #ece7de); background-size: 200% 100%; animation: sh 1.2s infinite; }
.skel .card-b i { display: block; height: 12px; border-radius: 6px; background: #ece7de; margin: 10px 0; } .skel .card-b i.s { width: 55%; }
@keyframes sh { to { background-position: -200% 0; } }

/* 검색 화면 */
.sp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.mode-box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 20px; }
.sp-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.side { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px 14px 14px; position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; }
.side-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 4px; }
.fg { border-bottom: 1px solid var(--line2); padding: 10px 0; } .fg:last-of-type { border-bottom: 0; }
.fg summary { font-weight: 700; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.fg summary::-webkit-details-marker { display: none; } .fg summary::after { content: "+"; color: var(--muted); } .fg[open] summary::after { content: "-"; }
.fg summary b { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 7px; margin-left: 6px; margin-right: auto; }
.opts { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; max-height: 240px; overflow: auto; }
.opt { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; } .opt span { flex: 1; } .opt em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.opt input { accent-color: var(--brand); width: 16px; height: 16px; } .opt.zero { opacity: .45; } .opt.solo { margin-top: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sw { position: relative; cursor: pointer; } .sw input { position: absolute; opacity: 0; inset: 0; } .sw i { display: block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #cfc9bd; }
.sw input:checked + i { box-shadow: 0 0 0 2px var(--brand); } .sw input:focus-visible + i { outline: 3px solid #5b8fd1; outline-offset: 2px; } .sw.zero { opacity: .3; }
.rng { margin: 10px 0 0; font-size: 13px; } .rng > span { display: block; margin-bottom: 4px; color: #3c475b; font-weight: 600; } .rng > div { display: flex; align-items: center; gap: 6px; } .rng input, .rng select { padding: 7px 9px; font-size: 13.5px; }
.res-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.count { flex: 1; font-size: 15px; } .count span { color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); } .sort select { width: auto; padding: 7px 10px; }
.mob-only { display: none; }
.interp { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.interp-t { display: inline-flex; gap: 5px; align-items: center; color: var(--accent); font-weight: 700; font-size: 13px; margin-right: 4px; }
.ichip { display: inline-flex; align-items: center; gap: 6px; background: var(--sage); border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 13.5px; }
.ichip b { font-size: 11.5px; color: #3d5a45; background: rgba(255,255,255,.7); border-radius: 999px; padding: 1px 7px; } .ichip em { font-style: normal; font-size: 11px; color: var(--muted); }
.ichip.neg { background: var(--err-bg); } .ichip.neg b { color: var(--err); } .ichip.off { opacity: .55; text-decoration: line-through; }
.ichip button { border: 0; background: rgba(255,255,255,.7); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: #3c475b; }
.unk { font-size: 12.5px; color: var(--muted); }
.active-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.near-sep { grid-column: 1 / -1; margin: 8px 0 -2px; } .near-sep span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--warn); font-size: 14px; border-bottom: 2px solid #e3c68f; padding-bottom: 4px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 0; align-items: center; }
.pg { min-width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 8px; display: inline-grid; place-items: center; font-weight: 600; padding: 0 8px; }
.pg.on { background: var(--brand); color: #fff; border-color: var(--brand); } .pg:disabled { opacity: .4; cursor: not-allowed; } .pager .gap { color: var(--muted); }
.pager .pg:first-child .ic { transform: rotate(180deg); }
.drop { border: 2px dashed #c4bcaa; border-radius: 14px; background: #faf8f4; padding: 30px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; color: #3c475b; }
.drop:hover, .drop.over { border-color: var(--accent); background: #fdf4ee; } .drop-ic { color: var(--accent); } .drop span { color: var(--muted); font-size: 13px; }
.samples { margin-top: 14px; } .samples-t { font-size: 13px; color: var(--muted); } .samples-r { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.sample { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; width: 92px; }
.sample img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; } .sample:hover { border-color: var(--accent); }
.ref { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ref img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.ref-b { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 220px; } .ref-b > span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.emph { display: flex; gap: 6px; flex-wrap: wrap; } .emph button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; } .emph button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 상세 */
.crumb { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 16px; } .crumb a:hover { color: var(--accent); }
.d-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.d-img { position: relative; width: 100%; border: 0; padding: 0; background: none; border-radius: 16px; overflow: hidden; display: block; } .d-img img, .d-img .ph { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.zoom { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.9); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }
.cw { margin-top: 14px; } .cw-r { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; } .cw-i { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; display: block; } .cw-i.on { border-color: var(--brand); } .cw-i img, .cw-i i { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-info h1 { font-size: 32px; margin: 4px 0 2px; word-break: keep-all; } .sub { color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; } .bdg { display: inline-flex; align-items: center; gap: 5px; background: var(--ok-bg); color: var(--ok); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; } .bdg.soft { background: #ece8df; color: #4a5368; }
.pricebox { display: flex; gap: 12px; background: #faf8f4; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 14px 0; } .pricebox p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.d-cta { display: flex; gap: 10px; flex-wrap: wrap; } .d-sec { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.note { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); } .warn-t { color: var(--warn); }
.d-spec { margin-top: 44px; } .d-spec h2 { margin-bottom: 14px; }
.spec-t { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-t th, .spec-t td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line2); vertical-align: top; } .spec-t th { width: 200px; background: #faf8f4; font-weight: 600; color: #3c475b; } .spec-t tr:last-child th, .spec-t tr:last-child td { border-bottom: 0; }
.compbar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 6px; max-width: 360px; } .compbar i { display: block; } .comp-t { font-size: 13.5px; }

/* 비교, 요청, 완료, 문서 */
.cmp-wrap { overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.cmp-t { width: 100%; border-collapse: collapse; min-width: 720px; } .cmp-t th, .cmp-t td { padding: 10px 14px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; font-size: 14px; }
.cmp-t thead th { min-width: 220px; vertical-align: top; } .cmp-t tbody th { width: 150px; background: #faf8f4; color: #3c475b; position: sticky; left: 0; }
.cmp-t tr.diff td, .cmp-t tr.diff th { background: #fdf6ea; } .cmp-h { display: flex; flex-direction: column; gap: 4px; } .cmp-h img, .cmp-h .ph { width: 100%; height: auto; aspect-ratio: 2.3; object-fit: cover; border-radius: 10px; }
.req-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.card-box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; } .cb-h { display: flex; justify-content: space-between; margin-bottom: 12px; } .cb-h span { color: var(--muted); font-size: 13px; }
.rq-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line2); align-items: start; } .rq-row:last-child { border-bottom: 0; } .rq-img img, .rq-img .ph { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; aspect-ratio: auto; }
.rq-row.bad { grid-template-columns: 1fr auto; } .rq-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .qty { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; } .qty label { font-size: 13px; font-weight: 600; } .qty input { width: 110px; border: 1px solid #cfc9bd; border-radius: 8px; padding: 7px 9px; }
.swatch-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.done { max-width: 1080px; margin: 24px auto; text-align: center; } .done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; } .done .lead { margin: 10px auto 26px; }
.done-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; align-items: start; } .mail { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13.5px; } .mail-h { background: #f3efe8; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; } .mail-b { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; } .mail-b ul { padding-left: 16px; list-style: disc; }
.doc { max-width: 860px; margin: 10px auto; } .doc h1 { margin-bottom: 10px; } .doc h2 { margin: 26px 0 8px; font-size: 18px; } .doc p { color: #3c475b; } .doc .lead { margin: 12px 0 24px; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; } .fact-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; } .fact-grid p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.plain { list-style: disc; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ft { background: #1b2434; color: #aeb7c7; margin-top: 40px; } .ft-in { max-width: 1480px; margin: 0 auto; padding: 36px 32px 20px; }
.ft-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; } .ft-cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; } .ft-cols b { color: #e8ecf3; } .ft-brand { letter-spacing: .1em; } .ft a:hover { color: #fff; }
.ft-bot { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 16px; border-top: 1px solid #2e394d; font-size: 12.5px; } .ft-in.slim { padding: 16px 32px; display: flex; justify-content: space-between; font-size: 12.5px; }
.demo-note { color: #8f9bb0; }

/* 대화상자 */
dialog { border: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(10,16,28,.35); }
dialog::backdrop { background: rgba(14,20,32,.55); }
dialog.modal { border-radius: 16px; width: min(520px, 94vw); max-height: 90vh; margin: auto; } dialog.modal.wide { width: min(900px, 94vw); }
dialog.drawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(560px, 100vw); border-radius: 16px 0 0 16px; } dialog.drawer.wide { width: min(720px, 100vw); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 2; } .dlg-body { padding: 18px 20px 22px; overflow: auto; }
dialog.drawer .dlg-body { max-height: calc(100vh - 66px); } .dlg-msg { margin-bottom: 14px; color: #3c475b; } .dlg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.zoom-img img, .zoom-img .ph { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; max-height: 76vh; }

/* 관리자 */
.adm { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 110px); }
.adm-nav { background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; position: sticky; top: 61px; align-self: start; height: calc(100vh - 61px); }
.adm-nav nav { display: flex; flex-direction: column; gap: 4px; } .adm-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 500; color: #3c475b; } .adm-nav a:hover { background: #f2eee7; } .adm-nav a.on { background: var(--brand); color: #fff; }
.adm-main { padding: 28px 36px 60px; min-width: 0; max-width: 1500px; }
.adm-h { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; flex-wrap: wrap; } .adm-h h1 { font-size: 26px; } .adm-h p { margin-top: 4px; max-width: 760px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; } .kpis.s { grid-template-columns: repeat(3, 1fr); }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; } a.kpi:hover { border-color: var(--brand2); } .kpi.hot { border-color: #e0a58d; background: #fff7f3; }
.kpi > span { color: var(--muted); font-size: 13px; } .kpi b { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; } .kpi small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 3px; } .kpi i { font-style: normal; color: var(--muted); font-size: 12.5px; }
.meter { height: 6px; background: #ece7de; border-radius: 3px; overflow: hidden; margin: 6px 0 2px; } .meter i { display: block; height: 100%; background: var(--c-img); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; min-width: 0; } .panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; } .two.top { align-items: start; } .legend { font-size: 12.5px; color: var(--muted); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 8px; }
.chart { width: 100%; height: auto; display: block; }
.rank { counter-reset: r; display: flex; flex-direction: column; } .rank li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line2); counter-increment: r; } .rank li::before { content: counter(r); width: 22px; color: var(--muted); font-weight: 700; } .rank li span { flex: 1; } .rank li:last-child { border-bottom: 0; }
.tbl-w { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.panel .tbl-w { border: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #faf8f4; white-space: nowrap; } .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tbl.hov tbody tr:hover, tr.clk:hover { background: #faf6ee; } tr.clk { cursor: pointer; } tr.dim td:not(.acts) { opacity: .55; } tr.bad-r td { background: #fff7f6; } .tbl .acts { white-space: nowrap; text-align: right; } .tb-img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.th-b { border: 0; background: none; font: inherit; color: inherit; display: inline-flex; gap: 4px; align-items: center; padding: 0; } .tbl-f { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; } .tbl-f .pager { margin: 0; }
.skel-r td i { display: block; height: 14px; background: #ece7de; border-radius: 6px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; } .toolbar select { width: auto; padding: 8px 10px; } .toolbar .dt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); } .toolbar .dt input { width: auto; padding: 7px 9px; }
.adm-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #cfc9bd; border-radius: 8px; padding: 0 10px; min-width: 260px; color: var(--muted); } .adm-search input { border: 0; padding: 8px 0; outline: 0; flex: 1; min-width: 0; background: transparent; color: var(--ink); } .adm-search:focus-within { outline: 3px solid rgba(91,143,209,.35); }
.seg-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; } .seg-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 13px; font-weight: 600; font-size: 13.5px; } .seg-tabs button.on { background: var(--brand); color: #fff; border-color: var(--brand); } .seg-tabs em { font-style: normal; opacity: .7; font-weight: 500; }
.stb { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; } .st-new { background: var(--info-bg); color: #2b4a73; } .st-wait { background: var(--warn-bg); color: var(--warn); } .st-ok { background: var(--ok-bg); color: var(--ok); } .st-done { background: #e3e6ec; color: #3c475b; } .st-off { background: var(--err-bg); color: var(--err); }
.rd-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; } .big { font-size: 17px; font-weight: 700; } .rd h3 { margin: 20px 0 8px; font-size: 14px; color: var(--accent); }
.dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; margin: 0; font-size: 14px; } .dl dt { color: var(--muted); } .dl dd { margin: 0; word-break: break-all; } .msg { background: #faf8f4; border-radius: 10px; padding: 10px 12px; }
.rd-items li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); } .rd-items li > div { flex: 1; min-width: 0; } .rd-items img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.tl { border-left: 2px solid var(--line); margin-left: 6px; padding-left: 14px; display: flex; flex-direction: column; gap: 10px; } .tl li { display: flex; flex-direction: column; font-size: 13.5px; } .tl li span { color: var(--muted); font-size: 12.5px; } .tl em { font-style: normal; background: #faf8f4; border-radius: 6px; padding: 3px 8px; margin-top: 3px; }
.memos li { background: #faf8f4; border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; } .mails { font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.comp-row { display: grid; grid-template-columns: 1fr 90px 16px 34px; gap: 8px; align-items: center; margin-bottom: 8px; } .comp-row select, .comp-row input { border: 1px solid #cfc9bd; border-radius: 8px; padding: 8px 10px; width: 100%; } #comp-total.ok { color: var(--ok); } #comp-total.bad { color: var(--err); }
.img-edit { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; } .img-edit img, .img-edit .ph { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; aspect-ratio: auto; }
.opt-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line2); } .opt-n { flex: 1; display: flex; flex-direction: column; } .opt-n code { background: #f2eee7; padding: 0 5px; border-radius: 4px; font-size: 12px; } .cnt { color: var(--muted); font-size: 13px; min-width: 80px; text-align: right; } .ord { display: flex; }
.errs { list-style: disc; padding-left: 16px; color: var(--err); font-size: 13px; } .paste { margin-top: 12px; } .paste summary { cursor: pointer; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.adm .drop { padding: 26px; }

/* 반응형 */
@media (max-width: 1280px) {
  .grid, .grid.g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .use-grid { grid-template-columns: repeat(4, 1fr); } .hero h1 { font-size: 38px; } .hero { gap: 28px; }
  .hd-nav { display: none; } .sp-body { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
  .two { grid-template-columns: 1fr; } .adm-main { padding: 24px 22px 50px; }
}
@media (max-width: 1024px) {
  main, .strip-in, .hd-in, .ft-in { padding-left: 20px; padding-right: 20px; }
  .hero { grid-template-columns: 1fr; } .hero-r { aspect-ratio: 2.4; } .hero h1 { font-size: 34px; }
  .grid, .grid.g4, .grid.g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .ex-grid, .step-list { grid-template-columns: repeat(2, 1fr); } .stats { grid-template-columns: repeat(2, 1fr); }
  .sp-body { grid-template-columns: minmax(0, 1fr); } .side { display: none; } .mob-only { display: inline-flex; }
  .d-grid { grid-template-columns: 1fr; gap: 24px; } .req-grid, .done-grid { grid-template-columns: 1fr; } .adm { grid-template-columns: minmax(0, 1fr); } .adm-nav { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; } .adm-nav nav { flex-direction: row; overflow-x: auto; } .adm-nav a { white-space: nowrap; }
  .hd-search { max-width: none; } .tool-t { display: none; } .kpis.s { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; } main { padding-top: 18px; } .strip-note { display: none; } .strip-in { gap: 8px; } .strip .seg button { padding: 4px 8px; font-size: 12px; }
  .hd-in { flex-wrap: wrap; gap: 10px; } .hd-search { order: 3; flex-basis: 100%; } .brand-t i { display: none; }
  h1 { font-size: 24px; } .hero h1 { font-size: 28px; } .lead { font-size: 15px; } .hero-r { display: none; } .hero-box { padding: 10px; }
  .big-search { flex-direction: column; } .big-search .btn { width: 100%; }
  .grid, .grid.g4, .grid.g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .card-b { padding: 10px 10px 4px; } .card-f { padding: 6px 10px 10px; flex-wrap: wrap; gap: 6px; }
  .use-grid { grid-template-columns: repeat(2, 1fr); } .ex-grid, .step-list, .fact-grid, .f2, .f3 { grid-template-columns: 1fr; } .stats b { font-size: 21px; } .stats div { padding: 12px 14px; }
  .d-info h1 { font-size: 25px; } .spec-t th { width: 110px; padding: 10px; } .spec-t td { padding: 10px; } .rq-row { grid-template-columns: 64px 1fr auto; gap: 10px; } .rq-img img, .rq-img .ph { width: 64px; height: 64px; }
  .ft-cols { grid-template-columns: 1fr; } .ft-bot { flex-direction: column; gap: 6px; } .adm-main { padding: 18px 14px 40px; } .sort { width: 100%; } .res-head { gap: 8px; }
  dialog.drawer { width: 100vw; border-radius: 0; } .kpi b { font-size: 24px; } .comp-row { grid-template-columns: 1fr 70px 14px 34px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

body[data-area="admin"] .hd-in, body[data-area="admin"] .strip-in, body[data-area="admin"] .ft-in { max-width: none; }
body[data-area="admin"] .hd-in { padding: 12px 24px; }

.qfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 14px 0; }
.qfacts div { background: var(--paper); padding: 10px 14px; } .qfacts dt { font-size: 12px; color: var(--muted); } .qfacts dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; } .qfacts small { font-weight: 500; color: var(--muted); font-size: 12px; }
.d-desc { color: #46506a; margin-bottom: 14px; word-break: keep-all; }
@media (max-width: 640px) { .qfacts { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 640px) {
  .hd-in { flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .brand { gap: 8px; } .brand-t b { font-size: 11px; letter-spacing: .04em; } .logo svg { width: 30px; height: 30px; }
  .hd-tools { gap: 6px; margin-left: auto; } .seg.lang button { padding: 5px 7px; font-size: 12px; } .tool { padding: 7px 9px; }
  .cmp-t thead th { min-width: 180px; } .cmp-t tbody th { width: 110px; font-size: 13px; }
  .adm-h { flex-direction: column; } .adm-h .row { width: 100%; } .toolbar .adm-search { min-width: 0; width: 100%; }
}

.adm-nav { min-width: 0; }
@media (max-width: 1024px) { .adm-nav { overflow-x: auto; max-width: 100vw; } }

@media (max-width: 1024px) { .tbl { min-width: 760px; } .panel .tbl { min-width: 560px; } .panel { overflow-x: auto; } .tbl td, .tbl th { white-space: nowrap; } .tbl td:nth-child(n+3) { white-space: normal; } .rank li { white-space: normal; } }

.kpi .eg-note { color: var(--warn); font-size: 12px; margin-top: 4px; }
