/* Apparatus on paper, independent of its host article. */
.lab-experiment { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 25px; padding: 34px 25px 24px; margin: 42px 0 30px; background: radial-gradient(ellipse at center,#fff7e9,#f2d4a4); border: 2px solid #b78037; border-radius: 9px 13px 6px 11px; box-shadow: 0 3px 0 #c79a60,0 8px 15px #6c401b22,inset 0 0 15px #b97f3433; color: #351824; font: 400 17px/1.6 'Source Serif 4',Georgia,serif; }
.lab-experiment::before,.lab-experiment::after { content: ''; position: absolute; width: 13px; height: 13px; background: radial-gradient(circle,#fff1b5,#b78334 40%,#613400 55%,#e4b86a 65%); border: 1px solid #89561e; border-radius: 50%; top: 9px; }
.lab-experiment::before { left: 10px; } .lab-experiment::after { right: 10px; }
.experiment-plate { position: absolute; left: 20px; top: -18px; padding: 5px 14px; border: 2px solid #8b602c; border-radius: 8px; box-shadow: 0 2px 0 #d0a363; background: linear-gradient(#ffe3a1,#d4a251,#ffe1a1); font: 500 14px/1.5 Oswald,sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.lab-experiment h3 { grid-column: 1/-1; font: 600 clamp(29px,3vw,40px)/1.15 Oswald,sans-serif; margin: 0; }
.lab-experiment > p:first-of-type { grid-column: 1/-1; margin: 0; }
.experiment-apparatus { align-self: center; }
.experiment-apparatus svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(1px 3px 1px #a3743c44); }
.experiment-apparatus svg text { font-family: Oswald,sans-serif; }
.experiment-controls { align-self: center; padding-top: 10px; }
.lab-experiment .control { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 19px/1.3 Oswald,sans-serif; margin: 18px 0 0; }
.lab-experiment output { color: #d10863; font-size: 25px; white-space: nowrap; }
.lab-experiment input[type=range] { display: block; width: 100%; min-height: 44px; margin: 4px 0 12px; accent-color: #e31679; cursor: pointer; }
.lab-experiment input:focus-visible,.lab-experiment button:focus-visible { outline: 3px solid #ad0751; outline-offset: 4px; }
.lab-experiment [role=status] { padding: 14px; background: #ff69a331; font: 400 16px/1.5 Georgia,serif; margin-bottom: 14px; }
.lab-experiment button { min-height: 44px; padding: 8px 15px; border: 1px solid #82542a; background: #fff3df; border-radius: 5px; color: #462132; font: 500 16px/1.4 Oswald,sans-serif; cursor: pointer; }
.lab-experiment .experiment-caption { grid-column: 1/-1; font: 400 13px/1.6 Lato,sans-serif; margin: 5px 0 0; }
.lab-experiment noscript { grid-column: 1/-1; }
@media(max-width:720px) { .lab-experiment { grid-template-columns: 1fr; padding: 30px 18px 20px; gap: 12px; } .experiment-plate { left: 12px; max-width: calc(100% - 24px); font-size: 12px; } .experiment-apparatus { max-width: 420px; width: 100%; margin: auto; } .experiment-controls { padding-top: 0; } }
@media print { .lab-experiment { display: block; break-inside: avoid; box-shadow: none; background: white; } .experiment-apparatus { width: 60%; margin: auto; } .lab-experiment input,.lab-experiment button { display: none !important; } .experiment-controls label { margin: 5px 0; } }
.experiment-seasons { display: flex; justify-content: space-between; gap: 10px; margin: -10px 0 18px; color: #75424f; font: 600 20px/1.3 Caveat,cursive; }
.lab-experiment .experiment-observation { font: 600 27px/1.1 Caveat,cursive; color: #b50955; margin: 15px 0 8px; }
