@font-face{font-family:Nunito;src:url('./assets/fonts/nunito-regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Nunito;src:url('./assets/fonts/nunito-bold.ttf') format('truetype');font-weight:700;font-display:swap}@font-face{font-family:Nunito;src:url('./assets/fonts/nunito-black.ttf') format('truetype');font-weight:900;font-display:swap}
:root{--teal:#007c7a;--ink:#092c3a;--muted:#73858b;--line:#e4eceb;--mint:#e6f3ef;--lilac:#eee8fa;--purple:#8b70b2;--white:#fff;--shadow:0 14px 40px #173e3b0c}*{box-sizing:border-box}body{margin:0;background:#f8faf9;color:var(--ink);font:400 14px/1.5 Nunito,system-ui,sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #32a7a1}button{border:0;background:none}button svg,span[data-icon] svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}a{color:var(--teal)}[hidden]{display:none!important}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;gap:28px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:25px;font-weight:900;line-height:1.1;letter-spacing:-.9px;min-width:207px}.brand-mark{background:var(--teal);color:#fff;border-radius:13px;width:43px;height:43px;display:grid;place-items:center;box-shadow:0 5px 14px #007c7a22}.brand-mark svg{width:29px;height:29px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}.brand-teal{color:var(--teal)}.brand sup{color:var(--purple);font-size:13px;letter-spacing:0;margin-left:5px;vertical-align:super}.brand small{display:block;font-size:8px;letter-spacing:1.65px;font-weight:700;margin-top:7px;color:#7a8d91}.topnav{display:flex;align-items:center;height:100%;gap:28px;font-weight:700;font-size:13px}.topnav .nav-active{position:relative;height:100%;display:flex;align-items:center;color:var(--teal)}.nav-active:after{position:absolute;content:'';bottom:0;left:0;right:0;height:3px;background:var(--teal);border-radius:4px}.topnav button{color:var(--muted);display:flex;gap:8px;align-items:center}.topnav button svg{width:15px;height:15px}.edition{margin-left:auto;font-size:11px;background:#f5f3fa;border:1px solid #ece8f2;border-radius:20px;padding:7px 12px;color:#78668d;display:flex;align-items:center;gap:7px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#53a894}.edition .live-dot{background:#a78abd}.app-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:calc(100vh - 84px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 16px 15px;display:flex;flex-direction:column;gap:0}.sidebar-title{font-size:9px;letter-spacing:1.5px;color:#7c8d92;font-weight:900;display:flex;justify-content:space-between;padding:0 10px;margin-bottom:18px}.sidebar-title span{font-size:9px;letter-spacing:0;color:#9aa9ab;font-weight:400}.area{display:flex;align-items:center;width:100%;text-align:left;padding:12px 9px;margin-bottom:7px;border-radius:12px;gap:10px;border:1px solid transparent}.area.active{border-color:#c7e0d9;background:linear-gradient(100deg,#e9f4ef,#f4f9f7);box-shadow:0 3px 8px #007c7a05}.area strong{display:block;font-weight:900;font-size:12px}.area small{display:block;font-size:9px;color:#859394;margin-top:2px}.area.active small{color:#56857f}.area-arrow{margin-left:auto;color:var(--teal)}.area-arrow svg{width:15px!important}.area-illustration{width:35px;height:39px;flex:none;display:grid;place-items:center;border-radius:10px}.area-illustration svg{width:27px!important;height:27px!important;stroke-width:1.4!important}.voice{background:#d2eae3;color:#3b817a}.hearing{background:#faf0e7;color:#b59c86}.mouth{background:#faebee;color:#bd929e}.swallow{background:#e8f1f6;color:#7e9eaf}.brain{background:#eee9f7;color:#a495bb}.fluency{background:#edf3ea;color:#9aaa87}.area.pending strong{color:#768589}.coming-label{font-size:8px;font-weight:900;letter-spacing:1.2px;color:#a3afb0;padding:14px 10px 8px}.sidebar-note{margin-top:auto;background:linear-gradient(135deg,#f0edf8,#f6f3fb);padding:17px 15px;border-radius:13px;color:#7f6c97;margin-top:34px}.sidebar-note>span{display:block;margin-bottom:9px}.sidebar-note strong{font-size:12px;display:block;line-height:1.4}.sidebar-note p{font-size:11px;line-height:1.6;color:#8b7e9a;margin:8px 0 14px}.sidebar-note button{font-weight:900;font-size:10px;display:flex;align-items:center;gap:9px;padding:0}.sidebar-note button svg{width:14px}.sidebar-source{display:flex;gap:8px;align-items:center;color:#8c999b;font-size:10px;padding:20px 10px 0}.sidebar-source svg{width:15px!important}.workspace{padding:27px 28px 0;min-width:0}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px}.breadcrumb{font-size:9px;letter-spacing:1.6px;font-weight:900;color:#7f9898;margin-bottom:6px}.breadcrumb span{padding:0 8px;color:#bbc9c7}h1{font-size:31px;line-height:1.25;font-weight:900;letter-spacing:-.75px;margin:0;display:flex;align-items:center;gap:12px}.title-tag{font-size:9px;letter-spacing:.1px;font-weight:700;background:var(--lilac);color:#8b70ad;padding:5px 9px;border-radius:5px}.workspace-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}.outline-button,.primary-button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce7e3;background:#fff;padding:10px 13px;border-radius:9px;font-size:11px;font-weight:700;white-space:nowrap}.outline-button:hover{background:#eef7f4;border-color:#afccc3}.outline-button svg,.primary-button svg{width:16px!important;height:16px!important}.primary-button{background:var(--teal);color:#fff;border-color:var(--teal)}.primary-button:hover{background:#006763}.stage{position:relative;height:calc(100vh - 251px);min-height:490px;border:1px solid #dfe8e4;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 55% 48%,#fff 0%,#f2f6f3 48%,#e9f0ed 100%);box-shadow:0 5px 30px #193e3510}.stage:fullscreen{height:100vh;border-radius:0;border:0;min-height:0}.stage-heading{display:flex;align-items:center;justify-content:space-between;position:absolute;z-index:5;left:23px;right:17px;top:16px;pointer-events:none}.stage-heading>*{pointer-events:auto}.model-status{display:flex;gap:7px;align-items:center;color:#7b9290;font-size:10px}.stage-actions{display:flex;gap:8px;align-items:center}.icon-button{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;color:#849895;padding:0}.icon-button:hover{background:#e4eee8;color:var(--teal)}.icon-button svg{width:17px;height:17px}.small-button{display:flex;align-items:center;gap:7px;border:1px solid #d9e5dd;background:#ffffffc9;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:700}.small-button svg{width:14px!important;height:14px!important}.small-button b{font-size:8px;border-radius:4px;background:#e6eee9;color:#6c8980;padding:1px 4px}.small-button[aria-expanded=true]{border-color:var(--teal);color:var(--teal)}.render-area{position:absolute;inset:0;transition:right .2s}.stage.has-inspector .render-area{right:308px}#anatomy-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#anatomy-canvas:active{cursor:grabbing}.toolbar{position:absolute;z-index:6;top:77px;left:17px;width:57px;background:#ffffffdf;backdrop-filter:blur(12px);border:1px solid #e2e9e2;box-shadow:0 5px 20px #2e4b3510;border-radius:14px;padding:7px 4px;display:flex;flex-direction:column;gap:2px}.tool{border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px;color:#8a9993;min-height:43px}.tool svg{width:18px!important;height:18px!important}.tool small{font-size:8px;font-weight:700}.tool:hover,.tool.active{background:#e7f3ed;color:var(--teal)}.tool-separator{height:1px;background:#eaf0e9;margin:4px 7px}.stage-footer{position:absolute;left:21px;right:21px;bottom:15px;z-index:4;display:flex;justify-content:space-between;pointer-events:none;gap:10px;font-size:9px;color:#92a39a}.gesture-hint{display:flex;align-items:center;gap:7px}.gesture-hint svg{width:14px!important;height:14px!important}.gesture-hint i{font-style:normal;padding:0 3px}.render-badge{display:flex;align-items:center;gap:7px}.render-badge .live-dot{width:5px;height:5px}.welcome-card{position:absolute;z-index:3;bottom:49px;right:20px;display:flex;gap:10px;align-items:flex-start;padding:14px 11px 13px 14px;width:293px;background:#ffffffdf;backdrop-filter:blur(8px);border:1px solid #e7ece4;border-radius:12px;box-shadow:var(--shadow)}.welcome-icon{padding:8px;border-radius:9px;background:#ede8f6;color:#927aaf}.welcome-icon svg{width:17px!important;height:17px!important}.welcome-card strong{font-size:11px;line-height:1.4;display:block}.welcome-card p{font-size:10px;color:#82928c;line-height:1.6;margin:5px 0 0}.welcome-card .icon-button{width:17px;height:17px;flex:none}.welcome-card .icon-button svg{width:12px}.workspace-footer{font-size:9px;color:#94a29e;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 2px}.workspace-footer>span{display:flex;align-items:center;gap:6px}.status-circle{width:5px;height:5px;border-radius:50%;background:#b29cc7}.workspace-footer button{display:flex;align-items:center;gap:6px;font-size:9px;padding:0;color:#80968d}.workspace-footer button svg{width:11px!important;height:11px!important}.floating-panel{z-index:9;position:absolute;background:#fffffff7;border:1px solid #dce6df;border-radius:13px;padding:17px;box-shadow:0 12px 40px #17382a16;backdrop-filter:blur(12px)}.layers-panel{left:83px;top:190px;width:244px}.views-panel{left:83px;top:270px;width:248px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.panel-title strong>span{background:#eaf2ed;font-size:9px;padding:3px 6px;border-radius:5px;margin-left:5px}.panel-title .icon-button{width:24px;height:24px}.floating-panel p{font-size:11px;color:var(--muted);margin:7px 0 13px}.layer-option{display:flex;align-items:center;padding:10px 0;gap:9px;font-size:11px;border-top:1px solid #eff3ee;cursor:pointer}.layer-option input{accent-color:var(--teal);margin-left:auto;width:15px;height:15px}.color-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.text-button{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:700;color:var(--teal);padding:8px 0}.text-button svg{width:14px!important;height:14px!important}.fine-print{font-size:9px!important;color:#98a39d!important;line-height:1.7}.view-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.view-grid button{font-size:10px;padding:10px 6px;border:1px solid #e3ece5;border-radius:7px;background:#f8faf7}.view-grid button:hover{border-color:#9bc1b6;color:var(--teal)}.structures-panel{right:16px;top:58px;width:286px;max-height:calc(100% - 105px);display:flex;flex-direction:column;padding:16px}.search-field{display:flex;align-items:center;border:1px solid #e5ece6;border-radius:8px;background:#f7faf7;padding:9px;gap:7px;margin:12px 0}.search-field svg{width:14px!important;height:14px!important;color:#8ca095}.search-field input{min-width:0;width:100%;border:0;background:transparent;font-size:11px;color:var(--ink);outline-offset:8px}.structure-list{overflow-y:auto;scrollbar-width:thin;flex:1}.structure-row{display:flex;align-items:center;text-align:left;padding:9px 7px;border-radius:7px;width:100%;gap:9px;font-size:11px}.structure-row:hover,.structure-row.selected{background:#e8f3ed;color:var(--teal)}.structure-row .row-label{flex:1}.structure-row .row-visibility{font-size:8px;color:#9daaa3}.structure-empty{padding:20px;text-align:center;font-size:11px;color:var(--muted)}.inspector{position:absolute;right:16px;top:65px;bottom:47px;width:285px;z-index:7;background:#ffffffed;backdrop-filter:blur(10px);border:1px solid #e1e9df;border-radius:14px;padding:19px;overflow:auto;scrollbar-width:thin;box-shadow:var(--shadow)}.inspector-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.inspector-head>span{text-transform:uppercase;letter-spacing:1.3px;font-size:8px;font-weight:900;color:var(--teal)}.inspector-head button{width:24px;height:24px}.inspector h2{font-size:22px;line-height:1.2;font-weight:900;letter-spacing:-.4px;margin:0 0 7px}.latin{font-style:italic;font-size:10px!important;color:#9aa49e!important;margin:0!important}.detail-divider{height:1px;background:#e7ede5;margin:17px 0}.inspector h3{font-size:10px;text-transform:uppercase;letter-spacing:.9px;color:#7d9287;margin:13px 0 5px}.inspector p{font-size:11px;line-height:1.7;margin:0;color:#647c72}.detail-note{background:#f2eef8;color:#8b76a0;border-radius:8px;font-size:10px;padding:10px;line-height:1.6;margin:13px 0}.detail-controls{display:flex;gap:7px;margin-top:18px}.detail-controls button{font-size:10px;padding:8px 11px;flex:1}.detail-source{display:flex;gap:8px;border-top:1px solid #e6ede5;padding-top:13px;margin-top:13px;color:#91a095}.detail-source>span svg{width:14px!important;height:14px!important}.detail-source div>span{display:block;font-size:8px;margin-bottom:3px}.detail-source a{font-size:9px;text-decoration:none}.label-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.model-label{position:absolute;transform:translate(-50%,-50%);padding:5px 9px;border-radius:6px;background:#ffffffed;box-shadow:0 3px 10px #243d2520;border:1px solid #dee8dd;font-size:9px;white-space:nowrap;color:#4e7261;pointer-events:auto;display:flex;gap:6px;align-items:center}.model-label:before{content:'';width:5px;height:5px;background:#6f9e8c;border-radius:50%}.model-label:hover{border-color:var(--teal);color:var(--teal)}.compass{position:absolute;left:calc(50% - 26px);bottom:49px;color:#9aad9f;text-align:center;font-size:8px;pointer-events:none}.compass>span{display:none}.compass b{font-size:8px;font-weight:400;letter-spacing:1.3px;text-transform:uppercase}.loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:#f2f6f3;z-index:10;color:#7c968b;font-size:12px}.loading strong{font-size:15px;color:var(--teal)}.loading-spinner{width:34px;height:34px;border:2px solid #d9e9de;border-top-color:var(--teal);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;z-index:50;bottom:25px;left:50%;transform:translate(-50%,15px);background:#163e36;color:#fff;padding:11px 18px;border-radius:10px;box-shadow:0 5px 25px #12332920;font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.guide-card{position:absolute;bottom:49px;right:20px;width:304px;z-index:8;background:#fff;border:1px solid #dfd5f0;border-radius:15px;padding:17px;box-shadow:0 8px 30px #5d417c18}.guide-top{display:flex;align-items:center;justify-content:space-between;color:#9476b4;font-weight:900;font-size:9px;letter-spacing:1px}.guide-top button{width:22px;height:22px}.guide-card h3{font-size:17px;margin:7px 0}.guide-card p{font-size:11px;color:#789086;line-height:1.65;margin:0 0 14px}.guide-bottom{display:flex;align-items:center;justify-content:space-between}.guide-bottom .primary-button{font-size:10px;padding:8px 10px}#guide-dots{display:flex;gap:5px}#guide-dots i{width:5px;height:5px;border-radius:50%;background:#e8e1ee}#guide-dots i.active{background:#957ab0;width:14px;border-radius:5px}.mobile-menu{display:none}dialog{border:1px solid #dce8e0;border-radius:20px;max-width:680px;width:calc(100% - 32px);padding:0;box-shadow:0 25px 100px #0b2f3d30;color:var(--ink)}dialog::backdrop{background:#092c3a50;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 28px 18px;border-bottom:1px solid var(--line)}.eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--teal);font-weight:900}.dialog-head h2{font-size:24px;margin:7px 0 0;line-height:1.3;letter-spacing:-.5px}.dialog-body{padding:12px 28px 25px;max-height:68vh;overflow:auto;font-size:12px;line-height:1.8;color:#678075}.dialog-body h3{font-size:14px;color:var(--ink);margin:20px 0 7px}.dialog-body ul{padding-left:18px}.dialog-body li{margin:6px 0}.download-sources{background:#eff5ef;padding:12px 15px;border-radius:10px;margin:16px 0;display:flex;flex-direction:column;gap:8px}.download-sources a{display:flex;align-items:center;gap:8px;font-size:11px;text-decoration:none}.download-sources svg{width:14px!important}.stage.mobile-full{position:fixed;inset:0;z-index:100;height:100dvh;border-radius:0;min-height:0}
@media(min-width:1500px){.sidebar{padding-top:35px}.workspace{padding:32px 40px 0}.stage{height:calc(100vh - 265px);min-height:570px}.sidebar-note{margin-top:auto}.workspace-heading{margin-bottom:26px}.toolbar{top:85px}.tool{padding:10px 2px}.welcome-card{width:310px;bottom:55px;right:25px}}
@media(max-width:1100px){.app-shell{grid-template-columns:206px minmax(0,1fr)}.topbar{padding:0 20px;gap:16px}.brand{min-width:186px;font-size:23px}.topnav{gap:18px;font-size:11px}.edition{font-size:9px}.workspace{padding:23px 20px 0}.sidebar{padding:24px 10px 15px}.area{gap:7px;padding:10px 7px}.area strong{font-size:11px}.area small{font-size:8px}.workspace-heading .outline-button{font-size:10px;padding:9px}.stage{min-height:485px;height:calc(100vh - 244px)}.stage.has-inspector .render-area{right:263px}.inspector{width:250px;right:10px;padding:15px}.inspector h2{font-size:20px}.welcome-card{width:245px}.welcome-card strong{font-size:10px}.welcome-card p{font-size:9px}.workspace-footer{font-size:8px}.workspace-footer button{font-size:8px}.toolbar{left:12px;width:51px}.tool{min-height:40px;padding:6px 1px}.stage-footer{font-size:8px}.topnav button{display:none}}
@media(max-width:760px){.topbar{height:70px;padding:0 16px;gap:12px}.mobile-menu{display:grid;flex:none}.brand{font-size:22px;min-width:0;gap:9px}.brand-mark{width:35px;height:35px;border-radius:10px}.brand-mark svg{width:24px;height:24px}.brand small{font-size:6px;letter-spacing:1.3px;margin-top:5px}.brand sup{font-size:11px}.topnav{display:none}.edition{font-size:0;border:0;background:none;padding:0}.edition .live-dot{width:7px;height:7px;background:#a78abd}.app-shell{display:block;min-height:calc(100dvh - 70px)}.sidebar{position:fixed;left:0;top:70px;bottom:0;width:245px;z-index:30;transform:translateX(-100%);transition:transform .2s;box-shadow:20px 0 50px #153d3020;overflow:auto;padding:25px 16px}.sidebar.open{transform:translateX(0)}.sidebar-title{font-size:10px}.area strong{font-size:12px}.area small{font-size:9px}.sidebar-note{margin-top:auto}.workspace{padding:19px 12px 0}.workspace-heading{margin:0 4px 16px;align-items:center}.breadcrumb{font-size:8px;letter-spacing:1.2px}h1{font-size:27px;gap:8px}.title-tag{font-size:8px;padding:4px 7px}.workspace-heading p{font-size:10px;margin-top:4px}.workspace-heading>.outline-button{font-size:0;padding:10px;border-radius:10px}.workspace-heading>.outline-button svg{width:20px!important;height:20px!important}.stage{height:calc(100dvh - 232px);min-height:465px;border-radius:16px}.stage-heading{left:14px;right:9px;top:12px}.model-status{font-size:8px;gap:5px}.stage-actions{gap:3px}.small-button{font-size:9px;padding:6px 8px;gap:5px}.small-button b{display:none}.toolbar{left:9px;top:57px;width:44px;padding:4px 2px;border-radius:11px}.tool{min-height:36px;padding:5px 0;gap:2px}.tool svg{width:16px!important;height:16px!important}.tool small{font-size:6.5px}.tool-separator{margin:2px 6px}.welcome-card{right:10px;bottom:38px;width:235px;padding:10px;gap:8px}.welcome-icon{padding:6px}.welcome-card strong{font-size:9px}.welcome-card p{font-size:8px;line-height:1.5}.stage-footer{left:12px;right:12px;bottom:12px;font-size:7px}.gesture-hint{gap:4px}.gesture-hint svg{width:12px!important}.render-badge{display:none}.workspace-footer{padding:10px 4px;align-items:flex-start;font-size:7px;gap:6px}.workspace-footer button{font-size:7px;max-width:105px;text-align:right}.workspace-footer>span{max-width:210px;line-height:1.5}.stage.has-inspector .render-area{right:0;bottom:230px}.stage.has-inspector{min-height:650px}.inspector{top:auto;bottom:35px;left:10px;right:10px;width:auto;height:218px;padding:15px 17px;box-shadow:0 -4px 25px #21452d10}.inspector-head{margin:0 0 4px}.inspector h2{font-size:18px;max-width:85%}.latin{font-size:9px!important}.detail-divider{margin:10px 0}.inspector p{font-size:11px}.inspector h3{font-size:9px}.detail-controls{margin-top:12px}.compass{bottom:58px;font-size:7px}.layers-panel{left:61px;top:126px;width:230px;max-height:calc(100% - 175px);overflow:auto}.views-panel{left:61px;top:177px;width:230px}.structures-panel{top:51px;right:9px;width:calc(100% - 72px);max-height:calc(100% - 96px)}.model-label{font-size:8px;padding:4px 6px}.guide-card{right:10px;bottom:37px;width:calc(100% - 72px);padding:13px}.guide-card h3{font-size:15px}.guide-card p{font-size:10px}.dialog-head{padding:20px}.dialog-head h2{font-size:22px}.dialog-body{padding:10px 20px 20px;max-height:65dvh}.toast{font-size:11px;text-align:center;bottom:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.loading-spinner{animation-duration:2s}}

/* Readability: larger type and stronger contrast, including compact screens. */
:root{--muted:#405a64;--purple:#684b8a}
body{font-size:16px}
.brand small{color:#405a64;font-size:10px;letter-spacing:1px}
.topnav{font-size:15px}.edition{font-size:12px;color:#59416f}
.sidebar-title,.sidebar-title span,.coming-label{font-size:12px;color:#405a64;letter-spacing:.7px}
.area strong{font-size:16px}.area small{font-size:13px;color:#405a64}.area.active small{color:#285e56}.area.pending strong{color:#405a64}
.sidebar-note{color:#51366d}.sidebar-note strong{font-size:16px}.sidebar-note p{font-size:15px;color:#513e65;line-height:1.65}.sidebar-note button,.sidebar-source{font-size:14px;color:#51366d}
.breadcrumb{font-size:12px;color:#405a64;letter-spacing:.8px}.title-tag{font-size:12px;color:#59416f}.workspace-heading p{font-size:16px}
.outline-button,.primary-button{font-size:14px;min-height:44px;white-space:normal}.workspace-heading .outline-button{font-size:14px}
.model-status{font-size:12px;color:#34564d}.icon-button{color:#34564d;min-width:36px;min-height:36px}.small-button{font-size:14px;min-height:42px}.small-button b{font-size:12px;color:#34564d}
.toolbar{width:66px}.tool{color:#34564d;min-height:48px}.tool small{font-size:11px}.tool svg{width:20px!important;height:20px!important}
.stage-footer,.workspace-footer,.workspace-footer button{font-size:12px;color:#405a50}.workspace-footer{flex-wrap:wrap}.stage-footer{flex-wrap:wrap}.gesture-hint{flex-wrap:wrap}
.welcome-card{width:330px;background:#fff}.welcome-card strong{font-size:15px}.welcome-card p{font-size:14px;color:#405a50;line-height:1.65}
.panel-title{font-size:16px}.panel-title strong>span{font-size:12px}.floating-panel p,.layer-option{font-size:15px;color:#34564d}.fine-print{font-size:12px!important;color:#405a50!important}.text-button{font-size:14px;min-height:44px}
.layers-panel,.views-panel{left:92px;width:275px}.view-grid button{font-size:14px;min-height:44px}
.structures-panel{width:325px}.search-field input{font-size:16px}.search-field input::placeholder{color:#52655d;opacity:1}.structure-row{font-size:16px;min-height:46px}.structure-row .row-visibility{font-size:12px;color:#405a50}.structure-empty{font-size:16px}
.inspector{width:340px;background:#fff;padding:20px}.stage.has-inspector .render-area{right:365px}.inspector-head>span{font-size:12px;letter-spacing:.7px}.inspector h2{font-size:26px;line-height:1.25}.latin{font-size:14px!important;color:#405a50!important}.inspector h3{font-size:13px;color:#34564d;letter-spacing:.7px}.inspector p{font-size:16px;line-height:1.7;color:#203e48}.detail-note{font-size:15px;color:#51366d;line-height:1.65}.detail-controls{flex-wrap:wrap}.detail-controls button{font-size:14px;min-height:44px}.detail-source{color:#405a50}.detail-source div>span{font-size:12px}.detail-source a{font-size:14px;text-decoration:underline}
.model-label{font-size:13px;color:#254f40}.compass,.compass b{font-size:11px;color:#405a50;letter-spacing:.7px}
.guide-card{width:350px;max-height:calc(100% - 120px);overflow:auto}.guide-top{font-size:12px;color:#59416f;letter-spacing:.5px}.guide-card h3{font-size:21px;line-height:1.3}.guide-card p{font-size:16px;color:#203e48;line-height:1.65}.guide-bottom .primary-button{font-size:14px;min-height:44px}
.eyebrow{font-size:12px}.dialog-body{font-size:16px;color:#203e48;line-height:1.75}.dialog-body h3{font-size:18px}.download-sources a{font-size:15px;overflow-wrap:anywhere}.toast{font-size:15px}.loading{font-size:16px}
@media(max-width:1100px) and (min-width:761px){.app-shell{grid-template-columns:225px minmax(0,1fr)}.inspector{width:310px}.stage.has-inspector .render-area{right:330px}.stage.has-inspector{min-height:640px}.welcome-card{width:285px}.model-status{max-width:125px}.stage-footer{max-width:calc(100% - 40px)}}
@media(max-width:760px){
 .brand small{font-size:8px}.sidebar{width:min(310px,90vw)}.sidebar-note{margin-top:24px}
 .breadcrumb{font-size:11px}.title-tag{font-size:11px}h1{flex-wrap:wrap;gap:6px}.workspace-heading p{font-size:16px}.workspace-heading>.outline-button{font-size:0;min-width:44px;flex:none}
 .stage{height:calc(100dvh - 255px);min-height:590px}.stage-heading{align-items:flex-start;gap:8px}.model-status{max-width:125px;line-height:1.4}.stage-actions{flex-shrink:0}.small-button{font-size:13px;padding:6px}.toolbar{top:78px;left:8px;width:58px}.tool{min-height:48px;padding:7px 0}.tool small{font-size:10px}.tool-separator{margin:3px 6px}
 .welcome-card{width:calc(100% - 86px);right:10px;bottom:64px;padding:12px;display:block}.welcome-icon{display:none}.welcome-card .icon-button{position:absolute;right:5px;top:5px;min-width:28px;min-height:28px}.welcome-card strong{font-size:15px;padding-right:15px}.welcome-card p{font-size:14px}
 .stage-footer{bottom:12px;font-size:12px;line-height:1.5}.workspace-footer{font-size:12px;gap:10px}.workspace-footer button{font-size:12px;max-width:none;text-align:left;min-height:36px}.workspace-footer>span{max-width:none}
 .stage.has-inspector{min-height:840px}.stage.has-inspector .render-area{right:0;bottom:365px}.inspector{left:8px;right:8px;bottom:58px;width:auto;height:315px;padding:16px}.inspector h2{font-size:24px;max-width:90%}.inspector p{font-size:16px}.inspector h3{font-size:13px}.latin{font-size:14px!important}.inspector-head{margin-bottom:7px}
 .layers-panel,.views-panel{left:73px;width:calc(100% - 83px);padding:13px}.layers-panel{top:140px;max-height:calc(100% - 205px)}.views-panel{top:200px}.structures-panel{top:65px;left:8px;right:8px;width:auto;max-height:calc(100% - 125px)}
 .guide-card{left:73px;right:10px;width:auto;bottom:64px;padding:14px;max-height:calc(100% - 150px)}.guide-top{font-size:11px}.guide-card h3{font-size:20px}.guide-card p{font-size:16px}.guide-bottom{gap:8px}.model-label{font-size:12px}.compass{bottom:65px}.dialog-head{padding:18px}.dialog-body{padding:10px 18px 20px}.toast{font-size:15px}
}

/* Shared context stays readable without covering the anatomical viewer. */
.module-scope{font-size:16px;line-height:1.6;color:#344a50;background:#edf4f1;border-left:3px solid #007c7a;padding:12px 16px;border-radius:0 10px 10px 0;margin:16px 0 0}
.layers-panel{max-height:calc(100% - 150px);overflow-y:auto}
.download-sources{flex-wrap:wrap}
@media(max-width:700px){.module-scope{font-size:16px;padding:12px}.area-list .area{min-height:70px}}
@media(max-width:760px){
 .stage:has(.guide-card:not([hidden])){min-height:860px}
 .stage:has(.guide-card:not([hidden])) .render-area{bottom:400px}
 .stage .guide-card{left:10px;right:10px;bottom:58px;max-height:330px}
}

/* Study library, with the same high-contrast typography as the viewer. */
.content-tabs{display:flex;gap:8px;border-bottom:1px solid #d8e6e0;margin:0 0 14px;padding-bottom:10px;flex-wrap:wrap}
.content-tabs button{font-size:16px;font-weight:800;padding:11px 16px;border-radius:10px;color:#34545b;min-height:46px}
.content-tabs button[aria-selected=true]{background:#007c7a;color:white;box-shadow:0 3px 12px #007c7a18}
.content-tabs b{font-size:12px;background:#e2efeb;color:#174d49;border-radius:5px;margin-left:6px;padding:2px 5px}
.scene-choices{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.scene-choices button{border:1px solid #d2e1da;border-radius:20px;background:white;color:#3e5c62;padding:8px 14px;font-size:14px;font-weight:700;min-height:40px}
.scene-choices button[aria-pressed=true]{background:#e4f1eb;border-color:#55a69a;color:#005c59}
.learning-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0 24px}
.learning-heading h2{font-size:29px;line-height:1.25;margin:6px 0 10px;letter-spacing:-.5px}
.learning-heading p{color:#405a64;font-size:15px;margin:0}
.article-kicker{color:#006c68;font-size:12px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.learning-search{display:flex;flex-direction:column;gap:5px;min-width:250px;font-size:12px;font-weight:800;color:#405a64}
.learning-search input{border:1px solid #bdcfc8;padding:12px;border-radius:9px;font-size:16px;color:#173e48;background:#fff;width:100%}
.study-layout{display:grid;grid-template-columns:minmax(250px,31%) minmax(0,1fr);gap:20px;align-items:start}
.topic-list{display:flex;flex-direction:column;gap:8px;max-height:790px;overflow:auto;padding-right:3px}
.topic-item{display:flex;align-items:flex-start;text-align:left;gap:12px;padding:17px 14px;background:#fff;border:1px solid #dbe7df;border-radius:12px}
.topic-item:hover,.topic-item.selected{background:#eaf5ef;border-color:#5ca69a}
.topic-number{display:grid;place-items:center;flex-shrink:0;background:#edf0f8;color:#5a4676;width:30px;height:30px;border-radius:9px;font-size:12px;font-weight:900}
.topic-item strong{display:block;font-size:16px;line-height:1.4;color:#173b43}
.topic-item small{display:block;font-size:14px;line-height:1.6;color:#47616a;margin-top:6px}
.study-article{background:#fff;border:1px solid #dbe7df;border-radius:18px;padding:30px;box-shadow:0 8px 28px #21483808}
.study-article h2{font-size:30px;line-height:1.2;letter-spacing:-.5px;margin:12px 0}
.study-article .article-summary{font-size:18px;color:#42616a;line-height:1.6;padding-bottom:20px;border-bottom:1px solid #e2ebe6}
.study-article h3{font-size:20px;margin:26px 0 8px;color:#174f4c}
.study-article p{font-size:18px;color:#203e48;line-height:1.85;margin:10px 0}
.article-sources{border-top:1px solid #e0e9e3;margin:25px 0;padding-top:2px}
.article-sources ul{padding-left:20px;line-height:1.8;font-size:15px}.article-sources li{padding:4px 0}
.relate-model{background:#f0f5f0;padding:0 16px 16px;border-radius:12px;display:flow-root}
.relate-model div{display:flex;gap:8px;flex-wrap:wrap}.relate-model button{padding:9px 12px;border:1px solid #bbd4c8;border-radius:8px;background:white;font-size:14px;color:#006c68;min-height:44px;text-align:left}
.study-article .primary-button{font-size:16px;min-height:46px}.study-article .local-progress{font-size:12px;color:#4c6568}
.glossary{margin:30px 0}.glossary h2{font-size:24px}.glossary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.glossary details{background:#f0edf6;border:1px solid #ded6e8;padding:17px;border-radius:12px;color:#3e3554;font-size:16px}
.glossary summary{cursor:pointer;font-weight:800;min-height:28px}.glossary p{line-height:1.75}.glossary a{font-size:14px;color:#4e3d75}
.quiz-question{background:white;border:1px solid #d8e5dd;border-radius:16px;padding:26px;margin-bottom:18px;max-width:950px}
.quiz-question h3{font-size:22px;margin:10px 0 18px;line-height:1.4}.quiz-options{display:grid;gap:10px}
.quiz-options button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #d3dfd9;background:#f8faf8;border-radius:10px;padding:14px;font-size:17px;line-height:1.6;color:#203e48}
.quiz-options button>span{font-size:13px;font-weight:900;background:#e9edf3;border-radius:6px;min-width:28px;height:28px;display:grid;place-items:center}
.quiz-options button:hover:not(:disabled){border-color:#17877a;background:#eaf5ef}.quiz-options button.correct{border-color:#23836a;background:#e5f3eb}.quiz-options button.incorrect{border-color:#bb7568;background:#fff1ec}.quiz-options button:disabled{opacity:1;cursor:default}
.quiz-explanation{background:#edf4f1;padding:20px;border-radius:10px;margin-top:16px;font-size:17px;line-height:1.7}.quiz-explanation p{margin:8px 0}.quiz-explanation a{font-size:14px}.quiz-explanation .text-button{font-size:15px}
.search-empty{padding:15px;font-size:16px;color:#405a64}
.study-filters{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:0 0 18px}.study-filters label{display:flex;flex-wrap:wrap;max-width:100%;align-items:center;gap:10px;font-size:15px;font-weight:700;color:#203e48}.study-filters select{font:inherit;font-size:16px;background:#fff;border:1px solid #9dbab0;color:#173e48;border-radius:9px;min-height:46px;max-width:100%;padding:9px 12px}.study-filters p{color:#405a64;font-size:14px;margin:0}select:focus-visible{outline:3px solid #32a7a1;outline-offset:3px}
@media(max-width:1100px){.learning-heading{align-items:flex-start;flex-direction:column;gap:14px}.learning-search{width:100%}.study-layout{grid-template-columns:1fr}.topic-list{display:grid;grid-template-columns:1fr 1fr;max-height:330px}.study-article{padding:26px}}
@media(max-width:760px){.content-tabs{gap:3px}.content-tabs button{font-size:13px;padding:10px 9px}.content-tabs b{margin-left:3px;font-size:10px}.scene-choices{gap:6px}.scene-choices button{font-size:13px;padding:8px 10px}.learning-heading h2{font-size:25px}.topic-list{grid-template-columns:1fr;max-height:320px}.study-article{padding:22px 18px}.study-article h2{font-size:27px}.study-article p{font-size:17px;line-height:1.8}.study-article .article-summary{font-size:17px}.glossary-grid{grid-template-columns:1fr}.quiz-question{padding:20px 15px}.quiz-question h3{font-size:20px}.quiz-options button{font-size:16px;padding:12px}.quiz-explanation{font-size:16px;padding:15px}.learning-heading .outline-button{font-size:15px}}
