
:root{--ink:#171a1d;--ink2:#353b3f;--muted:#6f777d;--line:#dde2e2;--paper:#fff;--canvas:#f3f1ec;--accent:#e85b35;--accent2:#c64022;--teal:#197f7a;--tealsoft:#e4f3f1;--danger:#ad3434;--success:#26794f;--radius:16px;--shadow:0 18px 50px rgba(24,28,29,.09);--font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{color-scheme:light}body{margin:0;color:var(--ink);background:var(--canvas);font-family:var(--font);font-size:15px;line-height:1.55}a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1{margin-bottom:10px;font-size:clamp(29px,4vw,43px);line-height:1.07;letter-spacing:-.035em}h2{margin-bottom:7px;font-size:22px;line-height:1.2;letter-spacing:-.02em}small{color:var(--muted)}
.brand{display:inline-flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{display:inline-grid;width:37px;height:37px;place-items:center;color:#fff;background:var(--accent);border-radius:10px;font-size:21px;font-weight:900;transform:rotate(-3deg)}.brand strong,.brand small{display:block;line-height:1.1;letter-spacing:.04em}.brand strong{font-size:16px}.brand small{margin-top:4px;color:inherit;opacity:.62;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.eyebrow{display:block;margin-bottom:8px;color:var(--accent);font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.button{display:inline-flex;min-height:43px;align-items:center;justify-content:center;gap:8px;padding:9px 17px;border:1px solid transparent;border-radius:11px;font-weight:760;text-decoration:none;transition:.15s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.45}.button-primary{color:#fff;background:var(--ink);box-shadow:0 7px 18px rgba(23,26,29,.14)}.button-primary:hover:not(:disabled){background:var(--accent)}.button-secondary{color:var(--ink);background:#fff;border-color:var(--line)}.button-ghost{min-height:36px;padding:6px 10px;color:var(--muted);background:transparent}.button-danger{color:var(--danger);background:#fff1f1;border-color:#efcccc}.button-small{min-height:34px;padding:5px 11px;font-size:13px}.button-large{min-height:52px;padding:13px 23px}.button-full{width:100%}.text-link{color:var(--teal);font-weight:760;text-decoration:none}
input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cdd3d4;border-radius:10px;color:var(--ink);background:#fff;outline:none;transition:.15s}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(25,127,122,.11)}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;padding:0;accent-color:var(--teal)}input[type=color]{min-height:43px;padding:4px}input[type=range]{padding:0;border:0;box-shadow:none;accent-color:var(--accent)}label{display:grid;gap:7px;color:var(--ink2);font-size:13px;font-weight:720}label small{font-weight:500}.stack{display:grid;gap:17px}.grid{display:grid;gap:18px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.span-2{grid-column:span 2}.check{display:flex;align-items:flex-start;gap:9px}.check input{flex:0 0 auto}.top-gap{margin-top:23px}
.alert{margin-bottom:20px;padding:14px 16px;border:1px solid;border-radius:12px}.alert-error{color:#7e2424;background:#fff1f1;border-color:#efcaca}.alert-success{color:#1f6340;background:#ebf8f1;border-color:#c6e9d6}.alert-info{color:#165b63;background:#e7f5f5;border-color:#c2e4e2}
.public-header{padding:19px clamp(20px,5vw,70px);border-bottom:1px solid rgba(23,26,29,.09);background:rgba(255,255,255,.88)}.public-header-inner{width:min(100%,1480px);margin:auto}.public-footer{padding:25px 20px 35px;color:var(--muted);font-size:12px;text-align:center}.state-page{min-height:68vh;display:grid;place-items:center;padding:45px 20px}.state-card{width:min(100%,740px);padding:clamp(29px,6vw,60px);border-top:5px solid var(--accent);border-radius:24px;background:#fff;box-shadow:var(--shadow);text-align:center}.state-card p{max-width:590px;margin:0 auto;color:var(--muted);font-size:17px}.state-steps{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:28px}.state-steps span,.pill{display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--tealsoft);color:var(--teal);font-size:12px;font-weight:760}.success-icon{display:grid;width:64px;height:64px;place-items:center;margin:0 auto 18px;border-radius:50%;color:#fff;background:var(--success);font-size:30px;font-weight:900}.reference-box{display:inline-grid;gap:2px;margin:27px auto 14px;padding:13px 24px;border:1px solid var(--line);border-radius:12px;background:#f7f7f5}.reference-box span{color:var(--muted);font-size:11px;text-transform:uppercase}.reference-box strong{letter-spacing:.12em}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:27px 20px 20px;color:#fff;background:var(--ink)}.sidebar .brand{padding:0 7px 28px}.sidebar-nav{display:grid;gap:5px}.sidebar-nav a{padding:11px 13px;border-radius:9px;color:#cbd0d2;font-weight:660;text-decoration:none}.sidebar-nav a:hover,.sidebar-nav a.active{color:#fff;background:rgba(255,255,255,.08)}.sidebar-user{margin-top:auto;padding:16px 12px 4px;border-top:1px solid rgba(255,255,255,.12)}.sidebar-user span,.sidebar-user small{display:block}.sidebar-user small{margin:2px 0 10px;color:#929a9e}.sidebar-user .button{color:#b9c0c2;padding-left:0}.page{width:min(100%,1380px);margin:auto;padding:42px clamp(22px,4vw,56px) 80px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:27px}.page-heading p{max-width:730px;margin:0;color:var(--muted)}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.panel{margin-bottom:24px;padding:25px;border:1px solid rgba(205,212,213,.85);border-radius:var(--radius);background:#fff;box-shadow:0 8px 25px rgba(24,28,29,.035)}.panel-heading,.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.panel-heading p,.section-heading p{margin:0;color:var(--muted)}.section-heading>div{display:flex;align-items:center;gap:13px}.section-heading h2{margin:0}.section-number{display:inline-grid;width:36px;height:36px;place-items:center;flex:0 0 auto;border-radius:50%;color:var(--accent);background:#fff0ea;font-size:11px;font-weight:850}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{display:grid;gap:5px;min-height:142px;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.stat>span{color:var(--muted);font-weight:650}.stat>strong{font-size:41px;line-height:1.1}.stat small{align-self:end}.stat-accent{color:#fff;border-color:var(--teal);background:var(--teal)}.stat-accent span,.stat-accent small{color:rgba(255,255,255,.72)}
.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:14px 12px;border-bottom:1px solid #e9ecec;text-align:left;vertical-align:middle}th{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}td small{display:block;margin-top:3px}tbody tr:last-child td{border-bottom:0}.row-actions{display:flex;justify-content:flex-end;gap:12px}.row-actions a{color:var(--teal);font-weight:720;text-decoration:none;white-space:nowrap}.status{display:inline-flex;padding:5px 9px;border-radius:999px;color:#5b6266;background:#eef0f0;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}.status-active,.status-approved,.status-converted{color:#246846;background:#e5f5ed}.status-draft,.status-reviewing{color:#795a16;background:#fff4d9}.status-archived,.status-rejected{color:#8b3838;background:#f3e8e8}.status-received{color:#1b6975;background:#e4f1f4}.status-revision_requested{color:#96551c;background:#fff0dd}.empty{padding:42px 20px;color:var(--muted);text-align:center}.empty strong{display:block;color:var(--ink);font-size:17px}
.form-section{padding:29px}.current-image{display:flex;align-items:center;gap:11px}.current-image img{width:100px;height:76px;object-fit:contain;border:1px solid var(--line);border-radius:9px}.toggle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.toggle{display:flex;align-items:flex-start;gap:11px;min-height:88px;padding:15px;border:1px solid var(--line);border-radius:11px;background:#fbfbfa}.toggle input{flex:0 0 auto;margin-top:3px}.toggle strong,.toggle small{display:block}.repeater{display:grid;gap:13px}.repeat-row{position:relative;padding:17px;border:1px solid var(--line);border-radius:12px;background:#fafbfa}.repeat-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.icon-button{width:35px;height:35px;border:1px solid #e5caca;border-radius:9px;color:var(--danger);background:#fff3f3;font-size:21px}.form-actions{position:sticky;z-index:5;bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:4px;padding:15px 18px;border-radius:14px;color:#fff;background:rgba(23,26,29,.96);box-shadow:0 18px 45px rgba(0,0,0,.18)}.form-actions span{color:#bdc3c5;font-size:13px}
.copy-field{display:flex;gap:10px}.copy-field input{font-family:ui-monospace,monospace}.split{display:grid;grid-template-columns:minmax(310px,.8fr) minmax(500px,1.4fr);gap:24px;align-items:start}.link-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid #e8ebeb}.link-item:last-child{border:0}.link-item strong,.link-item code,.link-item small{display:block}.link-item code{margin:2px 0;color:var(--muted)}.detail-list{margin:0}.detail-list>div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;padding:11px 0;border-bottom:1px solid #eceeee}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;font-weight:650}.file-list{display:grid;gap:10px}.file-list a{display:grid;grid-template-columns:1fr auto;gap:12px;padding:13px;border:1px solid var(--line);border-radius:10px;text-decoration:none}.file-list a:hover{border-color:var(--teal)}
.designer-intro{width:min(100% - 40px,1480px);display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:38px auto 23px}.designer-intro p{max-width:760px;margin-bottom:9px;color:var(--muted)}.public-alert,#designer-form{width:min(100% - 40px,1480px);margin-left:auto;margin-right:auto}.designer-app{display:grid;grid-template-columns:335px minmax(0,1fr);min-height:690px;overflow:hidden;border:1px solid #d9dddc;border-radius:20px;background:#fff;box-shadow:var(--shadow)}.designer-tools{padding:21px;border-right:1px solid var(--line);background:#fbfbf9;overflow-y:auto}.tool-section{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.tool-label{display:block;margin-bottom:8px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.tool-title{display:flex;justify-content:space-between;gap:9px;margin-bottom:12px}.tool-title span{color:var(--muted);font-size:11px}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:11px 0}.area-tabs{display:flex;flex-wrap:wrap;gap:7px}.area-tabs button{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff;font-size:12px;font-weight:750}.area-tabs button.active{color:#fff;border-color:var(--teal);background:var(--teal)}.upload-box{display:grid;place-items:center;padding:22px 12px;border:1px dashed #aeb7b8;border-radius:11px;background:#fff;text-align:center;cursor:pointer}.upload-box input{position:absolute;width:1px;height:1px;opacity:0}.upload-box span{color:var(--teal);font-weight:800}.designer-stage-wrap{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;background:#eceae5}.stage-toolbar{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #d9dcda;background:rgba(255,255,255,.72)}.designer-stage{display:grid;min-height:560px;place-items:center;padding:35px;overflow:auto;background-image:linear-gradient(45deg,rgba(0,0,0,.025) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.025) 25%,transparent 25%);background-size:26px 26px}.product-board{position:relative;width:min(90%,760px);overflow:hidden;border:1px solid rgba(0,0,0,.11);border-radius:12px;background:#fff;box-shadow:0 20px 45px rgba(0,0,0,.14);user-select:none}.product-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.product-placeholder{position:absolute;inset:0;display:grid;place-content:center;color:#a1a6a5;background:linear-gradient(135deg,#fff,#f0efec);text-align:center}.product-placeholder span{font-size:clamp(25px,5vw,65px);font-weight:900;letter-spacing:.08em;opacity:.2}.design-area{position:absolute;overflow:hidden;border:2px dashed rgba(232,91,53,.78);background:rgba(255,255,255,.12);touch-action:none}.design-element{position:absolute;min-width:22px;min-height:18px;border:1px solid transparent;cursor:move;touch-action:none}.design-element.selected{border-color:var(--teal);outline:3px solid rgba(25,127,122,.16)}.design-element-text{display:flex;align-items:flex-start;overflow:hidden;white-space:pre-wrap;line-height:1.05}.design-element-image img{width:100%;height:100%;object-fit:contain;pointer-events:none}.stage-hint{padding:11px 18px;color:var(--muted);background:rgba(255,255,255,.72);font-size:12px;text-align:center}.customer-section{margin:25px 0 35px;padding:clamp(23px,4vw,38px);border:1px solid var(--line);border-radius:20px;background:#fff}.customer-heading{display:flex;gap:14px;margin-bottom:27px}.customer-heading p{margin:0;color:var(--muted)}.consent{display:flex;align-items:flex-start;gap:11px;margin-top:24px;padding:15px;border-radius:11px;background:#f5f4f1;font-weight:550}.consent input{flex:0 0 auto;margin-top:3px}.submit-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:25px;padding-top:23px;border-top:1px solid var(--line)}.submit-row strong,.submit-row small{display:block}.help-card{width:min(100% - 40px,820px);margin:42px auto;padding:clamp(25px,5vw,48px);border-radius:22px;background:#fff;box-shadow:var(--shadow)}.help-steps{display:grid;gap:13px;margin:28px 0;padding:0;list-style:none;counter-reset:steps}.help-steps li{display:grid;grid-template-columns:auto 1fr;gap:4px 13px;padding:14px;border:1px solid var(--line);border-radius:11px;counter-increment:steps}.help-steps li:before{grid-row:span 2;content:counter(steps);display:grid;width:31px;height:31px;place-items:center;border-radius:50%;color:#fff;background:var(--teal);font-weight:800}.help-steps span{color:var(--muted)}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.grid-4{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.designer-app{grid-template-columns:290px minmax(0,1fr)}}@media(max-width:820px){.admin-shell{display:block}.sidebar{position:static;height:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:13px 18px}.sidebar .brand{padding:0}.sidebar-nav{display:flex;justify-content:center}.sidebar-user{margin:0;padding:0;border:0}.sidebar-user span,.sidebar-user small{display:none}.page{padding-top:27px}.page-heading{align-items:flex-start;flex-direction:column}.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}.toggle-grid{grid-template-columns:repeat(2,1fr)}.designer-intro{align-items:flex-start;flex-direction:column}.designer-app{grid-template-columns:1fr}.designer-tools{border-right:0;border-bottom:1px solid var(--line)}.designer-stage{min-height:480px;padding:22px}}@media(max-width:580px){h1{font-size:30px}.page{padding:22px 14px 60px}.sidebar{grid-template-columns:1fr auto}.sidebar-nav{grid-column:1/-1;order:3;justify-content:flex-start;overflow-x:auto;margin-top:8px}.page-heading .button,.heading-actions{width:100%}.heading-actions .button{flex:1}.panel,.form-section{padding:18px}.stats,.grid-2,.grid-3,.grid-4,.toggle-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.section-heading{align-items:flex-start;flex-direction:column}.form-actions,.submit-row{align-items:stretch;flex-direction:column}.copy-field{flex-direction:column}.detail-list>div{grid-template-columns:1fr;gap:3px}.designer-intro,#designer-form,.public-alert{width:min(100% - 22px,1480px)}.designer-app,.customer-section{border-radius:13px}.designer-stage{min-height:380px;padding:14px}.stage-toolbar{flex-direction:column;gap:2px}.tool-grid{grid-template-columns:1fr}}

.designer-focus-layout { grid-template-rows: auto auto auto; grid-template-columns: minmax(0, 1fr); align-content: start; background: #fff; }
.designer-focus-layout .designer-stage { --designer-board-inset: 35px; display: block; place-items: normal; min-height: 0; margin-inline: auto; padding: 0; background: none; overflow: hidden; overflow-anchor: none; overscroll-behavior-x: contain; }
.designer-focus-layout .designer-stage-zoomed { overflow: auto; }
.designer-camera { position: relative; overflow: clip; }
.product-board.designer-photo-board { border: 0; border-radius: 0; box-shadow: none; }
.designer-camera > .product-board { position: absolute; top: 0; left: 0; margin: 0; transform-origin: top left; }
.designer-focus-layout .stage-toolbar { flex-wrap: wrap; }
.designer-focus-layout .zoom-controls { flex-wrap: wrap; align-self: flex-start; }
.designer-focus-layout .zoom-controls button[aria-pressed="true"] { color: var(--teal); background: var(--tealsoft); }
@media(max-width:820px) { .designer-focus-layout .designer-stage { --designer-board-inset: 22px; } }
@media(max-width:580px) { .designer-focus-layout .designer-stage { --designer-board-inset: 14px; } }
.visual-editor{display:grid;gap:16px}.visual-uploadbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8f9f7}.visual-uploadbar>div strong,.visual-uploadbar>div small{display:block}.upload-button{position:relative;display:inline-flex;min-width:235px;align-items:center;justify-content:center;flex-direction:column;padding:14px 18px;border:1px dashed var(--teal);border-radius:11px;color:var(--teal);background:#fff;cursor:pointer}.upload-button input{position:absolute;width:1px;height:1px;opacity:0}.upload-button span{font-weight:800}.visual-tabs{display:flex;gap:9px;overflow-x:auto;padding:2px}.visual-tab{position:relative;display:grid;grid-template-columns:62px minmax(90px,1fr);gap:10px;align-items:center;min-width:190px;padding:8px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:left}.visual-tab.active{border-color:var(--teal);box-shadow:0 0 0 3px rgba(25,127,122,.1)}.visual-tab img{width:62px;height:50px;border-radius:7px;background:#eee;object-fit:cover}.visual-tab span{display:block;font-weight:760}.visual-tab small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.visual-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);gap:18px;align-items:start}.visual-canvas-column{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#eceae5}.visual-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fff}.visual-primary-tools{display:flex;align-items:center;gap:12px}.visual-toolbar span{color:var(--muted);font-size:12px}.visual-toolbar.drawing{background:#fff3ed}.zoom-controls{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff}.zoom-controls button{min-width:32px;height:32px;padding:0 8px;border:0;border-radius:7px;color:var(--ink);background:#f1f2f1;font-size:13px;font-weight:800}.zoom-controls button:hover{color:#fff;background:var(--teal)}.zoom-controls output{min-width:55px;color:var(--ink2);font-size:11px;font-weight:800;text-align:center}.visual-stage{position:relative;width:100%;min-height:390px;margin:auto;overflow:auto;background-image:linear-gradient(45deg,rgba(0,0,0,.025) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.025) 25%,transparent 25%);background-size:24px 24px;touch-action:pan-x pan-y;user-select:none}.visual-zoom-layer{position:relative;width:100%;margin:auto;transform-origin:top left}.visual-zoom-layer>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.visual-empty{position:absolute;inset:0;display:grid;place-content:center;gap:4px;padding:30px;color:var(--muted);text-align:center}.visual-empty strong{color:var(--ink);font-size:18px}.visual-overlay{position:absolute;inset:0;cursor:default}.visual-overlay.drawing{cursor:crosshair}.finish-area{position:absolute;display:grid;place-items:center;min-width:24px;min-height:24px;border:2px solid var(--accent);border-radius:4px;color:#fff;background:rgba(232,91,53,.2);box-shadow:0 0 0 1px rgba(255,255,255,.75) inset;cursor:move;touch-action:none}.finish-area.selected{border-color:var(--teal);background:rgba(25,127,122,.22);box-shadow:0 0 0 3px rgba(25,127,122,.15)}.finish-area span{max-width:90%;padding:3px 6px;border-radius:5px;background:rgba(23,26,29,.8);font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.finish-area .resize-handle{position:absolute;right:-7px;bottom:-7px;width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:var(--teal);cursor:nwse-resize}.finish-area.draft{border-style:dashed;pointer-events:none}.area-inspector{min-height:390px;padding:19px;border:1px solid var(--line);border-radius:14px;background:#fff}.area-inspector h3{margin-bottom:4px}.area-inspector>p{margin-bottom:18px;color:var(--muted)}.area-inspector .inspector-actions{display:flex;gap:9px;margin-top:18px}.area-inspector .color-field{display:grid;grid-template-columns:58px 1fr;gap:9px}.area-inspector .color-field input[type=color]{height:44px}.area-inspector .empty{padding:60px 15px}.color-presets{display:flex;gap:6px;flex-wrap:wrap}.color-presets button{padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:11px;font-weight:750}.engraving-preview{display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;background:#f5f2ed}.engraving-preview span{width:29px;height:29px;border:1px solid rgba(0,0,0,.12);border-radius:50%}.font-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:30px 0 13px}.font-heading p{margin:0;color:var(--muted)}.font-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.font-option{display:flex;align-items:center;gap:9px;min-height:49px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fbfbfa;font-size:14px;font-weight:500;cursor:pointer}.font-option:has(input:checked){border-color:var(--teal);background:var(--tealsoft)}.font-option input{flex:0 0 auto}.engraving-color-note{display:flex;align-items:center;gap:8px;grid-column:span 1;padding:8px;border-radius:9px;background:#f1eee8}.engraving-color-note span{width:24px;height:24px;flex:0 0 auto;border:1px solid rgba(0,0,0,.15);border-radius:50%;background:#8b6a45}.engraving-color-note small{line-height:1.2}.designer-stage.zoomed{place-items:start}.designer-stage.zoomed .product-board{margin:0}.stage-toolbar>div:first-child{display:grid;gap:2px}.stage-toolbar>div:first-child span{color:var(--muted);font-size:12px}.link-item{grid-template-columns:minmax(0,1fr) auto}.link-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.link-actions form{margin:0}.link-note{margin-top:6px;color:#96551c}.link-actions .status{margin-right:2px}
.design-element-text.auto-width{min-width:0;min-height:0;padding:1px 2px;overflow:hidden;white-space:nowrap}.design-element-text.multiline{padding:1px 2px;white-space:pre-wrap}.design-element.invalid{border-color:var(--danger);outline:3px solid rgba(180,45,45,.2)}.text-width-measure{position:fixed;left:-10000px;top:-10000px;z-index:-1;padding:1px 2px;visibility:hidden;white-space:pre;line-height:1.05}.element-warning:not([hidden]){display:block;margin:12px 0;padding:11px 12px;border:1px solid #efb2aa;border-radius:9px;color:#8d2d24;background:#fff3f1;font-size:12px;font-weight:700;line-height:1.4}
.customer-preview-card{margin-top:26px;overflow:hidden;border:1px solid #cfd8d7;border-radius:16px;background:#f7f7f4}.customer-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid var(--line);background:#fff}.customer-preview-heading h3{margin:2px 0 4px;font-size:22px}.customer-preview-heading p{margin:0;color:var(--muted)}.customer-preview-live{padding:6px 9px;border-radius:999px;color:#0c6b61;background:#dff3ed;font-size:10px;font-weight:900;letter-spacing:.09em}.customer-preview-tabs{display:flex;gap:7px;overflow-x:auto;padding:12px 18px;border-bottom:1px solid var(--line);background:#fbfbfa}.customer-preview-tabs button{flex:0 0 auto;padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff;font-size:12px;font-weight:750}.customer-preview-tabs button.active{color:#fff;border-color:var(--teal);background:var(--teal)}.customer-preview-tabs:empty{display:none}.customer-preview-grid{display:grid;grid-template-columns:285px minmax(0,1fr);min-height:420px}.customer-preview-controls{display:grid;align-content:start;gap:14px;padding:20px;border-right:1px solid var(--line);background:#fff}.customer-preview-controls label{margin:0}.customer-preview-controls output{float:right;color:var(--teal);font-weight:850}.customer-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.customer-preview-actions .button{padding-left:8px;padding-right:8px}.customer-preview-note{padding:11px 12px;border-radius:9px;color:#445053;background:#eef1ef;font-size:12px;line-height:1.4}.customer-preview-note.warning{color:#8d2d24;background:#fff0ed}.customer-preview-stage{display:grid;min-width:0;min-height:420px;place-items:center;padding:28px;overflow:auto;background-color:#e8e7e2;background-image:linear-gradient(45deg,rgba(0,0,0,.025) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.025) 25%,transparent 25%);background-size:26px 26px}.customer-preview-empty{display:grid;gap:4px;max-width:370px;color:var(--muted);text-align:center}.customer-preview-empty[hidden],.customer-preview-board[hidden]{display:none}.customer-preview-empty strong{color:var(--ink);font-size:18px}.customer-preview-board{position:relative;width:min(100%,720px);overflow:hidden;border:1px solid rgba(0,0,0,.13);border-radius:11px;background:#fff;box-shadow:0 18px 38px rgba(0,0,0,.14)}.customer-preview-board>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.customer-preview-finish{position:absolute;overflow:hidden;border:2px dashed rgba(232,91,53,.82);background:rgba(255,255,255,.1)}.customer-preview-text{position:absolute;top:50%;left:50%;display:inline-flex;align-items:flex-start;max-width:none;min-width:0;padding:1px 2px;border:1px solid var(--teal);outline:3px solid rgba(25,127,122,.16);color:#8b6a45;line-height:1.05;white-space:nowrap;transform:translate(-50%,-50%)}.customer-preview-text.too-wide{border-color:var(--danger);outline-color:rgba(180,45,45,.22)}.customer-preview-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:11px 18px;border-top:1px solid var(--line);color:var(--muted);background:#fff;font-size:11px}.customer-preview-legend span{display:inline-flex;align-items:center;gap:6px}.customer-preview-legend i{display:inline-block;width:22px;height:11px}.customer-preview-legend .legend-area{border:2px dashed var(--accent)}.customer-preview-legend .legend-text{border:1px solid var(--teal);outline:2px solid rgba(25,127,122,.14)}.customer-preview-legend strong{margin-left:auto;color:var(--ink2)}
@media(max-width:1100px){.font-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.visual-workspace,.customer-preview-grid{grid-template-columns:1fr}.area-inspector{min-height:auto}.font-grid{grid-template-columns:repeat(2,1fr)}.customer-preview-controls{border-right:0;border-bottom:1px solid var(--line)}.customer-preview-stage{min-height:360px}}@media(max-width:700px){.link-item{grid-template-columns:1fr}.link-actions{justify-content:flex-start}}@media(max-width:580px){.visual-uploadbar,.visual-toolbar,.font-heading,.customer-preview-heading{align-items:stretch;flex-direction:column}.upload-button{width:100%}.font-grid{grid-template-columns:1fr}.visual-stage{min-height:280px}.customer-preview-actions{grid-template-columns:1fr}.customer-preview-stage{min-height:280px;padding:14px}.customer-preview-legend strong{width:100%;margin-left:0}}

[data-designer] [hidden], [data-order-create] [hidden], .visual-editor [hidden] { display: none !important; }
.check-line { display: flex; align-items: center; gap: .7rem; }
.check-line input { flex: 0 0 auto; }
.product-graphics .font-heading { margin-top: 0; }
.product-graphics .graphic-category { margin-top: 10px; }
.graphic-category, .order-copy { border: 1px solid var(--line); border-radius: 10px; }
.graphic-category > summary, .order-copy > summary { cursor: pointer; font-weight: 700; padding: 12px 14px; }
.graphic-category-tools { display: flex; justify-content: flex-end; padding: 0 12px 10px; }
.graphic-category > .graphic-grid { padding: 0 12px 12px; }
.graphic-library-section { margin-top: 18px; }
.graphic-library-section h2 small { margin-left: 6px; color: var(--muted); font-weight: 500; }
.graphic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; align-items: stretch; }
.graphic-tile { position: relative; display: grid; grid-template-rows: 76px auto; gap: 8px; align-items: start; min-width: 0; margin: 0;
  padding: 10px 9px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); text-align: left; }
.graphic-tile:has(input:checked) { background: var(--tealsoft); border-color: var(--teal); }
button.graphic-tile:hover, button.graphic-tile:focus-visible, label.graphic-tile:hover { border-color: var(--teal); }
.graphic-tile img { display: block; width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.graphic-tile input[type=checkbox] { position: absolute; top: 8px; right: 8px; }
.graphic-tile figcaption, .graphic-tile > span { display: grid; gap: 3px; }
.graphic-tile strong { font-size: 12px; line-height: 1.28; overflow-wrap: anywhere; }
.graphic-tile small { font-size: 10px; color: var(--muted); }
.graphic-dialog { margin: auto; width: min(100% - 28px, 790px); max-height: min(85vh, 760px); padding: clamp(15px, 3vw, 26px);
  border: 1px solid var(--line); border-radius: 18px; background: #fbfbf9; color: var(--ink); overflow: auto; }
.graphic-dialog::backdrop { background: rgba(20, 24, 25, .58); }
.graphic-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.graphic-dialog-heading h2 { margin: 0; }
.graphic-dialog-grid { margin-top: 16px; }
.design-element-graphic { min-width: 0; min-height: 0; }
.design-element-graphic svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.tool-section > .element-warning { margin-bottom: 14px; }
.element-rotation { min-width: 0; padding: 11px 10px 8px; margin: 6px 0 12px; border: 1px solid var(--line); border-radius: 10px; }
.element-rotation legend { padding: 0 5px; color: var(--ink); font-size: 13px; font-weight: 800; }
.rotation-buttons { display: grid; grid-template-columns: 1fr 1fr auto; gap: 5px; }
.rotation-buttons .button { white-space: nowrap; padding-inline: 8px; min-height: 36px; box-shadow: none; }
.rotation-range { display: grid; grid-template-columns: minmax(0, 1fr) 43px; align-items: center; gap: 8px; margin-top: 8px; }
.rotation-range input[type=range] { margin: 0; }
.rotation-range output { color: var(--ink); text-align: end; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.design-elements .tool-title { align-items: center; margin-bottom: 9px; }
.design-elements .tool-title span { border-radius: 999px; background: #e9eae5; color: #465254; padding: 2px 8px; font-size: 11px; }
.design-element-list { display: grid; gap: 5px; max-height: 184px; overflow-y: auto; padding: 2px; margin: 0; list-style: none; }
.design-element-choice { display: grid; width: 100%; min-width: 0; grid-template-columns: 29px minmax(0, 1fr); gap: 8px; align-items: center;
  padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-align: start; }
.design-element-choice[aria-pressed=true] { border-color: var(--teal); background: var(--tealsoft); }
.design-element-choice strong, .design-element-choice small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.design-element-choice strong { font-size: 12px; }
.design-element-choice small { color: var(--muted); font-size: 10px; }
.design-choice-icon { display: grid; place-items: center; height: 29px; padding: 4px; border-radius: 6px; background: #f3f3f0; font-weight: 750; }
.design-choice-icon img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }

.order-position { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(88px, .5fr) auto; gap: 12px;
  align-items: end; margin-bottom: 8px; padding: 12px; background: #f7f7f4; border: 1px solid var(--line); border-radius: 11px; }
.order-position label { margin: 0; }
.order-position [data-order-variant-wrap][hidden] + label { grid-column: 3; }
.order-form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.order-form-actions .button { white-space: normal; }
.order-portal { width: min(100% - 40px, 1120px); margin: 35px auto 55px; }
.order-welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(215px, 270px); align-items: center; gap: 28px;
  padding: clamp(22px, 4vw, 45px); margin-bottom: 25px; border: 1px solid #d9dddc; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.order-welcome h1 { margin: 6px 0 10px; overflow-wrap: anywhere; }
.order-welcome p { max-width: 510px; margin: 0; color: var(--muted); }
.order-reference { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.order-progress { display: grid; gap: 9px; padding: 18px; background: #edf3f0; border-radius: 12px; }
.order-progress strong { font-size: 17px; }
.order-progress progress { width: 100%; height: 10px; accent-color: var(--teal); }
.order-progress span, .order-progress a { font-size: 13px; }
.order-progress-steps { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 3px; color: #3d5553; }
.order-pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); align-items: start; gap: 16px; }
.order-piece { display: grid; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.order-piece-draft, .order-piece-received, .order-piece-reviewing { border-color: #b8d6e2; }
.order-piece-approved, .order-piece-converted { border-color: #a6cdb7; }
.order-piece-revision_requested, .order-piece-rejected { border-color: #e3c1ac; }
.order-piece-heading { padding: 13px 14px 11px; }
.order-piece-heading > div { display: flex; align-items: center; justify-content: space-between; gap: 5px; flex-wrap: wrap; }
.order-piece-heading small, .order-piece-preview figcaption { color: var(--muted); }
.order-piece-heading h2 { margin: 5px 0 0; font-size: 19px; line-height: 1.22; overflow-wrap: anywhere; }
.order-piece-preview { margin: 0 13px; }
.order-piece-preview figcaption { margin-top: 4px; font-size: 11px; }
.order-piece-media { display: grid; place-items: center; height: 158px; padding: 10px;
  overflow: hidden; background: #f3f2ef; border: 1px solid #e5e4df; border-radius: 9px; }
.order-piece-media > img, .order-artwork-svg { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.order-piece-artwork { background-color: #e6e6e2; background-image: conic-gradient(#f0f0ec 25%, transparent 0 50%, #f0f0ec 0 75%, transparent 0);
  background-size: 14px 14px; }
.order-piece-product-media { height: auto; padding: 0; background: #f8f8f6; }
.order-design-photo, .order-piece-product-media .product-mockup { width: min(100%, calc(158px * var(--photo-ratio))); }
.order-design-photo { position: relative; display: block; overflow: hidden; }
.order-design-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.order-piece-product-media .product-mockups { width: 100%; margin: 0; }
.order-piece-product-media .product-mockup-board { border-radius: 0; box-shadow: none; }
.order-piece-body { padding: 12px 13px 14px; }
.order-status { display: inline-flex; width: max-content; max-width: 100%; align-items: center; border-radius: 999px;
  padding: 4px 9px; font-size: 11px; font-weight: 800; color: #364345; background: #edf1f0; }
.order-status-approved, .order-status-converted { color: #15563d; background: #dff2e7; }
.order-status-draft, .order-status-received, .order-status-reviewing { color: #124c65; background: #e4f0f6; }
.order-status-revision_requested, .order-status-rejected { color: #8b3a17; background: #fff0e3; }
.order-copy { margin-top: 8px; }
.order-copy summary { padding: 8px 10px; font-size: 13px; }
.order-copy form { padding: 0 10px 10px; }
.order-unavailable { margin: 0; font-size: 13px; color: var(--muted); }
.order-designer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; margin-bottom: 20px; }
.order-designer-top span { color: var(--muted); font-size: 13px; }
.order-designer-top + .designer-intro { margin-top: 16px; }
.order-result h1 { font-size: clamp(24px, 3vw, 37px); }
.submitted-artwork { min-height: 130px; display: grid; place-items: center; padding: 16px; border-radius: 11px; margin: 12px 0;
  border: 1px solid var(--line); background-color: #deded9;
  background-image: linear-gradient(45deg, #f1f1ec 25%, transparent 25%, transparent 75%, #f1f1ec 75%),
    linear-gradient(45deg, #f1f1ec 25%, transparent 25%, transparent 75%, #f1f1ec 75%);
  background-size: 24px 24px; background-position: 0 0, 12px 12px; }
.submitted-artwork img { display: block; width: min(100%, 640px); height: auto; max-height: 400px; object-fit: contain; }
.product-mockups { display: grid; gap: 18px; margin: 16px 0; }
.product-mockup { width: min(100%, 820px); margin: 0 auto; }
.product-mockup-board { position: relative; overflow: hidden; border-radius: 12px; background: #edece7; box-shadow: 0 0 0 1px var(--line); }
.product-mockup-photo, .product-mockup-surface { position: absolute; }
.product-mockup-photo { inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.product-mockup-surface { overflow: hidden; }
.product-mockup-surface svg { display: block; width: 100%; height: 100%; }
.product-mockup-legacy { position: absolute; left: 0; height: auto; max-width: none; transform-origin: top left; }
.product-mockup figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.artwork-measure-stage { position: fixed; top: 0; left: -20000px; visibility: hidden; pointer-events: none; }
[data-artwork-status]:not([hidden]) { margin: 0 0 18px; }
.legacy-artwork-status { margin: 8px 0; color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .order-position { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 8px; }
  .order-position label:first-child { grid-column: 1 / -1; }
  .order-position [data-order-variant-wrap][hidden] + label { grid-column: auto; }
  .order-welcome { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .graphic-grid { grid-template-columns: repeat(auto-fill, minmax(93px, 1fr)); }
  .order-portal { width: min(100% - 22px, 1120px); margin-top: 22px; }
  .order-save-section .order-form-actions .button { width: 100%; }
}

.product-photo-window { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.product-photo-window>img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-is-cropped { position: absolute; max-width: none; max-height: none; }
.product-photo-window > .photo-is-cropped, .product-mockup-photo.photo-is-cropped { object-fit: fill; }
.visual-primary-tools { display: flex; flex-wrap: wrap; }
.visual-primary-tools [data-draw-hint] { flex-basis: 100%; }
.visual-tab-photo { position: relative; display: grid; place-items: center; width: 60px; height: 42px; overflow: hidden; border-radius: 7px; background: #efeeeb; }
.visual-tab-photo-frame { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.visual-tab-photo-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 0; }
.visual-tab-photo-crop { width: min(100%, calc(42px * var(--photo-ratio))); height: auto; }
.visual-tab-photo-frame > .photo-is-cropped { object-fit: fill; }
.order-photo-crop { position: relative; display: block; width: min(100%, calc(138px * var(--photo-ratio))); overflow: hidden; }
.visual-stage-cropped { max-height: min(64dvh, 620px); }
.finish-area { min-width: 0; min-height: 0; }
.customer-preview-board-cropped { width: min(100%, 720px, calc(min(55dvh, 560px) * var(--photo-ratio))); }
.product-mockup-cropped { width: min(100%, 820px, calc(min(64dvh, 620px) * var(--photo-ratio))); }
.photo-crop-dialog { width: min(900px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(16px, 3vw, 28px); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.photo-crop-dialog::backdrop { background: rgba(23, 26, 29, .57); }
.photo-crop-header p { margin: 6px 0 18px; color: var(--muted); }
.photo-crop-stage { position: relative; isolation: isolate; width: min(100%, calc(57dvh * var(--crop-ratio))); margin: auto; overflow: hidden; background: #f1f1ed; cursor: crosshair; touch-action: none; user-select: none; }
.photo-crop-stage > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.photo-crop-guides { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.photo-crop-guide { position: absolute; display: flex; justify-content: center; align-items: center; overflow: hidden; border: 1px dashed #ff8a59; background: rgba(231, 84, 36, .12); color: #fff; font-size: 11px; font-weight: 750; text-shadow: 0 1px 3px #171a1d; }
.photo-crop-selection { position: absolute; z-index: 2; border: 2px solid #fff; outline: 1px solid var(--teal); box-shadow: 0 0 0 150vmax rgba(16, 20, 24, .53); cursor: move; }
.photo-crop-selection.crop-full-image { cursor: crosshair; }
.photo-crop-selection.crop-invalid { outline-color: var(--danger); }
.photo-crop-handle { position: absolute; z-index: 1; width: 20px; height: 20px; min-width: 0; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--teal); box-shadow: 0 1px 4px rgba(0, 0, 0, .22); }
.photo-crop-handle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.photo-crop-handle[data-crop-corner="nw"] { top: 0; left: 0; cursor: nwse-resize; }
.photo-crop-handle[data-crop-corner="ne"] { top: 0; right: 0; cursor: nesw-resize; }
.photo-crop-handle[data-crop-corner="sw"] { bottom: 0; left: 0; cursor: nesw-resize; }
.photo-crop-handle[data-crop-corner="se"] { bottom: 0; right: 0; cursor: nwse-resize; }
.photo-crop-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.photo-crop-footer > div { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-crop-footer output { color: var(--muted); font-size: 13px; font-weight: 700; }
.photo-crop-message:not(:empty) { margin: 12px 0 0; color: var(--danger); font-size: 13px; }
.photo-crop-message:empty { display: none; }

.submission-review .product-mockup { min-width: 0; width: min(100%, calc(min(76dvh, 780px) * var(--photo-ratio))); }
.submission-review .product-mockup figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.submission-review .product-mockup figcaption strong { min-width: 0; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.submission-review .product-mockup figcaption button { flex: 0 0 auto; }
.submission-review .submitted-artwork { gap: 12px; }
.submission-review .submitted-artwork img { width: 100%; max-height: 72dvh; }
.submission-review-dialog { width: calc(100vw - 28px); height: calc(100dvh - 28px); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.submission-review-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.submission-review-dialog::backdrop { background: rgba(18, 22, 25, .69); }
.review-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.review-dialog-header h2 { margin: 0; font-size: clamp(17px, 2vw, 23px); }
.review-dialog-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-dialog-tools .zoom-controls { flex-wrap: wrap; }
.review-viewer-stage { min-width: 0; min-height: 0; overflow: auto; overflow-anchor: none; scrollbar-width: thin; background: #eae9e5; }
.review-viewer-stage.review-can-pan { cursor: grab; }
.review-viewer-stage.review-is-panning { cursor: grabbing; user-select: none; }
.review-zoom-canvas { position: relative; overflow: clip; }
.review-zoom-canvas > .review-zoom-photo { position: absolute; display: block; max-width: none; max-height: none; margin: 0; object-fit: contain; }
@media(max-width:580px) { .submission-review-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); } .review-dialog-header { padding: 8px 10px; } }
