/* Scoped laboratory instrument system — public pages and billing are unaffected. */
.ll{--ll-bg:#101b17;--ll-panel:#18261f;--ll-line:#34453b;--ll-text:#f3f4ef;--ll-muted:#afbeb4;--ll-gold:#dbc18a;color:var(--ll-text);background:var(--ll-bg);border:1px solid #2d4035;border-radius:20px;padding:28px;font:14px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;max-width:100%;min-width:0;box-sizing:border-box;color-scheme:dark}
.ll *, .ll *:before,.ll *:after{box-sizing:border-box}.ll [hidden]{display:none!important}.ll h1,.ll h2,.ll h3,.ll h4,.ll strong{color:var(--ll-text);line-height:1.22;letter-spacing:-.02em}.ll p{color:var(--ll-muted);font-size:14px}.ll h1{font-size:clamp(32px,4.5vw,62px);font-weight:520;margin:20px 0}.ll h2{font-size:25px;font-weight:540;margin:12px 0 20px}.ll h3{font-size:18px}.ll h4{font-size:14px}.ll span,.ll small{overflow-wrap:break-word}.ll small{color:var(--ll-muted)}.ll button,.ll summary{font:inherit;cursor:pointer;min-height:44px;white-space:normal;word-break:normal}.ll button{border-radius:8px;padding:10px 17px;border:1px solid #4a5b4f;background:transparent;color:#f3f4ef;transition:background .14s}.ll button:hover{background:#304535}.ll button.primary{background:#d9c08a;border-color:#d9c08a;color:#14251a;font-weight:650}.ll button.primary:hover{background:#ead6aa}.ll button:disabled{opacity:.48;cursor:not-allowed}.ll button:focus-visible,.ll input:focus-visible,.ll select:focus-visible,.ll summary:focus-visible{outline:3px solid #dbc18a;outline-offset:3px}.ll label{display:grid;gap:7px;font-size:13px;color:#c3d0c8}.ll input,.ll select,.ll textarea{font:inherit;max-width:100%;min-width:0;width:100%;border:1px solid #546358;background:#111e17;color:#f3f4ef;border-radius:7px;padding:11px 12px;min-height:44px}.ll input[type=checkbox]{width:18px;min-height:18px}.ll input[type=range]{padding:0}.ll details{border-top:1px solid var(--ll-line);padding:13px 0}.ll summary{display:flex;align-items:center;gap:12px;color:#e5eae6;list-style:none}.ll summary:before{content:'+';color:var(--ll-gold);font-size:20px}.ll details[open]>summary:before{content:'−'}.ll .ll-eyebrow{font-size:11px;letter-spacing:.14em;color:var(--ll-gold);font-weight:650}.ll-note{font-size:12px!important;line-height:1.6}.ll-buttons{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ll-modes{display:flex;gap:28px;border-bottom:1px solid var(--ll-line);padding-bottom:18px;margin-bottom:22px;flex-wrap:wrap;font-size:12px;color:#8fa398}.ll-modes span{display:flex;align-items:center;gap:9px}.ll-modes i{font-size:10px;font-style:normal;border:1px solid #425648;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.ll-modes [aria-current=step]{color:#f3f4ef}.ll-modes [aria-current=step] i{border-color:var(--ll-gold);color:var(--ll-gold)}.ll-home{padding:35px 22px 0;position:relative;min-height:485px;background:radial-gradient(ellipse at 85% 55%,#2449365e,transparent 55%)}.ll-home-sub{font-size:18px!important;color:#e3e9e4!important}.ll-home-copy{margin:20px 0 28px}.ll-home-footer{display:flex;gap:30px;margin-top:72px;padding:18px 0;border-top:1px solid #3d504345;color:#8d9f92;font-size:10px;letter-spacing:.1em}.ll-setup-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.ll-setup-nav button{font-size:12px;border-color:transparent;color:var(--ll-muted)}.ll-setup-nav [aria-current=step]{border-color:#6f7d63;color:var(--ll-gold);background:#213a2b}.ll-step{max-width:1120px;margin:auto}.ll-step-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--ll-line);padding-top:22px;margin-top:25px}.ll .wizard-step{border:0;padding:0;margin:0}.ll .wizard-step-head{display:none}.ll .form-grid{gap:18px;margin:15px 0}.ll .field{font-size:13px}.ll .field-note{display:none}.ll-protocol-tools{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin:20px 0}.ll-protocol-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ll-protocol-card{display:flex;flex-direction:column;gap:9px;text-align:left;padding:23px!important;background:#1c2c22!important;border:1px solid #3d5043!important}.ll-protocol-card.selected{border-color:#dbc18a!important}.ll-protocol-card span{color:var(--ll-gold);font-size:11px;letter-spacing:.06em;text-transform:uppercase}.ll-protocol-card h3{margin:2px 0}.ll-protocol-card p{margin:2px 0;font-size:13px}.ll-protocol-card small{font-size:11px}.ll-protocol-preview{margin-top:20px}.ll .live-loaded-stage-plan{display:none}.ll .protocol-plan-total{display:none}.ll-timeline{display:flex;gap:5px;max-width:100%;overflow:auto;padding:5px 0 12px;scrollbar-width:thin}.ll-timeline>div{flex-basis:120px;min-width:110px;background:#1c2d23;border-top:3px solid #49644f;padding:12px;display:flex;flex-direction:column;gap:6px}.ll-timeline>div.manual{border-top-style:dashed}.ll-timeline>div.current{background:#294733;border-color:#dbc18a}.ll-timeline>div.done{opacity:.7;border-color:#8aa68c}.ll-timeline span{font-size:11px;color:#b6c9ba}.ll-timeline strong{font-size:13px}.ll-timeline small{font-size:10px;line-height:1.5}.ll-guidance{display:grid;grid-template-columns:1fr 1fr;gap:12px 35px;margin:24px 0}.ll-guidance ul,.ll-stopping ul{padding-left:18px;color:#b9c8be;font-size:13px;line-height:1.8}.ll-stopping{border-left:3px solid #c4a379;background:#b3a2860a;padding:6px 20px}.ll-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0}.ll .ll-check{display:flex;align-items:center}.ll .device-centre,.ll .device-group{display:block}.ll .device-card{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#1b2b21;border:1px solid #3b5141;padding:17px;margin:12px 0;border-radius:12px}.ll .device-name{font-size:15px;color:#f3f4ef}.ll .device-meta{font-size:12px;color:#b3c6b9}.ll .device-status{font-size:12px;color:#c9d6ce}.ll-device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.ll-device-reading{display:flex;flex-direction:column;gap:7px;background:#1d3023;padding:18px;border-radius:10px}.ll-device-reading>span{font-size:10px;letter-spacing:.06em;color:#b3c6b9}.ll-device-reading>strong{font-size:29px;font-variant-numeric:tabular-nums}.ll-device-reading>b{font-size:12px;color:var(--ll-gold)}.ll-device-reading>small{font-size:11px}.ll .signal-check{display:flex;gap:12px;flex-wrap:wrap}.ll .signal-card{flex:1;min-width:150px;background:#1c2c22;border:1px solid #415d48;padding:18px;border-radius:10px}.ll .signal-card strong{font-size:30px;color:#e6eddf}.ll .signal-card span,.ll .signal-card small{font-size:12px;color:#adbfad}.ll .ready-panel{background:#20392a;border:1px solid #4c6a50;margin-top:25px;padding:20px;gap:20px}.ll .ready-panel strong{font-size:14px}.ll .panel{background:#19291f;color:#f3f4ef;border-color:#425747}.ll .panel h4,.ll .panel strong{color:#f3f4ef}.ll .panel p,.ll .panel span{color:#bbcbbb}.ll .history-row{cursor:pointer}.ll .saved-protocol{width:100%;margin-bottom:10px}.ll .saved-protocol span{display:block;margin-top:6px}.ll-audio{margin-top:18px}.ll-audio summary span{margin-left:auto;color:var(--ll-gold);font-size:12px}
/* A compact instrument workspace; expandable details hold lower priority information. */
.ll-workspace{padding:18px 22px}.ll-live-header{display:flex;gap:20px;align-items:center;justify-content:space-between}.ll-live-header h2{font-size:18px;margin:7px 0}.ll-live-header .ll-eyebrow{font-size:9px}.ll-live-header .ll-buttons button{font-size:11px;padding:8px 11px;min-height:40px}.ll-live-status{display:flex;gap:12px;font-size:11px;flex-wrap:wrap}.ll-live-status b{font-variant-numeric:tabular-nums}.ll-live-status #recording-status{color:#b6d1ab}.ll-workspace .ll-modes{padding:10px 0;margin:0;gap:20px;font-size:10px}.ll-workspace .ll-modes i{width:22px;height:22px}.ll-instrument{display:grid;grid-template-columns:1.25fr 1fr .8fr 1.1fr;gap:16px;padding:21px 0 14px;border-bottom:1px solid #34483a}.ll-instrument article{display:flex;flex-direction:column;gap:8px;min-width:0}.ll-instrument article>span{font-size:10px;letter-spacing:.1em;color:#a6bba9}.ll-instrument article>strong{font-size:clamp(28px,3.9vw,62px);font-weight:550;font-variant-numeric:tabular-nums;white-space:normal;line-height:1.1}.ll-instrument article>small{font-size:12px}.ll-instrument .ll-target>strong{color:#e6cf9d}.ll-instrument #live-delta{font-size:clamp(24px,2.2vw,34px)}.ll-gauge{display:flex;justify-content:space-between;position:relative;font-size:9px;color:#a6baa8;padding:12px 0 0;max-width:250px;margin-top:2px}.ll-gauge:before{content:'';position:absolute;top:0;left:0;right:0;height:5px;border-radius:5px;background:linear-gradient(to right,#334e3d 30%,#a1b38b 30%,#a1b38b 70%,#334e3d 70%)}.ll-gauge i{position:absolute;width:3px;height:14px;background:#f8f1da;top:-4px;left:50%;transition:left .2s}.ll-instruction{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;padding:13px 0}.ll-instruction>div{display:flex;flex-direction:column;gap:4px}.ll-instruction span{font-size:9px;letter-spacing:.08em;color:#a5b7a7}.ll-instruction strong{font-size:15px;font-weight:550}.ll-instruction small{font-size:11px}.ll-graph{background:#101b17;border:1px solid #344b3b;border-radius:12px;padding:10px 14px;min-width:0}.ll-graph-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.ll-graph-title h3{font-size:13px;margin:0}.ll-graph-title span{font-size:10px;color:#a0b4a5}.ll-graph-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:8px 0}.ll-graph-toolbar button{font-size:10px;min-height:32px;padding:5px 10px}.ll-graph-toolbar button[aria-pressed=true]{color:#e9d5a5;border-color:#a78e56;background:#384330}.ll-signal-picker{position:relative;padding:0!important;border:0!important;min-width:85px}.ll-signal-picker summary{font-size:11px;min-height:32px}.ll-signal-picker[open]{background:#1d3022;padding:8px!important;border:1px solid #7f906e!important}.ll-signal-picker label{display:flex;align-items:center;gap:8px;padding:4px;font-size:11px}.ll-signal-picker input{width:16px;min-height:16px;padding:0}.ll-canvas{display:block;width:100%;height:clamp(180px,26vh,350px)}.ll-secondary-canvas{height:160px;border-top:1px solid #344b3b;margin-top:10px}.ll-graph-inspect{font-size:11px!important;margin:0;min-height:0}.ll-graph-inspect:empty{display:none}.ll-workspace .ll-timeline{margin-top:10px;padding-bottom:6px}.ll-workspace .ll-timeline>div{padding:7px 10px;min-width:100px}.ll-workspace .ll-timeline small{display:none}.ll-workspace .ll-timeline strong{font-size:11px}.ll-workspace .ll-timeline span{font-size:10px}.ll-workspace #ll-progress>.ll-note{margin:3px 0}.ll-metrics{display:flex;gap:24px;padding:8px 0;flex-wrap:wrap}.ll-metrics>div{display:flex;gap:7px;align-items:baseline}.ll-metrics span{font-size:10px;color:#adbfad}.ll-metrics strong{font-size:19px;font-variant-numeric:tabular-nums}.ll-metrics small{font-size:10px}.ll-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0;border-top:1px solid #3c5140}.ll-actions button{font-size:11px;min-height:44px;padding:9px 12px}.ll #end-test{margin-left:auto;border-color:#b78b7f;color:#eac2b7}.ll-more{position:relative;border:0!important;padding:0!important}.ll-more summary{border:1px solid #4a5b4f;padding:9px 15px;border-radius:8px;font-size:11px}.ll-more[open]{background:#192e20;padding:8px!important;border:1px solid #657959!important;position:absolute;z-index:30;bottom:70px;left:25px;box-shadow:0 18px 60px #0009;display:grid;max-height:65vh;overflow:auto}.ll-more button{display:block;margin-top:7px;width:100%}.ll-stage-summary{padding:0!important}.ll-stage-summary>summary{font-size:11px;min-height:30px}.ll-sync{color:#a3b6a6;font-size:10px;padding-top:5px}.ll-warning{padding:10px 14px;background:#59433655;border-left:3px solid #d1a18f;color:#f0d4c4!important;font-size:12px!important;display:flex;gap:15px;align-items:center;justify-content:space-between}.ll-warning button{font-size:11px}.ll .live-interval-row{background:transparent;border-bottom:1px solid #405440;color:#f3f4ef}.ll .live-interval-row span,.ll .live-interval-row small{color:#b8cbb7;font-size:10px}.ll .live-interval-row strong{font-size:12px}.ll .live-insight-strip{background:#233827}.ll .live-insight-strip span,.ll .live-insight-strip small{color:#b4c5b1}.ll .live-feedback{color:#b4c5b1}.ll-graph-full{position:fixed;inset:14px;z-index:1000;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #000a}.ll-graph-full #live-trace{flex:1;min-height:0;overflow:auto}.ll-graph-full .ll-canvas{height:65vh}.ll-recording.lab-mode .page-content{padding:10px!important}.ll-recording.lab-mode .ll-workspace{min-height:calc(100dvh - 20px);border:0}.ll-recording.lab-mode #u157-page-tools{display:none}.ll-review header{margin:25px 0}.ll-review h1{font-size:38px}.ll-review-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.ll-review-overview article{border-left:1px solid #5a725a;padding-left:18px}.ll-review-overview span{display:block;font-size:12px;color:#b2c3b1}.ll-review-overview strong{display:block;font-size:29px;margin-top:10px}.ll-review section{margin:28px 0}.ll-quality{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.ll-quality>div{display:flex;flex-direction:column;gap:5px;padding:15px;background:#1b2e20;border-radius:8px}.ll-quality strong{font-size:13px}.ll-quality span{font-size:13px;color:#d3decf}.ll-quality small{font-size:11px}.ll-table-wrap{overflow:auto}.ll table{border-collapse:collapse;width:100%;font-size:12px}.ll td,.ll th{text-align:left;padding:10px;border-bottom:1px solid #3b5141}.ll th{color:#b5c7b4}.ll-review-actions{display:flex;gap:12px;padding-top:20px;flex-wrap:wrap}.ll-prepare .device-health-row{display:flex;flex-wrap:wrap;gap:12px}.ll-prepare .device-health-row span,.ll-prepare .device-health-row b{font-size:11px;color:#bbcfb9}
@media(min-width:1100px) and (max-height:850px){.ll-workspace{padding:12px 18px}.ll-workspace .ll-modes{padding:5px 0}.ll-instrument{padding:12px 0 10px}.ll-instrument article>strong{font-size:40px}.ll-canvas{height:185px}.ll-instruction{padding:8px 0}.ll-live-header h2{font-size:16px}.ll-workspace .ll-timeline>div{padding:5px 8px}.ll-metrics{padding:4px 0}}
@media(max-width:1100px){.ll{padding:22px}.ll-live-header{flex-wrap:wrap;gap:10px}.ll-live-header>div:first-child{flex:1}.ll-live-header>.ll-buttons{width:100%}.ll-instrument article>strong{font-size:38px}.ll-modes{gap:16px}.ll-quality{grid-template-columns:repeat(2,1fr)}.ll-live-status{font-size:10px}.ll .device-card{flex-wrap:wrap}.ll .live-interval-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ll{border-radius:12px;padding:17px}.ll-home{padding:20px 0;min-height:440px}.ll-home h1{font-size:48px}.ll-home-footer{gap:13px;margin-top:45px;flex-wrap:wrap}.ll-home-sub{font-size:15px!important}.ll-protocol-cards,.ll-guidance,.ll-protocol-tools,.ll-fields{grid-template-columns:1fr}.ll-device-grid{grid-template-columns:1fr}.ll-setup-nav{gap:3px}.ll-setup-nav button{padding:6px 8px}.ll-modes{gap:12px;font-size:10px}.ll-modes i{display:none}.ll-instrument{grid-template-columns:1fr 1fr;gap:20px}.ll-instrument article>strong{font-size:38px}.ll-instruction{grid-template-columns:1fr;gap:12px}.ll-graph-title span{display:none}.ll-graph-toolbar{flex-wrap:wrap;gap:5px}.ll-graph-toolbar .ll-buttons{gap:4px}.ll-graph-toolbar button{padding:6px 8px;min-height:40px}.ll-canvas{height:230px}.ll-actions{gap:7px}.ll-actions #end-test{margin-left:0}.ll-graph-full{inset:6px}.ll-review-overview{grid-template-columns:1fr 1fr;gap:25px}.ll-review-overview strong{font-size:25px}.ll-quality{grid-template-columns:1fr 1fr;gap:8px}.ll-review h1{font-size:29px}.ll .signal-card{min-width:130px}.ll .ready-panel{display:flex;flex-direction:column;align-items:stretch}.ll .live-interval-row{grid-template-columns:1fr 1fr}.ll-live-status{width:100%}.ll-live-header .ll-buttons{gap:5px}.ll-live-header .ll-buttons button{min-height:44px}.ll-more[open]{left:8px;bottom:15px}.ll .device-meta{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.ll *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Isolate instrument colours from the host's optional light theme and control skin. */
body .page-content .ll{--ink:#f3f4ef;--text:#f3f4ef;--muted:#afbeb4;--muted-2:#9aafa0;--sip-surface:#1a2c20;--sip-secondary:#afbeb4;--sip-border:#4a5b4f;--panel:#18261f;--panel-2:#203427;--bg:#101b17;--field:#111e17;--gold:#dbc18a;--line:#34453b;background:#101b17;color:#f3f4ef}
body[data-theme] .page-content .ll p{color:#afbeb4}body[data-theme] .page-content .ll button.secondary{background:transparent;color:#f3f4ef;border-color:#4a5b4f}body[data-theme] .page-content .ll button.primary{background:#d9c08a;color:#14251a;border-color:#d9c08a}body[data-theme] .page-content .ll .ll-home-sub{color:#e3e9e4}body[data-theme] .page-content .ll .ll-graph-toolbar [aria-pressed=true]{background:#384330;border-color:#a78e56;color:#e9d5a5}.ll-workspace{animation:none!important;position:relative}.ll-recording .lab-public-header,.ll-recording .lab-topbar{display:none!important}.ll-recording .page-content{padding:14px 20px!important}.ll-recording #u157-page-tools{margin-bottom:10px}.ll-recording #u157-page-tools button{min-height:36px;padding:7px 11px}.ll-recording .ll-more[open]{bottom:60px}.ll-recording .lab-sidebar{top:0;height:100dvh}
body.ll-recording.lab-mode .ll #live-trace{display:block!important;height:auto!important;overflow:auto!important;max-height:50vh}.ll-recording.lab-mode .ll-workspace{min-height:0;height:auto}.ll-recording.lab-mode .page-content{overflow:auto!important}.ll-recording.lab-mode .ll-workspace .ll-canvas{height:clamp(200px,32vh,420px)}
.ll .live-interval-row span,.ll .live-interval-row strong{white-space:normal;overflow:visible;text-overflow:clip}.ll-more[open] summary{margin-bottom:8px}
@media(min-width:1100px) and (max-height:850px){.ll-recording .ll-workspace .ll-canvas{height:180px}.ll-recording .ll-workspace .ll-graph-toolbar{margin:5px 0}.ll-recording .ll-workspace .ll-timeline strong{font-size:10px}.ll-recording .ll-workspace .ll-instrument{padding:10px 0}.ll-recording .ll-workspace .ll-live-header{gap:9px}.ll-recording .ll-workspace .ll-metrics{padding:3px 0}.ll-recording .ll-workspace .ll-actions{padding:7px 0}}
@media(max-width:700px){.ll-recording .page-content{padding:10px!important}.ll-recording .ll-workspace .ll-actions{position:sticky;bottom:0;background:#101b17;z-index:15;box-shadow:0 -7px 14px #101b17}body .ll-more[open]{position:fixed;bottom:15px;left:12px;right:12px;z-index:1000}}
body .ll #live-trace{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;grid-template-columns:none!important}body .ll .ll-graph-full #live-trace{overflow:auto!important}body .ll #live-delta-card[data-state=on-target] strong{color:#bad6a9}body .ll #live-delta-card[data-state=low] strong,body .ll #live-delta-card[data-state=high] strong{color:#e4c48c}.ll-notification{font-size:11px;color:#d9cba4;min-height:17px;line-height:1.4;margin-top:4px}.ll-recording #toast-region .toast:not(:last-child){display:none}
@media(min-width:1100px) and (max-height:1000px){body .ll-workspace .ll-live-header button,body .ll-workspace .ll-graph-toolbar button{min-height:32px;padding:6px 10px;font-size:11px}body .ll-workspace .ll-instrument article>strong{font-size:43px}body .ll-workspace .ll-instrument{padding:11px 0 10px;gap:12px}body .ll-workspace .ll-instrument article{gap:5px}body .ll-workspace .ll-instruction{padding:8px 0;gap:12px}body .ll-workspace .ll-modes{padding:7px 0}body .ll-workspace .ll-canvas{height:170px}body .ll-workspace .ll-graph-toolbar{margin:6px 0}body .ll-workspace .ll-timeline>div{padding:6px 10px}body .ll-workspace .ll-actions{padding:7px 0}body .ll-workspace .ll-stage-summary>summary{min-height:25px}body .ll-workspace .ll-live-header h2{margin:4px 0;font-size:16px}.ll-recording .ll-workspace{padding:14px 18px}}
@media(min-width:1100px) and (max-height:850px){body.ll-recording.lab-mode .ll-workspace .ll-modes{display:none}body.ll-recording.lab-mode .ll-workspace .ll-canvas{height:170px}body.ll-recording.lab-mode #ll-progress>.ll-note{display:none}body.ll-recording.lab-mode .ll-workspace .ll-instrument{padding-top:16px}}
body.ll-recording.lab-mode .ll-actions{position:sticky;bottom:0;background:#101b17;z-index:20}
