/* 투피쉬 — 노트형 단일 컬럼. 청록 + 겨자 형광펜 + 연민트 줄노트 */
:root {
	--t-teal: #0f6b6b;
	--t-teal-d: #0a4f4f;
	--t-ink: #1d2b2b;
	--t-soft: #4c5f5f;
	--t-mint: #f2f7f5;
	--t-paper: #fbfdfc;
	--t-line: #d6e6e1;
	--t-mark: #e8b931;
	--t-mark-l: #f7e3a3;
	--t-bad: #b0442f;
	--t-font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body.tfs-body {
	margin: 0; color: var(--t-ink); font: 16.5px/1.8 var(--t-font); word-break: keep-all; overflow-wrap: anywhere;
	background-color: var(--t-mint);
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(15,107,107,.06) 31px, rgba(15,107,107,.06) 32px);
}
.tfs-body a { color: var(--t-teal-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tfs-body a:hover { color: var(--t-teal); background: var(--t-mark-l); }
.tfs-body a:focus-visible, .tfs-body summary:focus-visible, .tfs-body input:focus-visible { outline: 3px solid var(--t-mark); outline-offset: 2px; }
.tfs-wrap { max-width: 760px; margin: 0 auto; padding: 0 18px; }
.tfs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tfs-skip { position: absolute; left: -999px; }
.tfs-skip:focus { left: 8px; top: 8px; background: var(--t-teal); color: #fff !important; padding: 6px 10px; z-index: 50; }

/* 머리 */
.tfs-head { background: var(--t-paper); border-bottom: 2px solid var(--t-teal); position: relative; z-index: 20; }
.tfs-head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 12px; padding-bottom: 10px; }
.tfs-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--t-ink) !important; background: none !important; }
.tfs-logo-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--t-teal); position: relative; }
.tfs-logo-mark::before, .tfs-logo-mark::after { content: ""; position: absolute; width: 14px; height: 8px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--t-mark); }
.tfs-logo-mark::before { left: 6px; top: 9px; }
.tfs-logo-mark::after { right: 6px; bottom: 9px; background: #fff; }
.tfs-logo-txt { font-weight: 800; font-size: 20px; line-height: 1.1; display: flex; flex-direction: column; }
.tfs-logo-txt small { font-weight: 500; font-size: 11.5px; color: var(--t-soft); }
.tfs-search { position: relative; flex: 1 1 220px; }
.tfs-search input { width: 100%; padding: 8px 14px; border: 1.5px solid var(--t-line); border-radius: 999px; font: inherit; font-size: 14.5px; background: #fff; }
.tfs-qr { position: absolute; left: 0; right: 0; top: 110%; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1.5px solid var(--t-teal); border-radius: 12px; box-shadow: 0 6px 18px rgba(15,107,107,.15); }
.tfs-qr li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 8px; }
.tfs-qr li span { font-size: 12.5px; color: var(--t-soft); }
.tfs-qr li.none { color: var(--t-soft); font-size: 14px; }
.tfs-menu-cb { position: absolute; opacity: 0; pointer-events: none; }
.tfs-menu-btn { display: none; cursor: pointer; border: 1.5px solid var(--t-teal); border-radius: 999px; padding: 3px 12px; font-size: 14px; color: var(--t-teal); }
.tfs-nav { flex-basis: 100%; }
.tfs-nav ul { list-style: none; margin: 0; padding: 0; }
.tfs-nav > ul { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.tfs-nav > ul > li { position: relative; }
.tfs-nav > ul > li > a { display: block; padding: 4px 10px; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 999px; }
.tfs-sub { display: none; position: absolute; left: 0; top: 100%; min-width: 170px; background: #fff; border: 1.5px solid var(--t-teal); border-radius: 12px; padding: 6px !important; box-shadow: 0 6px 18px rgba(15,107,107,.12); }
.tfs-sub a { display: block; padding: 5px 10px; text-decoration: none; font-size: 14.5px; border-radius: 8px; }
.has-sub:hover .tfs-sub, .has-sub:focus-within .tfs-sub { display: block; }

/* 공통 글 */
.tfs-body h1 { font-size: clamp(25px, 4.2vw, 33px); line-height: 1.35; margin: 30px 0 14px; letter-spacing: -.02em; }
.tfs-body h2 { font-size: 22px; line-height: 1.45; margin: 44px 0 12px; display: inline-block; background: linear-gradient(transparent 62%, var(--t-mark-l) 62%); padding: 0 2px; }
.tfs-body h3 { font-size: 18px; margin: 24px 0 6px; }
.tfs-body p { margin: 0 0 13px; }
.tfs-sec { clear: both; }
.tfs-lead { color: var(--t-soft); }
.tfs-more { font-weight: 700; font-size: 15px; }
.tfs-crumbs { font-size: 13.5px; color: var(--t-soft); margin-top: 16px; }
.tfs-list { padding-left: 22px; }
.tfs-list li { margin-bottom: 5px; }
.tfs-plain { line-height: 2; }

/* 프로필 */
.tfs-profile { background: var(--t-paper); border: 1.5px solid var(--t-line); border-radius: 18px; padding: 6px 24px 18px; margin-top: 22px; }
.tfs-profile h1 { margin-top: 22px; }
.tfs-nums { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14.5px; color: var(--t-soft); }
.tfs-nums b { font-size: 22px; color: var(--t-teal); margin-right: 2px; }
.tfs-nums-stamp { display: flex; align-items: center; gap: 6px; }

/* 확인 도장 */
.tfs-stamp { flex: 0 0 auto; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--t-teal); color: var(--t-teal); font-size: 12px; font-weight: 800; line-height: 1.1; text-align: center; transform: rotate(-8deg); background: rgba(255,255,255,.7); }
.tfs-stamp.is-wait { border-style: dashed; color: var(--t-soft); border-color: var(--t-soft); font-weight: 600; font-size: 11px; }
.tfs-stamp.is-bad { border-color: var(--t-bad); color: var(--t-bad); font-size: 11px; }
.tfs-stamp.is-move { border-color: var(--t-mark); color: #8a6a10; font-size: 11px; }
.tfs-nums-stamp .tfs-stamp { width: 44px; height: 44px; font-size: 11px; }

/* 할 일 */
.tfs-tasks { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 0; border-top: 1.5px solid var(--t-teal); }
.tfs-tasks li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2px 14px; padding: 10px 4px; border-bottom: 1px dashed var(--t-line); }
.tfs-task { font-weight: 700; }
.tfs-tasks .tfs-go { font-weight: 700; justify-self: start; }
.tfs-tasks small { grid-column: 1 / -1; color: var(--t-soft); font-size: 13.5px; }
.tfs-tasks.is-small li { padding: 7px 4px; }

/* 이번 달 메모 */
.tfs-memo-box, .tfs-monthbox { background: #fffbea; border: 1.5px solid var(--t-mark); border-radius: 16px; padding: 4px 20px 10px; margin: 26px 0; }
.tfs-memo-box h2 span, .tfs-monthbox h2 span { font-size: 14px; color: #8a6a10; margin-left: 6px; }
.tfs-month { list-style: none; padding: 0; margin: 0 0 8px; }
.tfs-month li { padding: 7px 0 7px 18px; position: relative; }
.tfs-month li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--t-mark); }
.tfs-chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 0 9px; border: 1.5px solid var(--t-teal); border-radius: 999px; text-decoration: none; margin-left: 2px; }
.tfs-monthbox.is-now { border-width: 2.5px; }

/* 분야 목차 */
.tfs-map-h { font-size: 18px; }
.tfs-map-h small { font-weight: 500; color: var(--t-soft); font-size: 14px; margin-left: 6px; }
.tfs-toc { list-style: none; padding: 0; margin: 0 0 10px; }
.tfs-toc li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 2px; border-bottom: 1px dashed var(--t-line); }
.tfs-toc-name { font-weight: 800; min-width: 190px; }
.tfs-toc-line { font-size: 13.5px; color: var(--t-teal); }
.tfs-toc-top { flex: 1 1 100%; font-size: 14.5px; color: var(--t-soft); }
.tfs-toc-n { font-size: 13px; color: var(--t-teal); font-weight: 700; }
.tfs-mini { text-decoration: none; }

/* 운영 회사, 기준, 글, 낱말 */
.tfs-ops { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tfs-ops li { background: var(--t-paper); border: 1.5px solid var(--t-line); border-radius: 999px; padding: 3px 14px; font-size: 14.5px; }
.tfs-ops b { color: var(--t-teal); }
.tfs-notes { list-style: none; padding: 0; }
.tfs-notes li { padding: 6px 0 6px 26px; position: relative; }
.tfs-notes li::before { content: "✓"; position: absolute; left: 4px; color: var(--t-teal); font-weight: 800; }
.tfs-posts { list-style: none; padding: 0; }
.tfs-posts li { padding: 12px 0; border-bottom: 1px dashed var(--t-line); }
.tfs-posts a { font-weight: 800; font-size: 17px; }
.tfs-posts p { margin: 4px 0 0; font-size: 14.5px; color: var(--t-soft); }
.tfs-words dt { font-weight: 800; margin-top: 14px; }
.tfs-words dd { margin: 2px 0 0; color: var(--t-soft); }

/* 사이트 줄 */
.tfs-rows { list-style: none; padding: 0; margin: 0; background: var(--t-paper); border: 1.5px solid var(--t-line); border-radius: 16px; }
.tfs-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px dashed var(--t-line); }
.tfs-row:last-child { border-bottom: 0; }
.tfs-row-main { flex: 1; min-width: 0; }
.tfs-name { font-weight: 800; font-size: 17px; }
.tfs-op { font-size: 13px; color: var(--t-soft); margin-left: 8px; }
.tfs-gov { font-size: 11.5px; font-weight: 800; color: #fff; background: var(--t-teal); border-radius: 999px; padding: 0 8px; margin-left: 6px; vertical-align: 2px; }
.tfs-memo { margin: 3px 0 2px !important; font-size: 15px; }
.tfs-host { font-size: 12.5px; color: var(--t-soft); font-family: ui-monospace, Menlo, Consolas, monospace; }

/* 분야 상세 */
.tfs-intro { background: var(--t-paper); border-left: 4px solid var(--t-mark); border-radius: 0 14px 14px 0; padding: 12px 18px 4px; }
.tfs-intro-k { font-size: 13px; font-weight: 800; color: #8a6a10; margin-bottom: 4px !important; }
.tfs-qa { padding: 4px 0 2px; border-bottom: 1px dashed var(--t-line); }
.tfs-qa h3 { margin: 12px 0 4px; font-size: 17px; }
.tfs-near ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.tfs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tfs-chips a { border: 1.5px solid var(--t-teal); border-radius: 999px; padding: 2px 12px; font-size: 14px; text-decoration: none; background: #fff; }
.tfs-opgroup h3 small { color: var(--t-soft); font-weight: 500; font-size: 14px; }
.tfs-oplist { list-style: none; padding: 0; columns: 2; column-gap: 24px; }
.tfs-oplist li { break-inside: avoid; padding: 3px 0; }

/* 글 */
.tfs-article h1 { margin-bottom: 6px; }
.tfs-byline { font-size: 13.5px; color: var(--t-soft); }

/* 표 */
.tfs-tw { overflow-x: auto; margin: 6px 0 16px; }
.tfs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--t-paper); border: 1.5px solid var(--t-line); border-radius: 14px; font-size: 15px; overflow: hidden; }
.tfs-table th, .tfs-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--t-line); }
.tfs-table tr:last-child th, .tfs-table tr:last-child td { border-bottom: 0; }
.tfs-table thead th { background: var(--t-teal); color: #fff; font-size: 14px; }
.tfs-table tbody th { font-weight: 700; }

/* 급상승 */
.tfs-trends ol { columns: 2; column-gap: 26px; padding-left: 22px; }
.tfs-trends li { break-inside: avoid; }
.tfs-sub { font-size: 13px; color: var(--t-soft); margin-top: -4px !important; }

/* FAQ */
.tfs-faq details { background: var(--t-paper); border: 1.5px solid var(--t-line); border-radius: 12px; margin-bottom: 8px; }
.tfs-faq summary { cursor: pointer; padding: 11px 44px 11px 16px; font-weight: 700; list-style: none; position: relative; }
.tfs-faq summary::-webkit-details-marker { display: none; }
.tfs-faq summary::after { content: "+"; position: absolute; right: 16px; top: 8px; font-size: 20px; color: var(--t-teal); }
.tfs-faq details[open] summary::after { content: "−"; }
.tfs-faq details p { padding: 0 16px 12px; margin: 0; color: var(--t-soft); }

.tfs-notices { list-style: none; padding: 0; }
.tfs-notices li { border-bottom: 1px dashed var(--t-line); padding: 14px 0; }
.tfs-notices time { font-size: 13px; color: var(--t-teal); font-weight: 800; }
.tfs-notices h2 { font-size: 18px; margin: 4px 0; background: none; }
.tfs-table code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; color: var(--t-teal-d); }
.tfs-mail { font-size: 20px; font-weight: 800; }

/* 꼬리 */
.tfs-foot { margin-top: 60px; background: var(--t-teal-d); color: #d8ebe7; font-size: 14px; }
.tfs-foot a { color: #fff; text-decoration: none; }
.tfs-foot a:hover { background: none; text-decoration: underline; color: #fff; }
.tfs-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 22px; padding-top: 30px; padding-bottom: 18px; }
.tfs-foot-brand { font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 6px !important; }
.tfs-foot-t { font-weight: 800; color: var(--t-mark); margin-bottom: 6px !important; }
.tfs-foot ul { list-style: none; padding: 0; margin: 0; }
.tfs-foot li { margin-bottom: 3px; }
.tfs-foot-end { border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; padding-bottom: 20px; font-size: 12.5px; color: #a9cdc6; }

@media (max-width: 720px) {
	.tfs-menu-btn { display: inline-block; margin-left: auto; }
	.tfs-search { order: 3; flex-basis: 100%; }
	.tfs-nav { display: none; order: 4; }
	.tfs-menu-cb:checked ~ .tfs-nav { display: block; }
	.tfs-nav > ul { flex-direction: column; }
	.tfs-sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 4px 12px !important; }
	.tfs-tasks li { grid-template-columns: 1fr; }
	.tfs-toc-name { min-width: 0; }
	.tfs-row { padding: 12px 14px; }
	.tfs-stamp { width: 46px; height: 46px; font-size: 11px; }
	.tfs-foot-grid { grid-template-columns: 1fr 1fr; }
	.tfs-foot-grid > div:first-child { grid-column: 1 / -1; }
	.tfs-trends ol, .tfs-oplist { columns: 1; }
	.tfs-profile { padding: 4px 16px 14px; }
}
