:root{font-family:Arial,Helvetica,sans-serif;color:#19352e;background:#f5f7f4;font-size:16px;line-height:1.55;--green:#155c49}*{box-sizing:border-box}body{margin:0}a{color:var(--green)}header{display:flex;align-items:center;gap:24px;max-width:1240px;margin:auto;padding:23px 30px;border-bottom:1px solid #d8e1db}header>a{font-size:14px;text-decoration:none}.brand{font-size:23px;letter-spacing:3px;margin-right:auto;line-height:1.2}.brand small{display:block;font-size:9px;letter-spacing:1.5px;margin-top:8px}main{max-width:1240px;margin:auto;padding:24px 30px}.notice{background:#fff4d5;border-left:4px solid #bc891d;padding:12px 17px;font-size:14px;color:#644900}.intro{padding:45px 0 30px;max-width:750px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--green);font-weight:bold}h1{font-size:clamp(30px,4.3vw,54px);line-height:1.15;letter-spacing:-1.5px;margin:15px 0 22px}h2{font-size:23px}.intro>p:not(.eyebrow){max-width:640px;color:#54665d}.credit{font-size:13px}.catalog-tools{display:grid;grid-template-columns:auto 1fr auto 220px;align-items:center;gap:14px;border-top:1px solid #d8e1db;padding-top:25px}label{font-size:14px;font-weight:600}input[type=search],select{border:1px solid #bccbc2;border-radius:7px;background:white;padding:12px;color:#19352e;font:inherit;min-width:0;max-width:100%}input[type=search]{width:100%}input[type=checkbox],input[type=range]{accent-color:var(--green)}input[type=range]{cursor:pointer}button{font:inherit;cursor:pointer;background:var(--green);color:white;border:0;padding:10px 16px;border-radius:7px}button:hover{background:#0d4435}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #f1b239;outline-offset:3px}#catalogStatus{font-size:14px;color:#53665d}.catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{display:grid;grid-template-columns:100px 1fr;gap:16px;border:1px solid #d8e1db;background:white;padding:16px;border-radius:10px;text-decoration:none;align-items:center;color:inherit;transition:transform .15s}.card:hover{transform:translateY(-3px);border-color:var(--green)}.card img{width:100px;height:100px;object-fit:contain;background:#101b17;border-radius:7px}.card h2{font-size:17px;line-height:1.35;margin:4px 0}.card small{display:block;color:#5b6e62;font-size:12px}.card p{font-size:12px;margin:8px 0 0;color:var(--green)}.guide{margin-top:55px;padding-top:25px;border-top:1px solid #d8e1db;color:#53665d;max-width:800px}.guide li{margin-bottom:9px}.guide p{font-size:14px}.back{display:inline-block;margin-top:26px}#viewer h1{font-size:34px;letter-spacing:-.8px;margin-bottom:12px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.toolbar select{max-width:300px}.toolbar #sliceCount{min-width:80px;text-align:center;font-size:14px}.slider-label{display:flex;gap:15px;align-items:center;margin:18px 0}.slider-label input{flex:1;min-width:50px}.workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:24px}.image-options{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px}.image-options label{font-weight:400;font-size:12px;display:flex;gap:5px;align-items:center}.image-options input[type=range]{width:75px}.image-scroll{overflow:auto;background:#080d0b;border-radius:9px;max-height:760px;min-height:220px}#stage{position:relative;width:100%;line-height:0}#scan{width:100%;height:auto;display:block}#markers{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.marker{cursor:pointer}.marker circle{fill:#125f4c;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}.marker text{fill:#fff;font:bold 18px Arial;paint-order:stroke;stroke:#125f4c;stroke-width:1;pointer-events:none}.marker.selected circle{fill:#d88100;stroke:#ffdf6d}.hint{font-size:12px;color:#53665d}.legends{max-height:730px;overflow:auto;margin-top:10px}.legend{border:1px solid #dce4dd;background:white;border-radius:7px;margin-bottom:7px;padding:10px 12px;scroll-margin:20px}.legend.selected{border-color:#ad7100;background:#fff5dc}.legend button{background:transparent;color:#19352e;display:flex;gap:10px;text-align:left;padding:0;width:100%;font-size:14px;line-height:1.4}.number{background:#155c49;color:white;min-width:25px;height:25px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.en{display:block;color:#607366;font-size:12px;margin-top:3px}.draft{display:block;color:#805e18;font-size:10px;margin-top:4px}.reference{font-size:11px;display:inline-block;margin:6px 8px 0 35px}#legendCount,#imageStatus{font-size:12px;color:#53665d}.error{padding:15px;background:#fff0eb;color:#8d2e1c;border:1px solid #ecc6b8;border-radius:7px}footer{border-top:1px solid #d8e1db;text-align:center;padding:25px 30px;font-size:12px;color:#67766c;margin-top:30px}[hidden]{display:none!important}@media(max-width:1000px){.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-tools{grid-template-columns:auto 1fr}.workspace{grid-template-columns:1fr}.legends{max-height:430px}}@media(max-width:600px){header{padding:18px 16px;gap:15px}header>a{font-size:12px}.brand{font-size:19px;letter-spacing:1px}.brand small{font-size:8px}main{padding:15px 16px}.intro{padding:28px 0 20px}h1{letter-spacing:-1px}.catalog{grid-template-columns:1fr}.catalog-tools{grid-template-columns:1fr;gap:7px}.card{grid-template-columns:84px 1fr}.card img{width:84px;height:84px}.toolbar{gap:8px}.toolbar select{width:100%;max-width:none}.toolbar>label{width:100%}.toolbar button{padding:9px 12px}.image-options{gap:10px}#viewer h1{font-size:28px}}

/* Original-style callouts: names stay outside the scan. */
.workspace{grid-template-columns:minmax(0,1fr);gap:24px}
.image-scroll{background:#000;max-height:1000px;overscroll-behavior:contain}
#stage{background:#000;isolation:isolate}
#scan{position:absolute;object-fit:fill}
#markers{overflow:hidden;display:block}
.callout{cursor:pointer}
.callout .leader{fill:none;stroke-width:1.4;vector-effect:non-scaling-stroke;pointer-events:stroke}
.callout-name{font:27px Arial,Helvetica,sans-serif;paint-order:stroke;stroke:#000;stroke-width:2px;stroke-linejoin:round}
.callout-english{font-size:22px;opacity:.8}
.callout.selected .leader{stroke-width:2.3}
.callout.selected .callout-name{font-weight:700}
.callout:hover .callout-name,.callout:focus-visible .callout-name{text-decoration:underline}
.callout:focus-visible{outline:none}
.callout:focus-visible .callout-hit{stroke:#ffe079;stroke-width:2}
.anchor-point{pointer-events:none}
.anatomical-region{fill-opacity:.12;stroke-opacity:.4;stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer}
.anatomical-region.selected{fill-opacity:.42;stroke-opacity:1;stroke-width:2}
.selection-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 14px}
.selection-bar p{flex-basis:100%;font-size:14px;margin:0 0 4px;line-height:1.6}
.selection-bar button{font-size:12px;padding:7px 12px}
.structure-swatch{display:inline-block;flex:0 0 8px;height:26px;border-radius:2px;margin-top:2px;border:1px solid #74837b}
.legends{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:400px;align-items:start}
.legend{margin:0}
.reference{margin-left:18px}
.workspace aside>input{max-width:600px;display:block;margin-top:8px}
@media(max-width:1000px){.legends{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.legends{grid-template-columns:1fr}.image-options{gap:12px}.image-options label{font-size:13px}.selection-bar p{font-size:13px}}
.translation-note{display:block;font-size:12px;color:#795315;background:#fff6dc;padding:6px 8px;margin-top:7px;border-radius:4px;line-height:1.55}
