/* VCU AI 패치노트 — 시안 v1(2026-11-04)을 옮긴 화면 + 홈 1면(시안 "1판 A") · 글꼴(시안 3판 T1, 11-04 사용자 승인).
 * 흰 바탕 정식 매체 + 판 번호 · 날짜만 고정폭 · 배지. 강조색 = 남색 하나, 회사 색 = 점으로만. 밝은 테마 하나.
 * 글꼴: 본문 · 제목 · 사이트 이름 = Pretendard(한글 기본값: ~/design_library/baseline/korean-base.css — 제목은 굵기 650,
 * 사이트 이름 · 큰 제목 700, 자간 -0.02em 안팎), 가장 큰 제목 둘(홈 머리기사 · 소식 페이지 h1, .hero-title)만
 * 마루부리 Bold(시안 3판 T2의 머리기사), 판 번호 · 날짜 = IBM Plex Mono.
 */
/* 마루부리 Bold 한 굵기만 — 네이버 공식 웹폰트 파일(CSS 전체를 붙이면 다섯 굵기를 다 받는다). 쓰는 페이지에서만 내려받는다 */
@font-face {
  font-family: "MaruBuri"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Bold.woff2) format("woff2"),
       url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Bold.woff) format("woff");
}
:root {
  --paper: #ffffff; --bg: #f4f4f1; --ink: #17191c; --muted: #5c6168; --line: #e4e3de; --soft: #f7f7f4;
  --brand: #2a3fbf; --brand-soft: #edf0fc;
  --an: #b4532a; --oa: #0f766e;
  --warn: #c2410c; --warn-ink: #9a3412; --warn-bg: #fff3ea; --warn-line: #f6d3bc;
  --hero: "MaruBuri", "Noto Serif KR", "Nanum Myeongjo", serif;     /* 대체 글꼴은 깔려 있을 때만 — 따로 받지 않는다 */
  --body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fast: 120ms;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.7 var(--body); letter-spacing: 0; }
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
code { font-family: var(--mono); font-size: .86em; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; padding: 0 .3em; overflow-wrap: anywhere; word-break: normal; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
/* 한 열 그리드는 열 최소 폭을 0으로 — 아주 긴 낱말 · 주소가 열을 밀어 가로로 넘치지 않게(줄바꿈은 overflow-wrap이 맡음) */
.mast, .rail, .rail-box, .art, .sec, .chg, .tmsg, .tb, .page-h, .try, .empty-home, .a-lead, .a-side, .a-card,
.a-dead, .a-why, .a-todo, .a-what, .todo li, .tg-notes li, .flow li, .dday div, .facts, .pick, .orig { grid-template-columns: minmax(0, 1fr); }
/* 플렉스 안의 판 이름은 아무 데서나 꺾는다 — break-word는 최소 폭 계산에 들지 않아 긴 판 이름이 줄을 밀어낸다 */
.kicker .mono, .a-tools b { overflow-wrap: anywhere; min-width: 0; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; }

.app { max-width: 1200px; margin: 0 auto; background: var(--paper); min-height: 100vh; border-left: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.mast { padding: 26px 32px 0; display: grid; gap: 14px; }
.mast-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 20px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.logo b { font-size: 2rem; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
/* 가장 큰 제목 둘(홈 머리기사 · 소식 페이지 h1)만 마루부리 */
.hero-title { font-family: var(--hero); font-weight: 700; letter-spacing: -.02em; }
.tagline { color: var(--muted); margin: 0; flex: 1 1 260px; }
.checked { font-size: .8rem; color: var(--muted); }
.mnav { display: flex; gap: 22px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 10px 0; overflow-x: auto; }
.mnav a { text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; color: var(--muted); transition: color var(--fast); }
.mnav a:hover { color: var(--ink); }
.mnav a[aria-current="page"], .mnav a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
main.views { padding: 0 32px 48px; flex: 1; }

/* 작은 이름표 · 흐린 꼬리 글 */
.lab { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.t { color: var(--muted); font-size: .8rem; }

/* 배지 · 소스 */
.src { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.src i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.s-an i { background: var(--an); } .s-oa i { background: var(--oa); }
.badge { display: inline-block; font-size: .76rem; font-weight: 600; padding: 1px 8px; border-radius: 4px; line-height: 1.6; white-space: nowrap; }
.b-new { background: #e2f3e7; color: #1d6b37; } .b-changed { background: #e6ecfb; color: #2347a8; }
.b-fixed { background: #efebf8; color: #574493; } .b-deprecating { background: #fdebdc; color: #a8380a; }
.b-other { background: #eef0f2; color: #4b5563; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.kicker .mono { font-size: .82rem; color: var(--muted); }

/* 홈 — 1면(시안 "1판 A") */
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 22px; }
.dd { background: var(--warn); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: .8rem; font-weight: 600; flex: none; }
.kt { font-size: .74rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.kt.on { color: var(--brand); }
.more { font-size: .88rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.more:hover { text-decoration: underline; }
.a-sec { font-size: 1.08rem; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; margin: 0 0 4px; padding-top: 10px; border-top: 2px solid var(--ink); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.a-sec .mono { font: 500 .8rem/1 var(--mono); color: var(--muted); letter-spacing: 0; }
.a-top { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 0; padding-top: 26px; }
.a-top.solo { grid-template-columns: minmax(0, 1fr); }
.a-lead { display: grid; gap: 14px; align-content: start; padding-right: 36px; min-width: 0; }
.a-top.solo .a-lead { padding-right: 0; max-width: 820px; }
.a-h { font-size: 2.5rem; line-height: 1.32; margin: 2px 0 0; }
.a-h a { text-decoration: none; }
.a-h a:hover { color: var(--brand); }
.a-lede { font-size: 1.16rem; line-height: 1.72; margin: 0; color: #2b2f34; }
.a-why { background: var(--brand-soft); border-radius: 8px; padding: 14px 18px; display: grid; gap: 4px; }
.a-why b { font-size: .82rem; color: var(--brand); }
.a-why p { margin: 0; font-size: .97rem; }
/* 판 구성 막대 — 종류 배지 계열 색(시안의 dataviz 검증기 통과, 인접 쌍 색각 차이가 작아 범례 · 숫자로 보조) */
.a-fig { margin: 2px 0 0; display: grid; gap: 8px; }
.a-fig figcaption { font-size: .84rem; color: var(--muted); font-weight: 600; }
.a-fig figcaption b { color: var(--ink); font-size: 1rem; }
.a-bar { display: flex; gap: 2px; height: 12px; }
.a-bar span { min-width: 4px; }
.a-bar span:first-child { border-radius: 4px 0 0 4px; } .a-bar span:last-child { border-radius: 0 4px 4px 0; }
.a-bar span:only-child { border-radius: 4px; }
.seg-new { background: #2f9e5b; } .seg-changed { background: #3a6fd8; } .seg-fixed { background: #a04fb5; }
.seg-deprecating { background: #e0702a; } .seg-other { background: #9aa3ad; }
.a-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .84rem; color: #3b3f45; }
.a-legend li { display: inline-flex; align-items: center; gap: 6px; }
.a-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.a-legend b { font-weight: 600; color: var(--ink); }
/* 막대가 없는 머리기사(뉴스)의 "무슨 일" — 막대 자리와 같은 무게: 작은 이름표 + 짧은 줄 */
.a-what { margin: 2px 0 0; display: grid; gap: 6px; }
.a-what > b { font-size: .84rem; color: var(--muted); font-weight: 600; }
.a-what ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: .95rem; line-height: 1.6; color: #2b2f34; }
.a-what li::marker { color: var(--muted); }
.a-todo { display: grid; gap: 8px; }
.a-todo > b { font-size: .82rem; color: var(--muted); }
.a-todo li { padding-top: 8px; padding-bottom: 8px; }
.a-todo li::before { top: 13px; }
.a-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 2px; }
.a-side { border-left: 1px solid var(--line); padding-left: 28px; display: grid; gap: 22px; align-content: start; min-width: 0; }
.a-dead { display: grid; gap: 6px; text-decoration: none; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 14px 16px; transition: border-color var(--fast); min-width: 0; }
.a-dead:hover { border-color: var(--warn); }
.a-dead-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.a-dead-top .lab { color: var(--warn-ink); }
.a-dead-d { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--warn-ink); }
.a-dead strong { font-size: 1.12rem; line-height: 1.42; font-weight: 650; letter-spacing: -.02em; }
.a-dead .who { color: #8a4a26; }
.a-dead .do { font-size: .92rem; margin-top: -4px; }
.a-glance ol { list-style: none; margin: 0; padding: 0; }
.a-glance li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.a-glance li:last-child { border-bottom: 0; }
.a-glance li > div { min-width: 0; }
.a-glance .n { font-size: 1.05rem; font-weight: 600; color: var(--muted); line-height: 1.45; }
.a-glance a { font-weight: 600; line-height: 1.45; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: #b9bcc2; }
.a-glance a:hover { text-decoration-color: var(--brand); color: var(--brand); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.meta .src { font-size: .78rem; color: var(--ink); }
.meta .mono { font-size: .76rem; }
.a-more { margin-top: 34px; }
.a-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.a-card { display: grid; gap: 8px; grid-template-rows: auto auto 1fr auto; padding: 16px 0 20px; border-bottom: 1px solid var(--line); min-width: 0; }
.a-card h4 { margin: 0; font-size: 1.13rem; line-height: 1.45; font-weight: 650; letter-spacing: -.02em; }
.a-card h4 a { text-decoration: none; }
.a-card h4 a:hover { color: var(--brand); }
.a-card p { align-self: start; margin: 0; font-size: .93rem; color: #3b3f45; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.a-card-f { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.a-tools { margin-top: 30px; }
.a-tools ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.a-tools a { display: grid; gap: 2px; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; transition: border-color var(--fast); min-width: 0; }
.a-tools a:hover { border-color: var(--ink); }
.a-tools b { font-size: 1.05rem; font-weight: 600; }
.a-tools b:not(.mono) { font-size: .95rem; }
.home-end { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.empty-home { max-width: 640px; margin: 48px auto 24px; padding: 32px 32px 28px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 12px; text-align: center; justify-items: center; }
.empty-home h1 { font-size: 1.7rem; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.empty-home p { margin: 0; color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px !important; }

/* 오른쪽 상자 */
.rail { display: grid; gap: 14px; align-content: start; }
.rail-box { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--paper); display: grid; gap: 8px; text-decoration: none; }
.rail-box h4 { margin: 0; font-size: .86rem; color: var(--muted); font-weight: 600; }
.rail-box p { margin: 0; font-size: .92rem; }
.prev { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prev li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; font-size: .86rem; align-items: baseline; line-height: 1.5; }
.prev.news li { grid-template-columns: minmax(0, 1fr) auto; }
.prev li > .mono:first-child { color: var(--muted); font-size: .78rem; }
.prev a { text-decoration: none; }
.prev a:hover { color: var(--brand); }

/* 소식 해설 */
.art { max-width: 700px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.back { text-decoration: none; font-size: .88rem; color: var(--muted); justify-self: start; }
.back:hover { color: var(--ink); }
.art h1 { font-size: 2.3rem; line-height: 1.32; margin: 4px 0 0; }
.lede { font-size: 1.18rem; line-height: 1.7; margin: 0; color: #2b2f34; }
.art-meta { font-size: .8rem; color: var(--muted); margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dday { display: flex; gap: 14px; align-items: center; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 8px; padding: 12px 16px; }
.dday > .mono { font-size: 1.5rem; font-weight: 600; color: var(--warn); flex: none; }
.dday div { display: grid; }
.dday span { font-size: .9rem; color: #7c2d12; }
.dday.past { background: var(--soft); border-color: var(--line); }
.dday.past > .mono, .dday.past span { color: var(--muted); }
.sec { display: grid; gap: 10px; padding-top: 8px; }
.sec h2 { font-size: 1.25rem; line-height: 1.4; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.sec p { margin: 0; }
.sec-n { font-size: .9rem; color: var(--muted); }
.chg { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; display: grid; gap: 6px; }
.chg-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chg-h .n { font-size: .8rem; color: var(--muted); }
.pick { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.chg details { border-top: 1px dashed var(--line); padding-top: 6px; }
.chg-h + details { border-top: 0; padding-top: 0; }
.chg summary { cursor: pointer; font-size: .86rem; color: var(--brand); font-weight: 600; }
.orig { margin: 8px 0 0; padding-left: 1.1em; font-size: .84rem; color: #3b3f45; display: grid; gap: 4px; line-height: 1.55; word-break: normal; }
.why { background: var(--brand-soft); border-radius: 8px; padding: 16px 18px; }
.todo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.todo li { display: grid; gap: 2px; padding: 10px 14px 10px 40px; border: 1px solid var(--line); border-radius: 8px; position: relative; }
.todo li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 3px; }
.who { font-size: .8rem; font-weight: 600; color: var(--muted); }
.facts { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.thin { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: .94rem; }
blockquote { margin: 0; padding: 10px 16px; border-left: 3px solid var(--line); color: #3b3f45; font-style: italic; word-break: normal; }
.credit { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.credit p { margin: 0; flex: 1 1 320px; }
.btn { display: inline-block; text-decoration: none; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: 6px; border: 1px solid var(--ink); transition: background var(--fast), color var(--fast); }
.btn:hover { background: #33373d; }
.btn.ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: var(--paper); }

/* 텔레그램 말풍선 */
.mini-chat { background: #cfdccb; border-radius: 10px; padding: 10px; }
.tmsg { display: grid; gap: 4px; }
.tb { background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 12px 6px; font-size: .88rem; line-height: 1.55; box-shadow: 0 1px 1px rgba(0,0,0,.08); display: grid; gap: 4px; }
.tb-text { min-width: 0; }
.tb-text i { color: #6b7280; }
.tb-text a { color: #2b6cb0; }
.tq { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 2px; width: 100%; margin: 8px 0 2px; border-left: 3px solid #3a7bd5; background: #eef4fc; border-radius: 4px; padding: 6px 9px; font-size: .86rem; line-height: 1.5; }
.tq:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.tq-b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.tq[aria-expanded="true"] .tq-b { display: block; -webkit-line-clamp: unset; }
.tq[aria-expanded="true"] .tq-h { display: none; }
.tq-h { font-size: .76rem; color: #3a7bd5; }
.ttime { justify-self: end; font-size: .7rem; color: #9aa0a6; }
.tkeys { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tkeys a { text-decoration: none; text-align: center; background: rgba(255,255,255,.75); border-radius: 8px; padding: 7px; font-size: .84rem; font-weight: 600; color: #2b6cb0; }
.tkeys a:hover { background: #fff; }
.tg-sub { font-size: .86rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.tg-sub:hover { text-decoration: underline; }

/* 지난 소식 · 만든 방법 */
.page-h { padding: 24px 0 8px; display: grid; gap: 6px; max-width: 760px; }
.page-h h1 { font-size: 1.9rem; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.page-h p { margin: 0; color: var(--muted); }
.filters { display: grid; gap: 8px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.filters[hidden] { display: none; }
.filters > div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters .lab { width: 36px; }
.chip { font: inherit; font-size: .84rem; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 3px 12px; cursor: pointer; color: var(--muted); transition: border-color var(--fast); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.arch { list-style: none; margin: 0; padding: 0; }
.arch .mon { font-size: 1rem; line-height: 1; font-weight: 650; letter-spacing: -.02em; padding: 20px 0 8px; }
.arch .mon[hidden] { display: none; }
.arch .row { display: grid; grid-template-columns: 48px 150px 110px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.arch .row[hidden] { display: none; }
.arch .row .badge { justify-self: start; }
.rh a { text-decoration: none; font-weight: 600; }
.rh a:hover { color: var(--brand); }
.empty { color: var(--muted); padding: 20px 0; }
.empty[hidden] { display: none; }
.flow { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow li { border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 6px; align-content: start; position: relative; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 18px; color: var(--muted); font-family: var(--mono); }
.flow h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
.flow p { margin: 0; font-size: .93rem; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .82rem; }
.tag { font-size: .74rem; color: var(--muted); }
.try { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 10px; max-width: 760px; justify-items: start; }
.try h2 { font-size: 1.3rem; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.try p { margin: 0; color: var(--muted); }
pre { margin: 0; background: #17191c; color: #e8eaed; border-radius: 8px; padding: 14px 16px; overflow-x: auto; width: 100%; }
pre code { background: none; border: 0; color: inherit; padding: 0; font-size: .88rem; line-height: 1.7; word-break: normal; overflow-wrap: normal; white-space: pre; }
.tg-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.tg-notes li { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.foot { padding: 20px 32px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.foot-r { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links { display: inline-flex; gap: 12px; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 960px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .a-top { grid-template-columns: minmax(0, 1fr); }
  .a-lead { padding-right: 0; }
  .a-side { border-left: 0; padding-left: 0; margin-top: 26px; }
  .a-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-tools ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .mast { padding: 18px 16px 0; } main.views { padding: 0 16px 36px; } .foot { padding: 18px 16px 24px; }
  .logo b { font-size: 1.6rem; }
  .art h1, .a-h { font-size: 1.7rem; } .lede { font-size: 1.06rem; } .a-lede { font-size: 1.05rem; }
  .a-grid { grid-template-columns: minmax(0, 1fr); }
  .a-card p { -webkit-line-clamp: 2; }
  .home-end .btn { width: 100%; text-align: center; }
  .arch .row { grid-template-columns: 44px auto minmax(0, 1fr); gap: 4px 10px; }
  .arch .row .rh { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr; }
  .empty-home { padding: 24px 18px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 설정 화면(관리자용) */
.st-notice { margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--muted); font-size: .92rem; }
.st-form { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; max-width: 760px; }
.st-form[hidden], .st-notice[hidden], .st-msg[hidden] { display: none; }
.st-form fieldset { margin: 0; padding: 16px 18px 18px; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.st-form fieldset:first-of-type { border-top: 0; }
.st-form legend { padding: 0; font-weight: 700; float: left; width: 100%; }
.st-form legend + * { clear: both; }
.st-help { margin: 2px 0 10px; color: var(--muted); font-size: .88rem; }
.st-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.st-opt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); font-size: .92rem; cursor: pointer; }
.st-opt input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); }
.st-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.st-opt:has(input:disabled) { cursor: default; }
.st-save { padding: 16px 18px 18px; border-top: 1px solid var(--line); background: var(--soft); }
.st-save label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.st-row { display: flex; flex-wrap: wrap; gap: 8px; }
.st-row input { flex: 1 1 200px; min-width: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: inherit; color: inherit; }
.st-row button { flex: none; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.st-row button:disabled { opacity: .45; cursor: default; }
.st-msg { margin: 12px 0 0; padding: 8px 12px; border-radius: 8px; font-size: .92rem; }
.st-msg.ok { background: #e7f2ea; color: #1d7349; }
.st-msg.bad { background: #f8e9e6; color: #b0362c; }
.st-meta { margin: 14px 2px 0; color: var(--muted); font-size: .8rem; }
