@font-face{font-family:Geist;src:url('/type/geist.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Plex;src:url('/type/plex-mono.woff2') format('woff2');font-weight:400;font-display:swap}
:root{--canvas:#151d2b;--slate:#202b3c;--line:#48566b;--text:#f3ebdd;--muted:#c0c8d1;--orange:#ffbc94;--ink:#20283a;--paper:#faf2e3;--paper-line:#d9cdb9;--mono:Plex,monospace;--display:Geist,Arial,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--text);font-family:var(--display);line-height:1.56}
textarea,input,select,button{font:inherit}
button{cursor:pointer}
a{color:inherit;text-underline-offset:.24em}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid #ec8d53;outline-offset:4px}
.wrap{width:min(1320px,100% - 116px);margin-inline:auto}
.top{border-bottom:1px solid #384255}
.mast,.site-foot{display:flex;justify-content:space-between;align-items:center;gap:18px}
.mast{min-height:68px}
.logo{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;line-height:1;font-size:1.57rem;font-weight:730;letter-spacing:-.075em;text-decoration:none}
.logo>span:first-child:not(.logo-dot){width:16px;height:16px;border:1px solid var(--orange);border-radius:3px;position:relative;margin-right:2px}
.logo>span:first-child:not(.logo-dot)::after{content:"";width:4px;height:4px;position:absolute;left:5px;top:5px;background:var(--orange)}
.logo .logo-dot{margin-left:-6px;color:var(--orange)}
.mast nav{display:flex;gap:clamp(12px,4vw,37px);font-size:.86rem}
.mast nav a{text-decoration:none;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;gap:.4em;color:#f9eddf}
.mast nav a:hover,.mast nav a[aria-current]{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:.45em}
.heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-block:clamp(34px,5vw,70px) clamp(26px,4vw,57px)}
.eyebrow{color:var(--orange);font:400 .78rem var(--mono);letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px}
.heading h1,.guide h1{font-size:clamp(3.25rem,6.8vw,7.25rem);letter-spacing:-.085em;line-height:.92;font-weight:620;margin:0}
.heading h1 span{color:var(--orange)}
.heading>p{font-size:clamp(.97rem,1.42vw,1.23rem);color:var(--muted);max-width:28ch;margin:0 1rem .18rem 0}
.workbench{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);align-items:start;scroll-margin-top:18px;border:1px solid var(--line)}
.image-desk{background:var(--slate);min-width:0}
.toolbar,.notebar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:63px;padding:10px 18px;border-bottom:1px solid var(--line)}
.toolbar-actions,.image-controls,.note-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.toolbar h2,.notebar h2{font-size:1rem;letter-spacing:-.015em;margin:0}
.action{appearance:none;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:.6em;padding:.56em .83em;border:1px solid transparent;border-radius:3px;background:none;color:inherit;line-height:1.2;font-weight:660;font-size:.85rem;text-decoration:none}
.action.primary{background:var(--orange);color:#212631}
.action.primary:hover{background:#ffd6bd}
.action.quiet{border-color:#586679;color:#f4ede1}
.action.quiet:hover,.action.quiet[aria-pressed=true]{background:#354156;border-color:#d88d65}
.image-panel{padding:clamp(15px,3.3vw,40px);min-height:260px;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;background-color:#1e2839;background-image:radial-gradient(circle,#435064 1px,transparent 1px);background-size:16px 16px}
.image-panel.dragging{outline:2px dashed #ffbc94;outline-offset:-7px}
.image-figure{margin:0;min-width:0;width:100%;max-width:780px}
.image-frame{position:relative;width:max-content;max-width:100%;margin-inline:auto}
.image-frame img{width:auto;height:auto;max-height:480px;object-fit:contain;user-select:none;box-shadow:0 9px 28px #111827c4;border:1px solid #617088}
.image-frame.marking{cursor:crosshair;touch-action:none}
.selection{position:absolute;pointer-events:none;border:2px solid #ffc6a4;box-shadow:0 0 0 1px #95634e8c inset;background:#ffae7b16}
.selection::before,.selection::after{position:absolute;content:"";width:7px;height:7px;background:#ffc6a4}
.selection::before{top:-4px;left:-4px}.selection::after{bottom:-4px;right:-4px}
.image-figure figcaption{font-size:.76rem;color:#f3ddcc;margin:12px 0 0;line-height:1.45;overflow-wrap:anywhere}
.image-controls{padding:13px 18px 0}
.image-help{font-size:.79rem;color:var(--muted);margin:9px 18px 15px;min-height:1.3em}
.mark-editor{border-top:1px solid var(--line);padding:10px 18px 14px;color:#f0e1d7;font-size:.83rem}
.mark-editor summary{cursor:pointer;font-weight:650;margin-block:0 .2em}
.mark-editor p{margin:.3em 0 .7em}
.mark-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.mark-fields label{display:grid;gap:4px;font-size:.73rem}
.mark-fields input{background:#192335;color:#fff5e6;border-color:#657188}
.notes-desk{background:var(--paper);color:var(--ink);min-width:0;min-height:100%;border-left:1px solid var(--line)}
.notebar{background:#e7dcc8;border-color:var(--paper-line)}
.verdict{max-width:60%;font:400 .72rem/1.3 var(--mono);color:#3b3540;background:#f8eee0;border:1px solid #b6a58c;padding:.38em .56em;margin:0;border-radius:3px}
.verdict[data-state="supports"]{color:#254f3b;background:#e2eedf;border-color:#8ca998}
.verdict[data-state="contradicts"],.verdict[data-state="conflict"]{color:#722e35;background:#ffede4;border-color:#c9988e}
.notepad{padding:clamp(17px,3vw,34px)}
.field{display:grid;gap:.42em;color:#242b3c;font-size:.91rem;font-weight:660;min-width:0}
.field+.field{margin-top:16px}
textarea,input,select{min-width:0;width:100%;line-height:1.4;color:var(--ink);background:#fff9ee;border:1px solid #ab9f90;border-radius:3px;padding:.5em .58em;font-size:.87rem;font-weight:400}
textarea{resize:vertical}
textarea::placeholder,input::placeholder{color:#695f5d}
textarea:focus,input:focus,select:focus{border-color:#835747}
.sources-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}
.sources-head h3{font-size:.91rem;margin:0}
.action.subtle{color:#4c3c49;border-color:#b3a598}
.action.subtle:hover{background:#eadbcc}
.source-empty{margin:0 0 .6rem;font-size:.79rem;color:#51484e}
.source-card{border:1px solid #c0af9a;background:#f5e8d5;border-left:3px solid #ae7561;padding:11px 12px;margin-block:8px 14px}
.source-card .source-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;gap:8px}
.source-card h4{font:400 .8rem var(--mono);margin:0}
.source-card .field{margin-top:9px;font-size:.8rem}
.source-card .action.clear{font-size:.73rem;min-height:34px}
.followup{margin-top:16px}
.note-actions{margin-top:17px}
.action.download{color:#fff1e0;background:#28364b;border-color:#28364b}
.action.download:hover{background:#46546b}
.action.clear{margin-left:auto;color:#6c4442}
.action.clear:hover{text-decoration:underline;text-underline-offset:.24em}
.notice{font-size:.8rem;color:#422f39;min-height:1.4em;margin:.55rem 0 -.35rem;overflow-wrap:anywhere}
.notice[data-error=true]{color:#9c3038}
.site-foot{border-top:1px solid #465266;font-size:.84rem;min-height:66px;margin-top:26px;color:#e2d7cc}
.site-foot .logo{font-size:1.22rem}
.guide{padding-top:clamp(38px,7vw,88px);padding-bottom:23px}
.guide h1{max-width:16ch}
.guide .lede{margin:20px 0 34px;max-width:61ch;font-size:clamp(1rem,1.65vw,1.22rem);color:var(--muted)}
.guide-sheet{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr);gap:clamp(25px,7vw,100px)}
.guide h2{font-size:clamp(1.3rem,2.7vw,2.15rem);line-height:1.19;letter-spacing:-.06em;margin:1.2em 0 .35em}
.guide article h2:first-child,.example h2{margin-top:0}
.guide article p{max-width:65ch;color:#e1d9d0}
.guide .reference{font-size:.81rem}
.example{align-self:start;background:#253144;border:1px solid var(--line)}
.example>div{padding:clamp(15px,3vw,28px)}
.example>img{width:100%;height:auto;max-height:360px;object-fit:cover}
@media(max-width:1024px){
  .wrap{width:calc(100% - 64px)}
  .heading h1{font-size:clamp(3.8rem,8.7vw,6rem)}
  .heading>p{font-size:.98rem;margin-right:0}
}
@media(max-width:760px){
  .wrap{width:calc(100% - 34px)}
  .heading{display:block;margin-block:32px 23px}
  .heading h1,.guide h1{font-size:clamp(3.1rem,10vw,5.3rem)}
  .heading>p{max-width:34ch;margin:.9rem 0 0}
  .workbench,.guide-sheet{grid-template-columns:minmax(0,1fr)}
  .notes-desk{border-left:0;border-top:1px solid var(--line)}
  .mast{min-height:55px;gap:9px}
  .mast nav{font-size:.76rem;gap:.7rem}
  .mast nav a:last-child span{display:none}
  .logo{font-size:1.29rem}
  .logo>span:first-child:not(.logo-dot){margin-right:0}
  .image-frame img{max-height:53vh}
  .action.clear{margin-left:0}
  .site-foot{font-size:.77rem}
}
@media(max-width:385px){
  .wrap{width:calc(100% - 24px)}
  .toolbar,.notebar{padding-inline:10px;gap:6px}
  .toolbar-actions{gap:5px;flex-wrap:nowrap}
  .toolbar-actions .action{white-space:nowrap;padding-inline:.49em}
  .toolbar h2{font-size:.88rem}
  .action{font-size:.77rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
