@font-face{font-family:Pretendard;src:url('assets/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif;color-scheme:light;--bg:#f7f8fa;--surface:#fff;--surface-2:#f3f5f8;--surface-3:#eaf0f5;--text:#20222a;--muted:#737986;--faint:#989eaa;--line:#e8ebf0;--strong-line:#cfd5df;--red:#f51c49;--red-text:#d71942;--pink:#fff0f4;--ice:#e9f4fc;--blue:#427ea4;--green:#15805d;--green-soft:#edf8f3;--amber:#a06a18;--amber-soft:#fff7e8;--graph-bg:#f8fafc;--dot:#d9e1eb;--shadow:0 16px 50px -24px #1921321c;--header-height:82px;font-synthesis:none;text-rendering:optimizeLegibility}
:root[data-theme=dark]{color-scheme:dark;--bg:#0d0e12;--surface:#17191f;--surface-2:#20232b;--surface-3:#282d38;--text:#f2f3f5;--muted:#a4a9b5;--faint:#858c9a;--line:#2b2e37;--strong-line:#454a58;--red:#ff385e;--red-text:#ff7c96;--pink:#33202a;--ice:#20313f;--blue:#8bc3e5;--green:#7acdad;--green-soft:#17362d;--amber:#e8b86c;--amber-soft:#322a1d;--graph-bg:#101218;--dot:#29303e;--shadow:0 16px 50px -24px #0009}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-width:320px;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit;color:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.45}svg{display:block;flex-shrink:0;width:19px;height:19px}img{display:block;max-width:100%}h1,h2,h3,h4,p{margin:0}h1,h2,h3{word-break:keep-all}h1,h2,h3,h4{letter-spacing:-.65px}p{overflow-wrap:anywhere}a:hover{color:var(--red-text)}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--red);outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:1px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:12px;top:8px;padding:10px 16px;background:var(--text);color:var(--surface);z-index:100;transform:translateY(-200%)}.skip-link:focus{transform:none}.mono{font-variant-numeric:tabular-nums;letter-spacing:.15px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:650;letter-spacing:1.5px;color:var(--muted)}.eyebrow>i{width:19px;height:2px;background:var(--red)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-size:12px;padding:4px 0;font-weight:550;white-space:nowrap}.text-button svg{width:15px;height:15px}.text-button:hover{color:var(--red-text)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:7px 12px;border-radius:9px;border:1px solid var(--line);font-size:12px;font-weight:550;background:var(--surface);white-space:nowrap}.btn:hover{border-color:var(--strong-line);background:var(--surface-2)}.btn.primary{background:var(--red);border-color:var(--red);color:#fff}.btn.soft{background:var(--pink);border-color:transparent;color:var(--red-text)}.icon-button{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--muted)}.icon-button:hover{background:var(--surface-2);color:var(--red-text)}.icon-button svg{width:17px;height:17px}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:5px;background:var(--surface-2);color:var(--muted);padding:3px 7px;font-size:10px;line-height:1.5;font-weight:550;white-space:nowrap}.badge.red{background:var(--pink);color:var(--red-text)}.badge.blue{background:var(--ice);color:var(--blue)}.badge.green{background:var(--green-soft);color:var(--green)}.badge.amber{background:var(--amber-soft);color:var(--amber)}.badge-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.site-header{height:var(--header-height);padding:0 36px;display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--line);background:var(--surface)}.brand{display:flex;align-items:center;gap:17px;flex-shrink:0}.brand img{width:152px;height:auto}.logo-dark{display:none}:root[data-theme=dark] .logo-light{display:none}:root[data-theme=dark] .logo-dark{display:block}.brand-divider{height:21px;width:1px;background:var(--line)}.brand-service{font-size:12px;color:var(--muted);font-weight:600}.header-nav{display:flex;align-items:center;align-self:stretch;gap:28px;margin:auto}.header-link{position:relative;height:100%;display:flex;align-items:center;gap:7px;font-size:13px;font-weight:580;color:var(--muted);padding:0}.header-link.active{color:var(--text)}.header-link.active:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;border-radius:3px 3px 0 0;background:var(--red)}.tiny-count{font-size:10px;font-weight:620;min-width:19px;line-height:19px;text-align:center;padding:0 5px;background:var(--surface-2);border-radius:5px;color:var(--muted)}.header-tools{display:flex;align-items:center;gap:19px}.local-label{font-size:11px;color:var(--faint);display:flex;align-items:center;gap:6px;white-space:nowrap}.local-label i{width:5px;height:5px;border-radius:50%;background:var(--green)}.theme-picker{display:flex;gap:3px;padding:4px;background:var(--surface-2);border-radius:30px}.theme-picker button{width:31px;height:28px;display:grid;place-items:center;color:var(--faint);border-radius:25px}.theme-picker button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #00000008}.theme-picker svg{width:15px;height:15px}
.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:24px 36px 22px;max-width:2160px;margin:auto}.workspace-title{display:flex;align-items:center;gap:19px}.workspace-title h1{font-size:23px;font-weight:690;letter-spacing:-.9px}.workspace-title .eyebrow{font-size:9px}.global-search{display:flex;align-items:center;gap:11px;max-width:560px;width:43%;height:45px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 14px;color:var(--muted);box-shadow:0 3px 10px #20232b02}.global-search:focus-within{border-color:var(--red);box-shadow:0 0 0 3px var(--pink)}.global-search>svg{width:17px;height:17px}.global-search input{border:0;background:transparent;min-width:0;width:100%;font-size:12px;outline:0}.global-search input::placeholder{color:var(--faint)}.global-search input::-webkit-search-cancel-button{display:none}.global-search kbd{font:11px Pretendard,sans-serif;border:1px solid var(--line);border-radius:4px;background:var(--surface-2);min-width:21px;text-align:center;line-height:22px;color:var(--faint)}.search-clear{display:grid;place-items:center;width:22px;height:22px;padding:0;flex-shrink:0;color:var(--muted)}.search-clear svg{width:13px;height:13px}
.workspace{display:flex;gap:18px;max-width:2160px;margin:0 auto;padding:0 24px 22px 18px;height:calc(100dvh - 174px);min-height:530px}.exploration-rail{width:68px;flex-shrink:0;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:12px 0 10px}.rail-main,.rail-bottom{display:flex;flex-direction:column;align-items:center;gap:13px;width:100%}.rail-item{width:56px;min-height:57px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-size:10px;font-weight:550;position:relative}.rail-item svg{width:20px;height:20px;stroke-width:1.55}.rail-item:hover{background:var(--surface);color:var(--text)}.rail-item.active{background:var(--pink);color:var(--red-text)}.rail-item.active:before{content:'';position:absolute;left:-7px;top:20px;height:17px;width:3px;border-radius:3px;background:var(--red)}.rail-divider{width:24px;height:1px;background:var(--line)}.rail-signature{font-size:8px;letter-spacing:1.1px;line-height:1.7;text-align:center;color:var(--faint);margin-top:5px}.portal-panels{display:grid;grid-template-columns:minmax(400px,45fr) minmax(0,55fr);width:100%;min-width:0;border:1px solid var(--line);border-radius:21px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow)}.reading-pane{min-width:0;display:flex;flex-direction:column;position:relative;background:var(--surface);overflow:hidden}.reader-toolbar{padding:16px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);height:60px;flex-shrink:0}.toolbar-label{display:flex;align-items:center;gap:9px}.toolbar-label svg{width:17px;height:17px;color:var(--red-text)}.toolbar-label strong{font-size:13px;font-weight:620}.scope-controls{display:flex;align-items:center;gap:15px;min-height:43px;border-bottom:1px solid var(--line);padding:6px 25px;background:var(--surface);font-size:10px;flex-shrink:0}.scope-select{display:flex;align-items:center;gap:6px;color:var(--muted)}.scope-select svg{width:12px;height:12px}.scope-select select{border:0;background:transparent;font-size:10px;color:var(--muted);max-width:115px;padding-right:3px}.expire-control{display:flex;gap:4px;align-items:center;color:var(--muted);cursor:pointer;white-space:nowrap}.expire-control input{width:12px;height:12px;margin:0;accent-color:var(--red)}.scope-count{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--faint);white-space:nowrap}.reader-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:28px 29px 32px;scrollbar-width:thin;scrollbar-color:var(--strong-line) transparent;outline:none}.reader-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 24px;border-top:1px solid var(--line);font-size:9px;color:var(--faint);flex-shrink:0}.reader-footer>span{display:flex;gap:6px;align-items:center}.reader-footer i{width:4px;height:4px;border-radius:50%;background:var(--muted)}.reader-footer .text-button{font-size:10px}.reader-footer .text-button svg{width:12px;height:12px}.navigation-drawer{position:absolute;top:60px;left:0;right:0;max-height:75%;padding:17px 23px 24px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 14px 24px #0000000d;overflow:auto;z-index:10}.nav-tree-item{display:flex;align-items:center;gap:7px;width:100%;text-align:left;min-height:34px;padding:7px 9px;border-radius:7px;color:var(--muted);font-size:12px}.nav-tree-item:hover,.nav-tree-item.current{background:var(--pink);color:var(--red-text)}.nav-tree-item .count{margin-left:auto;font-size:10px;color:var(--faint)}.nav-tree-item svg{width:13px;height:13px}.nav-tree-children{padding-left:15px}.nav-tree summary{list-style:none;cursor:pointer}.nav-tree summary::-webkit-details-marker{display:none}.nav-tree[open]>summary .tree-chevron{transform:rotate(90deg)}.nav-tree-row{display:flex;align-items:center}.nav-tree-row>summary{padding:8px 0}.nav-tree-row>.nav-tree-item{flex:1}.navigation-drawer h3{font-size:13px;margin-bottom:12px}.navigation-drawer .nav-reset{margin-bottom:9px}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-bottom:23px;font-size:10px;color:var(--faint)}.breadcrumbs button{font-size:10px;color:var(--muted);padding:0 2px}.breadcrumbs svg{width:11px;height:11px}.breadcrumbs .crumb-current{color:var(--text)}.wiki-hero{position:relative;margin-bottom:27px;padding-right:5px}.wiki-hero>.eyebrow{font-size:9px;letter-spacing:1.7px;margin-bottom:13px;color:var(--red-text)}.wiki-hero h2{font-size:30px;line-height:1.32;letter-spacing:-1.3px;font-weight:680}.wiki-hero h2 .secondary{color:var(--muted);font-weight:530}.wiki-hero>p{font-size:12px;color:var(--muted);line-height:1.85;margin-top:12px;max-width:420px;word-break:keep-all}.hero-meta{display:flex;gap:0;padding-top:20px;margin-top:22px;border-top:1px solid var(--line)}.hero-meta>div{display:flex;flex-direction:column;padding:0 20px;border-left:1px solid var(--line);gap:3px}.hero-meta>div:first-child{padding-left:0;border-left:0}.hero-meta strong{font-size:21px;font-weight:650;letter-spacing:-.7px;line-height:1.25}.hero-meta strong small{font-size:11px;margin-left:4px;font-weight:450;color:var(--faint)}.hero-meta span{font-size:10px;color:var(--muted)}.reader-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:24px 0 22px}.reader-tabs button{position:relative;padding:9px 0 11px;font-size:12px;color:var(--muted);font-weight:560;display:flex;align-items:center;gap:5px}.reader-tabs button.active{color:var(--text)}.reader-tabs button.active:after{content:'';height:2px;background:var(--red);position:absolute;bottom:-1px;left:0;right:0;border-radius:2px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.section-heading h3{font-size:14px;font-weight:640}.section-heading .small{font-size:10px;color:var(--faint)}.path-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.path-card{padding:14px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;transition:border-color .15s,background .15s;min-height:104px;background:var(--surface)}.path-card:hover{border-color:var(--strong-line);background:var(--surface-2)}.path-card .card-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.path-card .path-icon{width:27px;height:27px;display:grid;place-items:center;color:var(--blue);background:var(--ice);border-radius:8px}.path-card .path-icon svg{width:14px;height:14px}.path-card:nth-child(3n+1) .path-icon{background:var(--pink);color:var(--red-text)}.path-card .card-count{color:var(--faint);font-size:10px}.path-card strong{font-size:13px;font-weight:590;line-height:1.45}.path-card p{font-size:10px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.path-card .path-empty{font-size:10px;color:var(--amber)}.knowledge-note{display:flex;align-items:flex-start;gap:9px;padding:13px 14px;background:var(--ice);border-radius:10px;color:var(--blue);font-size:11px;line-height:1.7;margin-top:17px}.knowledge-note svg{width:15px;height:15px;margin-top:2px}.knowledge-note.amber{background:var(--amber-soft);color:var(--amber)}.knowledge-note.red{background:var(--pink);color:var(--red-text)}.coverage-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:11px 0}.coverage-cell{background:var(--surface-2);border-radius:5px;padding:6px 2px;text-align:center;font-size:9px;color:var(--faint)}.coverage-cell.has-data{background:var(--ice);color:var(--blue)}.coverage-cell strong{display:block;font-size:12px;font-weight:580}.feature-card{padding:15px;border:1px solid var(--line);border-radius:12px;margin-bottom:9px}.feature-card>.feature-card-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.feature-card-head button{font-size:13px;font-weight:600;padding:0;text-align:left}.feature-card-head button:hover{color:var(--red-text)}.feature-card-head>span{font-size:10px;color:var(--faint);white-space:nowrap}.feature-card .feature-path{font-size:10px;color:var(--muted);margin-top:5px}.coverage-note{font-size:10px;line-height:1.6;color:var(--muted)}.coverage-links{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.list-heading{margin-bottom:19px}.list-heading .eyebrow{font-size:9px;margin-bottom:10px}.list-heading h2{font-size:24px;line-height:1.4;font-weight:650;letter-spacing:-1px}.list-heading p{font-size:12px;color:var(--muted);margin-top:9px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 8px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.list-toolbar select{background:var(--surface);border:1px solid var(--line);font-size:10px;border-radius:5px;padding:4px 7px;color:var(--muted)}.unit-row{border-bottom:1px solid var(--line);padding:15px 0;position:relative}.unit-row-main{padding:0;display:block;text-align:left;width:100%;padding-right:24px}.unit-row-main:hover h3{color:var(--red-text)}.unit-row h3{font-size:13px;font-weight:620;line-height:1.6;letter-spacing:-.25px}.unit-row p{margin-top:6px;font-size:11px;color:var(--muted);line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.unit-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:9px;font-size:9px;color:var(--faint)}.unit-row .bookmark-row{position:absolute;right:0;top:15px;width:24px;height:26px}.bookmark-row.saved{color:var(--red-text)}mark{color:var(--red-text);background:var(--pink);border-radius:2px;padding:0 1px}.show-more{margin:19px auto 0;display:flex}.empty-state,.loading-state{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:20px;color:var(--muted)}.empty-state>.empty-icon{width:49px;height:49px;border:1px solid var(--line);background:var(--surface-2);border-radius:15px;display:grid;place-items:center;margin-bottom:3px}.empty-icon svg{width:22px;height:22px;color:var(--faint)}.empty-state h2,.loading-state h2{font-size:18px;color:var(--text);font-weight:600}.empty-state p,.loading-state p{font-size:12px;line-height:1.8;max-width:310px}.empty-state .btn{margin-top:5px}.loading-mark{width:35px;height:35px;border:2px solid var(--line);border-top-color:var(--red);border-radius:50%;animation:spin 1s linear infinite}.error-state{align-items:flex-start;text-align:left}.error-state code{font-size:11px;padding:10px;background:var(--surface-2);border-radius:7px;overflow-wrap:anywhere;max-width:100%}
.unit-topbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:19px}.unit-topbar .text-button{font-size:11px}.unit-actions{display:flex;gap:2px}.unit-header .unit-id{font-size:10px;color:var(--muted);margin-bottom:10px}.unit-header h2{font-size:25px;line-height:1.4;font-weight:670;letter-spacing:-1px;overflow-wrap:anywhere}.unit-header .badge-group{margin-top:14px}.unit-header .unit-dates{font-size:10px;color:var(--faint);margin-top:9px}.unit-statement{padding:18px 0 19px;font-size:13px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.unit-disclosure-note{font-size:10px;line-height:1.75;color:var(--muted);border-left:2px solid var(--strong-line);padding:2px 0 2px 10px;margin:1px 0 23px}.detail-section{border-top:1px solid var(--line);padding:19px 0}.detail-section>h3,.section-summary h3{font-size:14px;font-weight:630}.detail-section .section-summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:13px;font-weight:620}.section-summary::-webkit-details-marker{display:none}.section-summary>.section-count{font-size:10px;font-weight:450;color:var(--faint);margin-left:auto}.section-summary>svg{width:14px;height:14px;color:var(--muted)}details[open]>.section-summary>svg{transform:rotate(180deg)}.detail-section>summary+div{padding-top:14px}.detail-subhead{font-size:11px;font-weight:580;margin:15px 0 6px}.context-hint{font-size:10px;color:var(--muted);line-height:1.75;margin:7px 0 13px}.condition-result{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border-radius:10px;background:var(--amber-soft);color:var(--amber);margin:12px 0;font-size:11px}.condition-result svg{width:16px;height:16px;margin-top:2px}.condition-result strong{display:block;font-size:12px;font-weight:650;margin-bottom:3px}.condition-result.match{background:var(--green-soft);color:var(--green)}.condition-result.mismatch,.condition-result.conflict{background:var(--pink);color:var(--red-text)}.context-grid{display:grid;gap:12px;margin-top:16px}.context-field>label{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:570;margin-bottom:5px}.context-field>label small{font-size:9px;color:var(--faint);font-weight:400;overflow-wrap:anywhere}.context-field select,.context-field input[type=text]{width:100%;background:var(--surface);border:1px solid var(--strong-line);border-radius:7px;font-size:12px;padding:8px 9px;min-height:35px}.context-field .field-origin{font-size:9px;color:var(--faint);line-height:1.6;margin-top:4px}.context-field .field-origin a{color:var(--blue)}.context-extra{display:flex;gap:8px;align-items:center;margin-top:6px;font-size:10px;color:var(--muted)}.context-extra input{accent-color:var(--red);margin:0;width:12px;height:12px}.context-reset{margin-top:11px;font-size:10px}.condition-check{display:grid;grid-template-columns:1fr auto;gap:5px 8px;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.condition-check:last-child{border-bottom:0}.condition-check .check-reason{grid-column:1/-1;font-size:10px;color:var(--muted);line-height:1.7}.raw-conditions{font-size:10px;color:var(--muted);margin-top:11px}.raw-conditions summary{cursor:pointer}.raw-conditions pre{font-size:10px;background:var(--surface-2);border-radius:8px;padding:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.pending-list,.questions-list,.simple-list{padding:0;margin:8px 0 0;list-style:none;display:grid;gap:9px;font-size:11px;line-height:1.8;color:var(--muted)}.pending-list li,.questions-list li{display:flex;gap:7px;align-items:start}.pending-list li:before,.questions-list li:before{content:'?';display:grid;place-items:center;width:16px;height:16px;flex-shrink:0;border-radius:5px;font-size:10px;font-weight:600;background:var(--amber-soft);color:var(--amber);margin-top:2px}.questions-list li:before{content:'!';background:var(--pink);color:var(--red-text)}.step-list{list-style:none;counter-reset:steps;padding:0;margin:12px 0 0;display:grid;gap:13px}.step-list li{display:flex;gap:11px;font-size:12px;line-height:1.85;color:var(--text);white-space:pre-wrap}.step-list li:before{counter-increment:steps;content:counter(steps,decimal-leading-zero);font-size:10px;color:var(--red-text);background:var(--pink);border-radius:6px;min-width:24px;height:25px;display:grid;place-items:center;white-space:nowrap;margin-top:1px}.lookup-row{padding:11px 0;border-bottom:1px solid var(--line);font-size:11px}.lookup-row:last-child{border-bottom:0}.lookup-row .lookup-path{font-size:10px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.lookup-row .lookup-purpose{margin-top:5px;color:var(--text)}.answer-card{background:var(--surface-2);padding:14px;border-radius:10px;margin-top:10px}.answer-card .answer-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin-bottom:7px}.answer-card p{font-size:12px;line-height:1.9;white-space:pre-wrap}.answer-card button{color:var(--muted)}.answer-card button svg{width:13px;height:13px}.source-card{padding:12px 0;border-bottom:1px solid var(--line)}.source-card:last-child{border-bottom:0}.source-card .source-head{display:flex;gap:7px;align-items:flex-start;justify-content:space-between}.source-head strong{font-size:11px;font-weight:590;line-height:1.7}.source-head a{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--blue);white-space:nowrap}.source-head svg{width:11px;height:11px}.source-card .source-locator{font-size:10px;color:var(--faint);margin:6px 0;overflow-wrap:anywhere;line-height:1.7}.source-card blockquote{margin:8px 0 0;padding:9px 12px;border-left:2px solid var(--strong-line);background:var(--surface-2);border-radius:0 7px 7px 0;font-size:11px;line-height:1.9;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.source-missing{font-size:11px;line-height:1.8;color:var(--amber)}.related-row{display:flex;gap:9px;align-items:start;padding:11px 0;border-bottom:1px solid var(--line)}.related-row:last-child{border-bottom:0}.related-row button{text-align:left;font-size:11px;font-weight:560;line-height:1.8;padding:0}.related-row button:hover{color:var(--red-text)}.related-row .related-id{display:block;font-size:9px;font-weight:400;color:var(--faint);margin-top:2px}.related-row .badge{margin-top:2px;min-width:42px;justify-content:center;font-size:9px}.link-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.link-tags button{font-size:10px;border:1px solid var(--line);border-radius:6px;padding:4px 7px;color:var(--muted);text-align:left}.link-tags button:hover{color:var(--red-text);border-color:var(--red)}.unit-bottom{margin-top:14px;border-top:1px solid var(--line);padding-top:15px;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--faint)}.unit-bottom a{color:var(--blue)}.fragment-card{margin-top:10px;border:1px solid var(--line);border-radius:8px;padding:11px;font-size:11px;line-height:1.8}.fragment-card h4{font-size:12px;margin-bottom:4px}.fragment-card .small{font-size:9px;margin-top:7px;color:var(--muted)}
.graph-pane{min-width:0;min-height:0;position:relative;display:flex;flex-direction:column;border-left:1px solid var(--line);background:var(--graph-bg);overflow:hidden}.graph-header{padding:23px 26px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:1;flex-shrink:0}.graph-header .eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--faint);margin-bottom:7px}.graph-header h2{font-size:19px;font-weight:630}.segmented{display:flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2)}.segmented button{padding:6px 11px;font-size:10px;color:var(--muted);border-radius:6px;white-space:nowrap}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:0 2px 4px #00000005}.graph-context{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 26px 12px;font-size:10px;color:var(--faint);z-index:1;flex-shrink:0}.graph-context-label{color:var(--muted);max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.graph-context-label:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--red);margin-right:6px;vertical-align:2px}.graph-stats{text-align:right;font-size:9px;line-height:1.5}.graph-stage{position:relative;flex:1;min-height:260px;overflow:hidden;background:radial-gradient(ellipse at 36% 46%,color-mix(in srgb,var(--pink) 65%,transparent),transparent 55%),radial-gradient(ellipse at 70% 58%,color-mix(in srgb,var(--ice) 80%,transparent),transparent 56%),radial-gradient(var(--dot) .7px,transparent .7px);background-size:auto,auto,19px 19px}.graph-canvas{position:absolute;inset:0;width:100%;height:100%;isolation:isolate}.graph-canvas>canvas,.graph-canvas>svg{width:100%;height:100%;display:block}.graph-unavailable{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:25px;color:var(--muted)}.graph-unavailable>svg{width:42px;height:42px;color:var(--strong-line)}.graph-unavailable p{font-size:13px;font-weight:550}.graph-unavailable small{font-size:11px;line-height:1.8}.graph-tip{position:absolute;bottom:22px;left:22px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);display:flex;gap:6px;align-items:center;color:var(--muted);font-size:9px;pointer-events:none;box-shadow:0 2px 12px #00000003;max-width:calc(100% - 100px);z-index:2}.graph-tip svg{width:13px;height:13px}.graph-controls{position:absolute;right:20px;bottom:20px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:11px;box-shadow:0 3px 12px #00000004;z-index:3}.graph-controls button{display:grid;place-items:center;width:26px;height:27px;border-radius:6px;color:var(--muted)}.graph-controls button:hover{background:var(--surface-2);color:var(--text)}.graph-controls button[aria-pressed=true]{color:var(--red-text);background:var(--pink)}.graph-controls button svg{width:15px;height:15px}.graph-controls>span{width:18px;height:1px;margin:2px 0;background:var(--line)}.graph-options{padding:10px 25px;display:flex;gap:17px;border-top:1px solid var(--line);font-size:9px;color:var(--faint);flex-shrink:0}.graph-options label{display:flex;align-items:center;gap:5px}.graph-options select{border:0;background:transparent;font-size:9px;color:var(--muted);max-width:100px}.graph-footer{padding:11px 25px 13px;border-top:1px solid var(--line);flex-shrink:0}.graph-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:9px}.graph-legend>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.graph-legend i{display:block;width:5px;height:5px;border-radius:50%}.legend-unit{background:var(--red)}.legend-entity{background:#79a9c6}.legend-nav{background:#a3a9b8}.graph-legend i.legend-line,.graph-legend i.legend-dash{width:13px;height:0;border-top:1px solid var(--muted);border-radius:0}.graph-legend i.legend-dash{border-top-style:dashed}.graph-accessible{margin-top:8px;font-size:9px;color:var(--faint)}.graph-accessible summary{cursor:pointer;width:max-content;max-width:100%}.graph-accessible #graph-node-list{max-height:150px;overflow:auto;margin-top:10px}.graph-accessible a{display:block;padding:5px 0;line-height:1.6;font-size:10px;color:var(--muted)}.graph-accessible .small{font-size:9px}.mobile-view-switch{display:none}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);background:var(--text);color:var(--surface);font-size:12px;border-radius:10px;padding:11px 17px;z-index:100;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.15s;max-width:calc(100% - 32px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.noscript-message{position:fixed;bottom:0;left:0;right:0;padding:18px;background:var(--amber-soft);color:var(--amber);z-index:20;font-size:14px;text-align:center}
@keyframes spin{to{transform:rotate(360deg)}}
button{appearance:none;-webkit-appearance:none}
/* Portal controls share app state; the graph supplies its drawing and tooltip. */
#graph-canvas .kbg-top,#graph-canvas .kbg-stats,#graph-canvas .kbg-context,#graph-canvas .kbg-controls,#graph-canvas .kbg-motion,#graph-canvas .kbg-bottom{display:none!important}
#graph-canvas .kbg-root,#graph-canvas .kbg-stage{min-height:0}
.context-extra select{min-width:0;max-width:75%;font-size:10px;background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:4px;color:var(--muted)}
.unit-actions .saved{color:var(--red-text);background:var(--pink)}
.graph-legend .legend-feature{background:#bd5488;border-radius:0;transform:rotate(45deg)}.graph-legend .legend-outside{width:8px;height:8px;border:1px dashed var(--muted);background:transparent}.graph-direction{font-size:9px;color:var(--faint);margin-top:7px;line-height:1.6}
.matrix-scroll{overflow:auto;border:1px solid var(--line);border-radius:9px;max-height:390px}.matrix-table{width:100%;border-collapse:collapse;font-size:10px;text-align:left}.matrix-table th{font-weight:550;color:var(--muted);background:var(--surface-2);position:sticky;top:0}.matrix-table th,.matrix-table td{padding:8px 10px;border-bottom:1px solid var(--line)}.matrix-table tr:last-child td{border-bottom:0}.matrix-table td:first-child{white-space:nowrap;color:var(--muted)}
.field-details{margin-top:6px;font-size:9px;color:var(--muted)}.field-details summary{cursor:pointer}.field-details[open]{padding:7px 9px;background:var(--surface-2);border-radius:7px}
@media(min-width:1700px){.workspace{padding-right:36px;padding-left:27px;gap:24px}.reader-scroll{padding:35px 38px}.reader-toolbar,.scope-controls{padding-left:36px;padding-right:36px}.wiki-hero h2{font-size:35px}.path-card{padding:18px;min-height:124px}.unit-statement{font-size:14px}.graph-header{padding:28px 34px 16px}.graph-context{padding-left:34px;padding-right:34px}.unit-row h3{font-size:14px}.unit-row p{font-size:12px}.hero-meta strong{font-size:24px}.graph-header h2{font-size:21px}.path-card strong{font-size:14px}}
@media(max-width:1280px){.site-header{padding:0 25px;gap:24px}.brand img{width:131px}.brand{gap:12px}.header-nav{gap:23px}.local-label{display:none}.workspace-heading{padding-left:28px;padding-right:25px}.workspace-title{gap:13px}.workspace-title>.eyebrow{display:none}.global-search{width:48%}.workspace{padding-left:10px;padding-right:18px;gap:10px}.exploration-rail{width:60px}.portal-panels{grid-template-columns:minmax(380px,45fr) minmax(0,55fr)}.reader-scroll{padding:24px}.graph-header{padding-left:21px;padding-right:21px}.graph-context{padding-left:21px;padding-right:21px}.graph-header h2{font-size:17px}.graph-legend{gap:9px}.graph-tip{font-size:8px;left:17px}.scope-controls{gap:10px}.scope-count{font-size:9px}}
@media(max-width:1080px){.brand-service,.brand-divider{display:none}.header-nav{gap:20px}.workspace{padding-right:12px}.portal-panels{grid-template-columns:minmax(355px,47fr) minmax(0,53fr)}.reader-scroll{padding:22px 21px}.reader-toolbar,.scope-controls{padding-left:20px;padding-right:20px}.graph-header{align-items:start}.graph-header .eyebrow{font-size:8px}.segmented button{padding:6px 8px;font-size:9px}.wiki-hero h2{font-size:27px}.path-grid{gap:8px}.path-card{padding:11px}.path-card strong{font-size:12px}.graph-options{padding-left:20px;padding-right:20px}.graph-footer{padding-left:20px;padding-right:20px}.reader-footer{padding-left:20px;padding-right:20px}.reader-footer #data-summary{font-size:8px}.unit-header h2{font-size:23px}}
@media(max-width:850px){:root{--header-height:66px}.site-header{padding:0 20px;gap:17px}.brand img{width:116px}.header-nav{gap:17px}.header-link{font-size:11px}.header-link .tiny-count{font-size:9px}.header-tools{gap:0}.theme-picker button{width:25px;height:26px}.workspace-heading{padding:20px 20px 17px;gap:15px}.workspace-title h1{font-size:21px}.global-search{width:60%;height:42px}.global-search input{font-size:11px}.workspace{height:calc(100dvh - 157px);min-height:580px;padding:0 14px 18px 10px;gap:9px}.exploration-rail{width:49px}.rail-item{width:45px;min-height:52px;font-size:9px}.rail-main{gap:10px}.portal-panels{display:block}.reading-pane{height:100%}.graph-pane{height:100%;border-left:0}.workspace[data-mobile=reading] .graph-pane{display:none}.workspace[data-mobile=graph] .reading-pane{display:none}.reader-scroll{padding:25px 28px 70px}.reader-footer{padding:11px 26px}.graph-stage{min-height:300px}.graph-header{padding:24px 26px 14px}.graph-header h2{font-size:20px}.segmented button{font-size:11px;padding:7px 12px}.mobile-view-switch{position:fixed;bottom:19px;left:50%;transform:translateX(-50%);display:flex;gap:3px;padding:5px;border:1px solid var(--line);background:var(--surface);box-shadow:0 3px 24px #00000012;border-radius:30px;z-index:30}.mobile-view-switch button{display:flex;align-items:center;gap:7px;padding:9px 15px;border-radius:25px;color:var(--muted);font-size:11px;white-space:nowrap}.mobile-view-switch button[aria-pressed=true]{background:var(--text);color:var(--surface)}.mobile-view-switch svg{width:14px;height:14px}.toast{bottom:82px}.path-card{padding:15px;min-height:109px}.path-card strong{font-size:13px}.graph-tip{bottom:32px}.reader-footer #data-summary{font-size:9px}.wiki-hero h2{font-size:29px}.scope-controls{padding-left:25px;padding-right:25px}.reader-toolbar{padding-left:25px;padding-right:25px}}
@media(max-width:560px){.site-header{padding:0 16px;gap:13px}.brand img{width:111px}.header-nav{margin-left:auto;margin-right:0;gap:13px}.header-link{font-size:10px}.header-link:first-child{display:none}.header-link .tiny-count{display:none}.header-tools{margin-left:0}.theme-picker{padding:3px;gap:0}.theme-picker button{width:25px;height:25px}.theme-picker svg{width:13px;height:13px}.workspace-heading{padding:18px 17px 15px;display:block}.workspace-title{margin-bottom:13px;gap:12px}.workspace-title h1{font-size:20px}.workspace-title>.eyebrow{display:flex;font-size:8px;order:2;margin-left:auto}.global-search{max-width:none;width:100%;height:42px;gap:9px;padding:0 12px}.global-search input{font-size:11px}.workspace{height:calc(100dvh - 181px);min-height:450px;display:block;padding:0 10px 11px}.exploration-rail{width:100%;padding:0 1px 11px;display:block}.rail-main{flex-direction:row;gap:6px;justify-content:space-between}.rail-item{min-height:35px;width:auto;flex:1;flex-direction:row;gap:5px;padding:8px 4px;border-radius:8px;font-size:10px}.rail-item svg{width:14px;height:14px}.rail-item.active:before{display:none}.rail-bottom{display:none}.portal-panels{height:calc(100% - 46px);border-radius:16px}.reader-toolbar{height:51px;padding:12px 19px}.scope-controls{padding-left:19px;padding-right:19px;gap:12px}.reader-scroll{padding:23px 20px 63px}.reader-footer{padding:10px 18px;font-size:8px}.reader-footer #data-summary{font-size:8px}.reader-footer .text-button{font-size:9px}.wiki-hero h2{font-size:26px}.wiki-hero>p{font-size:11px}.hero-meta>div{padding:0 14px}.hero-meta strong{font-size:20px}.hero-meta span{font-size:9px}.path-card{padding:12px;min-height:109px}.path-card strong{font-size:12px}.path-card p{font-size:9px}.path-card .card-count{font-size:9px}.graph-header{padding:20px 20px 12px}.graph-header h2{font-size:18px}.graph-header .eyebrow{font-size:8px}.graph-context{padding:0 20px 11px}.graph-stage{min-height:210px}.graph-options{padding:10px 18px}.graph-footer{padding:10px 18px 66px}.graph-legend{font-size:8px;gap:9px}.graph-controls{right:13px;bottom:15px}.graph-tip{left:13px;bottom:17px;max-width:calc(100% - 70px);font-size:8px;padding:7px 8px}.segmented button{padding:6px 9px;font-size:9px}.unit-header h2{font-size:23px}.unit-statement{font-size:12px}.unit-row h3{font-size:12px}.navigation-drawer{top:51px;padding:15px 17px}.scope-count{font-size:9px}.list-heading h2{font-size:22px}.unit-topbar{margin-bottom:15px}.breadcrumbs{margin-bottom:18px}.mobile-view-switch{bottom:17px}.mobile-view-switch button{padding:8px 15px}.feature-card{padding:13px}.coverage-cell{font-size:8px}.coverage-cell strong{font-size:11px}}
/* Compact tiles follow the reader pane's available width. Detail cards stay full width. */
.path-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:8px;align-items:stretch}
.path-grid .path-card{min-width:0;min-height:96px;padding:10px 11px;gap:5px;border-radius:10px}
.path-grid .card-top{gap:6px}
.path-grid .path-icon{width:21px;height:21px;border-radius:6px;flex-shrink:0}
.path-grid .path-icon svg{width:12px;height:12px}
.path-grid .card-count{font-size:10px;white-space:nowrap}
.path-grid .path-card strong{font-size:12.5px;line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}
.path-grid .path-card p{font-size:10px;line-height:1.5}
.path-grid .path-empty{font-size:9px;line-height:1.5}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:8px;align-items:stretch}
.feature-grid .feature-card{min-width:0;margin:0;padding:12px;border-radius:10px}
.feature-grid .feature-card-head{flex-direction:column;gap:4px}
.feature-grid .feature-card-head button{font-size:12.5px;line-height:1.5;overflow-wrap:anywhere}
.feature-grid .feature-path{overflow-wrap:anywhere;line-height:1.6}
.feature-grid .coverage-strip{gap:3px;margin:9px 0 7px}
.feature-grid .coverage-note{font-size:10px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:560px){.path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.path-grid .path-card{padding:10px;min-height:96px}.path-grid .path-card strong{font-size:12px}}
/* Keep the workspace below its actual header height and compact the overview into columns. */
body{display:flex;flex-direction:column;height:100dvh}
.site-header{flex-shrink:0}
.workspace-heading{flex-shrink:0;width:100%;margin:0 auto;padding-top:12px;padding-bottom:12px}
.workspace{flex:1;width:100%;height:auto;min-height:450px}
.reader-scroll[data-view=wiki]{padding-top:16px}
.reader-scroll[data-view=wiki] .breadcrumbs{margin-bottom:10px}
.wiki-overview{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-bottom:12px;padding:0}
.wiki-heading{flex:1 1 205px;min-width:0}
.wiki-overview h2{font-size:23px;line-height:1.35;letter-spacing:-.7px}
.wiki-heading p{margin-top:5px;font-size:11px;line-height:1.65;color:var(--muted);word-break:keep-all;overflow-wrap:anywhere}
.wiki-overview .hero-meta{flex:0 0 228px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:10px 0;border:0;border-radius:10px;background:var(--surface-2)}
.wiki-overview .hero-meta>div{min-width:0;padding:0 8px;align-items:center;gap:3px;text-align:center}
.wiki-overview .hero-meta strong{font-size:18px;line-height:1.25;letter-spacing:-.4px}
.wiki-overview .hero-meta strong small{font-size:9px;margin-left:3px}
.wiki-overview .hero-meta span{font-size:9px;line-height:1.5}
/* The scope filters share the toolbar; narrow panes wrap them below its title. */
:root{--header-height:66px}
.workspace{min-height:0;padding-bottom:16px}
.global-search{height:40px}
.reading-pane{container-type:inline-size}
.reader-toolbar{height:auto;min-height:52px;padding:8px 24px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center}
.toolbar-label{min-width:0;gap:8px}
.toolbar-label strong{white-space:nowrap}
.reader-toolbar>.text-button{justify-self:end}
.scope-controls{min-height:0;border:0;padding:0;gap:14px;justify-content:flex-end;background:transparent;min-width:0}
.scope-select{min-width:0}
.scope-select select{font-size:11px;max-width:135px}
.expire-control{white-space:nowrap;font-size:11px;gap:6px}
.scope-count{margin-left:0;font-size:10px}
.graph-header{min-height:66px;padding:15px 26px 9px;align-items:center}
.graph-header .eyebrow{margin-bottom:4px}
.graph-header h2{font-size:19px}
.graph-context{padding-bottom:9px}
.graph-stage{min-height:0}
@container (max-width:640px){
  .reader-toolbar{padding:8px 18px;gap:10px}
  .scope-controls{gap:10px}
  .scope-count{display:none}
}
@container (max-width:520px){
  .reader-toolbar{grid-template-columns:minmax(0,1fr) auto;row-gap:8px}
  .reader-toolbar>.text-button{grid-column:2;grid-row:1}
  .scope-controls{grid-column:1/-1;grid-row:2;justify-content:flex-start;border-top:1px solid var(--line);padding-top:8px;gap:14px}
  .scope-count{display:block;margin-left:auto}
}
@media(min-width:1700px){
  .reader-toolbar{padding-left:28px;padding-right:28px}
  .graph-header{padding-left:34px;padding-right:34px}
}
@media(max-width:850px){
  .workspace-heading{padding-top:12px;padding-bottom:12px}
  .workspace{min-height:0;padding-bottom:14px}
  .graph-header{padding:15px 24px 9px}
}
@media(max-width:560px){
  :root{--header-height:58px}
  .workspace-heading{padding-top:10px;padding-bottom:10px}
  .global-search{height:38px}
  .workspace{padding-bottom:10px}
  .reader-toolbar{padding-left:18px;padding-right:18px}
  .graph-header{padding:14px 18px 8px}
}
.reader-scroll[data-view=wiki] .reader-tabs{gap:18px;margin:10px 0 12px}
.reader-scroll[data-view=wiki] .reader-tabs button{padding:7px 0 9px;font-size:11px}
.reader-scroll[data-view=wiki]>.section-heading{margin:14px 0 9px}
.reader-scroll[data-view=wiki]>.reader-tabs+.section-heading{margin-top:10px}
@media(max-width:560px){.wiki-overview{gap:9px}.wiki-heading{flex-basis:100%}.wiki-overview h2{font-size:21px}.wiki-overview .hero-meta{flex-basis:100%;padding:8px 0}.reader-scroll[data-view=wiki]{padding-top:14px}}
:root{--graph-bg:#fafbfe}
:root[data-theme=dark]{--graph-bg:#12141c}
.graph-stage{background:var(--graph-bg)}
.graph-legend i.legend-feature{border-radius:50%;transform:none}.graph-legend .legend-nav{width:8px;height:8px;border-radius:50%}
.graph-relation-legend{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin-top:8px;font-size:9px;color:var(--muted)}
.graph-relation-legend span{display:flex;align-items:center;gap:5px;white-space:nowrap}.graph-relation-legend i{width:14px;height:0;border-top:1.5px solid #b176a6}
.graph-relation-legend .rel-prereq{border-color:#438ca4;border-top-style:dashed}.graph-relation-legend .rel-exception{border-color:#b67e4b;border-top-style:dashed}.graph-relation-legend .rel-replaced{border-color:#478b74}
:root[data-theme=dark] .graph-relation-legend i{border-color:#d4a0cf}:root[data-theme=dark] .graph-relation-legend .rel-prereq{border-color:#79bfd2}:root[data-theme=dark] .graph-relation-legend .rel-exception{border-color:#e4ae86}:root[data-theme=dark] .graph-relation-legend .rel-replaced{border-color:#87c5ac}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
