.workspace{flex:1;grid-template-columns:280px minmax(0,1fr) 304px;min-height:0;display:grid}.viewer{background:var(--canvas);min-width:0;min-height:0;position:relative;overflow:hidden}.viewer>div:has(>canvas){touch-action:none}.viewport-caption{z-index:1;pointer-events:none;color:var(--muted);justify-content:space-between;gap:16px;font-size:.75rem;display:flex;position:absolute;top:24px;left:24px;right:24px}.viewport-caption span:last-child{letter-spacing:.12em}.viewer-message{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:32px;display:flex;position:absolute;inset:0}.viewer-message h2{font-size:1.5rem}.viewer-message p{max-width:360px;color:var(--muted);font-size:.875rem}.viewer-message>svg{color:var(--accent)}.viewport-bottom{pointer-events:none;flex-direction:column;align-items:center;gap:12px;display:flex;position:absolute;bottom:24px;left:16px;right:16px}.camera-bar{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);pointer-events:auto;border-radius:12px;align-items:center;gap:4px;max-width:100%;padding:4px;display:flex}.camera-bar button{white-space:nowrap;background:0 0;border:0;min-width:40px;padding:8px;font-size:.75rem}.camera-bar button:hover{background:var(--soft);color:var(--accent)}.toolbar-divider{background:var(--border);width:1px;height:24px;margin:0 4px}.gesture-hint{color:var(--muted);text-align:center;font-size:.6875rem}@media (width>=901px) and (width<=1200px){.workspace{grid-template-columns:248px minmax(0,1fr) 264px}.camera-bar{flex-wrap:wrap;justify-content:center}.camera-bar button{font-size:.6875rem}}@media (width<=900px){.workspace{display:block;position:relative}.workspace>*{height:100%}.workspace[data-panel=model]>.explorer,.workspace[data-panel=model]>.inspector,.workspace[data-panel=explore]>.viewer,.workspace[data-panel=explore]>.inspector,.workspace[data-panel=inspect]>.viewer,.workspace[data-panel=inspect]>.explorer{display:none}.viewport-bottom{gap:8px;bottom:16px;left:8px;right:8px}.camera-bar{gap:0}.camera-bar button{min-width:40px;padding:8px;font-size:.6875rem}.toolbar-divider{margin:0}.viewport-caption{top:16px;left:16px;right:16px}}.explorer,.inspector{background:var(--surface)}.explorer{border-right:1px solid var(--border);flex-direction:column;min-height:0;display:flex}.explorer-top{flex-shrink:0;padding:24px 16px 8px}.explorer h1{margin:0 8px 16px;font-size:1.5rem}.search-field{border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;padding-left:12px;display:flex}.search-field>svg{color:var(--muted);flex-shrink:0}.search-field input{background:0 0;border:0;width:100%;min-width:0;padding-left:0;font-size:.8125rem}.search-field input::-webkit-search-cancel-button{display:none}.search-field button{border:0;padding:8px}.layers{border-bottom:1px solid var(--border);margin:24px 0 16px;padding-bottom:16px}.layers h2,.list-heading h2{font-size:1.125rem}.layers h2{margin:0 8px 8px}.layer-row{grid-template-columns:minmax(116px,1fr) 56px 32px;align-items:center;gap:8px;display:grid}.layer-toggle{background:0 0;border:0;justify-content:flex-start;padding:8px;font-size:.8125rem}.layer-toggle[aria-pressed=true]{color:var(--text);background:0 0}.layer-toggle[aria-pressed=false]{color:var(--muted)}.layer-toggle svg{color:var(--system-color)}.layer-row input[type=range]{width:100%;min-height:32px;accent-color:var(--system-color);cursor:pointer;border:0;padding:0}.layer-row input:disabled{opacity:.35}.layer-value{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.6875rem}.list-heading{justify-content:space-between;align-items:center;margin:0 8px 8px;display:flex}.list-heading span{color:var(--muted);font-size:.75rem}.explorer-top select{width:100%;min-height:40px;font-size:.75rem}.structure-list{overscroll-behavior:contain;scrollbar-width:thin;flex:1;margin:0;padding:8px 16px 24px;list-style:none;overflow:auto}.structure-row{text-align:left;border:0;border-radius:4px;justify-content:flex-start;gap:8px;width:100%;min-height:44px;padding:8px;font-size:.8125rem;line-height:1.4;display:flex}.structure-row>span:nth-child(2){flex:1}.structure-row>svg{opacity:0;flex-shrink:0}.structure-row:hover>svg,.structure-row[aria-pressed=true]>svg{opacity:1}.structure-row[aria-pressed=true]{box-shadow:inset 3px 0 0 var(--accent)}.system-dot{background:var(--system-color);border-radius:50%;flex-shrink:0;width:6px;height:6px}.system-bones{--system-color:#9a8a70}.system-muscles{--system-color:#b35f55}.system-arteries{--system-color:#cc4753}.system-veins{--system-color:#4b78b6}.system-nerves{--system-color:#b28b35}.system-context{--system-color:#9b949d}.empty-results{color:var(--muted);padding:24px;font-size:.875rem}.inspector{border-left:1px solid var(--border);scrollbar-width:thin;padding:32px 24px;overflow-y:auto}.inspector-system{color:var(--muted);align-items:center;gap:8px;font-size:.75rem;display:flex}.side-label{margin-left:auto}.structure-title{letter-spacing:-.04em;overflow-wrap:break-word;margin-top:16px;font-size:2rem;line-height:1.12}.source-label{color:var(--muted);margin-top:8px;font-family:Georgia,serif;font-size:.9375rem;font-style:italic}.inspector-actions{gap:8px;margin:24px 0 8px;display:flex}.inspector-actions>button:first-child{flex:1;font-size:.75rem}.teaching-notes{margin:0}.teaching-notes>div,.inspector-section{border-bottom:1px solid var(--border);padding:24px 0}.teaching-notes dt,.inspector-section h3{margin:0 0 8px;font-family:Georgia,serif;font-size:1.25rem;font-weight:500}.teaching-notes dd{margin:0}.teaching-notes dd,.inspector-section p,.anatomy-note{color:var(--muted);font-size:.875rem;line-height:1.65}.sources{border-bottom:0;flex-direction:column;align-items:flex-start;gap:8px;display:flex}.sources a{align-items:center;gap:8px;min-height:32px;font-size:.75rem;display:flex}.sources button{font-size:.75rem}.inspector-empty{flex-direction:column;justify-content:center;gap:16px;display:flex}.inspector-empty>svg{color:var(--muted)}.inspector-empty p{color:var(--muted);font-size:.875rem}@media (width>=901px) and (width<=1200px){.layer-row{grid-template-columns:minmax(100px,1fr) 40px 28px;gap:4px}.inspector{padding:24px 16px}}@media (width<=900px){.explorer{overscroll-behavior:contain;border:0;display:block;overflow-y:auto}.explorer-top{padding-top:16px}.structure-list{overflow:visible}.layer-row{grid-template-columns:minmax(144px,1fr) 104px 40px}.layers{margin-top:16px;margin-bottom:8px;padding-bottom:8px}.inspector{border:0;padding:24px}}.nerve-VII{--system-color:#efd258}.nerve-V,.nerve-V1,.nerve-V2,.nerve-V3{--system-color:#dda052}.study-controls{z-index:3;max-width:560px;margin:auto;position:absolute;top:16px;left:16px;right:16px}.study-modes{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:12px;gap:4px;padding:4px;display:flex}.study-modes button{white-space:nowrap;background:0 0;border:0;flex:1;padding:8px;font-size:.75rem}.study-modes button[aria-pressed=true]{background:var(--soft)}.study-settings{border:1px solid var(--border);background:var(--surface);max-width:440px;box-shadow:var(--shadow);border-radius:12px;margin:8px auto 0}.study-settings summary{cursor:pointer;align-items:center;gap:8px;min-height:44px;padding:8px 12px;font-size:.75rem;list-style:none;display:flex}.study-settings summary::-webkit-details-marker{display:none}.study-current{color:var(--accent);text-align:right;margin-left:auto;font-size:.6875rem}.study-settings-body{flex-direction:column;gap:12px;max-height:min(380px,48dvh);padding:0 16px 16px;display:flex;overflow-y:auto}.study-settings-body p{color:var(--muted);font-size:.75rem}.study-range{flex-direction:column;gap:4px;font-size:.75rem;display:flex}.study-range>span{justify-content:space-between;gap:8px;display:flex}.study-range strong{color:var(--accent);text-align:right;font-weight:500}.study-range input{width:100%;height:40px;accent-color:var(--accent);border:0;padding:0}.study-selects{grid-template-columns:1fr 1fr;gap:8px;display:grid}.study-selects label{flex-direction:column;gap:4px;font-size:.75rem;display:flex}.study-selects select{width:100%;min-width:0;font-size:.8125rem}.context-toggle{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-size:.8125rem;display:flex}.context-toggle input{width:20px;min-height:24px;accent-color:var(--accent);margin:0}.tissue-caption{color:var(--muted);text-align:center;text-wrap:balance;max-width:440px;padding:0 8px;font-size:.6875rem}.tissue-status{background:var(--surface);border:1px solid var(--border);pointer-events:auto;border-radius:8px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:.75rem;display:flex}.tissue-status button{font-size:.75rem}.layers{margin:16px 0;padding-bottom:8px}.layers details>summary{cursor:pointer;min-height:44px;padding:8px;font-size:.875rem;font-weight:600}.layers details+details{margin-top:8px}.explorer{overscroll-behavior:contain;scrollbar-width:thin;overflow-y:auto}.structure-list{overflow:visible}.layer-toggle{font-size:.75rem}.layer-toggle:disabled{cursor:default;opacity:.65}.layer-row{grid-template-columns:minmax(0,1fr) 48px 32px;gap:4px}.system-skin{--system-color:#bd856e}.system-superficialFat{--system-color:#ad8229}.system-deepFat{--system-color:#be751b}.system-fascia{--system-color:#3c9890}.system-ligaments{--system-color:#7353d6}.provenance-badge{border:1px solid var(--border);background:var(--hover);color:var(--muted);border-radius:8px;padding:8px 12px;font-size:.6875rem;line-height:1.4;display:inline-flex}.skin-section{overscroll-behavior:contain;padding:24px 32px 32px;position:absolute;inset:88px 0 0;overflow-y:auto}.section-heading{max-width:520px;margin:auto}.study-eyebrow{color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-size:.6875rem}.section-heading h2{letter-spacing:-.03em;margin:8px 0;font-size:2rem}.section-heading p{color:var(--muted);font-size:.8125rem}.skin-diagram{width:min(100%,580px);margin:8px auto;display:block;overflow:visible}.section-band{cursor:pointer;outline:none}.section-front,.section-top,.section-side{stroke-width:1px;stroke:var(--canvas);fill:var(--tissue)}.section-top{filter:brightness(1.07)}.section-side{filter:brightness(.8)}.section-band[aria-pressed=true] .section-front,.section-band:focus-visible .section-front{stroke:var(--accent);stroke-width:3px}.section-band:hover .section-front{filter:brightness(1.07)}.section-epidermis{--tissue:#bc826c}.section-papillary{--tissue:#e8b0a7}.section-reticular{--tissue:#d39794}.section-hypodermis{--tissue:#eacb79}.skin-papillae{fill:none;stroke:#9e655c;stroke-width:2px}.adipose-lobules ellipse{fill:#f5d894;stroke:#cda95f;stroke-width:2px}.dermal-fibres{stroke:#b2767e;stroke-width:3px;fill:none;opacity:.6}.dermal-vessel{stroke:#b54757;stroke-width:4px;fill:none}.dermal-nerve{stroke:#866821;stroke-width:3px;fill:none}.section-number-bg{fill:var(--surface);stroke:var(--border)}.section-number{fill:var(--text);text-anchor:middle;font-family:inherit;font-size:12px}.section-layer-list{grid-template-columns:1fr 1fr;gap:8px;max-width:520px;margin:auto;display:grid}.section-layer-list button{text-align:left;justify-content:flex-start;font-size:.8125rem}.section-layer-list button>span{opacity:.7;font-size:.6875rem}.section-detail{max-width:520px;min-height:112px;margin:24px auto 8px}.section-detail h3{margin-bottom:8px;font-size:1.25rem}.section-detail p{color:var(--muted);font-size:.875rem}.section-source{max-width:520px;margin:auto;padding:8px 0;font-size:.75rem;display:block}summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}@media (width>=901px) and (width<=1200px){.study-modes button{flex-direction:column;gap:4px;font-size:.6875rem}.study-modes{gap:0}.study-current{max-width:112px}.viewport-caption{top:160px}.skin-section{padding:16px;top:104px}}@media (width<=900px){.study-controls{top:8px;left:8px;right:8px}.study-modes button{gap:4px;padding:8px 4px;font-size:.6875rem}.study-modes button svg{width:14px}.viewport-caption{font-size:.6875rem;top:128px}.tissue-caption{max-width:340px;font-size:.625rem}.skin-section{padding:16px;inset:72px 0 0}.section-heading h2{font-size:1.5rem}.section-layer-list button{font-size:.75rem}.layer-row{grid-template-columns:minmax(144px,1fr) 104px 40px}.section-detail{margin-top:16px}}.canvas-stage{touch-action:none;position:absolute;inset:144px 0 176px}.viewport-caption{top:132px}@media (width<=900px){.canvas-stage{inset:120px 0 128px}.viewport-caption{top:120px}.gesture-hint{display:none}}.fat-frontalCentral{--system-color:#f2ce58}.fat-frontalLateral{--system-color:#f5ac54}.fat-temporal{--system-color:#dca942}.fat-orbital{--system-color:#eb87ad}.fat-malar{--system-color:#ef884c}.fat-lateralCheek{--system-color:#cb995c}.fat-nasolabial{--system-color:#ab79bf}.fat-jowlSuperior{--system-color:#a9c971}.fat-jowlInferior{--system-color:#7dad62}.fat-chin{--system-color:#69a5d3}.fat-submental{--system-color:#5489b5}.fat-guide{margin-top:16px;font-size:.8125rem}.fat-guide label{gap:8px;display:grid}.fat-guide select{min-height:44px}.fat-guide p{color:var(--muted);margin:8px 0;font-size:.75rem}.fat-swatch{background:var(--system-color);border-radius:4px;flex-shrink:0;width:12px;height:12px;box-shadow:inset 0 0 0 1px #0002}.fat-group-label{color:var(--muted);align-items:center;gap:8px;margin-top:16px;font-size:.8125rem;display:flex}:root{color:var(--text);background:var(--canvas);font-synthesis:none;--canvas:#fff9f8;--surface:#fff;--text:#171214;--muted:#72686d;--border:#eadde3;--accent:#be0a78;--soft:#fbeaf4;--hover:#faf4f6;--shadow:0 8px 32px #31202a0a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Avenir Next,Wix Madefor Text,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--canvas:#181316;--surface:#231c21;--text:#fff8fb;--muted:#c1b2bb;--border:#42313c;--accent:#ff88c9;--soft:#452035;--hover:#30252d;--shadow:0 8px 32px #0003;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{min-height:44px;color:inherit;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:.875rem;transition:background .14s,color .14s;display:inline-flex}button:hover{background:var(--hover)}button:disabled{cursor:wait;opacity:.55}button[aria-pressed=true],button.active{color:var(--accent);background:var(--soft)}button svg{flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:var(--accent);text-underline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,Times New Roman,serif;font-weight:500}p{line-height:1.65}input,select{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;min-height:44px;padding:8px 12px}.app-shell{flex-direction:column;height:100dvh;min-height:640px;display:flex}.app-header{border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;justify-content:space-between;align-items:center;height:80px;padding:0 24px;display:flex}.brand{align-items:center;gap:16px;display:flex}.brand img{object-fit:contain;border-radius:8px;width:48px;height:48px}.brand>span{letter-spacing:-.04em;white-space:nowrap;font-family:Georgia,serif;font-size:1.5rem}.brand .brand-subtitle{color:var(--muted);letter-spacing:0;border-left:1px solid var(--border);margin-left:8px;padding-left:24px;font-size:1rem}.header-actions,.locale-switch{align-items:center;gap:4px;display:flex}.locale-switch{margin-right:16px}.header-actions button{background:0 0;border-color:#0000;min-width:44px}.locale-switch button{font-size:.8rem;font-weight:600}.locale-switch button[aria-pressed=true]{color:var(--accent);text-underline-offset:8px;text-decoration:underline}.skip-link{z-index:10;background:var(--surface);padding:16px;position:absolute;top:-100px;left:16px}.skip-link:focus{top:8px}.app-footer{background:var(--surface);border-top:1px solid var(--border);min-height:40px;color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding:0 24px;font-size:.75rem;display:flex}.app-footer button{min-height:40px;font-size:inherit;background:0 0;border:0;padding:0}.text-button{color:var(--accent);background:0 0;border:0;justify-content:flex-start;padding-left:0}.review-note{color:var(--muted);font-size:.75rem;line-height:1.6}.mobile-nav{display:none}.access-screen{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:48px 24px;display:flex;overflow-y:auto}.access-card{flex-direction:column;gap:24px;width:min(440px,100%);display:flex}.access-card h1{letter-spacing:-.04em;font-size:2.5rem;line-height:1.15}.access-card p{color:var(--muted);font-size:.9375rem}.access-card form{flex-direction:column;gap:16px;display:flex}.access-card label{flex-direction:column;gap:8px;font-size:.875rem;display:flex}.access-card input{width:100%;min-height:48px}.primary-button{color:#fff;background:#be0a78;border-color:#be0a78;min-height:48px;font-weight:600}.primary-button:hover{background:#942270}.access-card .auth-feedback{border-left:2px solid var(--accent);color:var(--text);padding-left:16px;font-size:.875rem}.about-dialog{border:1px solid var(--border);background:var(--surface);width:min(640px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--text);box-shadow:var(--shadow);border-radius:16px;padding:0}.about-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#17121466}.dialog-content{padding:32px}.dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.dialog-heading h2{font-size:1.75rem}.dialog-heading button{border:0}.dialog-content h3{margin:24px 0 8px;font-size:1.25rem}.dialog-content p,.attributions{color:var(--muted);font-size:.875rem;line-height:1.7}.attributions{padding-left:24px}.source-links{flex-wrap:wrap;gap:8px 24px;margin-top:24px;display:flex}.source-links a{align-items:center;gap:8px;min-height:44px;font-size:.8125rem;display:inline-flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=900px){.brand .brand-subtitle{display:none}.app-header{height:64px;padding:0 16px}.brand{gap:8px}.brand img{width:40px;height:40px}.brand>span{font-size:1.25rem}.locale-switch{gap:0;margin-right:0}.app-shell{min-height:0}.app-footer{gap:8px;padding:4px 16px;font-size:.6875rem}.app-footer>span{text-align:right;max-width:180px}.mobile-nav{padding:8px 16px max(8px, env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);justify-content:space-around;gap:8px;display:flex}.mobile-nav button{border:0;flex-direction:column;flex:1;gap:4px;min-height:48px;font-size:.75rem}}
