
:root{font-family:Arial,Helvetica,sans-serif;color:#233f53;background:#eef5f9;font-synthesis:none;--accent:#924164;--ink:#233f53}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;font-size:14px;cursor:pointer;color:inherit;border:1px solid #cfdee7;background:#fff;border-radius:8px;padding:10px 13px;transition:background .15s}button:hover{background:#ecf3f7}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #9c426b;outline-offset:3px}header{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 3.2%;background:#f9fcfe;border-bottom:1px solid #d6e3eb}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:12px;letter-spacing:.13em}.brand b{display:block;font-size:12px;font-weight:400;letter-spacing:.16em;margin-top:5px}.brand-mark{font-size:35px;color:#a24f76}header>button{background:transparent;border:0;font-size:14px}header button span{margin-left:14px}main{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:690px;height:calc(100svh - 144px);max-height:1100px}.viewer{position:relative;overflow:hidden;min-height:600px;background:radial-gradient(ellipse at 47% 46%,#f1faff 0%,#e0f1fa 50%,#bbd8e9 100%)}#canvas-wrap{position:absolute;inset:0}canvas{width:100%;height:100%;display:block;touch-action:none}.scene-heading{position:absolute;top:34px;left:4.5%;z-index:2;pointer-events:none}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:700;color:#587286}h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(35px,3.4vw,56px);letter-spacing:-.045em;margin:12px 0 8px}h1 span{color:#b16387}.scene-heading p{font-size:15px;margin:0;color:#526f82}.stage-tag{position:absolute;left:4.5%;bottom:98px;pointer-events:none;display:flex;flex-direction:column;gap:8px}.stage-tag>span{font-size:12px;letter-spacing:.14em;color:#587286}.stage-tag strong{font-family:Georgia,serif;font-size:22px;font-weight:400;letter-spacing:.1em;color:#6d8594}.stage-tag em{font-style:normal;color:#8d3a60}.stage-tag small{font-size:12px;max-width:190px;line-height:1.5;color:#536c7c}.view-tools{position:absolute;right:25px;bottom:94px;display:flex;flex-direction:column;gap:8px}.view-tools button{font-size:21px;background:#ffffffbc;width:42px;height:42px;padding:0;backdrop-filter:blur(8px)}.scene-footer{position:absolute;bottom:25px;left:4.5%;right:25px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;pointer-events:none;font-size:12px;line-height:1.65;color:#47677d}.scene-footer>span:first-child{max-width:260px}.mouse-help{text-align:right;font-size:12px}#loading{position:absolute;top:48%;left:15%;right:15%;text-align:center;background:#f9fcfeec;padding:20px;border-radius:12px;line-height:1.6}.controls{padding:32px 26px 20px;background:#f9fcfe;border-left:1px solid #d5e3ed;overflow:auto}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title .eyebrow{font-size:12px}.count{font-size:12px;background:#f2e9ef;padding:5px 8px;border-radius:20px;color:#8c4564;white-space:nowrap}h2{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-.035em;margin:20px 0 9px}.intro{font-size:14px;line-height:1.65;color:#607586;margin:0 0 25px}fieldset{border:0;margin:0;padding:0}legend,.range-row label,.switch-row label,.selection-heading label{font-size:14px;font-weight:600}legend{margin-bottom:12px}.modes{display:flex;border:1px solid #d7e2e9;border-radius:9px;padding:4px;background:#edf3f7;gap:2px}.modes button{flex:1;font-size:12px;border:0;background:transparent;padding:10px 4px}.modes button[aria-pressed=true]{background:#fff;box-shadow:0 2px 5px #18384f13;color:#843858}.range-row{margin-top:23px;display:flex;justify-content:space-between;align-items:center}.range-row label{font-size:13px}output{font-size:12px;color:#637b8b}input[type=range]{width:100%;accent-color:#9c4c72;margin:13px 0 0;cursor:pointer;min-height:22px}.micro{font-size:12px;color:#657d8d;line-height:1.65}.switch-row{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.switch-row label{font-size:13px;font-weight:400}input[type=checkbox]{appearance:none;width:34px;height:20px;border-radius:14px;background:#d5e0e7;position:relative;cursor:pointer;flex-shrink:0}input[type=checkbox]:after{content:'';position:absolute;width:14px;height:14px;background:white;border-radius:50%;left:3px;top:3px;transition:transform .15s}input[type=checkbox]:checked{background:#587888}input[type=checkbox]:checked:after{transform:translateX(14px)}input:disabled{opacity:.4;cursor:not-allowed}hr{border:0;border-top:1px solid #dce6ec;margin:23px 0}.selection-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.selection-heading label{font-size:13px}.text-button{border:0;padding:4px 0;background:none;font-size:12px;color:#85516d}#cell-buttons{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin-top:14px}#cell-buttons button{padding:7px 0;font-size:13px;border-radius:50%;aspect-ratio:1;background:#f5ecf1;color:#864f6b;border-color:#e7d6e0}#cell-buttons button[aria-pressed=true]{background:#944769;color:#fff;border-color:#944769}.cell-info{margin-top:21px;min-height:132px}.cell-info .eyebrow{font-size:12px}.cell-info h3{font-size:16px;margin:9px 0}.cell-info p{font-size:13px;line-height:1.6;color:#627888;margin:0}.legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#5b7182;margin-top:8px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.membrane{background:#fce4ef;border:1px solid #b77a97}.cytoplasm{background:#e7a3c1}.nucleus{background:#a2376a}.model-note{font-size:12px;line-height:1.6;color:#718797;margin-top:22px}footer{min-height:64px;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 3.2%;font-size:12px;color:#627989;background:#f9fcfe;border-top:1px solid #dae6ed}footer strong{color:#304e63}footer .divider{margin:0 10px;color:#afc0cb}dialog{border:1px solid #c9dbe6;border-radius:18px;width:min(650px,calc(100% - 30px));max-height:85svh;padding:30px;color:var(--ink);box-shadow:0 20px 100px #203f5440;background:#fafdff}dialog::backdrop{background:#153f585e;backdrop-filter:blur(7px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}dialog h2{font-size:32px}dialog h3{font-size:17px;margin-top:25px}dialog p,dialog li{font-size:15px;line-height:1.7}dialog .micro{font-size:12px}.sources{padding-left:22px}.sources li{margin-bottom:15px}.sources a{color:#894362;text-underline-offset:3px}.sources span{display:block;font-size:13px;color:#657b8b}button:disabled{cursor:not-allowed;opacity:.5}@media(min-width:1600px){main{grid-template-columns:minmax(0,1fr) 380px}.controls{padding:40px 32px}}@media(max-width:1000px){main{grid-template-columns:minmax(0,1fr) 310px}.controls{padding:27px 20px}.mouse-help{display:none}.scene-heading{top:28px}h1{font-size:38px}}@media(max-width:700px){header{height:67px;padding:0 20px}.brand{font-size:12px}.brand b{font-size:12px}header>button{font-size:12px;padding:8px}.brand-mark{font-size:28px}main{display:flex;flex-direction:column;height:auto;max-height:none;min-height:0}.viewer{height:68svh;min-height:490px;max-height:740px}.scene-heading{left:22px;top:25px}h1{font-size:38px}.scene-heading p{font-size:13px}.eyebrow{font-size:12px}.stage-tag{left:22px;bottom:68px}.stage-tag small{display:none}.stage-tag strong{font-size:19px}.stage-tag>span{font-size:12px}.scene-footer{bottom:18px;left:22px;font-size:12px;right:75px}.view-tools{right:18px;bottom:23px;gap:5px}.view-tools button{width:37px;height:37px}.controls{padding:26px 24px;border-left:0;border-top:1px solid #ccdee9;overflow:visible}.controls h2{margin-top:16px}.intro{margin-bottom:18px}#cell-buttons{gap:10px}#cell-buttons button{max-height:42px}.cell-info{min-height:110px}.legend{font-size:12px}.model-note{font-size:12px}footer{padding:20px 24px;flex-direction:column;align-items:flex-start;font-size:12px;line-height:1.6;gap:5px}dialog{padding:23px}.modes button{font-size:14px}.micro{font-size:12px}.panel-title .eyebrow{font-size:12px}}


