@layer lab-layout{:where(.lab-photo){margin:0}:where(.lab-photo) header{border-bottom:1px solid var(--c-border-subtle);justify-content:space-between;align-items:center;height:70px;padding:0 4vw;display:flex}:where(.lab-photo) a{text-decoration:none}:where(.lab-photo) main{max-width:1600px;margin:auto;padding:34px 4vw}:where(.lab-photo) .heading{align-items:center;gap:12px;margin-bottom:24px;display:flex}:where(.lab-photo) .heading>div{flex:1}:where(.lab-photo) h1{letter-spacing:-1px;margin:8px 0;font-size:30px}:where(.lab-photo) p{margin:9px 0 14px}:where(.lab-photo) h2{margin:0 0 14px;font-size:16px}:where(.lab-photo) i{margin-right:10px;font-style:normal}:where(.lab-photo) .layout{grid-template-columns:330px minmax(0,1fr);gap:24px;display:grid}:where(.lab-photo) section{border:1px solid var(--c-border-subtle);margin-bottom:14px;padding:20px}:where(.lab-photo) button,:where(.lab-photo) .button,:where(.lab-photo) select,:where(.lab-photo) input[type=number]{font:inherit;border:1px solid var(--c-border-subtle);padding:8px 12px}:where(.lab-photo) button,:where(.lab-photo) .button{cursor:pointer}:where(.lab-photo) .button:hover{border-color:var(--c-border-subtle)}:where(.lab-photo) button:disabled{cursor:default}:where(.lab-photo) .primary{width:100%;margin-top:14px;font-weight:700}:where(.lab-photo) label{margin:10px 0;display:block}:where(.lab-photo) label select,:where(.lab-photo) label input[type=number]{width:100%;margin-top:5px;display:block}:where(.lab-photo) .upload{border:1px dashed var(--c-border-subtle);text-align:center;cursor:pointer;padding:22px 8px}:where(.lab-photo) .check{gap:8px;display:flex}:where(.lab-photo) .check input{flex:none}:where(.lab-photo) .point{margin:3px;padding:5px 9px;display:inline-flex}:where(.lab-photo) .point.missing{border-style:dashed}:where(.lab-photo) .point small{margin-left:5px}:where(.lab-photo) .stage-head{border:1px solid var(--c-border-subtle);justify-content:space-between;align-items:center;padding:12px 18px;display:flex}:where(.lab-photo) .canvas{border:1px solid var(--c-border-subtle);background-size:22px 22px;border-top:0;position:relative}:where(.lab-photo) #stage{touch-action:none;width:100%;height:540px;display:block}:where(.lab-photo) #stage text{paint-order:stroke;stroke-width:4px;pointer-events:none;font-size:16px}:where(.lab-photo) #stage circle{cursor:grab}:where(.lab-photo) #notice{border:1px solid var(--c-border-subtle);white-space:pre-line;margin-top:12px;padding:16px}:where(.lab-photo) #notice.error{border-color:var(--c-border-subtle)}:where(.lab-photo) .transport{align-items:center;gap:16px;margin:18px 0;display:flex}:where(.lab-photo) .transport input{flex:1;min-width:40px}:where(.lab-photo) output{min-width:150px;font-size:12px}:where(.lab-photo) #metrics{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}:where(.lab-photo) #metrics div{padding:12px 18px}:where(.lab-photo) #metrics b{font-size:20px;display:block}@media (width<=950px){:where(.lab-photo) .layout{grid-template-columns:1fr}:where(.lab-photo) .heading{flex-wrap:wrap}:where(.lab-photo) .heading>div{flex-basis:100%}:where(.lab-photo) .layout>article{grid-row:1}:where(.lab-photo) #stage{height:400px}:where(.lab-photo) header>span{display:none}}:where(.lab-photo) #detail-list{grid-template-columns:1fr 1fr;gap:8px;display:grid}:where(.lab-photo) .detail-card{min-width:0;padding:6px}:where(.lab-photo) .detail-card img{object-fit:cover;cursor:zoom-in;width:100%;height:85px}:where(.lab-photo) .detail-card span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}:where(.lab-photo) .detail-card button{padding:3px 8px;font-size:12px}:where(.lab-photo) #detail-preview{border:1px solid var(--c-border-subtle);max-width:90vw;max-height:90vh}:where(.lab-photo) #detail-preview img{object-fit:contain;max-width:80vw;max-height:75vh;display:block}:where(.lab-photo) #diagnostics{margin-top:16px}:where(.lab-photo) .diagnostic{border-left:3px solid var(--c-border-subtle);margin:14px 0;padding:0 12px}:where(.lab-photo) .diagnostic button{margin:3px}:where(.lab-photo) .canvas{overflow:hidden}:where(.lab-photo) .canvas-tools{border:1px solid var(--c-border-subtle);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;display:flex}:where(.lab-photo) .canvas-tools output{text-align:center;min-width:48px}:where(.lab-photo) .canvas-tools span{font-size:12px}:where(.lab-photo) #stage{cursor:grab;-webkit-user-select:none;user-select:none}:where(.lab-photo) #stage.panning{cursor:grabbing}:where(.lab-photo) #stage.placing{cursor:crosshair}:where(.lab-photo) .dimension-label,:where(.lab-photo) [data-dimension]{cursor:pointer}:where(.lab-photo) details summary{cursor:pointer;padding:12px 0}}.lab-controls{overflow-wrap:anywhere;background:var(--c-surface-page);min-height:100svh;color:var(--c-text-primary)}.lab-controls :where(h1,h2,h3,p){overflow-wrap:anywhere}.lab-controls :where(p,small,.dim){color:var(--c-text-muted)}.lab-controls :where(a){color:var(--c-link);text-underline-offset:.25em}.lab-controls :where(a:hover){color:var(--c-link-hover)}.lab-controls :where(button,select,input,textarea){font:inherit}.lab-controls :where(button,select,summary,.button,.upload,.io-file){cursor:pointer}.lab-controls :where(button,.button,.io-file,.upload,summary){min-height:var(--touch-min)}.lab-controls :where(summary,select,input:not([type=file],[type=hidden])){min-width:0}.lab-controls :where(button,.button,.io-file,.upload),.lab-controls .lab-button{min-width:var(--touch-min);min-height:var(--touch-min);border:var(--border-heavy) solid var(--c-border-strong);border-radius:var(--radius-control);color:var(--c-text-primary);font-family:var(--ff-sans);letter-spacing:.04em;text-transform:uppercase;transition:background-color var(--duration-instant) var(--ease-standard), border-color var(--duration-instant) var(--ease-standard), color var(--duration-instant) var(--ease-standard);background:0 0;justify-content:center;align-items:center;gap:.5rem;padding:.5625rem .875rem;font-size:.875rem;font-weight:720;font-stretch:112%;line-height:1.2;text-decoration:none;display:inline-flex}.lab-controls :where(button,.button,.io-file,.upload):hover:not(:disabled),.lab-controls .lab-button:hover:not(:disabled){background:var(--c-action-secondary-hover);color:var(--c-text-primary)}.lab-controls :where(button.primary,.sag-button,.play),.lab-controls .lab-button[data-variant=primary]{border-color:var(--c-action-primary);background:var(--c-action-primary);color:var(--c-action-primary-text)}.lab-controls :where(button.primary,.sag-button,.play):hover:not(:disabled),.lab-controls .lab-button[data-variant=primary]:hover:not(:disabled){border-color:var(--c-action-primary-hover);background:var(--c-action-primary-hover);color:var(--c-action-primary-text)}.lab-controls :where(select,textarea,input:not([type=checkbox],[type=range],[type=radio],[type=file],[type=hidden])){min-height:var(--touch-min);border:var(--border-heavy) solid var(--c-border-input);border-radius:var(--radius-control);background:var(--c-surface-raised);max-width:100%;color:var(--c-text-primary);transition:border-color var(--duration-instant) var(--ease-standard);padding:.5rem .75rem}.lab-controls :where(select,textarea,input):is(:hover,:focus-visible):not(:disabled,[type=range]){border-color:var(--c-border-strong)}.lab-controls :where(select,textarea,input)[aria-invalid=true]{border-color:var(--c-error)}.lab-controls :where(button,select,input,textarea,.lab-button):disabled{cursor:not-allowed;background:var(--c-disabled-surface);color:var(--c-disabled-text);border-color:#0000}.lab-controls :where(input,textarea)::placeholder{color:var(--c-text-muted)}.lab-controls :where(input[type=file]){max-width:100%}.lab-controls :where(input[type=checkbox],input[type=radio]){width:20px;height:20px;accent-color:var(--c-selected);flex:none}.lab-controls :where(label:has(input[type=checkbox],input[type=radio])){min-height:var(--touch-min)}.lab-controls :where(input[type=range]){height:var(--touch-min);accent-color:var(--c-selected);background:0 0;border:0;margin:0}.lab-controls :where(input[type=range])::-webkit-slider-runnable-track{background:var(--c-border-input)}.lab-controls :where(input[type=range])::-webkit-slider-thumb{border:var(--border-heavy) solid var(--c-border-strong);border-radius:var(--radius-control);background:var(--c-highlight)}.lab-controls :where(input[type=range])::-moz-range-track{background:var(--c-border-input)}.lab-controls :where(input[type=range])::-moz-range-thumb{border:var(--border-heavy) solid var(--c-border-strong);border-radius:var(--radius-control);background:var(--c-highlight)}.lab-controls :where(input[type=range]):disabled::-webkit-slider-thumb{border-color:var(--c-border-input);background:var(--c-disabled-surface)}.lab-controls :where(input[type=range]):disabled::-moz-range-thumb{border-color:var(--c-border-input);background:var(--c-disabled-surface)}.lab-controls dialog{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;overscroll-behavior:contain;border:var(--border-heavy) solid var(--c-border-strong);border-radius:var(--radius-panel);background:var(--c-surface-raised);max-height:calc(100dvh - 32px);color:var(--c-text-primary);box-shadow:var(--shadow-overlay);margin:auto;overflow:auto}.lab-controls dialog::backdrop{background:var(--scrim)}.lab-controls :where(.io-file,.upload):has(input:focus-visible){outline:var(--border-heavy) solid var(--c-focus-ring);outline-offset:3px}@media (prefers-reduced-motion:reduce){.lab-controls *,.lab-controls :before,.lab-controls :after{transition-duration:0s!important}}.lab-controls :where(button.ghost,.lab-button[data-variant=ghost]){background:0 0;border-color:#0000}.lab-controls :where(button.ghost,.lab-button[data-variant=ghost]):disabled{color:var(--c-disabled-text);background:0 0;border-color:#0000}.lab-controls :where(.link-button,.lab-button[data-variant=link]){min-width:0;min-height:var(--touch-min);color:var(--c-link);font-family:var(--ff-sans);letter-spacing:0;text-transform:none;text-underline-offset:.28em;background:0 0;border:0;padding:0;font-size:.875rem;font-weight:650;font-stretch:100%;text-decoration:underline;text-decoration-thickness:1px}.lab-controls :where(.link-button,.lab-button[data-variant=link]):hover:not(:disabled){color:var(--c-link-hover);background:0 0;text-decoration-thickness:2px}.lab-controls .lab-button[data-size=small]{padding:.5rem .875rem;font-size:.8125rem}.lab-controls .lab-button[data-size=icon]{width:var(--touch-min);padding:0}.lab-controls .tape{background:var(--c-highlight);width:fit-content;max-width:100%;min-height:1.75rem;color:var(--c-highlight-text);font-family:var(--ff-mono);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:.5rem;padding:.25rem .625rem;font-size:.75rem;font-weight:500;line-height:1.3;display:inline-flex}.lab-controls .tape.tape-ink{background:var(--c-surface-inverse);color:var(--c-text-inverse)}.lab-controls .step-plate{background:var(--c-highlight);width:2.125rem;height:2.125rem;color:var(--c-highlight-text);font-family:var(--ff-sans);font-variant-numeric:tabular-nums;flex:none;place-items:center;font-size:1.125rem;font-weight:820;font-stretch:125%;display:inline-grid}.lab-controls .status-tag{border:var(--border-hairline) solid var(--c-border-input);width:fit-content;color:var(--c-text-secondary);font-family:var(--ff-mono);white-space:nowrap;align-items:center;padding:.1875rem .5rem;font-size:.6875rem;line-height:1.4;display:inline-flex}.lab-controls .status-tag.status-ready{border-color:var(--c-success);background:var(--c-success-surface);color:var(--c-text-primary)}.lab-controls .status-tag.status-partial{border-color:var(--c-warning);background:var(--c-warning-surface);color:var(--c-text-primary)}.lab-controls .status-tag.status-calculated{border-color:var(--c-border-strong);color:var(--c-text-primary)}.lab-controls .callout{border-inline-start:4px solid var(--c-highlight);background:var(--c-surface-sunken);color:var(--c-text-primary);padding:.625rem .875rem}.lab-controls :where(select,input:not([type=checkbox],[type=range],[type=radio],[type=file])):disabled{border:var(--border-heavy) dashed var(--c-border-input);background:var(--c-surface-sunken);color:var(--c-text-secondary)}.lab-controls :where(input[type=range]){--fill:0%}.lab-controls :where(input[type=range])::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--c-text-primary) var(--fill), var(--c-border-input) var(--fill));height:4px}.lab-controls :where(input[type=range])::-moz-range-progress{background:var(--c-text-primary);height:4px}.lab-controls :where(input[type=range]):disabled::-webkit-slider-runnable-track{background:var(--c-disabled-surface)}.lab-controls :where(.drop-zone){border:var(--border-heavy) dashed var(--c-border-input);background:var(--c-surface-page);text-align:start;text-transform:none;letter-spacing:0;justify-content:flex-start;align-items:center;gap:.75rem;width:100%;padding:.875rem 1rem;font-stretch:100%;display:flex}.lab-controls :where(.drop-zone):hover{border-color:var(--c-border-strong);background:var(--c-action-secondary-hover)}.lab-controls :where(.drop-zone) span{gap:.125rem;display:grid}.lab-controls :where(.drop-zone) small{color:var(--c-text-secondary);font-weight:400}.lab-controls :where(input[type=range]){appearance:none;touch-action:pan-y;min-width:44px}.lab-controls :where(input[type=range])::-webkit-slider-thumb{appearance:none;width:24px;height:24px;margin-top:-10px}.lab-controls :where(input[type=range])::-moz-range-track{height:4px}.lab-controls :where(input[type=range])::-moz-range-thumb{width:22px;height:22px}.lab-tool{isolation:isolate}.lab-controls{--viz-axis:var(--c-text-muted);--viz-grid:var(--c-border-subtle);--viz-surface:var(--c-surface-page);--viz-curve:var(--c-text-primary);--viz-reference:var(--c-text-secondary);--viz-series-a:#215b78;--viz-series-b:#964715;--viz-series-c:#456635;--viz-series-d:#78456d;--viz-series-e:#08756d;--viz-series-f:#59538d}.lab-controls .theme-dark{--viz-series-a:#8ccddd;--viz-series-b:#e3b57e;--viz-series-c:#b6e580;--viz-series-d:#d58d9c;--viz-series-e:#69ab9c;--viz-series-f:#b2a3d8;--viz-axis:var(--c-text-secondary);--viz-grid:var(--c-border-subtle);--viz-surface:var(--c-surface-page);--viz-reference:var(--c-text-muted)}.lab-controls :is(.chart-svg,#comparison-chart,.ab-charts svg,.mechanism-card svg) text{fill:var(--viz-axis);font-family:var(--ff-mono)}.lab-controls .comparison-grid path{stroke:var(--viz-grid);fill:none}.lab-controls .legend-line.green{background:var(--viz-series-c)}.lab-controls .legend-line.gold{background:var(--viz-series-b)}.lab-controls .legend-line.pink{background:var(--viz-series-d)}.lab-controls .bike-vector-controls .vector-motion{color:var(--viz-series-c)}.lab-controls .bike-vector-controls .vector-force{color:var(--viz-series-b)}.lab-controls #stage text{fill:var(--c-text-primary);stroke:var(--viz-surface);paint-order:stroke;stroke-width:4px;font-family:var(--ff-mono)}.lab-controls :is(.mechanism-legend,.ab-force-legend){font-family:var(--ff-mono)}.lab-photo{font-size:.875rem}.lab-photo>header{height:auto;min-height:var(--header-h);border-bottom:var(--border-heavy) solid var(--c-border-strong);gap:1rem}.lab-photo>header a{min-height:var(--touch-min);align-items:center;display:inline-flex}.lab-photo h1{text-transform:uppercase;letter-spacing:-.012em;font-size:clamp(1.75rem,1.1rem + 2.7vw,3rem);font-weight:800;font-stretch:125%;line-height:1.1}.lab-photo :is(.stage-head,.canvas,.canvas-tools),.lab-photo .photo-step #diagnostics{background-color:var(--c-surface-raised);border-color:var(--c-border-strong);border-width:var(--border-heavy);border-radius:var(--radius-panel)}.lab-photo .canvas{color:var(--c-text-primary);background-color:var(--c-surface-page);background-image:radial-gradient(var(--c-border-subtle) 1px, transparent 1px)}.lab-photo :is(.stage-head,.canvas-tools){border-bottom:0}.lab-photo .canvas-tools{grid-template-columns:minmax(0,1fr);gap:.375rem;display:grid}.lab-photo :is(.canvas-tools__modes,.canvas-tools__view){flex-wrap:wrap;align-items:center;gap:.375rem;display:flex}.lab-photo .canvas-tools button{min-height:var(--touch-min);min-width:var(--touch-min)}.lab-photo .canvas-tools__view{border-top:var(--border-hairline) solid var(--c-border-subtle);padding-top:.375rem}.lab-photo #canvas-tool-status{color:var(--c-text-secondary);margin:0;font-size:.8125rem}.lab-photo #canvas-tool-status:empty{display:none}.lab-photo .stage-head{font-weight:720}.lab-photo .upload{overflow-wrap:anywhere;border-style:dashed;flex-wrap:wrap;display:flex}.lab-photo .upload label,.lab-photo label.button{min-height:var(--touch-min)}.lab-photo :is(.point.active,.canvas-tools button[aria-pressed=true]){background:var(--c-highlight);color:var(--c-highlight-text)}.lab-photo :is(#notice,#metrics div,.detail-card){background:var(--c-surface-sunken)}.lab-photo #metrics b,.lab-photo output{font-family:var(--ff-mono);font-variant-numeric:tabular-nums}.lab-photo #notice.error{background:var(--c-error-surface);color:var(--c-error);border-color:var(--c-error)}.lab-photo .diagnostic{border-inline-start-color:var(--c-error)}.lab-photo #stroke-candidate{color:var(--c-warning)}.lab-photo .canvas{border:0}.lab-photo .canvas:focus-within #stage:focus-visible{outline-offset:-5px}.lab-photo .pivot-placement{background:var(--c-surface-sunken);border:var(--border-hairline) solid var(--c-border-subtle);padding:.5rem .75rem}.lab-photo .pivot-placement p{margin-block:.25rem}.lab-photo .photo-review{background:var(--c-surface-sunken);border:var(--border-hairline) solid var(--c-border-subtle);padding:.75rem}.lab-photo .photo-review[hidden]{display:none}.lab-photo #review-issues{margin:0;padding-inline-start:1.25rem}.lab-photo #stage .photo-candidate-point{fill:var(--viz-surface);stroke:var(--viz-series-a);stroke-width:3px;stroke-dasharray:3 2;cursor:crosshair}.lab-photo #stage .photo-candidate-point[data-evidence=detail-estimate]{stroke:var(--viz-series-b)}.lab-photo #pivot-placement-status{font-weight:720}.lab-photo .pivot-placement summary{min-height:var(--touch-min);cursor:pointer;align-content:center}.lab-photo .pivot-placement__keys{flex-wrap:wrap;gap:.25rem;display:flex}.lab-photo :is(.point,.pivot-placement__keys button){min-width:var(--touch-min);min-height:var(--touch-min)}.lab-photo .pivot-cursor{pointer-events:none;stroke:var(--c-text-primary);stroke-width:2px}.lab-photo .pivot-cursor--outline{stroke:var(--c-surface-raised);stroke-width:5px}.lab-photo #stage.placing :is([data-point],[data-dimension]){cursor:crosshair}.lab-photo .photo-guides{gap:.375rem;display:grid}.lab-photo .photo-guides[hidden]{display:none}.lab-photo .photo-guides h2{margin:0}.lab-photo .photo-guides button{overflow-wrap:anywhere;max-width:100%}.lab-photo #guide-items{max-height:min(12rem,32vh);overflow:auto}.lab-photo .photo-guides button[aria-pressed=true]{background:var(--c-highlight);color:var(--c-highlight-text)}.lab-photo .pivot-placement__keys[hidden]{display:none}.lab-photo :is(.photo-guide-line,.photo-guide-halo){pointer-events:none;stroke-dasharray:6 5}.lab-photo .photo-guide-line{stroke:var(--c-text-primary);stroke-width:2px}.lab-photo .photo-guide-line.is-selected{stroke-width:3px}.lab-photo .photo-guide-halo{stroke:var(--c-surface-raised);stroke-width:5px}.lab-photo .photo-guide-draft{opacity:.75}.lab-photo .photo-guide-hit{cursor:pointer;stroke:#0000;stroke-width:18px;pointer-events:stroke}.lab-photo .photo-guide-handle{fill:var(--c-surface-raised);stroke:var(--c-text-primary);stroke-width:2px}.lab-photo .photo-guide-handle.is-selected{fill:var(--c-highlight);stroke:var(--c-highlight-text)}.lab-photo #stage .photo-guide-text{fill:var(--c-text-primary);stroke:var(--c-surface-raised);pointer-events:visiblePainted;cursor:grab;font-weight:720}.lab-photo #guide-note-dialog{border:var(--border-heavy) solid var(--c-border-strong);background:var(--c-surface-raised);width:min(25rem,100% - 2rem);color:var(--c-text-primary)}.lab-photo #guide-note-text{width:100%}.lab-photo>.photo-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1.5rem;padding-block:.5rem;display:flex}.lab-photo .photo-workspace{color:var(--c-text-primary);letter-spacing:.06em;font-weight:750;display:block}.lab-photo .photo-header nav{flex-wrap:wrap;gap:.25rem;display:flex}.lab-photo .photo-header nav a{color:var(--c-text-primary);padding:0 .75rem;font-size:.875rem;font-weight:600}.lab-photo .photo-header nav a:hover{background:var(--c-action-secondary-hover)}.lab-photo .photo-header nav a[aria-current=page]{background:var(--c-surface-sunken);box-shadow:inset 0 calc(-1 * var(--border-heavy)) var(--c-selected)}.lab-photo .heading .tape{margin-bottom:.75rem}.lab-photo .range-field{gap:.375rem;display:grid}.lab-photo .range-field input{width:100%}@media (width<=700px){.lab-photo .photo-header nav{flex-wrap:nowrap;width:100%;overflow-x:auto}.lab-photo .photo-header nav a{white-space:nowrap}}.lab-photo main{max-width:1680px}.lab-photo .heading{align-items:flex-end;gap:1.5rem}.lab-photo .heading p{max-width:46rem;color:var(--c-text-secondary)}.lab-photo .heading-actions{flex-wrap:wrap;gap:.5rem;display:flex}.lab-photo .heading-actions :is(button,.button){width:auto;margin:0}.lab-photo .photo-stepper{top:calc(var(--header-h) + var(--border-heavy));z-index:var(--z-raised);border:var(--border-heavy) solid var(--c-border-strong);background:var(--c-surface-raised);grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 1.25rem;padding:0;list-style:none;display:grid;position:sticky}@media (width>1100px){.lab-photo :is(.photo-step h2,#point-choice){scroll-margin-top:3.25rem}}.lab-photo .photo-stepper button+button{border-inline-start:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .photo-stepper button{letter-spacing:0;text-transform:none;border:0;justify-content:flex-start;gap:.625rem;width:100%;min-height:52px;margin:0;padding:.5rem 1rem;font-size:.875rem;font-weight:650;font-stretch:100%}.lab-photo .photo-stepper button:disabled{color:var(--c-text-muted);background:0 0}.lab-photo .photo-stepper__index{border:var(--border-heavy) solid currentColor;width:1.625rem;height:1.625rem;font-family:var(--ff-mono);flex:none;place-items:center;font-size:.75rem;display:inline-grid}.lab-photo .photo-stepper button[data-status=current]{background:var(--c-action-primary);color:var(--c-action-primary-text);box-shadow:inset 0 -4px var(--c-highlight)}.lab-photo .photo-stepper [data-status=current] .photo-stepper__index{border-color:var(--c-highlight);background:var(--c-highlight);color:var(--c-highlight-text)}.lab-photo .photo-stepper [data-status=done] .photo-stepper__index{border-color:var(--c-text-primary);background:var(--c-text-primary);color:var(--c-highlight)}.lab-photo .photo-layout{grid-template-columns:minmax(0,1fr) minmax(22rem,28rem);align-items:start;gap:1.25rem;display:grid}.lab-photo .photo-stage{min-width:0}.lab-photo .photo-stage .canvas svg{height:100%}.lab-photo .photo-step{border:var(--border-heavy) solid var(--c-border-strong);background:var(--c-surface-raised);margin:0;padding:0}.lab-photo .photo-step__header{align-items:center;gap:.75rem;min-height:3.25rem;padding:.5rem .75rem .5rem 1rem;display:flex}.lab-photo .photo-step[data-open] .photo-step__header{border-bottom:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .photo-step__header h2{text-transform:uppercase;flex:1;margin:0;font-size:1rem;font-weight:780;font-stretch:112%}.lab-photo .photo-step__body{grid-template-columns:minmax(0,1fr);gap:.875rem;padding:1rem;display:grid}.lab-photo .photo-step__body>*,.lab-photo .photo-step__body p{margin:0}.lab-photo .photo-step button{width:auto;margin:0}.lab-photo .photo-step .step-next,.lab-photo .photo-step .drop-zone{width:100%}.lab-photo .photo-lead{color:var(--c-text-primary);font-size:.875rem}.lab-photo .photo-hint{color:var(--c-text-muted);font-size:.75rem;line-height:1.5}.lab-photo .photo-field{align-content:start;gap:.375rem;min-width:0;margin:0;display:grid}.lab-photo .photo-field>span{color:var(--c-text-secondary);font-family:var(--ff-mono);font-size:.75rem}.lab-photo .photo-field :is(input,select){width:100%;margin:0}.lab-photo .photo-field--inline{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));align-items:center;gap:.75rem}.lab-photo .photo-actions{flex-wrap:wrap;gap:.5rem;display:flex}.lab-photo .callout{gap:.5rem;font-size:.8125rem;display:grid}.lab-photo .callout-error{border-inline-start-color:var(--c-error);background:var(--c-error-surface)}.lab-photo .photo-service{border-inline-start:4px solid var(--c-border-input);color:var(--c-text-secondary);padding-inline-start:.875rem;font-size:.8125rem}.lab-photo .photo-progress{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;font-size:.8125rem;display:flex}.lab-photo .photo-progress__bar{background:var(--c-border-subtle);flex-basis:100%;height:4px;position:relative;overflow:hidden}.lab-photo .photo-progress__bar:after{background:var(--c-text-primary);width:30%;animation:photo-progress 1.4s var(--ease-standard) infinite;content:"";position:absolute;inset:0 auto 0 0}@keyframes photo-progress{0%{transform:translate(-100%)}to{transform:translate(340%)}}@media (prefers-reduced-motion:reduce){.lab-photo .photo-progress__bar:after{opacity:.4;width:100%;animation:none}}.lab-photo .photo-recognized b{font-family:var(--ff-mono)}.lab-photo .photo-dev{border-top:var(--border-hairline) dashed var(--c-border-input);padding-top:.5rem;font-size:.75rem}.lab-photo .bike-candidates,.lab-photo .spec-results ol{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.lab-photo .spec-results{gap:.5rem;display:grid}.lab-photo .bike-candidate{border:var(--border-hairline) solid var(--c-border-input);background:var(--c-surface-page);gap:.375rem;padding:.75rem .875rem;font-size:.8125rem;display:grid}.lab-photo .bike-candidate__head{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.lab-photo .bike-candidate strong{font-size:.9375rem}.lab-photo .bike-candidate small{color:var(--c-text-muted);font-family:var(--ff-mono)}.lab-photo .bike-candidate p{color:var(--c-text-secondary)}.lab-photo .confidence-high{border-color:var(--c-success);background:var(--c-success-surface)}.lab-photo .confidence-medium{border-color:var(--c-warning);background:var(--c-warning-surface)}.lab-photo .db-matches{gap:.25rem;margin:0;padding:0;list-style:none;display:grid}.lab-photo .db-matches li{background:var(--c-surface-sunken);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .625rem;display:flex}.lab-photo .db-matches li>span{flex-wrap:wrap;align-items:baseline;gap:.25rem .375rem;display:flex}.lab-photo .db-matches small{color:var(--c-text-muted);font-family:var(--ff-mono);flex-basis:100%;font-size:.6875rem}.lab-photo .db-miss{color:var(--c-text-secondary);flex-wrap:wrap;align-items:center;gap:.25rem .75rem;font-size:.8125rem;display:flex}.lab-photo .db-miss .link-button{min-height:32px}.lab-photo .identity-search{border-top:var(--border-hairline) solid var(--c-border-subtle);grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));align-items:end;gap:.5rem;margin:0;padding-top:.75rem;display:grid}.lab-photo .identity-skip{justify-self:start}.lab-photo .identity-name{font-size:1.125rem;font-weight:780;font-stretch:112%}.lab-photo .identity-confirmed{gap:.75rem;font-size:.8125rem;display:grid}.lab-photo .spec-rows{margin:0;display:grid}.lab-photo .spec-rows>div{border-bottom:var(--border-hairline) solid var(--c-border-subtle);justify-content:space-between;gap:1rem;padding:.25rem 0;display:flex}.lab-photo .spec-rows dt{color:var(--c-text-muted);font-family:var(--ff-mono);text-transform:uppercase;font-size:.6875rem}.lab-photo .spec-rows dd{font-family:var(--ff-mono);margin:0}.lab-photo .spec-sources{flex-wrap:wrap;gap:.25rem .75rem;margin:0;padding:0;list-style:none;display:flex}.lab-photo .spec-sources a{align-items:center;gap:.25rem;font-size:.75rem;display:inline-flex}.lab-photo .calibration-group{gap:.5rem;display:grid}.lab-photo .calibration-group h3{color:var(--c-text-muted);font-family:var(--ff-mono);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.6875rem;font-weight:500}.lab-photo #retake-suggestion{border-inline-start:4px solid var(--c-error);padding:.75rem}.lab-photo .calibration-advanced,.lab-photo .result-notes{border-block:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .calibration-advanced>summary,.lab-photo .result-notes>summary{min-height:var(--touch-min);padding-block:.5rem;font-size:.8125rem;font-weight:650}.lab-photo .calibration-advanced[open]{gap:.75rem;padding-bottom:.875rem;display:grid}.lab-photo #diagnostics{border-width:var(--border-hairline);border-color:var(--c-border-input);padding:.75rem .875rem;font-size:.8125rem}.lab-photo #diagnostics h2{font-size:.75rem;font-family:var(--ff-mono);letter-spacing:.06em;font-weight:500}.lab-photo .result-figures{border:var(--border-hairline) solid var(--c-border-subtle);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.lab-photo .result-figures>div{border-bottom:var(--border-hairline) solid var(--c-border-subtle);gap:.125rem;padding:.625rem .75rem;display:grid}.lab-photo .result-figures>div:nth-child(odd){border-inline-end:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .result-figures>div:nth-child(-n+2){background:var(--c-surface-sunken)}.lab-photo .result-figures dt{color:var(--c-text-secondary);font-size:.75rem}.lab-photo .result-figures dd{font-family:var(--ff-mono);font-variant-numeric:tabular-nums;margin:0;font-size:1.375rem}.lab-photo .result-figures small{color:var(--c-text-muted);font-size:.75rem}.lab-photo :is(.photo-curve,.photo-motion-figure) svg{background:var(--c-surface-page);width:100%;height:auto;display:block}.lab-photo :is(.photo-curve,.photo-motion-figure) svg text{fill:var(--viz-axis);font-family:var(--ff-mono);font-size:12px}.lab-photo .photo-motion{gap:.875rem;display:grid}.lab-photo .photo-motion,.lab-photo .photo-motion .photo-motion-readings{padding:0}.lab-photo .photo-motion :is(h3,h4,figure,dl){margin:0}.lab-photo .photo-motion-travel{background:var(--c-surface-sunken);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.25rem .75rem;padding:.625rem .875rem;display:grid}.lab-photo .photo-motion-travel input{grid-column:1/-1;width:100%;min-height:44px;margin:0}.lab-photo .photo-motion :is(output,dd,td){font-family:var(--ff-mono);font-variant-numeric:tabular-nums}.lab-photo .photo-motion output{text-align:end}.lab-photo .photo-motion-pose,.lab-photo .photo-motion-plots,.lab-photo .photo-motion-geometry-tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.lab-photo .photo-motion-pose{grid-template-columns:minmax(0,3fr) minmax(16rem,2fr)}.lab-photo .photo-motion :is(figure,.photo-motion-readings,table){border:var(--border-hairline) solid var(--c-border-subtle);min-width:0}.lab-photo .photo-motion :is(figcaption,h4){background:var(--c-surface-sunken);padding:.625rem .75rem;font-size:.875rem;font-weight:650}.lab-photo .photo-motion-ghost{stroke:var(--viz-reference);stroke-width:1.5px;stroke-dasharray:4 4;opacity:.65}.lab-photo .photo-motion-links{stroke:var(--viz-reference);stroke-width:2.5px}.lab-photo .photo-motion-links .photo-motion-shock{stroke:var(--viz-series-d);stroke-width:4px}.lab-photo .photo-motion-path,.lab-photo .photo-motion-tangent{fill:none;stroke:var(--viz-series-a);stroke-width:2.5px}.lab-photo .photo-motion-point{fill:var(--c-surface-page);stroke:var(--viz-axis);stroke-width:1.5px}.lab-photo .photo-motion-center circle{fill:none;stroke:var(--viz-series-b);stroke-width:2px;stroke-dasharray:3 2}.lab-photo .photo-motion-figure svg text{paint-order:stroke;stroke:var(--c-surface-page);stroke-width:3px;font-size:16px}.lab-photo .photo-motion-legend{color:var(--c-text-secondary);flex-wrap:wrap;gap:.375rem 1rem;margin:0;padding:.375rem .75rem;font-size:.75rem;list-style:none;display:flex}.lab-photo .photo-motion-legend li:before{content:"";border-top:2px solid var(--viz-series-a);vertical-align:.25em;width:1.25rem;margin-inline-end:.375rem;display:inline-block}.lab-photo .photo-motion-legend .photo-motion-legend--ghost:before{border-top:2px dashed var(--viz-reference)}.lab-photo .photo-motion-legend .photo-motion-legend--reference:before{border-top:2px dashed var(--viz-series-b)}.lab-photo .photo-motion-legend .photo-motion-legend--shock:before{border-color:var(--viz-series-d)}.lab-photo .photo-motion-legend .photo-motion-legend--center:before{border:1px dashed var(--viz-series-b);vertical-align:baseline;border-radius:50%;width:.625rem;height:.625rem}.lab-photo .photo-motion-readings dl>div{border-top:var(--border-hairline) solid var(--c-border-subtle);flex-wrap:wrap;justify-content:space-between;gap:.125rem .75rem;padding:.5rem .75rem;font-size:.8125rem;display:flex}.lab-photo .photo-motion-readings dd{color:var(--c-text-primary)}.lab-photo .photo-motion-geometry table{border-collapse:collapse;align-self:start;width:100%;font-size:.8125rem}.lab-photo .photo-motion-geometry :is(th,td){border-bottom:var(--border-hairline) solid var(--c-border-subtle);text-align:end;padding:.375rem .5rem}.lab-photo .photo-motion-geometry th:first-child{text-align:start}.lab-photo .photo-motion-geometry td{white-space:nowrap}@media (width<=720px){.lab-photo :is(.photo-motion-pose,.photo-motion-plots,.photo-motion-geometry-tables){grid-template-columns:minmax(0,1fr)}.lab-photo .photo-motion-figure svg text{font-size:22px}}@media (width<=380px){.lab-photo .photo-motion-travel{grid-template-columns:minmax(0,1fr)}.lab-photo .photo-motion output{text-align:start}}.lab-photo .deviation-verdict{border-inline-start:4px solid;padding:.5rem .75rem;font-size:.875rem;font-weight:650}.lab-photo .deviation-good{border-color:var(--c-success);background:var(--c-success-surface)}.lab-photo .deviation-warn{border-color:var(--c-warning);background:var(--c-warning-surface)}.lab-photo .deviation-bad{border-color:var(--c-error);background:var(--c-error-surface)}.lab-photo .deviation-table{border-collapse:collapse;width:100%;font-size:.8125rem}.lab-photo .deviation-table :is(th,td){border-bottom:var(--border-hairline) solid var(--c-border-subtle);text-align:start;padding:.375rem .5rem}.lab-photo .deviation-table th{background:var(--c-surface-sunken);color:var(--c-text-secondary);font-family:var(--ff-mono);font-size:.6875rem;font-weight:500}.lab-photo .deviation-table td:not(:first-child){font-family:var(--ff-mono);font-variant-numeric:tabular-nums}.lab-photo .result-extra{gap:.375rem;display:grid}.lab-photo .result-extra[hidden]{display:none}.lab-photo .table-scroll{overflow-x:auto}@media (width<=1100px){.lab-photo .photo-layout{grid-template-columns:minmax(0,1fr)}.lab-photo .photo-stage .canvas{aspect-ratio:3/2}}@media (width<=700px){.lab-photo .heading{flex-direction:column;align-items:flex-start}}.lab-photo :is(button,.button,label,.photo-step,.photo-stepper) svg:not(#stage,.shooting-guide__diagram){flex:none;width:auto;height:auto}.lab-photo #diagnostics p{margin:.25rem 0}.lab-photo .heading-actions .ghost{border-color:#0000}.lab-photo #constraints .constraint{border-bottom:var(--border-hairline) solid var(--c-border-subtle);grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.5rem;padding-block:.625rem;display:grid}.lab-photo #constraints .constraint label:has(select){grid-column:1/-1}.lab-photo #constraints .constraint button{grid-column:1/-1;justify-self:end}.lab-photo #constraints{gap:.375rem;display:grid}.lab-photo #constraints .constraint :is(select,input){width:100%;min-width:0;margin:0;padding-inline:.5rem}@media (width<=1100px){.lab-photo .photo-stepper{position:static}}.lab-photo .photo-step[data-step="1"]{container:photo-upload/inline-size}.lab-photo .shooting-guide{border:var(--border-hairline) solid var(--c-border-subtle);background:var(--c-surface-raised);color:var(--c-text-primary)}.lab-photo .shooting-guide figure{margin:0}.lab-photo .shooting-guide summary{min-height:var(--touch-min);cursor:pointer;padding:.7rem .8rem;font-size:.875rem;line-height:1.5}.lab-photo .shooting-guide[open]>summary,.lab-photo .shooting-guide__visuals{border-bottom:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .shooting-guide__viewfinder{isolation:isolate;background:var(--c-surface-inverse);border:3px solid var(--c-surface-inverse);position:relative}.lab-photo .shooting-guide__viewfinder img{width:100%;height:auto;display:block}.lab-photo .shooting-guide__viewfinder:after,.lab-photo .shooting-guide__focus{--corner:12px;--weight:2px;content:"";color:var(--c-text-primary);background:linear-gradient(currentColor 0 0) left top / var(--corner) var(--weight), linear-gradient(currentColor 0 0) left top / var(--weight) var(--corner), linear-gradient(currentColor 0 0) right top / var(--corner) var(--weight), linear-gradient(currentColor 0 0) right top / var(--weight) var(--corner), linear-gradient(currentColor 0 0) right bottom / var(--corner) var(--weight), linear-gradient(currentColor 0 0) right bottom / var(--weight) var(--corner), linear-gradient(currentColor 0 0) left bottom / var(--corner) var(--weight), linear-gradient(currentColor 0 0) left bottom / var(--weight) var(--corner);pointer-events:none;background-repeat:no-repeat;position:absolute;inset:5%}.lab-photo .shooting-guide__focus{aspect-ratio:1;--corner:27%;width:9%;color:var(--c-text-inverse);inset:64.8% auto auto 42%;transform:translate(-50%,-50%)}.lab-photo .shooting-guide__viewfinder figcaption,.lab-photo .shooting-guide__lens{font-size:.8125rem;font-weight:650;line-height:1.4;position:absolute}.lab-photo .shooting-guide__viewfinder figcaption{background:var(--c-surface-inverse);color:var(--c-text-inverse);padding:.12rem .4rem;top:6%;left:9%}.lab-photo .shooting-guide__lens{background:var(--c-highlight);color:var(--c-highlight-text);font-family:var(--ff-mono);border-radius:2rem;padding:.14rem .5rem;bottom:4%;left:50%;transform:translate(-50%)}.lab-photo .shooting-guide__setup{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);display:grid}.lab-photo .shooting-guide__setup figure{grid-template-rows:auto 1fr;padding:.65rem .5rem .25rem;display:grid}.lab-photo .shooting-guide__setup figcaption{font-size:.875rem;font-weight:650;line-height:1.4}.lab-photo .shooting-guide__height{border-left:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .shooting-guide__diagram{align-self:center;width:100%;height:auto;display:block}.lab-photo .shooting-guide__drawing{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.lab-photo .shooting-guide__plan{align-self:center;position:relative}.lab-photo .shooting-guide__distance{font:600 .8125rem/1.2 var(--ff-mono);white-space:nowrap;position:absolute;top:53%;left:45%;transform:translate(-50%,-100%)}.lab-photo .shooting-guide__tips p{margin:0;padding:0 .8rem .8rem;font-size:.875rem;line-height:1.5}@container photo-upload (width>=580px){.lab-photo .shooting-guide__visuals{grid-template-columns:minmax(0,3fr) minmax(0,2fr);display:grid}.lab-photo .shooting-guide__setup{grid-template-columns:1fr;align-content:center}.lab-photo .shooting-guide__setup figure{padding:.5rem .875rem}.lab-photo .shooting-guide__diagram{max-height:5.5rem}.lab-photo .shooting-guide__height{border-left:0;border-top:var(--border-hairline) solid var(--c-border-subtle)}}.lab-photo .photo-lens-warning{border-inline-start:var(--border-hairline) solid var(--c-error);background:var(--c-error-surface);justify-items:start;gap:.25rem;padding:.75rem 1rem;display:grid}.lab-photo .photo-lens-warning>:is(p,button){margin:0}.lab-photo .photo-lens-warning>button{width:auto;min-height:var(--touch-min)}.lab-photo .photo-step__header h2{scroll-margin-block-start:5rem}.lab-photo .photo-view-result{justify-self:start;min-height:44px}@media (width<=900px){.lab-photo .photo-step__header h2{scroll-margin-block-start:1.5rem}}.lab-photo .photo-layout{grid-template-columns:minmax(20rem,27rem) minmax(0,1fr)}.lab-photo .photo-layout[data-view="1"]:has(.photo-stage[hidden]){grid-template-columns:minmax(0,48rem);justify-content:center}.lab-photo .photo-layout[data-view="1"]:has(.photo-stage[hidden]) .photo-stage-footer{grid-column:1}.lab-photo .photo-layout[data-view="4"]{grid-template-columns:minmax(0,1fr) minmax(19rem,25rem)}.lab-photo .photo-layout[data-view="5"] #photo-panel-5,.lab-photo .photo-edit-navigation,.lab-photo .photo-layout[data-view="4"] .photo-stage-footer{grid-column:1/-1}.lab-photo .photo-stage-footer{grid-column:2}.lab-photo .photo-stage-footer:has(#notice:empty):not(:has(.photo-view-result)){display:none}.lab-photo .photo-layout .photo-stage{position:static}.lab-photo :is(.photo-stage,.photo-step,.photo-edit-navigation,.stage-head,.transport,.photo-recognition-annotation,.calibration-group)[hidden]{display:none}.lab-photo .photo-stage[data-canvas-mode=preview]{border:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .photo-stage:not([data-canvas-mode=preview]){border:var(--border-heavy) solid var(--c-border-strong)}.lab-photo .photo-stage[data-canvas-mode=preview] :is(.canvas-tools,.photo-guides){display:none}.lab-photo .photo-stage[data-canvas-mode=preview] #stage{cursor:default;touch-action:auto}.lab-photo .photo-layout[data-editor-phase=rims] .photo-stage{grid-column:1/-1}.lab-photo .photo-layout[data-editor-phase=rims] #photo-panel-4,.lab-photo .photo-stage:not([data-canvas-mode=pivots]) #photo-extra-tools,.lab-photo #photo-extra-tools:not([open])>:not(summary){display:none}.lab-photo .photo-canvas-top .canvas-tools__view{border:0;padding:0}.lab-photo #zoom-level{text-align:center;min-width:3rem}.lab-photo .canvas-tools__view button,.lab-photo :is(#photo-extra-tools,.rim-help)>summary{min-height:var(--touch-min)}.lab-photo .photo-stage[data-canvas-mode=pivots] #photo-extra-tools:not([open]){display:block}.lab-photo :is(#photo-extra-tools,.rim-help)>summary{cursor:pointer;padding-block:.5rem}.lab-photo .photo-stage .transport:not([hidden]){background:var(--c-surface-raised);grid-template-columns:auto minmax(10rem,1fr) minmax(0,max-content);gap:.375rem .75rem;margin:0;padding:.5rem .75rem;display:grid}.lab-photo .photo-stage .transport input{width:100%;min-inline-size:0;margin:0}.lab-photo .photo-stage .transport button{white-space:nowrap;margin:0}.lab-photo .photo-stage .transport output{text-align:end;min-inline-size:0}@media (width<=600px){.lab-photo .photo-stage .transport{grid-template-columns:auto minmax(0,1fr)}.lab-photo .photo-stage .transport output{text-align:start;grid-column:1/-1}}@media (width<=360px){.lab-photo .photo-stage .transport input{grid-column:1/-1}}.lab-photo .photo-recognition-annotation{background:var(--c-surface-raised);padding:.75rem}.lab-photo #photo-ai-legend{color:var(--c-text-secondary);flex-wrap:wrap;gap:.25rem .625rem;margin:0;padding:0;font-size:.8125rem;list-style:none;display:flex}.lab-photo #photo-ai-legend:empty{display:none}.lab-photo #photo-ai-legend b{font-family:var(--ff-mono);color:var(--c-text-primary)}.lab-photo .photo-ai-notes summary{min-height:var(--touch-min);cursor:pointer;padding-block:.625rem}.lab-photo .photo-ai-notes p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:min(35vh,16rem);margin:0;overflow:auto}.lab-photo #stage .recognition-link{stroke:var(--viz-series-a);stroke-width:2px;pointer-events:none}.lab-photo #stage .recognition-point{pointer-events:none}.lab-photo #stage .recognition-point :is(line,circle){fill:var(--viz-series-a);stroke:var(--viz-series-a);stroke-width:2px}.lab-photo #stage .recognition-point text{font-family:var(--ff-mono);font-size:var(--recognition-label-size);fill:var(--c-surface-raised);stroke:var(--c-text-primary);stroke-width:4px;font-weight:700}.lab-photo #stage [data-current-point=true]{stroke:var(--c-highlight-text);fill:var(--c-highlight);stroke-width:3px;stroke-dasharray:none}.lab-photo .photo-stage .canvas{height:min(60vh,680px)}.lab-photo .photo-stage .stage-head{min-height:var(--touch-min);border:0;border-block-end:var(--border-hairline) solid var(--c-border-subtle);padding:.375rem .75rem}.lab-photo .photo-stage .canvas-tools{border-block:var(--border-hairline) solid var(--c-border-subtle)}.lab-photo .photo-stage-footer #notice{min-height:2.5rem;margin:0}.lab-photo .photo-stage-footer #notice:empty{display:none}.lab-photo .photo-edit-navigation{flex-wrap:wrap;gap:.375rem;display:flex}.lab-photo .photo-edit-navigation button{min-height:var(--touch-min)}.lab-photo .photo-edit-navigation [aria-current=step]{background:var(--c-highlight);color:var(--c-highlight-text)}.lab-photo .photo-step :is(section,.photo-inline-result){margin:0}.lab-photo .photo-step .calibration-group>h3{color:var(--c-text-primary);letter-spacing:normal;font-family:inherit;font-size:1rem;font-weight:700}.lab-photo .photo-travel-estimate{min-height:var(--touch-min);border:var(--border-hairline) solid var(--c-border-subtle);background:var(--c-surface-sunken);justify-content:space-between;align-items:center;gap:.5rem;padding:.375rem .625rem;display:flex}.lab-photo .photo-travel-estimate strong{font-family:var(--ff-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.lab-photo .photo-inline-result{border:var(--border-hairline) solid var(--c-border-subtle);background:var(--c-surface-sunken);padding:.75rem}.lab-photo .photo-inline-result h4{margin:0 0 .5rem}.lab-photo .photo-inline-result .result-figures{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-photo .photo-edit-navigation~.photo-step :is(h2,h3){scroll-margin-block-start:5.25rem}@media (width<=1100px){.lab-photo .photo-layout,.lab-photo .photo-layout[data-view="4"]{grid-template-columns:minmax(0,1fr)}.lab-photo .photo-stage .canvas{height:auto}.lab-photo .photo-stage-footer{grid-column:1/-1}.lab-photo .photo-layout[data-editor-phase=structure] #photo-panel-4{grid-row:2}}@media (width<=700px){.lab-photo .photo-stepper{grid-template-columns:repeat(auto-fit,minmax(min(100%,7.5rem),1fr));display:grid}.lab-photo .photo-stepper button{text-align:center;flex-direction:column;justify-content:center;gap:.25rem;min-height:3.25rem;padding:.375rem .125rem;font-size:.6875rem;line-height:1.15}.lab-photo .photo-stepper__index{width:1.25rem;height:1.25rem}.lab-photo .photo-stepper button span:last-child{white-space:normal}.lab-photo .photo-edit-navigation{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.lab-photo .photo-edit-navigation button{padding-inline:.25rem;font-size:.75rem}}.lab-photo .photo-bike-setup{border:var(--border-hairline) solid var(--c-border-subtle);min-width:0}.lab-photo .photo-bike-setup>summary{min-height:var(--touch-min);cursor:pointer;padding:.75rem}.lab-photo .photo-bike-setup__fields,.lab-photo .photo-bike-setup__pair{grid-template-columns:minmax(0,1fr);gap:.625rem;display:grid}.lab-photo .photo-bike-setup__fields{border-top:var(--border-hairline) solid var(--c-border-subtle);padding:.75rem}.lab-photo .photo-bike-setup__pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));align-items:start}.lab-photo .photo-bike-setup__fields .photo-field :is(input,small){overflow-wrap:anywhere;min-width:0}.lab-photo .photo-field>small:empty{display:none}@media (width<=600px){.lab-photo .heading>div{overflow-wrap:anywhere;min-width:0;max-width:100%}.lab-photo .heading-actions :is(button,.button){white-space:normal;max-width:100%}}.lab-photo .photo-canvas-top{z-index:3;border-block-end:var(--border-hairline) solid var(--c-border-subtle);background:var(--c-surface-raised);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.375rem;padding:.5rem .75rem;display:flex;position:relative}.lab-photo :is(.photo-canvas-top,.photo-object-card) [hidden],.lab-photo :is(.photo-canvas-top,.photo-object-card)[hidden]{display:none}.lab-photo :is(.photo-object-nav,.rim-controls__choices,.photo-object-actions){flex-wrap:wrap;align-items:flex-start;gap:.375rem;display:flex}.lab-photo :is(.photo-object-nav details,.rim-controls__choices,.photo-object-card){border:var(--border-hairline) solid var(--c-border-subtle);background:var(--c-surface-raised)}.lab-photo .photo-object-nav,.lab-photo .photo-canvas-top .canvas-tools__view{flex-wrap:nowrap}.lab-photo .photo-zoom-short{display:none}.lab-photo .photo-object-nav details{position:relative}.lab-photo .photo-object-nav :is(#point-navigation>label,.photo-dimension-menu){background:var(--c-surface-raised);min-inline-size:12rem;margin:0;padding:.375rem;position:absolute;inset:100% auto auto 0}.lab-photo :is(.photo-canvas-top,.photo-object-card) :is(button,summary,select,input:not([type=checkbox])){min-block-size:44px;min-inline-size:44px}.lab-photo :is(.photo-canvas-top,.photo-object-card) :is(button,summary){touch-action:manipulation;width:auto;margin:0;padding:.375rem .625rem;font-size:.8125rem}.lab-photo :is(.photo-canvas-top,.photo-object-card) summary{align-content:center}.lab-photo .rim-controls__choices [aria-pressed=true]{background:var(--c-highlight);color:var(--c-highlight-text)}.lab-photo .photo-object-card{left:var(--card-x,.75rem);top:var(--card-y,auto);z-index:2;inline-size:min(18rem,100% - 24px);color:var(--c-text-primary);padding:.625rem;position:absolute;box-shadow:0 4px 18px #00000047}.lab-photo .photo-object-card:not([style]){bottom:.75rem}.lab-photo .photo-object-card :is(p,strong){margin-block:0 .375rem}.lab-photo .photo-object-card strong{line-height:1.25;display:block}.lab-photo .photo-object-card .rim-help[open]{flex-basis:100%}.lab-photo #dimension-form{flex-wrap:wrap;gap:.375rem;display:flex}.lab-photo #dimension-form label{flex:1;min-inline-size:0;margin:0;display:grid}.lab-photo #dimension-value{font-size:1rem}.lab-photo #dimension-form :is(details,.dimension-actions,[role=alert]){flex-basis:100%}.lab-photo #dimension-form [role=alert],.lab-photo #rim-failure{color:var(--c-error)}.lab-photo .canvas[data-input=touch] .photo-object-card:not(.rim-controls){min-block-size:8rem;inline-size:100%;box-shadow:none;padding-block-end:max(.625rem, env(safe-area-inset-bottom));position:relative;inset:auto}.lab-photo .rim-controls[data-collapsed]{display:none}.lab-photo .rim-controls__header{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;display:flex}.lab-photo .rim-controls__header #rim-panel-move{cursor:grab;padding-inline:0}.lab-photo .rim-controls__header:active,.lab-photo .rim-controls__header #rim-panel-move:active{cursor:grabbing}.lab-photo .rim-controls{max-block-size:min(18rem,38svh);overflow:auto}@media (pointer:coarse),(width<=600px){.lab-photo .canvas:not([data-input=mouse]) .photo-object-card:not(.rim-controls){min-block-size:8rem;inline-size:100%;box-shadow:none;padding-block-end:max(.625rem, env(safe-area-inset-bottom));position:relative;inset:auto}}@media (width<=600px){.lab-photo .photo-canvas-top :is(button,summary){padding-inline:.375rem}.lab-photo .rim-controls{max-block-size:none;inline-size:100%;box-shadow:none;flex-wrap:wrap;align-items:center;gap:.375rem .5rem;padding:.375rem .5rem;padding-block-end:max(.375rem, env(safe-area-inset-bottom));display:flex;position:static;overflow:visible}.lab-photo .rim-controls__status{flex:8rem;min-inline-size:0}.lab-photo .rim-controls__header{cursor:auto;touch-action:auto;-webkit-user-select:auto;user-select:auto}.lab-photo .rim-controls :is(p,strong){margin-block:0}.lab-photo .rim-controls .photo-hint{font-size:.75rem}.lab-photo .rim-controls>.photo-object-actions{flex:0 auto;max-inline-size:100%}.lab-photo .rim-controls:has(#rim-menu[open])>.photo-object-actions{flex-basis:100%}.lab-photo :is(#rim-panel-toggle,#rim-panel-move,#rim-remove-point:disabled){display:none}}.lab-photo .photo-stage:not([data-canvas-mode=preview]) .canvas{aspect-ratio:auto;height:auto}.lab-photo .photo-stage:not([data-canvas-mode=preview]) .canvas>svg{height:min(60vh,680px)}.lab-photo .photo-dimension-menu .photo-field{margin:.375rem 0 0}@media (width<=1100px){.lab-photo .photo-stage:not([data-canvas-mode=preview]) .canvas>svg{height:clamp(240px,50svh,460px)}}@media (width<=600px){.lab-photo .photo-stage:not([data-canvas-mode=preview]) .canvas>svg{height:clamp(220px,43svh,400px)}.lab-photo .photo-canvas-top .canvas-tools__view{gap:.25rem}.lab-photo #zoom-level{min-width:2.25rem}.lab-photo .photo-zoom-short{display:inline}.lab-photo .photo-zoom-full{display:none}}
