/* Navegação integrada à imagem, sem moldura de card. */
#chemistry-study.c312 .c312-top .c312-nav{background:transparent;border:0;box-shadow:none;border-radius:0;backdrop-filter:none;padding:8px 4px;color:#e7edd9;text-shadow:0 2px 8px #071a0f}
#chemistry-study.c312 .c312-top .c312-nav:hover{background:transparent;color:#d7ff00;box-shadow:none;text-decoration:none}
#chemistry-study.c312 .c312-top .c312-nav:focus-visible{outline:2px solid #d7ff00;outline-offset:5px;border-radius:4px}
#chemistry-study.c312 .c312-top .c312-nav svg{fill:none}
#chemistry-study.c312 .c312-lab .c304-lab-heading h2{margin:0 0 15px;font-size:clamp(27px,3vw,38px);line-height:1.2;color:#f1eedc}
#chemistry-study.c312 .c312-lab .c304-lab-heading>p{max-width:82ch;color:#d4dfc8;margin:0 0 24px;line-height:1.7}
#chemistry-study.c312 .c312-lab .c304-controls{display:flex;gap:25px;align-items:end;flex-wrap:wrap;margin:20px 0}
#chemistry-study.c312 .c304-controls label{display:grid;gap:10px;flex:1 1 220px;font:600 14px/1.5 system-ui;color:#d8e3c8}
#chemistry-study.c312 .c304-controls select,#chemistry-study.c312 .c304-transport select{background:#142e22;color:#e4ead5;border:1px solid #a0b17d88;border-radius:7px;min-height:44px;padding:8px 12px;font:inherit;width:100%}
#chemistry-study.c312 .c304-transport{display:flex;align-items:end;gap:12px;flex-wrap:wrap;border:0;background:none;padding:10px 0 18px}
#chemistry-study.c312 .c304-transport label{display:grid;gap:6px;font-size:13px;min-width:100px}
#chemistry-study.c312 .c304-transport button,#chemistry-study.c312 .c304-investigation-switch button,#chemistry-study.c312 .c304s-camera button,#chemistry-study.c312 .c304s-parts button{color:#dfe7d0;background:#173526;border:1px solid #9aaa7b70;border-radius:7px;min-height:44px;padding:9px 15px;font:600 14px/1.5 system-ui}
#chemistry-study.c312 .c304-transport button.c304-primary,#chemistry-study.c312 .c304-investigation-switch button[aria-pressed=true]{background:#d2ef3d;color:#182e17;border-color:#d7ff00}
#chemistry-study.c312 .c304-transport button:disabled{opacity:.42}
#chemistry-study.c312 .c304-progress{display:grid;grid-template-columns:1fr auto;gap:12px;margin:5px 0 25px;font:600 13px/1.6 system-ui;color:#c9d9ba}
#chemistry-study.c312 .c304-progress input{grid-column:1/-1;width:100%;accent-color:#c9e633}
#chemistry-study.c312 .c304-lab-visual{border:0;border-radius:12px;overflow:hidden;background:none;padding:0;margin:0}
#chemistry-study.c312 .c304-lab-visual canvas{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}
#chemistry-study.c312 .c304-now{min-height:3.4em;margin:22px 0 12px;padding:15px 0;border-bottom:1px solid #a4b87a44;color:#e1e9c8;font:600 17px/1.6 system-ui}
#chemistry-study.c312 .c304-readings{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:25px;margin:20px 0}
#chemistry-study.c312 .c304-readings>div{border:0;border-left:2px solid #acbc6c66;padding:0 15px;background:none}
#chemistry-study.c312 .c304-readings dt{color:#c5d5b9;font:14px/1.5 system-ui;margin-bottom:7px}
#chemistry-study.c312 .c304-readings dd{margin:0;color:#f1edda;font:600 19px/1.5 system-ui;font-variant-numeric:tabular-nums}
#chemistry-study.c312 .c304-model-note,#chemistry-study.c312 .c304s-note{color:#afc1a4;font:12px/1.7 system-ui;margin:24px 0 0}
#chemistry-study.c312 .c304-investigation-switch,#chemistry-study.c312 .c304s-camera,#chemistry-study.c312 .c304s-parts{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
#chemistry-study.c312 .c304s-window{border:0;overflow:hidden;background:none;border-radius:12px;touch-action:pan-y}
#chemistry-study.c312 .c304s-window canvas{display:block;width:100%;min-width:0;aspect-ratio:1000/560;touch-action:none}
#chemistry-study.c312 .c304s-help{font:13px/1.7 system-ui;color:#bfcdb0;margin:12px 0}
#chemistry-study.c312 .c304s-inspect{background:#0c221655;border:0;border-left:2px solid #cced42;padding:12px 20px;margin:18px 0;min-height:110px}
#chemistry-study.c312 .c304s-inspect h4{font:650 19px/1.5 system-ui;color:#e4edc9;margin:0 0 8px}
#chemistry-study.c312 .c304s-inspect p{font:16px/1.7 system-ui;color:#cbd9c1;margin:0;max-width:85ch}
#chemistry-study.c312 .c304-records{background:none;border:0;border-top:1px solid #a8bd8155;padding:20px 0;color:#d1dfbf}
#chemistry-study.c312 .c304-records h3{font-size:23px;color:#ebe9d5}
#chemistry-study.c312 .c304-records li{margin:12px 0;font:15px/1.6 system-ui}
#chemistry-study.c312 .c304-reveal{font:14px/1.7 system-ui;color:#cddbbf;padding:15px 0}
@media(max-width:700px){#chemistry-study.c312 .c304-controls{gap:15px}#chemistry-study.c312 .c304-transport{gap:8px}#chemistry-study.c312 .c304-transport button{flex:1 1 42%;font-size:12px;padding:8px}#chemistry-study.c312 .c304-readings{grid-template-columns:1fr;gap:18px}#chemistry-study.c312 .c304s-camera button{flex:1 1 40%;font-size:12px}#chemistry-study.c312 .c304-lab-visual{overflow-x:auto}#chemistry-study.c312 .c304-lab-visual canvas{min-width:550px}#chemistry-study.c312 .c304s-window{overflow-x:auto}#chemistry-study.c312 .c304s-window canvas{min-width:550px}#chemistry-study.c312 .c304s-inspect{padding:12px;min-height:145px}}
#chemistry-study.c312 .c304s-window{max-width:1000px;margin-inline:auto}
#chemistry-study.c312 .c304s-camera button[aria-pressed=true]{box-shadow:none}
/* O tamanho da janela define a câmera; os pixels internos não alteram o layout. */
#chemistry-study.c312 .c304s-window{position:relative;aspect-ratio:1000/560}
#chemistry-study.c312 .c304s-window canvas{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
@media(max-width:700px){#chemistry-study.c312 .c304s-window{aspect-ratio:auto;height:308px}#chemistry-study.c312 .c304s-window canvas{width:550px;height:308px}}
@media(max-width:700px){#chemistry-study.c312 .c304s-window{aspect-ratio:1000/560;height:auto;overflow:hidden}#chemistry-study.c312 .c304s-window canvas{min-width:0;width:100%;height:100%}}
