/* =========================================================================
 * 매니지드 ON 상담 웹 — 태블릿 가로(1180×820) 기준, 세로·휴대폰·데스크톱 대응
 * 전 화면 밝은 테마 (2026-10-29 사용자 요청: 어두운 무대 → 밝은 화면)
 * ========================================================================= */
:root {
  --bg: #eef1f7;
  --surface: #ffffff;
  --surface2: #f5f7fb;
  --surface3: #f0f3fa;
  --text: #17203a;
  --text2: #3a4562;
  --muted: #69738d;
  --line: #e1e6ef;
  --accent: #4f63d2;
  --accent2: #6d83ff;
  --accent-soft: #eaedfd;
  --cyan: #14b8a6;
  --staff: #4f63d2;
  --guest: #e8930c;
  --bad: #e5484d;
  --bad-soft: #fdecee;
  --ok: #16a36a;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(17, 26, 54, .05), 0 8px 28px rgba(17, 26, 54, .07);
  --shadow-lg: 0 2px 4px rgba(17, 26, 54, .04), 0 20px 50px rgba(17, 26, 54, .10);
  --hdr-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow: hidden;
  display: flex; flex-direction: column;
  font-feature-settings: "tnum" 1;
}
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); font-weight: 500; font-size: .82em; }
svg { display: block; }

/* ── 헤더 ─────────────────────────────────────────────── */
.hdr {
  position: relative; z-index: 10; height: var(--hdr-h); flex: none;
  display: flex; align-items: center; gap: 18px; padding: 0 20px;
  padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); color: var(--text);
  box-shadow: 0 1px 0 var(--line), 0 4px 18px rgba(17, 26, 54, .04);
}
.hdr-brand { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.kt { font-weight: 900; letter-spacing: -.5px; color: #e60012; font-size: 20px; }
.hdr-title { font-weight: 800; font-size: 17px; letter-spacing: -.3px; }
.brand-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface3); border-radius: 12px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.brand-switch button { position: relative; z-index: 1; border: 0; background: none; padding: 6px 14px; min-height: 40px; color: var(--muted); display: flex; flex-direction: column; align-items: center; line-height: 1.1; transition: color .25s; }
.brand-switch button b { font-size: 13.5px; }
.brand-switch button span { font-size: 10.5px; letter-spacing: .4px; opacity: .85; }
.brand-switch button.on { color: #fff; }
.brand-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: linear-gradient(135deg, #5a70f0, #4257d6); box-shadow: 0 4px 12px rgba(79, 99, 210, .35); transition: transform .35s var(--ease); }
.brand-switch.cisco .brand-ind { transform: translateX(100%); }
.tabs { position: relative; display: flex; margin: 0 auto; height: 100%; }
.tabs button { border: 0; background: none; color: var(--muted); padding: 0 18px; height: 100%; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: color .2s; }
.tabs button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.on { color: var(--accent); }
.tabs button:disabled { opacity: .38; cursor: not-allowed; }
.tabs button .lock { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--muted); background: var(--surface3); border-radius: 6px; padding: 1px 6px; margin-left: 2px; }
.tab-ind { position: absolute; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--accent2), var(--cyan)); transition: transform .35s var(--ease), width .35s var(--ease); }
.hdr-chip { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; padding: 6px 12px; border-radius: 12px; background: var(--accent-soft); }
.hdr-cust { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.hdr-price { font-size: 15px; font-weight: 800; white-space: nowrap; letter-spacing: -.2px; color: var(--accent); }

main { flex: 1; min-height: 0; position: relative; }
.tab { height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── ① 소개 (밝은 무대) ───────────────────────────────── */
.stage {
  position: relative; overflow: hidden; color: var(--text);
  background:
    radial-gradient(900px 520px at 80% 10%, rgba(109, 131, 255, .14), transparent 60%),
    radial-gradient(700px 460px at 5% 100%, rgba(20, 184, 166, .08), transparent 60%),
    linear-gradient(180deg, #f6f8fd 0%, #eef1f8 100%);
}
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(79, 99, 210, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 99, 210, .05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 80%);
}
.slides { position: relative; display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
  padding: 34px 72px 74px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 44px; align-items: center;
}
.slide-text { max-width: 470px; }
.slide-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.slide-no { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--muted); }
.slide-no b { color: var(--text); }
.slide-tag { font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); }
.slide h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.22; letter-spacing: -1.2px; margin: 0 0 14px; font-weight: 800; color: var(--text); word-break: keep-all; }
.slide .lead { font-size: clamp(15px, 1.45vw, 17.5px); color: #4a5571; margin: 0 0 22px; word-break: keep-all; }
.facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; }
.facts li { position: relative; padding: 11px 14px 11px 40px; font-size: clamp(14.5px, 1.35vw, 16.5px); color: var(--text2); border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); word-break: keep-all; }
.facts li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 4px; background: linear-gradient(135deg, var(--accent2), var(--cyan)); }
.facts li b { color: var(--text); }
.fine { font-size: 12.5px; color: var(--muted); margin: -8px 0 18px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-glass { border: 0; min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, #5a70f0, #4257d6); box-shadow: 0 10px 24px rgba(79, 99, 210, .3); display: inline-flex; align-items: center; gap: 8px; transition: transform .15s; }
.btn-glass:active { transform: scale(.97); }
.btn-glass.ghost { color: var(--accent); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

.visual {
  position: relative; height: min(600px, 100%); border-radius: 26px; padding: 18px;
  background: var(--surface); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.visual-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 4px 10px; }
.visual-title { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .2px; }
.visual-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.visual-body > svg { width: 100%; height: 100%; }
.toggle { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--surface3); box-shadow: inset 0 0 0 1px var(--line); }
.toggle button { border: 0; background: none; color: var(--muted); padding: 7px 14px; min-height: 36px; border-radius: 8px; font-size: 13.5px; font-weight: 700; }
.toggle button.on { background: var(--accent); color: #fff; }
.toggle button.on.bad { background: var(--bad); color: #fff; }

.slide-foot { position: absolute; left: 72px; right: 72px; bottom: 26px; display: flex; justify-content: center; pointer-events: none; }
.progress { display: flex; gap: 6px; pointer-events: auto; }
.progress button { width: 34px; height: 5px; border: 0; padding: 0; border-radius: 4px; background: #d5dbe8; overflow: hidden; position: relative; }
.progress button::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--accent2), var(--cyan)); transition: transform .4s var(--ease); }
.progress button.on::after, .progress button.past::after { transform: scaleX(1); }
.progress button.past::after { opacity: .45; }
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); color: var(--text2); z-index: 3; }
.nav-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav-arrow.left { left: 14px; } .nav-arrow.right { right: 14px; }
.nav-arrow.loop { color: var(--accent); }

/* 구성도 SVG 공통 */
.tp { font-family: inherit; }
.tp .tp-l { font-size: 13.5px; font-weight: 700; }
.tp .tp-s { font-size: 11.5px; }
.tp .tp-v { font-size: 12px; font-weight: 800; letter-spacing: .3px; }
.tp .tp-b { font-size: 12.5px; font-weight: 800; }
.visual .tp .tp-l { font-size: 15.5px; } .visual .tp .tp-s { font-size: 13px; } .visual .tp .tp-b { font-size: 14px; } .visual .tp .tp-v { font-size: 13px; }
.tp-dark .tp-l { fill: #eef1fd; } .tp-dark .tp-s { fill: #93a0c6; } .tp-dark .tp-b { fill: #ffb3ba; }
.tp-light .tp-l { fill: #1c2747; } .tp-light .tp-s { fill: #6b7593; } .tp-light .tp-b { fill: #c0313f; }
.tp-dark .tp-tile rect { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35)); }
.tp-light .tp-tile > rect { stroke: #dfe4ee; filter: drop-shadow(0 4px 10px rgba(23, 32, 58, .08)); }
.tp-zone { fill: var(--z); fill-opacity: .07; stroke: var(--z); stroke-opacity: .5; stroke-width: 1.4; stroke-dasharray: 5 6; }
.tp-pkt { filter: drop-shadow(0 0 4px currentColor); }
.tp-ring { animation: ring 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.tp-ring2 { animation: ring2 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }
@keyframes ring2 { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* 장애 창구 비교 */
.duo { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo-col { border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.duo-col.asis { background: #fff6f6; box-shadow: inset 0 0 0 1px #f6d4d7; }
.duo-col.tobe { background: #f3f5ff; box-shadow: inset 0 0 0 1px #d8defa; }
.duo-h { font-size: 13px; font-weight: 800; letter-spacing: .2px; color: var(--muted); }
.duo-col.tobe .duo-h { color: var(--accent); }
.vend { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.vend .pimg { width: 74px; height: 38px; border-radius: 9px; background: #fff; display: grid; place-items: center; flex: none; }
.vend .pimg img { max-width: 64px; max-height: 30px; }
.vend .pimg.line { background: var(--surface3); color: var(--text2); font-size: 12px; font-weight: 800; }
.vend .pimg.gen { background: #e9ecf3; padding: 4px 6px; }
.vend b { display: block; font-size: 14px; color: var(--text); }
.vend span { font-size: 12px; color: var(--muted); }
.vend .call { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--bad); white-space: nowrap; }
.duo-q { margin-top: auto; text-align: center; font-size: 13.5px; font-weight: 700; color: #b4232f; padding: 10px; border-radius: 12px; background: var(--bad-soft); }
.one { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; justify-content: center; }
.one-kt { width: 132px; height: 132px; border-radius: 34px; display: grid; place-items: center; text-align: center; background: linear-gradient(140deg, #5a70f0, #3245c0); box-shadow: 0 16px 40px rgba(79, 99, 210, .35); }
.one-kt b { display: block; font-size: 34px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.one-kt span { font-size: 12.5px; color: #dfe4ff; font-weight: 700; }
.one-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.one-row div { background: #fff; border-radius: 11px; padding: 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; box-shadow: inset 0 0 0 1px var(--line); }
.one-row img { height: 24px; max-width: 70px; object-fit: contain; }
.one-row span { font-size: 11px; font-weight: 700; color: var(--text); }
.one-row .line { height: 24px; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: var(--accent); }
.one-steps { width: 100%; display: grid; gap: 6px; }
.one-steps div { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text2); padding: 8px 12px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.one-steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-size: 12px; font-weight: 800; color: #fff; flex: none; }

/* 앱 사용량 예시 화면 */
.dash { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; }
.dash-box { border-radius: 16px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.dash-h { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.app-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.app-row:first-of-type { border-top: 0; }
.app-row .nm { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; }
.app-row .nm i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.app-row .gb { color: var(--muted); font-variant-numeric: tabular-nums; }
.act { border: 0; border-radius: 8px; padding: 4px 9px; font-size: 11.5px; font-weight: 800; background: var(--surface); color: var(--text2); box-shadow: inset 0 0 0 1px var(--line); }
.act.on { background: var(--bad); color: #fff; box-shadow: none; }
.client { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.client:first-of-type { border-top: 0; }
.client .ic { width: 32px; height: 32px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; flex: none; }
.client .ic svg { width: 22px; height: 22px; }
.client > div:nth-child(2) { min-width: 0; }
.client b { font-size: 13px; color: var(--text); display: block; white-space: nowrap; }
.client span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client .bar { margin-left: auto; width: 90px; height: 6px; border-radius: 3px; background: #e3e8f2; overflow: hidden; flex: none; }
.client .bar i { display: block; height: 100%; border-radius: 3px; }

/* 관리 서버 */
.srv { width: 100%; display: grid; gap: 10px; }
.srv-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); }
.srv-row b { color: var(--text); font-size: 15.5px; display: block; }
.srv-row span { color: var(--muted); font-size: 12.5px; }
.srv-row s { color: #9aa3b8; font-size: 13px; white-space: nowrap; }
.srv-row em { font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #5a70f0, #14b8a6); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }

/* 제품 카드 */
.products { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-height: 0; }
.prod { border-radius: 18px; padding: 14px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; min-height: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.prod:active { transform: scale(.985); }
.prod-img { height: 96px; border-radius: 13px; background: linear-gradient(180deg, #fff, #eef1f8); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 12px; }
.prod-img img { max-width: 100%; max-height: 72px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .12)); }
.prod-kind { font-size: 11.5px; font-weight: 800; letter-spacing: .4px; color: var(--accent); }
.prod h4 { margin: 0; font-size: 15.5px; color: var(--text); line-height: 1.3; }
.prod .mdl { font-size: 12.5px; color: var(--muted); }
.prod ul { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 7px; overflow: auto; }
.prod li { position: relative; padding-left: 20px; font-size: 12.8px; color: var(--text2); line-height: 1.42; word-break: keep-all; }
.prod li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.platform { border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 14px; background: linear-gradient(90deg, #eef1ff, #e9f8f6); box-shadow: inset 0 0 0 1px #d8defa; }
.platform b { color: var(--accent); font-size: 14.5px; white-space: nowrap; }
.platform span { color: var(--text2); font-size: 13px; }

/* 요금 */
.price-stage { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pbox { border-radius: 18px; padding: 16px 18px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); }
.pbox.main { background: linear-gradient(140deg, #eef1ff, #e9f8f6); box-shadow: inset 0 0 0 1.5px #b9c4f6; }
.pbox span { font-size: 13px; color: var(--muted); font-weight: 700; }
.pbox b { display: block; font-size: clamp(26px, 2.8vw, 36px); color: var(--text); letter-spacing: -1px; font-weight: 800; }
.pbox.main b { color: var(--accent); }
.pbox small { font-size: 12px; color: var(--muted); }
.plist { border-radius: 18px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 14px; overflow: auto; }
.prow { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.prow:first-child { border-top: 0; }
.prow .pi { height: 36px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 4px; }
.prow .pi img { max-width: 100%; max-height: 28px; }
.prow b { color: var(--text); font-size: 14px; display: block; }
.prow span { color: var(--muted); font-size: 12px; }
.prow .amt { color: var(--text); font-weight: 800; font-size: 14.5px; text-align: right; }

/* 사례 */
.cases { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.case { border-radius: 18px; padding: 18px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); }
.case b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; color: var(--accent); }
.case span { display: block; margin-top: 8px; color: var(--text2); font-size: 14px; font-weight: 600; }
.case i { display: block; height: 5px; border-radius: 3px; margin-top: 12px; background: linear-gradient(90deg, var(--accent2), var(--cyan)); }
.case.total { grid-column: span 3; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(90deg, #eef1ff, #e9f8f6); }

/* ── 공통 버튼·입력 ─────────────────────────────────────── */
.btn { border: 1px solid var(--line); background: var(--surface); padding: 0 18px; min-height: 46px; border-radius: 13px; font-weight: 700; font-size: 14.5px; color: var(--text); transition: transform .12s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.primary { border: 0; color: #fff; background: linear-gradient(135deg, #5a70f0, #4257d6); box-shadow: 0 8px 20px rgba(79, 99, 210, .3); }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.btn:disabled { opacity: .5; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; min-width: 0; }
.card h3 { margin: 0; font-size: 16.5px; letter-spacing: -.3px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.card-actions { display: flex; gap: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field > label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=password] {
  width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; min-height: 48px; background: var(--surface); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--accent2); box-shadow: 0 0 0 4px rgba(109, 131, 255, .15); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.grid2 > * { min-width: 0; }
.span2 { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0 14px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--text2); transition: all .2s; }
.chips button.on { border-color: transparent; color: #fff; background: linear-gradient(135deg, #5a70f0, #4257d6); box-shadow: 0 6px 14px rgba(79, 99, 210, .3); }
.seg-light { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); }
.seg-light button { border: 0; background: none; color: var(--muted); padding: 0 14px; min-height: 38px; border-radius: 9px; font-weight: 700; font-size: 13.5px; }
.seg-light button.on { background: #fff; color: var(--accent); box-shadow: 0 2px 6px rgba(17, 26, 54, .1); }

.stepper { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.stepper > label { font-size: 12.5px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; gap: 4px; white-space: nowrap; }
.stepper .auto { font-size: 10.5px; color: var(--accent); font-weight: 800; cursor: pointer; background: var(--accent-soft); border-radius: 6px; padding: 1px 6px; }
.stepper .row { display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.stepper .row button { border: 0; background: var(--surface2); width: 42px; font-size: 20px; color: var(--muted); flex: none; }
.stepper .row button:active { background: var(--accent-soft); color: var(--accent); }
.stepper .row input { border: 0; width: 100%; min-width: 0; text-align: center; font-size: 17px; font-weight: 800; min-height: 46px; background: transparent; }
.stepper .row .unit { align-self: center; color: var(--muted); font-size: 12.5px; padding-right: 4px; flex: none; }

.needs { display: grid; gap: 6px; }
.need { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 13px; padding: 9px 12px; text-align: left; min-height: 52px; transition: all .2s; }
.need .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #c6cddc; flex: none; display: grid; place-items: center; transition: all .2s; }
.need.on { border-color: rgba(79, 99, 210, .45); background: var(--accent-soft); }
.need.on .box { background: linear-gradient(135deg, #5a70f0, #4257d6); border-color: transparent; }
.need.on .box::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.need b { font-size: 14px; display: block; }
.need small { color: var(--muted); font-size: 12px; }

/* ── ② 구성·요금 ──────────────────────────────────────── */
.build { display: grid; grid-template-columns: 350px minmax(0, 1fr); height: 100%; }
.inputs { overflow: auto; padding: 20px 18px 30px; background: var(--surface); box-shadow: 1px 0 0 var(--line); -webkit-overflow-scrolling: touch; }
.panel-title { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; }
.result { overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; -webkit-overflow-scrolling: touch; }
.result > * { flex-shrink: 0; }
.hero-card {
  border-radius: 22px; padding: 18px 22px 20px; position: relative; overflow: hidden;
  background: radial-gradient(500px 220px at 95% 0%, rgba(109, 131, 255, .18), transparent 60%), linear-gradient(140deg, #ffffff, #f2f5ff);
  box-shadow: var(--shadow), inset 0 0 0 1px #dfe4f6;
}
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg-dark { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface3); box-shadow: inset 0 0 0 1px var(--line); }
.seg-dark button { border: 0; background: none; color: var(--muted); padding: 0 16px; min-height: 38px; border-radius: 9px; font-weight: 700; font-size: 13.5px; }
.seg-dark button.on { background: var(--accent); color: #fff; }
.hero-brand { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.hero-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.hero-label { font-size: 13px; color: var(--muted); font-weight: 700; }
.hero-value { font-size: clamp(36px, 4.4vw, 52px); font-weight: 800; letter-spacing: -2px; line-height: 1.1; color: var(--accent); }
.hero-value small { font-size: 20px; margin-left: 4px; letter-spacing: 0; color: var(--text); }
.hero-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.hero-compare { font-size: 13px; color: var(--text2); text-align: right; padding: 10px 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hero-compare b { color: var(--text); font-size: 15px; }
.topo-card { padding-bottom: 8px; }
.topo-wrap { overflow-x: auto; }
.topo-wrap svg { width: 100%; min-width: 640px; height: auto; max-height: 460px; }

.item { display: grid; grid-template-columns: 112px minmax(0, 1fr) 148px 116px 34px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item .pic { height: 60px; border-radius: 13px; background: linear-gradient(180deg, #fff, #f1f3f9); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 6px; position: relative; cursor: pointer; }
.item .pic img { max-width: 100%; max-height: 44px; object-fit: contain; }
.item .pic .k { position: absolute; left: 6px; top: -8px; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #fff; background: var(--accent); }
.item .pic .k.utm { background: #8a4fd8; } .item .pic .k.poe, .item .pic .k.data, .item .pic .k.core { background: #1d8aa0; } .item .pic .k.ap { background: #2e9d5b; } .item .pic .k.extra { background: #b07a12; }
.item select, .item input.name { width: 100%; min-height: 44px; border: 0; border-radius: 11px; padding: 0 12px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 700; }
.item .spec { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .qty { display: flex; align-items: center; border-radius: 11px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.item .qty button { border: 0; background: var(--surface2); width: 42px; min-height: 44px; font-size: 18px; color: var(--muted); }
.item .qty input { width: 100%; min-width: 0; border: 0; text-align: center; font-weight: 800; font-size: 16px; background: transparent; }
.item .amt { text-align: right; font-weight: 800; font-size: 15.5px; letter-spacing: -.3px; }
.item .amt small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; letter-spacing: 0; }
.item .del { border: 0; background: transparent; color: #a3abbd; font-size: 22px; min-height: 44px; }
.add-panel { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.add-panel select { min-height: 44px; border: 0; border-radius: 11px; padding: 0 12px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.why-card summary { list-style: none; cursor: pointer; }
.why-card summary::-webkit-details-marker { display: none; }
.why-card summary h3::after { content: " ▾"; color: var(--muted); font-size: 13px; }
.why-card ul { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: w; }
.why-card li { position: relative; margin: 0; padding: 9px 0 9px 34px; font-size: 14px; color: var(--text2); border-top: 1px solid var(--line); word-break: keep-all; counter-increment: w; }
.why-card li::before { content: counter(w); position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.why-card li.warn { color: #a5620b; }

/* 장비 상세 시트 */
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(17, 26, 54, .35); display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .2s; }
.sheet-card { width: min(720px, 100%); max-height: 86%; overflow: auto; background: var(--surface); border-radius: 24px 24px 0 0; padding: 22px 24px 30px; box-shadow: 0 -20px 60px rgba(17, 26, 54, .18); animation: up .35s var(--ease); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-img { height: 150px; border-radius: 18px; background: linear-gradient(180deg, #fff, #eef1f8); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 18px; margin-bottom: 16px; }
.sheet-img img { max-width: 92%; max-height: 110px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .12)); }
.sheet-card h3 { margin: 0 0 4px; font-size: 21px; }
.sheet-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.sheet-card ul { padding: 0; list-style: none; margin: 0 0 16px; display: grid; gap: 8px; }
.sheet-card li { padding: 10px 14px; border-radius: 12px; background: var(--surface2); font-size: 14.5px; }
.sheet-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-price div { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 12px; }
.sheet-price span { font-size: 12px; color: var(--muted); display: block; }
.sheet-price b { font-size: 16px; }

/* ── ③ 데모 ───────────────────────────────────────────── */
.demo-root { height: 100%; }
.demo-wait { display: grid; place-items: center; height: 100%; color: var(--muted); }

/* ── ④ 제안서·견적서 ──────────────────────────────────── */
.docs { display: grid; grid-template-columns: minmax(360px, 460px) minmax(0, 1fr); height: 100%; }
.docs-form { overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.docs-form > * { flex-shrink: 0; }
.docs-form h3 { margin: 0 0 12px; }
.doc-picks { display: flex; gap: 18px; margin: 2px 0 14px; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 9px; font-weight: 700; min-height: 40px; font-size: 14.5px; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); }
.doc-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.send-result { margin-top: 12px; font-size: 14px; }
.send-result .ok { background: #e6f6ee; color: #1b6b43; border-radius: 12px; padding: 12px 14px; }
.send-result .err { background: #fdeaec; color: #a3263a; border-radius: 12px; padding: 12px 14px; }
.docs-preview { display: flex; flex-direction: column; min-width: 0; padding: 18px 18px 18px 0; }
.preview-bar { display: flex; justify-content: space-between; padding: 12px 18px; background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow); font-weight: 700; font-size: 14px; }
.preview-bar a { color: var(--accent); text-decoration: none; }
#preview { flex: 1; width: 100%; border: 0; background: #dfe4ee; border-radius: 0 0 var(--radius) var(--radius); }

/* ── 모달·토스트·로그인 ─────────────────────────────────── */
.modal { position: fixed; inset: 0; background: rgba(17, 26, 54, .35); display: grid; place-items: center; z-index: 50; padding: 16px; animation: fadeIn .2s; }
.modal-card { background: var(--surface); border-radius: 22px; padding: 24px; width: min(520px, 100%); box-shadow: 0 30px 80px rgba(17, 26, 54, .2); }
.modal-card h3 { margin: 0 0 14px; }
.modal-card dl { display: grid; grid-template-columns: 70px 1fr; gap: 9px 12px; margin: 0 0 20px; font-size: 14.5px; }
.modal-card dt { color: var(--muted); font-weight: 700; }
.modal-card dd { margin: 0; word-break: break-all; }
.modal-buttons { display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: rgba(23, 32, 58, .92); color: #fff; padding: 12px 18px; border-radius: 14px; z-index: 60; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); max-width: calc(100% - 32px); animation: fadeIn .25s; }
.login { position: fixed; inset: 0; background: radial-gradient(800px 500px at 70% 10%, rgba(109, 131, 255, .18), transparent 60%), linear-gradient(180deg, #f6f8fd, #eef1f8); display: grid; place-items: center; z-index: 100; padding: 16px; }
.login-card { background: var(--surface); border-radius: 22px; padding: 30px; width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.login-logo { font-size: 21px; font-weight: 800; }
.login-card p { margin: 0; color: var(--muted); }
.login-card input { min-height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; font-size: 16px; }
.login-err { color: #c0313f; font-size: 14px; min-height: 20px; }

/* ── 태블릿 세로·작은 화면 ──────────────────────────────── */
@media (max-width: 1100px) {
  .tabs button { padding: 0 12px; }
  .tabs button span { font-size: 14px; }
  .slide { padding: 28px 56px 70px; gap: 28px; }
  .docs { grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); }
}
@media (max-width: 960px) {
  :root { --hdr-h: 116px; }
  .hdr { flex-wrap: wrap; height: auto; min-height: var(--hdr-h); padding-top: 10px; gap: 8px 14px; }
  .tabs { order: 3; width: calc(100% + 40px); margin: 0 -20px; height: 52px; padding: 0 8px; overflow-x: auto; box-shadow: inset 0 1px 0 var(--line); }
  .tabs button { flex: 1; justify-content: center; }
  .hdr-chip { margin-left: auto; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto auto; padding: 22px 26px 70px; gap: 18px; align-content: start; align-items: start; overflow-y: auto; }
  .slide-text { max-width: none; }
  .visual { height: auto; min-height: 380px; }
  .visual-body > svg { height: auto; max-height: 70vh; }
  .nav-arrow { display: none; }
  .build { grid-template-columns: 1fr; height: auto; }
  .inputs { overflow: visible; box-shadow: 0 1px 0 var(--line); }
  .result { overflow: visible; }
  .docs { grid-template-columns: 1fr; height: auto; }
  .docs-preview { padding: 0 18px 18px; min-height: 75vh; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod { flex-direction: row; flex-wrap: wrap; }
  .prod-img { width: 140px; height: 80px; }
}
@media (max-width: 640px) {
  .hdr-title { display: none; }
  .brand-switch button { padding: 6px 10px; }
  .tabs button svg { display: none; }
  .slide h2 { font-size: 27px; }
  .duo, .dash, .price-duo { grid-template-columns: 1fr; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .case.total { grid-column: span 2; }
  .item { grid-template-columns: 84px 1fr; position: relative; }
  .item .del { position: absolute; right: 0; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .hero-compare { text-align: left; width: 100%; }
  .sheet-price { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 입력 변경 알림 · 지점 표시 */
.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(79, 99, 210, .55); } 60% { box-shadow: 0 0 0 10px rgba(79, 99, 210, 0); } 100% { box-shadow: var(--shadow); } }
.hdr-chip.flash { animation-name: flashChip; }
@keyframes flashChip { 0% { background: #c9d1fb; } 100% { background: var(--accent-soft); } }
.site-badge { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.topo-card.multi .topo-wrap { position: relative; border-radius: 14px; background: var(--surface); box-shadow: 6px -6px 0 -1px var(--surface2), 6px -6px 0 0 var(--line), 12px -12px 0 -1px var(--surface3), 12px -12px 0 0 var(--line); margin: 14px 14px 0 0; }

/* ── 요금표 ─────────────────────────────────────────────── */
.rates { max-width: 1280px; margin: 0 auto; padding: 18px 20px 36px; display: grid; gap: 14px; }
.rate-top { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.rate-title { flex: 1; min-width: 220px; }
.rate-title h2 { margin: 0; font-size: 24px; letter-spacing: -.6px; }
.rate-title p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.rate-brand button { min-height: 44px; padding: 0 18px; font-size: 14px; font-weight: 600; }
.rate-brand button b { margin-right: 4px; font-weight: 800; }
.rate-incl { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; color: var(--text2); }
.ri { display: inline-block; font-size: 12px; font-weight: 800; color: var(--muted); background: var(--surface3); padding: 2px 8px; border-radius: 6px; margin-right: 8px; }
.ri-in { color: #0f7a4f; background: #e3f5ec; }
.rate-nav { position: sticky; top: 0; z-index: 3; display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 10px 0; margin: -6px 0 -4px; background: linear-gradient(var(--bg) 82%, rgba(238, 241, 247, 0)); }
.rate-nav button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; min-height: 38px; padding: 0 14px; font-size: 13.5px; font-weight: 700; color: var(--text2); white-space: nowrap; }
.rate-nav button em { font-style: normal; color: var(--muted); margin-left: 6px; font-weight: 600; }
.rate-legend { margin-left: auto; padding-left: 12px; font-size: 12.5px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.rate-legend i { width: 12px; height: 12px; border-radius: 3px; background: #f0f2ff; box-shadow: inset 3px 0 0 var(--accent2), inset 0 0 0 1px #d5dbfb; }
.rate-sec { scroll-margin-top: 62px; padding: 16px 18px 6px; }
.rate-sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rate-sec-head h3 { margin: 0; font-size: 17px; }
.rate-sec-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.rate-feat { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rate-feat li { font-size: 12.5px; padding: 4px 10px; border-radius: 8px; background: var(--surface2); color: var(--text2); box-shadow: inset 0 0 0 1px var(--line); }
.rate-feat li.t { background: var(--accent-soft); color: var(--accent); font-weight: 800; box-shadow: none; }
.rate-wrap { overflow-x: auto; margin: 0 -18px; padding: 0 18px; -webkit-overflow-scrolling: touch; }
.rate-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 780px; }
.rate-tbl th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 9px 10px; background: var(--surface2); border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: bottom; }
.rate-tbl th:first-child { border-radius: 10px 0 0 0; } .rate-tbl th:last-child { border-radius: 0 10px 0 0; }
.rate-tbl th small { display: block; font-size: 10.5px; font-weight: 600; }
.rate-tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text2); }
.rate-tbl tbody tr { cursor: pointer; }
.rate-tbl tbody tr:last-child td { border-bottom: 0; }
.rate-tbl tbody tr:hover td, .rate-tbl tbody tr:active td { background: var(--surface2); }
.rate-tbl tr.cur td { background: #f3f5ff; }
.rate-tbl tr.cur td:first-child { box-shadow: inset 3px 0 0 var(--accent2); }
.rate-tbl .c-img { width: 86px; padding-right: 4px; }
.rate-tbl .c-img img { width: 76px; height: 40px; object-fit: contain; display: block; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .1)); }
.c-model b { display: block; font-size: 15px; color: var(--text); white-space: nowrap; }
.c-model em { display: inline-block; margin-top: 3px; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.rate-tbl .c-p { text-align: right; white-space: nowrap; width: 112px; font-variant-numeric: tabular-nums; }
.rate-tbl td.c-p { color: var(--text); font-weight: 600; }
.rate-tbl td.c-p b { font-size: 16px; font-weight: 800; color: var(--accent); }
.rate-tbl .bar { display: block; width: 84px; height: 4px; margin: 5px 0 0 auto; border-radius: 2px; background: var(--surface3); position: relative; overflow: hidden; }
.rate-tbl .bar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: var(--w); border-radius: 2px; background: linear-gradient(90deg, var(--accent2), var(--cyan)); }
.rate-foot { margin: 0; padding: 0 4px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 1240px) { .tabs button { padding: 0 12px; } }
@media (max-width: 1100px) and (min-width: 961px) { .tabs button svg { display: none; } .tabs button { padding: 0 10px; } }
/* 좁은 화면: 사양 칸을 '주요 사양' 한 칸으로 합쳐 요금 칸이 한 화면에 들어오게 */
.rate-tbl .c-sum { display: none; }
@media (max-width: 960px) {
  .rate-tbl { min-width: 0; font-size: 13.5px; }
  .rate-tbl .c-col, .rate-tbl .c-img { display: none; }
  .rate-tbl .c-sum { display: table-cell; font-size: 12.5px; line-height: 1.45; color: var(--text2); min-width: 160px; }
  .rate-tbl .c-p { width: 92px; }
  .rate-tbl tr.cur td:nth-child(2) { box-shadow: inset 3px 0 0 var(--accent2); }
}
@media (max-width: 640px) { .rate-tbl { min-width: 560px; } .rates { padding: 14px 14px 30px; } .rate-title h2 { font-size: 21px; } .rate-legend { display: none; } }

/* ── 주요 강점 1~4장: 제로트러스트 흐름 (위협 → 정부 기준 → 기존 구성 비용 → 원칙별 기능) ── */
.zt-std { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.zt-time { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zt-time > div { padding: 12px 14px; border-radius: 14px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; }
.zt-time b { font-size: 21px; font-weight: 800; color: var(--accent); letter-spacing: -.5px; }
.zt-time span { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.35; word-break: keep-all; }
.zt-time em { font-style: normal; font-size: 12px; color: var(--muted); word-break: keep-all; }
.zt-h { font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .3px; margin-top: 6px; }
.zt-pr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zt-pr > div { padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #5a70f0, #4257d6); color: #fff; }
.zt-pr b { display: block; font-size: 15.5px; margin-bottom: 5px; word-break: keep-all; }
.zt-pr span { display: block; font-size: 12.5px; line-height: 1.45; opacity: .92; word-break: keep-all; }
.zt-mat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.zt-mat > div { padding: 10px 10px 10px 20px; font-size: 14.5px; font-weight: 800; color: var(--text); background: var(--surface3);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%, 11px 50%); }
.zt-mat > div:first-child { padding-left: 12px; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%); }
.zt-mat > div:nth-child(3) { background: #dfe4fb; }
.zt-mat > div:nth-child(4) { background: #cdd5fa; }
.zt-mat span { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); word-break: keep-all; }
.zt-map { width: 100%; display: grid; gap: 10px; }
.zm-row { display: grid; grid-template-columns: 158px 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-radius: 16px;
  background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .15s; }
.zm-row:active { transform: scale(.99); }
.zm-row.off { cursor: default; }
.zm-row.off:active { transform: none; }
.zm-row.off .pr { background: #8b93a7; }
.zm-row.off .ar { color: var(--muted); }
.zm-row .pr { font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #5a70f0, #4257d6); border-radius: 10px; padding: 11px 12px; word-break: keep-all; }
.zm-row .ar { font-size: 18px; font-weight: 800; color: var(--accent); text-align: center; }
.zm-row b { display: block; font-size: 15.5px; color: var(--text); margin-bottom: 2px; }
.zm-row span span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; word-break: keep-all; }
.zm-row .go { font-size: 12px; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 640px) {
  .zt-time, .zt-pr { grid-template-columns: 1fr; }
  .zt-mat { grid-template-columns: repeat(2, 1fr); }
  .zm-row { grid-template-columns: 1fr; gap: 6px; }
  .zm-row .ar, .zm-row .go { display: none; }
}
