:root { --primary: #2156F5; --primary-dark: #1843C9; --primary-bg: #F0F4FF; --text: #191F28; --text-2: #4E5968; --muted: #8B95A1; --line: #E5E8EB; --line-2: #F2F4F6; --bg: #F7F8FA; --up: #E5383B; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: #fff; color: var(--text); font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.75; letter-spacing: -0.2px; word-break: keep-all; overflow-wrap: break-word; }
a { color: var(--primary); }
.g-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.g-top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.g-top .g-wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.g-brand { color: var(--text); font-weight: 800; text-decoration: none; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-top nav { display: flex; align-items: center; gap: 14px; flex: none; font-size: 14px; }
.g-top nav a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.g-top nav .g-cta { color: #fff; background: var(--primary); padding: 7px 12px; border-radius: 8px; }
.g-main { padding-top: 20px; padding-bottom: 48px; }
.g-crumb { font-size: 13px; color: var(--muted); }
.g-crumb a { color: var(--muted); text-decoration: none; }
.g-crumb span { margin: 0 2px; }
h1 { margin: 10px 0 6px; font-size: 30px; line-height: 1.35; letter-spacing: -0.8px; }
.g-updated { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
h2 { margin: 40px 0 10px; font-size: 22px; line-height: 1.4; letter-spacing: -0.5px; }
h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.5; letter-spacing: -0.3px; }
p { margin: 0 0 12px; color: var(--text-2); }
p b, li b, td b { color: var(--text); }
.g-sum { margin: 0 0 20px; padding: 18px 20px; border-radius: 14px; background: var(--primary-bg); border: 1px solid #C9D7FF; }
.g-sum-k { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: var(--primary); }
.g-sum p:last-child { margin: 0; color: var(--text); }
.g-toc { margin: 0 0 8px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; }
.g-toc p { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: var(--muted); }
.g-toc ol { margin: 0; padding-left: 20px; font-size: 15px; }
.g-toc a { color: var(--text-2); text-decoration: none; }
.g-toc a:hover { color: var(--primary); }
.g-tbl { overflow-x: auto; margin: 8px 0 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--text-2); }
th { background: var(--bg); color: var(--text); font-weight: 700; white-space: nowrap; }
td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.g-tip { padding: 10px 14px; border-left: 3px solid var(--primary); background: var(--bg); border-radius: 0 10px 10px 0; }
.g-list, .g-formula, .g-steps { margin: 0 0 14px; padding-left: 22px; color: var(--text-2); }
.g-list li, .g-formula li, .g-steps li { margin: 6px 0; }
.g-steps b { display: block; color: var(--text); }
.g-folders { display: grid; gap: 12px; margin-top: 8px; }
.g-folder { --fc: #2156F5; --fc-bg: #EEF3FF; --fc-back: #B9CCFF; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.g-folder.fc-violet { --fc: #6B4EF0; --fc-bg: #F3F0FF; --fc-back: #CFC4FF; }
.g-folder.fc-amber { --fc: #D98200; --fc-bg: #FFF6E6; --fc-back: #FFD991; }
.g-folder.fc-green { --fc: #0E9F6E; --fc-bg: #EAF8F1; --fc-back: #A6E3C8; }
.g-folder[open] { box-shadow: inset 0 0 0 1.5px var(--fc), 0 12px 28px -18px var(--fc); }
.g-folder summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; border-radius: 16px; }
.g-folder summary::-webkit-details-marker { display: none; }
.g-folder summary:hover { background: var(--fc-bg); }
.fd-ic { flex: none; width: 48px; height: 40px; }
.fd-back { fill: var(--fc-back); }
.fd-front { fill: var(--fc); transform-origin: 50% 100%; transition: transform .25s ease; }
.g-folder[open] .fd-front { transform: perspective(60px) rotateX(-28deg) translateY(1px); }
.fd-t { flex: 1; min-width: 0; }
.fd-t b { display: block; font-size: 18px; letter-spacing: -0.4px; color: var(--text); }
.fd-t small { display: block; margin-top: 1px; font-size: 13px; color: var(--text-2); }
.fd-arrow { flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--fc); border-bottom: 2.5px solid var(--fc); transform: rotate(45deg); margin: -4px 6px 0 0; transition: transform .2s; }
.g-folder[open] .fd-arrow { transform: rotate(225deg); margin-top: 4px; }
.fd-files { display: grid; gap: 6px; padding: 0 14px 14px 14px; margin-left: 24px; border-left: 2px dashed var(--fc-back); }
.g-folder[open] .fd-files { animation: fdOpen .25s ease; }
@keyframes fdOpen { from { transform: translateY(-6px); } to { transform: none; } }
.fd-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--fc-bg); text-decoration: none; color: var(--text); transition: transform .15s; }
.fd-file:hover { transform: translateX(3px); }
.fl-ic { flex: none; width: 22px; height: 22px; fill: #fff; stroke: var(--fc); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fd-file span { flex: 1; min-width: 0; }
.fd-file b { display: block; font-size: 15.5px; line-height: 1.4; }
.fd-file small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.fd-file em { font-style: normal; font-size: 20px; font-weight: 700; color: var(--fc); }
@media (prefers-reduced-motion: reduce) { .fd-front, .fd-arrow, .g-folder[open] .fd-files, .fd-file { transition: none; animation: none; } }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.g-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 10px 10px 10px 4px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; background: #fff; }
.g-chips a::before { content: ""; width: 16px; height: 12px; border-radius: 2px 3px 2px 2px; background: linear-gradient(var(--primary), var(--primary)) 0 0 / 7px 3px no-repeat, #B9CCFF; box-shadow: inset 0 3px 0 #B9CCFF, inset 0 -9px 0 var(--primary); }
.g-chips a:hover { border-color: var(--primary); background: var(--primary-bg); }
.g-chips small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.g-faqcat h2 { padding-bottom: 8px; border-bottom: 2px solid var(--text); }
.g-qa { padding: 16px 0; border-bottom: 1px solid var(--line); }
.g-qa h3::before { content: "Q. "; color: var(--primary); font-weight: 800; }
.g-qa p { margin: 0; }
.g-more { margin-top: 12px; font-weight: 700; }
.g-more a, .g-qs a { text-decoration: none; }
.g-qs ul { margin: 0 0 8px; padding-left: 20px; }
.g-qs li { margin: 4px 0; }
.g-rel { margin-top: 8px; }
.g-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.g-cards-lg { margin-top: 8px; }
.g-card { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.g-card b { display: block; color: var(--text); font-size: 16px; line-height: 1.45; }
.g-card span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.g-card:hover { border-color: var(--primary); }
.g-fine { margin: 10px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.g-fine a, .g-note a { color: var(--text-2); }
.g-note { margin-top: 40px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.g-note p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.g-note p:last-child { margin: 0; }
.g-note b { color: var(--text-2); margin-right: 4px; }
.g-note + .g-calc { margin-top: 16px; }
.g-calc { margin-top: 40px; padding: 20px; border-radius: 14px; background: var(--text); }
.g-calc p { color: #D1D6DB; margin: 0 0 12px; }
.g-calc b { color: #fff; }
.g-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 800; text-decoration: none; }
.g-foot { border-top: 1px solid var(--line); background: var(--bg); padding: 24px 0 40px; font-size: 12.5px; }
.g-foot p { margin: 4px 0; color: var(--muted); }
.g-foot a { color: var(--text-2); white-space: nowrap; }
.rd { margin: 8px 0 18px; }
.rd-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 12px; background: var(--primary-bg); border: 1px solid #C9D7FF; font-size: 14px; color: var(--text-2); }
.rd-bar.own { background: #fff; border-color: var(--line); }
.rd-bar b { color: var(--text); }
.rd-bar button { flex: none; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.rd-bar .rd-own { border: 0; background: var(--primary); color: #fff; }
.rd-group { margin: 14px 0 0; padding: 14px 16px 6px; border: 1px solid var(--line); border-radius: 14px; }
.rd-group legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 800; color: var(--text); }
.rd-group legend b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; }
.rd-seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.rd-seg label { cursor: pointer; }
.rd-seg input { position: absolute; opacity: 0; }
.rd-seg span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.rd-seg input:checked + span { border-color: var(--primary); background: var(--primary-bg); color: var(--primary); }
.rd-seg input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.rd-check { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; font-weight: 700; cursor: pointer; }
.rd-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.rd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line-2); border-radius: 10px; }
.rd-row:last-child { border-bottom: 0; }
.rd-row[hidden] { display: none; }
.rd-row label { font-weight: 700; color: var(--text); font-size: 15px; line-height: 1.4; }
.rd-req { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #FFEDED; color: var(--up); font-size: 11.5px; font-weight: 800; vertical-align: 1px; }
.rd-opt { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.rd-in { display: inline-flex; align-items: center; gap: 6px; }
.rd-in input, .rd-in select { width: 150px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; text-align: right; background: #fff; color: var(--text); }
.rd-in select { width: 210px; text-align: left; font-size: 14.5px; }
.rd-name .rd-in input { text-align: left; font-weight: 600; }
.rd-in input:focus, .rd-in select:focus { outline: none; border-color: var(--primary); }
.rd-in i { width: 46px; font-style: normal; font-size: 12.5px; color: var(--text-2); }
.rd-help { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.rd-live { margin: 6px 6px 8px; font-size: 13.5px; font-weight: 700; color: var(--primary); }
.rd-live:empty { display: none; }
@keyframes rdPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .35); } 50% { box-shadow: 0 0 0 6px rgba(229, 56, 59, 0); } }
.rd-row.coach { background: #FFF7F7; box-shadow: inset 0 0 0 2px var(--up); animation: rdPulse 1.4s ease-in-out infinite; }
.rd-row.need input { border-color: var(--up); background: #FFF7F7; }
.rd-tip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--up); color: #fff; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.rd-calc { position: sticky; bottom: 8px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--text); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.rd-calc span { color: #FFB4B4; font-size: 14px; font-weight: 700; }
.rd-calc span.done { color: #9FE3C4; }
.rd-btn { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.rd-result { margin-top: 16px; }
.rd-wait { padding: 18px; border-radius: 14px; background: var(--bg); color: var(--text-2); text-align: center; font-weight: 700; }
.rd-hero { padding: 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #DCE5FF, 0 10px 30px -15px rgba(33, 86, 245, .35); }
.rd-hero p { margin: 0; font-weight: 700; color: var(--text-2); }
.rd-hero b { display: block; margin-top: 4px; font-size: 32px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.rd-hero small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.rd-tag { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #FFF4E5; color: #B25E00; font-size: 11.5px; font-weight: 800; vertical-align: 1px; }
.up { color: var(--up); }
.down { color: #0E9F6E; }
.rd-h { margin: 22px 0 6px; font-size: 16px; }
.rd-tbl { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 2px 14px; }
.rd-tr { display: grid; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); align-items: center; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.rd-tr:first-child { border-top: 0; }
.c2 .rd-tr { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.c3 .rd-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.c4 .rd-tr { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.rd-tr > span:not(:first-child) { text-align: right; }
.rd-tr > span:first-child { color: var(--text); font-weight: 700; }
.rd-tr small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.rd-th { font-size: 12px; font-weight: 800; color: var(--muted); }
.rd-th > span:first-child { color: var(--muted); font-weight: 800; }
.rd-sum { font-weight: 800; }
.rd-sum > span { color: var(--text); }
.rd-total { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--primary-bg); font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.rd-total b { color: var(--up); white-space: nowrap; }
.rd-sched { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rd-sched div { padding: 12px; border-radius: 12px; background: var(--bg); text-align: center; }
.rd-sched span { display: block; font-size: 12.5px; color: var(--text-2); }
.rd-sched b { font-variant-numeric: tabular-nums; }
.rd-mini { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.rd-sens { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--primary-bg); color: var(--text); font-size: 14.5px; }
.rd-sens b { color: var(--primary); }
.rd-warn { margin: 12px 0 0; padding: 12px 14px 12px 30px; border-radius: 12px; background: #FFF8E6; color: #8A5300; font-size: 13.5px; }
.rd-foot { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.rd-bar-btns { display: flex; gap: 6px; flex: none; }
.rd-bar .rd-tour-btn { border: 1px solid var(--up); background: #FFF6F6; color: var(--up); }
.rd-tour { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 4px 4px 12px; border-radius: 999px; background: var(--up); color: #fff; font-size: 13px; font-weight: 800; width: max-content; max-width: 100%; box-shadow: 0 4px 12px rgba(229, 56, 59, .3); }
.rd-tour small { margin-left: 4px; font-weight: 700; opacity: .8; }
.rd-tour button { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: var(--up); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.rd-tour button[data-tour="end"] { width: 28px; padding: 0; background: rgba(255,255,255,.22); color: #fff; }
.rd-tour kbd { padding: 0 4px; border: 1px solid #F5C9CA; border-radius: 4px; font: 700 10.5px/15px inherit; background: #FFF6F6; }
.rd-toast { position: fixed; left: 50%; bottom: 90px; z-index: 50; transform: translateX(-50%) translateY(20px); padding: 10px 16px; border-radius: 10px; background: var(--text); color: #fff; font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: .2s; }
.rd-toast.on { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) { .rd-row.coach { animation: none; } }
/* ===== 가이드·FAQ 구석구석 디자인 ===== */
.g-main { padding-top: 24px; }
.g-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; }
.g-crumb a { padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--text-2); font-weight: 600; }
.g-crumb a:hover { background: var(--primary-bg); color: var(--primary); }
.g-crumb > span:not([aria-current]) { color: #C5CBD3; }
.g-crumb [aria-current] { padding: 3px 10px; border-radius: 999px; background: var(--primary-bg); color: var(--primary); font-weight: 700; }
h1 { margin: 14px 0 20px; font-size: 32px; letter-spacing: -1px; }
.g-sum { position: relative; padding: 20px 22px 20px 24px; border: 0; background: linear-gradient(135deg, #EEF3FF, #F6F8FF); box-shadow: inset 4px 0 0 var(--primary); }
.g-sum-k { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff !important; font-size: 12px !important; }
.g-sum p:last-child { margin-top: 10px; font-size: 16px; line-height: 1.75; }
/* 목차: 번호 칩이 있는 카드 */
.g-toc { margin: 18px 0 8px; padding: 16px 18px; border: 0; border-radius: 16px; background: var(--bg); }
.g-toc p { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--text); font-size: 14px; }
.g-toc p::before { content: ""; width: 16px; height: 12px; background: linear-gradient(var(--primary), var(--primary)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--primary), var(--primary)) 0 5px / 70% 2px no-repeat, linear-gradient(var(--primary), var(--primary)) 0 10px / 85% 2px no-repeat; }
.g-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0; list-style: none; counter-reset: toc; }
.g-toc li { counter-increment: toc; }
.g-toc a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 9px 12px; border-radius: 10px; background: #fff; color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.4; transition: box-shadow .15s, transform .15s; }
.g-toc a::before { content: counter(toc); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--primary-bg); color: var(--primary); font-size: 12px; font-weight: 800; }
.g-toc a:hover { color: var(--primary); box-shadow: 0 4px 14px rgba(33, 86, 245, .12); transform: translateY(-1px); }
/* 소제목: 왼쪽 파란 막대 */
.g-main > h2, .g-faqcat h2 { position: relative; margin-top: 48px; padding-left: 14px; font-size: 23px; }
.g-main > h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--primary); }
h3 { font-size: 17.5px; }
p a, li a, td a { color: var(--primary); font-weight: 700; text-decoration: none; background: linear-gradient(transparent 70%, #DCE6FF 70%); }
p a:hover, li a:hover { background: linear-gradient(transparent 0, #DCE6FF 0); }
/* 목록: 체크 표시 */
.g-list { padding-left: 0; list-style: none; }
.g-list li { position: relative; padding: 10px 14px 10px 40px; margin: 6px 0; border-radius: 12px; background: var(--bg); color: var(--text); }
.g-list li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.g-list li b { color: var(--text); }
/* 공식·단계: 번호 원 */
.g-formula, .g-steps { padding-left: 0; list-style: none; counter-reset: st; }
.g-formula li, .g-steps li { position: relative; counter-increment: st; padding: 14px 16px 14px 54px; margin: 8px 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.g-formula li::before, .g-steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; }
.g-formula li b, .g-steps li b { color: var(--primary); }
/* 표: 둥근 카드 */
.g-tbl { margin: 12px 0 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.g-tbl table { border-radius: 14px; overflow: hidden; }
th { background: #F4F6FA; color: var(--text-2); font-size: 13px; font-weight: 800; padding: 11px 14px; border-bottom: 1px solid var(--line); }
td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #FAFBFD; }
td b { color: var(--primary); }
.g-tip { margin: 12px 0 16px; padding: 14px 16px; border-left: 0; border-radius: 12px; background: #FFF8E6; box-shadow: inset 0 0 0 1px #F4DFA9; color: #6B4E12; }
.g-tip b { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: #E3A21A; color: #fff; font-size: 12px; }
/* 관련 질문: Q 카드 */
.g-qs { margin-top: 48px; }
.g-qs h2, .g-rel h2 { display: flex; align-items: center; gap: 8px; margin-top: 0; padding-left: 0; font-size: 20px; }
.g-qs h2::before { content: "Q"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #FDE8F0; color: #E0457B; font-size: 15px; font-weight: 900; }
.g-rel h2::before { content: ""; width: 28px; height: 28px; border-radius: 9px; background: #EEF3FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l5 5v13H7z M14 3v5h5M10 13h6M10 17h6' fill='none' stroke='%232156F5' stroke-width='1.9' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.g-qs ul { display: grid; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.g-qs li { margin: 0; }
.g-qs li a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-weight: 700; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.g-qs li a::before { content: "Q"; flex: none; color: #E0457B; font-weight: 900; }
.g-qs li a::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 20px; font-weight: 700; }
.g-qs li a:hover { box-shadow: inset 0 0 0 1.5px #E0457B; transform: translateX(2px); }
.g-qs > p a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; background: #FDE8F0; color: #C2306A; font-weight: 800; }
/* 함께 보면 좋은 글: 화살표 카드 */
.g-rel { margin-top: 40px; }
.g-rel .g-cards { margin-top: 12px; }
.g-card { position: relative; padding: 18px 44px 18px 18px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; }
.g-card::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); font-size: 18px; font-weight: 800; }
.g-card:hover { box-shadow: inset 0 0 0 1.5px var(--primary), 0 10px 24px -14px rgba(33, 86, 245, .5); transform: translateY(-2px); }
/* FAQ 질문 */
.g-faqcat h2 { border-bottom: 0; padding-bottom: 0; }
.g-faqcat h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--primary); }
.g-qa { margin: 10px 0; padding: 18px 20px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.g-qa h3 { display: flex; gap: 8px; margin-bottom: 8px; }
.g-qa h3::before { content: "Q"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--primary); color: #fff; font-size: 13px; }
.g-qa p { padding-left: 32px; line-height: 1.75; }
.g-more a { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--primary-bg); color: var(--primary); font-weight: 800; }
/* 하단 계산 안내 */
.g-calc { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(120deg, #1B2B5E 0%, #2156F5 60%, #5B3CF5 100%); box-shadow: 0 20px 40px -24px rgba(33, 86, 245, .8); }
.g-calc p { margin: 0; color: #DCE6FF; line-height: 1.6; }
.g-calc b { display: block; font-size: 18px; color: #fff; }
.g-btn { flex: none; background: #fff; color: var(--primary); }
.g-btn:hover { background: #EEF3FF; }
.g-note { border: 0; background: var(--bg); }
.g-foot a, .g-note a, .g-mini-foot a { background: none; font-weight: 600; }
.g-calc .g-btn { background: #fff; color: var(--primary); font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.g-calc .g-btn:hover { background: #EEF3FF; }
@media (max-width: 640px) {
  body { font-size: 15px; }
  .rd-group { padding: 12px 10px 4px; }
  .rd-row { padding: 10px 4px; }
  .rd-row label { font-size: 14.5px; }
  .rd-in input { width: 128px; }
  .rd-in select { width: 100%; font-size: 16px; }
  .rd-row[data-k="rebHold"] { grid-template-columns: minmax(0, 1fr); }
  .rd-row[data-k="rebHold"] .rd-in { margin-top: 6px; }
  .rd-hero b { font-size: 27px; }
  .c4 .rd-th { display: none; }
  .c4 .rd-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); row-gap: 4px; }
  .c4 .rd-tr > span:first-child { grid-column: 1 / -1; display: flex; justify-content: space-between; }
  .c4 .rd-tr > span:not(:first-child)::before { content: attr(data-h); display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
  .rd-tr { font-size: 13.5px; }
  .rd-calc { bottom: 6px; padding-left: 12px; }
  .rd-bar.own { flex-wrap: wrap; }
  .rd-bar.own .rd-bar-btns { width: 100%; }
  .rd-bar.own .rd-bar-btns button { flex: 1; }
  .rd-tour kbd { display: none; }
  .rd-btn { padding: 0 16px; }
  .g-brand { font-size: 14px; }
  .g-brand-pre { display: none; }
  .g-top nav { gap: 10px; font-size: 13px; }
  h1 { font-size: 24px; }
  h2 { font-size: 19px; margin-top: 32px; }
  .g-cards { grid-template-columns: minmax(0, 1fr); }
  .g-toc ol { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 25px; margin-bottom: 16px; }
  .g-main > h2, .g-faqcat h2 { margin-top: 38px; font-size: 20px; }
  .g-calc { flex-direction: column; align-items: stretch; text-align: left; }
  .g-qa { padding: 16px; }
  .g-qa p { padding-left: 0; }
  .g-card { padding-right: 46px; }
  .g-folder summary { padding: 14px; gap: 12px; }
  .fd-ic { width: 40px; height: 34px; }
  .fd-t b { font-size: 16.5px; }
  .fd-files { margin-left: 18px; padding: 0 10px 12px 10px; }
  .fd-file { padding: 11px 12px; }
  .fd-file b { font-size: 14.5px; }
  .g-btn { width: 100%; justify-content: center; }
  .g-stack table, .g-stack tbody, .g-stack tr, .g-stack td { display: block; }
  .g-stack thead { display: none; }
  .g-stack tr { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; }
  .g-stack td { padding: 3px 0; border: 0; white-space: normal; }
  .g-stack td:first-child { padding-bottom: 6px; font-size: 15.5px; font-weight: 800; }
  .g-stack td + td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .g-tbl:not(.g-stack) th, .g-tbl:not(.g-stack) td { padding: 10px; white-space: normal; word-break: keep-all; }
}
