@font-face{font-family:Courier Prime;src:url(./CourierPrime-Regular-B81zasvX.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Courier Prime;src:url(./CourierPrime-Bold-DNhQQL9N.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Courier Prime;src:url(./CourierPrime-Italic-BHR4tPUH.ttf) format("truetype");font-weight:400;font-style:italic;font-display:swap}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%}body{font-family:Courier Prime,Courier,monospace;background:#fff;color:#111;-webkit-font-smoothing:antialiased}#app{display:flex;flex-direction:column;min-height:100dvh}#topbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;border-bottom:2px solid #111;background:#fff;position:sticky;top:0;z-index:30}.brand strong{font-size:20px;letter-spacing:1px}.brand-sub{display:block;font-size:12px;color:#444}.search-box{position:relative;flex:1 1 260px;max-width:560px}#search-input{width:100%;font:inherit;font-size:14px;padding:9px 10px;border:1.5px solid #111;background:#fff;color:#111;border-radius:0}.search-results{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1.5px solid #111;max-height:320px;overflow:auto;z-index:40;box-shadow:4px 4px #111}.search-results button{display:block;width:100%;text-align:left;font:inherit;font-size:13px;padding:8px 10px;background:#fff;border:0;border-bottom:1px solid #ddd;cursor:pointer}.search-results button:hover{background:#111;color:#fff}.search-results .sr-cat{color:#666;font-size:11px}.search-results button:hover .sr-cat{color:#ccc}.btn,button{font:inherit;font-size:13px;padding:7px 10px;background:#fff;color:#111;border:1.5px solid #111;cursor:pointer;border-radius:0}button:hover{background:#111;color:#fff}button:active{transform:translate(1px,1px)}button[aria-pressed=true]{background:#111;color:#fff}.mobile-only{display:none}.quality-box{display:flex;align-items:center;gap:6px;font-size:12px}.quality-box select{font:inherit;font-size:13px;padding:6px;border:1.5px solid #111;background:#fff;color:#111;border-radius:0}#stage-wrap{display:flex;flex:1;min-height:0}#stage{position:relative;flex:1;min-width:0;min-height:62dvh;background:#f4f4f4}#canvas-host{position:absolute;top:0;right:0;bottom:0;left:0}#canvas-host canvas{display:block}.label-renderer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.label3d{font-family:Courier Prime,Courier,monospace;font-size:11px;line-height:1.2;background:#111;color:#fff;padding:2px 6px;border:1px solid #fff;white-space:nowrap;pointer-events:auto;cursor:pointer;-webkit-user-select:none;user-select:none}.label3d.selected{background:#fff;color:#111;border-color:#111;font-weight:700}.loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:#fff;z-index:20;padding:20px;text-align:center}.loading.done{display:none}.progress-track{width:min(420px,86vw);height:14px;border:1.5px solid #111;background:#fff}.progress-bar{height:100%;width:0%;background:#111;transition:width .2s}.progress-text{font-size:13px}.loading-error{color:#b00020;font-size:13px;max-width:520px;white-space:pre-wrap}.hover-tip{position:absolute;z-index:15;pointer-events:none;background:#111;color:#fff;font-size:12px;padding:3px 8px;border:1px solid #fff;max-width:70vw}.view-bar{position:absolute;left:10px;right:10px;bottom:10px;z-index:12;display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.view-bar button{background:#fff;box-shadow:2px 2px #111;font-size:12px;padding:6px 8px}.tool-bar{position:absolute;right:10px;top:10px;z-index:12;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.tool-bar button{background:#fff;box-shadow:2px 2px #111;font-size:12px;padding:6px 8px}.compass{position:absolute;left:10px;top:10px;width:84px;height:84px;z-index:12;border:1.5px solid #111;background:#ffffffe0;border-radius:50%;pointer-events:none}.compass-dot{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;background:#111;border-radius:50%}.compass-label{position:absolute;left:50%;top:50%;font-size:11px;font-weight:700;transform:translate(-50%,-50%);color:#111}.compass-label.far{opacity:.25;font-weight:400}.sheet-head{display:none;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.side{width:340px;flex:0 0 340px;border-left:2px solid #111;background:#fff;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:12px;max-height:calc(100dvh - 110px)}.panel{border:1.5px solid #111;padding:12px;background:#fff}.panel h2{margin:0 0 10px;font-size:15px;letter-spacing:.5px;text-transform:uppercase;border-bottom:1px solid #111;padding-bottom:6px}.muted{color:#555;font-size:13px;line-height:1.5}.small{font-size:12px}.info-name{font-size:18px;font-weight:700;line-height:1.3;margin-bottom:8px}.info-grid{display:grid;grid-template-columns:84px 1fr;gap:4px 10px;margin:0 0 10px;font-size:13px}.info-grid dt{color:#555}.info-grid dd{margin:0;font-weight:700}.info-label{font-size:12px;color:#555;text-transform:uppercase;letter-spacing:.5px}.info-ta2{font-size:12px;line-height:1.6;word-break:break-word;margin:4px 0 10px}.info-actions,.panel-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.check-row{display:flex;gap:8px;align-items:flex-start;font-size:13px;margin-top:10px;cursor:pointer}.check-row input{margin-top:2px;width:16px;height:16px;accent-color:#111}.layers-list{display:flex;flex-direction:column;gap:8px}.layer-row{border:1px solid #111;padding:8px}.layer-head{display:flex;align-items:center;gap:8px;font-size:13px}.layer-head input[type=checkbox]{width:16px;height:16px;accent-color:#111;flex:0 0 auto}.layer-name{flex:1;line-height:1.3}.layer-count{color:#666;font-size:11px}.layer-swatch{width:14px;height:14px;border:1px solid #111;flex:0 0 auto}.layer-controls{display:flex;align-items:center;gap:8px;margin-top:6px}.layer-controls input[type=range]{flex:1;accent-color:#111}.layer-controls button{font-size:11px;padding:4px 7px}.clip-row{display:grid;grid-template-columns:118px 1fr;gap:8px;align-items:center;margin-bottom:8px;font-size:13px}.clip-row input[type=range]{width:100%;accent-color:#111}.clip-row label{display:flex;gap:6px;align-items:center}.clip-row input[type=checkbox]{width:16px;height:16px;accent-color:#111}#footer{border-top:2px solid #111;padding:8px 14px;font-size:12px;color:#333;display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;background:#fff}.stats{color:#666}.mode-nav{display:flex;gap:4px;flex-wrap:wrap}.mode-btn{font-size:12px;padding:6px 8px}.mode-btn.active{background:#111;color:#fff}.pick-list{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.pick-list button{text-align:left;font-size:13px}.pick-list button.active{background:#111;color:#fff}.info-section{margin-bottom:8px}.info-section p{margin:2px 0 0;font-size:13px;line-height:1.55}.lesson-links{display:flex;flex-direction:column;gap:4px;margin-top:4px}.lesson-links a,.lesson-links button{font:inherit;font-size:12px;color:#111;background:#fff;border:1.5px solid #111;padding:5px 8px;text-decoration:none;text-align:left;cursor:pointer}.lesson-links a:hover,.lesson-links button:hover{background:#111;color:#fff}.tour-bar,.quiz-bar{position:absolute;left:10px;right:10px;bottom:56px;z-index:14;background:#fff;border:2px solid #111;box-shadow:4px 4px #111;padding:10px 12px;max-width:640px;margin:0 auto}.tour-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tour-head strong{flex:1;font-size:13px}.tour-step-title{font-weight:700;font-size:15px;margin-top:6px}.tour-step-text{font-size:13px;line-height:1.55;margin:4px 0 8px}.tour-nav{display:flex;gap:6px}.quiz-feedback{font-size:13px;font-weight:700;min-height:20px;margin-bottom:6px}.quiz-feedback.ok{color:#137333}.quiz-feedback.bad{color:#b00020}.lesion-label{font-family:Courier Prime,Courier,monospace;font-size:11px;font-weight:700;background:#111;color:#fff;padding:2px 6px;border:1px solid #fff;white-space:nowrap}.microscope-vignette{position:absolute;top:0;right:0;bottom:0;left:0;z-index:11;pointer-events:none;background:radial-gradient(ellipse at center,transparent 52%,rgba(0,0,0,.55) 100%)}.zone-label{font-family:Courier Prime,Courier,monospace;font-size:10px;font-weight:700;background:#fff;color:#111;padding:2px 6px;border:1.5px solid #111;white-space:nowrap}.dbs-label{font-family:Courier Prime,Courier,monospace;font-size:10px;font-weight:700;background:#111;color:#fff;padding:2px 6px;border:1px solid #fff;white-space:nowrap}@media(max-width:900px){.mobile-only{display:inline-block}#stage-wrap{flex-direction:column}#stage{min-height:100%;flex:1}.side{position:fixed;left:0;right:0;bottom:0;z-index:50;width:auto;flex:none;border-left:0;border-top:2px solid #111;max-height:58dvh;overflow-y:auto;transform:translateY(105%);transition:transform .28s ease;box-shadow:0 -6px #11111126}.side.open{transform:translateY(0)}.side.hidden-mobile,.sheet-head{display:flex}.brand strong{font-size:17px}.view-bar button,.tool-bar button{font-size:11px;padding:5px 6px}.compass{width:68px;height:68px}.label3d{font-size:9px;padding:1px 4px}.quality-box{font-size:11px}}
