:root{--ink:#222a24;--muted:#748075;--line:#e4e8df;--paper:#fff;--canvas:#edf0e9;--accent:#cdf27d;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f6f7f3;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #7eaa36;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.app-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);gap:22px;background:#fff}.brand{display:flex;align-items:center;gap:20px;flex-shrink:0}.brand img{object-fit:contain}.brand-divider{height:32px;width:1px;background:var(--line)}.brand strong{font-size:16px;letter-spacing:-.4px;display:block}.brand small{font-size:9px;letter-spacing:1.7px;color:var(--muted);display:block;margin-top:7px;font-weight:600}.header-middle{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;white-space:nowrap}.status-dot{height:6px;width:6px;background:#77a748;border-radius:50%}.header-actions{display:flex;align-items:center;gap:16px}.version-tag{font-size:10px;color:#74806a;border:1px solid var(--line);border-radius:5px;padding:5px 7px;white-space:nowrap}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;min-height:36px;padding:4px 0}.text-button:hover{color:#648c28}.secondary-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 17px;border-radius:9px;font-size:12px;font-weight:650;min-height:44px;transition:background .18s,transform .18s}.secondary-button{border:1px solid #d5dcd0;background:#fff}.secondary-button:hover{background:#f1f4ed}.primary-button{background:var(--accent);color:#253617}.primary-button:hover:not(:disabled){background:#bce76c;transform:translateY(-1px)}.full-width{width:100%;justify-content:space-between}
.app-layout{height:calc(100dvh - 88px);min-height:640px;display:grid;grid-template-columns:280px minmax(330px,1fr) 298px;max-width:1920px;margin:auto}.catalog-panel,.summary-panel{background:#fff;display:flex;flex-direction:column;min-height:0}.catalog-panel{border-right:1px solid var(--line);padding:26px 20px 0}.eyebrow{display:block;font-size:9px;letter-spacing:1.6px;color:#74816f;font-weight:650}.panel-heading h1{font-size:27px;line-height:1.13;letter-spacing:-1.1px;margin-top:11px;max-width:220px}.panel-heading h1>span{color:#80a746}.panel-heading p{font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px;max-width:220px}.catalog-scroll{overflow-y:auto;padding-top:25px;padding-bottom:18px;scrollbar-width:thin;scrollbar-color:#dce3d5 transparent}.section-title{display:flex;align-items:center;gap:9px;margin-bottom:12px}.section-title h2{font-size:12px;font-weight:650}.step-number{width:22px;height:22px;display:grid;place-items:center;background:#f1f3ed;font-size:9px;font-weight:600;border:1px solid var(--line);border-radius:6px;color:#7b8873}.frame-card{border:1px solid #dfe5d8;border-radius:12px;overflow:hidden;background:#fafbf8;transition:border-color .2s}.frame-card.is-selected{border-color:#91b65b}.frame-visual{height:150px;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#e9ede3,transparent 70%)}.frame-visual img{height:131px;max-width:155px;object-fit:contain;filter:drop-shadow(6px 6px 5px #26351518)}.frame-badge{position:absolute;left:10px;top:10px;font-size:9px;color:#647255;background:#fff;border:1px solid #e4e9de;border-radius:4px;padding:4px 6px}.frame-card-body{padding:13px}.product-name{font-size:12px;font-weight:650;line-height:1.35}.product-index{font-size:9px;letter-spacing:.2px;color:#8a9486;line-height:1.4;margin-top:4px}.product-dimensions{font-size:10px;color:#74806c;margin-top:7px}.frame-price{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.product-price{font-size:14px;font-weight:700;letter-spacing:-.4px}.product-price small{font-size:9px;font-weight:450;color:#84917a;letter-spacing:0}.frame-card .primary-button{font-size:11px;min-height:37px;padding:9px 12px;width:100%}.frame-card.is-selected .primary-button{background:#edf5e2;color:#587438;cursor:default}.equipment-heading{margin-top:25px}.equipment-card{display:flex;align-items:center;gap:11px;margin-bottom:8px;padding:11px 9px;border:1px solid var(--line);border-radius:11px;background:#fff;min-height:94px}.equipment-card .product-thumb{width:64px;height:64px;object-fit:contain;flex-shrink:0}.equipment-card .product-info{flex:1;min-width:0}.equipment-card .product-name{font-size:11px}.equipment-card .product-index{font-size:8px;white-space:nowrap}.equipment-card .product-price{font-size:12px;margin-top:7px}.add-button{display:grid;place-items:center;background:#eff3e8;border:1px solid #e1e7d8;border-radius:7px;min-width:30px;width:30px;height:34px;padding:0}.add-button:hover:not(:disabled){background:var(--accent);border-color:var(--accent)}.add-button .icon{width:16px;height:16px}.catalog-note{display:flex;align-items:flex-start;gap:8px;padding:13px 2px 0;color:#8b9584}.catalog-note>.icon{width:14px;height:14px;margin-top:1px}.catalog-note p{font-size:9px;line-height:1.6}.catalog-link{margin-top:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;padding:17px 0;color:#5c6c50}.catalog-link .icon{width:15px;height:15px}
.workspace{position:relative;overflow:hidden;min-height:0;background:var(--canvas)}.workspace-header{position:absolute;top:27px;left:27px;right:23px;display:flex;align-items:center;justify-content:space-between;gap:8px;z-index:2;pointer-events:none}.workspace-header .eyebrow{font-size:8px;letter-spacing:1.4px}.workspace-header h2{font-size:22px;letter-spacing:-.8px;margin-top:7px;font-weight:550;line-height:1.3}.history-actions{display:flex;gap:5px;pointer-events:auto}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;border:1px solid #dfe5d7;background:#fff9;border-radius:8px;padding:0;flex-shrink:0}.icon-button:hover:not(:disabled){background:#fff}.icon-button .icon{width:17px;height:17px}.scene-toolbar{position:absolute;top:113px;left:27px;right:24px;display:flex;align-items:center;justify-content:space-between;gap:8px;z-index:3}.mode-switch{display:flex;gap:2px;padding:3px;background:#ffffffbd;border:1px solid #dfe6d6;border-radius:10px;box-shadow:0 4px 12px #4b5d3210}.mode-switch button{font-size:10px;min-height:33px;padding:7px 11px;display:flex;align-items:center;gap:7px;border-radius:7px;color:#74816a}.mode-switch button .icon{width:15px;height:15px}.mode-switch button.active{color:#2b3b20;background:#e0edc9;font-weight:650}#scene{position:absolute;inset:0;outline-offset:-5px;touch-action:none}#scene canvas{display:block;width:100%;height:100%;touch-action:none}#scene.editing{cursor:grab}#scene.dragging{cursor:grabbing}.loading{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:var(--canvas);text-align:center;padding:30px}.loading strong{font-size:14px;font-weight:550}.loading>span:last-child{font-size:11px;color:var(--muted)}.loader{width:32px;height:32px;border:2px solid #d5ddcc;border-top-color:#779b42;border-radius:50%;animation:spin 1s linear infinite}.loading.error .loader{animation:none;border-color:#c08b79}.loading.error strong{color:#963e29}@keyframes spin{to{transform:rotate(360deg)}}.view-controls{position:absolute;right:24px;bottom:87px;display:flex;gap:2px;padding:4px;background:#ffffffc9;border:1px solid #dfe5d7;border-radius:9px;box-shadow:0 6px 20px #4b5d3210}.view-controls button{font-size:10px;min-width:40px;height:32px;border-radius:6px;padding:5px 10px;color:#7a8671}.view-controls button.active{background:#273427;color:#fff}.scene-size{position:absolute;bottom:94px;left:27px;display:flex;align-items:center;gap:8px;font-size:13px;color:#65745b;font-variant-numeric:tabular-nums;font-weight:550;pointer-events:none}.scene-size>span:not(:last-child):after{content:"×";font-size:10px;font-weight:400;padding-left:8px;color:#9caa92}.scene-size small{font-size:9px;font-weight:450}.preview-prompt{position:absolute;bottom:155px;left:50%;transform:translateX(-50%);background:#fffdf7ee;border:1px solid #e1e7d9;box-shadow:0 10px 30px #53604212;padding:11px;border-radius:12px;display:flex;align-items:center;gap:14px;white-space:nowrap}.preview-prompt>span{font-size:10px;color:#748069}.preview-prompt .primary-button{padding:10px 12px;font-size:10px;min-height:35px}.preview-prompt[hidden]{display:none}.scene-footer{position:absolute;bottom:0;left:0;right:0;min-height:54px;display:flex;align-items:center;justify-content:space-between;padding:14px 27px;border-top:1px solid #d9e1d0;background:#edf0e9d9;gap:14px;pointer-events:none}.scene-hint{font-size:9px;color:#77846c;display:flex;align-items:center;gap:7px;line-height:1.5}.scene-hint .icon{width:14px;height:14px}.model-label{font-size:7px;letter-spacing:1.1px;color:#9aaa8c;white-space:nowrap}.selected-mobile{display:none}
.summary-panel{border-left:1px solid var(--line);padding-top:28px}.summary-heading{display:flex;align-items:center;gap:10px;padding:0 22px}.summary-heading h2{font-size:19px;font-weight:600;letter-spacing:-.5px}.count-badge{background:#edf2e6;min-width:23px;height:23px;border-radius:6px;font-size:10px;display:grid;place-items:center;color:#647a4b}.finish-section{padding:25px 22px 19px;border-bottom:1px solid var(--line)}.small-label{font-size:10px;color:#75816d;margin-bottom:10px}.finish-options{display:flex;gap:7px}.finish-options button{flex:1;display:flex;flex-direction:column;align-items:center;padding:8px 6px;border:1px solid #e1e7da;border-radius:8px;gap:7px;font-size:9px;min-height:64px;background:#fff}.finish-options button.active{background:#f1f6e9;border-color:#98b967;color:#466325}.finish-swatch{display:block;width:31px;height:22px;border-radius:4px;box-shadow:inset 0 0 0 1px #0001}.finish-swatch.hexa{background:#393b35 url('assets/hexa.png') center/64px}.finish-swatch.grid{background:#302a26 url('assets/mesh-surface.webp') center/90px auto}.finish-swatch.raw{background:#e4d5bf url('assets/raw-plywood-surface.webp') center/95px auto}.finish-note{font-size:9px;color:#8b7b59;line-height:1.5;margin-top:10px}.summary-scroll{overflow-y:auto;padding:0 22px 20px;flex:1;scrollbar-width:thin;scrollbar-color:#dce3d5 transparent}.assembly-list{padding-top:8px}.assembly-empty{padding:35px 10px;text-align:center;color:#9aa38e}.assembly-empty>.icon{height:36px;width:36px;stroke-width:1;margin-bottom:14px;color:#adbba0}.assembly-empty strong{display:block;font-size:12px;font-weight:500;color:#75836b;margin-bottom:8px}.assembly-empty p{font-size:10px;line-height:1.65}.assembly-row{display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf0e9;padding:12px 0;position:relative}.assembly-row.selectable{cursor:pointer;border-radius:6px}.assembly-row.selectable:hover{background:#f8faf4}.assembly-row.selected{background:#f0f6e7;margin:4px -9px;padding:10px 9px;border:1px solid #d8e6c5}.assembly-row>img{width:36px;height:44px;object-fit:contain}.assembly-row .assembly-info{flex:1;min-width:0}.assembly-row strong{font-size:10px;font-weight:600;display:block;line-height:1.4}.assembly-row .subline{font-size:8px;line-height:1.4;color:#94a084;margin-top:4px}.assembly-row .row-price{font-size:10px;font-weight:600;margin-left:3px;white-space:nowrap}.row-remove{width:26px;height:30px;display:grid;place-items:center;color:#9ba391;margin-right:-6px;flex-shrink:0}.row-remove:hover{color:#a64a31}.row-remove .icon{width:13px;height:13px}.position-editor{border:1px solid #d8e4c8;background:#f6f9ef;border-radius:10px;margin-top:17px;padding:14px}.editor-top{display:flex;justify-content:space-between;align-items:center}.editor-top .eyebrow{font-size:8px;letter-spacing:1px}.editor-name{font-size:12px;font-weight:600;margin-top:8px}.height-controls{display:flex;gap:6px;margin-top:13px;align-items:center}.height-field{display:flex;align-items:center;justify-content:center;gap:5px;background:#fff;border:1px solid #dce4d2;border-radius:7px;flex:1;min-width:0;height:39px}.height-field input{width:58px;border:0;outline:none!important;padding:5px 0 5px 7px;text-align:right;font-size:14px;font-weight:600;color:var(--ink);background:transparent;appearance:textfield}.height-field input::-webkit-inner-spin-button{appearance:none}.height-field span{font-size:9px;color:#89977b;padding-right:7px}.height-controls .icon-button{width:35px;height:39px;background:#fff}.height-slider{accent-color:#789d3e;width:100%;margin:15px 0 5px;height:14px;cursor:grab}.editor-note{font-size:9px;color:#8a977c;line-height:1.5;margin-top:8px}.editor-drag{font-size:10px;display:flex;gap:6px;align-items:center;color:#5b7a33;margin-top:14px;font-weight:550}.editor-drag .icon{width:14px;height:14px}.summary-total{padding:18px 22px 16px;border-top:1px solid var(--line);background:#fff}.weight-row{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#87937c;margin-bottom:17px}.weight-row strong{font-weight:550;color:#53624a}.price-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.price-row>span{font-size:12px}.price-row>span small{font-size:9px;color:#8a967d;display:block;margin-top:5px}.price-row>strong{font-size:27px;letter-spacing:-1px;font-weight:650;white-space:nowrap}.price-date{font-size:8px;color:#9aa58d;text-align:right;margin-top:5px;margin-bottom:19px}.summary-total .primary-button{min-height:46px;font-size:11px}.project-actions{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:10px;color:#89957d}.project-actions .text-button{font-size:9px}.project-actions .icon{width:13px;height:13px}.fit-note{border-top:1px solid #edf0e8;margin-top:9px;padding-top:12px;font-size:9px;line-height:1.6;color:#94a086}.mobile-nav{display:none}
.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);padding:13px 20px;border-radius:10px;background:#273628;color:#fff;box-shadow:0 8px 28px #1b2a2433;font-size:12px;z-index:40;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(500px,calc(100vw - 32px));text-align:center;line-height:1.5}.toast.visible{transform:translate(-50%,0);opacity:1}.toast.error{background:#923f2e}
dialog{border:1px solid #dce4d2;border-radius:18px;max-width:680px;width:calc(100vw - 40px);padding:26px 30px 30px;box-shadow:0 22px 90px #1a2c2438;color:var(--ink);background:#fff;max-height:calc(100dvh - 50px)}dialog::backdrop{background:#1e2d236b;backdrop-filter:blur(5px)}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.modal-top .icon-button{border:0}.modal-title{font-size:27px;letter-spacing:-1px;margin-bottom:10px;font-weight:600}.modal-lead{font-size:12px;color:#7b8871;line-height:1.7}.modal-finish{display:flex;justify-content:space-between;gap:10px;background:#f3f6ed;padding:13px 16px;border-radius:9px;font-size:11px;margin:21px 0}.bom-table{width:100%;border-collapse:collapse;font-size:11px}.bom-table th{color:#8c997f;font-size:9px;text-align:left;font-weight:500;border-bottom:1px solid var(--line);padding:12px 8px}.bom-table td{padding:14px 8px;border-bottom:1px solid var(--line);vertical-align:top}.bom-table td small{display:block;font-size:9px;color:#94a087;margin-top:4px}.bom-table th:nth-child(2),.bom-table td:nth-child(2){text-align:center}.bom-table th:last-child,.bom-table td:last-child{text-align:right;white-space:nowrap}.modal-totals{display:flex;justify-content:space-between;align-items:center;margin:22px 0;font-size:12px}.modal-totals strong{font-size:28px;letter-spacing:-1px}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.modal-actions button{flex:1;white-space:nowrap}.modal-note{font-size:10px;color:#8a967d;line-height:1.7;margin-top:20px}.help-steps{list-style:none;padding:0;margin:24px 0;display:grid;gap:20px;counter-reset:steps}.help-steps li{display:flex;gap:14px;font-size:12px;line-height:1.7;color:#79876e}.help-steps li:before{counter-increment:steps;content:counter(steps,decimal-leading-zero);height:30px;width:30px;background:#edf4e3;border:1px solid #dce8ce;color:#698644;flex-shrink:0;border-radius:8px;display:grid;place-items:center;font-size:11px}.help-steps strong{color:#2f3b29;display:block;font-weight:600}.help-footnote{padding:15px;background:#f6f7f2;border-radius:10px;font-size:10px;line-height:1.8;color:#849077}#print-content{display:none}
@media(min-width:1550px){.app-layout{grid-template-columns:320px minmax(500px,1fr) 330px}.catalog-panel{padding-left:27px;padding-right:27px}.equipment-card{padding:13px}.equipment-card .product-thumb{width:73px}.frame-visual{height:169px}.frame-visual img{height:150px}.workspace-header{top:35px;left:35px}.workspace-header h2{font-size:28px}.scene-toolbar{top:129px;left:35px}.summary-heading,.finish-section,.summary-scroll,.summary-total{padding-left:28px;padding-right:28px}.summary-heading{padding-top:6px}.price-row>strong{font-size:31px}.panel-heading h1{font-size:30px;max-width:250px}.catalog-scroll{padding-top:30px}}
@media(max-width:1250px){.app-header{padding:0 20px;gap:12px}.header-middle{display:none}.header-actions{gap:14px}.app-layout{grid-template-columns:250px minmax(310px,1fr) 272px}.catalog-panel{padding-left:16px;padding-right:16px}.panel-heading h1{font-size:25px}.summary-heading,.finish-section,.summary-scroll,.summary-total{padding-left:17px;padding-right:17px}.equipment-card{gap:7px;padding:9px 7px}.equipment-card .product-thumb{width:54px}.equipment-card .product-index{font-size:7px}.add-button{min-width:27px;width:27px}.workspace-header{left:20px;right:20px}.workspace-header h2{font-size:19px}.scene-toolbar{left:20px;right:20px;top:110px}.scene-footer{padding-left:20px;padding-right:20px}.model-label{display:none}.preview-prompt{flex-direction:column;gap:9px;bottom:157px}.price-row>strong{font-size:25px}.frame-visual{height:131px}.frame-visual img{height:119px}}
@media(max-height:850px) and (min-width:1051px){.app-header{height:74px}.app-layout{height:calc(100dvh - 74px);min-height:580px}.catalog-panel{padding-top:20px}.panel-heading h1{font-size:24px}.panel-heading p{font-size:10px;margin-top:8px}.catalog-scroll{padding-top:19px}.frame-visual{height:113px}.frame-visual img{height:104px}.frame-card-body{padding:10px}.frame-price{margin:8px 0}.equipment-heading{margin-top:21px}.equipment-card{min-height:83px;padding-top:8px;padding-bottom:8px}.equipment-card .product-thumb{height:56px}.summary-panel{padding-top:23px}.finish-section{padding-top:21px;padding-bottom:15px}.summary-total{padding-top:14px;padding-bottom:12px}.price-date{margin-bottom:14px}.weight-row{margin-bottom:13px}.assembly-row{padding-top:10px;padding-bottom:10px}}
@media(max-width:1050px){.app-header{height:72px;padding:0 17px;gap:10px}.brand{gap:13px}.brand img{height:45px;width:41px}.brand-divider{height:27px}.brand strong{font-size:14px}.brand small{font-size:7px;letter-spacing:1.2px;margin-top:6px}.header-actions{gap:10px}.version-tag{font-size:8px;padding:4px}.help-button{width:36px;height:36px}.help-button span{display:none}.header-actions .secondary-button{font-size:10px;padding:10px 12px;min-height:39px}.header-actions .secondary-button .icon{width:16px;height:16px}.app-layout{display:block;height:calc(100dvh - 140px - env(safe-area-inset-bottom));min-height:0}.catalog-panel,.summary-panel,.workspace{height:100%;border:0}.catalog-panel,.summary-panel{max-width:620px;margin:0 auto}.catalog-panel{padding:24px 24px 0}.panel-heading h1{max-width:none;font-size:28px}.panel-heading p{max-width:none}.catalog-scroll{padding-top:22px}.frame-card{display:grid;grid-template-columns:140px 1fr}.frame-visual{height:190px}.frame-visual img{height:160px;max-width:115px}.frame-card-body{padding:18px}.frame-price{margin:13px 0}.frame-card .primary-button{min-height:41px}.equipment-card{padding:13px;min-height:93px;gap:15px}.equipment-card .product-thumb{width:83px;height:66px}.equipment-card .product-name{font-size:13px}.equipment-card .product-index{font-size:9px}.equipment-card .product-price{font-size:13px}.add-button{width:42px;min-width:42px;height:42px}.catalog-note{padding-bottom:20px}.catalog-note p{font-size:11px}.catalog-link{padding:16px 0}.summary-panel{padding-top:25px}.summary-heading,.finish-section,.summary-scroll,.summary-total{padding-left:24px;padding-right:24px}.summary-heading h2{font-size:23px}.finish-section{padding-top:22px}.finish-options{max-width:380px;gap:10px}.finish-options button{font-size:11px;padding:10px}.small-label{font-size:12px}.assembly-row strong{font-size:12px}.assembly-row .subline{font-size:10px}.assembly-row>img{width:50px;height:50px}.assembly-row .row-price{font-size:12px}.row-remove{width:36px;height:36px;margin-right:-3px}.row-remove .icon{width:17px;height:17px}.price-row>strong{font-size:31px}.summary-total .primary-button{font-size:12px}.project-actions .text-button{font-size:11px;min-height:40px}.fit-note{font-size:10px}.summary-scroll{min-height:100px}.position-editor{margin-bottom:8px}.height-controls .icon-button{width:42px;height:42px}.height-field{height:42px}.height-field input{font-size:17px}.editor-name{font-size:14px}.editor-note{font-size:10px}.editor-top .eyebrow{font-size:9px}.height-slider{height:24px}.workspace-header{top:24px;left:23px;right:23px}.workspace-header h2{font-size:23px}.workspace-header .eyebrow{font-size:8px}.scene-toolbar{top:104px;left:22px;right:22px}.mode-switch button{font-size:11px;min-height:37px;padding:8px 13px}.mode-switch button .icon{width:17px;height:17px}.scene-toolbar>.icon-button{height:44px;width:44px}.view-controls{right:22px;bottom:69px}.view-controls button{height:36px;min-width:44px;font-size:11px}.scene-size{left:23px;bottom:82px;font-size:13px}.scene-footer{min-height:43px;padding:10px 23px}.scene-hint{font-size:9px}.preview-prompt{bottom:136px;flex-direction:row;gap:10px}.preview-prompt>span{display:none}.preview-prompt .primary-button{font-size:12px;min-height:43px;padding:11px 17px}.selected-mobile{position:absolute;bottom:126px;left:23px;right:23px;background:#fffffff0;border:1px solid #dce6d0;box-shadow:0 6px 25px #394e2722;border-radius:11px;padding:10px 12px;display:none;align-items:center;justify-content:space-between;gap:10px}.selected-mobile.visible{display:flex}.selected-mobile strong{font-size:11px;display:block}.selected-mobile span{font-size:10px;color:#89977a;display:block;margin-top:4px}.selected-mobile .compact-height{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px;font-weight:600}.selected-mobile .icon-button{height:38px;width:35px;background:#f2f6ea}.selected-mobile .compact-height span{font-size:11px;font-weight:600;color:var(--ink);margin:0}.mobile-nav{display:flex;justify-content:center;position:fixed;bottom:0;left:0;right:0;height:calc(68px + env(safe-area-inset-bottom));padding:7px 18px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);z-index:10;gap:9px}.mobile-nav button{flex:1;max-width:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#8f9b83;border-radius:9px;font-size:10px;min-height:49px}.mobile-nav button.active{background:#edf4e3;color:#4b6a2e}.mobile-nav .icon{width:20px;height:20px}.mobile-nav b{display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;background:#e6eddc;border-radius:4px;font-size:9px;font-weight:500;margin-left:4px}body[data-mobile-view="scene"] .catalog-panel,body[data-mobile-view="scene"] .summary-panel{display:none}body[data-mobile-view="catalog"] .workspace,body[data-mobile-view="catalog"] .summary-panel{display:none}body[data-mobile-view="summary"] .workspace,body[data-mobile-view="summary"] .catalog-panel{display:none}.toast{bottom:90px;font-size:11px}.modal-title{font-size:24px}}
@media(max-width:550px){.header-actions{gap:5px}.version-tag{display:none}.brand{gap:10px}.brand-divider{display:none}.brand strong{font-size:13px}.brand small{font-size:6px;letter-spacing:.9px}.brand img{width:35px;height:39px}.header-actions .secondary-button{padding:9px;gap:6px;font-size:9px;min-height:37px}.header-actions .secondary-button .icon{width:15px;height:15px}.help-button{width:30px;min-height:34px}.help-button .icon{width:18px;height:18px}.app-header{padding:0 13px}.workspace-header{left:19px;right:19px;top:22px}.workspace-header h2{font-size:20px}.workspace-header .eyebrow{font-size:6.5px;letter-spacing:1.1px}.history-actions{gap:4px}.history-actions .icon-button{width:31px;height:34px}.scene-toolbar{left:18px;right:18px;top:97px}.mode-switch button{font-size:10px;padding:8px 10px;gap:6px;min-height:35px}.mode-switch button .icon{width:15px;height:15px}.scene-toolbar>.icon-button{width:40px;height:42px}.scene-size{left:19px;bottom:77px;font-size:11px;gap:6px}.scene-size>span:not(:last-child):after{padding-left:6px}.scene-size small{font-size:7px}.view-controls{right:18px;bottom:63px;padding:3px}.view-controls button{min-width:33px;padding:6px 7px;font-size:9px;height:35px}.scene-footer{padding:10px 19px;min-height:39px}.scene-hint{font-size:8px;gap:6px}.scene-hint .icon{width:12px;height:12px}.selected-mobile{left:18px;right:18px;bottom:119px}.catalog-panel{padding-left:20px;padding-right:20px}.panel-heading h1{font-size:26px}.panel-heading p{font-size:11px}.frame-card{grid-template-columns:115px 1fr}.frame-visual{height:183px}.frame-visual img{height:148px;max-width:101px}.frame-card-body{padding:15px 13px 13px 8px}.frame-badge{left:7px;top:7px;font-size:7px;padding:4px 5px}.frame-card .product-dimensions{font-size:9px}.equipment-card .product-thumb{width:68px}.equipment-card .product-name{font-size:12px}.equipment-card .product-index{font-size:8px}.equipment-card .product-price{font-size:12px}.equipment-card{gap:11px;padding:11px}.summary-heading,.finish-section,.summary-scroll,.summary-total{padding-left:20px;padding-right:20px}.summary-total{padding-top:15px;padding-bottom:12px}.price-row>strong{font-size:28px}.fit-note{padding-top:9px;margin-top:5px;font-size:9px}.summary-total .price-date{margin-bottom:13px}.project-actions{margin-top:6px}.project-actions .text-button{font-size:10px}.weight-row{margin-bottom:11px}.summary-scroll{padding-bottom:15px}.finish-section{padding-top:17px;padding-bottom:15px}.finish-options button{min-height:61px;padding:8px;font-size:10px}.summary-heading h2{font-size:21px}.summary-panel{padding-top:20px}dialog{padding:18px;width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}.bom-table{font-size:10px}.bom-table th,.bom-table td{padding-left:3px;padding-right:3px}.modal-lead{font-size:11px}.modal-finish{font-size:10px;padding:12px}.modal-title{font-size:23px}.modal-actions .secondary-button{font-size:10px;padding:11px}.modal-totals strong{font-size:24px}.help-steps li{font-size:11px}.modal-actions{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.frame-card.is-selected .primary-button{background:var(--accent);color:#253617;cursor:pointer}.frame-in-set{font-size:9px;color:#7c8f69}.frame-selector{margin-top:14px;padding:12px;background:#f5f8ef;border:1px solid #e0e8d6;border-radius:9px}.frame-selector[hidden]{display:none}.active-frame-controls{display:flex;gap:5px;align-items:center}.active-frame-controls select,.transfer-select{font:inherit;font-size:11px;min-width:0;flex:1;padding:9px 7px;background:#fff;border:1px solid #d9e3ce;border-radius:7px;color:var(--ink);height:36px}.active-frame-controls .icon-button{width:32px;height:36px;background:#fff}.arrow-left{display:flex;transform:rotate(180deg)}.frame-control-note{font-size:9px;line-height:1.5;color:#89967b;margin-top:9px}.transfer-label{display:block;margin:12px 0 7px}.transfer-select{width:100%;height:38px}.scene-frames{position:absolute;top:165px;left:27px;right:24px;z-index:3;display:flex;gap:5px;align-items:center;max-width:100%}.scene-frames[hidden]{display:none}.scene-frame-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin;max-width:calc(100% - 76px);padding:2px 0 5px}.scene-frame-tabs button{font-size:10px;white-space:nowrap;border:1px solid #d9e3cf;border-radius:7px;padding:8px 10px;background:#ffffffcb;color:#77856b;min-height:34px}.scene-frame-tabs button.active{background:#dcecbe;border-color:#a4bf7f;color:#3b5821;font-weight:650}.scene-add-frame,.scene-focus-frame{display:grid;place-items:center;background:#fff;border:1px solid #d8e1ce;border-radius:7px;width:33px;height:34px;flex-shrink:0}.scene-add-frame{background:#dcecbe}.scene-add-frame .icon,.scene-focus-frame .icon{width:16px;height:16px}.frame-labels{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}.frame-label{position:absolute;transform:translate(-50%,-100%);padding:5px 9px;border-radius:6px;border:1px solid #d1dcc6;background:#ffffffdf;box-shadow:0 3px 12px #415a2912;font-size:9px;color:#7a8b6a;white-space:nowrap;pointer-events:auto}.frame-label.active{color:#466725;background:#e5f4ce;border-color:#a7c782;font-weight:650}.short-frame-name{display:none}.frame-label.compact .full-frame-name{display:none}.frame-label.compact .short-frame-name{display:inline}.assembly-frame-group{margin-top:10px;border:1px solid #e4eadc;border-radius:9px;overflow:hidden}.assembly-frame-group.active{border-color:#c9dcb4}.assembly-frame-heading{display:flex;gap:8px;align-items:center;padding:11px 9px;background:#f7f9f3;cursor:pointer}.assembly-frame-group.active .assembly-frame-heading{background:#edf5e1}.assembly-frame-heading>div{flex:1;min-width:0}.assembly-frame-heading strong{font-size:11px;display:block;font-weight:650}.assembly-frame-heading small{font-size:8px;display:block;color:#8c9b7c;margin-top:4px}.frame-number{display:grid;place-items:center;min-width:22px;height:25px;border:1px solid #d6e3c6;border-radius:5px;background:#fff9;font-size:10px;color:#668348}.frame-subtotal{font-size:10px;font-weight:650;white-space:nowrap}.assembly-frame-items{padding:0 9px 4px}.assembly-frame-items>.assembly-row:last-child{border-bottom:0}.assembly-frame-items .assembly-row>img{width:29px;height:38px}.assembly-frame-items .assembly-row strong{font-size:9px}.assembly-frame-items .assembly-row .row-price{font-size:9px}.assembly-frame-items .assembly-row .subline{font-size:7px}.fit-warning,.element-fit-notice{display:flex;gap:8px;border:1px solid #ead8b0;background:#fff8e8;color:#94713a;padding:11px;border-radius:8px;font-size:9px;line-height:1.6;margin-top:14px}.fit-warning[hidden]{display:none}.fit-warning>.icon,.element-fit-notice>.icon{width:15px;height:15px;margin-top:2px;flex-shrink:0}.fit-warning strong{display:block;font-size:10px;margin-bottom:4px;font-weight:650}.item-fit-warning{display:flex;gap:4px;font-size:8px;line-height:1.5;color:#a37d3c;margin-top:5px}.item-fit-warning .icon{width:11px;height:11px;margin-top:1px}.selected-mobile span.mobile-fit-warning{font-size:8px;color:#a37d3c;margin-top:4px}.bom-frame-heading td{background:#eff5e7;color:#547339;font-weight:650;border-top:1px solid #dce7ce;padding-top:10px;padding-bottom:10px}.bom-table small.bom-fit-warning{color:#97713a}.modal-fit-note{background:#fff7e5;border:1px solid #ebd7a9;border-radius:9px;padding:12px;color:#98743b;font-size:11px;line-height:1.7;margin:16px 0}.modal-fit-note strong{display:block;margin-bottom:4px}.modal-fit-note ul{padding-left:18px;margin:8px 0 0}.bom-table tbody{break-inside:avoid}.assembly-frame-heading:focus-visible{outline:2px solid #90b45c;outline-offset:-3px}
@media(max-width:1250px){.scene-frames{left:20px;right:20px;top:160px}.scene-frame-tabs button{padding:8px;font-size:9px}.assembly-frame-heading{padding-left:7px;padding-right:7px;gap:6px}.assembly-frame-items{padding-left:7px;padding-right:7px}.assembly-frame-items .assembly-row>img{width:25px}.assembly-frame-heading .frame-subtotal{font-size:9px}}
@media(max-width:1050px){.scene-frames{top:161px;left:22px;right:22px}.scene-frame-tabs button{min-height:36px;font-size:10px;padding:8px 11px}.scene-add-frame,.scene-focus-frame{width:36px;height:36px}.scene-frame-tabs{max-width:calc(100% - 82px)}.frame-selector .small-label{font-size:11px}.active-frame-controls select,.transfer-select{font-size:12px;height:41px}.active-frame-controls .icon-button{width:39px;height:41px}.frame-control-note{font-size:10px}.frame-in-set{font-size:10px}.assembly-frame-heading{padding:13px 11px;gap:10px}.assembly-frame-heading strong{font-size:13px}.assembly-frame-heading small{font-size:10px}.assembly-frame-heading .frame-subtotal{font-size:12px}.frame-number{height:30px;min-width:27px;font-size:12px}.assembly-frame-items{padding:0 12px 4px}.assembly-frame-items .assembly-row strong{font-size:12px}.assembly-frame-items .assembly-row .row-price{font-size:11px}.assembly-frame-items .assembly-row .subline{font-size:9px}.assembly-frame-items .assembly-row>img{width:37px;height:46px}.item-fit-warning{font-size:9px;line-height:1.5}.fit-warning,.element-fit-notice{font-size:10px}.fit-warning strong{font-size:11px}.frame-label{font-size:9px;padding:5px 7px}.frame-label .full-frame-name{display:none}.frame-label .short-frame-name{display:inline}}
@media(max-width:550px){.scene-frames{left:18px;right:18px;top:151px}.scene-frame-tabs{gap:3px}.scene-frame-tabs button{font-size:9px;padding:8px 9px}.scene-add-frame,.scene-focus-frame{width:34px;height:35px}.frame-selector{padding:11px}.frame-control-note{font-size:9px}.frame-in-set{font-size:8px}.assembly-frame-heading strong{font-size:12px}.assembly-frame-heading .frame-subtotal{font-size:11px}.assembly-frame-items .assembly-row strong{font-size:11px}.assembly-frame-items .assembly-row .row-price{font-size:10px}.assembly-frame-items .assembly-row .subline{font-size:8px}.modal-fit-note{font-size:10px;padding:10px}.summary-total .fit-note{line-height:1.5}}
@media print{body>*{display:none!important}#print-content{display:block!important;font-family:Arial,sans-serif;color:#000;padding:10mm}#print-content .eyebrow{color:#444}#print-content h1{font-size:25px;margin:8mm 0}#print-content p{font-size:11px;line-height:1.7}#print-content .bom-table{font-size:11px}#print-content .modal-note{color:#555}#print-content .modal-totals{margin-top:12mm}#print-content .modal-totals strong{font-size:24px}#print-content .modal-fit-note{color:#6d511c;background:#fff;border-color:#bba978;break-inside:avoid}#print-content .bom-table small.bom-fit-warning{color:#6d511c}@page{size:A4;margin:12mm}}

.frame-card+.frame-card{margin-top:16px}.draft-preview .app-header{border-top:4px solid #d89c32}a.text-button{text-decoration:none;color:inherit}[hidden]{display:none!important}
.vehicle-quick{gap:6px;max-width:170px}.vehicle-quick span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-quick .icon{width:18px;height:18px}.vehicle-picker{border:1px solid #dce4d3;border-radius:10px;padding:12px;background:#f6f8f1;margin-bottom:25px}.vehicle-picker .section-title{margin-bottom:10px}.vehicle-picker .step-number .icon{width:14px;height:14px}.vehicle-picker select,.vehicle-picker input{font:inherit;font-size:10px;width:100%;min-width:0;padding:9px 7px;border:1px solid #d8e1cc;background:#fff;border-radius:6px;color:#3d4e30;min-height:36px}.vehicle-spec{display:flex;flex-direction:column;gap:7px;margin:12px 0}.vehicle-spec>span{font-size:8px;text-transform:uppercase;letter-spacing:.5px;color:#87916f}.vehicle-spec strong{font-size:12px;color:#4b613b}.vehicle-spec small{font-size:9px;line-height:1.6;color:#7b876d}.vehicle-spec a{font-size:9px;color:#5d7c36;text-decoration:underline}.vehicle-placement{display:grid;grid-template-columns:1fr 1fr;gap:9px}.vehicle-placement label{font-size:9px;line-height:1.4;color:#7a886e;display:flex;flex-direction:column;gap:5px}.vehicle-placement label:first-child{grid-column:1/-1}.vehicle-picker .secondary-button{margin-top:12px;width:100%;font-size:10px;padding:9px;min-height:36px;gap:7px}.vehicle-note{font-size:8px;line-height:1.6;color:#929674;margin-top:10px}.vehicle-stage-label{position:absolute;top:82px;left:27px;right:65px;z-index:2;font-size:7px;letter-spacing:.6px;color:#889477;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.vehicle-fit{display:flex;align-items:flex-start;gap:8px;padding:11px;margin-top:14px;border:1px solid #dae4cc;border-radius:8px;background:#f4f7ed;color:#71835d;font-size:9px;line-height:1.6}.vehicle-fit .icon{width:15px;height:15px;flex-shrink:0;margin-top:2px}.vehicle-fit strong{display:block;font-size:9px;margin-bottom:4px}.vehicle-fit.vehicle-conflict{color:#98713a;background:#fff8e9;border-color:#ebd7ae}.vehicle-options{display:grid;gap:10px;margin:20px 0}.vehicle-option{width:100%;display:flex;gap:15px;align-items:center;text-align:left;background:#f6f8f1;border:1px solid #dce5d2;border-radius:10px;padding:17px}.vehicle-option:hover{background:#edf5df;border-color:#a4bf7c}.vehicle-option>span:nth-child(2){flex:1}.vehicle-option strong{display:block;font-size:13px;color:#35492a}.vehicle-option small{display:block;font-size:10px;color:#82936e;margin-top:6px}.vehicle-option b{display:block;font-size:11px;color:#647e4c;margin-top:8px}.vehicle-option-icon{display:grid;place-items:center;border-radius:9px;background:#e9efdf;width:50px;height:50px}.vehicle-option-icon .icon{width:31px;height:31px;color:#829b65}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mode-switch button{padding-left:8px;padding-right:8px;gap:5px;font-size:9px}
@media(max-width:1050px){.vehicle-picker select,.vehicle-picker input{font-size:12px;min-height:42px}.vehicle-placement label{font-size:10px}.vehicle-spec strong{font-size:14px}.vehicle-spec small,.vehicle-spec a{font-size:10px}.vehicle-note{font-size:9px}.vehicle-picker .secondary-button{font-size:12px;min-height:42px}.vehicle-fit{font-size:10px}.vehicle-fit strong{font-size:10px}.vehicle-quick{display:flex;max-width:145px;font-size:10px}.vehicle-stage-label{left:22px;top:81px}.vehicle-picker{padding:15px}.vehicle-picker .section-title h2{font-size:13px}}
@media(max-width:550px){.vehicle-quick{max-width:105px;font-size:9px;gap:4px}.vehicle-quick .icon{width:17px;height:17px}.vehicle-stage-label{top:75px;left:19px;font-size:6px;right:70px}.mode-switch button{padding:7px 6px;gap:4px;font-size:9px;min-height:35px}.mode-switch button .icon{width:13px;height:13px}.vehicle-option{padding:13px;gap:10px}.vehicle-option strong{font-size:12px}.vehicle-option small{font-size:9px}.vehicle-option-icon{width:39px;height:43px}.vehicle-option-icon .icon{width:25px;height:25px}.header-actions{gap:10px}.brand{gap:9px}}

.vehicle-visibility{display:flex;gap:3px;padding:3px;border:1px solid #d7e0cc;border-radius:7px;background:#eef2e6;margin:12px 0}.vehicle-visibility button{flex:1;padding:9px 5px;border-radius:5px;font-size:9px;color:#7b896d;min-height:35px}.vehicle-visibility button.active{background:#fff;color:#45622c;box-shadow:0 1px 4px #30451c12;font-weight:650}.vehicle-option-preview{width:115px;height:85px;object-fit:contain;border-radius:7px;background:#edf1e7}.vehicle-option:has(.vehicle-option-preview){gap:13px}@media(max-width:550px){.vehicle-option-preview{width:84px;height:76px}.vehicle-visibility button{font-size:10px;min-height:40px}}

.vehicle-active-frame{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:650;margin:14px 0 10px;color:#40572f}.vehicle-placement select#vehicle-side{font-weight:650}.vehicle-visibility{margin-bottom:8px}

.collision-banner{position:absolute;left:27px;right:24px;top:174px;z-index:4;padding:10px 13px;border:1px solid #e6a496;border-radius:8px;background:#fff1ecee;color:#a52f20;font-size:11px;font-weight:650;line-height:1.5;pointer-events:none;box-shadow:0 3px 12px #9e342214}.vehicle-visibility button{line-height:1.35}.vehicle-fit.vehicle-conflict{border-color:#e6aaa0;background:#fff3ef;color:#a23d2d}@media(max-width:550px){.collision-banner{left:16px;right:16px;top:174px;font-size:10px}}
.vehicle-magnet{margin-top:12px;padding:10px;border:1px solid #c8dcae;border-radius:7px;background:#edf5e2}.vehicle-magnet p{font-size:10px;line-height:1.5;color:#4c653a;margin:0}.vehicle-magnet .secondary-button{margin-top:8px;background:#fff}.vehicle-picker input:disabled{background:#e9eee2;color:#718063;opacity:1}.vehicle-swap{display:grid;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid #d9e1cd}.vehicle-swap label{font-size:10px;font-weight:650;color:#4c653a}.vehicle-swap small{font-size:9px;color:#7a886b;line-height:1.5}.vehicle-swap .secondary-button{margin:0}.scene-toolbar{gap:8px}.mode-switch{flex-wrap:wrap}.mode-switch button{white-space:nowrap}#scene{touch-action:none}.workspace:has(#pan-mode.active) #scene{cursor:grab}.workspace:has(#pan-mode.active) #scene:active{cursor:grabbing}
@media(max-width:550px){.pan-label-long{display:none}.vehicle-magnet p,.vehicle-swap label{font-size:11px}.vehicle-swap small{font-size:10px}}
.custom-vehicle-open{background:#eef6df;border-color:#bdd697!important;color:#3f5d2d!important}.custom-measure-guide{width:100%;height:auto;display:block;background:#f5f8f0;border:1px solid #e0e8d6;border-radius:10px;margin:16px 0 10px}.custom-measure-guide text{font:600 12px Inter,sans-serif;fill:#4c6737;text-anchor:middle}.custom-measure-guide .measure-heading{font-size:10px;letter-spacing:1px}.custom-measure-guide .measure-caption{font-size:8px;font-weight:500;fill:#7a8871}.measure-shell{fill:#fff;stroke:#819477;stroke-width:1.5}.measure-arch{fill:#d2ddc7;stroke:#819477;stroke-width:1}.measure-line{fill:none;stroke:#557b39;stroke-width:1}.measure-bulkhead{fill:none;stroke:#51673f;stroke-width:4}#custom-vehicle-form fieldset{border:0;border-top:1px solid #e2e8dc;margin:20px 0 0;padding:15px 0 0}#custom-vehicle-form legend{font-size:13px;font-weight:700;color:#405734;padding:0 10px 0 0}.custom-measure-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 18px}.custom-measure-field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#3d5033}.custom-measure-field>span{font-weight:600;line-height:1.4}.custom-measure-field b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:4px;margin-right:5px;background:#e4efd4;color:#597c35;font-size:10px}.custom-measure-field span small{color:#89947f;font-weight:400}.custom-measure-field>small,.custom-measure-note{font-size:10px;line-height:1.6;color:#7b8771}.custom-measure-field input,.custom-roof-choice select{width:100%;font:inherit;font-size:13px;border:1px solid #d3ddc7;border-radius:6px;background:white;color:#304728;padding:10px;min-height:42px}.custom-measure-field input:disabled{background:#edf1e7;color:#829075}.custom-roof-choice{display:grid;gap:8px;font-size:11px;margin:0 0 16px;color:#526b40}.custom-measure-note{margin:10px 0}.custom-measure-error{color:#b2402d;font-size:12px;line-height:1.5;margin:12px 0}#custom-vehicle-submit{width:100%;min-height:44px;font-size:12px}#modal:has(#custom-vehicle-form){width:min(760px,calc(100vw - 32px))}@media(max-width:550px){.custom-measure-grid{grid-template-columns:1fr;gap:13px}.custom-measure-field,.custom-roof-choice{font-size:12px}.custom-measure-field input{font-size:16px}.custom-measure-guide{min-height:150px}.custom-measure-field>small,.custom-measure-note{font-size:11px}#modal:has(#custom-vehicle-form){width:calc(100vw - 24px)}}
.vehicle-picker>#vehicle-database-open{width:100%;font-size:11px;min-height:42px}.vehicle-strong-notice{padding:13px 14px;background:#fff5e2;border:1px solid #e3c78c;border-radius:8px;color:#765421;margin:13px 0;font-size:11px;line-height:1.65}.vehicle-strong-notice strong{display:block;font-size:12px;margin-bottom:5px;color:#664716}.vehicle-picker .vehicle-strong-notice{padding:10px;font-size:9px}.vehicle-picker .vehicle-strong-notice strong{font-size:10px}.vehicle-stage-warning{position:absolute;z-index:5;left:24px;bottom:105px;max-width:min(370px,calc(100% - 48px));padding:10px 12px;background:#fff8e9f2;border:1px solid #e5cc96;border-radius:7px;color:#785a27;font-size:10px;line-height:1.6;box-shadow:0 3px 16px #3545230a}.vehicle-stage-warning summary{cursor:pointer;font-weight:650}.vehicle-stage-warning p{margin-top:9px;max-height:180px;overflow:auto}.vehicle-database-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin:20px 0}.vehicle-database-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#435c32;font-weight:600}.vehicle-database-grid select,.vehicle-database-grid input{font:inherit;font-weight:400;font-size:12px;min-height:42px;min-width:0;width:100%;border:1px solid #cfdcc0;background:#fff;border-radius:6px;color:#3d572e;padding:10px}.vehicle-database-grid :disabled{background:#eef2e7;color:#8a967d}.database-profile{display:flex;flex-direction:column;gap:7px;background:#f0f6e6;border:1px solid #d3e0bf;border-radius:8px;padding:15px;color:#3d552c;margin-top:15px}.database-profile strong{font-size:15px}.database-profile span,.database-profile small{font-size:10px;line-height:1.6;color:#78866b}.database-profile b{font-size:19px;margin-top:4px}.database-quality{font-size:11px;line-height:1.6;color:#6a785c;padding:12px 0}.database-quality strong{color:#4b6538}.database-quality p{margin-top:7px}.database-sources{font-size:10px;line-height:1.65;margin:12px 0;color:#6e7f5d}.database-sources summary{cursor:pointer;font-weight:650;color:#4d6b36}.database-sources p{margin-top:10px}.database-sources a{text-decoration:underline;color:#557738}.database-sources small{display:block;margin-top:4px;color:#829273}.database-missing{padding:15px;background:#fff5e4;border:1px solid #e8d1a1;border-radius:6px;font-size:12px;line-height:1.6;color:#8a6733}#vehicle-db-submit{width:100%;min-height:44px;font-size:12px;margin-top:16px}#vehicle-database-form>.text-button{display:flex;margin:12px auto 0;font-size:11px}#modal:has(#vehicle-database-form){width:min(760px,calc(100vw - 32px))}.modal-fit-note .vehicle-strong-notice{font-size:11px}@media(max-width:550px){.vehicle-database-grid{grid-template-columns:1fr;gap:12px}.vehicle-database-grid label{font-size:12px}.vehicle-database-grid input,.vehicle-database-grid select{font-size:16px}.vehicle-stage-warning{left:18px;bottom:120px;max-width:calc(100% - 36px);padding:8px 10px;font-size:9px}.vehicle-picker .vehicle-strong-notice{font-size:11px}.vehicle-picker .vehicle-strong-notice strong{font-size:12px}#modal:has(#vehicle-database-form){width:calc(100vw - 24px)}}
@media(max-width:1050px){.workspace:has(#selected-mobile[style*="flex"]) .vehicle-stage-warning{bottom:218px}}

.vehicle-generation-field{grid-column:1/-1}.measure-reference{fill:none;stroke:#a2ad99;stroke-width:1;stroke-dasharray:4 3}.custom-measure-guide{height:auto;max-height:none}.vehicle-stage-warning{z-index:3}.workspace:has(#preview-prompt:not([hidden])) .vehicle-stage-warning{bottom:225px}.vehicle-database-grid select{max-width:100%;text-overflow:ellipsis}
@media(max-width:1050px){.workspace:has(#preview-prompt:not([hidden])) .vehicle-stage-warning{bottom:220px}}

/* Controls and notices live outside the model viewport. */
.workspace{display:grid;grid-template-rows:minmax(0,1fr) auto auto}.scene-viewport{position:relative;min-width:0;min-height:0;overflow:hidden}.scene-bottom-panel{position:relative;z-index:4;border-top:1px solid var(--line);background:#f7f8f4;padding:9px 16px}.scene-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.scene-bottom-panel .vehicle-stage-warning{position:static;inset:auto;max-width:none;flex:1;margin:0;padding:7px 10px;font-size:10px;border-radius:6px;box-shadow:none}.scene-bottom-panel .vehicle-stage-warning p{max-width:700px;max-height:130px;overflow:auto}.scene-bottom-panel .preview-prompt{position:static;inset:auto;transform:none;box-shadow:none;border:0;background:none;padding:0;gap:8px;white-space:normal;flex-shrink:0}.scene-bottom-panel .preview-prompt>span{display:none}.scene-bottom-panel .preview-prompt .primary-button{min-height:40px;padding:9px 14px;font-size:11px}.scene-bottom-panel .collision-banner{position:static;inset:auto;transform:none;margin:8px 0 0;width:auto;max-width:none;max-height:100px;overflow:auto}.workspace>.scene-footer{position:static;min-height:34px;padding:8px 16px}.scene-viewport .view-controls{bottom:12px}.scene-viewport .scene-size{bottom:20px}.scene-viewport .selected-mobile{bottom:64px}@media(max-width:650px){.scene-action-row{flex-direction:column;align-items:stretch;gap:7px}.scene-bottom-panel{padding:7px 12px}.scene-bottom-panel .vehicle-stage-warning{font-size:10px;padding:6px 9px}.scene-bottom-panel .preview-prompt{display:flex;justify-content:stretch}.scene-bottom-panel .preview-prompt[hidden]{display:none}.scene-bottom-panel .preview-prompt .primary-button{width:100%;min-height:39px}.workspace>.scene-footer{min-height:29px;padding:6px 12px}.workspace>.scene-footer .scene-hint{font-size:8px}.scene-viewport .view-controls{right:12px;bottom:10px}.scene-viewport .scene-size{left:14px;bottom:58px;font-size:11px}}

#vehicle-magnet-snap{margin-top:6px;min-height:36px;font-size:11px;text-decoration:underline}

.measure-door{fill:none;stroke:#378b9b;stroke-width:5;stroke-linecap:round}

/* Responsive measured illustrations: each view keeps readable labels. */
.cargo-measurements{margin:16px 0 10px;border:1px solid #dce4dc;border-radius:12px;overflow:hidden;background:#f5f7f4}.cargo-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#dce4dc}.cargo-guide-card{margin:0;min-width:0;background:#f8faf7;padding:14px 9px 9px}.cargo-guide-card figcaption{font-size:12px;font-weight:750;color:#2f453d;padding:0 6px;line-height:1.4}.cargo-guide-card figcaption span{display:block;font-size:10px;font-weight:450;color:#697a74;margin-top:2px}.cargo-guide-svg{display:block;width:100%;height:auto;overflow:visible}.cargo-guide-svg text{font:600 14px Inter,Arial,sans-serif;fill:#314a40;text-anchor:middle}.cargo-guide-svg .cargo-small{font-size:11px;font-weight:600;fill:#53675f;paint-order:stroke;stroke:#f8faf7;stroke-width:3px;stroke-linejoin:round}.cargo-metal{stroke:#7e959c;stroke-width:1.5}.cargo-outer{fill:#c9d4d8;stroke:#92a6ac;stroke-width:1.4}.cargo-section{stroke-width:5;stroke-linejoin:round}.cargo-housing{stroke:#7c939d;stroke-width:1.3}.cargo-floor-rib{fill:none;stroke:#fff;stroke-opacity:.8;stroke-width:1.5}.cargo-panel-rib{fill:none;stroke:#acbcc3;stroke-width:3;stroke-linecap:round;opacity:.5}.cargo-bulkhead{fill:none;stroke:#3c5963;stroke-width:5;stroke-linejoin:round}.cargo-floor-edge{fill:none;stroke:#617d87;stroke-width:5}.cargo-rear-seal{stroke:#60767d;stroke-width:4}.cargo-dimension{fill:none;stroke:#496936;stroke-width:1.2}.cargo-extension{fill:none;stroke:#94a58d;stroke-width:.8;stroke-dasharray:3 2}.cargo-reference{fill:none;stroke:#809c9e;stroke-width:1.1;stroke-dasharray:5 4}.cargo-badge circle{fill:#edf5e1;stroke:#6d8b4e;stroke-width:1}.cargo-badge text{font-size:14px;font-weight:800;fill:#334e24}.cargo-blue circle{fill:#e7f4f7;stroke:#418b99}.cargo-blue text{fill:#236b7a}.cargo-orange circle{fill:#fff2da;stroke:#ad782e}.cargo-orange text{fill:#714a17}.cargo-bulkhead.cargo-orange{stroke:#af762e}.cargo-profile-point{fill:#9d6d29;stroke:#fff;stroke-width:1.3}.cargo-door-opening{stroke:#3b90a1;stroke-width:5;stroke-linecap:round}.cargo-guide-svg .cargo-door-text{fill:#276f7d;font-size:10px}.cargo-profile-values{margin:0 5px 6px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.cargo-profile-values>div{display:flex;align-items:flex-start;gap:5px;min-width:0}.cargo-profile-values dt{font-weight:800;color:#8b5c24;font-size:12px}.cargo-profile-values dd{margin:0;font-size:12px;color:#344b43;font-weight:700;white-space:nowrap}.cargo-profile-values small{display:block;font-size:9px;font-weight:450;white-space:normal;line-height:1.5;color:#68776f}.cargo-guide-note{font-size:10px;line-height:1.6;color:#60736a;padding:12px 15px;margin:0;background:#f1f5ec}@media(max-width:590px){.cargo-guide-grid{grid-template-columns:1fr}.cargo-guide-card{padding:14px 12px 10px}.cargo-guide-card figcaption{font-size:13px}.cargo-guide-card figcaption span,.cargo-guide-note{font-size:11px}.cargo-profile-values dd{font-size:13px}.cargo-profile-values small{font-size:10px}}
.database-approx-note{font-size:11px;line-height:1.6;color:#785a2f;padding:11px 13px;background:#fff8e9;border:1px solid #e5d4ab;border-radius:7px;margin:12px 0}.database-approx-note strong{font-weight:750}
/* Compact catalogue steps: controls stay available without covering products. */
.compact-vehicle-picker{padding:0!important;margin-bottom:10px;overflow:hidden}.catalog-section>summary{list-style:none;cursor:pointer}.catalog-section>summary::-webkit-details-marker{display:none}.catalog-section-heading{display:flex;align-items:center;gap:9px;min-height:56px;padding:10px 11px;user-select:none}.catalog-section-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.catalog-section-text strong{font-size:12px;font-weight:700;color:#304331;line-height:1.35}.catalog-section-text small{font-size:9px;color:#738268;font-weight:400;line-height:1.45;overflow-wrap:anywhere}.catalog-chevron{width:15px;height:15px;flex-shrink:0;color:#758966;transition:transform .15s}.catalog-section[open]>.catalog-section-heading .catalog-chevron{transform:rotate(180deg)}.catalog-section[open]>.catalog-section-heading{border-bottom:1px solid #e0e7d8;background:#eff5e7}.catalog-section>summary:focus-visible,.vehicle-subsection>summary:focus-visible{outline:2px solid #84a65c;outline-offset:-3px;border-radius:7px}.catalog-section-body{padding:10px}.vehicle-picker-actions>.primary-button{width:100%;min-height:40px;font-size:11px}.vehicle-picker-actions>.secondary-button{margin-top:8px}.vehicle-compact-note{font-size:9px;line-height:1.55;color:#7a602c;margin:0;padding:8px 11px;border-top:1px solid #e8ddbf;background:#fff9eb}.vehicle-subsection{margin-top:9px;border:1px solid #dfe6d7;border-radius:7px;background:#fbfcf8}.vehicle-subsection>summary{cursor:pointer;font-size:11px;font-weight:650;line-height:1.4;padding:11px 9px;color:#435d34;min-height:40px}.vehicle-subsection-body{padding:0 10px 9px}.vehicle-subsection .vehicle-spec{margin-top:5px}.vehicle-subsection .vehicle-strong-notice{margin:0;padding:9px}.vehicle-subsection .database-sources{margin-bottom:0}.catalog-product-section{margin:0 0 10px;border:1px solid #dce4d3;border-radius:9px;overflow:hidden;background:#fff}.catalog-product-section>.catalog-section-body{padding:0 10px 10px}.catalog-product-section .frame-card{margin-top:10px}.catalog-product-section .frame-selector{margin-top:12px}.catalog-product-section .equipment-card:first-child{margin-top:10px}.catalog-product-section .equipment-card:last-child{margin-bottom:0}.catalog-panel .catalog-note{padding-top:4px;margin-top:4px}.compact-vehicle-picker [data-no-vehicle]{font-size:10px;margin:10px 0 0;min-height:36px}.compact-vehicle-picker .vehicle-visibility{margin-top:10px}@media(max-width:1050px){.catalog-section-heading{min-height:61px;padding:11px 12px}.catalog-section-text strong{font-size:13px}.catalog-section-text small{font-size:10px}.vehicle-compact-note{font-size:10px;padding:7px 12px}.vehicle-subsection>summary{min-height:44px;font-size:12px}.vehicle-picker-actions>.primary-button{font-size:12px;min-height:42px}.catalog-panel .panel-heading h1{font-size:25px}.catalog-panel .panel-heading p{margin-top:8px}.catalog-panel .catalog-scroll{padding-top:14px}.catalog-product-section>.catalog-section-body{padding-left:10px;padding-right:10px}}
/* Price-list equipment groups remain compact until the customer opens one. */
.equipment-category{border:1px solid #dfe7d6;border-radius:7px;margin-top:9px;overflow:hidden;background:#fafcf7}.equipment-category>summary{list-style:none;cursor:pointer;min-height:43px;padding:10px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650;color:#3d5730}.equipment-category>summary::-webkit-details-marker{display:none}.equipment-category>summary>span:first-child{flex:1;line-height:1.4}.equipment-category-count{font-size:10px;font-weight:600;display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:5px;background:#eaf1e0;color:#506b3e}.equipment-category>summary>.icon{width:14px;height:14px;color:#81916f;flex-shrink:0}.equipment-category[open]>summary{background:#edf4e4;border-bottom:1px solid #dfe7d6}.equipment-category[open]>summary>.icon{transform:rotate(180deg)}.equipment-category>summary:focus-visible{outline:2px solid #84a65c;outline-offset:-3px;border-radius:6px}.equipment-category-products{padding:0 8px 8px}.equipment-category-products .equipment-card{margin-top:8px!important;border-radius:6px}.equipment-category-products .equipment-card:last-child{margin-bottom:0}.equipment-category-empty{font-size:10px;line-height:1.65;color:#74836a;padding:12px 3px 5px;margin:0}.equipment-category.is-empty>summary{color:#718065}.equipment-category.is-empty .equipment-category-count{background:#eef1e9;color:#819078}@media(max-width:1050px){.equipment-category>summary{font-size:12px;min-height:46px;padding:11px}.equipment-category-count{font-size:11px;min-width:24px;height:24px}.equipment-category-empty{font-size:11px}}

/* Fit warnings must be readable in the product list and on phones. */
.item-fit-warning,
.selected-mobile span.mobile-fit-warning {
  font-size: 12px;
  line-height: 1.5;
  color: #725221;
}
.item-fit-warning .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.fit-warning,
.fit-warning strong,
.element-fit-notice,
.vehicle-fit.vehicle-conflict,
.vehicle-fit.vehicle-conflict strong,
.scene-bottom-panel .collision-banner {
  font-size: 13px;
  line-height: 1.5;
}

.frame-sort{margin:4px 0 10px}

.vehicle-fit.vehicle-conflict,
.vehicle-fit.vehicle-conflict strong{font-size:15px;line-height:1.5}
.assembly-frame-items .assembly-row strong,
.assembly-frame-items .assembly-row .row-price{font-size:13px}
.assembly-frame-items .assembly-row .subline{font-size:11px;color:#65745b}
.vehicle-magnet #vehicle-align-fronts{margin-top:8px}
.assembly-frame-heading strong,.assembly-frame-heading .frame-subtotal{font-size:14px}
.assembly-frame-heading small{font-size:11px}

.summary-scroll>.compact-vehicle-picker{margin-top:12px}
.summary-section{margin-top:12px}
.summary-section .assembly-list{margin-top:0}
.summary-section .position-editor{margin:0}
.frame-order-controls{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.frame-order-controls .small-label{flex-basis:100%}
.bom-product{display:flex;align-items:center;gap:9px}
.bom-thumbnail{width:50px;height:50px;object-fit:contain;flex-shrink:0}
@media print{
  .bom-table tr{break-inside:avoid}
  .bom-thumbnail{width:15mm;height:15mm}
}

.frame-visual{
  flex-direction:column;
  gap:6px;
  padding:8px;
}
.frame-badges{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  align-self:stretch;
  flex-shrink:0;
}
.frame-visual .frame-badge{
  position:static;
  align-self:flex-start;
  flex-shrink:0;
  max-width:100%;
  font-size:10px;
  line-height:1.2;
}
.frame-visual img{
  flex:1 1 auto;
  min-height:0;
  max-width:min(100%,155px);
}
.frame-category .frame-card:first-child{margin-top:8px}
.frame-category .frame-card:last-child{margin-bottom:0}

.scene-context-menu{
  position:fixed;z-index:90;padding:5px;min-width:140px;
  background:#fff;border:1px solid #d8e1d1;border-radius:8px;
  box-shadow:0 6px 20px #26351528;
}
.scene-context-menu button{
  display:block;width:100%;padding:11px 12px;border-radius:5px;
  color:#a13d2a;font-size:13px;text-align:left;
}
.scene-context-menu button:hover,.scene-context-menu button:focus-visible{background:#fff0eb}

/* Keep the canvas dimensions stable when collision feedback comes and goes. */
.collision-lane{height:60px;margin-top:6px;overflow:auto;scrollbar-width:thin}
.scene-bottom-panel .collision-lane .collision-banner{
  position:static;margin:0;padding:6px 10px;
  pointer-events:auto;box-shadow:none;
}
.collision-lane :is(.vehicle-fit,.fit-warning){margin:0;padding:6px 10px;line-height:1.4}
.collision-lane .fit-warning p{line-height:inherit}
.collision-lane .fit-warning strong{display:inline;margin-right:.4em}
.collision-lane :is(.collision-banner,.vehicle-fit):not([hidden]) ~ .fit-warning:not([hidden]){
  margin-top:4px;
}

.project-mobile-slot{display:contents}
.desktop-project-bar{display:none}
@media(min-width:1051px){
  .desktop-project-bar{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    height:64px;padding:0 clamp(16px,2vw,28px);background:#fff;
    border-bottom:1px solid var(--line);
  }
  .app-layout{height:calc(100dvh - 152px);min-height:0}
  .summary-panel{padding-top:4px}
  #desktop-project-actions .summary-total,#desktop-project-finish{
    display:flex;align-items:center;gap:clamp(8px,1vw,16px);padding:0;border:0;
  }
  #desktop-project-actions .weight-row{margin:0;gap:5px;white-space:nowrap}
  #desktop-project-actions .price-row{display:flex;align-items:baseline;gap:7px;white-space:nowrap}
  #desktop-project-actions .price-row strong{font-size:20px;line-height:1}
  #desktop-project-actions .price-row small{display:inline}
  #desktop-project-actions .price-date{margin:4px 0 0;text-align:left}
  #desktop-project-actions .primary-button{width:auto;min-height:36px;margin:0;padding:7px 10px;white-space:nowrap}
  #desktop-project-actions .project-actions{margin:0;gap:10px;white-space:nowrap}
  #desktop-project-actions .fit-note{display:none}
  #desktop-project-finish .summary-heading{padding:0;white-space:nowrap}
  #desktop-project-finish .summary-heading h2{font-size:15px}
  #desktop-project-finish .finish-section{padding:0;border:0}
  #desktop-project-finish .finish-section>.small-label{margin:0 0 3px}
  #desktop-project-finish .finish-options{gap:5px}
  #desktop-project-finish .finish-options button{
    flex-direction:row;justify-content:center;gap:5px;min-height:27px;padding:4px 6px;
  }
  #desktop-project-finish .finish-swatch{width:19px;height:14px}

}
@media(min-width:1051px) and (max-height:850px){
  .app-layout{height:calc(100dvh - 138px)}
}

@media(min-width:1051px){
  #desktop-project-finish{flex:1;min-width:0;justify-content:space-between}
  #desktop-project-finish .finish-section{order:-1;margin-inline-start:clamp(6px,3vw,58px)}
  .scene-viewport{container-type:inline-size}
  .scene-toolbar,.scene-frames{justify-content:center}
  .scene-toolbar>#reset-view{position:absolute;right:0}
  .scene-toolbar .mode-switch{margin-right:44px}
  @container (min-width:1000px){
    .scene-toolbar{top:18px}
    .scene-frames{top:71px;left:27%;right:27%}
  }
}
@media(min-width:1051px) and (max-width:1250px){
  #desktop-project-finish .finish-section{margin-inline-start:0}
}

.scene-viewport:has(#vehicle-mode.active) .frame-label{pointer-events:none}

@media(min-width:1051px){
  .scene-toolbar .mode-switch{margin-right:0}
  .scene-frames{
    top:172px;left:10px;right:auto;bottom:76px;max-width:95px;
    flex-direction:column;justify-content:flex-start;align-items:flex-start;
    gap:8px;pointer-events:none;
  }
  .scene-frame-tabs{
    flex-direction:column;gap:7px;max-width:100%;min-height:0;
    overflow-x:hidden;overflow-y:auto;padding:0 3px 1px 0;pointer-events:auto;
  }
  .scene-frames>.scene-add-frame,.scene-frames>.scene-focus-frame{pointer-events:auto;flex-shrink:0}
  @container (min-width:1000px){
    .scene-frames{top:109px}
    .scene-toolbar>#reset-view{top:110px}
  }
}

@media(min-width:1051px){
  .scene-toolbar{top:8px}
  .scene-toolbar>#reset-view{top:118px}
  @container (width < 1000px){
    .workspace-header{top:60px}
    .vehicle-stage-label{top:110px}
  }
}

.finish-section>.small-label{font-size:13px;font-weight:650;color:#33492e;text-align:center}
.finish-options button{font-size:12px;color:#2c3e29}

@media(min-width:1051px){
  .desktop-project-bar{height:82px}
  .app-layout{height:calc(100dvh - 170px)}
  #desktop-project-finish .finish-options button{
    font-size:12px;min-height:31px;padding:5px 7px;
  }

}
@media(min-width:1051px) and (max-height:850px){
  .app-layout{height:calc(100dvh - 156px)}
}

@media(min-width:1051px){
  body{--compact-header:54px;--project-bar-height:70px}
  .app-header{height:var(--compact-header);gap:10px}
  .app-header .brand img{width:34px;height:39px}
  .brand small{margin-top:3px}
  .app-header .header-actions .secondary-button{min-height:36px;padding:6px 10px}
  .desktop-project-bar{height:var(--project-bar-height)}
  .app-layout{height:calc(100dvh - var(--compact-header) - var(--project-bar-height))}
  #desktop-project-finish .finish-options button{min-height:26px;padding-block:3px}

}
@media(min-width:1500px){
  body{--project-bar-height:56px}

}

.order-form fieldset{margin:0 0 16px;padding:12px 14px;border:1px solid var(--line,#dce3d7);border-radius:10px}
.order-form legend{padding:0 6px;font-weight:700}
.order-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.order-form label{display:grid;gap:5px;font-size:14px}
.order-form input:not([type=checkbox]),.order-form textarea{width:100%;min-width:0;border:1px solid #c9d5c1;border-radius:6px;padding:10px;font:inherit}
.order-form .order-check{display:flex;align-items:center;gap:8px;margin:0 0 16px}
#order-feedback:not(:empty){padding:10px 12px;background:#f3f6ec;border-radius:6px}
.cargo-input label{display:flex;align-items:center;gap:2px;width:100%;height:26px;padding:0 3px;background:#f8fbf5;border:1px solid #6c835f;border-radius:5px;color:#36522c;font:700 12px Inter,Arial,sans-serif;box-sizing:border-box}
.cargo-input input{width:100%;min-width:0;height:22px;padding:0 1px;border:0;background:transparent;color:inherit;font:700 13px Inter,Arial,sans-serif;appearance:textfield;-moz-appearance:textfield}
.cargo-input input::-webkit-inner-spin-button,.cargo-input input::-webkit-outer-spin-button{appearance:none;margin:0}
.cargo-input label:focus-within{outline:2px solid #527d37;outline-offset:-2px}
.cargo-input.cargo-orange label{border-color:#b78337;color:#704811}
.cargo-input.cargo-blue label{border-color:#6294a0;color:#255b69}
.cargo-input input:disabled{opacity:.55;cursor:not-allowed}

.cargo-input input{text-align:center}
.cargo-door-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:8px;margin:0 0 6px}
.cargo-door-inputs label{display:grid;gap:4px;font-size:12px;color:#28545d}
.cargo-door-inputs input{box-sizing:border-box;width:100%;min-width:0;padding:5px;border:1px solid #6294a0;border-radius:5px;background:#f8fbf5;font:inherit;color:#255b69}

.scene-frames>.scene-clearance{pointer-events:auto;flex-shrink:0;padding:6px 8px;background:#fff;border:1px solid #dce4d3;border-radius:7px;color:#33492e;font-size:10px;min-height:32px}
.scene-frames>.scene-clearance[aria-pressed="true"]{background:#dff0c1;border-color:#8ca96a}
#clearance-overlay{position:absolute;inset:0;pointer-events:none;z-index:2}
#clearance-svg{width:100%;height:100%;display:block}
#clearance-svg path{fill:none;stroke:#baf561;stroke-width:2;filter:drop-shadow(0 0 1px #233720)}
#clearance-svg text{fill:#233720;stroke:#f2f7eb;stroke-width:4;paint-order:stroke;stroke-linejoin:round;font-size:12px;font-weight:700}
#clearance-empty{position:absolute;bottom:80px;left:50%;transform:translateX(-50%);background:#fff;border:1px solid #dce4d3;padding:6px 9px;border-radius:7px;font-size:12px;text-align:center}
