.photometry-drift-lab .science-chart{height:350px}.photometry-drift-lab .experiment-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.photometry-drift-lab .readout-row strong{font-size:23px;font-variant-numeric:tabular-nums}.photometry-drift-lab .lab-validity{border-left:2px solid var(--accent);padding-left:14px;color:var(--muted);font-size:13px;line-height:1.9}.photometry-drift-lab .lab-detail-legend>span:not(.inline-math,.inline-math *):before{border-top-style:var(--legend-style,solid)}.photometry-drift-lab button:disabled{opacity:.5;cursor:default}
.shell-paired-plots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.shell-paired-plots>div{min-width:0}.drift-time-card{margin:24px 0;padding:22px;border:1px solid var(--line);background:var(--panel);border-radius:8px}.drift-time-card svg{display:block;width:100%;height:auto;max-height:420px}.drift-time-card figcaption{font:12px/1.9 var(--sans);color:var(--muted);margin-top:16px}.drift-time-card svg:focus-visible,.photometry-bench svg:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.photometry-bench{margin:26px 0}.photometry-bench .iso-plate{padding:0;box-shadow:none;border:1px solid var(--line);background:var(--panel)}.photometry-bench-stage{padding:50px 0;max-width:850px;margin:auto}.photometry-bench-stage svg{display:block;width:100%;height:auto}.photometry-bench .iso-plate-corner{font-size:11px;color:var(--muted)}.photometry-bench .iso-caption{font:12px/1.9 var(--sans);color:var(--muted)}.photometry-bench .iso-legend{padding:12px 2px}.photometry-bench [data-corner=readout]{max-width:60%;font-variant-numeric:tabular-nums}
@media(max-width:720px){.shell-paired-plots{grid-template-columns:1fr;gap:14px}}
@media(max-width:600px){.photometry-drift-lab .science-chart{height:330px}.photometry-drift-lab .readout-row strong{font-size:19px}.photometry-bench-stage{padding:65px 0 75px}.photometry-bench .iso-plate-corner{font-size:9px;max-width:50%}.photometry-bench .iso-plate-corners [data-corner=hint]{max-width:40%;line-height:1.6}.photometry-bench .iso-plate-corners [data-corner=readout]{max-width:54%;line-height:1.6;text-align:right}.drift-time-card{padding:12px}.drift-time-card svg{min-height:210px}.drift-time-card figcaption{font-size:11px}}
@media(max-width:420px){.photometry-drift-lab .readout-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.photometry-drift-lab .readout-row>div>span:not(.inline-math, .inline-math *){min-height:3.8em;line-height:1.9}}
@media(prefers-reduced-motion:reduce){.photometry-bench *{transition:none!important}}
.shell-diagram-readout{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;color:var(--accent);font:13px/1.9 var(--sans);margin:12px 0 4px}
.unused-field-length{display:block;margin-top:10px}

.drift-time-head{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font:13px/1.9 var(--sans);color:var(--muted);margin-bottom:20px}.drift-time-head>span:not(.inline-math, .inline-math *):last-child{color:var(--accent)}
.photometry-drift-lab .instrument-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px;margin:24px 0}.photometry-drift-lab .instrument-controls label{display:block;min-width:0;font-size:14px}.photometry-drift-lab .instrument-controls output{float:right;color:var(--accent);font-variant-numeric:tabular-nums;margin-left:8px}.photometry-drift-lab .readout-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;margin:28px 0}.photometry-drift-lab .readout-row>div{min-width:0;display:flex;flex-direction:column;gap:7px}.photometry-drift-lab .readout-row>div>span:not(.inline-math,.inline-math *){font-size:12px;line-height:1.8;color:var(--muted);min-height:3.6em}.photometry-drift-lab .readout-row strong{line-height:1.5;font-size:23px}
@media(max-width:600px){.photometry-drift-lab .instrument-controls{grid-template-columns:1fr;gap:18px}.photometry-drift-lab .readout-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.photometry-drift-lab .readout-row strong{font-size:18px}.photometry-drift-lab .instrument-controls label{font-size:13px}}
