.crate-page{width:100vw;margin-left:calc(50% - 50vw);color:#28352c;background:#fff;font:16px/1.45 Arial,sans-serif;--orange:#fe9b00;--line:#dce5de;--muted:#6b786f}.crate-page *{box-sizing:border-box}.crate-page .box-shell{width:min(1240px,calc(100% - 32px));margin:auto}.crate-page [hidden]{display:none!important}.cr-intro{text-align:center;padding:26px 0}.cr-intro h1{font-size:36px;line-height:1.2;margin:5px 0 10px}.cr-intro>p:last-child{max-width:820px;margin:0 auto;color:#5d6c62}.cr-kicker{text-transform:uppercase;font-size:12px;letter-spacing:.07em;color:#9d6000;margin:0}.cr-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;background:#edf2ee;border-radius:14px;padding:10px;margin:0 0 24px;scroll-margin-top:110px}.cr-steps button{display:flex;gap:8px;align-items:center;text-align:left;border:0;border-radius:9px;background:transparent;padding:12px 9px;color:#69796e;font:14px Arial;cursor:pointer}.cr-steps button span{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border:1px solid #dbe4dd;border-radius:50%;background:#fff9}.cr-steps .is-active{background:#fff;color:#25352a;font-weight:700;box-shadow:0 3px 12px #243c2b0a}.cr-steps .is-active span{background:#f29500;color:#fff;border-color:#f29500}.cr-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.85fr);gap:24px;align-items:start}.cr-panel{min-width:0;border:1px solid var(--line);border-radius:14px;padding:26px;background:#fff}.cr-config{min-height:390px}.crate-page h2{font-size:23px;line-height:1.25;margin:0 0 12px}.crate-page h2 small{font-size:13px;font-weight:400;color:var(--muted)}.cr-muted{font-size:14px;color:var(--muted)}#cr-progress{font-size:13px;color:var(--muted);margin:0 0 20px}.cr-materials{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.cr-materials label{position:relative;border:2px solid #e3e7e1;background:#f5f5f1;border-radius:10px;overflow:hidden;cursor:pointer}.cr-materials input{position:absolute;left:12px;top:12px;accent-color:#e98b00;width:18px;height:18px}.cr-materials img{width:100%;height:150px;object-fit:cover;display:block}.cr-materials strong{display:block;padding:14px}.cr-materials label:has(:checked){border-color:var(--orange)}.cr-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cr-fields label,.cr-field,.cr-admin label{display:grid;gap:7px;font-size:14px;font-weight:700}.crate-page input[type=number],.crate-page input[type=text],.crate-page textarea,.crate-page select{width:100%;min-width:0;min-height:45px;border:1px solid #bdc8bf;border-radius:6px;padding:10px;font:16px Arial;background:#fff;color:#26382b}.crate-page input:focus-visible,.crate-page textarea:focus-visible,.crate-page button:focus-visible,.crate-page a:focus-visible,.crate-page select:focus-visible{outline:2px solid #ed9900;outline-offset:2px}.cr-mode{border:0;padding:0;display:flex;gap:20px;margin:20px 0}.cr-mode legend{font-size:13px;color:var(--muted);padding:0 0 8px}.cr-mode label{display:flex;gap:8px;align-items:center}.cr-mode input,.cr-check input{accent-color:#ec9200;width:18px;height:18px}.cr-small-field{max-width:220px;margin:18px 0}.cr-field textarea{resize:vertical}.cr-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:20px;border-top:1px solid var(--line);margin-top:25px}.crate-page button:not(.box-button),.cr-controls>a{cursor:pointer}.cr-controls>button:not(.box-button),.cr-editor-actions button,.cr-quantity-presets button,#cr-remove{border:1px solid #cfdad2;border-radius:6px;padding:10px 13px;background:#fff;color:#3c5141;font:14px Arial}.crate-page .box-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 20px;background:#fe9b00;border:0;border-radius:6px;color:#202b22!important;font:700 16px Arial;text-decoration:none!important;cursor:pointer}.crate-page .box-button:hover{background:#ed9100}.crate-page .box-button-secondary{background:#fff;border:1px solid #d1dbd4}.crate-page button:disabled{opacity:.45;cursor:default}.cr-controls .box-button{margin-left:auto}.cr-actions{display:flex;gap:15px;justify-content:space-between;flex-wrap:wrap;margin-top:25px}.cr-check{display:flex;gap:10px;align-items:flex-start;margin:22px 0}.cr-check input{flex:0 0 18px;margin:3px 0}.cr-quantity-presets{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.cr-quantity-presets .is-active{background:#fff1d6!important;border-color:#ed9900!important}.cr-preview{position:sticky;top:15px}.cr-preview>h2{font-size:19px}#cr-preview{height:290px;background:linear-gradient(155deg,#fffdf9,#f0f3ef);border-radius:10px;overflow:hidden}#cr-preview svg{display:block;width:100%;height:100%}.cr-preview-hint{text-align:center;font-size:12px}.cr-preview dl,#cr-review dl{display:grid;grid-template-columns:1fr auto;gap:8px 14px;font-size:14px}.cr-preview dt,#cr-review dt{color:var(--muted)}.cr-preview dd,#cr-review dd{margin:0;font-weight:700;text-align:right;overflow-wrap:anywhere}.cr-price,.cr-review-total{display:grid;gap:5px;padding:16px;border-radius:9px;background:#fff4df;margin-top:20px}.cr-price strong,.cr-review-total{font-size:27px;font-weight:700}.cr-price small,.cr-price>span{font-size:13px;color:#6b786f}.cr-error{padding:12px;background:#fff0eb;color:#982e19;border-radius:7px;font-size:14px}.cr-production{font-size:12px;margin-top:22px}.cr-production summary{cursor:pointer}.cr-production button{padding:8px;margin:8px 5px 0 0}.cr-production svg{width:100%;height:auto;border:1px solid #eee;margin-top:12px}.cr-admin{padding:16px;border:1px dashed #c68b2a;border-radius:10px;margin:0 0 20px;background:#fffaf0;font-size:14px}.cr-admin summary{cursor:pointer;font-weight:700}.cr-admin form{display:flex;align-items:end;gap:15px;flex-wrap:wrap}.cr-admin label{max-width:220px}.cr-request{padding:55px 0;scroll-margin-top:110px}.cr-request form>.cr-fields{grid-template-columns:1fr 1fr}.cr-request .cr-field{margin-top:18px}.cr-trap{position:absolute;left:-10000px}.cr-editor-toolbar{display:flex;justify-content:space-between;gap:16px;margin:0 0 20px;font-size:14px}.cr-editor-actions{display:flex;gap:10px;flex-wrap:wrap}.cr-plan-wrap{margin-top:16px;background:#f6f8f5;border-radius:9px;overflow:hidden}.cr-plan-wrap svg{display:block;width:100%;max-height:450px;min-height:230px;touch-action:none}.cr-partition{cursor:grab}.cr-partition:focus{outline:none;stroke:#ffa000;stroke-width:2}.cr-partition text{pointer-events:none}.cr-selected-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 16px}.cr-selected-title h2{margin:0;font-size:19px}.cr-editor-layout{grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr)}#cr-partition-summary{padding:14px;background:#f6f8f5;border-radius:8px;margin:20px 0}#cr-partition-summary svg{width:100%;max-height:220px}#cr-review .cr-edit{border:0;background:none;padding:0;text-decoration:underline;color:#8c5d10;font-size:13px;margin-bottom:15px;cursor:pointer}
@media(max-width:950px){.cr-layout,.cr-editor-layout{grid-template-columns:1fr}.cr-preview{position:static}.cr-steps button{font-size:11px;flex-direction:column;text-align:center;padding:10px 4px}.cr-preview #cr-preview{height:310px}.cr-fields{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.crate-page .box-shell{width:calc(100% - 24px)}.cr-intro h1{font-size:29px}.cr-intro{padding:20px 0}.cr-intro p{font-size:14px}.cr-steps{padding:6px;gap:1px;margin-bottom:16px}.cr-steps button{font-size:9px;gap:6px;min-width:0}.cr-steps button span{width:25px;height:25px;flex-basis:25px;font-size:13px}.cr-panel{padding:18px}.cr-fields,.cr-request form>.cr-fields{grid-template-columns:1fr}.cr-materials img{height:110px}.cr-config{min-height:0}.cr-controls{flex-wrap:wrap}.cr-controls>.box-button{font-size:14px}.cr-editor-toolbar{flex-direction:column}.cr-editor-actions button{font-size:12px;padding:9px}.cr-selected-title{align-items:flex-start;flex-direction:column}.cr-preview dl,#cr-review dl{font-size:13px}.cr-price strong{font-size:24px}}
.cr-partition{pointer-events:bounding-box}

.cr-inline-editor .cr-plan-wrap svg{max-height:360px;min-height:220px}.cr-inline-editor .cr-editor-actions{margin-top:18px}.cr-inline-editor .cr-selected-title{margin-top:18px}.cr-inline-editor .cr-fields{grid-template-columns:1.2fr 1fr 1fr}@media(max-width:560px){.cr-inline-editor .cr-fields{grid-template-columns:1fr}}

.cr-cell-dim{fill:#78847b;font-family:Arial,sans-serif;font-weight:400;stroke:#fdfbf6;stroke-width:1.5px;paint-order:stroke fill;pointer-events:none}.cr-opening-dimensions{pointer-events:none}

.cr-editor-actions .cr-tool-icon{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;padding:8px;flex:0 0 39px}.cr-tool-icon svg{width:22px;height:22px;display:block}.cr-editor-actions .cr-tool-icon[aria-pressed="true"]{background:#fff0cf;border-color:#e49300;color:#8e5600;box-shadow:0 0 0 1px #e4930040}.crate-page[data-partition-tool="knife"] .cr-partition{cursor:crosshair}.crate-page[data-partition-tool="eraser"] .cr-partition{cursor:pointer}.crate-page[data-partition-tool="knife"] .cr-partition:hover rect,.crate-page[data-partition-tool="eraser"] .cr-partition:hover rect{fill:#d78568}
