.shadcn-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #ccc4b7;border-radius:6px;background:var(--surface);color:var(--ink);font-size:.875rem;font-weight:400;text-align:left;box-shadow:0 1px 2px #12110f05}.shadcn-select-trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shadcn-select-trigger>svg{flex:none;opacity:.6}.shadcn-select-trigger:hover{border-color:#a69a88}.shadcn-select-trigger:focus-visible{outline:2px solid var(--bronze);outline-offset:2px}.shadcn-select-trigger[data-placeholder]{color:var(--muted)}.shadcn-select-trigger:disabled{opacity:.65;cursor:not-allowed}.shadcn-select-content{z-index:100;min-width:var(--radix-select-trigger-width);max-width:calc(100vw - 24px);max-height:min(340px,var(--radix-select-content-available-height));overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);box-shadow:0 8px 28px #24211d26;transform-origin:var(--radix-select-content-transform-origin)}.shadcn-select-viewport{padding:5px}.shadcn-select-item{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 34px 8px 10px;border-radius:4px;outline:none;font-size:.875rem;line-height:1.35;cursor:default;-webkit-user-select:none;user-select:none}.shadcn-select-item[data-highlighted]{background:var(--wash);color:var(--ink)}.shadcn-select-item[data-state=checked]{font-weight:550}.shadcn-select-item[data-disabled]{opacity:.45;pointer-events:none}.shadcn-select-check{position:absolute;right:10px;display:flex;align-items:center}.shadcn-select-label{padding:7px 10px;font-size:.8125rem;font-weight:600;color:var(--muted)}.shadcn-select-scroll{display:flex;justify-content:center;align-items:center;height:24px;background:var(--surface);color:var(--muted)}.shadcn-select-separator{height:1px;margin:5px -5px;background:var(--line)}.collection-toolbar>.dropdown-control{width:auto;min-width:160px;max-width:260px}.attachment-upload>.dropdown-control{width:250px}.dropdown-control{position:relative;display:block;min-width:0;width:100%}.dropdown-form-value{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}.dropdown-error{display:block;margin-top:6px;color:#954d38;font-size:.875rem}.action-menu-trigger{width:36px;height:36px;border-radius:6px;flex:none}.action-menu-trigger:hover,.action-menu-trigger[data-state=open]{background:var(--wash)}.action-menu-content{z-index:100;min-width:190px;max-width:min(320px,calc(100vw - 24px));padding:5px;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 8px 28px #24211d26;color:var(--ink)}.action-menu-item{padding:9px 11px;min-height:36px;display:flex;align-items:center;font-size:.875rem;line-height:1.35;border-radius:4px;cursor:default;outline:none;-webkit-user-select:none;user-select:none}.action-menu-item[data-highlighted]{background:var(--wash)}.action-menu-item[data-disabled]{opacity:.4;pointer-events:none}.action-menu-item.danger{color:#963e31}.action-menu-separator{height:1px;background:var(--line);margin:5px}.catalog-settings .section-help{margin:0 0 20px;max-width:850px;line-height:1.6;color:var(--muted)}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.catalog-settings .record-table td{padding-block:13px}.catalog-settings .record-table td:nth-child(2){max-width:440px;white-space:pre-wrap}.catalog-settings .record-table td small{display:block;color:var(--muted);margin-top:4px;font-size:.8125rem}.stock-receipt-selection{margin-bottom:18px}.stock-receipt-summary{display:flex;gap:20px;flex-wrap:wrap;margin:0 0 20px;color:var(--muted);font-size:.875rem}@media(max-width:760px){.catalog-toolbar{align-items:flex-start;flex-direction:column}.catalog-toolbar .segmented{flex-wrap:wrap}}.catalog-calibration-heading{margin-bottom:18px}.catalog-calibration-heading>.text-button{display:inline-flex;align-items:center;gap:6px;margin-bottom:16px}.catalog-calibration-heading h2{margin:0 0 6px;font-size:1.25rem;font-weight:600}.catalog-calibration-heading p{margin:0;color:var(--muted)}.catalog-toolbar>.section-help{margin:0}.catalog-preset-form .section-help{color:var(--muted);font-size:.875rem;line-height:1.55;margin:0 0 20px}.catalog-calibration-revision{display:flex;justify-content:space-between;gap:12px;margin:0 0 18px;font-size:.875rem;color:var(--muted)}.catalog-calibration-revision strong{font-weight:500;color:var(--ink)}.catalog-scope-reset{margin:0 0 18px;font-size:.875rem;color:var(--muted);line-height:1.5}.accounts-panel .section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.accounts-panel .section-title h3{margin:0}.account-actions{display:flex;align-items:center;gap:20px;margin-top:18px;flex-wrap:wrap}.account-help{margin:0 0 18px;color:var(--muted);font-size:.875rem;line-height:1.55}.account-secondary{color:var(--muted)}.accounts-panel .record-table td small{display:block;font-size:.8125rem;color:var(--muted);margin-top:4px}.accounts-panel .record-table td:nth-child(3){text-transform:capitalize}.account-password-form{margin-bottom:14px}.accounts-panel .subsection>p+.account-help{margin-top:10px}@media(max-width:700px){.accounts-panel .section-title{align-items:flex-start}}.password-change-page{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:40px 24px}.password-change-card{width:390px;max-width:100%;min-width:0}.password-change-card h1{margin:0 0 28px;font-size:2rem;letter-spacing:-.045em}.password-change-card .account-help{overflow-wrap:anywhere}.shop-floor{min-width:0}.shop-floor .sf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.shop-floor .sf-heading h1{margin:0;font-size:32px;letter-spacing:-.8px}.shop-floor .sf-heading p{margin:7px 0 0;color:var(--muted,#6f6961)}.shop-floor .sf-job-facts{display:flex;align-items:center;flex-wrap:wrap;gap:20px 32px;padding:18px 0;border-block:1px solid var(--border,#ded8ce)}.shop-floor .sf-job-facts>span{display:grid;gap:4px}.shop-floor .sf-job-facts small{font-size:12px;color:var(--muted,#6f6961)}.shop-floor .sf-work-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:34px;align-items:start}.shop-floor .sf-current-station{background:var(--surface,#faf8f3);border:1px solid var(--border,#ded8ce);border-radius:12px;padding:26px}.shop-floor .sf-current-station h2{margin:6px 0 0;font-size:25px}.shop-floor .sf-current-station h3{font-size:14px}.shop-floor .sf-current-station .section-title small{color:var(--muted,#6f6961);font-size:12px}.shop-floor .sf-instructions p{line-height:1.6;font-size:16px}.shop-floor .sf-checks{margin:20px 0;padding:14px 18px;background:#f0ece3;border-radius:8px}.shop-floor .sf-checks h3{margin:0 0 8px}.shop-floor .sf-checks ul{padding-left:18px;margin:0;display:grid;gap:7px;font-size:16px;line-height:1.5}.shop-floor .sf-station-counts{display:flex;gap:25px;flex-wrap:wrap;padding:18px 0;border-block:1px solid var(--border,#ded8ce);margin:20px 0}.shop-floor .sf-station-counts span{display:grid;gap:3px;font-size:12px;color:var(--muted,#6f6961)}.shop-floor .sf-station-counts strong{font-size:23px;color:var(--ink,#12110f)}.shop-floor .sf-record-form{display:grid;gap:16px}.shop-floor .sf-record-form>.button{justify-self:start}.shop-floor .sf-record-form .form-grid{margin:0}.shop-floor .sf-next-station{border-top:1px solid var(--border,#ded8ce);padding-top:18px;margin:24px 0 0;font-size:14px;color:var(--muted,#6f6961)}.shop-floor .sf-next-station strong{color:var(--ink,#12110f)}.shop-floor .sf-route h2{font-size:15px;margin:0 0 18px}.shop-floor .sf-route-step{display:flex;gap:12px;padding:12px 10px;border-radius:8px}.shop-floor .sf-route-step.current{background:#e8e1d5}.shop-floor .sf-route-step>span{width:24px;height:24px;flex-shrink:0;border:1px solid var(--border,#ded8ce);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}.shop-floor .sf-route-step>div{display:grid;gap:5px;min-width:0}.shop-floor .sf-route-step strong{font-size:14px}.shop-floor .sf-route-step small{font-size:12px;color:var(--muted,#6f6961)}.shop-floor .sf-completion{display:flex;gap:15px;background:#eef0e8;border:1px solid #d5dccb;border-radius:10px;padding:24px}.shop-floor .sf-completion h2{margin:0;font-size:22px}.shop-floor .sf-completion p{margin:8px 0 0}.shop-floor .sf-history{border-top:1px solid var(--border,#ded8ce);margin-top:30px;padding-top:18px}.shop-floor .sf-history>summary{font-size:14px;cursor:pointer;margin-bottom:16px}@media(max-width:900px){.shop-floor .sf-work-grid{grid-template-columns:1fr}.shop-floor .sf-route{border-top:1px solid var(--border,#ded8ce);padding-top:20px}.shop-floor .sf-heading{align-items:flex-start;flex-wrap:wrap}.shop-floor .sf-current-station{padding:20px}}@media(max-width:600px){.shop-floor .sf-job-facts{gap:16px}.shop-floor .sf-heading h1{font-size:27px}.shop-floor .sf-station-counts{gap:20px}}.tube-specification{min-width:0}.tube-specification .tube-spec-section{padding:27px 0;border-bottom:1px solid var(--line)}.tube-specification .tube-spec-section:first-of-type{padding-top:10px}.tube-specification h2{font-size:1.15rem;font-weight:600;letter-spacing:-.025em;margin:0 0 21px}.tube-specification h3{font-size:.96rem;font-weight:560;letter-spacing:-.01em;margin:7px 0 17px}.tube-specification .field{font-size:.84rem;gap:7px;margin-bottom:18px}.tube-specification .field input,.tube-specification .field textarea{font-size:.88rem}.tube-specification .tube-spec-model-section{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}.tube-specification .tube-spec-model .viewer{margin:0;min-height:0}.tube-specification .tube-spec-model .canvas{height:420px}.tube-specification .tube-spec-model .viewer-label{font-size:.75rem}.tube-specification .tube-spec-model-empty{min-height:310px;display:grid;place-items:center;border:1px solid var(--line);background:#e9e4db;color:var(--muted);padding:30px;font-size:.85rem}.tube-specification .tube-spec-stock{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.4fr);gap:24px;align-items:start}.tube-specification .tube-spec-stock>fieldset{grid-column:1;grid-row:1}.tube-specification .tube-spec-stock .field{margin-bottom:0}.tube-specification .tube-spec-stock .tube-spec-warning{grid-column:1 / -1}.tube-specification .tube-spec-dimensions{margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.tube-specification .tube-spec-dimensions>div{display:flex;flex-direction:column;gap:10px;padding:1px 0;font-size:.8rem}.tube-specification .tube-spec-dimensions dt{color:var(--muted)}.tube-specification .tube-spec-dimensions dd{margin:0;font-weight:550;font-variant-numeric:tabular-nums}.tube-specification .tube-spec-ends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.tube-specification .tube-spec-end{min-width:0}.tube-specification .tube-spec-end+.tube-spec-end{padding-left:28px;border-left:1px solid var(--line)}.tube-specification .tube-spec-end header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.tube-specification .tube-spec-end header h3{display:flex;gap:9px;align-items:center;margin:0}.tube-specification .tube-spec-end header>span{color:var(--muted);font-size:.76rem}.tube-specification .tube-end-mark{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.73rem}.tube-specification .tube-end-mark.a{color:#38616c;background:#dae4e4}.tube-specification .tube-end-mark.b{color:#7d5024;background:#ebdfcc}.tube-specification .tube-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 21px}.tube-specification .tube-spec-tolerances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 21px}.tube-specification .tube-spec-help{color:var(--muted);font-size:.79rem;line-height:1.6;margin:0 0 18px}.tube-specification .tube-spec-checks{display:flex;flex-wrap:wrap;gap:12px 22px}.tube-specification .tube-spec-checks label,.tube-specification .tube-spec-checkbox{display:flex;align-items:center;gap:9px;font-size:.82rem;line-height:1.5}.tube-specification .tube-spec-checkbox{margin:0 0 12px}.tube-specification .tube-spec-upload{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(190px,1fr) auto;align-items:end;gap:18px;margin-bottom:21px}.tube-specification .tube-spec-upload .field{margin:0}.tube-specification .tube-spec-files>div{padding:13px 0;border-top:1px solid var(--line)}.tube-specification .tube-spec-files .text-button{padding:0;font-size:.86rem;text-align:left;overflow-wrap:anywhere}.tube-specification .tube-spec-files span{display:block;margin-top:5px;font-size:.76rem;color:var(--muted)}.tube-specification .tube-spec-files p{margin-top:6px;color:var(--muted);font-size:.8rem;white-space:pre-wrap}.tube-specification .tube-spec-files>.tube-spec-help{padding-top:13px}.tube-specification .tube-spec-sync{min-height:18px;margin:0 0 8px;color:var(--muted);text-align:right;font-size:.76rem}.tube-specification .tube-spec-recovery{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}.tube-specification .tube-spec-warning,.tube-specification .tube-spec-error{padding:13px 16px;margin:15px 0;background:#eee2ce;border-left:3px solid #aa8651;color:#74512b;font-size:.83rem}.tube-specification .tube-spec-warning p+p{margin-top:7px}.tube-specification .tube-spec-error{background:#f3e3dd;color:#813e31;border-color:#9e4938}@media(max-width:760px){.tube-specification .tube-spec-ends{grid-template-columns:1fr;gap:25px}.tube-specification .tube-spec-end+.tube-spec-end{padding:24px 0 0;border-left:0;border-top:1px solid var(--line)}}@media(max-width:720px){.tube-specification .tube-spec-model-section,.tube-specification .tube-spec-upload{grid-template-columns:1fr}.tube-specification .tube-spec-tolerances{grid-template-columns:repeat(2,minmax(0,1fr))}.tube-specification .tube-spec-model .canvas{height:330px}.tube-specification .tube-spec-stock{grid-template-columns:1fr;gap:18px}.tube-specification .tube-spec-upload>.button{justify-self:start}}@media(max-width:440px){.tube-specification .tube-spec-grid,.tube-specification .tube-spec-tolerances{grid-template-columns:1fr}}.tube-specification .tube-spec-fitting-description{color:var(--muted);font-size:.81rem;margin:-6px 0 17px}.tube-reference-result{display:flex;justify-content:space-between;gap:16px;font-size:.82rem;margin:0 0 9px}.tube-reference-result>span{color:var(--muted)}.tube-reference-result strong{font-weight:550;text-align:right;font-variant-numeric:tabular-nums}.tube-reference-source{display:flex;gap:16px;align-items:center;font-size:.8rem;margin:-5px 0 16px}.tube-reference-source button{font-size:inherit;padding:0}.tube-reference-trace{color:var(--muted);font-size:.72rem;line-height:1.6;margin:10px 0 0}.tube-reference-picker{padding:15px 18px;border:1px solid var(--line);border-top:0;font-size:.83rem;background:#f7f4ee}.tube-reference-picker>strong{font-weight:600}.tube-reference-picker p{line-height:1.5;margin:7px 0 12px}.tube-reference-picker>div{display:flex;align-items:center;gap:18px}.tube-reference-error{color:#813e31;font-size:.8rem}.tube-spec-model-section{scroll-margin-top:140px}.tube-reference-modes{margin:0 0 15px}.tube-reference-modes legend{font-size:.84rem;margin-bottom:9px}.tube-reference-modes .required-mark{color:var(--muted)}.tube-reference-modes>div{display:flex;flex-wrap:wrap;gap:7px}.tube-reference-modes label{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid var(--line);border-radius:5px;font-size:.76rem;cursor:pointer}.tube-reference-modes label.selected{border-color:#8a9d9d;background:#e8eeeb}.tube-reference-modes input{width:13px;height:13px;margin:0;accent-color:#38616c}.tube-reference-modes:disabled label{cursor:default}.tube-reference-estimate{color:#7c613a;font-size:.75rem;margin-top:9px;line-height:1.5}.tube-specification .tube-spec-end.is-selecting header{color:#38616c}.production-preparation{min-width:0}.production-preparation .prep-section{padding:27px 0;border-bottom:1px solid var(--line)}.production-preparation .prep-section-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.production-preparation h3{font-size:1.08rem;font-weight:600;letter-spacing:-.02em;margin:0 0 20px}.production-preparation .prep-section-header h3{margin:0}.production-preparation h4{font-size:.9rem;font-weight:570;margin:18px 0 14px}.production-preparation .field{font-size:.83rem;margin-bottom:18px;gap:7px}.production-preparation .field input,.production-preparation .field textarea{font-size:.87rem}.production-preparation .prep-help{color:var(--muted);font-size:.8rem;margin:0 0 16px;line-height:1.6}.production-preparation .prep-warning{padding:12px 16px;margin:15px 0;background:#eee2ce;border-left:3px solid #aa8651;color:#74512b;font-size:.81rem;line-height:1.6}.production-preparation .prep-warning.error{background:#f3e3dd;color:#813e31;border-color:#9e4938}.production-preparation .prep-warning ul{padding-left:18px;margin:8px 0 0}.production-preparation .prep-warning>div+div{margin-top:14px}.production-preparation .prep-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.production-preparation .prep-calibration-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.production-preparation .prep-plan-overview{display:grid;grid-template-columns:minmax(170px,.75fr) minmax(220px,1.2fr) minmax(190px,1fr);gap:24px;align-items:center;margin-bottom:24px}.production-preparation .prep-plan-overview .field{margin:0}.production-preparation .prep-plan-overview>div>span{display:block;color:var(--muted);font-size:.79rem;margin-bottom:5px}.production-preparation .prep-plan-overview strong{display:block;font-size:1.35rem;font-weight:530;letter-spacing:-.03em}.production-preparation .prep-plan-overview small{display:block;color:var(--muted);font-size:.75rem;margin-top:5px}.production-preparation .prep-check-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);margin-top:15px}.production-preparation .prep-check-heading h4{margin:0 0 11px}.production-preparation .prep-check-heading .prep-checkbox{margin:0 0 11px;font-size:.77rem}.production-preparation .prep-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}.production-preparation .prep-check{padding:13px 0;border-bottom:1px solid #d6d0c566}.production-preparation .prep-check>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.production-preparation .prep-check strong{font-size:.82rem;font-weight:550}.production-preparation .prep-check p{font-size:.78rem;color:var(--muted);margin-top:6px}.production-preparation .prep-check small{display:block;font-size:.75rem;margin-top:5px}.production-preparation .prep-check.fail strong{color:#924332}.production-preparation .prep-route{font-size:.81rem;line-height:1.65;padding:18px 0 5px;color:var(--muted)}.production-preparation .prep-route strong{display:block;color:var(--ink);font-weight:550;margin-bottom:5px}.production-preparation .prep-length-grid{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);gap:32px}.production-preparation .prep-values{margin:0;font-size:.8rem}.production-preparation .prep-values>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid #d6d0c566}.production-preparation .prep-values dt{color:var(--muted)}.production-preparation .prep-values dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.production-preparation .prep-stage-table caption{text-align:left;font-size:.82rem;font-weight:550;padding:7px 0 14px}.production-preparation .prep-stage-table tbody th{text-transform:none;font-weight:400;font-size:.79rem;letter-spacing:0;color:var(--muted)}.production-preparation .prep-stage-table td{font-size:.79rem;font-variant-numeric:tabular-nums}.production-preparation .prep-length-grid .prep-help{margin:15px 0 0}.production-preparation .prep-package{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:23px}.production-preparation .prep-package p{color:var(--muted);font-size:.8rem}.production-preparation .prep-actions,.production-preparation .prep-binding{display:flex;gap:12px;align-items:center}.production-preparation .prep-binding{flex-wrap:wrap;margin-bottom:17px}.production-preparation .prep-binding p{flex-basis:100%;font-size:.79rem;color:var(--muted)}.production-preparation .prep-checkbox{display:flex;align-items:center;gap:10px;margin:15px 0;font-size:.84rem;line-height:1.5}.production-preparation .prep-upload{display:flex;align-items:flex-end;gap:18px;margin-bottom:20px}.production-preparation .prep-upload .field{flex:1;margin:0}.production-preparation .prep-programs>div{padding:12px 0;border-top:1px solid var(--line)}.production-preparation .prep-programs .text-button{padding:0;font-size:.85rem;text-align:left;overflow-wrap:anywhere}.production-preparation .prep-programs span,.production-preparation .prep-programs p{display:block;color:var(--muted);font-size:.77rem;margin-top:5px}.production-preparation .prep-programs p{white-space:pre-wrap}.production-preparation .prep-recorded-setup{margin-bottom:23px}.production-preparation .prep-setup-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 25px;margin:0 0 15px}.production-preparation .prep-setup-values dt{color:var(--muted);font-size:.77rem}.production-preparation .prep-setup-values dd{margin:4px 0 0;font-size:.83rem;font-variant-numeric:tabular-nums}.production-preparation .prep-kit .section-title h3{margin:0}@media(max-width:960px){.production-preparation .prep-checks,.production-preparation .prep-length-grid{grid-template-columns:1fr}.production-preparation .prep-calibration-fields,.production-preparation .prep-plan-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.production-preparation .prep-plan-overview>.field{grid-column:1 / -1}}@media(max-width:650px){.production-preparation .prep-intro,.production-preparation .prep-section-header,.production-preparation .prep-package{flex-wrap:wrap}.production-preparation .prep-grid,.production-preparation .prep-plan-overview{grid-template-columns:1fr}.production-preparation .prep-setup-values{grid-template-columns:repeat(2,minmax(0,1fr))}.production-preparation .prep-upload{flex-wrap:wrap}.production-preparation .prep-upload .field{flex-basis:100%}}.production-preparation .prep-stages{display:flex;gap:9px;border-bottom:1px solid var(--line);padding:17px 0}.production-preparation .prep-stages button{display:flex;align-items:center;gap:9px;border:1px solid transparent;padding:10px 16px;border-radius:5px;background:transparent;color:var(--muted);font-size:.85rem}.production-preparation .prep-stages button>span{font-size:.74rem;color:var(--muted)}.production-preparation .prep-stages button[aria-current=step]{color:var(--ink);border-color:#cdbfa9;background:#e8dfd0;font-weight:560}.production-preparation .prep-stage-actions{display:flex;justify-content:space-between;gap:20px;padding:24px 0}.production-preparation .prep-geometry-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:23px 0 15px}.production-preparation .prep-geometry-selector{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:5px}.production-preparation .prep-geometry-selector button{padding:9px 15px;border:0;border-radius:3px;background:transparent;color:var(--muted);font-size:.81rem}.production-preparation .prep-geometry-selector button[aria-pressed=true]{background:#e4d8c5;color:var(--ink)}.production-preparation .prep-model .viewer{margin:0}.production-preparation .prep-model .canvas{height:340px}.production-preparation .prep-model-empty{display:grid;place-items:center;min-height:280px;padding:30px;background:#e9e4db;color:var(--muted);font-size:.85rem;border:1px solid var(--line)}.production-preparation .prep-end-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-top:18px}.production-preparation .prep-end-comparison span{display:block;color:var(--muted);font-size:.76rem;line-height:1.5}.production-preparation .prep-end-comparison strong{display:block;font-size:.86rem;font-weight:530;margin-top:4px;font-variant-numeric:tabular-nums}.production-preparation .prep-calibration-summary{display:flex;justify-content:space-between;align-items:center;gap:24px}.production-preparation .prep-calibration-summary h3{margin-bottom:8px}.production-preparation .prep-calibration-summary p{font-size:.83rem}.production-preparation .prep-calibration-summary small{display:block;color:var(--muted);font-size:.76rem;margin-top:4px}.production-preparation .prep-check-heading h3{margin:0 0 12px}.production-preparation .prep-dirty-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 15px;margin-top:18px;border:1px solid #c8b08c;background:var(--surface);font-size:.81rem}.production-preparation .prep-dirty-bar>div{display:flex;gap:10px}@media(max-width:740px){.production-preparation .prep-stages{gap:3px;flex-wrap:wrap}.production-preparation .prep-stages button{padding:10px 9px;font-size:.79rem}.production-preparation .prep-geometry-toolbar,.production-preparation .prep-calibration-summary,.production-preparation .prep-dirty-bar{flex-wrap:wrap}.production-preparation .prep-end-comparison{grid-template-columns:1fr;gap:13px}.production-preparation .prep-model .canvas{height:250px}}.production-preparation .prep-model-description{font-size:.81rem;line-height:1.6;color:var(--muted);margin:0 0 16px;max-width:85ch}.production-preparation .prep-end-ledgers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:25px 0 16px}.production-preparation .prep-end-ledger{border:1px solid var(--line);border-radius:5px;padding:20px;min-width:0}.production-preparation .prep-end-ledger>header{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.production-preparation .prep-end-ledger>header h4{margin:0;font-size:1rem}.production-preparation .prep-end-ledger>header span{font-size:.75rem;color:var(--muted)}.production-preparation .prep-ledger-group{margin-top:20px}.production-preparation .prep-ledger-group h5{margin:0 0 8px;font-size:.81rem;font-weight:600}.production-preparation .prep-ledger-group dl{margin:0}.production-preparation .prep-ledger-group dl>div{display:flex;justify-content:space-between;gap:18px;padding:8px 0;border-bottom:1px solid #d6d0c566;font-size:.79rem}.production-preparation .prep-ledger-group dt{color:var(--muted)}.production-preparation .prep-ledger-group dd{margin:0;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.production-preparation .prep-ledger-group small{display:block;font-size:.71rem;margin-top:3px;color:var(--muted);white-space:normal}.production-preparation .prep-ledger-group .ledger-total{padding:10px 9px;background:#e9e2d7;border-bottom:0;margin-top:3px}.production-preparation .prep-ledger-group .ledger-total dt,.production-preparation .prep-ledger-group .ledger-total dd{color:var(--ink);font-weight:550}.production-preparation .prep-ledger-group p,.production-preparation .prep-ledger-evidence{font-size:.74rem;line-height:1.6;color:var(--muted);margin-top:10px}.production-preparation .prep-ledger-evidence{border-top:1px solid var(--line);padding-top:12px}.production-preparation .prep-ledger-note{margin-bottom:22px}.production-preparation .prep-blank-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border-top:1px solid var(--line);padding-top:19px;margin-bottom:15px}.production-preparation .prep-blank-summary span{display:block;font-size:.77rem;color:var(--muted)}.production-preparation .prep-blank-summary strong{display:block;font-size:1rem;font-weight:530;margin-top:5px;font-variant-numeric:tabular-nums}.production-preparation .prep-check-heading{margin-top:0;align-items:start;flex-wrap:wrap;padding-bottom:10px}.production-preparation .prep-check-filters{display:flex;gap:4px;flex-wrap:wrap}.production-preparation .prep-check-filters button{display:inline-flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:4px;color:var(--muted);background:transparent;padding:7px 10px;font-size:.77rem}.production-preparation .prep-check-filters button[aria-pressed=true]{background:#e8dfd0;border-color:#cdbfa9;color:var(--ink)}.production-preparation .prep-check-filters button span{font-size:.7rem;font-variant-numeric:tabular-nums}.production-preparation .prep-check{padding:20px 0}.production-preparation .prep-check-stage{display:block;margin-top:6px;font-size:.7rem;color:var(--muted)}.production-preparation .prep-check p{line-height:1.6;margin-top:9px}.production-preparation .prep-check .prep-comparison{color:#706a60}.production-preparation .prep-check-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:11px 0;padding:10px 12px;background:#e9e4db}.production-preparation .prep-check-values dt{font-size:.72rem;color:var(--muted)}.production-preparation .prep-check-values dd{margin:4px 0 0;font-size:.8rem;font-variant-numeric:tabular-nums}.production-preparation .prep-check .prep-next-action{color:var(--ink)}.production-preparation .prep-check .prep-next-action strong,.production-preparation .prep-check .prep-affected strong{font-size:inherit}.production-preparation .prep-check .prep-recorded-review{color:#466658;border-left:2px solid #a1b6a7;padding-left:10px}.production-preparation .prep-operations{list-style:none;padding:0;margin:0}.production-preparation .prep-operations>li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:16px;padding:22px 0;border-top:1px solid var(--line)}.production-preparation .prep-operation-number{height:27px;width:27px;border:1px solid #cdbfa9;border-radius:50%;display:grid;place-items:center;font-size:.76rem;color:var(--muted)}.production-preparation .prep-operation-content>header{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.production-preparation .prep-operation-content h4{margin:0;font-size:.9rem}.production-preparation .prep-operation-content>header span{font-size:.72rem;color:var(--muted);text-transform:capitalize}.production-preparation .prep-operation-purpose{margin:7px 0 11px;color:var(--muted);font-size:.79rem;line-height:1.6}.production-preparation .prep-operation-instructions{margin:0;padding-left:18px;font-size:.78rem;line-height:1.65}.production-preparation .prep-operation-instructions>li{padding-left:2px;margin:5px 0;overflow-wrap:anywhere}.production-preparation .prep-operation-verification{margin:13px 0 0;font-size:.73rem;line-height:1.65;color:var(--muted)}.production-preparation .prep-operation-verification strong{font-weight:550;color:var(--ink)}@media(max-width:950px){.production-preparation .prep-end-ledgers{grid-template-columns:1fr}}@media(max-width:650px){.production-preparation .prep-blank-summary{grid-template-columns:1fr}.production-preparation .prep-end-ledger{padding:15px}.production-preparation .prep-operation-content>header{flex-wrap:wrap;gap:6px}.production-preparation .prep-operations>li{gap:10px;grid-template-columns:26px minmax(0,1fr)}}.order-quote{min-width:0}.quote-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.quote-toolbar>div:first-child{display:grid;gap:7px;min-width:110px}.quote-message{padding:12px 15px;margin:0 0 20px;background:var(--wash,#f2eee6);border-radius:7px;font-size:14px;line-height:1.5}.quote-snapshot-meta{display:flex;flex-wrap:wrap;gap:18px 34px;margin:0 0 24px}.quote-snapshot-meta span{display:grid;gap:5px}.quote-snapshot-meta small{color:var(--muted);font-size:12px}.quote-snapshot-meta strong{font-size:14px;font-weight:500}.quote-lines td{vertical-align:middle}.quote-lines th:nth-child(3),.quote-lines td:nth-child(3){width:90px}.quote-lines th:nth-child(4),.quote-lines th:nth-child(5){width:140px}.quote-lines input{width:100%;min-width:80px;padding:8px 10px;min-height:36px;font-size:14px;text-align:right}.quote-lines td small{display:block;margin-top:4px;max-width:260px}.quote-line-total{white-space:nowrap;font-variant-numeric:tabular-nums}.quote-bottom{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:60px;padding-top:28px}.quote-bottom h3{font-size:16px;margin:0 0 20px}.quote-bottom h3 small{font-size:12px;color:var(--muted);font-weight:400;margin-left:6px}.quote-terms{max-width:640px}.quote-terms .field:has(input){max-width:210px}.quote-terms .field{margin-bottom:17px}.quote-terms p{font-size:14px}.quote-notes{white-space:pre-wrap;line-height:1.6}.quote-totals dl{margin:0}.quote-totals dl>div{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:42px;font-size:14px}.quote-totals dd{margin:0;font-variant-numeric:tabular-nums;text-align:right}.quote-totals dd input{width:140px;min-height:35px;padding:7px 10px;text-align:right;font-size:14px}.quote-totals .total{border-top:1px solid var(--border,#ddd6ca);padding-top:15px;margin-top:13px;font-size:21px;font-weight:600}.quote-review-context{color:var(--muted);font-size:14px;margin-top:0}.quote-review-prices{display:flex;gap:25px;font-size:14px;margin-bottom:18px}.quote-review-prices strong{margin-left:8px}.quote-review-model{height:230px;overflow:hidden;border:1px solid var(--border,#ddd6ca);border-radius:8px;margin-bottom:22px}.quote-review-model>div{height:100%}.quote-spec-facts{margin:0}.quote-spec-facts>div{display:grid;grid-template-columns:minmax(170px,1fr) 1.3fr;gap:20px;padding:9px 0;border-bottom:1px solid var(--border,#e4ddd2);font-size:14px}.quote-spec-facts dt{color:var(--muted);text-transform:none}.quote-spec-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.quote-spec-facts>.quote-spec-group{display:block;padding-top:23px;border-bottom:0}.quote-spec-group>dt{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:10px}.quote-spec-review .dialog-actions{margin-top:24px}@media(max-width:900px){.quote-toolbar{align-items:flex-start;flex-wrap:wrap}.quote-bottom{grid-template-columns:1fr;gap:28px}.quote-totals{max-width:450px;width:100%;justify-self:end}}@media(max-width:600px){.quote-toolbar>.row-actions{width:100%;flex-wrap:wrap}.quote-spec-facts>div{grid-template-columns:1fr;gap:5px}.quote-bottom{padding-top:22px}.quote-totals{max-width:none}.quote-review-model{height:190px}}.order-information{display:grid;gap:18px;border-block:1px solid var(--border,#ded8ce);padding:19px 0;margin-bottom:24px}.order-information .order-meta{padding:0;margin:0;border:0;display:flex;flex-wrap:wrap;gap:18px 34px}.order-inline-notes{display:grid;gap:9px;max-width:1000px}.order-inline-notes p{display:grid;grid-template-columns:80px minmax(0,1fr);gap:15px;white-space:pre-wrap;margin:0;font-size:14px;line-height:1.5}.order-inline-notes p>span{color:var(--muted);font-size:13px}.order-tubes-heading h3{font-size:14px;font-weight:500;color:var(--muted)}.order-tube-table table td{padding-block:13px;vertical-align:middle}.order-tube-table table th{padding-block:11px}.order-tube-table td:first-child{min-width:130px}.order-tube-table td small{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-top:4px;max-width:260px}.order-tube-table td:nth-child(4){min-width:180px}.order-tube-table td:nth-child(5),.order-tube-table td:nth-child(6){min-width:95px}.order-tube-table .row-actions{justify-content:flex-end;flex-wrap:nowrap;gap:10px}.order-tube-table .row-actions>.text-button{font-size:13px;white-space:nowrap}.order-add-presets{border-top:1px solid var(--border,#ddd6ca);padding-top:20px;margin-top:20px}.order-add-presets h3{font-size:15px;margin:0 0 17px}.order-add-presets .form-grid{margin-bottom:0}.order-add-presets .preset-full{grid-column:1/-1}.order-add-release{display:flex;align-items:center;gap:14px;background:var(--wash,#f1ece3);padding:13px 15px;border-radius:8px;font-size:14px;line-height:1.5;margin:15px 0}.order-add-release p{margin:0}.order-add-release .field{flex:1;margin:0}@media(max-width:700px){.order-inline-notes p{grid-template-columns:1fr;gap:4px}.order-information .order-meta{gap:14px 25px}.order-add-release{align-items:flex-start;flex-direction:column}}.tube-release-status{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.tube-release-badge{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap;border:1px solid transparent;border-radius:5px;padding:4px 7px;font-size:12px;line-height:1.25;font-weight:500;background:var(--wash,#f2eee6);color:var(--muted,#756e64)}.tube-release-badge>span{font-weight:400}.tube-release-badge.ready{background:#e7ede3;color:#446344}.tube-release-badge.attention{background:#f5e8d3;color:#855a22}.order-tube-table td:nth-last-child(2){min-width:195px}.order-revision-selection{margin:18px 0}.order-revision-selection>.field{margin-top:16px}.order-revision-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.order-revision-choices button{padding:13px 15px;text-align:left;background:transparent;border:1px solid var(--border,#ded8ce);border-radius:7px;color:var(--ink,#302e29);font:inherit;font-size:14px;cursor:pointer}.order-revision-choices button.selected{border-color:var(--bronze,#8b633f);background:var(--wash,#f2eee6)}.order-revision-choices button:focus-visible{outline:2px solid var(--bronze,#8b633f);outline-offset:3px}.order-revision-choices button:disabled{opacity:.6;cursor:default}.order-part-detail .order-tube-header{align-items:flex-start;flex-wrap:nowrap;gap:24px;margin-bottom:24px}.order-part-detail .order-tube-header>div:first-child{flex:1;min-width:0}.order-tube-management{display:flex;align-items:center;justify-content:flex-end;gap:13px;padding-top:2px;flex:none}.order-tube-revision{display:grid;gap:4px;text-align:right}.order-tube-revision strong{font-size:14px;font-weight:600}.order-tube-revision small{font-size:12px;color:var(--muted)}.order-part-detail .order-tube-tabs{margin:0 0 24px}.order-tube-tabs [role=tab]{min-width:120px}.order-tube-tabs [role=tab]:focus-visible{outline:2px solid var(--bronze,#8b633f);outline-offset:3px}.order-part-detail [role=tabpanel][hidden]{display:none}.order-production-locked{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;border:1px solid var(--border,#ded8ce);border-radius:9px;background:var(--wash,#f2eee6)}.order-production-locked p{margin:0;font-size:15px;line-height:1.5}.order-tube-table td:last-child{width:52px}.order-tube-table td:last-child .row-actions{justify-content:flex-end}@media(max-width:900px){.order-part-detail .order-tube-header{flex-wrap:wrap;gap:18px}.order-part-detail .order-tube-header>div:first-child{flex-basis:100%}.order-tube-management{justify-content:flex-start;flex-wrap:wrap;width:100%;padding-top:0}.order-tube-revision{text-align:left;margin-right:auto}.order-production-locked{align-items:flex-start;flex-direction:column}}.order-catalog-description{flex:1;min-width:0}.order-catalog-state{display:flex;align-items:center;gap:14px;flex:none}.order-catalog-revision{display:grid;gap:4px;text-align:center;min-width:28px}.order-catalog-revision small{font-size:12px;color:var(--muted)}.order-catalog-revision strong{font-size:14px;font-weight:600}.order-catalog-state .badge{white-space:nowrap}.order-catalog-state .design_released{background:#e7ede3;color:#446344}@media(max-width:600px){.order-catalog-state{gap:9px}.order-catalog-state .badge{font-size:12px;padding:4px 5px}}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/brand/instrument-sans.woff2) format("woff2")}:root{font-family:Instrument Sans Variable,Instrument Sans,Helvetica Neue,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;font-size:16px;color:#12110f;background:#f3f0e9;--paper: #f3f0e9;--surface: #faf8f3;--ink: #12110f;--nav: #24211d;--bronze: #8f4d1d;--gold: #d29a5b;--muted: #6f6961;--line: #d6d0c5;--wash: #eae5db;--accent: #e9decc}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:color .16s,background .16s,border-color .16s}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--bronze);outline-offset:4px}a{color:var(--bronze);text-decoration:none}a:hover{color:var(--ink)}svg{stroke-width:1.65}h1,h2,h3,h4,p{margin:0}h1,h2{font-weight:520;letter-spacing:-.055em;line-height:1.08}h1{font-size:clamp(2rem,3vw,2.65rem)}h2{font-size:2rem}h3,h4{font-weight:570;letter-spacing:-.025em;line-height:1.25}h3{font-size:1.18rem}h4{font-size:1.06rem}p{line-height:1.6}small{font-size:.8125rem;line-height:1.5}fieldset{border:0;padding:0;margin:0;min-width:0}input,select,textarea{width:100%;min-height:44px;padding:11px 13px;border:1px solid #ccc4b7;border-radius:5px;background:var(--surface);color:var(--ink)}input:hover,select:hover,textarea:hover{border-color:#a69a88}input::placeholder,textarea::placeholder{color:#8d877d}textarea{resize:vertical;line-height:1.55}input[type=checkbox]{width:17px;height:17px;min-height:17px;flex:none;margin:0;accent-color:var(--bronze)}select{max-width:100%}.muted{color:var(--muted)}.eyebrow,.small-label{color:var(--bronze);font-size:.75rem;font-weight:650;letter-spacing:.095em;line-height:1.5;text-transform:uppercase}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;min-height:44px;border:1px solid #c8beae;border-radius:5px;background:transparent;color:var(--ink);font-size:.875rem;font-weight:570;white-space:nowrap}.button:hover{background:var(--wash);border-color:#aaa091}.button.primary{color:var(--paper);background:var(--ink);border-color:var(--ink)}.button.primary:hover{background:#483a2c;border-color:#483a2c}.button.full{width:100%}.button.disabled{pointer-events:none;opacity:.45}.text-button{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--bronze);padding:10px 0;font-size:.875rem}.text-button:hover{color:var(--ink)}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:9px;background:transparent;border:0;color:inherit;border-radius:50%}.field{display:flex;flex-direction:column;gap:8px;font-size:.875rem;font-weight:550;margin-bottom:20px}.field>span{display:flex;justify-content:space-between;gap:8px}.field small{color:var(--muted);font-weight:400}.field-required{display:inline-block;flex-shrink:0;margin-left:.4em;color:var(--muted);font-size:.65rem;font-weight:400;line-height:1.6;vertical-align:baseline;white-space:nowrap}.checkbox,.check-row label{display:flex;align-items:center;gap:10px;font-size:.875rem;line-height:1.5;margin:17px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.notice{display:flex;align-items:flex-start;gap:11px;padding:15px 18px;background:#f0e5d2;border:1px solid #d9c2a0;border-radius:5px;color:#745027;font-size:.875rem;line-height:1.6;margin:18px 0;white-space:pre-line}.notice>svg{flex:none;margin-top:3px}.notice p+p{margin-top:7px}.notice ul{white-space:normal;padding-left:20px}.notice.error{color:#8d3e32;background:#f8ebe6;border-color:#dfbdb0}.notice.success{color:#3e6651;background:#eaf0e9;border-color:#c5d3c2}.notice button{margin-left:auto;border:0;background:transparent;color:inherit;font-size:.875rem}.global-notice{margin:16px 8px}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:4px;background:#e7e2d8;color:#686157;font-size:.75rem;font-weight:550;white-space:nowrap;line-height:1.3}.badge.supported,.badge.recognized,.badge.pass,.badge.complete,.badge.released{color:#3e6651;background:#e7eee4}.badge.fail,.badge.invalid,.badge.rejected{color:#963e31;background:#f3e3dd}.badge.warn,.badge.review,.badge.review_required,.badge.blocked,.badge.needs_inputs,.badge.needs_review,.badge.held{color:#825e2d;background:#efe2ca}.badge.engineer,.badge.running,.badge.in_progress{color:#55504a;background:#e5e0d7}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#aaa398;flex:none}.dot.blue{background:#729da6}.dot.orange{background:#d5a05d}.dot.purple{background:#b8a2c8}.dot.amber{background:var(--gold)}.brand-icon{display:block;width:31px;height:31px;object-fit:contain;flex:none}.wordmark{display:flex;align-items:center;gap:10px;font-size:1.04rem;font-weight:620;letter-spacing:-.04em;white-space:nowrap}.wordmark small{display:block;font-size:.75rem;letter-spacing:.08em;font-weight:450;text-transform:uppercase;opacity:.58;line-height:1.25;margin-top:4px}.app-shell{min-height:100vh;padding:108px 30px 30px}.sidebar{position:fixed;inset:18px 30px auto;z-index:10;display:flex;align-items:center;gap:26px;min-height:68px;padding:12px 22px;background:#24211df5;color:var(--paper);border:1px solid #faf8f324;border-radius:999px;box-shadow:0 14px 40px #12110f22,inset 0 1px #ffffff1a;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.sidebar .brand-icon{filter:brightness(0) invert(1)}.sidebar .wordmark{min-width:162px}.sidebar .wordmark small{display:none}.sidebar nav{display:flex;align-items:center;justify-content:center;gap:4px;flex:1}.sidebar nav button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border:0;border-radius:999px;background:transparent;color:#d0cec7;font-size:.875rem;white-space:nowrap}.sidebar nav button>svg{width:16px;height:16px}.sidebar nav button:hover{background:#ffffff10;color:#fff}.sidebar nav button.active{color:var(--ink);background:var(--surface)}.sidebar-bottom{flex:none}.sidebar-bottom>.small-label,.sidebar-bottom>p,.sidebar-bottom>small{display:none}.account{display:flex;align-items:center;gap:10px;padding-left:17px;border-left:1px solid #625d53}.avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:33px;height:33px;border-radius:50%;color:#725230;background:#e9dfce;font-weight:570}.account strong{display:block;max-width:115px;overflow:hidden;text-overflow:ellipsis;font-size:.8125rem;font-weight:500}.account small{display:block;font-size:.75rem;color:#b5aea1}.account .icon-button:hover{color:#fff;background:#ffffff12}.app-shell>main{margin:0 auto;width:100%;max-width:1720px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 8px 30px;border-bottom:1px solid var(--line)}.topbar h1{margin-top:9px}.top-actions{display:flex;align-items:center;gap:16px}.busy{font-size:.875rem;color:var(--bronze);max-width:190px}.parts-layout{display:grid;grid-template-columns:232px minmax(0,1fr)}.part-list{border-right:1px solid var(--line);padding:27px 18px 40px 0;min-height:calc(100vh - 230px)}.list-heading{display:flex;align-items:center;justify-content:space-between;padding:0 9px 18px;color:var(--bronze);font-size:.75rem;font-weight:600;letter-spacing:.075em}.list-heading b{font-weight:500;color:var(--muted)}.part-item{display:flex;align-items:flex-start;gap:10px;width:100%;padding:16px 12px;margin:3px 0;border:1px solid transparent;border-radius:5px;background:transparent;color:#847865;text-align:left}.part-item>svg{flex:none;margin-top:2px}.part-item>svg:last-child{margin-left:auto;width:12px;opacity:.5}.part-item div{min-width:0}.part-item strong{display:block;color:var(--ink);font-size:.875rem;line-height:1.45;font-weight:530;overflow-wrap:anywhere}.part-item small{display:block;margin-top:7px;color:var(--muted);font-size:.75rem}.part-item:hover{background:#e9e2d6}.part-item.selected{background:#e7dbc9;border-color:#d4bc98;color:var(--bronze)}.sample-button{padding:19px 8px;font-size:.8125rem;line-height:1.45;text-align:left}.padded{padding:10px;font-size:.875rem}.part-workspace{padding:28px 0 42px 30px;min-width:0}.part-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.part-heading h2{margin:10px 0;font-size:clamp(1.3rem,2vw,1.75rem);letter-spacing:-.035em;overflow-wrap:anywhere}.part-heading p{font-size:.8125rem;overflow-wrap:anywhere}.part-heading p span{padding:0 8px;color:#b4a998}.part-heading>.badge{margin-top:3px}.viewer{border:1px solid #4b453a;border-radius:9px;overflow:hidden;position:relative;background:#24211d}.canvas{width:100%;height:350px}.canvas canvas{display:block}.viewer-label{position:absolute;inset:18px 21px auto;z-index:1;display:flex;align-items:center;gap:9px;color:#e1d8c8;font-size:.875rem;pointer-events:none}.viewer-label .muted{margin-left:auto;font-size:.75rem;color:#aea797}.viewer-legend{position:absolute;inset:auto 21px 17px;display:flex;align-items:center;gap:20px;color:#e5dece;font-size:.75rem;pointer-events:none}.viewer-legend span{display:flex;align-items:center;gap:7px}.viewer-legend .muted{color:#bdb5a5;margin-left:auto;font-variant-numeric:tabular-nums}.viewer-empty{position:absolute;inset:55px 25px;display:grid;place-content:center;text-align:center;font-size:.875rem;color:#b9b09f}.geometry-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:24px 0;border-bottom:1px solid var(--line)}.geometry-strip>div{padding:0 17px;border-left:1px solid var(--line);min-width:0}.geometry-strip>div:first-child{padding-left:0;border-left:0}.geometry-strip span{display:block;margin-bottom:8px;color:var(--muted);font-size:.75rem;line-height:1.35}.geometry-strip strong{font-weight:520;font-size:1.15rem;font-variant-numeric:tabular-nums;letter-spacing:-.035em;overflow-wrap:anywhere}.geometry-strip small{margin-left:5px;color:#8b8172;font-size:.75rem}.body-selection{display:flex;align-items:center;gap:12px;padding:18px 0 0;font-size:.875rem}.body-selection>svg{flex:none;color:var(--bronze)}.body-selection select{flex:1;font-size:.875rem}.workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:11px 0;margin-top:14px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:24px}.tabs button{padding:15px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:.875rem;white-space:nowrap}.tabs button.active{color:var(--ink);border-bottom-color:var(--bronze);font-weight:580}.recipe-actions{display:flex;gap:8px;flex-wrap:wrap}.recipe-actions .button{padding:9px 12px;min-height:40px}.definition{padding-top:28px}.general-fields{max-width:920px}.end-card{border-bottom:1px solid var(--line);padding:26px 0}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:var(--bronze)}.section-title h3{color:var(--ink)}.section-title .count{padding:3px 7px;border:1px solid #d4c6b0;border-radius:4px;color:var(--bronze);font-size:.75rem}.end-token{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border:1px solid currentColor;border-radius:50%;font-size:.875rem;font-weight:600}.end-token.a{color:#486f77;background:#e5ecea}.end-token.b{color:#8a6335;background:#eee3cf}.check-row{display:flex;gap:30px;flex-wrap:wrap}.check-row label{margin:3px 0}.subsection{padding:28px 0;border-top:1px solid var(--line);margin-top:24px}.subsection>h3,.subsection>h4{margin-bottom:20px}.subsection>p{margin-bottom:22px;font-size:.9375rem}.plan-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 0 24px}.plan-header h3{font-size:1.6rem;font-weight:520;letter-spacing:-.04em;margin:8px 0}.plan-header p{font-size:.875rem}.segmented{display:flex;flex:none;gap:2px;padding:4px;border:1px solid #d1c5b3;border-radius:999px;background:#eae3d8}.segmented button{padding:9px 14px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:.875rem}.segmented button.active{background:var(--nav);color:var(--paper)}.plan-metrics{display:grid;grid-template-columns:1.35fr 1fr 1fr;overflow:hidden;border-top:1px solid #bfa07b;border-bottom:1px solid var(--line);margin-bottom:28px;background:#ede7db}.metric{border-right:1px solid var(--line);padding:22px}.metric:last-child{border-right:0}.metric>span{display:block;color:var(--bronze);font-size:.8125rem;font-weight:550}.metric strong{display:block;font-size:2.25rem;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.055em;margin:9px 0}.metric strong small{margin-left:7px;font-size:.875rem;color:#817564;letter-spacing:0}.metric>small{display:block;color:var(--muted);font-size:.75rem}.stock-ledger{margin:24px 0 32px;padding:20px 23px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.stock-ledger>summary{cursor:pointer;font-weight:570;font-size:.9375rem}.stock-ledger>summary>span{float:right;font-weight:400;color:var(--muted);font-size:.8125rem}.stock-ledger table{margin-top:14px}.stock-ledger>p{font-size:.8125rem;margin-top:14px}.plan-columns{display:grid;grid-template-columns:1.08fr 1fr;gap:30px}.operation{border:1px solid var(--line);border-radius:5px;margin-bottom:10px;overflow:hidden;background:var(--surface)}.operation[open]{border-color:#c5b498}.operation summary{display:flex;align-items:center;gap:12px;padding:17px 15px;cursor:pointer;list-style:none}.operation summary::-webkit-details-marker{display:none}.operation summary>svg{margin-left:auto;color:#9a8c77;flex:none}.operation[open] summary>svg{transform:rotate(90deg)}.step-number{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border:1px solid #c5b69d;border-radius:50%;color:var(--bronze);font-size:.75rem;flex:none;font-variant-numeric:tabular-nums}.operation.done .step-number{color:#426850;border-color:#b4c7b0;background:#e5eee2}.operation summary strong{font-size:.9375rem;font-weight:550;line-height:1.4}.operation summary small{display:block;margin-top:4px;color:#807868;font-size:.75rem}.operation-body{padding:0 19px 18px 57px;font-size:.875rem;color:var(--muted)}.operation-body p{margin-bottom:10px}.checks-required{border-top:1px solid var(--line);padding-top:15px;margin-top:16px}.checks-required>span{display:block;color:var(--bronze);font-size:.8125rem;font-weight:550;margin-bottom:10px}.checks-required p{display:flex;gap:7px;font-size:.8125rem}.checks-required svg{flex:none;margin-top:4px}.dfm-check{border-bottom:1px solid var(--line);padding:16px 0}.dfm-check:first-of-type{padding-top:0}.dfm-check>div{display:flex;align-items:center;gap:9px}.dfm-check>div>svg{flex:none;color:#9a783e}.dfm-check.pass>div>svg{color:#628269}.dfm-check.fail>div>svg{color:#ac5c45}.dfm-check strong{font-size:.875rem;font-weight:550;line-height:1.4}.dfm-check .badge{margin-left:auto}.dfm-check p{margin:10px 0 0 26px;color:var(--muted);font-size:.875rem}.dfm-check>small{display:block;margin:9px 0 0 26px;color:var(--bronze);font-size:.8125rem;font-variant-numeric:tabular-nums}.length-details{margin:25px 0}.length-details summary{color:var(--bronze);font-size:.875rem;cursor:pointer;font-weight:550}.length-details dl{background:var(--wash);padding:18px;border-radius:5px}.length-details dl>div{display:flex;justify-content:space-between;gap:15px;margin-bottom:12px}.length-details dt{text-transform:capitalize;color:var(--muted);font-size:.875rem}.length-details dd{margin:0;font-variant-numeric:tabular-nums;font-size:.875rem}.release-strip{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid #bfa07b;padding:27px 0;margin-top:25px}.release-strip strong{font-size:1rem;font-weight:550}.release-strip p{max-width:680px;margin-top:8px;color:var(--muted);font-size:.875rem}.job-create{display:flex;align-items:flex-end;gap:17px;flex-wrap:wrap;padding:24px;border:1px solid #d2b994;background:#e9decc;border-radius:6px}.job-create .field{margin:0;max-width:180px}.job-create>small{display:block;width:100%;color:var(--muted);font-size:.8125rem}.page-content{padding:28px 8px 50px;max-width:1450px;margin:0 auto}.page-intro{padding:10px 0 34px;max-width:760px}.page-intro h2{margin:11px 0 16px;font-size:clamp(1.8rem,3vw,2.6rem)}.page-intro p{color:var(--muted);font-size:1rem}.page-intro.compact{padding-bottom:28px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 30px}.page-content>fieldset{padding:30px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.9375rem}td,th{padding:15px 17px;border-bottom:1px solid var(--line)}th{font-weight:500;color:var(--bronze);font-size:.8125rem;white-space:nowrap}td{font-size:.875rem;font-variant-numeric:tabular-nums}.attachment-upload{display:flex;gap:12px;margin-bottom:20px}.attachment-upload select{max-width:280px}.file-list>a{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:.875rem}.file-list>a:hover{color:var(--bronze)}.file-list>a>span{flex:1;overflow-wrap:anywhere}.file-list small{display:block;color:var(--muted);font-size:.75rem;margin-top:5px}.file-list>p{font-size:.875rem}.calibration-binding{margin:22px 0}.calibration-binding p{font-size:.875rem;margin-top:10px}.empty{min-height:350px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:48px;color:#9d896b}.empty>svg{width:38px;height:38px;stroke-width:1.15}.empty h2{margin-top:22px;color:var(--ink);font-size:1.8rem}.empty p{color:var(--muted);max-width:390px;margin-top:14px;font-size:.9375rem}.jobs-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:28px}.jobs-list>.button{margin-bottom:16px}.job-card{display:block;text-align:left;padding:19px;width:100%;border:1px solid var(--line);border-radius:6px;background:var(--surface);margin-bottom:12px}.job-card:hover{border-color:#b7a78d}.job-card.selected{background:#e9decc;border-color:#c4a479}.job-card>div{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.job-card strong{color:var(--ink);font-size:.9375rem;font-weight:550;line-height:1.4;overflow-wrap:anywhere}.job-card p{margin-top:12px;color:var(--muted);font-size:.875rem}.job-detail{min-width:0;padding:28px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.job-detail>.section-title{justify-content:space-between;flex-wrap:wrap;gap:15px}.job-detail .section-title h3{overflow-wrap:anywhere}.job-meta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:.875rem;margin-bottom:25px}.release-form,.station-form{margin:22px 0;padding:24px;border:1px solid #d0bfa5;border-radius:5px;background:#eee7da}.release-form h4,.station-form h4{margin-bottom:14px}.release-form>p,.station-form>p{font-size:.875rem;color:var(--muted);margin-bottom:20px}.release-form>small{display:block;color:var(--muted);font-size:.8125rem;margin-top:14px}.event{border-bottom:1px solid var(--line);padding:16px 0;font-size:.875rem}.event>span{margin-right:12px}.event p{color:var(--muted);margin:10px 0}.required-check{color:var(--bronze);font-size:.8125rem}.people{display:grid;gap:12px;margin:22px 0}.people>div{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:.9375rem}.people .badge{margin-left:auto}.people>div>span:not(.badge):not(.avatar){color:var(--muted)}.add-person{display:flex;align-items:center;gap:9px;color:var(--bronze);cursor:pointer;font-size:.9375rem}.invite-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:28px;margin-top:20px;background:var(--surface);border:1px solid var(--line);border-radius:6px}.invite-form>.button{justify-self:start}.audit>div{display:flex;align-items:flex-start;gap:15px;padding:20px 0;border-bottom:1px solid var(--line)}.audit svg{flex:none;color:var(--bronze);margin-top:4px}.audit strong{font-size:.9375rem;font-weight:550}.audit p{color:var(--muted);font-size:.8125rem;margin-top:6px;overflow-wrap:anywhere}.audit small{color:var(--muted);margin-left:auto;font-size:.75rem;white-space:nowrap}.auth-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);min-height:100dvh;padding:20px;gap:20px}.auth-intro{min-height:560px;border:1px solid #655440;border-radius:10px;background:#24211d url(/brand/tube-assemblies.avif) center / cover}.auth-form{display:flex;align-items:center;justify-content:center;min-width:0;padding:48px}.auth-form form{width:390px;max-width:100%}.auth-form .wordmark{margin-bottom:40px}.auth-form h1{margin:0 0 28px;font-size:2rem;letter-spacing:-.045em}.auth-form p{color:var(--muted);font-size:1rem;margin-bottom:32px}.auth-form .button{margin-top:8px;justify-content:space-between;padding:14px 19px}.loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:20px;color:var(--bronze)}@media(min-width:1650px){.sidebar{left:max(30px,calc((100vw - 1720px)/2));right:max(30px,calc((100vw - 1720px)/2))}}@media(max-width:1200px){.sidebar{gap:14px;padding-inline:19px}.sidebar .wordmark{min-width:135px;font-size:.95rem}.sidebar nav button{padding-inline:11px}.sidebar nav button>svg{display:none}.account>div:not(.avatar){display:none}.parts-layout{grid-template-columns:205px minmax(0,1fr)}.part-workspace{padding-left:24px}.plan-columns{grid-template-columns:1fr}.geometry-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 0}.geometry-strip>div:nth-child(4){border-left:0;padding-left:0}.plan-header{flex-wrap:wrap}.metric{padding:18px}.metric strong{font-size:1.9rem}.jobs-layout{grid-template-columns:245px minmax(0,1fr)}.release-strip{flex-wrap:wrap}.auth-form{padding:35px}}@media(max-width:900px){.app-shell{padding:99px 20px 20px}.sidebar{inset:14px 20px auto;min-height:64px;gap:10px;padding:10px 15px}.sidebar .wordmark{min-width:0}.sidebar nav{justify-content:flex-end;gap:2px}.sidebar nav button{font-size:.8125rem;padding:10px}.account{padding-left:8px;gap:4px}.account .avatar{display:none}.parts-layout{grid-template-columns:180px minmax(0,1fr)}.part-list{padding-right:12px}.part-item{padding:12px 8px;gap:7px}.part-item>svg:first-child{display:none}.part-workspace{padding-left:20px}.tabs{flex-wrap:wrap;gap:15px}.tabs button{font-size:.875rem;padding:10px 0}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{padding:16px 12px}.metric strong{font-size:1.7rem}.viewer-legend{gap:12px;flex-wrap:wrap}.viewer-legend .muted,.viewer-label .muted{display:none}.jobs-layout{grid-template-columns:1fr}.jobs-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.jobs-list>.button{justify-self:start;grid-column:1 / -1}.job-card{margin:0}.auth-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:12px}.auth-form{padding:28px}}@media(max-width:780px){.app-shell{padding:145px 16px 20px}.sidebar{inset:12px 16px auto;display:grid;grid-template-columns:1fr auto;gap:8px;border-radius:23px;padding:13px 16px}.sidebar .wordmark{font-size:1.04rem}.sidebar nav{grid-row:2;grid-column:1 / -1;justify-content:space-between;gap:5px}.sidebar nav button{padding:10px 9px;white-space:normal;line-height:1.15;font-size:.875rem}.sidebar-bottom{grid-row:1;grid-column:2}.account{border:0;padding:0}.account .avatar{display:inline-flex;width:29px;height:29px;font-size:.875rem}.topbar{padding:10px 2px 24px;gap:12px}.topbar h1{font-size:2rem}.top-actions .busy{display:none}.top-actions .button{padding:11px 12px}.parts-layout{display:block}.part-list{min-height:0;display:flex;gap:9px;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:16px 0}.list-heading{display:none}.part-item{min-width:172px;max-width:210px;padding:12px;margin:0}.part-item strong{max-height:2.9em;overflow:hidden}.part-item>svg:last-child{display:none}.sample-button{min-width:160px;padding:12px}.part-workspace{padding:25px 0 30px}.part-heading{gap:12px}.part-heading h2{font-size:1.5rem}.canvas{height:300px}.geometry-strip>div{padding-left:13px;padding-right:8px}.geometry-strip strong{font-size:1rem}.body-selection{flex-wrap:wrap}.body-selection select{flex-basis:100%}.workspace-toolbar{gap:7px}.tabs{width:100%;justify-content:space-between;gap:8px}.recipe-actions{padding:5px 0}.plan-header h3{font-size:1.55rem}.metric{padding:16px 12px}.metric strong{font-size:1.7rem}.metric>small{font-size:.75rem}.stock-ledger{padding:17px}.stock-ledger>summary>span{display:none}td,th{padding:13px 10px}.form-grid,.settings-grid{grid-template-columns:1fr}.settings-grid{gap:5px}.page-content{padding:25px 0}.page-content>fieldset{padding:22px}.jobs-list{grid-template-columns:1fr}.job-detail{padding:20px}.release-form,.station-form{padding:19px}.job-create{padding:20px}.job-create .field{max-width:150px}.people>div{flex-wrap:wrap;gap:12px}.invite-form{grid-template-columns:1fr;padding:22px}.audit>div{flex-wrap:wrap}.audit small{margin-left:31px}.attachment-upload{flex-wrap:wrap}.global-notice{margin:16px 0}.auth-layout{display:block;padding:12px}.auth-intro{min-height:0;height:clamp(160px,28svh,240px);background-position:center 45%}.auth-form{padding:32px 20px}.auth-form form{width:100%;max-width:450px}.auth-form .wordmark{margin-bottom:28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important;scroll-behavior:auto!important}}.workspace-page{max-width:1450px;margin:0 auto;padding:20px 8px 60px}.collection-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:26px}.collection-toolbar>.button:last-child{margin-left:auto}.collection-toolbar>select{width:auto;min-width:150px}.search-box{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:0 13px;min-width:200px;max-width:430px;flex:1;color:var(--muted)}.search-box>svg{flex:none}.search-box input{border:0;background:transparent;padding-left:0;box-shadow:none;min-width:0}.search-box:focus-within{border-color:var(--bronze)}.search-box input:focus-visible{outline-offset:0}.record-table{background:var(--surface);border:1px solid var(--line);border-radius:7px}.record-table table th{color:var(--muted);background:#f5f2eb}.record-table table td{padding-block:19px}.record-table tbody tr:last-child td{border-bottom:0}.record-table tbody tr:hover{background:#f3eee4}.record-table td small{display:block;margin-top:5px;color:var(--muted);font-size:.75rem}.record-table td .text-button{white-space:nowrap}.record-link{border:0;background:transparent;padding:0;color:var(--ink);font-size:.9375rem;font-weight:580;text-align:left;line-height:1.45;overflow-wrap:anywhere}.record-link:hover{color:var(--bronze);text-decoration:underline;text-underline-offset:3px}.list-empty{padding:42px 24px;color:var(--muted);font-size:.9375rem;text-align:center;line-height:1.6}.record-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 48px);border:1px solid #bcb09d;border-radius:12px;padding:0;color:var(--ink);background:var(--surface);box-shadow:0 28px 100px #16110b35}.record-dialog.wide{width:min(840px,calc(100vw - 32px))}.record-dialog::backdrop{background:#19161066;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;padding:23px 28px;border-bottom:1px solid var(--line);background:var(--surface);z-index:1}.dialog-header h2{font-size:1.55rem;overflow-wrap:anywhere}.dialog-content{padding:28px}.dialog-content>.notice:first-child{margin-top:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:24px;margin-top:8px;border-top:1px solid var(--line)}.optional-fields{margin:15px 0 25px;border-top:1px solid var(--line);padding-top:17px}.optional-fields summary{color:var(--bronze);cursor:pointer;font-weight:550;font-size:.875rem}.optional-fields[open] summary{margin-bottom:22px}.small-note,.section-help{color:var(--muted);font-size:.8125rem;margin:14px 0 20px;line-height:1.6}.record-summary{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:22px}.record-summary p{color:var(--muted);font-size:.9375rem}.record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 25px;margin:24px 0}.record-facts>div{min-width:0}.record-facts dt{color:var(--muted);font-size:.8125rem;margin-bottom:5px}.record-facts dd{margin:0;font-size:.9375rem;overflow-wrap:anywhere;white-space:pre-line}.inventory-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--wash);border-radius:6px;padding:22px;gap:20px}.inventory-balance small{display:block;color:var(--muted)}.inventory-balance strong{font-weight:520;font-size:1.6rem;letter-spacing:-.035em;font-variant-numeric:tabular-nums;display:block;margin-top:6px}.allocation-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);font-size:.875rem;flex-wrap:wrap}.allocation-row .badge{margin-left:auto}.selection-list{max-height:260px;overflow:auto;margin:18px 0 24px;border:1px solid var(--line);border-radius:5px}.selection-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;padding:16px;background:var(--surface);border:0;border-bottom:1px solid var(--line);font-size:.875rem}.selection-row:last-child{border-bottom:0}.selection-row.selected{background:var(--accent);box-shadow:inset 3px 0 var(--bronze)}.selection-row:hover{background:var(--wash)}.selection-row small{display:block;color:var(--muted);margin-top:5px}.selection-row>span{white-space:nowrap}.kit-panel{padding-top:25px}.kit-panel>.section-title{justify-content:space-between}.kit-row{display:flex;align-items:start;flex-wrap:wrap;gap:16px;padding:21px 0;border-bottom:1px solid var(--line)}.kit-row>div:first-child{flex:1;min-width:180px}.kit-row strong{font-size:.9375rem}.kit-row small{color:var(--muted);display:block;margin-top:6px}.kit-row p{font-size:.875rem;margin-top:9px}.kit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.kit-actions .button{padding:8px 12px}.job-tabs{border-bottom:1px solid var(--line);margin-bottom:25px}.back-link{margin-bottom:10px}.part-heading-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.library-search{margin:0 12px 18px 0;min-width:0;font-size:.8125rem}.library-search input{min-width:0}.settings-tabs{padding:0 8px;border-bottom:1px solid var(--line)}.badge.inquiry{background:#ece7de;color:#696054}.badge.quoted,.badge.reserved{background:#f1e4cd;color:#875c27}.badge.accepted,.badge.available,.badge.consumed,.badge.shipped{background:#e5ece0;color:#466849}.badge.in_production,.badge.kitted{background:#e0e9e8;color:#3b696b}.badge.cancelled,.badge.rejected,.badge.quarantine{background:#f1ded6;color:#954d38}.order-header{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;flex-wrap:wrap;margin:14px 0 23px}.order-header h2{font-size:2rem}.order-header p{color:var(--muted);margin-top:8px}.order-header>div:last-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.order-meta{display:flex;gap:25px;flex-wrap:wrap;font-size:.875rem;color:var(--muted);padding-bottom:25px}.order-meta strong{color:var(--ink);font-weight:550}.order-tabs{margin-bottom:24px;border-bottom:1px solid var(--line)}.line-subtitle{color:var(--muted);font-size:.8125rem;margin-top:5px}.order-note{white-space:pre-line;color:var(--muted);font-size:.875rem;margin:20px 0}.quote-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.quote-summary{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:25px}.quote-summary h3{margin-bottom:20px}.quote-summary .button{width:100%;margin-top:12px}.totals-list{margin:0}.totals-list>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;font-size:.875rem}.totals-list dt{color:var(--muted)}.totals-list dd{margin:0;font-variant-numeric:tabular-nums}.totals-list>div:last-child{border-top:1px solid var(--line);padding-top:17px;margin-top:8px;font-size:1.125rem;font-weight:550}.totals-list>div:last-child dt{color:var(--ink)}.quote-state{padding:16px 0;line-height:1.6;font-size:.875rem}@media(max-width:1000px){.quote-layout{grid-template-columns:1fr}.quote-summary{max-width:500px}.collection-toolbar>.segmented{order:3}.library-search>svg{display:none}}@media(max-width:780px){.workspace-page{padding:15px 0 40px}.collection-toolbar{gap:10px}.collection-toolbar .search-box{flex-basis:100%;max-width:none}.dialog-header,.dialog-content{padding:20px}.record-dialog{max-height:calc(100dvh - 24px)}.inventory-balance{padding:17px;gap:12px}.inventory-balance strong{font-size:1.2rem}.record-facts{gap:16px}.library-search{min-width:180px;margin:0}.kit-actions{width:100%}.order-header h2{font-size:1.6rem}.order-meta{gap:15px}}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.row-actions .button{padding:9px 12px}.row-actions .text-button{padding:8px 2px}.topbar{padding:12px 8px 22px}.topbar h1{margin:0}.operation-status{position:fixed;right:30px;bottom:22px;z-index:12;padding:10px 15px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);font-size:.8125rem;box-shadow:0 4px 18px #12110f12}.record-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 22px;color:var(--muted);font-size:.875rem}.record-breadcrumb button{padding:4px 0;background:none;border:0;color:var(--bronze)}.record-breadcrumb span{color:var(--ink);overflow-wrap:anywhere}.record-breadcrumb svg{flex:none}.catalog-heading h1{overflow-wrap:anywhere}.catalog-heading p{margin-top:10px;color:var(--muted);font-size:.9rem}.catalog-facts{grid-template-columns:repeat(3,minmax(0,1fr));margin:25px 0 36px;border-bottom:1px solid var(--line);padding-bottom:24px;max-width:760px}.catalog-facts span{display:flex;flex-direction:column;gap:6px}.catalog-facts strong{font-size:1.05rem;font-weight:550}.catalog-detail .section-title h2{font-size:1.3rem;letter-spacing:-.025em}.section-help{margin:-8px 0 18px;color:var(--muted);font-size:.875rem}.order-part-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin:0 0 22px}.order-part-context>div:first-child{min-width:0;flex:1}.order-part-context .record-breadcrumb{margin-bottom:16px}.order-part-context h1{overflow-wrap:anywhere}.order-part-context p{margin-top:10px;font-size:.9rem}.order-part-context .row-actions{font-size:.875rem;color:var(--muted)}.order-part-detail>h1{margin:0 0 24px;overflow-wrap:anywhere}.order-part-heading{margin:0 0 24px}.order-part-heading h1{overflow-wrap:anywhere}@media(max-width:780px){.topbar{padding-inline:0}.operation-status{right:16px;bottom:16px;max-width:calc(100% - 32px)}.catalog-facts{gap:18px}.record-breadcrumb{gap:6px}.order-part-context{align-items:flex-start}.order-part-context>div:first-child{flex-basis:100%}.order-part-context .row-actions{justify-content:flex-start}}.quote-history-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.875rem}.quote-state>.section-title{justify-content:space-between;flex-wrap:wrap}.quote-state .muted{font-size:.875rem;margin-top:8px}.order-more{margin-top:35px}.danger-text{color:#954d38}.orders-page .section-title{justify-content:space-between}.workspace-page>.section-title{justify-content:space-between}.inline-customer{margin-bottom:24px}.line-more{min-width:80px}.line-more summary{color:var(--bronze);font-size:.8125rem;cursor:pointer;padding:10px 4px}.line-more[open]{flex-basis:100%;border-top:1px solid var(--line);margin-top:5px}.line-more>div{display:flex;flex-wrap:wrap;gap:10px;padding:0 4px 5px}.line-more .text-button{white-space:normal!important;text-align:left}.viewer-loading{display:grid;place-content:center;height:390px;background:var(--nav);border-radius:8px;color:var(--paper);font-size:.875rem}.auth-form p.local-label{margin:0 0 20px;color:var(--bronze);font-size:.8125rem;font-weight:550}.viewer-toolbar{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #4b453a;color:#e1d8c8}.viewer-title{display:flex;align-items:center;gap:8px;min-width:0;font-size:.8rem}.viewer-title svg{flex-shrink:0}.viewer-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.viewer-tool,.viewer-view-options button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:29px;padding:5px 8px;border:1px solid #706454;border-radius:5px;background:#24211d;color:#e1d8c8;font-size:.74rem;line-height:1.4;cursor:pointer}.viewer-tool:hover,.viewer-view-options button:hover{background:#3c362d}.viewer-tool:focus-visible,.viewer-view-options button:focus-visible,.viewer-end-badge:focus-visible{outline:2px solid #d9c2a2;outline-offset:3px}.viewer-tool:disabled{opacity:.5;cursor:default}.viewer-view-options{display:flex;border:1px solid #706454;border-radius:5px;overflow:hidden}.viewer-view-options button{border:0;border-radius:0}.viewer-view-options button[aria-pressed=true]{background:#ddd1bc;color:#24211d}.viewer-stage{position:relative}.viewer-end-labels{position:absolute;inset:0;pointer-events:none}.viewer-end-badge{position:absolute;width:25px;height:25px;padding:0;border-radius:50%;border:1px solid #fff8;transform:translate(10px,-35px);color:#172126;background:#90b9c4;font-size:.75rem;line-height:1;font-weight:700;box-shadow:0 2px 8px #0007;pointer-events:auto;cursor:pointer}.viewer-end-badge.b{color:#382715;background:#e7b671}.viewer-end-badge[aria-pressed=true]{box-shadow:0 0 0 3px #fff8}.viewer-message{position:absolute;top:12px;left:14px;right:14px;width:fit-content;max-width:calc(100% - 28px);color:#eee4d0;background:#24211de6;padding:7px 10px;border-radius:5px;font-size:.75rem;line-height:1.5;pointer-events:none}.viewer .viewer-legend{position:relative;inset:auto;min-height:40px;padding:10px 14px;border-top:1px solid #4b453a;gap:12px 20px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.viewer-body-menu{z-index:200;width:max-content;min-width:220px;max-width:min(360px,calc(100vw - 24px));max-height:min(480px,var(--radix-dropdown-menu-content-available-height));overflow-y:auto;padding:6px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 28px #18161126}.viewer-body-menu-label{padding:6px 9px 9px;color:var(--muted);font-size:.73rem}.viewer-body-item{display:flex;align-items:center;gap:9px;padding:8px 9px;border-radius:4px;font-size:.8rem;cursor:pointer;outline:none}.viewer-body-item[data-highlighted]{background:#e8e0d3}.viewer-body-check{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #bdb4a7;border-radius:3px;flex-shrink:0}.viewer-body-item[data-state=checked] .viewer-body-check{border-color:#5d7468;color:#fff;background:#5d7468}.viewer-body-separator{height:1px;margin:6px 3px;background:var(--line)}@media(max-width:700px){.viewer-toolbar{flex-wrap:wrap;gap:9px}.viewer-title{width:100%}.viewer-tools{width:100%;flex-wrap:wrap}.viewer-tools>:last-child{margin-left:auto}.viewer .viewer-legend{font-size:.7rem;gap:10px 15px}}:root{--page-width:1440px;--page-gutter:clamp(16px,3vw,40px);--section-gap:24px;--sticky-content-top:104px}html{scrollbar-gutter:stable}html:has(body[data-scroll-locked]){scrollbar-gutter:auto}.app-shell{padding:20px var(--page-gutter) 48px}.app-shell .sidebar{position:sticky;inset:20px auto auto;width:100%;max-width:var(--page-width);min-height:64px;margin:0 auto 32px}.app-shell>main{width:100%;max-width:var(--page-width);margin:0 auto}.workspace-page,.page-content,.shop-floor,.part-editor{width:100%;max-width:none;margin:0;padding:0}.topbar{min-height:52px;padding:0;margin:0 0 var(--section-gap);border:0;align-items:center}.topbar h1,.order-header h1,.order-part-context h1,.catalog-heading h1,.shop-floor .sf-heading h1{font-size:clamp(1.8rem,2.4vw,2.2rem);line-height:1.2;margin:0;letter-spacing:-.045em}.shop-floor .sf-heading,.order-header,.order-part-context{margin:0 0 var(--section-gap)}.order-part-context>div:first-child{min-width:0}.order-part-context .record-breadcrumb,.record-breadcrumb{margin:0 0 16px}.record-breadcrumb button{font-size:.875rem}.collection-toolbar{margin:0 0 var(--section-gap);gap:12px;min-height:44px}.settings-tabs,.page-content .page-intro{margin:0 0 var(--section-gap);padding:0}.page-content .page-intro p{font-size:.9375rem}.global-notice{margin:0 0 var(--section-gap)}.record-table table td,.record-table table th{font-size:.875rem}.record-table table td{padding-block:17px}.record-table td small{font-size:.8125rem}.catalog-facts{max-width:none}.field,.small-note,.section-help{font-size:.875rem}.badge.confirmed{background:#e5ece0;color:#466849}.badge.draft_specifications{background:var(--wash);color:var(--muted)}.badge.awaiting_release{background:#efe2ca;color:#825e2d}.tube-specification .field,.tube-specification .tube-spec-checks label,.tube-specification .tube-spec-checkbox{font-size:.875rem}@media(min-width:1001px){.app-shell .sidebar{display:flex;gap:20px;padding:12px 20px}.sidebar nav button{padding:10px 13px}.sidebar .wordmark{min-width:145px}}@media(max-width:1000px){.app-shell .sidebar{gap:12px;padding:12px 18px}.sidebar .wordmark{min-width:0}.sidebar nav button{padding:10px;font-size:.875rem}.account>div:not(.avatar){display:none}}@media(max-width:800px){:root{--sticky-content-top:148px}.app-shell{padding-top:12px}.app-shell .sidebar{top:12px;display:grid;grid-template-columns:1fr auto;gap:8px;border-radius:16px;margin-bottom:24px}.sidebar nav{grid-row:2;grid-column:1/-1;justify-content:space-between;gap:4px}.sidebar nav button{padding:9px 7px;font-size:.875rem}.sidebar nav button svg{display:none}.sidebar-bottom{grid-row:1;grid-column:2}.account{padding:0;border:0}.account .avatar{display:inline-flex}.topbar{margin-bottom:20px}.workspace-page,.page-content,.shop-floor,.part-editor{padding:0}}@media(max-width:430px){.sidebar nav{gap:0}.sidebar nav button{font-size:.8125rem;padding-inline:5px}.app-shell .sidebar{padding-inline:12px}}
