.case-index { color:#273f33; scroll-margin-block-start:1rem; }
#features.case-index { display:flow-root; }
.notebook-cover {
  float:right;
  width:clamp(18rem,32vw,25rem);
  height:auto;
  margin:clamp(1.35rem,3vw,2.65rem) max(4%,calc((100% - 76rem)/2)) 1.25rem clamp(1.5rem,3vw,3rem);
  border-radius:1.15rem;
}
#features .case-transform { clear:both; }
.case-panel { --ink:#28513d; --wash:#ebf0e4; --line:#c9d4bf; --map:#233e32; --ray:#c6ddaa; --gold:#f3c98b; scroll-margin-top:6rem; }
.theme-notebook { --ink:#4f4965; --wash:#eeeaf2; --line:#d4cbdc; --map:#353546; --ray:#dbcee9; --gold:#f1c88f; }
.theme-life { --ink:#625234; --wash:#f3edde; --line:#d9cdb2; --map:#3c4431; --ray:#d9e2b0; --gold:#f5cb93; }
.case-switch,.case-hero,.case-body { width:min(76rem,92%); margin-inline:auto; }
.case-switch { padding-top:clamp(1.35rem,3vw,2.65rem); }
.case-tabs { display:inline-flex; max-width:100%; padding:.25rem; gap:.18rem; border:1px solid #cdd8c8; border-radius:.82rem; background:#eaf0e5; }
.case-tabs a { display:inline-flex; align-items:center; justify-content:center; gap:.48rem; min-height:2.65rem; padding:.45rem clamp(.65rem,1.8vw,1.6rem); font-size:.96rem; line-height:1.2; font-weight:650; text-decoration:none; border-radius:.58rem; color:#465d4d; }
.case-tabs svg { width:1.05rem; height:1.05rem; }
.case-tabs a:is([aria-selected="true"],[aria-current="true"]) { background:#31533f; color:#fffef4; }
.case-tabs a:hover:not([aria-selected="true"]) { box-shadow:inset 0 0 0 1px #849b84; }
.case-tabs a:focus-visible { outline-offset:-2px; }
.case-index:not(.case-ready, .guide-poster) > .case-panel { display:none; }
.case-index:not(.case-ready, .guide-poster):not(:has(.case-panel:target,.case-panel :target)) > #work,
.case-index:not(.case-ready, .guide-poster) > .case-panel:target,
.case-index:not(.case-ready, .guide-poster) > .case-panel:has(:target) { display:block; }
.case-index:not(.case-ready) .atlas-detail[hidden]:target { display:block!important; }
.case-index:not(.case-ready) .atlas:has(.atlas-detail:target) .atlas-detail:not(:target) { display:none; }
.case-panel { --highlight:#efe0a9; }
.theme-notebook { --highlight:#e4d9f1; }
.theme-life { --highlight:#f4dfb6; }
.case-hero { padding:clamp(1.2rem,2.2vw,2rem) 0 0; }
.case-intro { margin-bottom:clamp(1rem,1.9vw,1.75rem); }
.case-topic,.poster-brand,.sheet-title,.case-filing,.case-source,.guide-open,.report-kicker { display:flex; align-items:center; gap:.45rem; }
.case-topic { gap:.65rem; color:var(--ink); font-weight:650; font-size:.92rem; }
.case-topic::before { content:""; width:1.55rem; height:2px; background:#aa6546; }
.case-topic > span { padding-left:.65rem; border-left:1px solid var(--line); font-size:.78rem; font-weight:500; color:#657065; }
.case-intro h1 { margin:.42rem 0 0; font-size:clamp(2.1rem,3.8vw,3.75rem); line-height:1.15; letter-spacing:-.065em; font-weight:690; }
.case-intro h1 span,.case-intro h1 em { display:inline-block; }
.case-intro h1 em { font-style:normal; color:var(--ink); }
.case-jumps { display:flex; align-items:center; flex-wrap:wrap; gap:.28rem .55rem; margin-top:.8rem; }
.case-jumps a { display:inline-flex; align-items:center; gap:.36rem; min-height:2.25rem; padding:.32rem .58rem; border-radius:.45rem; color:var(--ink); font-weight:640; font-size:.83rem; text-decoration:none; }
.case-jumps a:first-child { background:var(--ink); color:#fff; padding-inline:.8rem; }
.case-jumps a:hover { text-decoration:underline; }
.case-jumps svg { width:1em; height:1em; }
html[lang="en"] .case-intro h1 { font:500 clamp(2.4rem,4.2vw,4.3rem)/1.06 Georgia,serif; letter-spacing:-.055em; }
html[lang="en"] .case-intro h1 em { font-style:italic; }
.case-hero,.case-body { overflow-wrap:break-word; }
.atlas { min-width:0; overflow:hidden; margin:0; background:#fffdf5; border:1px solid var(--line); border-radius:1rem; box-shadow:0 .55rem 2rem #2d493411; }
.atlas figcaption { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.72rem 1rem; background:var(--wash); color:var(--ink); }
.atlas figcaption strong,.case-label,.atlas-detail-title,.case-source,.case-filing,.guide-open,.poster-brand { display:inline-flex; align-items:center; gap:.45rem; }
.atlas figcaption strong { font-size:.98rem; }
.atlas figcaption span { font-size:.76rem; font-weight:620; }
.atlas-canvas { background-color:var(--map); background-image:radial-gradient(#fbffe323 .8px,transparent .9px); background-size:13px 13px; padding:.42rem .65rem; }
.atlas-graph { display:block; width:100%; height:clamp(14rem,17.7vw,17rem); overflow:visible; }
.atlas-edge,.atlas-hit { stroke-linecap:round; }
.atlas-edge { stroke:var(--ray); stroke-width:2.7; opacity:.7; }
.atlas-hit { stroke:transparent; stroke-width:20; pointer-events:stroke; }
.atlas-joint { fill:var(--map); stroke:var(--ray); stroke-width:2.4; }
.atlas-graph a { cursor:pointer; outline:none; }
.atlas-graph :is([data-active],a:hover,a:focus-visible) > .atlas-edge { stroke:var(--gold); stroke-width:4.5; opacity:1; }
.atlas-graph :is([data-active],a:hover,a:focus-visible) > .atlas-joint { fill:var(--gold); stroke:var(--gold); r:6; }
.atlas-halo { fill:var(--map); stroke:var(--ray); stroke-width:1.6; }
.atlas-dot { fill:var(--ray); }
.atlas-chip { fill:var(--map); stroke:var(--ray); stroke-width:1; }
.atlas-graph text { fill:#fffbea; font:650 15px "Segoe UI","Malgun Gothic",sans-serif; pointer-events:none; }
.atlas-graph :is([data-active],[data-neighbor],a:hover,a:focus-visible) > .atlas-dot { fill:var(--gold); }
.atlas-graph :is([data-active],a:hover,a:focus-visible) > .atlas-chip { fill:#fff7df; stroke:#fff7df; }
.atlas-graph :is([data-active],a:hover,a:focus-visible) > text { fill:var(--map); }
.atlas-graph a:focus-visible > :is(.atlas-chip,.atlas-joint) { stroke:#fff; stroke-width:3; }
.atlas-hint { margin:0; padding:.45rem 1rem; color:#44594a; font-size:.82rem; background:var(--wash); }
.atlas-switch { display:flex; justify-content:center; align-items:center; gap:.18rem; margin:0; padding:.5rem .55rem 0; border:0; background-color:var(--map); }
.atlas-switch legend,.atlas-switch input { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.atlas-switch label { cursor:pointer; }
.atlas-switch span { display:block; border:1px solid #a3b39b; border-radius:.4rem; padding:.22rem .62rem; color:#f3f5e8; font-size:.76rem; line-height:1.4; font-weight:640; }
.atlas-switch input:checked + span { background:#f1ecd9; color:var(--map); border-color:#f1ecd9; }
.atlas-switch input:focus-visible + span { outline:2px solid var(--gold); outline-offset:2px; }
.atlas:has([value="loose"]:checked) :is([data-map-edge],.edge-detail),.loose-hint { display:none; }
.atlas:has([value="loose"]:checked):has(.edge-detail:not([hidden])) .loose-hint { display:block; color:#475b4c; font-size:.86rem; }
@media(prefers-reduced-motion:no-preference) {
  .atlas:has([value="linked"]:checked) .atlas-edge { animation:trace-link .45s ease-out; }
  @keyframes trace-link { from { stroke-dasharray:360; stroke-dashoffset:360; } to { stroke-dasharray:360; stroke-dashoffset:0; } }
}
.atlas-inspector { padding:.72rem 1rem .85rem; }
.atlas-detail { scroll-margin-block:2rem; }
.atlas-detail-title { font-size:.85rem; color:var(--ink); }
.atlas-detail-title svg,.case-label svg,.case-source svg,.case-filing svg { width:1em; height:1em; }
.atlas-detail-title small { color:#556359; font-weight:520; }
.atlas-quote { display:grid; grid-template-columns:minmax(5rem,.31fr) minmax(0,1fr); gap:.45rem; margin-top:.3rem; font-size:.82rem; line-height:1.48; }
.atlas-quote b { font-size:.76rem; color:var(--ink); }
.atlas-quote q,.atlas-detail > p { overflow-wrap:anywhere; }
.atlas-detail > p { font-size:.88rem; line-height:1.58; margin:.3rem 0; }
.map-quotes summary { display:flex; align-items:center; gap:.35rem; min-height:2rem; font-size:.8rem; color:var(--ink); font-weight:620; }
.map-quotes summary svg { width:.85rem; height:.85rem; }
.case-transform { --pad:clamp(1rem,2.8vw,2.35rem); border:1px solid var(--line); border-radius:1.1rem; background-color:var(--wash); background-image:radial-gradient(#536f4e24 .7px,transparent .9px); background-size:9px 9px; padding:var(--pad); scroll-margin-top:1rem; }
.case-pages { display:grid; position:relative; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(.65rem,2.8vw,2.7rem); isolation:isolate; }
.raw-sheet,.result-sheet { position:relative; min-width:0; padding:clamp(1.1rem,2.1vw,2rem); border:1px solid #d8d3bd; border-radius:.35rem .7rem .7rem .35rem; box-shadow:0 3px 0 -1px #fffdf2,0 4px 0 #c7c9b9,0 .65rem 1.15rem #3342380d; }
.raw-sheet { padding-left:clamp(1.75rem,3.1vw,2.9rem); background:#fff9e9; }
.raw-sheet::before { content:""; position:absolute; top:1.1rem; bottom:1.1rem; left:.56rem; width:.38rem; background:radial-gradient(circle,#d0c4a3 2px,transparent 2.7px) 0 0/100% 1.34rem repeat-y; }
.sheet-title { margin:0; font-size:clamp(1rem,1.45vw,1.33rem); line-height:1.25; letter-spacing:-.045em; font-weight:690; text-wrap:initial; }
.sheet-title svg { width:1em; height:1em; }
.raw-sheet .sheet-title { color:#6c5944; }
.raw-sheet header { display:flex; align-items:baseline; flex-wrap:wrap; gap:.18rem .48rem; }
.excerpt-label { font-size:.75rem; color:#726750; }
.raw-excerpt { margin-top:1.1rem; color:#453e32; font-size:clamp(.96rem,1.28vw,1.16rem); line-height:1.73; background:repeating-linear-gradient(to bottom, transparent 0 calc(1.73em - 1px),#bda87935 calc(1.73em - 1px) 1.73em); }
.raw-excerpt p { margin:0; }
.raw-excerpt p + p { margin-top:1.73em; }
.raw-excerpt mark { background:linear-gradient(176deg,transparent 57%,var(--highlight) 58%,var(--highlight) 93%,transparent 95%); color:inherit; font-weight:560; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.omission { color:#756b56; }
.page-turn { position:absolute; z-index:1; left:50%; top:48%; transform:translate(-50%,-50%); display:grid; place-items:center; width:clamp(1.65rem,3.2vw,2.65rem); aspect-ratio:1; border:3px solid var(--wash); border-radius:50%; background:var(--ink); color:#fffdf3; }
.page-turn svg { width:57%; height:57%; }
.result-sheet { color:#2b4034; background:#fffef8; border-color:var(--line); border-top:3px solid var(--ink); }
.result-sheet header { display:flex; gap:.45rem; flex-wrap:wrap; justify-content:space-between; align-items:center; margin-bottom:.8rem; color:var(--ink); }
.case-filing { width:fit-content; padding:.16rem .52rem; border-radius:.3rem; color:var(--ink); font-size:.75rem; font-weight:590; background:var(--wash); }
.case-panel dl { margin:0; }
.case-panel dl > div { display:grid; grid-template-columns:minmax(4.35rem,.29fr) minmax(0,1fr); align-items:baseline; gap:.7rem; padding:.55rem 0; border-top:1px solid var(--line); }
.case-panel dt { color:var(--ink); font-weight:680; font-size:.84rem; line-height:1.4; }
.case-panel dd { margin:0; font-size:clamp(.94rem,1.06vw,1.02rem); line-height:1.5; }
.result-sheet .case-dates { display:grid; gap:.5rem; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:.55rem; }
.case-panel .case-dates > div { display:block; background:var(--wash); border:0; border-radius:.43rem; padding:.5rem .65rem; }
.case-dates dt { display:flex; align-items:center; gap:.29rem; font-size:.75rem; }
.case-dates dt svg { width:.95rem; height:.95rem; }
.case-dates dd { padding-top:.17rem; }
.case-dates time,.case-dates dd span { display:block; }
.case-dates time { color:var(--ink); font-weight:650; }
.case-dates dd span { font-size:.88rem; }
.raw-full { margin:.95rem 0 calc(-.38 * var(--pad)); }
.case-panel summary { cursor:pointer; }
.raw-full summary,.research-evidence summary,.case-terms summary { display:flex; align-items:center; gap:.4rem; width:fit-content; max-width:100%; padding:.35rem .15rem; color:var(--ink); font-weight:625; font-size:.86rem; }
.case-panel summary::-webkit-details-marker { display:none; }
.raw-full summary svg,.research-evidence summary svg,.case-terms summary svg { width:1em; height:1em; }
.case-panel details[open] > summary svg:last-child { transform:rotate(45deg); }
.original-text { margin:.4rem 0; padding:1rem 1.15rem; border:1px solid var(--line); background:#fffdf5; border-radius:.55rem; }
.original-text p { max-width:78ch; line-height:1.65; }
.original-text p + p { margin-top:.55rem; }
.case-body { padding-bottom:clamp(2rem,4vw,4rem); }
.extracted-heading { margin:.7rem 0 .1rem; color:var(--ink); font-size:.83rem; line-height:1.35; }
.case-body > section { margin-top:clamp(1rem,2vw,1.7rem); scroll-margin-top:1.1rem; }
.case-connections { min-width:0; padding:clamp(1rem,2.35vw,2rem); border:1px solid var(--line); border-radius:1rem; background:#f4f4ec; }
.case-lower { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(.8rem,1.8vw,1.4rem); margin:clamp(.8rem,1.8vw,1.4rem) 0; align-items:start; }
.case-connections .case-lower { margin-bottom:0; }
.topic-folder { min-width:0; padding:clamp(.8rem,1.7vw,1.45rem); background:#fffef8; border:1px solid var(--line); border-top:3px solid var(--ink); border-radius:.4rem .72rem .72rem .4rem; }
.topic-mode,.document-type { display:flex; align-items:center; flex-wrap:wrap; gap:.37rem; margin:0 0 .45rem; font-size:.78rem; font-weight:650; color:var(--ink); }
.topic-mode svg,.document-type svg { width:1em; height:1em; }
.topic-folder h3 { display:flex; flex-wrap:wrap; align-items:baseline; gap:.45rem; margin:0 0 .55rem; font-size:clamp(1.12rem,1.8vw,1.5rem); color:var(--ink); }
.topic-folder h3 small,.document-type span { font-size:.75rem; font-weight:580; padding:.12rem .4rem; border-radius:.38rem; background:var(--wash); color:var(--ink); }
.topic-folder ul { list-style:none; padding:0; margin:0; }
.topic-choices { display:flex; flex-wrap:wrap; gap:.35rem; margin:.5rem 0 .7rem; }
.topic-choice { display:inline-flex; align-items:center; min-height:2rem; padding:.25rem .52rem; color:var(--ink); border:1px solid var(--line); border-radius:.45rem; font-size:.78rem; text-decoration:none; }
.topic-choice[aria-current="true"] { font-weight:650; background:var(--wash); border-color:var(--ink); }
.topic-choice:hover { text-decoration:underline; }
.topic-question { display:inline-flex; align-items:center; gap:.35rem; color:var(--ink); padding:.45rem 0 .1rem; font-size:.84rem; font-weight:640; }
.topic-question svg { width:1em; height:1em; }
.topic-entry { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.18rem .6rem; border-top:1px solid var(--line); padding:.64rem 0; text-decoration:none; }
.topic-entry:hover strong { text-decoration:underline; }
.topic-entry time { align-self:center; color:#566257; font-size:.78rem; }
.topic-entry strong { font-size:.94rem; color:var(--ink); }
.topic-entry q { grid-column:2; grid-row:2; font-size:.86rem; line-height:1.45; color:#48564c; }
.topic-entry svg { grid-column:3; grid-row:1; align-self:center; width:.92rem; height:.92rem; color:var(--ink); }
.case-questions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:1.25rem clamp(1rem,3vw,2rem); }
.case-qa,.case-report { min-width:0; border:1px solid var(--line); border-radius:1rem; padding:clamp(1.05rem,2.35vw,2rem); }
.case-qa { background:#f5f0e7; border-color:#ddd4c2; }
.case-body h2 { margin:0; font-size:clamp(1.35rem,2.15vw,2rem); line-height:1.23; letter-spacing:-.05em; }
.case-qa h2 { display:flex; gap:.55rem; align-items:center; margin-bottom:.82rem; }
.case-qa h2 svg { color:var(--ink); }
.case-answer { min-width:0; }
.question-box {
  position:relative; display:grid; gap:.3rem; margin-inline-start:1.15rem;
  padding:.85rem 2.4rem .9rem 1rem; background:var(--wash);
  border:1px solid var(--line); border-radius:1rem 1rem .25rem 1rem; color:var(--ink);
}
.question-box::after {
  content:""; position:absolute; top:1.12rem; right:1rem; width:.43rem; height:.43rem;
  border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg);
}
.case-answer[open] .question-box::after { transform:translateY(.18rem) rotate(225deg); }
.question-label,.answer-text > strong { font-size:.83rem; font-weight:700; line-height:1.4; }
.question-text { color:#243a2c; font-size:1.03rem; font-weight:640; line-height:1.5; overflow-wrap:anywhere; }
.answer-text {
  background:#fffefa; border:1px solid #dcd8c9; border-radius:.25rem 1rem 1rem;
  margin:.5rem 1.15rem 0 0; padding:.85rem 1rem; overflow-wrap:anywhere;
}
.answer-text > strong { display:block; margin-bottom:.3rem; color:var(--ink); }
.report-controls h3 { display:block; margin:0 0 .2rem; color:var(--ink); font-size:.8rem; font-weight:660; }
.answer-text p,.report-request p { line-height:1.55; }
.case-source { display:inline-flex; max-width:100%; color:var(--ink); font-size:.82rem; font-weight:635; line-height:1.42; margin-top:.45rem; }
.case-source svg { width:1em; height:1em; }
.case-source svg:last-child:not(:first-child) { width:.75em; }
.case-report { --brief-pad:clamp(1.05rem,2.35vw,2rem); padding:0; background:var(--wash); }
.brief-heading { padding:clamp(.95rem,1.7vw,1.35rem) var(--brief-pad); background:var(--map); color:#fffdf3; border-radius:.94rem .94rem 0 0; }
.brief-heading .report-kicker { color:var(--ray); }
.report-kicker { margin-bottom:.25rem; color:var(--ink); font-size:.8rem; font-weight:680; }
.report-kicker svg { width:1em; height:1em; }
.report-spread { display:grid; grid-template-columns:minmax(0,.73fr) minmax(0,1.27fr); align-items:start; gap:clamp(.8rem,2.5vw,2rem); padding:var(--brief-pad); }
.report-controls { min-width:0; }
.report-request,.report-notes { padding:.75rem .95rem; border-left:2px solid var(--ink); background:#fffdf688; }
.report-notes { margin-block:.7rem; border:0; padding:.35rem 0; background:none; }
.report-notes ul { display:flex; flex-wrap:wrap; gap:.2rem .8rem; list-style:none; margin:0; padding:0; }
.report-request { border-radius:0 .55rem .55rem 0; }
.report-request blockquote { margin:.2rem 0 .8rem; line-height:1.55; }
.report-request small { display:block; margin-top:.3rem; font-size:.78rem; color:#47574b; }
.web-permission,.print-permission { display:inline-flex; align-items:center; min-height:2.4rem; gap:.45rem; padding:.32rem .65rem; border:1px solid var(--line); border-radius:.42rem; background:#fffef9; color:var(--ink); font-size:.9rem; font-weight:650; }
.web-permission { cursor:pointer; }
.web-permission input { position:static; width:1.05rem; height:1.05rem; margin:0; accent-color:var(--ink); }
.web-permission:focus-within { outline:2px solid var(--ink); outline-offset:2px; }
.print-permission svg { width:1em; height:1em; }
.case-report:has(.format-selector) .report-request,.case-report .notes-only { display:none; }
.case-report:has([value="reportPrecision"]:checked) .report-request { display:block; }
.case-report:has(.web-permission input:not(:checked)) .with-web { display:none; }
.case-report:has(.web-permission input:not(:checked)) .notes-only { display:block; }
.format-selector { display:flex; flex-wrap:wrap; gap:.35rem; margin:0; padding:0; border:0; min-width:0; }
.format-selector legend { padding:0 0 .32rem; font-size:.78rem; color:var(--ink); font-weight:620; }
.format-selector input { width:1px; height:1px; position:absolute; clip-path:inset(50%); overflow:hidden; }
.format-selector label { cursor:pointer; }
.format-selector span { display:grid; align-items:center; height:100%; min-height:2.2rem; padding:.32rem .6rem; border:1px solid var(--line); border-radius:.45rem; background:#fffdf5; color:var(--ink); font-size:.81rem; font-weight:625; line-height:1.3; }
.format-selector input:checked + span { background:var(--ink); color:#fff; border-color:var(--ink); }
.format-selector input:focus-visible + span { outline:3px solid #ae5c36; outline-offset:2px; }
.report-output { min-width:0; background:#fffef9; border:1px solid var(--line); border-top:3px solid var(--ink); border-radius:.35rem .66rem .66rem .35rem; padding:clamp(.9rem,1.7vw,1.45rem); }
.report-variants .report-output { display:none; }
.case-report:has([value="summaryCore"]:checked) [data-format="summaryCore"],
.case-report:has([value="summaryDetailed"]:checked) [data-format="summaryDetailed"],
.case-report:has([value="reportOnePage"]:checked) [data-format="reportOnePage"],
.case-report:has([value="reportPrecision"]:checked) [data-format="reportPrecision"] { display:block; }
.report-output h3 { margin:0 0 .55rem; font-size:1.17rem; line-height:1.32; letter-spacing:-.03em; }
.report-output .document-type + h3 { font-size:clamp(1.3rem,2vw,1.68rem); color:var(--ink); }
.report-output h4 { margin:.74rem 0 .2rem; font-size:.92rem; line-height:1.35; color:var(--ink); }
.report-verdict { margin:0; padding:0 0 .7rem; border-bottom:1px solid var(--line); font-weight:580; }
.report-output .report-research ol { display:grid; gap:.6rem; padding-inline-start:1.35rem; }
.report-research li::marker { color:var(--ink); font-weight:650; }
.report-research .case-source,.report-observation .case-source { margin-top:.15rem; }
.report-method { margin-top:.8rem; padding:.65rem .85rem; border-radius:.46rem; background:var(--wash); }
.report-method h4 { margin-top:0; }
.report-output p,.report-output li { line-height:1.55; }
.report-output ol { margin:.35rem 0 0; padding-inline-start:1.2em; }
.research-evidence { margin-top:.65rem; border-top:1px solid var(--line); padding-top:.25rem; }
.research-evidence p,.case-terms p { margin-top:.45rem; color:#4b584d; font-size:.88rem; line-height:1.55; }
.case-foot,.case-actions { display:flex; align-items:baseline; gap:.7rem 1.25rem; flex-wrap:wrap; }
.case-foot { margin-top:1.2rem; justify-content:space-between; }
.case-actions { align-items:center; }
.case-actions .button svg,.guide-open svg { width:1em; height:1em; }
.guide-open { color:var(--ink); font-size:.89rem; font-weight:640; }
.case-terms { max-width:46ch; }
.case-panel :target:not(.case-transform),.atlas-detail:focus-visible { outline:2px solid #a85a36; outline-offset:3px; }
@media(max-width:62rem) {
  .result-sheet dl:not(.case-dates) > div { grid-template-columns:minmax(3.5rem,.28fr) 1fr; }
  .case-dates dd span { font-size:.83rem; }
}
@media(min-width:46.01rem) and (max-width:62rem) {
  .case-tabs a { gap:.32rem; padding-inline:.6rem; font-size:.9rem; }
}
@media(max-width:48rem) {
  .notebook-cover { margin-right:max(3%,calc((100% - 43rem)/2)); }
  .case-hero,.case-body,.case-switch { width:min(43rem,94%); }
  .case-hero { padding-top:1.1rem; }
  .case-lower { grid-template-columns:1fr; }
  .report-spread { grid-template-columns:1fr; }
  .case-pages { gap:.75rem; }
  .case-pages .page-turn { width:1.7rem; }
  .result-sheet dl:not(.case-dates) > div,.report-output dl > div { display:block; }
  .result-sheet .case-dates { grid-template-columns:1fr; }
  .case-panel dd { margin-top:.12rem; }
  .raw-excerpt p + p { margin-top:.865em; }
}
@media(max-width:46rem) {
  .notebook-cover {
    display:block; float:none; width:min(43rem,94%); aspect-ratio:1.9;
    margin:1rem auto 0; border-radius:.85rem; object-fit:cover; object-position:50% 35%;
  }
  .case-switch { padding-top:.8rem; }
}
@media(max-width:34rem) {
  .case-jumps { gap:.1rem .3rem; margin-top:.48rem; }
  .case-jumps a { padding:.25rem .24rem; font-size:.76rem; }
  .case-jumps a:first-child { padding-inline:.45rem; }
  .case-questions { grid-template-columns:1fr; }
  .case-tabs { display:flex; }
  .case-tabs a { flex:1; font-size:.86rem; gap:.3rem; padding:.4rem .2rem; }
  .case-tabs svg { width:.96rem; height:.96rem; }
  .case-switch { padding-top:.9rem; }
  .case-topic { font-size:.8rem; gap:.38rem; }
  .case-topic::before { width:.9rem; }
  .case-topic > span { padding-left:.38rem; font-size:.7rem; }
  .case-intro { margin-bottom:.8rem; }
  .case-intro h1 { font-size:clamp(1.6rem,6.65vw,2.15rem); }
  html[lang="en"] .case-intro h1 { font-size:clamp(1.85rem,7.6vw,2.5rem); }
  .case-transform { --pad:.55rem; border-radius:.78rem; }
  .case-pages { gap:.42rem; }
  .raw-sheet,.result-sheet { padding:.67rem .59rem; border-radius:.24rem .43rem .43rem .24rem; }
  .raw-sheet { padding-left:1rem; }
  .raw-sheet::before { left:.2rem; width:.24rem; top:.65rem; bottom:.65rem; background-size:100% 1.13rem; }
  .sheet-title { font-size:clamp(.91rem,3.45vw,1.05rem); gap:.24rem; }
  .raw-excerpt { margin-top:.7rem; font-size:clamp(.84rem,3.4vw,.98rem); }
  .case-pages .page-turn { width:1.25rem; border-width:2px; }
  .result-sheet header { align-items:start; margin-bottom:.42rem; gap:.3rem; }
  .case-filing { font-size:.68rem; padding:.08rem .32rem; }
  .result-sheet dl > div { padding:.39rem 0; }
  .result-sheet dt { font-size:.75rem; }
  .result-sheet dd { font-size:clamp(.84rem,3.4vw,.98rem); line-height:1.43; }
  .result-sheet .case-dates { gap:.3rem; margin-top:.27rem; }
  .case-panel .case-dates > div { padding:.37rem .42rem; }
  .case-dates dt,.case-dates dd span { font-size:.77rem; }
  .raw-full { margin:.5rem .22rem -.2rem; }
  .raw-full summary { min-height:2.15rem; font-size:.8rem; }
  .atlas figcaption,.atlas-hint,.atlas-inspector { padding-inline:.72rem; }
  .atlas-canvas { padding:.3rem; }
  .atlas-quote { grid-template-columns:minmax(4.5rem,.33fr) minmax(0,1fr); }
  .report-spread { grid-template-columns:1fr; }
  .case-foot { display:grid; }
}
.guide-poster { padding:1rem; background:#f6f4eb; }
.guide-poster .case-hero,.guide-poster .case-body { width:100%; padding:0; }
.poster-brand { font-size:1rem; font-weight:680; letter-spacing:-.035em; }
.poster-brand img { width:1.45rem; height:1.45rem; }
.poster-brand span { margin-left:auto; font-size:.78rem; font-weight:620; letter-spacing:0; }
.guide-poster .case-intro { margin-bottom:.72rem; }
.guide-poster .case-topic { margin-top:.6rem; font-size:.83rem; }
.guide-poster .case-intro h1,html[lang="en"] .guide-poster .case-intro h1 { margin-top:.28rem; font-size:2rem; }
.guide-poster .case-transform { padding:.75rem; border-radius:.78rem; }
.guide-poster .case-pages { gap:.72rem; }
.guide-poster .raw-sheet,.guide-poster .result-sheet { padding:.8rem .85rem; }
.guide-poster .raw-sheet { padding-left:1.32rem; }
.guide-poster .raw-sheet::before { left:.38rem; }
.guide-poster .sheet-title { font-size:1.04rem; }
.guide-poster .raw-excerpt { font-size:.91rem; margin-top:.72rem; }
.guide-poster .result-sheet header { margin-bottom:.45rem; }
.guide-poster .result-sheet dl > div { padding:.27rem 0; }
.guide-poster .case-panel dd { font-size:.87rem; line-height:1.42; }
.guide-poster .case-panel dt { font-size:.78rem; }
.guide-poster .case-dates { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.3rem; }
.guide-poster .case-dates > div { padding:.35rem; }
.guide-poster .case-lower { grid-template-columns:1.06fr .94fr; gap:.55rem; margin:.6rem 0; }
.guide-poster .atlas figcaption { display:block; padding:.45rem .6rem; }
.guide-poster .atlas figcaption strong { font-size:.87rem; }
.guide-poster .atlas figcaption span { display:block; font-size:.7rem; }
.guide-poster .atlas-canvas { padding:.1rem; }
.guide-poster .atlas-graph { height:8.25rem; }
.guide-poster .atlas-inspector { padding:.45rem .62rem; }
.guide-poster .atlas-detail-title { font-size:.74rem; }
.guide-poster .atlas-reason { font-size:.82rem; line-height:1.4; }
.guide-poster .case-qa,.guide-poster .case-connections { padding:.72rem .85rem; }
.guide-poster .case-body > section { margin-top:.65rem; }
.guide-poster .case-body h2 { font-size:1.2rem; }
.guide-poster .print-answer h3,.guide-poster .answer-text p,.guide-poster .report-request p,.guide-poster .report-output p { font-size:.88rem; line-height:1.45; }
.guide-poster .print-answer h3 { padding:.45rem 0; }
.guide-poster .answer-text { padding:.5rem .59rem; margin-bottom:0; }
.guide-poster .case-source { font-size:.73rem; }
.guide-poster .brief-heading { padding:.6rem .85rem; }
.guide-poster .report-spread { display:grid; grid-template-columns:1fr; gap:.5rem; padding:.62rem .8rem; }
.guide-poster .report-controls { display:flex; gap:.65rem; align-items:start; }
.guide-poster .report-controls .report-notes { flex:1; margin:0; }
.guide-poster .report-controls .report-request { flex:2.6; }
.guide-poster .report-notes ul { display:block; }
.guide-poster .report-request blockquote { font-size:.85rem; line-height:1.45; margin:0 0 .3rem; }
.guide-poster .print-permission { padding:.2rem .4rem; min-height:0; font-size:.77rem; }
.guide-poster .report-research ol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.6rem; }
.guide-poster .report-output h4 { font-size:.83rem; }
.guide-poster .report-output dl > div { grid-template-columns:minmax(6.5rem,.35fr) minmax(0,1fr); display:grid; padding:.2rem 0; }
.guide-poster .case-questions { grid-template-columns:1fr; }
.guide-poster .topic-folder { padding:.52rem .65rem; }
.guide-poster .topic-entry { padding:.4rem 0; }
.guide-poster .report-annex { margin-top:.5rem; }
.guide-poster .report-annex h4 { margin:.35rem 0 .2rem; }
.guide-poster .report-request,.guide-poster .report-notes,.guide-poster .report-output { padding:.58rem .68rem; }
.guide-poster .report-output h3 { font-size:1rem; }

.notebook-intro {width:min(76rem,92%);margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(13rem,32%);align-items:center;gap:clamp(1rem,6vw,5rem);padding:clamp(1.25rem,3vw,3rem) 0 .65rem}
.notebook-intro h1 {font-size:clamp(2.1rem,4.7vw,4.7rem);line-height:1.13;letter-spacing:-.065em;word-break:keep-all;text-wrap:balance;margin:0;max-width:19ch}
html[lang="en"] .notebook-intro h1 {font-family:Georgia,serif;font-weight:500;letter-spacing:-.045em}
.notebook-intro p {margin:1rem 0 0;font-size:clamp(1rem,1.5vw,1.27rem);color:#526455;line-height:1.6;word-break:keep-all}
.notebook-intro .notebook-cover {float:none;position:static;width:100%;height:auto;max-height:none;max-width:none;margin:0;object-fit:contain}
.case-switch {padding-top:.6rem}.case-body>.case-topic {margin:1.2rem 0 -.5rem}
.case-body .demo-heading {margin:0 0 1.1rem}
.case-body .demo-heading h2 {font-size:clamp(1.4rem,2.4vw,2.15rem);line-height:1.15;margin:0;letter-spacing:-.045em}
.case-body .demo-heading p {margin:.35rem 0 0;font-size:clamp(.95rem,1.35vw,1.15rem);line-height:1.45;word-break:keep-all}
.case-body .brief-heading {margin-bottom:0}
.case-pages {column-gap:3.7rem}
.case-pages .page-turn {display:flex;flex-direction:column;gap:.1rem;justify-content:center;width:3.4rem;aspect-ratio:auto;padding:.35rem .1rem;border-radius:.6rem;font-size:.7rem;line-height:1.1}
.case-pages .page-turn svg {width:1rem;height:1rem}
.raw-excerpt p + p {margin-top:.75em}
.report-table {width:100%;border-collapse:collapse;margin:.85rem 0;font-size:.88rem;line-height:1.45}
.report-table caption,.report-plot figcaption,.report-timeline figcaption {text-align:left;font-weight:680;color:var(--ink);font-size:.83rem;padding:0 0 .4rem}
.report-table :is(th,td) {border-bottom:1px solid var(--line);padding:.45rem;text-align:left}
.report-table thead {background:var(--wash)}
.report-plot,.report-timeline {margin:1rem 0;padding:.85rem;border:1px solid var(--line);border-radius:.5rem}
.report-plot>div {display:grid;grid-template-columns:3.1rem 1fr 2.3rem;gap:.5rem;align-items:center;font-size:.8rem;margin:.2rem 0}
.report-plot i {height:.54rem;border-radius:2rem;background:var(--wash);overflow:hidden}
.report-plot b {display:block;height:100%;border-radius:inherit;background:var(--ink)}
.report-timeline ol {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;list-style:none;padding:0;font-size:.85rem}
.report-timeline li {border-inline-start:3px solid var(--ink);padding-left:.45rem}
.case-connections .case-lower {grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
.atlas .atlas-graph {width:100%;height:auto;overflow:visible}
.atlas .atlas-edge {stroke-width:1.2;opacity:.24}.atlas-edge[data-active] {stroke:var(--gold);opacity:.9}
.atlas .atlas-dot {fill:var(--node);stroke:var(--map);stroke-width:1.3}
.atlas a:is(:hover,:focus-visible,[aria-current]) .atlas-dot {stroke:#fff;stroke-width:2;r:8}
.atlas a:focus-visible {outline:1px solid white}
.atlas .cluster-title {font-size:12px;letter-spacing:.02em}
.atlas-inspector .case-source {display:inline-flex}.atlas-inspector q {color:#56645a;font-size:.8rem}
.topic-folder h3 svg {width:1.1em;height:1.1em}
.collection-switch,.currency-switch {display:inline-flex;gap:.2rem;border:1px solid #ced5c7;background:#efefe5;padding:.23rem;border-radius:.65rem}
.collection-switch button,.currency-switch label span {display:block;border:0;padding:.41rem .8rem;border-radius:.43rem;font:inherit;font-size:.87rem;color:#36493c;background:transparent;cursor:pointer}
.collection-switch button[aria-pressed="true"],.currency-switch input:checked+span {background:#294b39;color:#fff}
.collection-item {border-bottom:1px solid var(--line);padding:.45rem 0}
.collection-item summary {display:flex;align-items:center;gap:.4rem;font-weight:650;padding:.25rem 0}
.collection-item small {margin-left:auto;font-weight:500;white-space:nowrap}.collection-item svg {width:1em;height:1em}
.collection-item ul {max-height:12rem;overflow:auto}.collection-item .topic-entry {display:flex;align-items:center;justify-content:space-between;padding:.35rem .15rem;font-size:.83rem}
.pricing:has([value="KRW"]:checked) [data-money="USD"],.pricing:has([value="USD"]:checked) [data-money="KRW"] {display:none}
.currency-switch {margin:0;position:relative}.currency-switch legend,.currency-switch input {position:absolute;clip-path:inset(50%);width:1px;height:1px}
.currency-switch input:focus-visible+span {outline:2px solid #a45731;outline-offset:2px}
@media(max-width:760px) {
  .case-connections .case-lower {grid-template-columns:1fr}
  .notebook-intro {grid-template-columns:minmax(0,1fr) 33%;gap:.65rem}
  .notebook-intro h1 {font-size:clamp(1.65rem,5.7vw,2.6rem)}
  .notebook-intro p {font-size:.9rem;margin-top:.5rem}
  .case-pages {column-gap:2.15rem}
  .case-pages .page-turn {width:2.15rem;font-size:.58rem}
}
@media(max-width:550px) {
  #features { --phone-gutter:clamp(.875rem,4vw,1.375rem); }
  #features :is(.notebook-intro,.case-switch,.case-body) { width:calc(100% - 2 * var(--phone-gutter)); }
  .notebook-intro {
    grid-template-columns:minmax(0,1fr) 44%;
    grid-template-areas:"title cover" "lead lead";
    gap:.7rem .85rem; padding:1.2rem 0 .95rem;
  }
  .notebook-intro > div { display:contents; }
  .notebook-intro h1 { grid-area:title; font-size:clamp(1.45rem,6.3vw,2rem); line-height:1.16; }
  .notebook-intro p { grid-area:lead; margin:0; font-size:1rem; line-height:1.5; text-wrap:pretty; }
  .notebook-intro .notebook-cover { grid-area:cover; aspect-ratio:3 / 2; border-radius:.75rem; }
  .case-switch { padding-top:0; }
  .case-tabs { display:flex; }
  .case-tabs a { flex:1; min-height:2.75rem; padding:.4rem .2rem; }
  .case-body > .case-topic { margin:1rem 0 .5rem; }
  .case-body > section { margin-top:1.25rem; }
  .case-body > .case-transform { margin-top:0; }
  .case-body .demo-heading { margin-bottom:.85rem; }
  .case-body .brief-heading { margin-bottom:0; }
  .case-transform,.case-qa,.case-connections { padding:clamp(.75rem,3.4vw,1.05rem); }
  .case-pages,.case-questions { grid-template-columns:minmax(0,1fr); }
  .case-pages { gap:.4rem; }
  .case-pages .page-turn {position:static;transform:none;justify-self:center;flex-direction:row;width:auto;padding:.23rem .58rem;font-size:.72rem}
  .case-pages .page-turn svg {transform:rotate(90deg)}
  .case-pages .raw-sheet { padding:1rem 1rem 1rem 1.4rem; }
  .case-pages .result-sheet { padding:1rem; }
  .raw-excerpt,.result-sheet dd { font-size:.97rem; line-height:1.6; }
  .raw-excerpt { background-image:repeating-linear-gradient(to bottom, transparent 0 calc(1.6em - 1px), #bda87935 calc(1.6em - 1px) 1.6em); }
  .result-sheet .case-dates { gap:.5rem; margin-top:.55rem; }
  .case-panel .case-dates > div { padding:.55rem .65rem; }
  .case-dates dt,.case-dates dd span { font-size:.86rem; }
  .question-box { margin-inline-start:.75rem; }
  .answer-text { margin-inline-end:.75rem; }
  .case-questions { gap:1rem; }
  .format-selector { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; }
  .format-selector span { min-height:2.75rem; text-align:center; padding:.4rem; font-size:.88rem; }
  .report-spread { padding:.8rem; gap:.8rem; }
  .report-output { padding:.9rem; }
  .collection-switch button,.currency-switch label span { min-height:2.75rem; display:grid; place-items:center; }
  .pricing.wrap,.faq > .wrap { padding-block:2.5rem; }
}


.atlas .node-caption {font-size:9px;fill:#f7f6e8;paint-order:stroke;stroke:var(--map);stroke-width:3px}
