/* 보장맵 설계사 도구
   글자: 본문 17px부터, 누르는 것은 높이 48px 이상. "글자 크게"를 켜면 전체가 한 단계 커진다(rem 기준)
   색: 검정 글자 + 흰 바탕. 파랑은 지금 고른 것과 누를 수 있는 것에만 쓴다 */
:root {
  --ink: #111418; --ink-2: #3A424D; --ink-3: #5A6472;
  --line: #DCE0E5; --line-2: #ECEFF2; --bg: #F3F5F7;
  --ok: #2B6AF5; --ok-ink: #0F3FB8; --ok-tint: #EAF1FF;
  --warn-ink: #9A4B00; --warn-tint: #FFF3E0;
  --no-ink: #B42318; --no-tint: #FFECE9;
  --sans: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.bigger { font-size: 19px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; font-size: 1.0625rem; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 3px solid var(--ok); outline-offset: 2px; border-radius: 8px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.brand b { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; }
.brand span { font-size: 1rem; font-weight: 700; color: var(--ink-3); }
#nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
#nav::-webkit-scrollbar { display: none; }
#nav a { position: relative; padding: 22px 14px; text-decoration: none; font-size: 1.0625rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
#nav a:hover { color: var(--ink); }
#nav a.on { color: var(--ink); font-weight: 800; }
#nav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--ink); border-radius: 3px 3px 0 0; }
.sizebtn { height: 42px; padding: 0 16px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font-size: 0.9375rem; font-weight: 700; white-space: nowrap; }
.sizebtn:hover { border-color: var(--ink-3); }
.sizebtn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 쪽 머리 */
.page { padding: 44px 0 72px; }
.phead h1 { margin: 0; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.phead p { margin: 10px 0 0; font-size: 1.125rem; color: var(--ink-2); font-weight: 500; max-width: 46em; }

/* 무엇을 할까요: 세 가지 중 하나 */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.modes button { text-align: left; padding: 16px 20px; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; display: flex; flex-direction: column; gap: 2px; min-height: 76px; justify-content: center; }
.modes button b { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; }
.modes button span { font-size: 0.9375rem; color: var(--ink-3); font-weight: 600; }
.modes button:hover { border-color: var(--ink-3); }
.modes button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.modes button.on span { color: #C9D0D9; }

.finder { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.finder input { flex: 1 1 320px; height: 54px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 18px; font-size: 1.125rem; font-weight: 600; background: #fff; }
.finder input::placeholder { color: #8A94A3; font-weight: 500; }
.finder input:focus { border-color: var(--ink); outline: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 44px; padding: 0 16px; border: 1.5px solid var(--line); background: #fff; border-radius: 22px; font-size: 1rem; font-weight: 700; color: var(--ink-2); }
.chips button:hover { border-color: var(--ink-3); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips.big { margin-top: 24px; }
.chips.big button { height: 50px; padding: 0 20px; font-size: 1.0625rem; border-radius: 25px; }

/* 보험사 타일 */
.group { margin-top: 36px; }
.group > h2 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 8px; }
.group > h2 small { font-size: 0.9375rem; font-weight: 600; color: var(--ink-3); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.tile { position: relative; }
.tile .go { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 132px; padding: 38px 14px 18px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; text-align: center; transition: border-color .12s, box-shadow .12s, transform .12s; }
.tile .go:hover { border-color: var(--ink); box-shadow: 0 6px 20px rgba(17,20,24,.10); transform: translateY(-2px); }
.tile .go:active { transform: none; box-shadow: none; }
.tile .logo { height: 3rem; width: 100%; display: flex; align-items: center; justify-content: center; }
.tile .logo img { max-height: 3.4rem; max-width: 100%; object-fit: contain; }
.tile .logo .mono { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
.tile .nm { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.tile .cap { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); line-height: 1.3; }
.tile .num { font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ok-ink); font-variant-numeric: tabular-nums; }
.tile .star { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: none; border-radius: 14px; display: grid; place-items: center; color: #7C8695; }
.tile .star:hover { background: var(--bg); color: var(--ink-2); }
.tile .star svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.tile .star[aria-pressed="true"] { color: #F5A300; }
.tile .star[aria-pressed="true"] svg { fill: currentColor; }
.group.fav .tiles { padding: 16px; background: var(--bg); border-radius: 22px; }
.empty { margin-top: 32px; padding: 32px; text-align: center; background: var(--bg); border-radius: 18px; color: var(--ink-2); font-weight: 600; }
.foot-note { margin: 28px 0 0; font-size: 0.9375rem; color: var(--ink-3); font-weight: 500; }

/* 카드 */
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.card { border: 1.5px solid var(--line); border-radius: 20px; padding: 26px 28px; background: #fff; }
.card.wide { margin-top: 16px; }
.card h2 { margin: 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.025em; }
.fields { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.fields label { flex: 1 1 180px; font-size: 0.9375rem; font-weight: 700; color: var(--ink-2); }
.fields input { display: block; width: 100%; height: 54px; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; background: #fff; }
.fields input:focus { border-color: var(--ink); outline: none; }
.fields .echo { display: block; margin-top: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-3); min-height: 1.4em; }
.fields .echo.bad { color: var(--no-ink); }
.out { margin-top: 18px; min-height: 64px; }
.out .bigv { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.out .bigv b { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.out .bigv span { font-size: 1.0625rem; font-weight: 600; color: var(--ink-3); }
.out .ln { margin: 10px 0 0; font-size: 1.0625rem; font-weight: 500; color: var(--ink-2); }
.out .ln b { color: var(--ink); font-weight: 800; }
.hint { margin: 12px 0 0; font-size: 0.9375rem; color: var(--ink-3); font-weight: 500; }
.tablewrap { overflow-x: auto; margin-top: 16px; }
table.gen { width: 100%; border-collapse: collapse; min-width: 760px; }
table.gen th { text-align: left; font-size: 0.875rem; font-weight: 700; color: var(--ink-3); padding: 10px 12px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
table.gen td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 1rem; vertical-align: top; }
table.gen td.g { font-weight: 800; font-size: 1.125rem; white-space: nowrap; }

/* 기한 계산 */
.due { margin-top: 18px; display: grid; gap: 0; }
.due .row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 6px 20px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.due .row:first-child { border-top: 0; }
.due .k { font-size: 1.0625rem; font-weight: 700; }
.due .k small { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.due .v { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.due .v small { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.due .v.past small { color: var(--no-ink); }

/* 청구 서류 */
.docs { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: d; }
.docs li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; counter-increment: d; align-items: baseline; }
.docs li:first-child { border-top: 0; padding-top: 4px; }
.docs li::before { content: counter(d); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.9375rem; font-weight: 800; }

/* 함께 쓰는 곳 */
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 28px; }
.links a { display: block; padding: 20px 22px; border: 1.5px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.links a:hover { border-color: var(--ink); box-shadow: 0 6px 20px rgba(17,20,24,.10); }
.links a b { display: block; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; }
.links a span { display: block; margin-top: 4px; font-size: 1rem; color: var(--ink-2); font-weight: 500; }
.links a em { display: block; margin-top: 10px; font-style: normal; font-size: 0.875rem; color: var(--ink-3); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 알릴 의무 */
.notice { margin-top: 24px; padding: 18px 22px; background: var(--warn-tint); border-radius: 16px; font-size: 1.0625rem; font-weight: 600; color: #5C3200; }
.notice b { font-weight: 800; }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 24px; }
.types button { text-align: left; padding: 16px 18px; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; min-height: 84px; display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.types button b { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; }
.types button span { font-size: 0.9375rem; color: var(--ink-3); font-weight: 600; line-height: 1.35; }
.types button:hover { border-color: var(--ink-3); }
.types button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.types button.on span { color: #C9D0D9; }
.basis { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; margin-top: 28px; }
.basis label { font-size: 0.9375rem; font-weight: 700; color: var(--ink-2); }
.basis input { display: block; margin-top: 6px; width: 220px; height: 54px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.basis .echo { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.qlist { margin-top: 20px; display: grid; gap: 14px; }
.q { border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.q > summary { list-style: none; cursor: pointer; padding: 22px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; }
.q > summary::-webkit-details-marker { display: none; }
.q .when { grid-row: span 2; min-width: 112px; padding: 10px 12px; border-radius: 14px; background: var(--ok-tint); color: var(--ok-ink); text-align: center; }
.q .when b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.q .when small { display: block; font-size: 0.8125rem; font-weight: 700; margin-top: 2px; }
.q .ttl { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.35; }
.q .since { font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.q .since b { color: var(--ink); font-weight: 800; }
.q .chev { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 1.125rem; font-weight: 800; color: var(--ink-2); transition: transform .15s; }
.q[open] .chev { transform: rotate(180deg); }
.q .body { padding: 4px 26px 26px; border-top: 1px solid var(--line); }
.q h4 { margin: 24px 0 8px; font-size: 1rem; font-weight: 800; color: var(--ink-2); }
.q .orig { margin: 0; padding: 14px 18px; background: var(--bg); border-radius: 14px; font-size: 1rem; font-weight: 500; color: var(--ink-2); white-space: pre-line; }
.q .easy { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.5; }
.q ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.q ul li { position: relative; padding-left: 30px; font-size: 1.0625rem; font-weight: 500; }
.q ul li::before { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 800; }
.q ul.yes li::before { content: "O"; background: var(--ok-tint); color: var(--ok-ink); }
.q ul.no li::before { content: "X"; background: var(--line-2); color: var(--ink-3); }
.q ul.care li::before { content: "!"; background: var(--warn-tint); color: var(--warn-ink); }
.q .say { margin: 0; padding: 16px 18px; border-left: 4px solid var(--ink); background: #fff; font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.q .src { margin: 18px 0 0; font-size: 0.875rem; color: var(--ink-3); font-weight: 500; }
.sect { margin-top: 48px; }
.sect > h2 { margin: 0; font-size: 1.625rem; font-weight: 800; letter-spacing: -0.03em; }
.sect > p { margin: 8px 0 0; font-size: 1.0625rem; color: var(--ink-2); font-weight: 500; }
.terms { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.term { padding: 20px 22px; border: 1.5px solid var(--line); border-radius: 18px; }
.term b { display: block; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; }
.term p { margin: 8px 0 0; font-size: 1.0625rem; font-weight: 500; color: var(--ink-2); }
.term small { display: block; margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); font-weight: 500; }
.printbtn { margin-top: 20px; height: 52px; padding: 0 22px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; border-radius: 14px; font-size: 1.0625rem; font-weight: 700; }

.bottom { padding-top: 28px; padding-bottom: 48px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-3); font-weight: 500; }
.bottom p { margin: 0 0 6px; }
.bottom a { color: var(--ink-2); font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-size: 1.0625rem; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 50; max-width: 90vw; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .top .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .brand { flex: 1; }
  #nav { order: 3; flex: 1 0 100%; margin: 0 -16px; padding: 0 6px; }
  #nav a { padding: 14px 10px; font-size: 1rem; }
  #nav a.on::after { left: 10px; right: 10px; }
  .page { padding: 28px 0 56px; }
  .phead h1 { font-size: 1.75rem; }
  .modes { grid-template-columns: 1fr; gap: 8px; }
  .modes button { min-height: 60px; padding: 12px 18px; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile .go { min-height: 124px; padding: 38px 10px 16px; }
  .cards2 { grid-template-columns: 1fr; }
  .card { padding: 22px 20px; }
  .q > summary { grid-template-columns: minmax(0, 1fr) auto; padding: 18px 18px; }
  .q .when { grid-row: auto; grid-column: 1 / -1; justify-self: start; min-width: 0; display: flex; gap: 8px; align-items: baseline; padding: 6px 12px; }
  .q .chev { grid-row: 2 / span 2; grid-column: 2; }
  .q .body { padding: 4px 18px 22px; }
  .due .row { grid-template-columns: 1fr; }
  .basis input { width: 100%; }
  .basis label { align-self: stretch; }
}
@media print {
  .top, .bottom, .toast, .types, .printbtn, .acts, #nav, .notice.screen { display: none !important; }
  .page { padding: 0; }
  .q { break-inside: avoid; border-color: #999; }
  .q .body { display: block; }
  body { font-size: 11pt; }
}

.card .docs { margin-top: 14px; }
.sect.first { margin-top: 32px; }

/* 질문 카드 머리: 왼쪽 기간, 가운데 제목과 날짜, 오른쪽 펼침 표시 */
.q > summary { grid-template-columns: auto minmax(0, 1fr) auto; }
.q .when { grid-column: 1; grid-row: 1 / span 2; }
.q .ttl { grid-column: 2; grid-row: 1; align-self: end; }
.q .since { grid-column: 2; grid-row: 2; align-self: start; font-size: 1.0625rem; color: var(--ok-ink); }
.q .since b { color: var(--ok-ink); }
.q .since:empty { display: none; }
.q .chev { grid-column: 3; grid-row: 1 / span 2; font-size: 0; }
.q .chev::before { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--ink-2); border-bottom: 2.5px solid var(--ink-2); transform: translateY(-2px) rotate(45deg); }
@media (max-width: 860px) {
  .q > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .q .when { grid-column: 1 / -1; grid-row: 1; }
  .q .ttl { grid-column: 1; grid-row: 2; }
  .q .since { grid-column: 1; grid-row: 3; }
  .q .chev { grid-column: 2; grid-row: 2 / span 2; }
}

/* 메뉴: 넓은 화면은 긴 이름, 좁은 화면(600px 이하)은 짧은 이름 다섯 칸으로 한 줄에 모두 보이게 */
#nav .s { display: none; }
@media (max-width: 600px) {
  #nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; overflow: visible; margin: 0 -10px; padding: 0; }
  #nav a { padding: 13px 0; text-align: center; font-size: 0.9375rem; letter-spacing: -0.03em; }
  #nav a.on::after { left: 6px; right: 6px; }
  #nav .l { display: none; }
  #nav .s { display: inline; }
}
.tip { margin: 16px 0 0; padding: 12px 16px; background: var(--bg); border-radius: 12px; font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.tip b { font-weight: 800; color: var(--ink); }
.group .links { margin-top: 0; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.acts.above { margin-top: 18px; }
.ghostbtn { height: 46px; padding: 0 18px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.ghostbtn:hover { border-color: var(--ink); }

/* 메뉴가 일곱 개: 넓은 화면에서 글자를 키워도 한 줄에 들어가게, 900px 이하는 네 칸 두 줄 */
#nav a { padding-left: 12px; padding-right: 12px; }
#nav a.on::after { left: 12px; right: 12px; }
html.bigger #nav a { padding-left: 9px; padding-right: 9px; font-size: 1rem; }
@media (max-width: 900px) {
  .top { position: static; }
  .top .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .brand { flex: 1; }
  #nav { order: 3; flex: 1 0 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: visible; margin: 6px -8px 0; padding: 0; }
  #nav a, html.bigger #nav a { padding: 11px 0; text-align: center; font-size: 0.9375rem; letter-spacing: -0.03em; border-top: 1px solid var(--line-2); }
  #nav a.on::after { left: 8px; right: 8px; bottom: 0; }
  #nav .l { display: none; }
  #nav .s { display: inline; }
}
.totop { position: fixed; right: 18px; bottom: 22px; z-index: 30; height: 48px; padding: 0 18px; border: 0; border-radius: 24px; background: var(--ink); color: #fff; font-size: 1rem; font-weight: 700; box-shadow: 0 6px 20px rgba(17,20,24,.25); }
.hint.big { font-size: 1.0625rem; color: var(--ink-2); margin-top: 8px; }
.card .src { margin: 14px 0 0; font-size: 0.875rem; color: var(--ink-3); font-weight: 500; }

/* 질병코드: 넓은 담보 안에 좁은 담보가 들어 있는 그림 */
.nestwrap { margin-top: 20px; }
.nest { border: 2px solid var(--ink-3); border-radius: 18px; padding: 16px 18px 18px; background: #fff; }
.nest .nest { margin-top: 14px; }
.nest.n1 { border-color: var(--ok); background: var(--ok-tint); }
.nest.n2 { border-color: var(--ok-ink); background: #fff; }
.nest .nh { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.nest .nh b { font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.02em; }
.nest .nh span { font-size: 1.0625rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.nest ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 6px 18px; }
.nest li { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.nest li i { font-style: normal; font-weight: 800; color: var(--ink); margin-right: 8px; font-variant-numeric: tabular-nums; }
table.kcd { min-width: 560px; margin-top: 4px; }
table.kcd th.c, table.kcd td.c { text-align: center; white-space: nowrap; }
table.kcd td.on { font-weight: 800; color: var(--ok-ink); background: var(--ok-tint); }
table.kcd td.off { color: #9AA3AF; }
.kres { padding: 14px 0; border-top: 1px solid var(--line); }
.kres:first-child { border-top: 0; padding-top: 0; }
.kres .ln { margin: 0; font-size: 1.1875rem; }
.kmarks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.kmarks span { padding: 8px 14px; border-radius: 12px; font-size: 1rem; font-weight: 800; }
.kmarks .on { background: var(--ok-tint); color: var(--ok-ink); }
.kmarks .off { background: var(--line-2); color: var(--ink-3); font-weight: 600; }

/* 청약 점검표 */
.chks { margin-top: 16px; display: grid; gap: 10px; }
.chk { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk .box { width: 30px; height: 30px; border: 2px solid var(--ink-3); border-radius: 9px; display: grid; place-items: center; margin-top: 1px; }
.chk input:checked + .box { background: var(--ink); border-color: var(--ink); }
.chk input:checked + .box::after { content: ""; width: 8px; height: 14px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-2px) rotate(45deg); }
.chk input:focus-visible + .box { outline: 3px solid var(--ok); outline-offset: 2px; }
.chk .tx b { display: block; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; }
.chk .tx span { display: block; margin-top: 4px; font-size: 1.0625rem; font-weight: 500; color: var(--ink-2); }
.chk .tx small { display: block; margin-top: 8px; font-size: 0.875rem; font-weight: 500; color: var(--ink-3); }
.chk:has(input:checked) { background: var(--bg); }
.chk:has(input:checked) .tx b { color: var(--ink-3); }
.due2 + .due2 { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
@media print {
  .totop { display: none !important; }
  .chk { break-inside: avoid; border-color: #999; padding: 10px 12px; }
  .nest, .card { break-inside: avoid; }
}

/* 알릴 의무: 기간 한눈에 보기. 눈금은 같은 간격, 띠는 그 질문이 거슬러 올라가는 데서 청약일까지 */
.band { --bend: 5.6rem; margin-top: 20px; padding: 22px 24px 14px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; }
.bhead b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.bhead span { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-3); }
.bgrid { display: grid; }
.baxis { margin-top: 18px; }
.baxis span { padding: 0 0 10px 8px; border-left: 2px solid var(--ink); min-width: 0; }
.baxis b { display: block; font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.baxis i { display: block; font-style: normal; font-size: 0.875rem; font-weight: 700; color: var(--ok-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.baxis i.sm { display: none; }
.baxis .end { border-left-style: dashed; }
.brow { display: block; width: 100%; text-align: left; padding: 10px 0 12px; border: 0; border-top: 1px solid var(--line-2); background: none; }
.brow:hover .bt { text-decoration: underline; }
.brow .bt { display: block; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.brow .bt em { font-style: normal; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.btrack { margin-top: 8px; height: 14px; }
.bbg, .bbar { grid-row: 1; height: 14px; border-radius: 7px; }
.bbg { background: var(--line-2); }
.bbar { background: var(--ok); }
.q { scroll-margin-top: 84px; }
@media (max-width: 900px) {
  .band { --bend: 4.4rem; padding: 18px 16px 10px; }
  .baxis span { padding-left: 5px; }
  .baxis b { font-size: 0.9375rem; }
  .baxis i { font-size: 0.75rem; }
  .baxis i.lg { display: none; }
  .baxis i.sm { display: block; }
  .q { scroll-margin-top: 12px; }
}
@media print { .band { break-inside: avoid; } .brow:hover .bt { text-decoration: none; } }
@media (max-width: 900px) {
  html.bigger .band { --bend: 4.5rem; }
  html.bigger .baxis b { font-size: 0.8125rem; }
  html.bigger .baxis i { font-size: 0.625rem; }
}

/* 만든 사람: 화면 맨 아래에만. 인쇄할 때는 .bottom 전체가 빠진다 */
#makerLine { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
#makerLine img { width: 36px; height: 36px; flex: none; }
#makerLine span { font-size: 0.875rem; line-height: 1.45; color: var(--ink-3); }
#makerLine b { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
