
    .front-editor .text-direction-popup{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#000a}
    .front-editor .text-direction-popup[hidden]{display:none}
    .front-editor .text-direction-card{width:min(360px,100%);padding:20px;border:1px solid #80633d;border-radius:12px;background:#1b1e1b;box-shadow:0 18px 50px #000b;text-align:center}
    .front-editor .text-direction-card>b{display:block;font-size:18px;color:#f0c484}
    .front-editor .text-direction-card p{margin:7px 0 16px;color:var(--muted);font-size:13px}
    .front-editor .text-direction-card>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
    .front-editor .text-direction-card button{padding:10px;border:1px solid #80633d;border-radius:8px;background:#34291c;color:var(--text);cursor:pointer}
    .front-editor .text-direction-card button:hover{background:#5a4328}
    .front-editor .text-direction-card .text-direction-cancel{margin-top:12px;background:transparent;border-color:#4a4e49;color:var(--muted)}
  

    :root{color-scheme:dark;--bg:#0d0e0e;--panel:#151717;--panel2:#1c1f1e;--line:#303431;--text:#f4f1e8;--muted:#a6aaa4;--wood:#d8b17c;--amber:#e7aa54;--green:#8ca878}
    *{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}button,select,input,textarea{font:inherit}button{color:inherit}
    body{background:radial-gradient(circle at 50% -20%,#384236 0,transparent 42%),var(--bg)}
    .app{min-height:100vh;display:grid;grid-template-rows:auto 1fr}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);background:#101212dd;backdrop-filter:blur(16px);z-index:3}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px}.mark{width:34px;height:34px;border:1px solid #7f6642;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#3a2d1f,#171513);font-weight:900;color:#f0c484}.brand strong{display:block;letter-spacing:.02em}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:1px}.source-badge{display:flex;align-items:center;gap:8px;border:1px solid #3f5142;background:#19221b;color:#b9d0b3;padding:8px 11px;border-radius:999px;font-size:12px}.source-badge i{width:7px;height:7px;border-radius:50%;background:#8db582;box-shadow:0 0 12px #8db582}
    .workspace{min-height:0;display:grid;grid-template-columns:290px minmax(420px,1fr) 360px;gap:12px;padding:12px}.panel{background:linear-gradient(180deg,#191b1b,#121414);border:1px solid var(--line);border-radius:16px;overflow:hidden}.sidebar{padding:18px;overflow:auto}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.18em;color:var(--amber);font-weight:800}.sidebar h2{font-size:22px;margin:6px 0 4px;letter-spacing:-.03em}.lead{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 22px}.section{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.section-title{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:750;margin-bottom:12px}.dimension-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.metric{background:#0e1010;border:1px solid #292c2a;border-radius:11px;padding:10px 8px}.metric b{font-size:17px;display:block;color:#ead0a8}.metric span{font-size:10px;color:var(--muted)}.material{display:flex;gap:11px;align-items:center}.swatch{width:39px;height:39px;border-radius:10px;background:linear-gradient(135deg,#e6c28e,#b47b42);box-shadow:inset 0 0 0 1px #f0d4a6,inset -8px -8px 14px #86552755}.material b{display:block;font-size:13px}.material span{font-size:11px;color:var(--muted)}
    .door-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;border:1px solid #464b47;background:#222523;padding:12px 13px;border-radius:11px;cursor:pointer}.door-toggle:hover{border-color:#746247}.door-toggle:disabled{opacity:.6;cursor:wait}.door-toggle .state{font-size:11px;color:#f0c484}.parameter-value{font-variant-numeric:tabular-nums;color:#f0c484;font-weight:700}.range{width:100%;height:5px;accent-color:#c88c42;cursor:pointer}.range-scale{display:flex;justify-content:space-between;margin-top:7px;color:#747974;font-size:10px}.slots{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.slot{border:1px solid #373b38;background:#1a1c1b;border-radius:8px;padding:8px 0;cursor:pointer;font-size:12px;color:#b6bab4}.slot:hover{border-color:#796746}.slot:disabled{opacity:.32;cursor:not-allowed}.slot.active{background:#6f4d28;border-color:#d4a35f;color:white;box-shadow:0 0 0 1px #d4a35f44}.hint{font-size:11px;line-height:1.45;color:#7f847e;margin:10px 0 0}
    .viewport{position:relative;min-height:520px;overflow:hidden;background:radial-gradient(circle at 50% 30%,#eef0e9 0,#bfc6ba 34%,#59645b 68%,#202620 100%)}#scene{position:absolute;inset:0}#scene canvas{display:block;width:100%;height:100%}.view-head{position:absolute;z-index:2;left:18px;top:16px;pointer-events:none}.view-head h1{font-size:18px;margin:0 0 4px;letter-spacing:-.02em}.view-head p{font-size:11px;color:#bdc1bb;margin:0}.view-controls{position:absolute;z-index:2;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:6px;padding:5px;background:#0d0f0ee8;border:1px solid #343834;border-radius:12px;backdrop-filter:blur(10px)}.view-controls button{border:0;background:transparent;padding:9px 12px;border-radius:8px;font-size:12px;cursor:pointer;color:#aeb2ad}.view-controls button:hover,.view-controls button.active{background:#30342f;color:white}.loading{position:absolute;inset:0;display:grid;place-items:center;color:#c3c7c1;font-size:13px}.error{color:#e9a8a0;text-align:center;padding:30px}.source-corner{position:absolute;z-index:2;right:16px;top:16px;text-align:right;font-size:10px;color:#aeb3ad;line-height:1.55}.source-corner b{color:#e0e4de;font-size:11px}.version-badge{display:inline-block;margin-top:5px;padding:3px 7px;border:1px solid #8a6840;border-radius:999px;background:#211a12dd;color:#f0c484;font-size:10px;font-weight:800;letter-spacing:.06em}
    .shelf-row{padding:12px;border:1px solid #303431;border-radius:11px;background:#111313;margin-bottom:8px}.shelf-row-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.shelf-name{font-size:13px;font-weight:750}.shelf-price{color:#f0c484;font-size:12px;margin-left:auto;margin-right:7px}.shelf-fields{display:grid;grid-template-columns:1fr 1.15fr;gap:7px}.remove{border:0;background:transparent;color:#777c77;cursor:pointer;font-size:17px;line-height:1}.remove:hover{color:#e2a29a}select,input[type=text],input[type=email],input[type=tel],textarea{width:100%;background:#202321;color:#f2eee4;border:1px solid #3a3e3a;border-radius:8px;padding:10px;font-size:14px;outline:0}select:focus,input:focus,textarea:focus{border-color:#b88950;box-shadow:0 0 0 2px #b8895028}textarea{min-height:72px;resize:vertical}.add{width:100%;border:1px dashed #545951;background:#151817;border-radius:10px;padding:11px;cursor:pointer;color:#c7cac5}.add:hover{border-color:#ad8958;color:#f3d2a4}.add:disabled{opacity:.35;cursor:not-allowed}.choice{display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid #292c2a;cursor:pointer}.choice:last-child{border-bottom:0}.choice input{margin-top:3px;accent-color:#c88c42}.choice-copy{flex:1}.choice-copy b{display:block;font-size:14px}.choice-copy small{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:2px}.choice-price{color:#f0c484;font-weight:750;font-size:13px;white-space:nowrap}.engraving-text{margin-top:9px}.field{display:block;margin-bottom:10px}.field span{display:block;font-size:12px;color:#c4c8c2;margin-bottom:5px}.required{color:#e7aa54}.summary{display:grid;gap:7px;font-size:13px}.summary-line{display:flex;justify-content:space-between;gap:12px;color:#b8bcb6}.summary-line strong{color:#eeeadf}.summary-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid #4b504b;margin-top:5px;padding-top:12px;font-weight:800}.summary-total output{font-size:24px;color:#f0c484}.submit{width:100%;border:1px solid #d19a55;background:linear-gradient(180deg,#9a6734,#70441f);border-radius:10px;padding:13px;cursor:pointer;color:white;font-size:15px;font-weight:800;margin-top:12px}.submit:hover{filter:brightness(1.1)}.submit:disabled{opacity:.55;cursor:wait}.form-status{min-height:18px;margin:9px 0 0;font-size:12px;line-height:1.4}.form-status.ok{color:#a8c99c}.form-status.error{color:#e9a8a0;text-align:left;padding:0}.service-note{font-size:11px;line-height:1.45;color:#7f847e;margin:8px 0 0}.actions{display:flex;gap:8px}.actions button{flex:1;border:1px solid #393d39;background:#1d201e;border-radius:9px;padding:10px;cursor:pointer;font-size:12px}.actions button:hover{border-color:#806946}
    @media(max-width:1050px){.workspace{grid-template-columns:250px minmax(380px,1fr)}.sidebar.right{grid-column:1/-1}.viewport{min-height:600px}}
    @media(max-width:760px){.topbar{padding:0 14px}.source-badge{display:none}.workspace{display:flex;flex-direction:column;padding:8px}.viewport{order:1;height:58vh;min-height:430px}.sidebar.left{order:2}.sidebar.right{display:block;order:3}.panel{border-radius:14px}.view-controls button{padding:8px 9px}.brand small{display:none}}
    @media(min-width:761px){.viewport{height:calc(100dvh - 92px);min-height:0;position:sticky;top:12px;align-self:start}}
    .loading{color:#263329;background:#cbd1c6;z-index:1}
    .workspace{grid-template-columns:minmax(0,45fr) minmax(0,55fr);max-width:1440px;margin:0 auto;width:100%;box-sizing:border-box;align-items:start}
    .sidebar.right{grid-column:auto;padding:0}.config-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px 12px}.config-head h2{font-size:22px;margin:3px 0 0}.reset-link{border:0;background:transparent;color:#bdc1bb;font-size:13px;cursor:pointer}
    #orderForm{height:calc(100dvh - 92px);display:flex;flex-direction:column;min-height:0}.config-tabs{display:flex;gap:4px;padding:0 14px 12px;border-bottom:1px solid var(--line)}.config-tabs button{flex:1;min-width:0;padding:10px 5px;border:1px solid transparent;border-radius:8px;background:transparent;color:#b5bbb3;cursor:pointer;font-size:14px}.config-tabs button[aria-selected=true]{background:#393123;border-color:#937044;color:#f5d9af}.config-body{padding:16px 18px;overflow:auto;flex:1;min-height:0}.config-body .lead{font-size:14px;margin-bottom:14px}.compact-details{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:14px}.compact-details summary{cursor:pointer;margin-bottom:10px}.slots{grid-template-columns:repeat(7,1fr)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.field span{font-size:14px}.choice{padding:10px 0}.config-footer{padding:12px 18px;background:#151817;border-top:1px solid var(--line)}.config-footer .summary-total{border:0;margin:0;padding:0}.config-footer .submit{margin-top:8px}.form-status:empty{display:none}.preview-door{position:absolute;left:14px;top:78px;z-index:2}.preview-door .door-toggle{width:auto;gap:12px;padding:8px 10px;font-size:12px;background:#171d19e8}.source-corner b,.source-corner br{display:none}.view-head h1{font-size:16px}
    [hidden]{display:none!important}
    @media(min-width:761px){.viewport{height:calc(100dvh - 92px);min-height:0}.sidebar.right{position:sticky;top:12px}}
    @media(max-width:760px){.workspace{display:flex;max-width:none}.viewport{width:100%;height:56dvh;min-height:360px}.sidebar.right{width:100%}#orderForm{height:auto;max-height:none}.config-body{overflow:visible}.config-footer{position:sticky;bottom:0;z-index:4}.config-tabs button{font-size:13px}.contact-grid{grid-template-columns:1fr}.config-head{padding:12px}.config-body{padding:12px}}
    .view-controls{flex-wrap:wrap;justify-content:center;width:max-content;max-width:calc(100% - 24px);box-sizing:border-box}.view-controls .preview-door{position:static;flex:0 0 100%;display:flex;justify-content:center;border-bottom:1px solid #44483f;padding:0 0 5px}.view-controls .door-toggle{width:100%;justify-content:center;gap:12px;border:1px solid #927343;background:#352b1e;color:#f5d9af;font-weight:700}.view-controls .door-toggle:hover{background:#4a3924}.door-help{border:0;border-bottom:1px dashed #e7aa54;background:none;color:#f0c484;padding:0;font:inherit;cursor:pointer}.door-help:hover{color:white}.door-help:focus-visible{outline:2px solid #e7aa54;outline-offset:3px}.door-attention{animation:doorPulse .7s ease-in-out 3!important;outline:2px solid #ffc86c;outline-offset:2px}@keyframes doorPulse{50%{box-shadow:0 0 0 7px #e7aa5455;background:#775223}}@media(prefers-reduced-motion:reduce){.door-attention{animation:none!important}}
    .shelf-row{display:grid;grid-template-columns:72px minmax(100px,1fr) minmax(125px,1.2fr) 64px 32px;align-items:center;gap:8px;padding:8px 10px;margin-bottom:6px;border-radius:9px}.shelf-row-top,.shelf-fields{display:contents}.shelf-name{grid-column:1;grid-row:1;font-size:14px}.shelf-position{grid-column:2;grid-row:1}.shelf-type{grid-column:3;grid-row:1}.bend-help-wrap{grid-column:3;grid-row:1;justify-self:end;margin-right:39px}.shelf-price{grid-column:4;grid-row:1;margin:0;text-align:right;font-size:14px;white-space:nowrap}.shelf-row .remove{grid-column:5;grid-row:1;width:32px;height:36px;font-size:21px}.shelf-row select{min-width:0;padding:8px;font-size:14px;min-height:38px}.shelf-row .remove:focus-visible{outline:2px solid #e7aa54;border-radius:5px}#shelfPriceNote{margin:8px 0 12px}
    @media(max-width:1050px){.shelf-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;gap:6px 8px}.shelf-name{grid-column:1;grid-row:1}.shelf-price{grid-column:2;grid-row:1}.shelf-row .remove{grid-column:3;grid-row:1;min-height:38px}.shelf-position{grid-column:1;grid-row:2}.shelf-type{grid-column:2 / 4;grid-row:2}.shelf-row select{min-height:42px}}
    .shelf-type-control{grid-column:3;grid-row:1;display:flex;align-items:center;gap:6px;min-width:0}.shelf-type-control select{flex:1;width:0}.bend-help{flex:0 0 28px;height:28px;padding:0;border:1px solid #927343;border-radius:50%;background:#352b1e;color:#f0c484;cursor:pointer}.bend-help:focus-visible{outline:2px solid #f0c484;outline-offset:2px}.bend-help-popover{grid-column:1 / -1;grid-row:2;padding:8px 10px;border-left:2px solid #927343;color:#e1d1b9;font-size:13px;line-height:1.45}@media(max-width:1050px){.shelf-type-control{grid-column:2 / 4;grid-row:2}.bend-help-popover{grid-row:3}}
    .bend-help-popover{position:fixed;z-index:100;box-sizing:border-box;margin:0;background:#171d19;border:1px solid #927343;border-radius:8px;box-shadow:0 6px 20px #0006;pointer-events:none}
  .layout-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:14px 0 10px}.layout-head label{font-size:13px}.engraving-plan{height:340px;padding:12px;background:#b7beb2;border-radius:10px;display:flex;justify-content:center}.engraving-plan svg{height:100%;width:auto;max-width:100%}.align-buttons{display:flex;flex-wrap:wrap;gap:6px}.align-buttons button{flex:1;min-width:100px;background:#292c28;color:#f4e0c0;border:1px solid #655338;border-radius:7px;padding:9px;font-size:12px;cursor:pointer}.align-buttons button:disabled{opacity:.4;cursor:default}#engravingMeasurements table{width:100%;border-collapse:collapse;font-size:12px;margin:10px 0}#engravingMeasurements th,#engravingMeasurements td{padding:7px 3px;border-bottom:1px solid #393d39;text-align:right}#engravingMeasurements th:first-child{text-align:left}#engravingMeasurements .aligned{color:#a5c991}.layout-warning{color:#f0bf81;font-size:12px;line-height:1.5}#engravingAdvanced[open]{padding-bottom:16px!important}.engraving-workspace{display:grid;grid-template-columns:minmax(125px,.8fr) minmax(200px,1.2fr);gap:14px;align-items:start}.engraving-preview-column{position:sticky;top:0}.engraving-plan{height:310px;padding:8px}.engraving-preview-column .hint{font-size:11px}#engravingControls fieldset{padding:6px 0!important}#engravingControls .field{margin-bottom:8px}#engravingControls legend{font-size:13px}#engravingControls .add{font-size:12px;padding:8px;margin-top:7px}@media(max-width:520px){.engraving-workspace{grid-template-columns:1fr}.engraving-preview-column{position:static}.engraving-plan{height:260px}}
.shelf-ruler{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.shelf-ruler text{font:12px Arial;fill:#fff;paint-order:stroke;stroke:#24352b;stroke-width:3px;stroke-linejoin:round}.shelf-ruler path{stroke:#3a5849;stroke-width:2;fill:none}
.part-list-heading{padding:10px 2px 4px;color:#e8d8bd}.part-list-heading b{display:block;font-size:12px}.part-list-heading small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.newly-added{border-color:#dfa858!important;background:#302719!important;box-shadow:0 0 0 2px #d59a4540;transition:background .25s,border-color .25s,box-shadow .25s}
.service-note nav{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.service-note a{color:#e7b779;text-decoration:underline;text-underline-offset:3px}.measurement-toggle{display:flex;align-items:center;gap:6px;padding:6px 8px;font-size:12px;color:#e7d6bb;cursor:pointer}.measurement-toggle input{accent-color:#d99a45}.shelf-ruler .gap-line{stroke:#24352b;stroke-width:2}.shelf-ruler .gap-label{fill:#fff;font-size:13px}.shelf-ruler .gap-back{fill:#152019;fill-opacity:.9;stroke:#b99b66;stroke-width:1}
    .count-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:9px 10px;border:1px solid #303431;border-radius:9px;background:#111313;font-size:13px}.count-row>span{font-weight:700}.count-row small{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:400}.count-stepper{display:flex;align-items:center;gap:7px}.count-stepper button,.move-control button{min-width:38px;min-height:36px;border:1px solid #665238;border-radius:8px;background:#30271d;color:#f0c484;cursor:pointer;font-weight:800}.count-stepper button{font-size:19px}.count-stepper button:hover:not(:disabled),.move-control button:hover:not(:disabled){background:#493820;border-color:#b58a4f}.count-stepper button:disabled,.move-control button:disabled{opacity:.35;cursor:not-allowed}.count-stepper output{min-width:32px;text-align:center;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.shelf-count-row{margin-top:16px}.drawer-item,.shelf-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;margin:6px 0;border:1px solid #303431;border-radius:9px;background:#111313}.drawer-item-main{min-width:110px;flex:1}.drawer-item-main b{display:block;font-size:13px}.drawer-item-main small{color:var(--muted);font-size:11px}.move-control{display:flex;align-items:center;gap:5px}.move-control-label{color:var(--muted);font-size:11px;white-space:nowrap}.move-control button{min-width:34px;padding:4px 7px;font-size:12px}.shelf-row .shelf-name{grid-column:auto;grid-row:auto}.shelf-row .shelf-price{margin:0 2px 0 auto;white-space:nowrap}.shelf-row .remove{width:30px;height:34px;font-size:20px}.drawer-list:empty{display:none}@media(max-width:420px){.count-row{gap:5px;padding:8px}.move-control-label{display:none}.drawer-item,.shelf-row{gap:6px;padding:8px}.drawer-item-main{min-width:105px}}
.shelf-ruler .gap-overlap .gap-line{stroke:#b34438}.shelf-ruler .gap-overlap .gap-label{fill:#ffb2a8}.shelf-ruler .gap-overlap .gap-back{fill:#321714;stroke:#b34438}
dialog.front-editor{width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);color:var(--text);background:#151817;border:1px solid #706044;border-radius:16px;padding:0;box-shadow:0 22px 70px #000b}dialog.front-editor::backdrop{background:#000a}.front-editor-head,.front-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}.front-editor-head h3{margin:0;font-size:18px}.front-editor-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.front-editor-main{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(260px,1fr);gap:18px;padding:18px 20px;overflow:auto}.front-editor-preview{min-height:520px;background:#b7beb2;border-radius:12px;padding:12px;display:grid;place-items:center}.front-editor-preview svg{max-width:100%;max-height:500px}.front-editor-actions{border-top:1px solid var(--line);border-bottom:0}.front-editor-actions button{width:auto;padding:10px 16px}.front-editor-summary{padding:10px;border:1px solid #3a3e3a;border-radius:10px;background:#111313;font-size:12px;line-height:1.5}.front-editor-summary b{color:#f0c484}@media(max-width:650px){.front-editor-main{grid-template-columns:1fr;padding:12px}.front-editor-preview{min-height:360px}.front-editor-preview svg{max-height:340px}.front-editor-head,.front-editor-actions{padding:12px}.front-editor-head p{display:none}}
.front-editor .field{display:grid;gap:5px;margin:0 0 12px}.front-editor input[type=number],.front-editor input:not([type]),.front-editor select,.front-editor select,.front-editor select{width:100%;box-sizing:border-box;padding:9px;border:1px solid #42463e;border-radius:7px;background:#20231e;color:var(--text)}#objectFields{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.front-editor .front-editor-error{color:#f0bf81;font-size:12px;line-height:1.4;margin:0 0 10px}.front-editor .front-editor-error:empty{display:none}.front-editor #dimensions{color:#c4ccbd;line-height:1.55}.front-editor .dimension-group{margin:0 0 10px;padding:8px 10px;border-left:2px solid #3e82b8;background:#1b2428;border-radius:0 7px 7px 0}.front-editor .dimension-group b{color:#d6e9f8}.front-editor .front-dimension{fill:none;stroke-width:.55}.front-editor .front-dimension.centre{stroke:#0968a8}.front-editor .front-dimension.edge{stroke:#8a5a1b}.front-editor .front-dim-tag{cursor:pointer}.front-editor .front-dim-tag text{font-size:11.6px;font-weight:700;dominant-baseline:middle}.front-editor .front-dim-tag.centre rect{fill:#d9efff;stroke:#0968a8;stroke-width:.35}.front-editor .front-dim-tag.centre text{fill:#064a7b}.front-editor .front-dim-tag.edge rect{fill:#fff0d8;stroke:#8a5a1b;stroke-width:.35}.front-editor .front-dim-tag.edge text{fill:#62400f}.front-editor #removeObject,.front-editor #centreObject,.front-editor #downloadDesign,.front-editor #downloadDxf,.front-editor #downloadProject,.front-editor #loadProjectButton,.front-editor .dimension-edit-actions button{padding:8px 12px;border:1px solid #746044;border-radius:7px;background:#292b24;color:var(--text);margin-bottom:12px;cursor:pointer}.front-editor #centreObject{margin-left:6px}.front-editor #dimensionEdit{margin:4px 0 12px;padding:10px;border:1px solid #3e82b8;border-radius:8px;background:#17232a}.front-editor #dimensionEdit b{display:block;color:#d6e9f8;margin-bottom:8px}.front-editor .dimension-edit-actions{display:flex;gap:7px}.front-editor .dimension-edit-actions button{margin:0}.front-editor [data-object]{cursor:move}
.front-editor .text-align-actions{display:flex;gap:6px;margin:0 0 12px}.front-editor .text-align-actions button{flex:1;padding:7px;border:1px solid #746044;border-radius:7px;background:#292b24;color:var(--text);cursor:pointer}.front-editor .text-align-actions button.active{background:#5a4a32;color:#fff}.front-editor .text-align-actions{display:flex;gap:6px;margin:0 0 12px}.front-editor .text-align-actions button{flex:1;padding:7px;border:1px solid #746044;border-radius:7px;background:#292b24;color:var(--text);cursor:pointer}.front-editor .text-align-actions button.active{background:#5a4a32;color:#fff}.front-editor .centre-actions{display:flex;gap:6px;margin:0 0 12px}.front-editor .centre-actions button{flex:1;white-space:nowrap}.front-editor .centre-actions span{font-size:17px;line-height:1;vertical-align:-1px;margin-right:2px}.front-editor .centre-actions{display:flex;gap:6px;margin:0 0 12px}.front-editor .centre-actions button{flex:1;white-space:nowrap}.front-editor .centre-actions span{font-size:17px;line-height:1;vertical-align:-1px;margin-right:2px}.front-editor .front-dimension.size{stroke:#0968a8}.front-editor .front-dim-tag.size{cursor:default}.front-editor .front-dim-tag.size rect{fill:#d9efff;stroke:#0968a8;stroke-width:.35}.front-editor .front-dim-tag.size text{fill:#064a7b}.front-editor svg,.front-editor svg text{-webkit-user-select:none;user-select:none}.front-editor .object-add-actions{display:flex;gap:8px;margin:0 0 12px}.front-editor .object-add-actions button{flex:1;padding:9px 12px;border:1px solid #746044;border-radius:7px;background:#292b24;color:var(--text);cursor:pointer}.front-editor .object-add-actions button:disabled{opacity:.5;cursor:not-allowed}
body.front-order{display:block;height:auto;min-height:100vh;overflow:auto;padding:0;background:#111713;color:#f2eee4}.front-order main{max-width:960px;margin:auto;padding:24px 18px 60px}.front-order header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.front-order h1{font-size:clamp(26px,5vw,40px);line-height:1.15}.front-order .front-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.front-order .front-card{padding:24px;border:1px solid #3d4038;border-radius:16px;background:#1b211c}.front-order .front-card p{line-height:1.6}.front-order .front-total{font-size:28px;color:#e5b771}.front-order #frontPreview{width:100%;max-height:420px;object-fit:contain;background:#e6dfce;border-radius:10px}.front-order .front-summary{display:grid;gap:10px}.front-order .front-summary div{display:flex;justify-content:space-between;gap:16px}.front-order a{color:#e5b771}.front-order .field input,.front-order .field select,.front-order .field textarea{width:100%;box-sizing:border-box}.front-order .field{display:block;margin:12px 0}.front-order .field input,.front-order .field select,.front-order .field textarea{padding:12px;background:#20251e;color:#f2eee4;border:1px solid #494d40;border-radius:9px;font:inherit}.front-order button{cursor:pointer;padding:12px 18px;border-radius:9px;font:inherit}.front-order button:disabled{opacity:.6;cursor:not-allowed}.front-order [hidden]{display:none!important}.front-order .honeypot{position:absolute;left:-10000px}.front-order .step{color:#e5b771;text-transform:uppercase;letter-spacing:.08em;font-size:13px}.front-order #formStatus{white-space:pre-line;line-height:1.6}.front-order .front-terms{line-height:1.6}.front-order .front-terms input{width:auto}.front-order .front-back{margin-bottom:18px}@media(max-width:700px){.front-order .front-layout{grid-template-columns:1fr}.front-order .front-card{padding:18px}}

.front-order button{border:1px solid #746044;background:#292b24;color:#f4f1e8}.front-order #submitFront{background:#b8742f;color:#fff;font-weight:700}.front-order #orderFields{border:0;margin:0;padding:0;min-width:0}.front-order #orderFields legend{padding:0;margin:0 0 8px}.front-order #frontPreview{display:block;margin:auto;width:202px;max-width:100%;height:auto;max-height:none}.front-order .front-editor-preview{min-width:0}.front-order .front-editor-head button{padding:8px 14px}
