:root { font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif; color:#20211e; background:#f8f5ec; color-scheme:light; font-synthesis:none; }
* { box-sizing:border-box; }
body { margin:0; }
main { max-width:1600px; margin:auto; padding:24px clamp(16px,3vw,48px) 48px; }
a { color:#125d58; text-underline-offset:4px; }
button { cursor:pointer; font:inherit; color:inherit; min-height:44px; }
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible { outline:3px solid #0c786f; outline-offset:4px; }
.skip-link { position:absolute; left:16px; top:-80px; background:white; padding:12px; z-index:10; }
.skip-link:focus { top:10px; }
h1 { font-size:clamp(28px,3.2vw,44px); letter-spacing:-.05em; margin:8px 0 12px; }
h2 { word-break:keep-all; overflow-wrap:anywhere; font-size:24px; margin:0 0 10px; letter-spacing:-.025em; }
h3 { font-size:16px; margin:0 0 8px; }
p { line-height:1.75; margin:8px 0; word-break:keep-all; overflow-wrap:anywhere; }
.eyebrow { color:#286b5f; font-size:13px; font-weight:750; letter-spacing:.08em; }
.intro { max-width:86ch; }
.header-links { display:flex; flex-wrap:wrap; gap:18px; margin:16px 0 24px; }
.badge { display:inline-block; background:#deeee6; color:#245a4c; border:1px solid #9fbfaf; padding:5px 10px; font-size:13px; line-height:1.5; }
.overview { margin:24px 0; border:1px solid #bdbbb0; background:#fcf9f0; padding:18px; }
.diagram-viewport { overflow:auto; overscroll-behavior:contain; background-image:radial-gradient(#d8d5c9 1px,transparent 1px); background-size:22px 22px; }
.diagram-stage { position:relative; }
.diagram-canvas { position:absolute; width:1180px; left:0; top:0; transform-origin:top left; }
.diagram-canvas svg { position:absolute; pointer-events:none; }
.flow-edge { fill:none; stroke:#20211e; stroke-width:2.8; stroke-linejoin:miter; }
.flow-edge.pending { stroke-dasharray:7 6; }
.edge-label { font:13px -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif; fill:#242621; paint-order:stroke; stroke:#fcf9f0; stroke-width:5px; stroke-linejoin:round; }
.flow-node { position:absolute; width:270px; height:140px; border:2px solid #20211e; border-radius:10px; padding:16px; background:#ffe2a4; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; }
.flow-node strong { font-size:19px; line-height:1.35; word-break:keep-all; }
.flow-node span { font-size:14px; line-height:1.5; }
.flow-node small { font-size:12px; color:#30594a; background:#f8f8eccc; padding:2px 6px; }
.flow-node.data { background:#eaddf3; }
.flow-node.decision { background:transparent; border:0; border-radius:0; padding:24px 38px; }
.flow-node.decision::before { content:""; position:absolute; inset:0; background:#20211e; clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); z-index:-2; }
.flow-node.decision::after { content:""; position:absolute; inset:3px; background:#eaddf3; clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); z-index:-1; }
.flow-node.decision strong { font-size:17px; }
.flow-node.decision span { font-size:12px; }
.flow-node.decision small { font-size:11px; }
.flow-node:hover { filter:brightness(.97); }
.flow-node[aria-pressed="true"] { outline:4px solid #1d756b; outline-offset:5px; }
.flow-node.unconnected { border-style:dashed; }
.legend { display:flex; flex-wrap:wrap; gap:12px 24px; color:#4c5046; font-size:13px; margin:12px 0; }
.legend span { display:inline-flex; align-items:center; gap:8px; }
.legend i { width:32px; border-top:3px solid #20211e; }
.legend i.dashed { border-top-style:dashed; }
.example-banner { border-left:4px solid #477b67; background:#edf2e9; padding:18px 22px; margin:24px 0; }
#example-criteria { display:grid; gap:8px; margin-top:12px; font-size:14px; }
.rubric-walkthrough { margin:24px 0; border:1px solid #aaa99c; background:#fffdf7; padding:clamp(18px,3vw,30px); }
.rubric-walkthrough-heading { max-width:90ch; }
.rubric-link { list-style:none; padding:0; margin:22px 0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; counter-reset:rubric-step; }
.rubric-link li { position:relative; border:1px solid #c9c8bc; background:#f7f2e8; padding:16px; display:grid; gap:8px; align-content:start; counter-increment:rubric-step; }
.rubric-link li::before { content:counter(rubric-step); width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#225f54; color:#fff; font-weight:750; }
.rubric-link b { font-size:15px; }
.rubric-link span { line-height:1.6; font-size:14px; }
.rubric-link small { color:#526057; line-height:1.5; }
.rubric-example-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:16px; }
.rubric-evidence,.rubric-anchor-table { min-width:0; border:1px solid #c9c8bc; padding:18px; background:#fcf9f0; }
.rubric-evidence ul { padding-left:20px; line-height:1.7; }
.rubric-score-match { margin-top:16px; border:1px solid #8daf9f; background:#edf2e9; padding:12px; }
.rubric-score-match strong { color:#174f46; font-size:18px; }
.rubric-anchor-table table { width:100%; border-collapse:collapse; font-size:14px; line-height:1.55; }
.rubric-anchor-table th,.rubric-anchor-table td { padding:10px; border-bottom:1px solid #d8d5c9; text-align:left; vertical-align:top; }
.rubric-anchor-table tbody th { width:120px; white-space:nowrap; }
.rubric-boundary { margin-top:18px; border-left:4px solid #9a6b28; background:#fff3d7; padding:12px 16px; }
.minimum-review { margin:20px 0; border:2px solid var(--ink); background:#fff; box-shadow:6px 6px 0 var(--ink); }
.minimum-review-heading,.minimum-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:18px; align-items:center; padding:16px 18px; }
.minimum-review-heading { grid-template-columns:minmax(0,1fr) minmax(220px,.5fr); background:#f4f0fb; }
.minimum-review-heading h4 { margin:8px 0 0; }
.minimum-row { border-top:1px solid #c9cec8; }
.minimum-row div { display:grid; gap:5px; }
.minimum-row small { color:#4b5750; }
.minimum-row label { display:flex; align-items:center; gap:8px; font-weight:700; }
.minimum-row select { min-height:44px; padding:8px 34px 8px 10px; border:1px solid var(--ink); background:#fff; }
.minimum-review .mini-actions { display:flex; justify-content:flex-end; gap:12px; padding:16px 18px; border-top:1px solid #c9cec8; }
.minimum-review .mini-actions span,.minimum-review .mini-actions b { padding:10px 14px; border:1px solid var(--ink); }
.minimum-review .mini-actions b { color:#fff; background:#155e55; }
.flow-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:28px 0 20px; scroll-margin-top:16px; }
.flow-tabs button,.zoom button { border:1px solid #a9ada1; background:#fffdf7; padding:10px 14px; }
.flow-tabs button[aria-pressed="true"] { background:#225f54; color:#fff; border-color:#225f54; }
.detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:20px; align-items:start; }
.board { min-width:0; border:1px solid #bdbbb0; background:#fcf9f0; }
.board-heading { padding:20px; border-bottom:1px solid #d9d6ca; }
.zoom { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; }
.zoom button { font-size:13px; }
.zoom output { font-size:13px; min-width:44px; }
#flow-viewport { max-height:760px; }
.inspector { background:#fffdf7; border:1px solid #aaa99c; border-top:4px solid #3a7666; padding:22px; max-height:840px; overflow:auto; }
.inspector h2 { font-size:22px; }
.inspector section { border-top:1px solid #dfddd2; padding-top:16px; margin-top:18px; }
.inspector p { font-size:14px; }
.inspector section { min-width:0; }
.inspector pre { max-width:100%; overflow:auto; padding:12px; background:#f0eee5; border:1px solid #d8d5c9; font-size:12px; line-height:1.7; white-space:pre-wrap; overflow-wrap:anywhere; }
.source-list,.table-list { padding-left:18px; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.muted { color:#5d6257; font-size:13px; }
.snapshot { margin-top:32px; padding:20px; border:1px solid #bdbbb0; background:#fffdf7; }
.snapshot summary { cursor:pointer; min-height:44px; font-weight:700; }
.snapshot table { width:100%; border-collapse:collapse; font-size:14px; }
.snapshot th,.snapshot td { text-align:left; padding:8px; border-bottom:1px solid #ddded3; }
.snapshot td { text-align:right; }
.snapshot code { overflow-wrap:anywhere; }
footer { margin-top:28px; color:#596050; font-size:13px; }
.observation-design { margin:32px 0; padding:clamp(18px,3vw,32px); border:2px solid #477b67; background:#fffdf7; scroll-margin-top:16px; }
.observation-heading { max-width:95ch; }
.observation-chapter { margin-top:32px; padding-top:26px; border-top:1px solid #d8d5c9; }
.observation-chapter > h3 { font-size:clamp(19px,2vw,23px); line-height:1.5; max-width:70ch; }
.observation-design h4 { margin:8px 0; font-size:17px; line-height:1.5; word-break:keep-all; }
.observation-design p { max-width:95ch; }
.observation-design small { display:block; font-size:13px; line-height:1.75; color:#46574f; }
.observation-design code { overflow-wrap:anywhere; font-size:.92em; }
.observation-chain { list-style:none; padding:0; margin:22px 0 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.observation-chain > li { position:relative; min-width:0; border:1px solid #b8a8c7; background:#f2ebf7; padding:18px; }
.observation-chain > li:not(:last-child)::after { content:'→'; position:absolute; right:-23px; top:38px; font-size:24px; color:#315d51; }
.observation-count { display:inline-block; background:#225f54; color:white; padding:4px 10px; font-size:19px; font-weight:750; }
.observation-connector { padding:16px; text-align:center; font-weight:700; line-height:1.7; }
.observation-hub { border:2px solid #7f9c8e; background:#edf2e9; padding:20px; }
.observation-branches { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:20px; }
.observation-branches article { border-top:4px solid #8d789e; background:#f2ebf7; padding:18px; min-width:0; }
.observation-lanes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:20px; }
.observation-lanes > article { border:1px solid #bdbbb0; padding:20px; min-width:0; background:#fcf9f0; }
.observation-lanes > .observation-connected { border-top:4px solid #477b67; }
.observation-lanes > .observation-disconnected { border:2px dashed #936a30; background:#fff7e6; }
.observation-lanes ul { padding-left:20px; line-height:1.75; }
.observation-steps { margin:16px 0 0; padding-left:22px; }
.observation-steps > li { padding:0 0 20px 8px; }
.observation-note { padding:16px 20px; margin-top:20px; border-left:4px solid #936a30; background:#fff3d7; }
.observation-field-list { list-style:none; counter-reset:observation-field; padding:0; margin:20px 0; display:grid; gap:12px; }
.observation-field-list > li { counter-increment:observation-field; display:grid; grid-template-columns:34px minmax(0,1fr) minmax(180px,.6fr); gap:16px; padding:20px; background:#fff3d7; border:1px solid #d7c49d; align-items:start; }
.observation-field-list > li::before { content:counter(observation-field); background:#225f54; color:white; width:32px; height:32px; display:grid; place-items:center; border-radius:50%; }
.observation-field-label { color:#6a4b1a; font-weight:650; }
.observation-field-list small { border-left:1px solid #d7c49d; padding-left:16px; }
.observation-material-chain { margin-bottom:20px; }
.observation-material-chain > li { background:#fff3d7; border-color:#d7c49d; }
.observation-tree-root { padding:18px; margin-top:20px; background:#f2ebf7; border:1px solid #b8a8c7; line-height:1.7; }
.observation-tree,.observation-tree ul { list-style:none; padding-left:24px; margin:0; }
.observation-tree li { position:relative; padding-top:12px; min-width:0; }
.observation-tree li::before { content:''; position:absolute; left:-16px; top:0; bottom:0; border-left:2px solid #89978c; }
.observation-tree li:last-child::before { bottom:auto; height:38px; }
.observation-tree li::after { content:''; position:absolute; left:-16px; top:38px; width:16px; border-top:2px solid #89978c; }
.observation-tree-card { border:1px solid #c9c8bc; background:#fcf9f0; padding:16px 20px; line-height:1.7; }
.observation-design .selected { background:#edf2e9; border:2px solid #477b67; }
.tree-kind { color:#4c6054; font-size:14px; font-weight:700; }
.observation-case-tree .observation-tree-card { background:#fff3d7; }
.observation-branch-index { margin-top:16px; padding:16px 20px; border:1px solid #bdbbb0; background:#fcf9f0; }
.observation-branch-index ol { margin:8px 0; padding-left:24px; }
.observation-branch-index li { padding:6px 0; line-height:1.7; }
@media(max-width:700px) { .observation-tree,.observation-tree ul { padding-left:12px; } .observation-tree li::before { left:-9px; } .observation-tree li::after { left:-9px; width:9px; } .observation-tree-card { padding:12px; } }
.observation-sources { margin-top:24px; }
.observation-sources summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:700; }
.observation-detail-button { padding:12px; margin-top:16px; width:100%; text-align:left; background:#edf2e9; border:1px solid #477b67; }
@media(max-width:1000px) { .observation-chain { grid-template-columns:1fr; gap:28px; } .observation-chain > li:not(:last-child)::after { content:'↓'; top:auto; bottom:-29px; left:24px; right:auto; } .observation-branches { grid-template-columns:1fr; } }
@media(max-width:700px) { .observation-lanes { grid-template-columns:1fr; } .observation-field-list > li { grid-template-columns:32px minmax(0,1fr); padding:16px; gap:12px; } .observation-field-list small { grid-column:2; border:0; padding:0; } .observation-design { padding:16px; } }
@media(max-width:1050px) { .detail-layout { grid-template-columns:1fr; } .inspector { max-height:none; } #node-content { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:0 28px; } }
@media(max-width:700px) { .rubric-example-grid { grid-template-columns:1fr; } .rubric-anchor-table { overflow-x:auto; } .minimum-review-heading,.minimum-row { grid-template-columns:1fr; align-items:start; } .minimum-row label { justify-content:space-between; } .minimum-review .mini-actions { flex-direction:column; } }
@media(max-width:600px) { .overview { padding:12px 0; } .overview h2,.overview > p { padding:0 12px; } .flow-tabs button { flex:1 1 42%; } .board-heading { padding:16px; } .snapshot { padding:14px; } .rubric-link li { padding:14px; } .rubric-evidence,.rubric-anchor-table { padding:14px; } }
