:root{--ink:#253027;--muted:#687168;--paper:#f7f5ef;--panel:#fff;--line:#dedfd7;--green:#375e48;--green-dark:#244435;--green-soft:#e7efe8;--gold:#c98b42;--wood:#e6c18c;--danger:#a13f38;--shadow:0 18px 55px rgba(40,48,38,.12);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper)}
.shop-mode-banner{position:relative;z-index:30;display:flex;justify-content:center;align-items:center;gap:10px;min-height:42px;padding:9px 18px;background:#fff0c7;border-bottom:1px solid #d9aa43;color:#51370b;text-align:center;font-size:12px}.shop-mode-banner b{letter-spacing:.11em}.shop-mode-banner span{line-height:1.35}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:linear-gradient(180deg,#fbfaf6,#f1eee5)}button,input,select,textarea{font:inherit}button{color:inherit}button:not(:disabled){cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(55,94,72,.25);outline-offset:2px}[hidden]{display:none!important}main{min-height:100vh}.topbar{height:72px;padding:0 28px;display:flex;align-items:center;gap:24px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{border:0;background:none;display:flex;align-items:center;gap:10px;padding:0}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--green);color:#fff;font:700 20px Georgia}.brand>span:last-child{display:grid;text-align:left;line-height:1}.brand b{letter-spacing:.13em;font-size:14px}.brand small{color:var(--muted);font-size:10px;margin-top:5px}.project-title{margin:auto;color:var(--muted);font-size:14px}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#78a783;margin-right:7px}.top-actions{display:flex;align-items:center;gap:8px}.ghost,.primary,.cart-button,.shop-cta,.shop-link,.add-cart-button,.inquiry-submit,.square{border-radius:11px;padding:10px 15px;border:1px solid var(--line);background:#fff;font-weight:650}.primary,.shop-cta,.add-cart-button,.inquiry-submit{border-color:var(--green);background:var(--green);color:#fff}.primary:hover,.shop-cta:hover,.add-cart-button:hover,.inquiry-submit:hover{background:var(--green-dark)}.cart-button{display:flex;gap:9px;align-items:center}.cart-button b{min-width:22px;height:22px;padding:0 5px;border-radius:99px;display:grid;place-items:center;background:var(--green);color:#fff;font-size:11px}.modebar{height:66px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:center;gap:12px;padding:8px 20px}.modebar button{min-width:170px;border:0;background:transparent;border-radius:12px;display:flex;align-items:center;gap:10px;padding:7px 14px;text-align:left}.modebar button>b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eceee9}.modebar button>span{display:grid;font-weight:700}.modebar small{font-size:10px;color:var(--muted);font-weight:500;margin-top:2px}.modebar button.active{background:var(--green-soft);color:var(--green-dark)}.modebar button.active>b{background:var(--green);color:#fff}.shop-workspace{max-width:1280px;margin:auto}.shop-hero{min-height:590px;padding:72px 6%;display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:center}.shop-kicker,.eyebrow,.section-label{display:block;color:var(--green);font-size:11px;font-weight:800;letter-spacing:.15em}.shop-hero h1{font:600 clamp(48px,6vw,78px)/.98 Georgia;margin:16px 0 24px}.shop-hero h1 em{color:var(--green);font-weight:500}.shop-hero-copy>p{max-width:620px;color:var(--muted);font-size:19px;line-height:1.6}.shop-hero-actions{display:flex;gap:12px;margin:30px 0}.shop-cta{padding:14px 20px}.shop-link{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px}.shop-assurances{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:13px}.shop-assurances b{color:var(--green)}.shop-hero-visual{min-height:430px;position:relative;display:grid;place-items:center}.hero-disc{border-radius:50%;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 35% 28%,#f7e6c5,#d8ae73);box-shadow:var(--shadow),inset 0 0 0 1px rgba(86,56,27,.23);font-family:Georgia;color:#3b2b1c}.hero-disc-main{width:min(390px,33vw);height:min(390px,33vw);min-width:280px;min-height:280px;transform:rotate(-4deg)}.hero-disc-main span{font-size:36px;line-height:1.05}.hero-disc-main i{font-weight:400;color:#a46b35}.hero-disc-main small{position:absolute;margin-top:115px;letter-spacing:.14em}.hero-disc-small{position:absolute;right:2%;bottom:4%;width:145px;height:145px;transform:rotate(8deg)}.hero-disc-small span{font:26px Georgia}.hero-note{position:absolute;top:5%;right:0;background:#fff;padding:10px 13px;border-radius:10px;box-shadow:var(--shadow);font-size:12px}.shop-section{padding:80px 5%;background:#fff;border-radius:36px}.shop-section-head{display:flex;justify-content:space-between;gap:40px;align-items:end}.shop-section h2,.shop-process h2,.shop-story h2{font:600 38px Georgia;margin:10px 0}.shop-section-head>p{max-width:510px;color:var(--muted);line-height:1.6}.shop-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:20px;margin-top:35px}.shop-product{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 9px 25px rgba(40,48,38,.07)}.shop-product-visual{height:190px;display:grid;place-items:center;position:relative;background:linear-gradient(145deg,#edf0e9,#ddd9ca)}.shop-product-visual.cork{background:linear-gradient(145deg,#eee3d3,#d6bd99)}.shop-product-badge{position:absolute;left:12px;top:12px;background:#fff;border-radius:99px;padding:5px 8px;font-size:9px;letter-spacing:.1em}.shop-product-disc{width:135px;height:135px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#f0d9af,#c9985f);display:grid;place-items:center;font:20px Georgia;box-shadow:0 12px 28px rgba(65,46,26,.2)}.cork .shop-product-disc{background:radial-gradient(circle at 35% 25%,#dfc398,#b7824d)}.shop-product-body{padding:17px}.shop-product-body h3{margin:0 0 6px}.shop-product-meta{font-size:12px;color:var(--muted)}.shop-product-footer{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:18px}.shop-product-price{display:grid}.shop-product-price span{font-size:10px;color:var(--muted)}.shop-product-price b{font-size:18px}.shop-product-footer button{border:0;background:var(--green-soft);color:var(--green-dark);border-radius:10px;padding:9px 11px;font-weight:700}.shop-process{padding:85px 5%;text-align:center}.shop-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:36px;text-align:left}.shop-process-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.shop-process-grid article>b{font:26px Georgia;color:#aeb9ad}.shop-process-grid article>span{display:block;font-weight:750;margin:18px 0 7px}.shop-process-grid p{color:var(--muted);line-height:1.5;margin:0}.shop-story{margin:0 5% 70px;background:var(--green-dark);color:#fff;border-radius:26px;padding:40px;display:grid;grid-template-columns:auto 1fr auto;gap:35px;align-items:center}.story-mark{width:85px;height:85px;border:1px solid rgba(255,255,255,.35);border-radius:24px;display:grid;place-items:center;font:42px Georgia}.shop-story .shop-kicker{color:#b8d2bd}.shop-story h2{margin-bottom:5px}.shop-story p{color:#d7dfd8;margin:0}.story-facts{display:flex;gap:25px}.story-facts span{display:grid;color:#cad4cc;font-size:11px}.story-facts b{color:#fff;font-size:20px}.shop-footer{margin:0 5% 50px;padding:25px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:30px;color:var(--muted);font-size:12px}.shop-footer div{display:grid;gap:5px;max-width:600px}.shop-footer b{color:var(--ink)}.shop-footer a{color:var(--green)}
.editor-workspace{min-height:calc(100vh - 138px);display:grid;grid-template-columns:310px minmax(400px,1fr) 330px;background:#eae8df}.panel{background:#fff;padding:24px;overflow:auto}.left-panel{border-right:1px solid var(--line)}.right-panel{border-left:1px solid var(--line)}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel h2{font:600 25px Georgia;margin:6px 0 15px}.square{width:40px;height:40px;padding:0;font-size:22px}.panel-intro{color:var(--muted);font-size:12px;line-height:1.5}.product-picker,.inspector label,.design-choice label,.template-form label,.admin-pricing-layout label{display:grid;gap:6px;font-size:12px;font-weight:700}.product-picker select,.inspector input,.inspector select,.inspector textarea,.design-choice select,.template-form input,.admin-pricing-layout input,.admin-pricing-layout textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff}.product-picker small,.design-choice small{color:var(--muted);font-weight:400;line-height:1.4}.layer-list{display:grid;gap:7px;margin:20px 0}.layer{border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px;display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center;text-align:left}.layer.selected{border-color:var(--green);background:var(--green-soft)}.layer-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#eff0eb;font-weight:800}.layer span:nth-child(2){min-width:0;display:grid}.layer b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.layer small{color:var(--muted);font-size:10px}.layer i{font-style:normal;color:#a4aaa3;font-size:10px}.quick-add>span{display:block;font-size:10px;font-weight:800;letter-spacing:.1em;color:var(--muted);margin-bottom:8px}.quick-add-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.quick-add-grid button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 3px;display:grid;gap:3px}.quick-add-grid b{font-size:18px}.quick-add-grid small{font-size:9px}.dxf-upload-button{width:100%;margin-top:8px;border:1px dashed #9eaa9d;background:var(--green-soft);border-radius:10px;padding:10px;display:flex;gap:10px;align-items:center}.dxf-upload-button b{font-size:11px;background:var(--green);color:#fff;border-radius:5px;padding:4px}.dxf-upload-button span{font-size:11px;font-weight:700}.inspector{border-top:1px solid var(--line);margin-top:20px;padding-top:18px;display:grid;gap:12px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field-grid label{position:relative}.field-grid em{position:absolute;right:8px;bottom:9px;font-style:normal;font-size:10px;color:var(--muted)}.field-help{font-weight:400;color:var(--muted);line-height:1.4}.method-explainer,.vector-object-note,.image-edit-note,.customer-note{border-radius:11px;padding:11px;background:#f2f3ee;display:grid;gap:4px}.method-explainer small,.vector-object-note small,.image-edit-note small,.customer-note span{font-size:11px;color:var(--muted);line-height:1.45}.danger{border:1px solid #e7c2bf;background:#fff5f4;color:var(--danger);border-radius:9px;padding:9px}.canvas-area{padding:24px;display:grid;grid-template-rows:auto auto 1fr auto;min-width:0}.canvas-toolbar,.ruler{display:flex;align-items:center;justify-content:space-between}.canvas-toolbar>span{font-weight:750}.fit-badge{padding:8px 11px;border-radius:99px;background:var(--green-soft);color:var(--green-dark);font-size:11px;font-weight:750}.fit-badge.bad{background:#f9e5e3;color:var(--danger)}.ruler{color:var(--muted);font-size:10px;padding:15px 5% 4px}.board-wrap{display:grid;place-items:center;min-height:500px}.design-board{width:min(100%,690px);max-height:70vh;filter:drop-shadow(0 19px 22px rgba(51,41,28,.16));touch-action:none}.dimension-text{font-size:3px;fill:#777066}.art-object{cursor:grab}.art-object.selected{filter:drop-shadow(0 0 1px #1c6a43)}.art-object.selected .selection-ring{display:block}.selection-ring{display:none;fill:none;stroke:#2b6c49;stroke-width:.4;stroke-dasharray:1 1;vector-effect:non-scaling-stroke}.art-line{fill:none;stroke:#30251b;stroke-linecap:round;stroke-linejoin:round}.art-fill{fill:#30251b;stroke:none}.art-text{fill:#30251b;text-anchor:middle;dominant-baseline:middle}.canvas-hint{text-align:center;color:var(--muted);font-size:11px}.shop-order-card{border:1px solid var(--line);border-radius:16px;padding:15px;background:#fafaf7}.shop-order-head{display:flex;justify-content:space-between;gap:12px}.shop-order-head>div{display:grid}.shop-order-head small{color:var(--muted);font-size:10px;margin-top:4px}.shop-order-head strong{color:var(--green);white-space:nowrap}.quantity-field{display:flex;align-items:center;justify-content:space-between;margin:18px 0;font-size:12px;font-weight:700}.quantity-control{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}.quantity-control button,.quantity-control input{width:38px;height:34px;border:0;background:#fff;text-align:center}.quantity-control input{width:48px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.shop-price-details{display:grid;gap:7px;border-top:1px solid var(--line);padding-top:12px}.shop-price-details>span{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.shop-price-details b{color:var(--ink)}.add-cart-button{width:100%;margin-top:15px}.add-cart-button:disabled,.inquiry-submit:disabled{opacity:.45;cursor:not-allowed}.shop-order-note{display:block;color:var(--muted);line-height:1.4;margin-top:8px}.design-choice{display:grid;gap:10px;margin-top:18px;padding:15px;border:1px solid var(--line);border-radius:14px}.customer-note{margin-top:18px;background:var(--green-soft)}
.admin-workspace{max-width:1280px;margin:auto;padding:44px 5% 70px}.admin-hero{display:flex;align-items:center;justify-content:space-between;gap:30px}.admin-hero h1{font:600 40px Georgia;margin:8px 0}.admin-session{display:flex;align-items:center;gap:9px}.admin-session>span{width:10px;height:10px;border-radius:50%;background:#b6bbb6}.admin-session>span.ok{background:#4f9867}.admin-session>span.bad{background:#bd554c}.admin-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:20px;margin-top:28px}.admin-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.admin-card-head{display:flex;justify-content:space-between;gap:15px}.admin-card h2{margin:0 0 7px;font:600 24px Georgia}.admin-card p{color:var(--muted);font-size:12px}.template-list{display:grid;gap:9px;margin-top:18px}.template-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px}.template-item.inactive{opacity:.55}.template-disc{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#dec096;font-size:10px}.template-disc.cork{background:#c29a67}.template-item>div:nth-child(2){display:grid}.template-item small{color:var(--muted);font-size:10px}.template-item-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:end}.template-item-actions button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px;font-size:10px}.template-item-actions .remove{color:var(--danger)}.template-form{display:grid;gap:14px}.switch-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:start;gap:9px!important}.switch-row input{width:auto}.switch-row span{display:grid}.switch-row small{color:var(--muted);font-weight:400}.admin-form-actions{display:flex;gap:8px}.admin-status{min-height:18px}.admin-status.error,.inquiry-status.error{color:var(--danger)}.admin-pricing-card{margin-top:20px}.admin-pricing-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}.admin-pricing-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px}
dialog{border:0;padding:0;border-radius:22px;box-shadow:var(--shadow);max-width:min(95vw,760px);width:100%}dialog::backdrop{background:rgba(24,31,26,.54)}.cart-shell,.vector-import-shell{padding:24px}.cart-header,.vector-import-shell header{display:flex;justify-content:space-between;align-items:start}.cart-header h2,.vector-import-shell h2{font:600 30px Georgia;margin:7px 0}.cart-close{border:0;background:#f0f1ec;border-radius:50%;width:38px;height:38px;font-size:22px}.cart-empty{padding:55px 20px;text-align:center;display:grid;place-items:center;gap:10px}.cart-empty>span{font-size:42px;color:#aab2a9}.cart-empty p{color:var(--muted)}.cart-lines{display:grid;gap:9px}.cart-line{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);padding:10px;border-radius:12px}.cart-line.unavailable{border-color:#d99b94;background:#fff6f5}.cart-line-disc{width:48px;height:48px;border-radius:50%;background:#e1c498;display:grid;place-items:center;font:10px Georgia;text-align:center}.cart-line>div:nth-child(2){display:grid}.cart-line small{color:var(--muted)}.cart-line-price{display:grid;text-align:right;gap:4px}.cart-line-price button{border:0;background:none;color:var(--danger);font-size:10px}.shipping-choice{border:0;padding:0;margin:22px 0;display:flex;gap:10px}.shipping-choice legend{font-weight:750;margin-bottom:8px}.shipping-choice label{flex:1;border:1px solid var(--line);border-radius:11px;padding:10px;display:flex;gap:8px}.shipping-choice span{display:grid}.shipping-choice small{color:var(--muted)}.cart-totals{display:grid;gap:8px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.cart-totals>span{display:flex;justify-content:space-between}.grand-total{font-size:18px;font-weight:800}.inquiry-form{display:grid;gap:14px;margin-top:22px}.form-heading{display:grid}.form-heading span{color:var(--muted);font-size:11px}.inquiry-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.inquiry-grid label{display:grid;gap:5px;font-size:11px;font-weight:700}.inquiry-grid input{border:1px solid var(--line);border-radius:8px;padding:9px}.bot-field{position:absolute;left:-9999px}.consent-row{display:flex;gap:8px;align-items:start;font-size:11px;line-height:1.4}.inquiry-summary{display:flex;justify-content:space-between;align-items:center}.inquiry-summary span{color:var(--muted);font-size:11px}.inquiry-summary strong{font-size:21px}.inquiry-legal{color:var(--muted);font-size:10px;text-align:center}.vector-import-shell>p{color:var(--muted);line-height:1.5}.vector-import-summary{background:#f2f3ee;border-radius:11px;padding:11px}.vector-intent-options{display:grid;gap:8px;margin:16px 0}.vector-intent-options button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:13px;text-align:left;display:grid;gap:3px}.vector-intent-options button:disabled{opacity:.4}.vector-intent-options span{font-size:11px;color:var(--muted)}.vector-import-note{min-height:20px;color:var(--danger)!important}
@media(max-width:1050px){.editor-workspace{grid-template-columns:280px 1fr}.right-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px}.right-panel>.eyebrow,.right-panel>h2{grid-column:1/-1}.shop-process-grid{grid-template-columns:repeat(2,1fr)}.shop-story{grid-template-columns:auto 1fr}.story-facts{grid-column:1/-1}.admin-grid{grid-template-columns:1fr}}
@media(max-width:760px){.topbar{height:auto;padding:11px 14px;flex-wrap:wrap}.project-title{display:none}.top-actions{margin-left:auto}.top-actions .ghost{display:none}.modebar{height:auto}.modebar button{min-width:0;flex:1;justify-content:center}.modebar small{display:none}.shop-hero{grid-template-columns:1fr;padding:55px 7%}.shop-hero-visual{display:none}.shop-section{border-radius:22px;padding:55px 7%}.shop-section-head{display:block}.shop-process-grid{grid-template-columns:1fr}.shop-story{display:block}.story-mark{margin-bottom:20px}.story-facts{margin-top:25px;flex-wrap:wrap}.shop-footer{display:grid}.editor-workspace{display:block}.left-panel,.right-panel{border:0;border-bottom:1px solid var(--line)}.canvas-area{min-height:560px}.board-wrap{min-height:420px}.right-panel{display:block}.right-panel>*{margin-bottom:15px}.quick-add-grid{grid-template-columns:repeat(5,1fr)}.admin-workspace{padding:30px 4%}.admin-hero{display:block}.admin-session{margin-top:18px}.admin-pricing-layout{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr 1fr}.template-item{grid-template-columns:auto 1fr}.template-item-actions{grid-column:1/-1}.inquiry-grid{grid-template-columns:1fr}.shipping-choice{display:grid}}
@media(max-width:450px){.brand small,.top-actions .ghost{display:none}.cart-button span{display:none}.shop-hero h1{font-size:45px}.quick-add-grid{grid-template-columns:repeat(4,1fr)}.field-grid{grid-template-columns:1fr}.shop-story{margin-left:3%;margin-right:3%;padding:28px}.canvas-area{padding:12px}}

.arc-editor,.series-editor{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafaf7}.arc-editor>span{font-size:12px;font-weight:750}.arc-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.arc-presets button{border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px 4px;font-size:10px}.arc-presets button.active{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.text-fit-grid{margin-top:-3px}.series-switch{margin-top:2px;padding:10px;border-radius:11px;background:var(--green-soft)}.series-editor textarea{min-height:112px;resize:vertical}.series-validation{margin:0;font-size:10px;line-height:1.45}.series-validation.ok{color:var(--green)}.series-validation.error{color:var(--danger)}.series-preview{display:flex;align-items:center;gap:7px;min-width:0;padding:4px;border-radius:99px;background:#fff;border:1px solid var(--line)}.series-preview button{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:var(--green-soft);font-size:20px}.series-preview button:disabled{opacity:.35}.series-preview b{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.quantity-field{flex-wrap:wrap}.series-quantity-note{flex-basis:100%;margin-top:7px;color:var(--green);font-weight:500;line-height:1.4}.quantity-control button:disabled,.quantity-control input:disabled{background:#f0f1ec;color:#8a908a}

.account-dialog{max-width:min(95vw,720px)}.account-shell{padding:25px}.account-shell>header{display:flex;align-items:start;justify-content:space-between}.account-shell h2{font:600 30px Georgia;margin:7px 0}.account-state{padding:48px 22px;text-align:center;display:grid;justify-items:center;gap:10px}.account-state p{max-width:480px;color:var(--muted);line-height:1.55}.account-login{text-decoration:none;display:inline-block}.account-profile{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:15px 0 20px;border-bottom:1px solid var(--line)}.account-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font:700 21px Georgia}.account-profile>div{display:grid;gap:3px}.account-profile small{color:var(--muted)}.account-profile>a{color:var(--green);font-size:12px}.account-orders{padding-top:20px}.account-orders>div:first-child{display:flex;justify-content:space-between;align-items:center}.account-orders h3{font:600 22px Georgia;margin:0}.account-orders #account-order-list{display:grid;gap:8px;margin-top:13px}.account-order{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px}.account-order>div{display:grid;gap:3px}.account-order small{color:var(--muted);font-size:10px}.account-order strong{font-size:13px}.order-status{max-width:210px;border-radius:99px;padding:6px 9px;background:#eceee9;font-size:10px;text-align:center}.status-queued,.status-in_production{background:#fff0d9;color:#81531f}.status-completed,.status-fulfilled{background:var(--green-soft);color:var(--green-dark)}.status-failed,.status-rejected,.status-cancelled{background:#f9e5e3;color:var(--danger)}.account-empty{padding:30px;text-align:center;display:grid;gap:6px;color:var(--muted)}.account-privacy{color:var(--muted);font-size:10px;line-height:1.5;margin:18px 0 0}

@media(max-width:760px){#account-open{display:inline-flex}.canvas-toolbar{gap:8px;flex-wrap:wrap}.series-preview{order:3;width:100%;justify-content:center}.account-order{grid-template-columns:1fr auto}.account-order .order-status{grid-column:1/-1;grid-row:2;max-width:none}.account-profile{grid-template-columns:auto 1fr}.account-profile>a{grid-column:1/-1}.text-fit-grid{grid-template-columns:1fr 1fr}}
.account-dialog{max-height:min(92vh,900px);overflow:auto}.account-contact{padding:20px 0;border-bottom:1px solid var(--line)}.account-contact h3{font:600 22px Georgia;margin:5px 0}.account-contact>div>p{color:var(--muted);font-size:11px;line-height:1.45;margin:0 0 14px}.account-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-contact-grid label{display:grid;gap:5px;font-size:11px;font-weight:700}.account-contact-grid input{border:1px solid var(--line);border-radius:8px;padding:9px;min-width:0}.account-contact-wide{grid-column:1/-1}.account-contact-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.account-contact-actions p{margin:0;color:var(--muted);font-size:11px}.account-contact-actions p.error{color:var(--danger)}.account-contact-actions p.ok{color:var(--green-dark)}.inquiry-grid input[readonly]{background:#f0f1ec;color:var(--muted);cursor:not-allowed}.inquiry-grid label>small{font-weight:500;color:var(--muted)}

/* First-party Gravurama account UI. The dialog never leaves gravurama.de. */
.account-dialog{width:min(95vw,760px);padding:0;overflow:hidden;background:#fffdf8}
.account-shell{padding:0;max-height:min(92vh,900px);display:flex;flex-direction:column}
.account-shell>header{position:relative;z-index:2;padding:22px 25px 16px;background:#fffdf8;border-bottom:1px solid var(--line);flex:0 0 auto}
.account-shell>header p{margin:4px 45px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
.account-scroll{overflow:auto;padding:0 25px 25px;overscroll-behavior:contain}
.account-auth{padding:22px 0 4px}
.account-auth-intro{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;padding:18px;border-radius:16px;background:linear-gradient(135deg,var(--green-dark),var(--green));color:#fff}
.account-auth-intro b{font:600 21px Georgia}.account-auth-intro p{margin:5px 0 0;font-size:11px;line-height:1.5;color:#edf5ee}
.account-auth-mark{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--green-dark);font:700 23px Georgia}
.account-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:18px 0 14px;padding:4px;border-radius:11px;background:#eef2ec}
.account-auth-tabs[hidden],.account-auth-panel[hidden],.account-auth-note[hidden],.account-auth-intro[hidden],.account-reset-state[hidden],.account-auth-panel form[hidden],.account-auth-secondary-actions[hidden]{display:none}
.account-auth-tabs button{border:0;border-radius:8px;padding:10px;background:transparent;color:var(--muted);font-weight:750;cursor:pointer}
.account-auth-tabs button[aria-selected="true"]{background:#fff;color:var(--green-dark);box-shadow:0 2px 8px #173d2417}
.account-auth-panel form{display:grid;gap:12px}
.account-auth-panel label,.account-admin-access label,.account-security label{display:grid;gap:6px;font-size:11px;font-weight:750;color:var(--ink)}
.account-auth-panel input,.account-admin-access input,.account-security input{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:11px;background:#fff;font:inherit;color:var(--ink)}
.account-auth-panel input:focus,.account-admin-access input:focus,.account-security input:focus{outline:3px solid #38784924;border-color:var(--green)}
.account-auth-panel label>small{font-weight:500;color:var(--muted)}
.password-input{display:grid;grid-template-columns:1fr auto}.password-input input{border-radius:9px 0 0 9px}.password-input button{border:1px solid var(--line);border-left:0;border-radius:0 9px 9px 0;padding:0 12px;background:#f5f6f2;color:var(--green-dark);font-weight:700;cursor:pointer}
.account-auth-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.account-auth-note a{color:var(--green-dark)}
.account-auth-link{appearance:none;border:0;padding:2px 0;background:transparent;color:var(--green-dark);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.account-auth-link:hover{color:var(--green)}.account-auth-link:focus-visible{outline:3px solid #38784924;outline-offset:4px;border-radius:3px}
.account-auth-standalone{padding-top:18px}.account-auth-standalone h3{margin:0 0 7px;font:600 23px Georgia;color:var(--green-dark)}
.account-auth-copy{margin:0 0 16px;color:var(--muted);font-size:11px;line-height:1.55}
.account-auth-copy a,.consent-row a{color:var(--green-dark);font-weight:700}
.account-auth-secondary-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;flex-wrap:wrap}
.account-auth-secondary-actions .ghost{min-height:38px}.account-auth-secondary-actions .ghost:disabled{opacity:.55;cursor:not-allowed}
.account-reset-state{margin:14px 0;padding:14px;border-radius:10px;background:var(--green-soft);color:var(--green-dark);font-size:12px;line-height:1.5}.account-reset-invalid{background:#f9e5e3;color:var(--danger)}
.account-auth-panel .shop-cta{border:0;cursor:pointer}.account-auth-panel .shop-cta:disabled{opacity:.6;cursor:wait}
.account-auth-message{margin:10px 0 0;padding:10px 12px;border-radius:9px;font-size:11px;line-height:1.45}.account-auth-message:empty{display:none}.account-auth-message[role="alert"]{background:#f9e5e3;color:var(--danger)}.account-auth-message[role="status"]{background:var(--green-soft);color:var(--green-dark)}
.account-auth-note{margin:14px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.account-name-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.account-name-fields label{min-width:0}@media(max-width:560px){.account-name-fields{grid-template-columns:1fr}}
.account-admin-access{margin:18px 0 0;padding:16px;border:1px solid #aec7b3;border-radius:14px;background:var(--green-soft)}.account-admin-access h3{font:600 20px Georgia;margin:5px 0}.account-admin-access p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.account-admin-access form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:9px;margin-top:13px}.account-admin-access>p{margin-top:9px;color:var(--green-dark)}.account-admin-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px}.account-admin-actions p{margin:0;color:var(--green-dark);font-weight:700}
.account-email-verification{margin:18px 0 0;padding:16px;border:1px solid #d4ad66;border-radius:14px;background:#fff8e9;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.account-email-verification[hidden]{display:none}.account-email-verification b{color:#6c4813}.account-email-verification p{margin:5px 0 0;color:#765f3a;font-size:11px;line-height:1.5}.account-email-verification>p{grid-column:1/-1;margin:0;color:var(--green-dark)}
.shipping-country-note{grid-column:1/-1;color:var(--muted);font-size:10px;line-height:1.4}
.account-security{margin:16px 0;border:1px solid var(--line);border-radius:11px;padding:11px 13px}.account-security summary{cursor:pointer;color:var(--green-dark);font-weight:750;font-size:12px}.account-security form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:end;margin-top:12px}.account-security form button{min-height:40px}.account-security form p{grid-column:1/-1;margin:0;font-size:11px;color:var(--green-dark)}
@media(max-width:680px){.account-scroll{padding:0 16px 18px}.account-shell>header{padding:18px 16px 14px}.account-auth-actions{align-items:stretch;flex-direction:column}.account-auth-actions .shop-cta{width:100%}.account-admin-access form,.account-security form{grid-template-columns:1fr}.account-email-verification{grid-template-columns:1fr}.account-contact-grid{grid-template-columns:1fr}.account-contact-wide{grid-column:auto}}
.admin-auth-policy-card{margin-top:18px}.admin-auth-policy-layout{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:18px}.admin-auth-policy-layout>label{display:grid;gap:6px;font-size:11px;font-weight:750}.admin-auth-policy-layout small{color:var(--muted);font-weight:500;line-height:1.45}.admin-auth-policy-layout button{min-height:42px}@media(max-width:680px){.admin-auth-policy-layout{grid-template-columns:1fr}}
@media(max-width:760px){.account-contact-grid{grid-template-columns:1fr}.account-contact-wide{grid-column:auto}.account-contact-actions{align-items:stretch;flex-direction:column}.account-contact-actions button{width:100%}}

/* Shop v29: honest photo placeholders, editable starters and spinner-safe units. */
.shop-photo-placeholder{position:absolute;right:10px;top:10px;padding:5px 7px;border:1px dashed rgba(37,48,39,.28);border-radius:7px;background:rgba(255,255,255,.82);color:var(--muted);font-size:8px;font-weight:750}.shop-design-sample{position:absolute;bottom:7px;color:var(--muted);font-size:8px;letter-spacing:.08em;text-transform:uppercase}.design-template-picker{display:grid;gap:7px;margin:14px 0 18px}.design-template-picker>span{font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--muted)}.design-template-picker>div{display:grid;gap:6px}.design-template-picker button{display:grid;gap:2px;text-align:left;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff}.design-template-picker button.active{border-color:var(--green);background:var(--green-soft)}.design-template-picker button b{font-size:11px}.design-template-picker button small,.design-template-picker>small{color:var(--muted);font-size:9px;line-height:1.35}.field-grid label{position:static;min-width:0}.input-with-unit,.value-with-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.input-with-unit input,.value-with-unit input{min-width:0}.field-grid em,.input-with-unit em,.value-with-unit em{position:static;right:auto;bottom:auto;font-style:normal;font-size:10px;color:var(--muted);white-space:nowrap}.series-current-editor{display:grid;gap:8px;padding:10px;border-radius:10px;background:var(--green-soft)}.series-current-editor>div:first-child{display:grid}.series-current-editor small{color:var(--muted);font-size:9px}.series-current-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end}.series-current-actions button{border:1px solid #d9aaa6;background:#fff;color:var(--danger);border-radius:8px;padding:9px;font-size:9px}.series-current-actions button:disabled{opacity:.4}

/* Shop v30: a single template entry point with faithful design previews. */
.design-template-picker .design-template-open{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid #bdcbbf;border-radius:12px;background:linear-gradient(135deg,#f6faf7,#edf4ef);color:var(--ink);text-align:left;box-shadow:0 7px 18px rgba(35,62,45,.07)}.design-template-open span{display:grid;gap:3px}.design-template-open b{font-size:12px}.design-template-open small{font-size:9px;color:var(--muted)}.design-template-open i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;font-style:normal;font-size:15px}.design-template-dialog{width:min(980px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:18px;background:#f8f6f0;color:var(--ink);box-shadow:0 28px 80px rgba(20,31,24,.3)}.design-template-dialog::backdrop{background:rgba(24,32,27,.62);backdrop-filter:blur(3px)}.design-template-shell{padding:22px;overflow:auto;max-height:calc(100vh - 28px)}.design-template-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.design-template-shell>header h2{margin:3px 0 0;font:700 clamp(22px,3vw,34px) Georgia,serif}.design-template-shell>p{max-width:700px;margin:10px 0 18px;color:var(--muted);line-height:1.5}.design-template-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.design-template-card{min-width:0;display:grid;grid-template-columns:minmax(170px,.9fr) minmax(180px,1.1fr);gap:0;padding:0;overflow:hidden;border:1px solid #d8d4c8;border-radius:15px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 8px 20px rgba(41,45,39,.06);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.design-template-card:hover,.design-template-card:focus-visible{transform:translateY(-2px);border-color:#7d9f87;box-shadow:0 12px 28px rgba(39,68,49,.14);outline:none}.design-template-card.active{border-color:var(--green);box-shadow:0 0 0 2px rgba(49,99,70,.15)}.design-template-preview{position:relative;min-height:190px;display:grid;place-items:center;padding:13px;background:linear-gradient(145deg,#e9e2d5,#f6f1e8)}.design-template-preview.cork{background:linear-gradient(145deg,#c7a270,#ead1aa)}.design-template-preview svg{display:block;width:100%;height:168px;overflow:visible}.template-blank{fill:#e5c18a;stroke:#8c6239;stroke-width:.5}.design-template-preview.cork .template-blank{fill:#c8975d;stroke:#75502f}.template-safe{fill:none;stroke:#68806c;stroke-width:.3;stroke-dasharray:1.5 1.5;opacity:.8}.template-mark{pointer-events:none}.template-mark.laser{fill:#3b2618;stroke:#3b2618;stroke-width:.18}.template-mark.mill{fill:#6e4526;stroke:#f1d39b;stroke-width:.28;paint-order:stroke fill;filter:drop-shadow(.25px .35px .25px rgba(65,38,19,.45))}.design-template-preview rect.template-mark{fill:rgba(59,38,24,.08);stroke-width:.65;stroke-dasharray:1.6 1}.template-operation-legend{position:absolute;left:10px;right:10px;bottom:9px;display:flex;justify-content:center;gap:6px;pointer-events:none}.template-operation-legend span{padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.88);font-size:8px;font-weight:800}.template-operation-legend .mill{color:#704522}.template-operation-legend .laser{color:#2f2119}.design-template-card-copy{display:flex;flex-direction:column;padding:18px 16px}.design-template-card-copy b{font:700 17px Georgia,serif}.design-template-card-copy small{margin-top:7px;color:var(--muted);font-size:10px;line-height:1.45}.design-template-card-copy em{margin-top:auto;padding-top:16px;color:var(--green);font-size:9px;font-style:normal;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.inquiry-legal b{color:#8a4b08}@media(max-width:760px){.design-template-gallery{grid-template-columns:1fr}.design-template-card{grid-template-columns:145px minmax(0,1fr)}.design-template-preview{min-height:160px}.design-template-preview svg{height:140px}}@media(max-width:470px){.design-template-shell{padding:16px}.design-template-card{grid-template-columns:1fr}.design-template-preview{min-height:180px}}

/* Shop v31: real workpiece boundaries in Admin and customer previews. */
.template-form select,.template-form textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff}.admin-polygon-field{grid-column:1/-1}.admin-polygon-field small{color:var(--muted);font-weight:400;line-height:1.4}.admin-boundary-preview{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fafaf7}.admin-boundary-preview svg{width:110px;height:78px}.admin-boundary-preview path{fill:#dec096;stroke:#7d5a34;stroke-width:1;vector-effect:non-scaling-stroke}.admin-boundary-preview svg.invalid path{display:none}.admin-boundary-preview p{display:grid;gap:4px;margin:0}.admin-boundary-preview p span{color:var(--muted);font-size:10px;line-height:1.4}.template-disc.shape-preview{border-radius:10px;background:#f0ece2;overflow:hidden;position:relative}.template-disc.shape-preview svg{width:42px;height:34px}.template-disc.shape-preview path{fill:#dec096;stroke:#7d5a34;stroke-width:1;vector-effect:non-scaling-stroke}.template-disc.shape-preview.cork path{fill:#c29a67}.template-disc.shape-preview span{position:absolute;bottom:1px;font-size:6px;color:#514536;background:rgba(255,255,255,.8);padding:0 2px;border-radius:2px}.shop-product-shape{width:145px;height:145px;overflow:visible;filter:drop-shadow(0 12px 14px rgba(65,46,26,.2))}.shop-product-shape path{fill:#ddb77e;stroke:#8b633b;stroke-width:.7;vector-effect:non-scaling-stroke}.shop-product-visual.cork .shop-product-shape path{fill:#c4945c}.shop-product-shape text{font:7px Georgia,serif;fill:#3b2b1c}
.admin-dxf-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-dxf-pair[hidden]{display:none}.admin-dxf-step{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fafaf7}.admin-dxf-step textarea{grid-column:1/-1;font:11px/1.35 ui-monospace,Consolas,monospace;resize:vertical}.admin-dxf-step button{padding:7px 9px}.admin-boundary-preview .admin-mill-path{fill:none;stroke:#2f7662;stroke-width:1.5;stroke-dasharray:4 3}.admin-boundary-preview .admin-origin-cross{fill:none;stroke:#b34d3f;stroke-width:1}.admin-boundary-preview svg.invalid .admin-origin-cross{display:none}@media(max-width:680px){.admin-dxf-pair{grid-template-columns:1fr}}

/* Shop v36: stable canvas and compact Word-like formatting ribbon. */
.editor-ribbon{display:flex;align-items:end;gap:8px;min-height:54px;margin:9px 0 0;padding:7px 9px;border:1px solid #d8d5cc;border-radius:12px;background:rgba(255,255,255,.88);box-shadow:0 5px 15px rgba(51,57,49,.06);overflow-x:auto}.editor-ribbon label{display:grid;gap:3px;min-width:118px;font-size:9px;font-weight:800;color:var(--muted)}.editor-ribbon select,.editor-ribbon input{height:30px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:4px 8px;color:var(--ink)}.editor-ribbon .ribbon-title{align-self:center;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 8px;color:var(--green-dark)}.editor-ribbon .ribbon-size{position:relative;min-width:82px;width:82px}.editor-ribbon .ribbon-size input{padding-right:25px}.editor-ribbon .ribbon-size em{position:absolute;right:7px;bottom:8px;font-size:8px;font-style:normal}.ribbon-fixed,.ribbon-empty{align-self:center;padding:8px 10px;border-radius:8px;background:var(--green-soft);font-size:10px;font-weight:800;color:var(--green-dark)}.font-preview{display:block;border:1px dashed #c9c5ba;border-radius:8px;padding:7px 9px;background:#fbfaf6;font-size:18px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.template-symbol-fill{stroke:none!important}.template-symbol-line{fill:none!important;vector-effect:non-scaling-stroke}.left-panel{padding:17px 18px}.left-panel .panel-intro{margin:0 0 10px}.left-panel .layer-list{margin:12px 0;max-height:170px;overflow:auto}.left-panel .inspector{margin-top:13px;padding-top:12px;gap:9px}.left-panel .quick-add-grid button{padding:6px 3px}.left-panel .quick-add-grid b{font-size:16px}.left-panel .dxf-upload-button{padding:8px}.left-panel .field-grid{gap:7px}.left-panel .inspector input,.left-panel .inspector select,.left-panel .inspector textarea{padding:7px}
@media(min-width:1051px){.editor-workspace{height:calc(100dvh - 138px);min-height:620px;overflow:hidden}.editor-workspace>.panel{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.canvas-area{min-height:0;overflow:hidden;grid-template-rows:auto auto auto minmax(0,1fr) auto;padding:14px 20px}.board-wrap{min-height:0;height:100%;overflow:hidden;padding:4px}.design-board{display:block;width:100%;height:100%;max-width:690px;max-height:100%}.ruler{padding:7px 5% 2px}.canvas-hint{margin:5px 0 0}}
@media(max-width:760px){.editor-ribbon{align-items:end}.editor-ribbon .ribbon-title{display:none}.font-preview{font-size:16px}}
.canvas-area{grid-template-rows:auto auto auto minmax(0,1fr) auto}
@media(min-width:761px) and (max-width:1050px){.canvas-area{align-content:start;grid-template-rows:auto auto auto min(70vh,650px) auto}.board-wrap{align-self:start;min-height:0;height:min(70vh,650px);padding:4px;overflow:hidden}.design-board{display:block;width:100%;height:100%;max-width:690px;max-height:100%}}

/* Shop v37: clear product capabilities, Word-like editor and first-class templates. */
.shop-footer nav{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:7px}.shop-footer nav a{font-weight:750;text-underline-offset:3px}
.shop-capability-badges{position:absolute;left:12px;bottom:12px;display:flex;flex-wrap:wrap;gap:5px;max-width:calc(100% - 24px)}.shop-capability-badges em{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 3px 10px rgba(45,39,29,.09);font-size:8px;font-style:normal;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.shop-capability-badges .laser{color:#2f4e3b}.shop-capability-badges .mill{background:#654527;color:#fff}
.editor-workspace{grid-template-columns:292px minmax(420px,1fr) 360px}.left-panel{display:flex;min-height:0;flex-direction:column;overflow:hidden!important}.left-panel .product-picker{flex:0 0 auto}.left-panel .design-template-picker{flex:0 0 auto;margin:10px 0 12px}.quick-add{flex:0 0 auto}.quick-add-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.quick-add-primary button{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 5px;display:grid;grid-template-columns:auto 1fr;gap:6px;align-items:center;text-align:left;font-size:10px;font-weight:800}.quick-add-primary button b{font-size:13px;color:var(--green)}.symbol-library{margin-top:7px;border:1px solid var(--line);border-radius:10px;background:#fafaf7}.symbol-library summary{padding:8px 10px;list-style:none;font-size:10px;font-weight:800;color:var(--green-dark)}.symbol-library summary::-webkit-details-marker{display:none}.symbol-library summary::after{content:'＋';float:right}.symbol-library[open] summary::after{content:'−'}.symbol-library .quick-add-grid{padding:0 7px 7px}.layer-heading{display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding-top:11px;border-top:1px solid var(--line);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.layer-heading small{color:var(--muted);font-size:8px;font-weight:500;letter-spacing:0;text-transform:none}.left-panel .layer-list{flex:1 1 auto;min-height:84px;max-height:none;margin:8px 0 0;overflow:auto}
.right-panel{padding:17px 18px}.right-panel .selection-panel,.right-panel .order-panel{min-width:0}.right-panel .selection-panel{padding-bottom:18px;border-bottom:1px solid var(--line)}.right-panel .order-panel{padding-top:18px}.right-panel .inspector{margin:0;padding:0;border:0}.right-panel h2{font-size:22px;margin-bottom:12px}.right-panel .series-switch{border:1px solid #b8cdbd}.right-panel .series-editor{border-color:#b8cdbd;background:#f7faf7}.right-panel .series-editor textarea{min-height:125px}
.editor-ribbon{align-items:end;flex-wrap:wrap;overflow:visible}.editor-ribbon>label{min-width:105px;flex:0 1 135px}.editor-ribbon .ribbon-primary{order:-20}.editor-ribbon .ribbon-operation{min-width:185px;flex:1 1 195px;padding:6px 8px;border-radius:9px;background:var(--green-soft);color:var(--green-dark)}.editor-ribbon .ribbon-operation select{border-color:#9fb9a6;font-weight:800}.editor-ribbon .ribbon-text{min-width:160px;flex:2 1 205px}.editor-ribbon .ribbon-text input{font-weight:700}.editor-ribbon .ribbon-size{flex:0 0 76px}.editor-ribbon .ribbon-series{align-self:end;height:30px;white-space:nowrap;border:1px solid #9fb9a6;border-radius:8px;background:#fff;padding:5px 10px;color:var(--green-dark);font-size:9px;font-weight:850}.editor-ribbon .ribbon-series.active{background:var(--green);color:#fff}.editor-ribbon .ribbon-fixed.ribbon-primary{padding:10px 12px}.template-edit-banner{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding:9px 11px;border:1px solid #c6a36b;border-radius:11px;background:#fff7e9}.template-edit-banner>span{display:grid;margin-right:auto}.template-edit-banner small{color:#765e38;font-size:9px}.template-edit-banner button{padding:7px 10px;font-size:10px}.canvas-area{grid-template-rows:auto auto auto auto minmax(0,1fr) auto}
.admin-template-manager{display:grid;grid-template-columns:1.35fr .85fr;gap:20px;margin-top:20px}.admin-template-description{grid-column:1/-1}.template-letter{border-radius:13px;background:var(--green-soft);color:var(--green-dark);font:750 22px Georgia}.template-item>div:nth-child(2)>span{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.35}.admin-template-manager .template-item-actions{max-width:225px}.admin-template-manager .template-item-actions .edit{border-color:#9db8a4;background:var(--green-soft);color:var(--green-dark);font-weight:800}
.design-template-empty{grid-column:1/-1;display:grid;justify-items:center;gap:8px;padding:45px 20px;border:1px dashed #bfc7bc;border-radius:15px;background:#fff;text-align:center}.design-template-empty span{color:var(--muted);font-size:11px}.design-template-empty button{margin-top:6px}
@media(min-width:1051px){.canvas-area{grid-template-rows:auto auto auto auto minmax(0,1fr) auto}.right-panel{overflow-y:auto!important}.right-panel .order-panel{padding-bottom:10px}}
@media(max-width:1050px){.editor-workspace{grid-template-columns:280px 1fr}.right-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.right-panel .selection-panel{padding:0 20px 0 0;border:0;border-right:1px solid var(--line)}.right-panel .order-panel{padding:0}.admin-template-manager{grid-template-columns:1fr}}
@media(max-width:760px){.editor-workspace{display:block}.left-panel{display:block;overflow:visible!important}.left-panel .layer-list{max-height:210px}.right-panel{display:block}.right-panel .selection-panel{padding:0 0 18px;border:0;border-bottom:1px solid var(--line)}.right-panel .order-panel{padding-top:18px}.editor-ribbon .ribbon-operation{min-width:185px}.editor-ribbon .ribbon-text{min-width:165px}.template-edit-banner{align-items:stretch;flex-wrap:wrap}.template-edit-banner>span{flex-basis:100%}.admin-template-manager{display:grid}.shop-capability-badges{bottom:8px}}

/* Shop v40: account templates, reversible editing and an always-visible order summary. */
.history-controls{display:flex;align-items:center;gap:5px}.history-controls button{display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px 9px;color:var(--green-dark);font-size:9px;font-weight:800}.history-controls button span{font-size:16px;line-height:1}.history-controls button:disabled{opacity:.35;cursor:default}
.customer-template-shortcut{width:100%;margin-top:6px;border:1px dashed #9db5a2;border-radius:9px;background:#fff;padding:8px;color:var(--green-dark);font-size:9px;font-weight:800}.customer-template-section{margin-top:22px;padding-top:20px;border-top:1px solid #d8d4c8}.customer-template-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.customer-template-section h3{margin:4px 0;font:700 24px Georgia,serif}.customer-template-section header p{margin:0;color:var(--muted);font-size:10px}.customer-template-save-form{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px;align-items:end;margin-top:14px;padding:12px;border:1px solid #b8cdbd;border-radius:12px;background:#f2f7f3}.customer-template-save-form label{display:grid;gap:5px;font-size:10px;font-weight:800}.customer-template-save-form input{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px}.customer-template-save-form>div{display:flex;gap:6px}.customer-template-status{min-height:16px;margin:9px 0;color:var(--green-dark);font-size:10px}.customer-template-status.error{color:var(--danger)}.customer-template-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-template-empty{grid-column:1/-1;display:grid;justify-items:center;gap:8px;padding:24px;border:1px dashed #bdc7bd;border-radius:12px;background:#fff;text-align:center;color:var(--muted);font-size:10px}.customer-template-empty span{max-width:480px}.customer-template-card{position:relative;min-width:0;overflow:hidden;border:1px solid #d8d4c8;border-radius:15px;background:#fff;box-shadow:0 7px 18px rgba(41,45,39,.06)}.customer-template-load{width:100%;display:grid;grid-template-columns:minmax(145px,.9fr) minmax(150px,1.1fr);gap:0;padding:0;border:0;background:#fff;text-align:left}.customer-template-load>.design-template-preview{min-height:165px}.customer-template-load>.design-template-preview svg{height:142px}.customer-template-load>span{display:flex;min-width:0;flex-direction:column;padding:15px}.customer-template-load>span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 16px Georgia,serif}.customer-template-load>span small{margin-top:6px;color:var(--muted);font-size:9px}.customer-template-load>span em{margin-top:auto;padding:12px 0 20px;color:var(--green);font-size:8px;font-style:normal;font-weight:850;text-transform:uppercase}.customer-template-delete{position:absolute;right:9px;bottom:8px;border:0;background:transparent;color:var(--danger);font-size:9px;text-decoration:underline;text-underline-offset:2px}
.editor-ribbon{gap:6px;padding:6px 7px}.editor-ribbon>label{min-width:92px;flex:0 1 118px}.editor-ribbon .ribbon-operation{min-width:170px;flex:1 1 185px}.editor-ribbon .ribbon-text{min-width:145px;flex:2 1 190px}.editor-ribbon .ribbon-size,.editor-ribbon .ribbon-width{position:relative;min-width:72px;flex:0 0 76px}.editor-ribbon .ribbon-size input,.editor-ribbon .ribbon-width input{padding-right:22px}.editor-ribbon .ribbon-size em,.editor-ribbon .ribbon-width em{position:absolute;right:6px;bottom:8px;font-size:8px;font-style:normal}.ribbon-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;align-items:end}.ribbon-group>span{grid-column:1/-1;color:var(--muted);font-size:9px;font-weight:800}.ribbon-group label{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px;min-width:0}.ribbon-group label small{font-size:8px}.ribbon-group label input{width:54px;padding:4px 17px 4px 5px}.ribbon-group label em{position:absolute;right:4px;bottom:8px;color:var(--muted);font-size:7px;font-style:normal}.ribbon-position{flex:0 0 190px}.ribbon-arc{flex:0 0 112px}.ribbon-arc button{height:30px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:1px 8px;font-size:18px}.ribbon-arc button.active{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}
@media(min-width:1180px){.editor-workspace{grid-template-columns:292px minmax(0,1fr) 360px}.right-panel{display:flex;min-height:0;flex-direction:column;overflow:hidden!important}.right-panel .order-panel{flex:0 0 auto;padding:0 0 14px;border-bottom:1px solid var(--line)}.right-panel .selection-panel{flex:1 1 auto;min-height:110px;overflow-y:auto;padding:14px 2px 0;border:0}.right-panel .selection-panel h2{margin-bottom:10px}}
@media(min-width:761px) and (max-width:1179px){.editor-workspace{height:auto;min-height:calc(100vh - 138px);grid-template-columns:280px minmax(0,1fr);overflow:visible}.right-panel{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;border-left:0;border-top:1px solid var(--line);overflow:visible!important}.right-panel .order-panel{grid-column:1;padding:0 20px 0 0;border-right:1px solid var(--line)}.right-panel .selection-panel{grid-column:2;padding:0;border:0;overflow:visible}.canvas-area{min-width:0}}
@media(max-width:760px){.right-panel .order-panel{padding:0 0 18px;border-bottom:1px solid var(--line)}.right-panel .selection-panel{padding:18px 0 0;border:0}.customer-template-section>header{display:grid}.customer-template-gallery{grid-template-columns:1fr}.customer-template-save-form{grid-template-columns:1fr}.customer-template-load{grid-template-columns:130px minmax(0,1fr)}.canvas-toolbar .history-controls{order:2}.editor-ribbon{overflow:visible}.ribbon-position{flex:1 1 190px}}
@media(max-width:450px){.cart-button span{display:inline!important}.history-controls button{padding:6px}.history-controls button:not(:disabled){font-size:0}.history-controls button span{font-size:16px}.customer-template-load{grid-template-columns:1fr}.customer-template-load>.design-template-preview{min-height:180px}}

/* Shop v41: collision-free formatting ribbon and true curved-text fields. */
.editor-ribbon .ribbon-metric{min-width:92px;flex:0 0 96px}
.editor-ribbon .ribbon-width{min-width:116px;flex-basis:116px}
.editor-ribbon .ribbon-input-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px;height:30px;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff;padding-right:6px}
.editor-ribbon .ribbon-input-unit input{width:100%;min-width:0;height:28px;border:0!important;border-radius:0;background:transparent;padding:4px 2px 4px 6px}
.editor-ribbon .ribbon-input-unit em{position:static!important;align-self:center;color:var(--muted);font-size:8px;font-style:normal;white-space:nowrap;pointer-events:none}
.ribbon-position{display:grid;gap:3px;min-width:236px;flex:1 1 250px;color:var(--muted);font-size:9px;font-weight:800}
.ribbon-position-fields{display:grid;grid-template-columns:repeat(3,minmax(72px,1fr));gap:5px}
.ribbon-position-fields label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px;min-width:0}
.ribbon-position-fields label small{font-size:8px}
.ribbon-position-fields .ribbon-input-unit{min-width:0}
.ribbon-curve{display:grid;grid-template-columns:auto minmax(92px,1fr);gap:3px 7px;align-items:end;min-width:220px;flex:1 1 230px}
.ribbon-curve>span{grid-column:1/-1;color:var(--muted);font-size:9px;font-weight:800}
.ribbon-arc-buttons{display:grid;grid-template-columns:repeat(3,36px);gap:4px}
.ribbon-arc-buttons button{width:36px;min-width:36px;height:30px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0;font-size:18px}
.ribbon-arc-buttons button.active{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}
.editor-ribbon .ribbon-curve .ribbon-arc-height{min-width:92px;max-width:none;flex:none}
.selection-caption{display:none;fill:#2b6c49;font:700 1.45px/1.2 Arial,sans-serif;paint-order:stroke;stroke:#f7f1e5;stroke-width:.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.art-object.selected .selection-caption{display:block}
.text-field-ring{stroke:#24734a;stroke-width:.55;stroke-dasharray:1.6 1;fill:rgba(66,132,88,.035)}
.text-field-explainer{display:grid;gap:5px;padding:11px;border:1px solid #bdd0c1;border-radius:11px;background:#f2f7f3}
.text-field-explainer small{color:var(--muted);font-size:10px;line-height:1.5}
.text-field-explainer span{padding-top:4px;border-top:1px solid #d2dfd4;color:var(--green-dark);font-size:9px;font-weight:800;line-height:1.4}
@media(max-width:760px){.ribbon-position{min-width:100%;flex-basis:100%}.ribbon-position-fields{grid-template-columns:repeat(3,minmax(68px,1fr))}.ribbon-curve{min-width:220px}}
.account-templates{padding:22px 0;border-bottom:1px solid var(--line)}
.account-templates>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px}
.account-templates h3{margin:3px 0 0;font:600 22px Georgia}
.account-templates>p{margin:8px 0 14px;color:var(--muted);font-size:11px;line-height:1.45}
#account-template-list{display:grid;gap:9px}
.account-template{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fbfbf8}
.account-template-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:var(--green-soft);color:var(--green-dark);font-size:18px}
.account-template>div:nth-child(2){min-width:0;display:grid;gap:3px}
.account-template>div:nth-child(2) b,.account-template>div:nth-child(2) span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-template>div:nth-child(2) small{color:var(--muted);font-size:9px}
.account-template>div:nth-child(2) span{font-size:10px}
.account-template-actions{display:flex;gap:5px}
.account-template-actions button{border:1px solid #9db8a4;border-radius:8px;background:#fff;padding:7px 9px;color:var(--green-dark);font-size:9px;font-weight:800}
.account-template-actions .remove{border-color:#dec0bd;color:var(--danger)}
@media(max-width:620px){.account-templates>div:first-child{align-items:stretch;flex-direction:column}.account-template{grid-template-columns:auto minmax(0,1fr)}.account-template-actions{grid-column:1/-1}.account-template-actions button{flex:1}}
.admin-discount-manager{display:grid;grid-template-columns:1.35fr .85fr;gap:20px;margin-top:20px}
.discount-list{display:grid;gap:9px;margin-top:18px}
.discount-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff}
.discount-item.inactive{opacity:.55}
.discount-ticket{width:42px;height:42px;display:grid;place-items:center;border:1px dashed #8eaa96;border-radius:10px;background:var(--green-soft);color:var(--green-dark);font:700 20px Georgia}
.discount-item>div:nth-child(2){min-width:0;display:grid;gap:3px}
.discount-item>div:nth-child(2)>b{color:var(--green-dark);font:700 12px ui-monospace,Consolas,monospace;letter-spacing:.04em}
.discount-item small{color:var(--muted);font-size:9px;line-height:1.4}
.discount-code-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}
.discount-code-field button{padding:8px 9px;font-size:9px}
@media(max-width:900px){.admin-discount-manager{grid-template-columns:1fr}}
@media(max-width:560px){.discount-item{grid-template-columns:auto minmax(0,1fr)}.discount-item .template-item-actions{grid-column:1/-1;justify-content:stretch}.discount-item .template-item-actions button{flex:1}}
.coupon-box{display:grid;grid-template-columns:minmax(140px,.55fr) minmax(250px,1fr);gap:8px 14px;align-items:end;margin:17px 0;padding:14px;border:1px dashed #a9bcae;border-radius:13px;background:#f5f8f5}
.coupon-box>div:first-child{display:grid;gap:3px}
.coupon-box>div:first-child small{color:var(--muted);font-size:9px}
.coupon-entry{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
.coupon-entry input{min-width:0;border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px;text-transform:uppercase;font-weight:800;letter-spacing:.04em}
.coupon-entry button{padding:8px 10px;font-size:10px}
.coupon-box p{grid-column:1/-1;min-height:14px;margin:0;color:var(--muted);font-size:10px}
.coupon-box p.ok,.coupon-total{color:var(--green-dark)}
.coupon-box p.error{color:var(--danger)}
.cart-totals .coupon-total b{color:var(--green-dark)}
@media(max-width:620px){.coupon-box{grid-template-columns:1fr}.coupon-entry{grid-template-columns:minmax(0,1fr) auto}.coupon-entry #coupon-remove{grid-column:1/-1}}
