/* ============================================================================
   냥손 스튜디오 — 공통 UI 규격 (2026-12-03 · UX 개편 v11)
   · 전 페이지가 같은 여백·버튼 높이·표 비율·브레드크럼을 쓰게 한다
   · 🌙 다크모드를 모든 페이지에서 같은 규칙으로 켠다
   · 새 부품(그림 올리기 박스 · 미리보기 클릭 안내 · 결과 정보 박스 …)
   이 파일은 shell.css 뒤에 붙는다. 페이지 고유 CSS 를 덮어쓰지 않도록
   필요한 곳만 좁게 잡는다.
   ========================================================================== */

:root{
  --ng-r-card:16px;      /* 카드 모서리 */
  --ng-r-btn:12px;       /* 버튼 모서리 */
  --ng-gap:14px;         /* 카드 사이 간격 */
  --ng-touch:46px;       /* 모바일 최소 터치 높이 */
  --ng-mango:#FFB020;
}

/* ---------------------------------------------------------------- 브레드크럼 */
/* 홈 › 페이지 — 위아래로 넉넉히, 왼쪽은 본문과 같은 선에 맞춘다 */
.bc{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  margin:18px auto 20px;padding:0;
  font-size:12px;font-weight:600;letter-spacing:-.01em;line-height:1.4;
  color:#7C75A8;
}
.bc a{color:#5F5990;text-decoration:none;padding:2px 0}
.bc a:hover{color:#4034C8;text-decoration:underline}
.bc span{color:#8F88BC}
.bc .bc-sep{color:#C3BCE4;font-weight:700}
@media (max-width:920px){
  .bc{margin:14px auto 18px;gap:8px;font-size:11.5px}
}

/* ---------------------------------------------------------------- 터치 크기 */
@media (max-width:920px){
  /* 손가락으로 누르는 것은 최소 44px — 초등학생 손끝 기준 */
  .btn,.mini-btn,.adv-btn,.more-toggle,.chip,.npreset,.ts-item,.np,.pill,
  .seg button,.cond-chips button,.wm-mark,.disc-chips button,.quick button,
  .nk-btn,.lk-make2,.tc-btn,.copy,.fl-more-btn,.cmp-more-btn{min-height:44px}
  .btn-sm{min-height:40px}
  .ipt,.input,input[type="text"],input[type="date"],input[type="number"],
  select,textarea{min-height:46px}
  .seg button{font-size:13.5px}
}

/* ---------------------------------------------------------------- 표 */
/* 열 너비가 지정되지 않아 생기던 '가운데 거대한 공백'을 막는다 */
table{table-layout:fixed;width:100%;word-break:keep-all}
th,td{word-break:keep-all;overflow-wrap:anywhere}

/* ---------------------------------------------------------------- 공통 부품 */
/* 그림 올리기 — 첫 화면에서 바로 눌리는 큰 점선 박스 */
.ng-drop{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:150px;padding:22px 16px;margin:0 0 4px;
  border:2.5px dashed #A79DF0;border-radius:18px;
  background:linear-gradient(180deg,#F7F5FF 0%,#EFEAFF 100%);
  color:#4A3ED2;text-align:center;cursor:pointer;
  transition:border-color .15s,background .15s,transform .1s;
}
.ng-drop:hover,.ng-drop.is-over{border-color:#6F66C7;background:#EAE4FF;transform:translateY(-1px)}
.ng-drop .ng-drop-ico{font-size:34px;line-height:1}
.ng-drop .ng-drop-t{font-size:16px;font-weight:800;letter-spacing:-.03em}
.ng-drop .ng-drop-s{font-size:12.5px;font-weight:600;color:#7C75A8}
.ng-drop:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(111,102,199,.28)}

/* 미리보기 그림 — 눌러서 크게 보기 */
.ng-canvas-wrap{position:relative;cursor:zoom-in;border-radius:12px}
.ng-canvas-wrap canvas{cursor:zoom-in}
.ng-canvas-hint{
  position:absolute;right:10px;bottom:10px;z-index:2;
  display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 11px;
  border-radius:999px;background:rgba(36,31,77,.82);color:#fff;
  font-size:11.5px;font-weight:700;letter-spacing:-.01em;pointer-events:none;
  box-shadow:0 4px 12px -6px rgba(0,0,0,.5);
}
.ng-canvas-wrap:hover .ng-canvas-hint{background:rgba(86,76,180,.95)}

/* 결과·안내 박스 — '버튼 아님'을 모양으로 알린다 */
.ng-info{position:relative;border-style:dashed !important;cursor:default}
.ng-info-tag{
  display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px;
  border-radius:999px;background:#EFEAFF;color:#564CB4;
  font-size:10.5px;font-weight:800;letter-spacing:.01em;vertical-align:2px;
}

/* 단계 안내 칩 (① 닉네임 → ② 가격 → ③ 저장) */
.ng-steps{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.ng-steps .ng-step{
  display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 7px;
  border-radius:999px;background:#fff;border:1.5px solid #DCD6FA;
  font-size:12.5px;font-weight:800;color:#3A3470;letter-spacing:-.02em;
}
.ng-steps .ng-step i{
  display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;
  border-radius:50%;background:#6F66C7;color:#fff;font-style:normal;font-size:11.5px;font-weight:900;
}
.ng-steps .ng-step.on{background:#6F66C7;border-color:#6F66C7;color:#fff}
.ng-steps .ng-step.on i{background:#fff;color:#564CB4}
.ng-steps .ng-ar{color:#B7AEDD;font-weight:800}

/* 큰 행동 유도 버튼 (계약서 '예시로 채우기') */
.ng-bigcta{
  display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:12px 16px;
  border:0;border-radius:16px;cursor:pointer;text-align:left;font-family:inherit;
  background:linear-gradient(135deg,#7C6BFF 0%,#564CB4 100%);color:#fff;
  box-shadow:0 10px 22px -12px rgba(86,76,180,.75);
  transition:transform .12s,box-shadow .15s,filter .15s;
}
.ng-bigcta:hover{filter:brightness(1.05);transform:translateY(-1px)}
.ng-bigcta:active{transform:translateY(0)}
.ng-bigcta .ng-bigcta-ico{font-size:24px;line-height:1;flex:none}
.ng-bigcta .ng-bigcta-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.ng-bigcta b{font-size:16.5px;font-weight:900;letter-spacing:-.03em}
.ng-bigcta small{font-size:12px;font-weight:600;color:#E7E2FF}
.ng-bigcta .ng-bigcta-ar{margin-left:auto;font-size:18px;font-weight:900;flex:none}

/* FAQ — 카드 어디를 눌러도 열리고, 화살표가 돈다
   2026-12-03 — '▾' 글자와 index.html 의 테두리 꺾쇠(border)가 겹쳐 화살표 위에 작은 점처럼 보이던 문제.
   글자(▾)를 지우고 테두리 꺾쇠 한 가지로 통일한다(크기·색은 index.html 의 v9.2 규칙과 동일). */
.tab-faq>summary{position:relative;cursor:pointer}
.tab-faq>summary::-webkit-details-marker{display:none}
.tab-faq>summary::after{content:'';float:none;width:15px;height:15px;flex:none;
  margin-left:auto;margin-right:1px;border-right:3px solid #4B4199;border-bottom:3px solid #4B4199;
  transform:rotate(45deg);transition:transform .18s;color:inherit;font-weight:400}
.tab-faq[open]>summary::after{transform:rotate(-135deg);margin-top:0}
.tab-faq dl,.tab-faq .faq-body{cursor:pointer}

/* 푸터 검은망고 배지 */
.ng-mango{
  display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;
  margin-left:8px;border:1px solid #E6DFF7;border-radius:999px;
  background:#fff;color:#6B659B;font-size:11px;font-weight:700;
  text-decoration:none;white-space:nowrap;vertical-align:middle;line-height:1;
}
.ng-mango:hover{border-color:#FFB020;color:#8A5A00;background:#FFF9EC}

/* 헤더 다크모드 토글 */
.ng-dark-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  height:30px;padding:0 11px;margin-left:auto;flex:none;
  border-radius:999px;border:1.5px solid #D8D2F5;background:#fff;color:#564CB4;
  font-family:inherit;font-size:12px;font-weight:800;letter-spacing:-.02em;
  cursor:pointer;transition:background .15s,border-color .15s,color .15s;
}
.ng-dark-btn:hover{border-color:#A79DF0;background:#F5F2FF}
.ng-dark-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(111,102,199,.3)}
@media (max-width:600px){.ng-dark-btn{height:28px;padding:0 9px;font-size:11.5px}}
/* 다른 버튼들이 margin-left:auto 를 쓰므로, 그 앞에 둘 때만 자동 밀기를 끈다 */
.topbar .live + .ng-dark-btn,.topbar .meta + .ng-dark-btn{margin-left:0}

/* ============================================================================
   2026-12-03 (사용자 지적, IMG_1496) — 헤더 오른쪽 칩 3개(BETA 의견 · ? 가이드 · 🌙 다크)
   높이와 세로 중심선을 ±0px 로 통일한다.
   · BETA·가이드는 .topbar 의 직접 자식(align-self:center), 다크는 #hdrRight 안에 있어
     .hdr-right 가 flex-start 로 앉으며 중심이 10px 어긋났다 → .hdr-right 도 center 로.
   · 세 버튼 모두 같은 height/min/max-height·line-height·위아래 padding 을 쓴다.
   ============================================================================ */
/* 2026-12-03 21:5x — 사용자 지적: [무료·가입 없이 바로 사용]과 [🌙 다크]가 바짝 붙었다.
   인라인 규칙이 없는 /contract·/glossary 등은 이 규칙만 쓰므로 gap 이 없어 0px 였다 → 12px(index 와 같은 값). */
.topbar .hdr-right{display:flex;align-self:center;align-items:center;gap:12px;height:30px;min-height:30px;max-height:30px}
.topbar .beta-open,
.topbar .guide-open,
.topbar .ng-dark-btn,
.topbar > .ng-dark-btn,
.ng-dark-btn{
  box-sizing:border-box;
  height:30px;min-height:30px;max-height:30px;line-height:1;
  padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;
  display:inline-flex;align-items:center;justify-content:center;align-self:center;vertical-align:middle;
}
@media (max-width:600px){
  .topbar .hdr-right{height:28px;min-height:28px;max-height:28px}
  .topbar .beta-open,
  .topbar .guide-open,
  .topbar .ng-dark-btn,
  .topbar > .ng-dark-btn,
  .ng-dark-btn{height:28px;min-height:28px;max-height:28px}
}

/* ============================================================================
   🌙 다크모드
   html.dark — 머리에서 미리 켜므로 깜빡임이 없다.
   가격표·보드 PNG 캔버스는 각자 테마(화이트/다크/레트로)로 그리므로 영향 없음.
   ========================================================================== */
html.dark{
  color-scheme:dark;
  /* v7 팔레트 (index.html) */
  --v7-ink:#EFECFF;--v7-ink2:#DCD7FF;--v7-sub:#B7B1E0;--v7-muted:#928CC0;
  --v7-line:#3A3470;--v7-line2:#4A4388;--v7-frame:#8B82E8;--v7-frame-soft:#5B549E;
  --v7-surf:#1B1832;--v7-surf2:#232045;--v7-surf3:#2B2752;
  --v7-title1:#2A2555;--v7-title2:#3B3475;
  --v7-accent:#9A90F0;--v7-accent2:#B3A9FF;--v7-accent-soft:#2E2A55;
  --v7-pink-soft:#3A2440;--v7-shadow:rgba(0,0,0,.5);
  /* 기존 컴포넌트 변수 */
  --bg:#151228;--card:#1E1B36;--ink:#EFECFF;--ink2:#DCD7FF;--sub:#B7B1E0;--muted:#928CC0;
  --line:#3A3470;--line2:#4A4388;--soft:#232045;
  /* shell.css 변수 */
  --blue:#8B82E8;--blue-soft:#2E2A55;--blue-2:#A79DF0;
  background:#100E1E;color:#EFECFF;
}
html.dark body{
  background-color:#100E1E !important;
  background-image:
    radial-gradient(circle at 10% 6%, rgba(120,80,160,.28) 0%, rgba(0,0,0,0) 45%),
    radial-gradient(circle at 92% 2%, rgba(160,120,60,.20) 0%, rgba(0,0,0,0) 40%),
    linear-gradient(180deg,#131024 0%,#0F0D1C 50%,#15112A 100%) !important;
  color:#EFECFF;
}
html.dark body::before{opacity:.10}
html.dark body::after{opacity:.16}
html.dark .app{background:var(--v7-surf);border-color:var(--v7-frame)}
html.dark .card,
html.dark .doc-card,
html.dark details.qa,
html.dark .ngm-panel,
html.dark .tour-card,
html.dark .sig-panel,
html.dark .ck,
html.dark .tpl,
html.dark .cl-hero,
html.dark .capsule{background:#1E1B36;color:#EFECFF;border-color:#3A3470}
html.dark .card{box-shadow:0 0 0 1px #322D5F,0 2px 10px rgba(0,0,0,.35)}
html.dark .preview-body{background:#151228}
html.dark .preview-head,html.dark .preview-foot,html.dark .preview .preview-note,
html.dark .preview-body{background:#1E1B36;color:#DCD7FF}
html.dark .preview .preview-note{background:#1E1B36}
html.dark .seg,html.dark .th-seg,html.dark .rt-seg,html.dark .cond-chips button,
html.dark .np,html.dark .ts-item,html.dark .chip{background:#2B2752;border-color:#443D80;color:#DCD7FF}
html.dark .seg button.on,html.dark .seg button[aria-pressed="true"]{background:#6F66C7;color:#fff}
html.dark .ipt,html.dark .input,html.dark input,html.dark select,html.dark textarea{
  background:#232045 !important;border-color:#4A4388 !important;color:#F3F1FF !important;
}
html.dark .ipt::placeholder,html.dark .input::placeholder,html.dark input::placeholder,
html.dark textarea::placeholder{color:#8A83B8 !important}
html.dark .ipt:hover,html.dark .input:hover{background:#2A2650 !important}
html.dark .btn-secondary,html.dark .mini-btn{background:#2B2752;color:#EFECFF;border-color:#443D80}
html.dark .btn-secondary:hover,html.dark .mini-btn:hover{background:#353068}
html.dark .btn-primary{background:#7C6BFF;color:#fff}
html.dark .tab{color:#A8A2D6}
html.dark .tab.active{background:#2E2A55;color:#C9C2FF}
html.dark .ngm-tabs,html.dark .ngm-stack{background:transparent}
html.dark .sample-badge{background:#2E2A55;border-color:#4A4388;color:#DCD7FF}
html.dark .tool-strip{background:#232045;border-color:#3A3470}
html.dark .tab-lead b,html.dark .tab-lead span{color:#DCD7FF}
html.dark .tab-faq,html.dark .tab-faq summary{background:#1E1B36;border-color:#3A3470;color:#DCD7FF}
html.dark .tab-faq dl dt{color:#EFECFF}
html.dark .tab-faq dl dd{color:#B7B1E0}
html.dark .my-answer{background:#241F49 !important;border-color:#443D80 !important;color:#EFECFF}
html.dark .my-answer .my-plat{background:#3A3470;color:#DCD7FF}
html.dark .order-item,html.dark .bd-cta,html.dark .bd-add{background:#232045;border-color:#3A3470}
html.dark .txg-card,html.dark .txf-code,html.dark .txf-box-free{background:#232045;border-color:#3A3470}
html.dark .txf,.html.dark .txf-hero{background:transparent}
html.dark .t3x-card,html.dark .t33-out{background:#232045;border-color:#3A3470}
html.dark .step-done{background:#1F3A2C;border-color:#2F6247;color:#BEF0D2}
html.dark .name-sync-hint{background:#2A2550;border-color:#3F3978;color:#CFC9F5}
html.dark th{background:#282351;color:#D9D3FF}
html.dark td,html.dark th{border-color:#3A3470}
html.dark tr:hover td{background:#241F49}
html.dark .paper{background:#fff;color:#241F4D}      /* 계약서 용지는 종이처럼 흰색 유지 */
html.dark .desk,html.dark .doc-desk{background:#151228}
html.dark .page-foot{background:#151228;border-color:#2E2A55}
html.dark .page-foot .pf-legal a,html.dark .page-foot .pf-links a{color:#B7B1E0}
html.dark .pf-links a{color:#B7B1E0}
html.dark .ng-mango{background:#232045;border-color:#443D80;color:#D9D3FF}
html.dark .ng-dark-btn{background:#2B2752;border-color:#4A4388;color:#FFE9A8}
html.dark .ng-steps .ng-step{background:#232045;border-color:#443D80;color:#DCD7FF}
html.dark .ng-steps .ng-step.on{background:#6F66C7;color:#fff}
html.dark .ng-drop{background:linear-gradient(180deg,#241F49 0%,#1D1940 100%);border-color:#7A6FD8;color:#D9D3FF}
html.dark .ng-drop .ng-drop-s{color:#A8A2D6}
html.dark .ng-drop:hover{background:#2C2760}
html.dark .wm-preview{background:#151228;border-color:#3A3470}
html.dark .toast{background:#EFECFF;color:#241F4D}
html.dark .ngm-card{background:#232045;border-color:#3A3470;color:#DCD7FF}
html.dark .ngm-card em{color:#A8A2D6}
html.dark .ngm-phead{border-color:#3A3470}
html.dark .crumb,html.dark .bc{color:#A8A2D6}
html.dark .bc a{color:#C9C2FF}
html.dark .bc span{color:#8F88BC}

/* 냥발 커서 — 어두운 배경에서도 젤리가 보이게 테두리·그림자 보강 */
html.dark #catCursor .cat-inner{filter:drop-shadow(0 1px 0 #fff) drop-shadow(0 0 6px rgba(255,214,236,.55)) brightness(1.12)}
html.dark .paw-stamp{filter:drop-shadow(0 1px 0 rgba(255,255,255,.85))}

/* 다크모드에서 흰 배경을 그대로 쓰는 캔버스·그림은 테두리로 분리 */
html.dark .canvas{box-shadow:0 0 0 1px #443D80,0 2px 10px rgba(0,0,0,.4)}

/* 좁은 화면에서는 헤더 부제를 숨겨 브랜드·버튼이 잘리지 않게 */
@media (max-width:430px){
  .topbar .brand p,.topbar .subline{display:none}
}
/* 미리보기 위 작은 선택칩도 엄지로 누르기 좋게 */
@media (max-width:920px){
  .pv-seg button,.th-seg button,.rt-seg button,.seg.lg button{min-height:38px}
  .sample-badge{padding:7px 10px;font-size:12px;line-height:1.4}
}

/* ---------------------------------------------------------------- 맨 위로 ↑ */
.ng-top{
  position:fixed;right:16px;bottom:20px;z-index:90;
  width:46px;height:46px;border-radius:50%;
  border:1.5px solid #D8D2F5;background:#fff;color:#564CB4;
  font-family:inherit;font-size:19px;font-weight:900;line-height:1;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 20px -10px rgba(40,30,100,.55);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .18s,transform .18s,visibility .18s,background .15s;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.ng-top.on{opacity:1;visibility:visible;transform:translateY(0)}
.ng-top:hover{background:#F5F2FF;border-color:#A79DF0}
.ng-top:active{transform:scale(.94)}
.ng-top.lift{bottom:88px}          /* 하단 고정 바(저장·인쇄)가 있는 화면 */
html.dark .ng-top{background:#2B2752;border-color:#4A4388;color:#EDEAFF}
html.dark .ng-top:hover{background:#353068}
@media (max-width:920px){.ng-top{right:14px;bottom:18px;width:48px;height:48px}.ng-top.lift{bottom:92px}}

/* 다크모드 — 세부 보정 (2026-12-03 QA) */
html.dark .input-suffix span,
html.dark .with-unit .unit,
html.dark .input-suffix .unit{background:transparent !important;color:#B7B1E0 !important;border-color:#4A4388 !important}
html.dark .input-suffix,html.dark .with-unit{background:#232045 !important;border-color:#4A4388 !important}
html.dark .kr-chip,html.dark .kr-chip2{background:#3A2A18 !important;color:#FFD79A !important;border-color:#5A431F !important}
html.dark .seg button.on,html.dark .seg button[aria-pressed="true"],
html.dark .th-seg button.on,html.dark .rt-seg button.on,
html.dark .pv-seg button.on{background:#6F66C7 !important;color:#fff !important}
html.dark .my-break-btn,html.dark .my-price-btn,html.dark .my-contract-btn{background:#2B2752;color:#DCD7FF;border-color:#4A4388}
html.dark .app::before{color:#B7B1E0}
html.dark .tab-lead span,html.dark .tab-lead b{color:#DCD7FF}
html.dark .hint,html.dark .est-line,html.dark .save-priv,html.dark .bd-priv{color:#A8A2D6}
html.dark .hint a{color:#C9C2FF}
html.dark .field .lbl{color:#C3BDE8}
html.dark .field .lbl em{color:#928CC0}
html.dark .slots-count{color:#C3BDE8}
html.dark .slots-count b{color:#EFECFF}
html.dark .slots-tag{background:#2E2A55;border-color:#4A4388;color:#C9C2FF}
html.dark .slots .slot{background:#232045;border-color:#4A4388}
html.dark .slots .slot.on{background:#2E2A55;border-color:#8B82E8}

/* 움직임 줄이기(접근성) — 애니메이션이 멈춰 화면이 비어 보이는 일이 없게 */
@media (prefers-reduced-motion: reduce){
  .panel.active{animation:none !important;opacity:1 !important}
  html{scroll-behavior:auto}
}

/* 다크모드 — 헤더 브랜드 글자 */
html.dark .topbar .brand h1,html.dark .topbar h1,html.dark .topbar .brand-name,
html.dark .brand h1,html.dark .brand .brand-name{color:#F3F1FF}
html.dark .topbar .brand p,html.dark .brand p{color:#A8A2D6}
html.dark .app::before{color:#C9C2FF;background:#241F49;border-color:#3A3470}
html.dark .app::after{color:#8F88BC}
html.dark .topbar .meta{color:#8F88BC}

/* ============================================================================
   🌙 다크모드 전면 보강 — 2026-12-03 (사용자 지적: "글자들이 너무 안 보이는데")
   페이지마다 인라인 CSS에 박혀 있는 '흰 면 + 어두운 글자'를 html.dark 에서 한 번에
   바로잡는다. 페이지 CSS 가 #gl·#cl 같은 ID 선택자를 쓰므로 여기서는 !important 로
   확실히 덮는다. 가격표·보드 PNG 캔버스(#cvCommission·#cvBoard)와 계약서 종이
   (.paper)는 실제 출력물 색감을 지켜야 하므로 손대지 않는다.
   ========================================================================== */

/* 1) 페이지 공통 색 변수 — !important 는 선택자 우선순위와 별개로 이긴다 */
html.dark{
  --ink:#EFECFF !important;   --ink2:#DCD7FF !important;
  --sub:#B7B1E0 !important;   --muted:#A8A2D6 !important;  --faint:#8C86B8 !important;
  --line:#3A3470 !important;  --line2:#2E2A55 !important;
  --paper:#1E1B36 !important; --card:#1E1B36 !important;  --soft:#232045 !important;
  --bg:#100E1E !important;    --bg2:#1B1832 !important;
  --acc:#9A90F0 !important;   --acc2:#B3A9FF !important;   --acc-soft:#2E2A55 !important;
  --ok:#6FD3A0 !important;    --warn:#F0A97A !important;
  --mint-soft:#1B2E24 !important;  --mint-line:#2F6247 !important;
  --warn-soft:#33260F !important;  --warn-line:#5A431F !important;
}

/* 2) 흰 카드·표·박스 → 어두운 면 */
html.dark .ngm-tab,
html.dark .tbl,html.dark .tpl,html.dark .ck,html.dark .acc,html.dark .card,
html.dark .capsule,html.dark .endcta,html.dark .receipt,html.dark .toc,
html.dark .toggle,html.dark .term,html.dark .qa,html.dark .cut,html.dark .plat,
html.dark .safeblock,html.dark .gl-hero,html.dark .cl-hero,html.dark .plat-card,
html.dark .cut-mini,html.dark .src,html.dark .quote,html.dark .tips,html.dark .xlinks,
html.dark .toolcard,html.dark .numbox,html.dark .modebar,html.dark .quote-pre,
html.dark .sh-prev,html.dark .sh-more-in,html.dark .sh-card,html.dark .sh-cardhost,
html.dark .sh-dm,html.dark .seo-card,html.dark .sh-add,html.dark .sh-ex,
html.dark .sh-paladd,html.dark .sh-switch,html.dark .sh-more,html.dark #foldBtn,
html.dark .be-result,html.dark .vitem,html.dark .data,html.dark .vmore,html.dark .vmorebtn,
html.dark .formula,html.dark .vformula,html.dark .be-cell,html.dark .stepper,
html.dark .invoice,html.dark .rate-box,html.dark .order-steps,html.dark .o-step,
html.dark .date-input-wrap,html.dark .v7-fold,html.dark .extra-fold,html.dark .nx-a,
html.dark .core-step,html.dark .auto-badge,html.dark .wm-file,html.dark .rank-row.mine,
html.dark .fl-more-btn,html.dark .cmp-more-btn,html.dark .overseas-toggle,
html.dark .txg-hub,html.dark .txf-check-row,html.dark .acc-card,html.dark .txf-acc,
html.dark .acc.fee-log,html.dark .prio,html.dark .doc-card{
  background:#1E1B36 !important;border-color:#3A3470 !important;color:#EFECFF !important;
}
html.dark .tbl,html.dark .tpl,html.dark .src,html.dark .sh-prev,html.dark .sh-more-in,
html.dark .rank-row.mine,html.dark .order-steps,html.dark .o-step,html.dark .date-input-wrap,
html.dark .be-result,html.dark .sh-ex,html.dark .formula,html.dark .stepper,
html.dark .quote-pre,html.dark .invoice,html.dark .acc-card,html.dark .txf-acc{
  background:#232045 !important;
}

/* 3) 색이 있는 안내 박스 — 어두운 바탕에 같은 색 계열로 */
html.dark .warn,html.dark .txf-tip,html.dark .chk.warn,html.dark .disc{
  background:#33260F !important;border-color:#5A431F !important;color:#FFD79A !important;
}
html.dark .warn b,html.dark .txf-tip b,html.dark .chk.warn b{color:#FFE9B8 !important}
html.dark .callout,html.dark .notice,html.dark .filters,html.dark .info,
html.dark .chk.info,html.dark .sb-lines,html.dark .txf-fix,html.dark .pv-seg{
  background:#2A2550 !important;border-color:#443D80 !important;color:#DCD7FF !important;
}
html.dark .chk.tip,html.dark .ok,html.dark .step-done{
  background:#1B2E24 !important;border-color:#2F6247 !important;color:#BEF0D2 !important;
}
html.dark .step-done b,html.dark .chk.tip b,html.dark .ok b{color:#D7F7E4 !important}
html.dark .capsule{border-left-color:#2F9E6E !important}
html.dark .capsule .cp-t{color:#8FD9B4 !important}
html.dark .capsule p{color:#DCE8E2 !important}
html.dark .capsule b{color:#A8E8C6 !important}

/* 4) 표 머리·줄무늬·강조행 */
html.dark tr.top td,html.dark .tbl tr.top td{background:#1F3A2C !important;color:#D7F7E4 !important}
html.dark tr:nth-child(even) td{background:transparent}
html.dark .tbl thead th,html.dark th{background:#282351 !important;color:#E4E0FF !important}
html.dark td,html.dark th{border-color:#3A3470 !important}

/* 5) 페이지 머리·제목·본문 글자 */
html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5{color:#F3F1FF !important}
html.dark summary{color:#E4E0FF !important}
html.dark .toc a,html.dark .toc li,html.dark .toc summary{color:#DCD7FF !important}
html.dark .term b,html.dark .term h3,html.dark .term dt{color:#F3F1FF !important}
html.dark .term .t-en{color:#B7B1E0 !important}
html.dark .term p,html.dark .term dd{color:#DCD7FF !important}
html.dark .kicker,html.dark .kick,html.dark .eyebrow{color:#C9C2FF !important}
html.dark .sub,html.dark .lede,html.dark .note,html.dark .hint,html.dark .meta,
html.dark small,html.dark .muted{color:#B7B1E0 !important}
html.dark .src,html.dark .src *{color:#C9C2FF !important}

/* 6) 상단 5칸 메뉴·하단 푸터 */
html.dark .ngm-tab .ngm-tx,html.dark .ngm-tab b{color:#DCD7FF !important}
html.dark .ngm-tab.active .ngm-tx,html.dark .ngm-tab.active b{color:#fff !important}
html.dark .ngm-bd{background:#2E2A55 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark .pf-mail,html.dark .page-foot a{color:#C9C2FF !important}

/* 7) 미리 보기 머리·창 타이틀바(PRICE_FORM.CARD 등) */
html.dark .preview-head,html.dark .preview-foot{background:#232045 !important;border-color:#3A3470 !important}
html.dark .preview-title,html.dark #pvTitle,html.dark .pv-title{color:#F3F1FF !important}
html.dark .pv-seg button{color:#C9C2FF !important}
html.dark .pv-seg button.on{background:#6F66C7 !important;color:#fff !important}
html.dark .card:has(>.card-head)::before{
  color:#EDE9FF !important;
  background:linear-gradient(180deg,#3B3475,#4A4388) !important;
  border-bottom-color:#6F66C7 !important;
}
html.dark .sample-badge,html.dark .sample-badge b,html.dark .sample-badge span,
html.dark .sb-emoji,html.dark .sb-txt{color:#F3F1FF !important}
html.dark .sample-badge{background:#2E2A55 !important;border-color:#4A4388 !important}
html.dark .sb-clear{background:#2B2752 !important;border-color:#4A4388 !important;color:#DCD7FF !important}

/* 8) 남아 있던 흰 면 — 목록·표·안내·카드 (2026-12-03 2차) */
html.dark li,html.dark .ck-row.no,html.dark .ck-n,html.dark .bar,html.dark .cut-steps,
html.dark .track,html.dark .g-track,html.dark .txf-bar,html.dark .sh-modes,html.dark .val,
html.dark .hub-lead,html.dark .hub-card,html.dark .mini-card,html.dark .rel,html.dark .rel-card,
html.dark .rp-hero,html.dark .note,html.dark .term p,html.dark #gl p,html.dark #gl .term p,
html.dark summary,html.dark .sh-more summary{
  background:#1E1B36 !important;border-color:#3A3470 !important;color:#EFECFF !important;
}
html.dark .ck-row.no{background:#33260F !important;border-color:#5A431F !important}
html.dark .ck-n,html.dark .bar,html.dark .track,html.dark .g-track,html.dark .txf-bar{background:#2B2752 !important}
html.dark .kick,html.dark span.kick{background:#2E2A55 !important;border-color:#4A4388 !important;color:#C9C2FF !important}
html.dark .tag,html.dark .badge{background:#2E2A55 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark tr{background:transparent !important}

/* 9) 버튼 — 밝은 버튼은 어두운 버튼으로(주 버튼은 보라 유지) */
html.dark .btn:not(.pri),html.dark button.btn:not(.pri),html.dark a.btn:not(.pri),
html.dark #copyBtn,html.dark #copyRes,html.dark #cpBtn,html.dark #clPrint2,
html.dark .copy,html.dark .mini-btn,html.dark .sh-btn.ghost{
  background:#2B2752 !important;border-color:#4A4388 !important;color:#EFECFF !important;
}
html.dark .btn.pri,html.dark .btn.primary,html.dark .btn-primary{background:#7C6BFF !important;color:#fff !important;border-color:#8B7BFF !important}

/* 10) 본문 글자 — 페이지마다 박혀 있는 어두운 색을 한 번에 올린다 */
html.dark b,html.dark strong{color:#F3F1FF !important}
html.dark p,html.dark li,html.dark dd,html.dark blockquote{color:#DCD7FF !important}
html.dark td,html.dark th{color:#DCD7FF !important}
html.dark td.k,html.dark th[scope]{color:#F3F1FF !important}
html.dark td.amt,html.dark td.n{color:#D9D3FF !important}
html.dark em,html.dark i{color:#C3BDE8 !important}
html.dark a{color:#C9C2FF !important}
html.dark a.btn,html.dark a.btn.pri{color:#fff !important}
html.dark .warn,html.dark .warn *,html.dark .txf-tip *,html.dark .disc *{color:#FFD79A !important}
html.dark .capsule p,html.dark .capsule li{color:#DCE8E2 !important}
html.dark .callout,html.dark .callout *{color:#DCD7FF !important}
html.dark .safeblock b,html.dark .mint b{color:#A8E8C6 !important}

/* 11) 페이지별 남은 글자·면 (2026-12-03 3차 — 실제 렌더링에서 잰 값 기준) */
/* /checklist */
html.dark .tpl .body,html.dark .tpl .body *{color:#DCD7FF !important}
html.dark .toc a{background:transparent !important;color:#DCD7FF !important;border-color:transparent !important}
html.dark .links a{background:#232045 !important;border-color:#3A3470 !important;color:#C9C2FF !important}
html.dark .receipt span,html.dark .receipt b,html.dark .receipt div{color:#DCD7FF !important}
html.dark .prog,html.dark .prog span{color:#C3BDE8 !important}
html.dark .btn.pri,html.dark .btn.pri *{color:#fff !important}

/* /sheet */
html.dark .sh-styles button{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .sh-styles button b,html.dark .sh-styles button span{color:#EFECFF !important}
html.dark .sh-styles button .sm{color:#B7B1E0 !important}
html.dark .sh-chip{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .sh-chip span,html.dark .sh-chip .sm{color:#C3BDE8 !important}
html.dark .sh-prev-head .tt,html.dark .sh-ck-top,html.dark .sh-dm-head,
html.dark .sh-dm pre,html.dark pre,html.dark #dmText,html.dark #prevTitle{color:#EFECFF !important}
html.dark .sh-why .tx,html.dark .sh-notice .ntx,html.dark .sh-more-h{color:#C9C2FF !important}
html.dark .sh-f .lb,html.dark .sh-f label,html.dark .sh-link,html.dark .sh-modes button,
html.dark .sh-f .d,html.dark .sh-zoom button,html.dark .sh-add.wide span{color:#C3BDE8 !important}
html.dark .sh-links a{background:#232045 !important;border-color:#3A3470 !important;color:#C9C2FF !important}
html.dark .sh-f em{color:#F0A97A !important}
html.dark .sh-switch .d{color:#B7B1E0 !important}

/* /goods-calc */
html.dark .qstrip button{background:#232045 !important;border-color:#443D80 !important}
html.dark .qstrip .p{color:#EFECFF !important}
html.dark .qstrip .q{color:#C3BDE8 !important}
html.dark .field-label,html.dark .won,html.dark .data-body,html.dark .be-big{color:#C3BDE8 !important}
html.dark .sizes button{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .num{background:#2E2A55 !important;color:#DCD7FF !important}
html.dark .xrow a{background:#232045 !important;border-color:#3A3470 !important;color:#C9C2FF !important}
html.dark .vitem .vname,html.dark .vitem .vprice{color:#EFECFF !important}
html.dark .vitem .vmeta,html.dark .vitem .rank,html.dark .vrow .rank{color:#B7B1E0 !important}
html.dark .chk.warn .ic,html.dark .chk.tip .ic{color:#10231A !important}

/* /price-check */
html.dark .stat{background:#232045 !important;border-color:#3A3470 !important}
html.dark .stat b,html.dark .stat small{color:#EFECFF !important}
html.dark .big span,html.dark .brk .v{color:#DCD7FF !important}
html.dark .feecustom span,html.dark .k,html.dark .modebar button{color:#C3BDE8 !important}
html.dark .modebar button{background:#232045 !important;border-color:#3A3470 !important}
html.dark .rp-banner .rb-p{color:#C3BDE8 !important}
html.dark .xrow a{background:#232045 !important;border-color:#3A3470 !important;color:#C9C2FF !important}
html.dark .note{color:#C3BDE8 !important}
html.dark .card{background:#1E1B36 !important;border-color:#3A3470 !important}
html.dark .card p,html.dark .card span,html.dark .card label{color:#DCD7FF !important}

/* /glossary */
html.dark .def3 a{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .def3 a b,html.dark .def3 a span{color:#EFECFF !important}
html.dark .quick3 b,html.dark .tip b,html.dark p.tip b{background:#2E2A55 !important;color:#DCD7FF !important}
html.dark .term .cta{background:#232045 !important;border-color:#3A3470 !important;color:#C9C2FF !important}
html.dark .toc-grp a{background:transparent !important;color:#DCD7FF !important}
html.dark .cut-cta{background:#2B2752 !important;border-color:#4A4388 !important;color:#EFECFF !important}
html.dark .t-cat{background:#2E2A55 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark .term span,html.dark .term p{color:#DCD7FF !important}
html.dark .term .t-en{color:#A8A2D6 !important}
html.dark .tbl a{color:#C9C2FF !important}

/* /reports 계열 — 리포트 본문 */
html.dark #rp{--ink:#EFECFF !important;--ink2:#DCD7FF !important;--sub:#B7B1E0 !important;
  --muted:#A8A2D6 !important;--line:#3A3470 !important;--line2:#2E2A55 !important;
  --paper:#1E1B36 !important;--acc:#9A90F0 !important;--acc2:#B3A9FF !important;--acc-soft:#2E2A55 !important}
html.dark #rp b,html.dark #rp strong{color:#F3F1FF !important}
html.dark #rp p,html.dark #rp li,html.dark #rp td,html.dark #rp dd{color:#DCD7FF !important}
html.dark #rp a{color:#C9C2FF !important}
html.dark #rp h1,html.dark #rp h2,html.dark #rp h3,html.dark #rp h4{color:#F3F1FF !important}
html.dark #rp .sub,html.dark #rp .tnote,html.dark #rp .stp,html.dark #rp small,html.dark #rp .m{color:#B7B1E0 !important}
html.dark #rp .rn,html.dark #rp .rc-go,html.dark #rp .big,html.dark #rp .rel-all,
html.dark #rp .rc-cat{color:#B3A9FF !important}
html.dark #rp .rc-cat{background:#3A2A18 !important;border-color:#5A431F !important;color:#FFD79A !important}
html.dark #rp .rc-one,html.dark #rp .rc-cat{color:#C3BDE8 !important}
html.dark #rp .capsule p,html.dark #rp .capsule b{color:#CFE9DA !important}
html.dark #rp .warn,html.dark #rp .warn *{color:#FFD79A !important}
html.dark #rp .tbl{border-color:#3A3470 !important}
html.dark #rp table.stack tr{background:#1E1B36 !important;border-color:#3A3470 !important}
html.dark #rp table.stack td::before{color:#B7B1E0 !important}
html.dark #rp .toc a,html.dark #rp .toc li{color:#DCD7FF !important}

/* 12) 헤더 버튼·공통 칩 (2026-12-03 4차) */
html.dark .beta-open{background:#2B2752 !important;border-color:#4A4388 !important}
html.dark .beta-open .bt-full,html.dark .beta-open .bt-short{color:#EFECFF !important}
html.dark .beta-pill{background:#3A2240 !important;border-color:#6B3A62 !important;color:#FFB3D9 !important}
html.dark .guide-open,html.dark .guide-open .qmark,html.dark .gt-full,html.dark .gt-short{color:#DCD7FF !important}
html.dark .brand .en,html.dark .brand-name .en{color:#A8A2D6 !important}
html.dark .seg button{background:#232045 !important;border-color:#3A3470 !important;color:#C3BDE8 !important}
html.dark .seg button.on,html.dark .seg button[aria-pressed="true"]{background:#6F66C7 !important;color:#fff !important}
html.dark .btn.pri{background:#5F51D6 !important;border-color:#6F60E0 !important;color:#fff !important}

/* 단계·번호 배지 */
html.dark .ng-steps .ng-step i,html.dark .ng-steps .ng-step .n{color:#C3BDE8 !important}
html.dark .ng-steps .ng-step.on i,html.dark .ng-steps .ng-step.on .n{color:#fff !important}
html.dark .cs-h b,html.dark .core-step b,html.dark ol.steps b,html.dark .steps li b{
  background:#4A4388 !important;border-color:#6F66C7 !important;color:#fff !important}
html.dark .ng-send-h b{background:#4A4388 !important;color:#fff !important}

/* /fee */
html.dark .pg-chips button{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .pg-chips button.on{background:#6F66C7 !important;border-color:#8B82E8 !important;color:#fff !important}
html.dark .disc-chips button,html.dark .disc-chips label{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .disc-chips button.on{background:#6F66C7 !important;color:#fff !important}

/* /tax */
html.dark .txf-result-pct,html.dark .txf-result b{color:#C9C2FF !important}

/* /board */
html.dark .chip-plain,html.dark .preview-size,html.dark .bd-summary{
  background:#2E2A55 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark .nsh-go,html.dark .name-sync-hint .nsh-go{background:#3A3470 !important;color:#EFECFF !important}
html.dark .nsh-ic,html.dark .name-sync-hint .nsh-ic{background:#4A4388 !important;color:#DCD7FF !important}

/* /watermark */
html.dark .wm-mark{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .wm-mark.on{background:#6F66C7 !important;border-color:#8B82E8 !important;color:#fff !important}

/* 13) 남은 세부 (2026-12-03 5차) */
html.dark .links .u,html.dark .links a span{color:#C9C2FF !important}
html.dark .tl .stp,html.dark #rp .tl .stp{color:#C3BDE8 !important}
/* /sheet */
html.dark .sh-ex .lb,html.dark .lb,html.dark .sh-ck-top span,html.dark .thin,
html.dark .sh-notice .ntx,html.dark .sm2{color:#C9C2FF !important}
html.dark .sh-modes button{background:#232045 !important;border-color:#3A3470 !important;color:#C3BDE8 !important}
html.dark .sh-modes button.on{background:#6F66C7 !important;color:#fff !important}
html.dark .sh-f em{background:#3A2A18 !important;color:#FFD79A !important}
/* /goods-calc */
html.dark .rank{background:#2E2A55 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark .vitem.best .rank{background:#0E7A57 !important;color:#fff !important}
html.dark .chk.info .ic{background:#4A4388 !important;color:#EFECFF !important}
html.dark .quick button,html.dark .qstrip button{background:#232045 !important;border-color:#443D80 !important;color:#DCD7FF !important}
/* /price-check */
html.dark .stat div,html.dark .stat p{background:transparent !important}
html.dark .stat b,html.dark .stat small,html.dark .stat span{color:#EFECFF !important}
html.dark .gauge .g-pin,html.dark .g-pin{background:#4A4388 !important;border-color:#6F66C7 !important;color:#EFECFF !important}
html.dark .feecustom,html.dark .feecustom *{color:#C3BDE8 !important}

/* 14) 마지막 세부 (2026-12-03 6차) */
/* 홈 */
html.dark .ng-steps .ng-step.on i{background:#4A4388 !important;color:#fff !important}
html.dark p.step-done{background:#1F3A2C !important;border-color:#2F6247 !important;color:#BEF0D2 !important}
html.dark p.step-done b,html.dark .sd-ic{background:transparent !important;color:#A8E8C6 !important}
html.dark .more-toggle{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .card-head em{background:#2E2A55 !important;color:#C9C2FF !important}
html.dark .tb-new{background:#B23A78 !important;color:#fff !important}
html.dark .switch .sw-state{color:#fff !important}
/* 계약서 */
html.dark .trust,html.dark .trust span,html.dark .legal,html.dark .legal span{color:#C3BDE8 !important}
html.dark .desk-bar span{color:#C9C2FF !important}
html.dark .lead,html.dark .lead span{color:#B7B1E0 !important}
/* 용어사전 */
html.dark .ncards a{background:#232045 !important;border-color:#3A3470 !important}
html.dark .ncards a b,html.dark .ncards a em{background:transparent !important;color:#EFECFF !important}
html.dark .plat-card{background:#1E1B36 !important;border-color:#3A3470 !important}
html.dark .plat-go{color:#C9C2FF !important}
html.dark details.toc,html.dark .toc{background:#1E1B36 !important;border-color:#3A3470 !important}
html.dark .toc summary i,html.dark .toc summary span,html.dark .toc summary{color:#C3BDE8 !important}
html.dark .toc summary b{background:#4A4388 !important;color:#fff !important}
/* 리포트 */
html.dark tr.hi td{background:#241F49 !important}
html.dark .tl .st{background:#2E2A55 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark #rp a.btn.pri,html.dark #rp .btn.pri,html.dark #rp a.btn{color:#fff !important}
html.dark #rp .btn.pri{background:#5F51D6 !important;border-color:#6F60E0 !important}

/* 15) 마무리 (2026-12-03 7차) */
html.dark .ng-step i{color:#fff !important}
html.dark .plat-go{background:#232045 !important;border-color:#3A3470 !important;color:#C9C2FF !important}
html.dark details.toc summary{background:#1E1B36 !important}
html.dark .toc summary i{background:transparent !important;color:#C3BDE8 !important}
html.dark .ncards a span{color:#C3BDE8 !important}
html.dark .adv-tx,html.dark .adv-tx span{color:#C3BDE8 !important}
html.dark .sh-notice .ntx,html.dark .ntx span{color:#C3BDE8 !important}
html.dark .g-pin{background:#4A4388 !important;border-color:#6F66C7 !important;color:#EFECFF !important}
html.dark .feecustom{background:#232045 !important;border-color:#3A3470 !important}
html.dark .feecustom em{color:#F0A97A !important}

/* 16) 최종 마감 (2026-12-03 8차) */
html.dark .ng-steps .ng-step i{color:#fff !important}
html.dark .doc-tabs{background:#232045 !important;border-color:#3A3470 !important}
html.dark .doc-tabs b,html.dark .doc-tabs span{background:transparent !important;color:#EFECFF !important}
html.dark p.doc-note,html.dark .doc-note{color:#C3BDE8 !important}
html.dark #gPinLabel{background:#4A4388 !important;color:#EFECFF !important}
html.dark #dlLabel{background:#3A3470 !important;border-color:#4A4388 !important;color:#EFECFF !important}
/* 시트의 카드 미리보기는 인쇄물과 같은 흰 종이 — 글자는 원래대로 어둡게 */
html.dark #mName{background:transparent !important;color:#241F4D !important}
html.dark #mDesc{background:transparent !important;color:#5F5990 !important}
html.dark .doc-switch{background:linear-gradient(180deg,#232045,#1E1B36) !important;border-color:#3A3470 !important}
html.dark .doc-switch .seg.lg button{background:#232045 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark .doc-switch .seg.lg button[aria-pressed="true"]{background:linear-gradient(180deg,#6F66C7,#5B4BD6) !important;color:#fff !important}
html.dark .doc-switch .seg.lg button b{color:inherit !important}

html.dark .nbr-seg{background:#2E2A55 !important;border-color:#4A4388 !important}
html.dark .nbr-seg button{color:#C3BDE8 !important}
html.dark .nbr-seg button.on{background:#6F66C7 !important;color:#fff !important}
html.dark .nbr-lbl{color:#B7B1E0 !important}
html.dark .quick3 > div{background:#232045 !important;border-color:#3A3470 !important;color:#DCD7FF !important}
html.dark .quick3 > div b,html.dark .quick3 > div strong{color:#EFECFF !important}
html.dark .quick3 > div a{color:#C9C2FF !important}
/* 계약서 안내문은 종이 위에 얹히므로 종이처럼 밝게 유지하고 글자는 어둡게 */
html.dark .doc-note{background:#F3F1FA !important;border-color:#D9D3F0 !important;color:#3A3470 !important}
html.dark .doc-note b,html.dark .doc-note span,html.dark .doc-note a{color:#241F4D !important}
html.dark p.doc-note,html.dark p.doc-note.hide-print{background:#F3F1FA !important;color:#3A3470 !important}
html.dark p.doc-note b,html.dark p.doc-note span{color:#241F4D !important}

/* 17) 밝은 그라디언트 면 — 배경색이 투명이라 앞선 검사에서 빠져 있던 곳 */
html.dark .guide-open{background:linear-gradient(180deg,#2B2752,#232045) !important;
  border-color:#4A4388 !important;color:#EFECFF !important}
html.dark .guide-open .qmark{background:#4A4388 !important;color:#fff !important}
html.dark .ngm-phead{background:linear-gradient(180deg,#232045,#1E1B36) !important;border-color:#3A3470 !important}
html.dark .ngm-phead,html.dark .ngm-phead *,html.dark .ngm-phead b{color:#EFECFF !important}
html.dark .ngm-phead em{color:#B7B1E0 !important}
html.dark .hero{background:linear-gradient(180deg,#232045,#1E1B36) !important;border-color:#3A3470 !important}
html.dark .hero-label,html.dark .hero-sub{color:#C3BDE8 !important}
html.dark .hero-num,html.dark .hero-num span{color:#F3F1FF !important}
html.dark .txf-hero,html.dark .txf-result{background:linear-gradient(180deg,#232045,#1E1B36) !important;border-color:#3A3470 !important}
html.dark .rp-banner{background:linear-gradient(180deg,#232045,#1E1B36) !important;border-color:#3A3470 !important}
html.dark .sh-why,html.dark .sh-notice{background:linear-gradient(90deg,#241F49,#1E1B36) !important;border-color:#3A3470 !important}
html.dark .adv-btn{background:#232045 !important;border-color:#4A4388 !important;color:#DCD7FF !important}
html.dark .actions{background:#1B1832 !important;border-color:#3A3470 !important}
html.dark .actions .btn{background:#2B2752 !important;border-color:#4A4388 !important;color:#EFECFF !important}
html.dark .mobile-save{background:#1B1832 !important;border-color:#3A3470 !important}
html.dark .btn-primary,html.dark .btn.btn-primary{background:#5F51D6 !important;border-color:#6F60E0 !important;color:#fff !important}
html.dark .btn-primary *,html.dark .btn.btn-primary *{color:#fff !important}
html.dark .btn-primary svg,html.dark .btn.btn-primary svg{color:#fff !important}

/* 18) 창 타이틀바·도구 패널·스테퍼 (2026-12-03 9차) */
html.dark .ngshell::before{color:#C9C2FF !important;
  background:linear-gradient(180deg,#2E2A55,#241F49) !important;border-color:#3A3470 !important}
html.dark .ngshell::after{color:#8F88BC !important}
html.dark .stepper button{background:#2B2752 !important;border-color:#4A4388 !important;color:#EFECFF !important}
html.dark .per-unit{background:#2B2752 !important;color:#EFECFF !important}
html.dark .per-unit,html.dark .per-unit *,html.dark .per-unit b{color:#EFECFF !important}
html.dark .ngm-pcount{background:#3A3470 !important;color:#EFECFF !important}
html.dark .ngm-x{background:#2B2752 !important;color:#EFECFF !important}
html.dark .ngm-ci,html.dark .ngm-gi,html.dark .ngm-gn{background:#2E2A55 !important;color:#DCD7FF !important}
html.dark .switch{background:#3A3470 !important}
html.dark .ngm-tag{color:#241F4D !important}

/* 19) 계약서 종이(A4)는 실제 출력물 — 안쪽 글자는 종이색 그대로 (2026-12-03 10차) */
html.dark #paper,html.dark .paper{background:#fff !important;color:#111827 !important;border-color:#C9C6DA !important}
html.dark #paper p,html.dark #paper span,html.dark #paper div,html.dark #paper b,html.dark #paper strong,
html.dark #paper em,html.dark #paper small,html.dark #paper li,html.dark #paper h1,html.dark #paper h2,
html.dark #paper h3,html.dark #paper h4,html.dark #paper td,html.dark .paper p,html.dark .paper span,
html.dark .paper b,html.dark .paper strong,html.dark .paper em,html.dark .paper small,html.dark .paper li{
  color:#111827 !important}
html.dark #paper .doc-sub,html.dark #paper .d,html.dark #paper .ph,html.dark #paper .doc-note,
html.dark #paper .doc-sub b,html.dark .paper .doc-sub,html.dark .paper .d,html.dark .paper .ph{
  color:#4B5563 !important}
html.dark #paper th,html.dark .paper th{background:#F3F4F7 !important;color:#111827 !important;border-color:#B9BECC !important}
html.dark #paper td,html.dark .paper td{background:transparent !important;border-color:#B9BECC !important}
html.dark #paper .ph,html.dark .paper .ph{color:#9AA0AE !important}

/* ============================================================================
   🔥 2026-12-03 — 상단 메뉴 핫핑크 포인트는 **다크모드에만** 적용한다.
   (사용자 지적: 라이트·일반 버전의 탭 컬러가 "잘못되었어" → 원래 보라 레트로 톤으로 원복)
   · 라이트(일반) : 보라 아이콘/테두리/전체도구 보라 그라디언트 + 추천·인기·HOT 원색 배지 (기존 그대로)
   · 다크(html.dark) : 핫핑크 아이콘·핑크 테두리·핫핑크 전체도구 버튼 유지
   ※ 이 블록은 ng-nav.css · ng-ui.css · 인라인 사본(index·contract·privacy·terms 등)에
     똑같이 들어 있다. 페이지마다 두 CSS 의 로드 순서가 달라서다.
   ========================================================================== */

/* ============================ 🌙 다크모드 ============================ */
/* 탭 아이콘이 어두운 배경(#1E1B36)에 묻히지 않게 발광감 있는 핑크로 */
html.dark .ngm-stack .ngm-tabs .ngm-tab .ngm-ico svg.ic{
  color:#FF70AB!important;stroke:currentColor!important;
  filter:drop-shadow(0 0 4px rgba(255,61,139,.45))}
html.dark .ngm-stack .ngm-tabs .ngm-tab:hover .ngm-ico svg.ic{color:#FFA8CE!important}
html.dark .ngm-stack .ngm-tabs .ngm-tab.active .ngm-ico svg.ic,
html.dark .ngm-stack .ngm-tabs .ngm-tab[aria-selected="true"] .ngm-ico svg.ic{
  color:#FFA8CE!important;filter:drop-shadow(0 0 7px rgba(255,61,139,.65))}
html.dark .ngm-stack .ngm-tabs .ngm-tab.active,
html.dark .ngm-stack .ngm-tabs .ngm-tab[aria-selected="true"]{
  border-color:#FF3D8B!important;background:#2A1630!important;color:#FFC2DC!important;
  box-shadow:inset 0 -3px 0 #FF3D8B,0 0 0 1px rgba(255,61,139,.22)!important}
html.dark .ngm-stack .ngm-tabs .ngm-tab.active .ngm-tx,
html.dark .ngm-stack .ngm-tabs .ngm-tab[aria-selected="true"] .ngm-tx{color:#FFC2DC!important}
html.dark .ngm-stack .ngm-tabs .ngm-tab .ngm-tx{color:#E4DFFF!important}
/* 전체도구 — 다크에서도 핫핑크 버튼 유지 */
html.dark .ngm-stack .ngm-tabs .ngm-all{
  background:linear-gradient(180deg,#FF5CA8,#EE1D78)!important;border-color:#FF7FB4!important;
  color:#fff!important;box-shadow:0 3px 0 #B40050,0 0 14px rgba(255,61,139,.28)!important}
html.dark .ngm-stack .ngm-tabs .ngm-all:hover{
  background:linear-gradient(180deg,#FF74B9,#F43A8C)!important;color:#fff!important}
html.dark .ngm-stack .ngm-tabs .ngm-all[aria-expanded="true"],
html.dark .ngm-stack .ngm-tabs .ngm-all.active{
  background:linear-gradient(180deg,#E6197A,#B40050)!important;border-color:#FF7FB4!important;
  box-shadow:inset 0 2px 0 rgba(0,0,0,.22)!important}
html.dark .ngm-stack .ngm-tabs .ngm-all .ngm-ico svg.ic,
html.dark .ngm-stack .ngm-tabs .ngm-all.active .ngm-ico svg.ic,
html.dark .ngm-stack .ngm-tabs .ngm-all[aria-expanded="true"] .ngm-ico svg.ic,
html.dark .ngm-stack .ngm-tabs #ngmAllBtn .ngm-ico svg.ic{
  color:#fff!important;stroke:#fff!important;filter:none!important}
html.dark .ngm-stack .ngm-tabs .ngm-all .ngm-tx,
html.dark .ngm-stack .ngm-tabs .ngm-all .ngm-cv{color:#fff!important}
/* 배지 — 일괄 회색 덮어쓰기(html.dark .ngm-bd)보다 뒤에서 원래 색 대비를 되살린다 */
html.dark .ngm-stack .ngm-bd.re,html.dark .ngm-stack .ngm-tag.re{
  background:linear-gradient(180deg,#FFE98F,#FFD54A)!important;border-color:#FFC61A!important;
  color:#5F4200!important;box-shadow:0 0 8px rgba(255,214,74,.35)}
html.dark .ngm-stack .ngm-bd.po,html.dark .ngm-stack .ngm-tag.po{
  background:linear-gradient(180deg,#FFB0D2,#FF6FA8)!important;border-color:#FF3D8B!important;
  color:#460A22!important;box-shadow:0 0 8px rgba(255,61,139,.35)}
html.dark .ngm-stack .ngm-bd.hot,html.dark .ngm-stack .ngm-tag.hot{
  background:linear-gradient(180deg,#FF7E4F,#EF4B24)!important;border-color:#FF9A6B!important;
  color:#fff!important;box-shadow:0 0 8px rgba(255,90,40,.35)}
html.dark .ngm-stack .ngm-tag.newp{background:#8C7BFF!important;border-color:#A79DFF!important;color:#fff!important}
html.dark .ngm-stack .ngm-tag.new{background:#2E2A55!important;border-color:#4A4388!important;color:#DCD7FF!important}
/* 패널 카드 아이콘·그룹 아이콘 */
html.dark .ngm-stack .ngm-card .ngm-ci{background:#3A1430!important;color:#FF8CBC!important}
html.dark .ngm-stack .ngm-card.live{border-color:#7A2D55!important}
html.dark .ngm-stack .ngm-card.live .ngm-ci{background:#4A1533!important;color:#FFB3D4!important}
html.dark .ngm-stack .ngm-gi.lv{background:#2A2456!important;color:#B3A9FF!important}
html.dark .ngm-stack .ngm-gi.yl{background:#3A2C12!important;color:#FFD98A!important}
html.dark .ngm-stack .ngm-gi.pk{background:#3A1430!important;color:#FF8CBC!important}

/* v10.15 (2026-12-03) — 모바일 푸터 '검은망고' 배지가 우하단 '맨 위로' 버튼에 가리지 않게
   배지만 한 줄 내려 가운데 정렬한다(법적 고지 줄은 그대로). */
@media (max-width:640px){
  .page-foot .pf-legal:has(.ng-mango)::before{content:'';flex:0 0 100%;height:0;order:1}
  .page-foot .pf-legal .ng-mango{order:2;margin-left:0;margin-top:3px}
}

/* ============================================================
   2026-12-03 — 공식 확인 배지(💙 파란 방패)
   담당자 답장으로 요율·기준이 확인된 플랫폼(포스타입·아트머그)에만 붙인다.
   '제휴·파트너' 표현은 쓰지 않는다 — 확인만 표시한다.
   ============================================================ */
.ng-verified{
  display:inline-flex;align-items:center;gap:4px;vertical-align:middle;
  padding:2px 7px 2px 6px;border-radius:999px;
  background:#EFF6FF;color:#1D4ED8;border:1px solid #BFDBFE;
  font-size:10.5px;font-weight:800;line-height:1.4;letter-spacing:-.01em;
  white-space:nowrap;text-decoration:none;
}
.ng-verified svg{width:12px;height:12px;flex:none;display:block}
.ng-verified .ngv-d{font-weight:700;font-size:10px;opacity:.9}
.ng-verified.lg{
  padding:4px 10px 4px 9px;gap:5px;font-size:12px;font-weight:800;color:#1E40AF;
}
.ng-verified.lg svg{width:14px;height:14px}
.ng-verified.lg .ngv-d{font-size:11px}
html.dark .ng-verified{background:rgba(59,130,246,.16);color:#60A5FA;border-color:rgba(96,165,250,.38)}
html.dark .ng-verified.lg{color:#93C5FD}
/* 배지 줄 — 요약 상단에 한 줄로만 둔다(줄 수를 늘리지 않는다) */
.ngv-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px}
.ngv-row:empty{display:none}
.pg-chips button .ng-verified{margin-left:5px;padding:1px 6px 1px 5px;font-size:10px}
.pg-chips button .ng-verified svg{width:11px;height:11px}
@media (max-width:420px){
  .ng-verified.lg{font-size:11.5px;padding:3px 8px 3px 7px}
  .ngv-row{margin-bottom:8px}
}
/* 다크에서 카드 안 규칙(색 상속)이 배지 색을 덮지 않게 한 겹 더 */
html.dark #platVerified .ng-verified,
html.dark #platVerified .ng-verified.lg{color:#93C5FD}
html.dark .pg-chips button .ng-verified{color:#60A5FA}

/* 카드 안 다크 규칙(`html.dark .card span` !important)보다 우선 */
html.dark .ng-verified,html.dark .ng-verified span{color:#60A5FA !important}
html.dark .ng-verified.lg,html.dark .ng-verified.lg span{color:#93C5FD !important}
html.dark span.ng-verified,html.dark .card span.ng-verified{color:#60A5FA !important}
html.dark span.ng-verified.lg,html.dark .card span.ng-verified.lg{color:#93C5FD !important}
/* 좁은 화면 — 플랫폼 버튼은 폭이 고정(4열 그리드)이라 배지 글자를 빼고 방패 아이콘만 남긴다 */
@media (max-width:600px){
  .pg-chips button .ng-verified{padding:0;margin-left:3px;border:0;background:transparent;gap:0}
  .pg-chips button .ng-verified>span{display:none}
  .pg-chips button .ng-verified svg{width:11px;height:11px}
  html.dark .pg-chips button .ng-verified{background:transparent}
}
/* 결과 박스 안 배지 줄 — 숫자 위에 한 줄로만 */
.my-answer .ngv-row{margin:0 0 7px}
