/* ===== 로아도쓰 콘텐츠 페이지 공통 스타일 (news / guide) ===== */
/* 본문이 짧아도 푸터가 화면 중간에 뜨지 않도록 아래로 밀어둔다 */
body.content-page { font-family: "Noto Sans KR", sans-serif; background-color: oklch(0.235 0 0); color: oklch(0.9067 0 0); margin: 0; padding: 0; box-sizing: border-box; color-scheme: dark; transition: background-color 0.3s ease, color 0.3s ease; display: flex; flex-direction: column; min-height: 100vh; }
body.content-page > .content-main { flex: 1 0 auto; }
body.content-page > .content-footer { flex-shrink: 0; margin-top: auto; }
body.content-page *, body.content-page *::before, body.content-page *::after { box-sizing: inherit; }

/* 고정 헤더 — 메인과 동일한 시각 언어 */
.content-header { position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 100; background: oklch(0.1822 0 0 / 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid oklch(1 0 0 / 0.07); display: flex; align-items: center; transition: background-color 0.3s ease, border-color 0.3s ease; }
/* 헤더·본문·푸터가 같은 폭을 써야 로고·제목·푸터의 시작선이 맞는다 */
.content-header-inner { max-width: 1100px; width: 94%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.content-header .site-logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.75em; letter-spacing: 0.02em; text-decoration: none; display: flex; align-items: center; gap: 0; cursor: pointer; transition: opacity 0.2s ease; }
.content-header .site-logo:hover { opacity: 0.85; }
.content-header .logo-loa { color: oklch(1 0 0); transition: color 0.3s ease; }
.content-header .logo-doss { color: oklch(0.62 0.062 278); transition: color 0.3s ease; }
.content-header .header-right { display: flex; align-items: center; gap: 10px; }
.back-to-calc { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.88em; font-weight: 600; text-decoration: none; color: oklch(0.82 0 0); background: oklch(1 0 0 / 0.04); border: 1px solid oklch(1 0 0 / 0.1); border-radius: 9px; transition: color 0.18s, background 0.18s, border-color 0.18s; }
.back-to-calc:hover { color: oklch(0.8868 0.1822 95.3226); background: oklch(0.8868 0.1822 95.3226 / 0.12); border-color: oklch(0.8868 0.1822 95.3226 / 0.55); }
#theme-toggle { background: transparent; border: 1px solid oklch(0.4676 0 0); border-radius: 8px; color: oklch(0.738 0 0); cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease; padding: 0; margin: 0; flex-shrink: 0; font-size: 0; line-height: 0; }
#theme-toggle:hover { border-color: oklch(0.8868 0.1822 95.3226 / 0.55); color: oklch(0.8868 0.1822 95.3226); }
#theme-toggle svg { width: 18px; height: 18px; }
#theme-toggle .ico-sun { display: block; }
#theme-toggle .ico-moon { display: none; }
body.light-mode #theme-toggle .ico-sun { display: none; }
body.light-mode #theme-toggle .ico-moon { display: block; }

/* 본문 */
.content-main { max-width: 1100px; width: 94%; margin: 0 auto; padding: 92px 0 60px; }
.content-main h1 { font-size: 1.45em; color: oklch(1 0 0); margin: 0 0 6px; word-break: keep-all; transition: color 0.3s ease; }
.content-sub { font-size: 0.9em; color: oklch(0.68 0 0); margin: 0 0 22px; word-break: keep-all; }

/* 뉴스 ↔ 가이드 탭 내비게이션 */
.content-nav-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.content-nav-tabs a { padding: 7px 14px; border-radius: 9px; font-size: 0.86em; font-weight: 700; text-decoration: none; color: oklch(0.78 0 0); background: oklch(1 0 0 / 0.04); border: 1px solid oklch(1 0 0 / 0.1); transition: color 0.18s, background 0.18s, border-color 0.18s; word-break: keep-all; }
.content-nav-tabs a:hover, .content-nav-tabs a.active { color: oklch(0.8868 0.1822 95.3226); background: oklch(0.8868 0.1822 95.3226 / 0.12); border-color: oklch(0.8868 0.1822 95.3226 / 0.55); }

/* 카드 */
.tool-embed-frame { width: 100%; min-height: 420px; border: 0; display: block; background: transparent; margin: 4px 0 0; }

.content-card { background-color: oklch(0.2891 0 0); border: 1px solid oklch(1 0 0 / 0.05); border-radius: 12px; box-shadow: 0 0 10px oklch(0 0 0 / 0.5); padding: 24px 26px; margin-bottom: 18px; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.content-card h2 { border-left: 4px solid oklch(0.8868 0.1822 95.3226); padding-left: 10px; font-size: 1.15em; color: oklch(1 0 0); margin: 0 0 12px; word-break: keep-all; transition: color 0.3s ease, border-color 0.3s ease; }
.content-card h3 { font-size: 1em; color: oklch(0.95 0 0); margin: 18px 0 6px; word-break: keep-all; }
.content-card p, .content-card li { font-size: 0.93em; line-height: 1.75; color: oklch(0.83 0 0); word-break: keep-all; margin: 0 0 10px; }
.content-card ul, .content-card ol { padding-left: 20px; margin: 0 0 10px; }
/* 본문 보조 설명 */
.content-card p.guide-note { font-size: 0.85em; color: oklch(0.68 0 0); border-left: 2px solid oklch(1 0 0 / 0.1); padding-left: 10px; margin-top: 14px; }
.content-card a { color: oklch(0.8868 0.1822 95.3226); text-decoration: none; }
.content-card a:hover { text-decoration: underline; }
.content-card strong { color: oklch(0.93 0 0); }

/* 뉴스 항목 */
.news-entry { padding: 18px 0; border-bottom: 1px solid oklch(1 0 0 / 0.06); scroll-margin-top: 80px; }
.news-entry:first-of-type { padding-top: 4px; }
.news-entry:last-of-type { border-bottom: none; padding-bottom: 4px; }
.news-date { font-size: 0.8em; color: oklch(0.8868 0.1822 95.3226); font-weight: 700; letter-spacing: 0.02em; }
.news-entry h3 { margin: 6px 0 8px; font-size: 1.02em; color: oklch(0.97 0 0); word-break: keep-all; }
.news-entry p { font-size: 0.9em; line-height: 1.75; color: oklch(0.8 0 0); word-break: keep-all; margin: 0 0 8px; }
.news-tag { display: inline-block; font-size: 0.72em; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 8px; vertical-align: middle; background: oklch(0.8868 0.1822 95.3226 / 0.13); color: oklch(0.8868 0.1822 95.3226); border: 1px solid oklch(0.8868 0.1822 95.3226 / 0.35); }

/* 푸터: 저작권 문구+링크가 데스크톱에서 한 줄에 들어가되(모바일은 아래 미디어쿼리에서
   줄바꿈 허용), 구분선은 안쪽 박스에 붙여 계산기 푸터처럼 좌우 여백을 두고 끊기게 한다. */
.content-footer { padding: 0; }
.content-footer-inner { max-width: 1100px; width: 94%; margin: 0 auto; border-top: 1px solid oklch(1 0 0 / 0.07); padding: 18px 0 26px; font-size: 11px; color: oklch(0.6268 0 0); line-height: 1.5; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: nowrap; word-break: keep-all; }
.content-footer-inner > span:first-child { min-width: 0; }
.content-footer-inner > span:last-child { flex-shrink: 0; white-space: nowrap; }
.content-footer a { color: oklch(0.7572 0 0); font-weight: bold; text-decoration: none; margin-left: 12px; white-space: nowrap; }
.content-footer a:hover { text-decoration: underline; }
/* 링크 6개와 저작권 문구가 한 줄에 못 들어가는 폭부터 링크를 아래 줄로 내린다.
   마크업상 <a> 사이에 공백이 없어 한 덩어리로 취급되므로, 줄 자체를 flex로 바꿔야 링크 단위로 줄바꿈된다. */
@media (max-width: 800px) {
    .content-footer-inner > span:last-child { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: center; }
}

/* ===== 라이트 모드 (메인과 동일 팔레트) ===== */
body.light-mode.content-page { background-color: oklch(0.969 0.0062 255.0686); color: oklch(0.252 0 0); color-scheme: light; }
body.light-mode .content-header { background: oklch(1 0 0 / 0.92); border-bottom-color: oklch(0.88 0.0128 255.5297 / 0.5); }
body.light-mode .content-header .logo-loa { color: oklch(0.15 0 0); }
body.light-mode .content-header .logo-doss { color: oklch(0.42 0.062 278); }
body.light-mode .back-to-calc { border-color: oklch(0.88 0.0128 255.5297); color: oklch(0.42 0 0); background: oklch(0.6059 0.1986 256.4605 / 0.04); }
body.light-mode .back-to-calc:hover { border-color: oklch(0.6059 0.1986 256.4605 / 0.55); color: oklch(0.6059 0.1986 256.4605); background: oklch(0.6059 0.1986 256.4605 / 0.1); }
body.light-mode #theme-toggle { border-color: oklch(0.88 0.0128 255.5297); color: oklch(0.5103 0 0); }
body.light-mode #theme-toggle:hover { border-color: oklch(0.6059 0.1986 256.4605 / 0.55); color: oklch(0.6059 0.1986 256.4605); }
body.light-mode .content-main h1 { color: oklch(0.2 0 0); }
body.light-mode .content-sub { color: oklch(0.5 0 0); }
body.light-mode .content-nav-tabs a { color: oklch(0.42 0 0); background: oklch(0.6059 0.1986 256.4605 / 0.04); border-color: oklch(0.88 0.0128 255.5297); }
body.light-mode .content-nav-tabs a:hover, body.light-mode .content-nav-tabs a.active { color: oklch(0.6059 0.1986 256.4605); background: oklch(0.6059 0.1986 256.4605 / 0.1); border-color: oklch(0.6059 0.1986 256.4605 / 0.55); }
body.light-mode .content-card { background-color: oklch(1 0 0); border-color: oklch(0.9266 0.0092 258.0793); box-shadow: 0 1px 4px oklch(0 0 0 / 0.06); }
body.light-mode .content-card h2 { color: oklch(0.2 0 0); border-left-color: oklch(0.6059 0.1986 256.4605); }
body.light-mode .content-card h3 { color: oklch(0.25 0 0); }
body.light-mode .content-card p, body.light-mode .content-card li { color: oklch(0.4 0 0); }
body.light-mode .content-card p.guide-note { color: oklch(0.5103 0 0); border-left-color: oklch(0 0 0 / 0.12); }
body.light-mode .gd-formula { border-color: oklch(0 0 0 / 0.13); }
body.light-mode .gd-eq { color: oklch(0.18 0 0); }
body.light-mode .gd-eq em { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .gd-eq + .gd-eq { border-top-color: oklch(0 0 0 / 0.13); }
body.light-mode .gd-eq-num { color: oklch(0.5 0 0); }
body.light-mode .gd-eq-num b { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .gd-table th { color: oklch(0.5 0 0); }
body.light-mode .gd-table td { color: oklch(0.4 0 0); }
body.light-mode .gd-table th, body.light-mode .gd-table td { border-bottom-color: oklch(0 0 0 / 0.09); }
body.light-mode .gd-table td.num { color: oklch(0.2 0 0); }
body.light-mode .gd-table .is-ours td, body.light-mode .gd-table .is-ours td.num { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .content-card a { color: oklch(0.6059 0.1986 256.4605); }
body.light-mode .content-card strong { color: oklch(0.25 0 0); }
body.light-mode .news-entry { border-bottom-color: oklch(0 0 0 / 0.07); }
body.light-mode .news-date { color: oklch(0.6059 0.1986 256.4605); }
body.light-mode .news-entry h3 { color: oklch(0.22 0 0); }
body.light-mode .news-entry p { color: oklch(0.42 0 0); }
body.light-mode .news-tag { background: oklch(0.6059 0.1986 256.4605 / 0.08); color: oklch(0.6059 0.1986 256.4605); border-color: oklch(0.6059 0.1986 256.4605 / 0.3); }
body.light-mode .content-footer-inner { border-top-color: oklch(0 0 0 / 0.08); color: oklch(0.6268 0 0); }
body.light-mode .content-footer a { color: oklch(0.4495 0 0); }

/* 모바일 */
@media (max-width: 600px) {
    .content-main { padding: 84px 0 40px; }
    .content-card { padding: 18px 16px; }
    .content-header .site-logo { font-size: 1.5em; }
    .back-to-calc { padding: 0 9px; font-size: 0.82em; }
    /* 좁은 화면에서는 저작권 문구가 과도하게 눌리지 않게 줄내림 허용 */
    .content-footer-inner { flex-wrap: wrap; }
}

/* 가이드 — 수식 상자 */
.gd-formula { margin: 13px 0; padding: 13px 16px 14px; border: 1px solid oklch(1 0 0 / 0.12); border-radius: 9px; }
.gd-eq { font-size: 0.95em; font-weight: 700; line-height: 1.7; color: oklch(0.95 0 0); word-break: keep-all; text-wrap: pretty; margin: 0; }
.gd-eq em { font-style: normal; color: oklch(0.8868 0.1822 95.3226); }
.gd-eq + .gd-eq { margin-top: 9px; padding-top: 9px; border-top: 1px dashed oklch(1 0 0 / 0.11); }
.gd-eq-num { display: block; font-size: 0.88em; font-weight: 400; color: oklch(0.66 0 0); font-variant-numeric: tabular-nums; margin-top: 4px; }
.gd-eq-num b { font-weight: 800; color: oklch(0.8868 0.1822 95.3226); }

/* 가이드 — 표 */
.gd-table-wrap { overflow-x: auto; margin: 13px 0 4px; }
.gd-table { width: 100%; border-collapse: collapse; font-size: 0.89em; }
.gd-table th, .gd-table td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid oklch(1 0 0 / 0.08); word-break: keep-all; line-height: 1.55; }
.gd-table th { font-size: 0.9em; font-weight: 700; color: oklch(0.63 0 0); white-space: nowrap; }
.gd-table td { color: oklch(0.8 0 0); }
.gd-table td.num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; font-weight: 700; color: oklch(0.93 0 0); white-space: nowrap; }
.gd-table th.num { text-align: right; padding-right: 0; }
.gd-table tr:last-child th, .gd-table tr:last-child td { border-bottom: none; }
.gd-table .is-ours td { color: oklch(0.8868 0.1822 95.3226); }
.gd-table .is-ours td.num { color: oklch(0.8868 0.1822 95.3226); }

/* 업데이트 노트 */
.news-month { font-size: 0.98em; font-weight: 800; color: oklch(0.72 0 0); letter-spacing: 0.03em; margin: 26px 0 12px 2px; }
.news-month:first-of-type { margin-top: 4px; }

.news-day { background-color: oklch(0.2891 0 0); border: 1px solid oklch(1 0 0 / 0.05); border-radius: 12px; box-shadow: 0 0 10px oklch(0 0 0 / 0.5); padding: 18px 24px; margin-bottom: 16px; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.news-day-date { font-size: 0.82em; font-weight: 700; color: oklch(0.8868 0.1822 95.3226); letter-spacing: 0.02em; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid oklch(1 0 0 / 0.07); transition: color 0.3s ease, border-color 0.3s ease; }

.news-item { padding: 15px 0; border-bottom: 1px solid oklch(1 0 0 / 0.05); scroll-margin-top: 80px; }
.news-item:first-of-type { padding-top: 2px; }
.news-item:last-of-type { border-bottom: none; padding-bottom: 2px; }
.news-item-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 9px; margin-bottom: 7px; }
.news-item-title { font-size: 1em; font-weight: 700; color: oklch(0.97 0 0); word-break: keep-all; margin: 0; transition: color 0.3s ease; }
.news-tags { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.ntag { font-size: 0.7em; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.01em; }
.ntag-new    { background: oklch(0.8868 0.1822 95.3226 / 0.14); color: oklch(0.8868 0.1822 95.3226); border: 1px solid oklch(0.8868 0.1822 95.3226 / 0.42); }
.ntag-improve{ background: oklch(0.62 0.13 262 / 0.16);         color: oklch(0.74 0.12 262);          border: 1px solid oklch(0.62 0.13 262 / 0.42); }
.ntag-fix    { background: oklch(0.6 0.12 158 / 0.16);          color: oklch(0.76 0.13 158);          border: 1px solid oklch(0.6 0.12 158 / 0.42); }
.ntag-notice { background: oklch(1 0 0 / 0.06);                 color: oklch(0.75 0 0);               border: 1px solid oklch(1 0 0 / 0.18); }
.ntag-area   { background: transparent;                         color: oklch(0.66 0 0);               border: 1px solid oklch(1 0 0 / 0.16); }

.news-item-summary { font-size: 0.92em; line-height: 1.7; color: oklch(0.83 0 0); word-break: keep-all; margin: 0 0 8px; }
.news-item-list { margin: 0; padding-left: 17px; }
.news-item-list li { font-size: 0.86em; line-height: 1.65; color: oklch(0.7 0 0); word-break: keep-all; margin: 0 0 4px; }
.news-item-list li::marker { color: oklch(0.8868 0.1822 95.3226 / 0.55); }
.news-item-list li:last-child { margin-bottom: 0; }
.news-item-summary a, .news-item-list a, .news-deep a { color: oklch(0.8868 0.1822 95.3226); font-weight: 700; text-decoration: none; }
.news-item-summary a:hover, .news-item-list a:hover, .news-deep a:hover { text-decoration: underline; }

/* 업데이트 노트 — 본문 안에 세우는 해설(배경 없이 선과 여백으로만) */
.news-deep { margin: 15px 0 0; padding-top: 14px; border-top: 1px solid oklch(1 0 0 / 0.09); }
.news-deep-h { font-size: 0.95em; font-weight: 700; line-height: 1.55; color: oklch(0.96 0 0); word-break: keep-all; margin: 0 0 11px; padding-left: 10px; border-left: 3px solid oklch(0.8868 0.1822 95.3226); }
.news-deep-p { font-size: 0.85em; line-height: 1.7; color: oklch(0.73 0 0); word-break: keep-all; text-wrap: pretty; margin: 0 0 8px; }
.news-deep-p strong { color: oklch(0.93 0 0); font-weight: 700; }
.news-deep-p:last-of-type { margin-bottom: 0; }
.news-deep-h ~ .news-deep-h { margin-top: 26px; }
.news-deep-punch { font-size: 0.9em; font-weight: 700; line-height: 1.7; color: oklch(0.95 0 0); word-break: keep-all; text-wrap: pretty; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid oklch(1 0 0 / 0.1); }
.news-deep-punch em { font-style: normal; color: oklch(0.8868 0.1822 95.3226); }
.news-deep-foot { font-size: 0.79em; line-height: 1.62; color: oklch(0.58 0 0); word-break: keep-all; text-wrap: pretty; margin: 18px 0 0; }

/* 사례 상자 — 얇은 선으로만 본문과 분리 */
.news-case { border: 1px solid oklch(1 0 0 / 0.13); border-radius: 10px; padding: 14px 17px 15px; margin: 3px 0 12px; }
.news-case-cap { font-size: 0.75em; color: oklch(0.58 0 0); word-break: keep-all; margin: 0 0 5px; }
.news-case-be { font-size: 0.82em; line-height: 1.65; color: oklch(0.7 0 0); word-break: keep-all; text-wrap: pretty; margin: 0 0 5px; }
.news-case-be b { font-weight: 800; font-variant-numeric: tabular-nums; color: oklch(0.8868 0.1822 95.3226); }
.news-case-what { font-size: 0.8em; line-height: 1.65; color: oklch(0.62 0 0); word-break: keep-all; text-wrap: pretty; margin: 0 0 13px; padding-bottom: 13px; border-bottom: 1px solid oklch(1 0 0 / 0.1); }
.news-case-what b { font-weight: 700; color: oklch(0.82 0 0); }
.news-case-sum { font-size: 0.85em; font-weight: 700; line-height: 1.7; color: oklch(0.93 0 0); word-break: keep-all; text-wrap: pretty; margin: 14px 0 0; padding-top: 13px; border-top: 1px solid oklch(1 0 0 / 0.1); }
.news-case-sum em { font-style: normal; font-variant-numeric: tabular-nums; color: oklch(0.8868 0.1822 95.3226); }

/* 나란히 비교 — 세로선 하나로만 가른다 */
.news-split { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.ns-col { display: flex; flex-direction: column; padding-right: 20px; }
.ns-col + .ns-col { padding: 0 0 0 20px; border-left: 1px solid oklch(1 0 0 / 0.1); }
.ns-who { font-size: 0.75em; font-weight: 700; line-height: 1.45; color: oklch(0.62 0 0); word-break: keep-all; margin-bottom: 3px; }
.ns-col.is-ours .ns-who { color: oklch(0.8868 0.1822 95.3226); }
.ns-price { font-size: 1.32em; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.015em; color: oklch(0.8 0 0); }
.ns-col.is-ours .ns-price { color: oklch(0.8868 0.1822 95.3226); }
.ns-price span { font-size: 0.55em; font-weight: 700; color: oklch(0.56 0 0); margin-left: 3px; letter-spacing: 0; }
.ns-line { font-size: 0.78em; line-height: 1.65; color: oklch(0.63 0 0); word-break: keep-all; text-wrap: pretty; margin: 7px 0 0; }
.ns-line + .ns-line { margin-top: 5px; }
.ns-line b { font-weight: 700; color: oklch(0.83 0 0); }
.ns-verdict { font-size: 0.8em; font-weight: 700; line-height: 1.5; word-break: keep-all; margin: auto 0 0; padding-top: 13px; border-top: 1px dashed oklch(1 0 0 / 0.11); color: oklch(0.68 0.13 28); }
.ns-verdict b { font-size: 1.16em; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ns-col.is-ours .ns-verdict { color: oklch(0.72 0.12 152); }

/* 라이트 모드 */
body.light-mode .news-month { color: oklch(0.45 0 0); }
body.light-mode .news-day { background-color: oklch(1 0 0); border-color: oklch(0.9266 0.0092 258.0793); box-shadow: 0 1px 4px oklch(0 0 0 / 0.06); }
body.light-mode .news-day-date { color: oklch(0.6059 0.1986 256.4605); border-bottom-color: oklch(0 0 0 / 0.08); }
body.light-mode .news-item { border-bottom-color: oklch(0 0 0 / 0.06); }
body.light-mode .news-item-title { color: oklch(0.2 0 0); }
body.light-mode .news-item-summary { color: oklch(0.38 0 0); }
body.light-mode .news-item-list li { color: oklch(0.48 0 0); }
body.light-mode .news-item-list li::marker { color: oklch(0.6059 0.1986 256.4605 / 0.6); }
body.light-mode .ntag-new    { background: oklch(0.6059 0.1986 256.4605 / 0.1); color: oklch(0.6059 0.1986 256.4605); border-color: oklch(0.6059 0.1986 256.4605 / 0.4); }
body.light-mode .ntag-improve{ background: oklch(0.55 0.14 262 / 0.1);  color: oklch(0.48 0.16 262); border-color: oklch(0.55 0.14 262 / 0.38); }
body.light-mode .ntag-fix    { background: oklch(0.55 0.12 158 / 0.1);  color: oklch(0.42 0.11 158); border-color: oklch(0.5 0.12 158 / 0.38); }
body.light-mode .ntag-notice { background: oklch(0 0 0 / 0.04);         color: oklch(0.45 0 0);      border-color: oklch(0 0 0 / 0.16); }
body.light-mode .ntag-area   { background: transparent;                 color: oklch(0.5 0 0);       border-color: oklch(0 0 0 / 0.16); }
body.light-mode .news-deep { border-top-color: oklch(0 0 0 / 0.1); }
body.light-mode .news-deep-h { color: oklch(0.18 0 0); border-left-color: oklch(0.6059 0.1986 256.4605); }
body.light-mode .news-deep-p { color: oklch(0.44 0 0); }
body.light-mode .news-deep-p strong { color: oklch(0.18 0 0); }
body.light-mode .news-deep-punch { color: oklch(0.17 0 0); border-top-color: oklch(0 0 0 / 0.11); }
body.light-mode .news-deep-punch em { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .news-deep-foot { color: oklch(0.53 0 0); }
body.light-mode .news-case { border-color: oklch(0 0 0 / 0.13); }
body.light-mode .news-case-cap { color: oklch(0.53 0 0); }
body.light-mode .news-case-be { color: oklch(0.42 0 0); }
body.light-mode .news-case-be b { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .news-case-what { color: oklch(0.5 0 0); border-bottom-color: oklch(0 0 0 / 0.11); }
body.light-mode .news-case-what b { color: oklch(0.24 0 0); }
body.light-mode .news-case-sum { color: oklch(0.18 0 0); border-top-color: oklch(0 0 0 / 0.11); }
body.light-mode .news-case-sum em { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .ns-col + .ns-col { border-left-color: oklch(0 0 0 / 0.11); }
body.light-mode .ns-who { color: oklch(0.5 0 0); }
body.light-mode .ns-col.is-ours .ns-who { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .ns-price { color: oklch(0.28 0 0); }
body.light-mode .ns-col.is-ours .ns-price { color: oklch(0.5259 0.1986 256.4605); }
body.light-mode .ns-price span { color: oklch(0.54 0 0); }
body.light-mode .ns-line { color: oklch(0.46 0 0); }
body.light-mode .ns-line b { color: oklch(0.24 0 0); }
body.light-mode .ns-verdict { color: oklch(0.52 0.16 28); border-top-color: oklch(0 0 0 / 0.13); }
body.light-mode .ns-col.is-ours .ns-verdict { color: oklch(0.45 0.13 152); }
body.light-mode .news-item-summary a, body.light-mode .news-item-list a, body.light-mode .news-deep a { color: oklch(0.5259 0.1986 256.4605); }

@media (max-width: 600px) {
    .news-day { padding: 16px 16px; }
    .news-case { padding: 13px 14px 14px; }
    .news-split { grid-template-columns: 1fr; }
    .ns-col { padding-right: 0; }
    .ns-col + .ns-col { border-left: none; border-top: 1px solid oklch(1 0 0 / 0.1); padding: 13px 0 0; margin-top: 13px; }
    body.light-mode .ns-col + .ns-col { border-top-color: oklch(0 0 0 / 0.11); }
}

/* 사이트 소개 */
.content-main.about-center { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 150px); }
.about-note { width: 100%; box-sizing: border-box; margin: 0; padding: 46px 50px; }
.about-note-grid { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }
.about-note-body { position: relative; }
.about-note-body::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: -36px; width: 1px; background: linear-gradient(180deg, transparent, oklch(0.8868 0.1822 95.3226 / 0.22) 16%, oklch(0.8868 0.1822 95.3226 / 0.22) 84%, transparent); }
.about-note-head { display: flex; align-items: center; gap: 10px; }
.about-note .about-note-h { font-size: 1.5em; font-weight: 800; color: oklch(0.98 0 0); letter-spacing: -0.01em; margin: 0; transition: color 0.3s ease; }
.about-note-mokoko { width: 27px; height: 27px; object-fit: contain; flex-shrink: 0; }
.about-note-rule { position: relative; overflow: hidden; width: 64px; height: 3px; margin-top: 16px; border-radius: 3px; background: linear-gradient(90deg, oklch(0.72 0.12 92 / 0.28), oklch(0.82 0.16 95 / 0.72) 58%, oklch(0.9 0.185 96)); }
.about-note-rule::after { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 42%; background: linear-gradient(90deg, transparent, oklch(0.99 0.1 101 / 0.95) 50%, transparent); transform: translateX(-160%); animation: aboutRuleGloss 4.2s linear infinite; }
@keyframes aboutRuleGloss { to { transform: translateX(360%); } }
.about-note-body .about-note-lead { font-size: 1.16em; line-height: 1.78; color: oklch(0.95 0 0); margin: 0 0 18px; word-break: keep-all; text-wrap: pretty; transition: color 0.3s ease; }
.about-note-body > p { font-size: 1em; line-height: 1.9; color: oklch(0.82 0 0); margin: 0 0 16px; word-break: keep-all; text-wrap: pretty; transition: color 0.3s ease; }
.about-note-body > p:last-child { margin-bottom: 0; }
.about-note b { color: oklch(0.97 0 0); font-weight: 700; }

body.light-mode .about-note .about-note-h { color: oklch(0.16 0 0); }
body.light-mode .about-note-body::before { background: linear-gradient(180deg, transparent, oklch(0.6059 0.1986 256.4605 / 0.22) 16%, oklch(0.6059 0.1986 256.4605 / 0.22) 84%, transparent); }
body.light-mode .about-note-rule { background: linear-gradient(90deg, oklch(0.72 0.12 256 / 0.3), oklch(0.62 0.18 257 / 0.75) 58%, oklch(0.52 0.2 257)); }
body.light-mode .about-note-rule::after { background: linear-gradient(90deg, transparent, oklch(0.98 0.05 256 / 0.85) 50%, transparent); }
body.light-mode .about-note-body .about-note-lead { color: oklch(0.18 0 0); }
body.light-mode .about-note-body > p { color: oklch(0.34 0 0); }
body.light-mode .about-note b { color: oklch(0.15 0 0); }

@media (prefers-reduced-motion: reduce) {
    .about-note-rule::after { animation: none; opacity: 0; }
}
@media (max-width: 860px) {
    .about-note-grid { grid-template-columns: 1fr; gap: 18px; }
    .about-note-body::before { display: none; }
}
@media (max-width: 600px) {
    .content-main.about-center { display: block; min-height: 0; }
    .about-note { padding: 28px 22px 30px; }
    .about-note .about-note-h { font-size: 1.3em; }
    .about-note-mokoko { width: 24px; height: 24px; }
    .about-note-body .about-note-lead { font-size: 1.08em; }
    .about-note .brk { display: none; }
}

/* 콘텐츠 헤더 */
.content-header .header-left { display: flex; align-items: center; min-width: 0; }
.content-header .header-left .site-logo { flex-shrink: 0; }
.tool-menu { position: relative; margin-left: 22px; display: flex; align-items: center; }
.tool-menu-btn { height: 34px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; font-family: "Noto Sans KR", sans-serif; font-size: 0.9em; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; color: oklch(0.82 0 0); background: oklch(1 0 0 / 0.04); border: 1px solid oklch(1 0 0 / 0.1); border-radius: 9px; cursor: pointer; white-space: nowrap; transition: color 0.18s, background 0.18s, border-color 0.18s; }
.tool-menu-btn .tool-ico { flex-shrink: 0; opacity: 0.9; }
.tool-menu-btn .tool-label { line-height: 1; }
.tool-menu-btn .tool-caret { flex-shrink: 0; opacity: 0.6; margin-left: -1px; transition: transform 0.2s ease, opacity 0.18s; }
.tool-menu:hover .tool-menu-btn .tool-caret { transform: rotate(180deg); opacity: 0.9; }
.tool-menu-btn:hover, .tool-menu:hover .tool-menu-btn { color: oklch(0.8868 0.1822 95.3226); background: oklch(0.8868 0.1822 95.3226 / 0.12); border-color: oklch(0.8868 0.1822 95.3226 / 0.55); }
.content-header .news-btn { margin-left: 8px; }
.tool-dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 160px; background: oklch(0.2891 0 0); border: 1px solid oklch(0.3485 0 0); border-radius: 10px; box-shadow: 0 8px 20px oklch(0 0 0 / 0.5); padding: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s; z-index: 101; }
.tool-menu:hover .tool-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.tool-dropdown-item { display: block; padding: 9px 12px; border-radius: 7px; font-size: 0.86em; font-weight: 700; color: oklch(0.7572 0 0); text-decoration: none; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.tool-dropdown-item:hover { background: oklch(0.4091 0 0); color: oklch(1 0 0); }

body.light-mode .tool-menu-btn { border-color: oklch(0.88 0.0128 255.5297); color: oklch(0.42 0 0); background: oklch(0.6059 0.1986 256.4605 / 0.04); }
body.light-mode .tool-menu-btn:hover, body.light-mode .tool-menu:hover .tool-menu-btn { border-color: oklch(0.6059 0.1986 256.4605 / 0.55); color: oklch(0.6059 0.1986 256.4605); background: oklch(0.6059 0.1986 256.4605 / 0.1); }
body.light-mode .tool-dropdown { background: oklch(1 0 0); border-color: oklch(0.9266 0.0092 258.0793); box-shadow: 0 8px 20px oklch(0.2512 0.0989 259.3376 / 0.1); }
body.light-mode .tool-dropdown-item { color: oklch(0.4495 0 0); }
body.light-mode .tool-dropdown-item:hover { background: oklch(0.9808 0.0091 258.5663); color: oklch(0.6059 0.1986 256.4605); }

/* 모바일 */
@media (max-width: 600px) {
    .tool-menu { margin-left: 12px; }
    .content-header .news-btn { margin-left: 6px; }
    .tool-menu-btn { padding: 0 9px; font-size: 0.84em; }
    .back-to-calc .back-label { display: none; }
    .back-to-calc { padding: 0 8px; }
}
@media (max-width: 380px) {
    .tool-menu-btn .tool-caret { display: none; }
}

/* 계산 모드 카드 탭 */
.mode-guide { margin-top: 4px; }
.mode-guide-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid oklch(1 0 0 / 0.09); margin-bottom: 14px; }
.mode-guide-tab { appearance: none; background: none; border: none; font-family: inherit; cursor: pointer; font-size: 0.9em; font-weight: 700; color: oklch(0.62 0 0); padding: 8px 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 0.18s, border-color 0.18s; }
.mode-guide-tab:hover { color: oklch(0.86 0 0); }
.mode-guide-tab.active { color: oklch(0.8868 0.1822 95.3226); border-bottom-color: oklch(0.8868 0.1822 95.3226); }
.mode-guide-panel { display: none; }
.mode-guide-panel.active { display: block; animation: guidePanelIn 0.22s ease; }
.mode-guide-panel > p:first-child, .mode-guide-panel > h3:first-child { margin-top: 0; }
@keyframes guidePanelIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

body.light-mode .mode-guide-tabs { border-bottom-color: oklch(0 0 0 / 0.1); }
body.light-mode .mode-guide-tab { color: oklch(0.5 0 0); }
body.light-mode .mode-guide-tab:hover { color: oklch(0.25 0 0); }
body.light-mode .mode-guide-tab.active { color: oklch(0.6059 0.1986 256.4605); border-bottom-color: oklch(0.6059 0.1986 256.4605); }

/* FAQ */
.faq-layout { position: relative; }
.faq-cats { position: absolute; top: 2px; right: calc(100% + 24px); width: 164px; display: flex; flex-direction: column; gap: 2px; }
.faq-cat { appearance: none; background: none; border: none; font-family: inherit; cursor: pointer; text-align: left; font-size: 0.88em; font-weight: 600; color: oklch(0.66 0 0); padding: 8px 12px; border-radius: 8px; word-break: keep-all; line-height: 1.4; transition: color 0.16s, background 0.16s; }
.faq-cat:hover { color: oklch(0.92 0 0); background: oklch(1 0 0 / 0.05); }
.faq-cat.active { color: oklch(0.8868 0.1822 95.3226); background: oklch(0.8868 0.1822 95.3226 / 0.1); font-weight: 700; }

.faq-content { background-color: oklch(0.2891 0 0); border: 1px solid oklch(1 0 0 / 0.05); border-radius: 12px; box-shadow: 0 0 10px oklch(0 0 0 / 0.5); padding: 6px 26px; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.faq-panel { display: none; }
.faq-panel.active { display: block; animation: guidePanelIn 0.22s ease; }
.faq-item { padding: 20px 0; border-bottom: 1px solid oklch(1 0 0 / 0.07); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 1em; font-weight: 700; color: oklch(0.97 0 0); margin: 0 0 9px; word-break: keep-all; line-height: 1.6; }
.faq-a { font-size: 0.93em; line-height: 1.78; color: oklch(0.82 0 0); word-break: keep-all; margin: 0 0 10px; }
.faq-a:last-child { margin-bottom: 0; }
.faq-a strong { color: oklch(0.93 0 0); }
.faq-a a { color: oklch(0.8868 0.1822 95.3226); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

body.light-mode .faq-cat { color: oklch(0.45 0 0); }
body.light-mode .faq-cat:hover { color: oklch(0.2 0 0); background: oklch(0 0 0 / 0.04); }
body.light-mode .faq-cat.active { color: oklch(0.6059 0.1986 256.4605); background: oklch(0.6059 0.1986 256.4605 / 0.1); }
body.light-mode .faq-content { background-color: oklch(1 0 0); border-color: oklch(0.9266 0.0092 258.0793); box-shadow: 0 1px 4px oklch(0 0 0 / 0.06); }
body.light-mode .faq-item { border-bottom-color: oklch(0 0 0 / 0.07); }
body.light-mode .faq-q { color: oklch(0.2 0 0); }
body.light-mode .faq-a { color: oklch(0.4 0 0); }
body.light-mode .faq-a strong { color: oklch(0.25 0 0); }
body.light-mode .faq-a a { color: oklch(0.6059 0.1986 256.4605); }

/* FAQ 모바일 */
@media (max-width: 1340px) {
    .faq-cats { position: static; width: auto; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-bottom: 16px; padding-bottom: 2px; scrollbar-width: none; }
    .faq-cats::-webkit-scrollbar { display: none; }
    .faq-cat { flex: 0 0 auto; border: 1px solid oklch(1 0 0 / 0.1); }
    .faq-cat.active { border-color: oklch(0.8868 0.1822 95.3226 / 0.5); }
    body.light-mode .faq-cat { border-color: oklch(0.88 0.0128 255.5297); }
    body.light-mode .faq-cat.active { border-color: oklch(0.6059 0.1986 256.4605 / 0.5); }
}
@media (max-width: 600px) {
    .faq-content { padding: 4px 16px; }
    .mode-guide-tab { padding: 8px 10px; font-size: 0.86em; }
}
