:root {
  --ink: #08243b;
  --muted: #667786;
  --line: #dbe3e8;
  --panel: #ffffff;
  --soft: #f3f6f7;
  --accent: #ed1b2f;
  --accent-dark: #bd1022;
  --etch: #85898c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #eef2f4; font-size: 16px; }
.app-loading body { min-height:100vh; overflow:hidden; }
.app-loading body > :not(.app-loader) { visibility:hidden; }
.app-loader { position:fixed; inset:0; z-index:10000; display:grid; place-content:center; justify-items:center; gap:14px; background:#f4f7f8; color:var(--ink); }
.app-loader span { width:38px; height:38px; border:4px solid #d7e0e5; border-top-color:var(--accent); border-radius:50%; animation:app-loader-spin .75s linear infinite; }
.app-loader strong { font-size:15px; letter-spacing:.01em; }
html:not(.app-loading) .app-loader { display:none; }
@keyframes app-loader-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .app-loader span { animation-duration:1.6s; } }
button, input, select { font: inherit; }
button, label.upload { -webkit-tap-highlight-color: transparent; }
.topbar { min-height:66px; display:flex; flex-wrap:wrap; gap:10px 20px; align-items:center; justify-content:space-between; padding:10px 28px; background:#fff; border-bottom:1px solid var(--line); }
.customer-preview-banner{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 28px;background:#102f43;color:#fff;font-size:14px;font-weight:700;box-shadow:0 2px 8px #0b1d2b2b}.customer-preview-banner[hidden]{display:none!important}.customer-preview-banner strong{color:#fff}.customer-preview-banner form{margin:0}.customer-preview-banner button{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid #fff;border-radius:999px;background:transparent;color:#fff;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}.customer-preview-banner button:hover{background:#fff;color:#102f43}.customer-preview-banner button:focus-visible{outline:3px solid #f7c948;outline-offset:3px}
.view-switch { display:flex; gap:4px; padding:4px; border:1px solid var(--line); border-radius:9px; background:var(--soft); }
.view-switch a,.view-switch span { display:block; padding:8px 12px; border-radius:6px; color:var(--ink); font-size:14px; font-weight:750; text-decoration:none; white-space:nowrap; }
.view-switch [aria-current="page"] { background:var(--accent); color:white; }
.view-switch a:hover { background:#e3e9ed; }
.view-switch a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 9px 3px 9px 3px; }
.status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #26a269; box-shadow: 0 0 0 4px #dcf5e8; }
.account-menu{position:relative}.account-menu summary{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#24475c;cursor:pointer;list-style:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary svg{width:21px;height:21px;fill:currentColor}.account-menu summary:hover,.account-menu[open] summary{border-color:#24475c;background:#eef4f6}.account-menu summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.account-menu-panel{position:absolute;right:0;top:calc(100% + 9px);z-index:50;display:grid;gap:7px;min-width:245px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 30px #102f4330;color:var(--ink)}.account-menu-panel span{color:var(--muted);font-size:12px;font-weight:750}.account-menu-panel strong{overflow-wrap:anywhere;font-size:14px}.account-menu-panel a{margin-top:4px;color:#b2232e;font-size:14px;font-weight:800;text-decoration:none}.account-menu-panel a:hover{text-decoration:underline}.account-menu-panel a:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:3px}
.app-shell { min-height: calc(100vh - 66px); display: grid; grid-template-columns: minmax(340px, 440px) 1fr; }
.controls { padding: 34px 32px 60px; background: var(--panel); border-right: 1px solid var(--line); overflow: auto; }
.intro { padding-bottom: 8px; }
.eyebrow { margin: 0 0 5px; color: var(--accent); font-size: 12px; line-height: 1.2; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(27px, 3vw, 36px); line-height: 1.08; letter-spacing: -.04em; }
.intro > p:last-child { color: var(--muted); line-height: 1.55; }
.side-picker { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin:10px 0 0; padding:4px; border-radius:10px; background:var(--soft); }
.side-button { min-height:38px; padding:8px 12px; border:0; border-radius:7px; color:var(--muted); background:transparent; font-size:13px; font-weight:800; cursor:pointer; }
.side-button.active { color:var(--ink); background:#fff; box-shadow:0 2px 8px rgba(18,44,63,.09); }
.copy-side { width:100%; margin-bottom:12px; color:var(--accent); }
.control-section { padding: 25px 0; border-top: 1px solid var(--line); }
.product-spec { margin:10px 0 0; color:var(--muted); font-size:13px; line-height:1.45; }
.section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.section-heading span { width: 25px; height: 25px; display: grid; place-items: center; color: var(--accent); background: #fff0f1; border-radius: 50%; font-size: 13px; font-weight: 800; }
.section-heading h2 { margin: 0; font-size: 17px; }
.colour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.colour { min-height: 62px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 700; }
.colour:hover { border-color: #aab7bf; }
.colour.active { border-color: var(--accent); box-shadow: 0 0 0 2px #ffe0e3; }
.swatch { width: 25px; height: 25px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.segmented { padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 10px; background: var(--soft); }
.segment { padding: 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 750; cursor: pointer; }
.segment.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(18, 44, 63, .09); }
.design-method-picker { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:4px; border-radius:10px; background:var(--soft); }
.design-method-button { min-height:42px; padding:9px 10px; border:0; border-radius:7px; color:var(--muted); background:transparent; font-size:13px; font-weight:800; cursor:pointer; }
.design-method-button:hover,.design-method-button.active { color:var(--ink); background:#fff; box-shadow:0 2px 8px rgba(18,44,63,.09); }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.field-list { display: grid; gap: 9px; }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.field-row.standard-control { grid-template-columns:34px 1fr auto; align-items:center; padding:3px; border:1px solid transparent; border-radius:9px; }
.field-row.standard-control.dragging { opacity:.42; }
.field-row.standard-control.drag-over { border-color:var(--accent); background:#fff5f6; }
.drag-handle { width:34px; height:36px; padding:9px 7px; display:flex; flex-direction:column; justify-content:center; gap:3px; border:0; border-radius:7px; color:var(--muted); background:transparent; cursor:grab; }
.drag-handle span { display:block; width:100%; height:2px; border-radius:2px; background:#8a98a1; }
.empty-fields { padding:15px; border:1px dashed var(--line); border-radius:8px; color:var(--muted); font-size:13px; line-height:1.4; text-align:center; }
.field-row input, .select-label select, .variable-fields input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.icon-button { width: 42px; border: 1px solid var(--line); border-radius: 8px; color: #84929b; background: #fff; cursor: pointer; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.primary, .secondary { min-height: 43px; padding: 10px 15px; border-radius: 8px; font-weight: 750; cursor: pointer; }
.secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.primary { border: 1px solid var(--accent); color: #fff; background: var(--accent); box-shadow: 0 5px 13px rgba(237, 27, 47, .2); }
.primary:hover { background: var(--accent-dark); }
.upload { display: flex; align-items: center; justify-content: center; }
.upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.remove-logo { margin-top:10px; padding:9px 12px; border:1px solid var(--line); border-radius:8px; color:var(--accent); background:#fff; font-size:14px; font-weight:750; cursor:pointer; }
.select-label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.select-label + .select-label { margin-top: 10px; }
.variable-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.variable-fields label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.variable-fields label.wide { grid-column: 1 / -1; }
.hidden { display: none !important; }
.workspace { min-width: 0; padding: 34px clamp(24px, 4vw, 58px); display: flex; flex-direction: column; }
.workspace-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.workspace-head h2 { margin: 0; font-size: 22px; }
.scale-note { padding: 7px 10px; border-radius: 7px; background: #dfe7ea; color: #49606f; font-size: 13px; font-weight: 750; }
.preview-card { position:relative; flex: 1; min-height: 520px; display: grid; place-items: center; padding: 28px; border: 1px solid #d6dfe4; border-radius: 18px; background-color: #fff; background-image: linear-gradient(45deg,#f5f7f8 25%,transparent 25%),linear-gradient(-45deg,#f5f7f8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f5f7f8 75%),linear-gradient(-45deg,transparent 75%,#f5f7f8 75%); background-size: 24px 24px; background-position: 0 0,0 12px,12px -12px,-12px 0; box-shadow: 0 14px 38px rgba(22, 46, 63, .08); }
.canvas-side-picker { position:absolute; right:14px; top:78px; z-index:13; display:flex; gap:5px; padding:5px; border:1px solid #cfd9df; border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 6px 20px rgba(20,45,60,.12); }
.canvas-side-button { min-width:72px; min-height:42px; padding:8px 14px; border:0; border-radius:8px; color:#526672; background:transparent; font-size:14px; font-weight:850; cursor:pointer; }
.canvas-side-button:hover,.canvas-side-button.active { color:#fff; background:var(--accent); }
.canvas-area-picker { position:absolute; right:14px; top:136px; z-index:13; display:flex; align-items:center; gap:6px; padding:5px; border:1px solid #cfd9df; border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 6px 20px rgba(20,45,60,.12); }
.canvas-area-picker > span { padding-left:7px; color:#526672; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.canvas-area-picker > div { display:flex; gap:4px; }
.canvas-area-button { min-height:36px; padding:7px 10px; border:0; border-radius:8px; color:#526672; background:transparent; font-size:12px; font-weight:800; cursor:pointer; }
.canvas-area-button:hover,.canvas-area-button.active { color:#fff; background:#172a36; }
.canvas-orientation { position:absolute; left:14px; top:78px; z-index:12; display:flex; gap:5px; padding:5px; border:1px solid #cfd9df; border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 6px 20px rgba(20,45,60,.12); }
.orientation-button { min-width:48px; display:grid; justify-items:center; gap:1px; padding:6px 8px; border:0; border-radius:8px; background:transparent; color:#526672; cursor:pointer; }
.orientation-button span { font-size:20px; line-height:1; }
.orientation-button small { font-size:11px; font-weight:750; }
.orientation-button:hover,.orientation-button.active { color:#fff; background:#172a36; }
.tag-stage { position:relative; width:540px; height:486.8584px; aspect-ratio:1321 / 1191; transform-origin:top left; user-select:none; }
#tag-image { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; pointer-events:none; opacity:0; }
#tag-image.ready { opacity:1; }
.flag-calibration { display:none; position:absolute; box-sizing:border-box; border:2px solid #087ea4; background:rgba(8,126,164,.035); pointer-events:none; z-index:2; }
.flag-calibration span { position:absolute; left:-2px; bottom:calc(100% + 5px); padding:3px 6px; border-radius:4px; color:#fff; background:#087ea4; font-size:11px; line-height:1; font-weight:750; white-space:nowrap; }
.marking-area { position:absolute; left:18.4565%; top:35.8330%; width:62.7085%; height:50.5842%; overflow:hidden; contain:layout paint; font-family:var(--marking-font,Arial,sans-serif); }
.marking-area-snapshot { position:absolute; box-sizing:border-box; overflow:hidden; contain:layout paint; container-type:size; font-family:var(--marking-font,Arial,sans-serif); z-index:3; }
.marking-area-snapshot .family-element,.marking-area-snapshot .design-item { pointer-events:none; }
.marking-area-selector { position:absolute; inset:0; z-index:20; width:100%; height:100%; padding:0; border:0; background:transparent; color:#fff; cursor:pointer; touch-action:none; }
.marking-area-selector:hover,.marking-area-selector:focus-visible { border-style:solid; background:rgba(255,255,255,.1); outline:2px solid rgba(11,111,153,.22); outline-offset:-2px; }
.custom-inline-text{display:block;width:100%;white-space:pre;overflow-wrap:normal}
.custom-inline-editing .custom-inline-text{cursor:text;user-select:text;outline:2px solid #0b6f99;background:rgba(255,255,255,.82)}
.editing-area-context{margin:0 0 8px;padding:8px 10px;border-left:3px solid #0b6f99;background:#eaf4f9;color:#143d55;font-size:13px;font-weight:800}
.control-section .canvas-area-picker{position:static;margin:0 0 12px;padding:5px;box-shadow:none;flex-wrap:wrap;justify-content:flex-start}
.control-section .canvas-area-picker>span{width:auto;text-align:left}
.control-section .canvas-area-picker>div{flex-wrap:wrap}
.marking-area-ui{position:absolute;z-index:8;pointer-events:none;overflow:visible}
.marking-area-label{position:absolute;white-space:nowrap;pointer-events:auto;padding:5px 8px;border:1px solid #8c9eaa;border-radius:6px;background:#fff;color:#354b59;font:700 12px/1.25 Arial,sans-serif;box-shadow:0 1px 4px #17334222;cursor:pointer;touch-action:none}
.marking-area-ui.is-active .marking-area-label{background:#0b6f99;border-color:#0b6f99;color:white}
.marking-area-label:focus-visible{outline:3px solid #172a36;outline-offset:3px}
.marking-area-leader{position:absolute;background:#637d8b}
.marking-area-ui.is-active .marking-area-leader{background:#0b6f99}
.marking-area-focus-corners{position:absolute;inset:-6px;display:none;outline:1px solid #ffffffcc;box-shadow:0 0 0 1px #172a3644;background:linear-gradient(#0b6f99,#0b6f99) left top/12px 3px no-repeat,linear-gradient(#0b6f99,#0b6f99) left top/3px 12px no-repeat,linear-gradient(#0b6f99,#0b6f99) right top/12px 3px no-repeat,linear-gradient(#0b6f99,#0b6f99) right top/3px 12px no-repeat,linear-gradient(#0b6f99,#0b6f99) left bottom/12px 3px no-repeat,linear-gradient(#0b6f99,#0b6f99) left bottom/3px 12px no-repeat,linear-gradient(#0b6f99,#0b6f99) right bottom/12px 3px no-repeat,linear-gradient(#0b6f99,#0b6f99) right bottom/3px 12px no-repeat}
.marking-area-ui.is-active .marking-area-focus-corners{display:block}
.mask-outline[data-inactive-area-guide]{opacity:.55}
.mask-outline.multi-area-active{outline-width:2px}
.marking-area-edge{position:absolute;pointer-events:auto;cursor:pointer}
.marking-area-edge.top{left:0;right:0;top:-5px;height:8px}.marking-area-edge.bottom{left:0;right:0;bottom:-5px;height:8px}.marking-area-edge.left{left:-5px;top:0;bottom:0;width:8px}.marking-area-edge.right{right:-5px;top:0;bottom:0;width:8px}
.design-item { position: absolute; min-width: 0; min-height: 0; padding: .6cqh .6cqw; display: flex; align-items: center; color: var(--etch); border: 1px solid transparent; font-size: 13px; line-height: 1.05; font-weight: 800; cursor: grab; overflow: hidden; touch-action: none; }
.design-item.selected { border-color: #0b6f99; outline: 2px solid rgba(11,111,153,.13); overflow:visible; z-index:50 !important; }
.design-item.boxed { border: var(--element-stroke,1px) solid currentColor; }
.design-item.logo { padding: .3cqh .3cqw; }
.design-item.logo img { width:100%; height:100%; object-fit:contain; pointer-events:none; }
.design-item.barcode { display: block; padding: .4cqh .5cqw; text-align: center; }
.design-item.barcode .barcode-svg { width: 100%; height: calc(100% - 11px); display: block; }
.design-item.barcode span { position:absolute; left:0; right:0; bottom:0; font-size:8px; letter-spacing:normal; text-align:center; background:transparent; }
.design-item.qrcode,.design-item.datamatrix { justify-content:center; padding:.3cqh .3cqw; }
.design-item .custom-matrix-code { display:grid; width:100%; height:100%; place-items:center; }
.design-item .custom-matrix-code svg { display:block; width:auto; height:auto; max-width:100%; max-height:100%; }
.design-item.field { border-color:currentColor; }
.design-item.rectangle { border-color:transparent; }
.design-item.line { min-height:0; padding:0; align-items:center; }
.design-item.line::before { content:none; }
.resize-handle { position:absolute; right:0; bottom:0; width:16px; height:16px; box-sizing:border-box; border:2px solid #fff; border-radius:3px; background:#0b6f99; box-shadow:0 0 0 1px #0b6f99; cursor:nwse-resize; }
.rotate-handle { position:absolute; left:50%; top:-22px; width:16px; height:16px; margin-left:-8px; box-sizing:border-box; border:2px solid #fff; border-radius:50%; background:#263742; box-shadow:0 0 0 1px #263742; cursor:grab; }
.rotate-handle::before { content:""; position:absolute; left:6px; top:-10px; width:1px; height:9px; background:#263742; }
.custom-snap-guides { position:absolute; inset:0; z-index:90; pointer-events:none; }
.custom-snap-guides i { display:none; position:absolute; background:#0b6f99; box-shadow:0 0 0 1px #fff9; }
.custom-guide-x { top:0; bottom:0; width:1px; }
.custom-guide-y { left:0; right:0; height:1px; }
.standard-layout { position:absolute; inset:0; overflow:hidden; color:var(--etch); font-weight:800; }
.standard-body { position:absolute; inset:2px 2px calc(13% + 2px); display:grid; grid-template-rows:minmax(0,1fr); gap:4px; min-height:0; overflow:hidden; }
.standard-layout:not(.has-footer) .standard-body { bottom:2px; }
.has-logo .standard-body { grid-template-rows:minmax(0,var(--logo-share)) minmax(0,1fr); }
.has-logo.fields-0 .standard-body { grid-template-rows:minmax(0,1fr); }
.standard-field-stack { display:flex; flex:1; min-height:0; flex-direction:column; gap:3px; }
.standard-field { display:flex; flex:1 1 0; min-height:0; min-width:0; border:1px solid var(--etch); background:transparent; }
.standard-field strong { display:flex; align-items:center; width:45%; min-width:0; height:100%; padding:2px 4px; font-size:20px; line-height:1.03; overflow:hidden; }
.field-heading-text { display:block; width:100%; overflow-wrap:anywhere; }
.standard-logo { position:relative; min-height:0; min-width:0; overflow:hidden; }
.standard-logo img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.standard-logo.logo-only img { inset:4%; width:92%; height:92%; }
.fixed-footer { position:absolute; left:2px; right:2px; bottom:2px; height:11%; display:flex; align-items:center; justify-content:center; gap:8px; overflow:hidden; white-space:nowrap; font-size:clamp(6px,1.1vw,10px); }
.fixed-footer i { width:1px; height:55%; background:currentColor; }
.empty-side-note { position:absolute; inset:0 0 13%; display:grid; place-content:center; color:rgba(96,103,107,.52); text-align:center; font-size:13px; letter-spacing:.12em; }
.standard-layout:not(.has-footer) .empty-side-note { bottom:0; }
.empty-side-note small { margin-top:4px; font-size:8px; letter-spacing:.08em; text-transform:uppercase; }
.workspace-footer { display: flex; justify-content: space-between; gap: 25px; align-items: center; margin-top: 18px; }
.view-switch[hidden]{display:none!important}
.print-side-options{display:grid;gap:8px;margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.print-side-options>span{color:#29465a;font-size:14px;font-weight:800}.print-side-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.print-side-options button{display:grid;gap:3px;padding:10px 12px;border:1px solid #cbd7dd;border-radius:8px;background:#fff;color:#29465a;font:inherit;text-align:left;cursor:pointer}.print-side-options button small{color:#667d8b;font-size:12px;font-weight:600}.print-side-options button.active{border-color:var(--accent);background:#fff1f3;box-shadow:0 0 0 1px var(--accent)}
.design-enquiry-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(15,35,52,.7)}.design-enquiry-dialog{position:relative;width:min(620px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.3)}.design-enquiry-copy{padding:28px 32px}.design-enquiry-copy h2{margin:0;color:#14344d;font-size:32px;line-height:1.08}.design-enquiry-copy>p{color:#607382;line-height:1.45}.design-enquiry-preview{margin:16px 0 0}.design-enquiry-preview-frame{display:grid;place-items:center;min-height:130px;max-height:165px;padding:8px;border:1px solid #d8e1e5;border-radius:9px;background:repeating-conic-gradient(#f7f9fa 0 25%,#eef2f4 0 50%) 50%/18px 18px;color:#607382;font-size:13px;font-weight:700}.design-enquiry-preview-frame img{display:block;max-width:100%;max-height:150px;object-fit:contain}.design-enquiry-preview figcaption{margin-top:5px;color:#607382;font-size:12px;font-weight:700;text-align:center}.design-enquiry-copy form{display:grid;gap:11px;margin-top:16px}.design-enquiry-copy label{display:grid;gap:6px;font-weight:700;color:#29465a;font-size:14px}.design-enquiry-copy label span{font-weight:400}.design-enquiry-copy input,.design-enquiry-copy textarea{width:100%;padding:10px;border:1px solid #b8c7d0;border-radius:5px;font:inherit}.design-enquiry-copy textarea{min-height:72px;resize:vertical}.design-enquiry-email{font-size:13px}.design-enquiry-actions{position:sticky;bottom:-28px;display:flex;justify-content:flex-end;gap:10px;padding:12px 0 2px;background:#fff}.design-enquiry-close{position:absolute;top:13px;right:13px;border:0;border-radius:50%;width:36px;height:36px;background:#edf2f5;color:#23445c;font-size:25px;cursor:pointer}.design-enquiry-status{min-height:0;margin:0;color:#b52a3e;font-size:14px}.design-enquiry-success{display:grid;grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:start;margin-top:6px;padding:20px;border:1px solid #b9dec9;border-radius:12px;background:#f1faf4;text-align:left}.design-enquiry-success::before{content:'✓';display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#d9f0e1;color:#168047;font-size:25px;font-weight:800}.design-enquiry-success strong{display:block;color:#173a52;font-size:21px}.design-enquiry-success p{margin:5px 0 14px;color:#526f7f;line-height:1.45}.design-enquiry-success button{min-height:42px;padding:0 16px}.design-enquiry-success>div{min-width:0}@media(min-width:560px){.design-enquiry-copy form{grid-template-columns:1fr 1fr}.design-enquiry-copy form>label:has(textarea[name="notes"]),.design-enquiry-email,.design-enquiry-status,.design-enquiry-actions{grid-column:1/-1}}
.notice { display: grid; gap: 3px; max-width: 610px; }
.notice strong { font-size: 14px; }
.notice span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.footer-actions { display: flex; gap: 9px; flex-shrink: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 11px 15px; border-radius: 8px; color: #fff; background: var(--ink); box-shadow: 0 8px 25px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.template-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px; }
.template-card { display:grid; min-width:0; gap:5px; padding:10px; overflow:hidden; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--ink); cursor:pointer; text-align:left; }
.template-card strong { min-width:0; font-size:14px; overflow-wrap:anywhere; }
.template-card small { min-width:0; font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.template-card.active { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.template-mini { display:flex; flex-direction:column; justify-content:center; gap:4px; height:52px; padding:5px; background:var(--soft); border-radius:4px; color:var(--muted); }
.template-mini i { display:block; height:10px; border:1px solid #8a98a1; }
.template-mini b { text-align:center; font-size:11px; letter-spacing:2px; }
.mini-logo b { font-size:16px; }
.family-template-mini { align-items:center; padding:5px 7px; }
.family-mini-frame { position:relative; flex:none; max-width:100%; margin:auto; overflow:hidden; border:1px solid #77848c; background:#fff; }
.family-mini-element { position:absolute; display:grid; place-items:center; overflow:hidden; border:1px solid #89959c; color:#6d787f; font-size:7px; font-style:normal; font-weight:800; line-height:1; }
.family-mini-logo { border:0; background:#d9dfe2; font-size:9px; }
.family-mini-text,.family-mini-number { border:0; }
.family-mini-barcode { border:0; background:repeating-linear-gradient(90deg,#667178 0 1px,transparent 1px 3px); }
.family-mini-qrcode,.family-mini-datamatrix { border:0; background:repeating-conic-gradient(#667178 0 25%,transparent 0 50%) 50%/4px 4px; }
.family-mini-line { height:1px!important; border:0; background:#667178; }
.family-mini-ellipse { border-radius:50%; }
.family-mini-barcode,.family-mini-qrcode,.family-mini-datamatrix { border:0; background:transparent; }
.family-mini-barcode svg,.family-mini-qrcode span,.family-mini-datamatrix span { display:block; width:100%; height:100%; }
.family-mini-barcode svg { overflow:visible; }
.family-mini-qrcode svg,.family-mini-datamatrix svg { display:block; width:100%; height:100%; }
#content-controls .side-picker { margin:0 0 15px; }
.preview-panel { position:relative; background:#fff; border:1px solid #d6dfe4; border-radius:14px; overflow:hidden; box-shadow:0 8px 24px rgba(22,46,63,.06); }
.preview-panel .workspace-head { margin:0; padding:20px 22px 14px; flex-wrap:wrap; gap:14px; }
.preview-panel .workspace-head h2 { font-size:19px; }
.preview-dimensions { display:flex; flex-wrap:wrap; gap:6px 16px; color:#171717; font-size:14px; font-weight:650; }
.preview-panel .scale-note { padding:0; background:transparent; color:var(--accent); font-size:14px; }
.preview-panel > .view-note { padding:0 22px; }
.preview-panel .workspace-footer { flex-wrap:wrap; gap:14px; margin:0; padding:18px 22px; border-top:1px solid var(--line); }
.preview-panel .footer-actions { margin-left:auto; }
.preview-toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:12px 22px; background:#f8fafb; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.custom-element-tray { display:flex; align-items:center; gap:14px; padding:12px 18px; border-top:1px solid var(--line); background:#f8fafb; }
.custom-element-tray.hidden { display:none; }
.product-family-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}.family-tile{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px;min-height:50px;padding:8px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);text-align:left;font:inherit;cursor:pointer}.family-tile>span{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#eef2f4;color:var(--accent);font-size:18px}.family-tile strong{font-size:12px;line-height:1.2}.family-tile.active{border-color:var(--accent);background:#fff3f4}.family-select-fallback{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
.custom-element-tray{position:relative}.custom-subtray{position:absolute;z-index:30;right:12px;bottom:calc(100% - 4px);width:min(330px,calc(100vw - 32px));max-height:290px;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 38px #1020342e}.custom-subtray.hidden{display:none}.element-popup-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.element-popup-head button{width:30px;height:30px;padding:0}.element-choice-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.element-choice{display:grid;place-items:center;gap:2px;min-height:54px;padding:5px;color:#263848;background:#f7f9fb}.element-choice svg{width:28px;height:28px}.element-choice span{font-size:9px;line-height:1.05}.custom-vector,.custom-icon-svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.design-item.rectangle,.design-item.ellipse,.design-item.triangle,.design-item.hexagon,.design-item.icon{padding:2px}.marking-area{container-type:size}.customer-layer-buttons{display:flex;gap:6px}.customer-layer-buttons button{flex:1}.customer-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.customer-check input{width:auto!important}.customer-position-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.customer-position-grid label{min-width:0}.history-controls{display:flex;gap:6px}.history-controls button:disabled{opacity:.42}.control-section>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}.control-section>summary::-webkit-details-marker{display:none}.control-section>summary::after{content:'▾';font-size:14px}.control-section:not([open])>summary::after{transform:rotate(-90deg)}
.custom-tray-copy { flex:0 0 auto; display:grid; gap:2px; }
.custom-tray-copy strong { font-size:14px; }
.custom-tray-copy span { color:var(--muted); font-size:12px; }
.custom-element-tiles { display:flex; flex:1; gap:7px; overflow-x:auto; padding:3px 2px 6px; scrollbar-width:thin; }
.custom-element-tiles button { flex:0 0 auto; min-height:38px; padding:8px 11px; border:1px solid #cbd7dc; border-radius:8px; color:var(--ink); background:#fff; font-size:12px; font-weight:750; cursor:grab; }
.custom-element-tiles button:hover,.custom-element-tiles button:focus-visible { border-color:var(--accent); color:var(--accent); outline:none; }
.custom-element-tiles button:active { cursor:grabbing; }
.marking-area.custom-drop-target { outline:3px solid #0b6f99; outline-offset:3px; background:rgba(11,111,153,.06); }
.preview-toolbar .secondary { padding:8px 10px; font-size:14px; }
.preview-toolbar button[aria-pressed="true"] { border-color:var(--accent); color:var(--accent); }
.zoom-controls { display:flex; align-items:center; gap:8px; }
.zoom-controls output { width:48px; text-align:center; font-size:14px; }
.guide-toggle { display:flex; align-items:center; gap:6px; font-size:14px; }
.guide-toggle input { accent-color:var(--accent); }
.view-note { margin:10px 0; color:var(--muted); font-size:13px; line-height:1.45; }
#preview-viewport { display:block; flex:none; width:100%; height:560px; min-height:0; padding:0; overflow:hidden; touch-action:none; border:0; border-radius:0; box-shadow:none; background:#fff; }
#preview-viewport.pannable { cursor:grab; }
#preview-viewport.pan-ready,#preview-viewport.pan-ready * { cursor:grab!important; }
#preview-viewport.pannable.panning { cursor:grabbing; user-select:none; }
.preview-canvas { display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-width:0; min-height:0; padding:0; }
#stage-sizer { position:relative; flex:none; width:540px; height:486.8584px; }
.marking-guide { position:absolute; inset:0; pointer-events:none; z-index:4; }
.mask-outline { position:absolute; left:18.4565%; top:35.8330%; width:62.7085%; height:50.5842%; border:0; box-shadow:none; outline:1.5px dashed var(--marking-guide-colour,#d71934); outline-offset:1px; }
.ruler { position:absolute; background:#fff; color:#171717; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.ruler-x { left:18.4565%; width:62.7085%; top:calc(100% + 12px); height:22px; border-bottom:1px solid currentColor; }
.ruler-y { top:35.8330%; height:50.5842%; left:calc(100% + 12px); width:28px; border-left:1px solid currentColor; }
.ruler-x::after { content:'mm'; position:absolute; right:-32px; bottom:5px; font-size:11px; }
.ruler-y::after { content:'mm'; position:absolute; left:6px; bottom:-24px; font-size:11px; }
.ruler-tick { position:absolute; }
.ruler-x .ruler-tick { left:var(--position); bottom:0; height:5px; border-left:1px solid currentColor; }
.ruler-y .ruler-tick { top:var(--position); left:0; width:5px; border-top:1px solid currentColor; }
.ruler small { position:absolute; font-size:12px; }
.ruler-x small { bottom:5px; transform:translateX(-50%); }
.ruler-y small { left:6px; transform:translateY(-50%); }
button:disabled { cursor:not-allowed; opacity:.5; }
.family-layout { position:absolute; inset:0; container-type:inline-size; color:var(--etch); }
.family-element { position:absolute; box-sizing:border-box; display:flex; align-items:center; overflow:hidden; font-size:var(--family-font); font-weight:750; line-height:1.1; }
.family-element[data-family-id] { cursor:pointer; }
.family-element.customer-selected { outline:2px solid #0b6f99; outline-offset:2px; }
.customer-element-inspector { position:fixed; z-index:60; right:18px; top:74px; width:min(330px,calc(100vw - 36px)); max-height:calc(100vh - 92px); overflow:auto; border:1px solid #cfd8de; border-radius:16px; background:#fff; box-shadow:0 20px 55px rgba(20,42,55,.23); }
.customer-inspector-head { position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 16px; border-bottom:1px solid #e1e7ea; background:#fff; cursor:move; user-select:none; touch-action:none; }
.customer-inspector-head p,.customer-inspector-head h2 { margin:0; }
.customer-inspector-head h2 { margin-top:2px; font-size:18px; }
.customer-inspector-close { width:34px; height:34px; border:1px solid #d6dfe4; border-radius:50%; background:#fff; font-size:22px; cursor:pointer; }
.customer-inspector-body { display:grid; gap:14px; padding:15px 16px 18px; }
.customer-control-group { display:grid; gap:9px; padding:12px; border:1px solid #e0e6e9; border-radius:11px; background:#fbfcfc; }
.customer-control-group h3 { margin:0; font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:#526672; }
.customer-control-group label { display:grid; gap:5px; font-size:13px; font-weight:750; }
.customer-control-group input,.customer-control-group textarea,.customer-control-group select { width:100%; box-sizing:border-box; padding:9px 10px; border:1px solid #cad5da; border-radius:8px; background:#fff; font:inherit; }
.customer-control-group input[type="range"] { padding:0; }
.customer-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.customer-ink-options { display:flex; flex-wrap:wrap; gap:7px; }
.customer-ink { width:34px; height:34px; border:2px solid #fff; border-radius:50%; box-shadow:0 0 0 1px #becbd1; background:var(--ink); cursor:pointer; }
.customer-ink.active { box-shadow:0 0 0 3px #172a36; }
.click-element-hint { padding:10px 12px; border:1px dashed #bccbd3; border-radius:9px; color:#526672; font-size:13px; }
@media (max-width:760px){.customer-element-inspector.mobile-docked{position:static;left:auto;right:auto;top:auto;bottom:auto;width:auto;max-height:52vh;margin:10px 0 0;border-radius:12px;box-shadow:0 8px 24px rgba(20,42,55,.14)}.customer-inspector-head{cursor:default}.canvas-side-picker{right:8px;top:auto;bottom:74px}.canvas-side-button{min-width:64px;min-height:40px;padding:7px 10px}.canvas-orientation{left:8px;top:126px}.orientation-button{min-width:42px;padding:5px}.canvas-area-picker{left:8px;right:8px;top:182px;justify-content:flex-end;flex-wrap:wrap}.canvas-area-picker > span{width:100%;padding:2px 5px 0;text-align:right}.canvas-area-button{padding:7px 8px}.custom-element-tray{align-items:flex-start;flex-direction:column;gap:8px;padding:10px 12px}.custom-tray-copy{display:flex;gap:8px;align-items:baseline}.custom-element-tiles{width:100%}}
.family-text { width:100%; white-space:pre-wrap; overflow-wrap:anywhere; padding:2px; }
body[data-product-group="printed-cable-ties"] .family-element { line-height:1; }
body[data-product-group="printed-cable-ties"] .family-text { padding:0; }
.family-text[contenteditable="true"] { cursor:text; user-select:text; outline:none; background:rgba(255,255,255,.82); box-shadow:0 0 0 2px rgba(11,111,153,.22) inset; }
.family-element.customer-inline-editing { overflow:visible; }
.family-field { border:var(--family-stroke,1px) solid currentColor; }
.family-field .family-text { width:45%; }
.family-logo img { width:100%; height:100%; object-fit:contain; }
.family-logo:not(:has(img)) { border:1px dashed currentColor; }
.family-placeholder { width:100%; text-align:center; opacity:.65; font-size:12px; }
.family-barcode { flex-direction:column; justify-content:center; gap:2px; }
.family-barcode svg { width:100%; height:auto; min-height:0; flex:none; }
.family-barcode small { align-self:stretch; font-size:var(--family-barcode-font,9px); line-height:1.05; text-align:center; white-space:nowrap; }
.family-qrcode,.family-datamatrix { justify-content:center; }
.family-matrix-code { display:grid; width:100%; height:100%; place-items:center; }
.family-matrix-code svg { display:block; max-width:100%; max-height:100%; width:auto; height:auto; color:var(--marking-colour,#70767c); }
.family-rectangle { border:1px solid currentColor; }
.family-ellipse { border:1px solid currentColor; border-radius:50%; }
.family-line::before { content:''; width:100%; border-top:1px solid currentColor; }
.family-editable { cursor:move; outline:1px dashed #b6c1c7; outline-offset:-1px; touch-action:none; }
.family-selected { outline:2px solid #086a9a; outline-offset:-2px; }
.family-resize { position:absolute; right:0; bottom:0; width:10px; height:10px; background:#086a9a; cursor:nwse-resize; }
.family-control { display:grid; gap:8px; margin:16px 0; font-size:14px; }
.family-control input { width:100%; padding:10px; border:1px solid var(--line); border-radius:7px; }
.family-control .family-optional { display:flex; align-items:center; gap:7px; font-weight:500; }
.family-control .family-optional input { width:auto; padding:0; }
@media print { .family-placeholder { visibility:hidden; } .family-editable { outline:none; } .family-resize { display:none; } }
.editor-preview .topbar,.editor-preview .controls,.editor-preview .workspace-footer { display:none; }
.editor-preview .customer-element-inspector { display:none !important; }
.editor-preview .app-shell { display:block; min-height:0; }
.editor-preview .workspace { padding:0; min-height:0; }
.editor-preview .preview-panel { position:static; max-height:none; }
.editor-preview #preview-viewport { height:clamp(280px,65vh,560px); flex:none; }
.editor-preview .flag-calibration { display:block; }
.editor-preview .marking-area,.editor-preview .marking-guide { z-index:3; }
@media screen and (min-width: 921px) {
  .preview-panel { position:sticky; top:16px; display:flex; flex-direction:column; max-height:calc(100dvh - 32px); overflow:auto; }
  .preview-panel > * { flex-shrink:0; }
  .preview-panel #preview-viewport { flex:0 1 560px; min-height:180px; }
}
@media (max-width: 920px) {
  .app-shell { grid-template-columns: 1fr; }
  .controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace { min-height: 760px; }
  .preview-card { min-height: 500px; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 17px; }
  .status { display: none; }
  .controls, .workspace { padding-left: 18px; padding-right: 18px; }
  .colour-grid { grid-template-columns: repeat(3, 1fr); }
  .workspace-head, .workspace-footer { align-items: stretch; flex-direction: column; }
  .preview-card { min-height: 410px; padding: 10px; }
  .footer-actions > * { flex: 1; }
}
@media print {
  body { background: #fff; }
  .topbar, .customer-preview-banner, .controls, .preview-toolbar, .custom-element-tray, .view-note, .marking-guide, .empty-side-note, .footer-actions, .toast, .customer-element-inspector { display: none !important; }
  .app-shell { display: block; }
  .workspace { padding: 10mm; }
  .preview-card { min-height: 220mm; box-shadow: none; border: 0; background: #fff; }
  .workspace-footer { margin-top: 0; }
  #preview-viewport { height:auto; overflow:visible; }
  .preview-canvas { padding:0; width:100%; }
  #stage-sizer { width:540px !important; height:486.8584px !important; }
  .tag-stage { transform:none !important; }
  .workspace-head { margin-bottom:15px; }
  .preview-panel { border:0; box-shadow:none; overflow:visible; }
}
.element-vector,.element-icon{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.design-item.rectangle,.design-item.ellipse,.design-item.triangle,.design-item.hexagon,.design-item.icon{padding:.3cqh .3cqw}

.customer-catalogue{max-width:1440px;margin:0 auto;padding:clamp(28px,5vw,68px) clamp(18px,4vw,58px) 80px}
.customer-catalogue-head{display:grid;gap:10px;max-width:860px;margin-bottom:34px}
.customer-catalogue-head h1{margin:0;color:#112838;font-size:clamp(32px,5vw,58px);line-height:1.02;letter-spacing:-.035em}
.customer-catalogue-head>p:not(.eyebrow){margin:0;color:#5a6b75;font-size:17px;line-height:1.55}
.customer-catalogue-families{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.customer-catalogue-families a{padding:10px 14px;border:1px solid #ccd7dd;border-radius:999px;background:#fff;color:#243b49;font-size:14px;font-weight:750;text-decoration:none}
.customer-catalogue-families a[aria-current="page"]{border-color:#ed1b2f;background:#ed1b2f;color:#fff}
.customer-catalogue-groups{display:grid;gap:38px}
.customer-family-section{display:grid;gap:16px}
.customer-family-section>header{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid #d5dee3;padding-bottom:12px}
.customer-family-section h2{margin:0;color:#193140;font-size:23px}
.customer-family-section .eyebrow{margin:0}
.customer-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.customer-product-card{position:relative;display:grid;grid-template-rows:180px 1fr;overflow:hidden;border:1px solid #d4dde2;border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(30,52,65,.06);transition:border-color .15s,box-shadow .15s,transform .15s}
.customer-product-card:hover,.customer-product-card:has(.customer-product-main-link:focus-visible){border-color:#b8c8d0;box-shadow:0 12px 28px rgba(30,52,65,.11);transform:translateY(-2px)}
.customer-product-main-link{position:absolute;z-index:2;inset:0;border-radius:inherit}.customer-product-main-link:focus-visible{outline:3px solid #d11f36;outline-offset:-3px}
.customer-product-image{position:relative;display:grid;place-items:center;overflow:hidden;padding:20px;background:linear-gradient(145deg,#f7f9fa,#edf2f4)}
.customer-product-visual{position:relative;width:min(100%,calc(140px * var(--render-ratio)));aspect-ratio:var(--render-ratio)}
.customer-product-image img{position:absolute;z-index:1;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.customer-card-marking{position:absolute;z-index:2;pointer-events:none;color:#2d3438;transform-origin:top left}
.customer-card-marking .family-layout{overflow:hidden}
.customer-card-fields{position:absolute;inset:12%;display:grid;align-content:space-evenly;gap:8%}
.customer-card-fields i{display:block;border-bottom:2px solid currentColor}
.customer-product-copy{display:grid;align-content:start;gap:8px;padding:18px}
.customer-product-copy h3{margin:0;color:#172f3e;font-size:19px}
.customer-product-copy p{margin:0;color:#687983;font-size:14px}
.customer-variant-strip{position:relative;z-index:3;margin-top:8px}
.customer-product-card,.customer-product-copy,.customer-variant-strip{min-width:0}
.customer-product-links{display:flex;flex-wrap:wrap;align-content:flex-start;gap:7px;max-height:79px;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory}
.customer-product-links a{height:36px;max-width:100%;box-sizing:border-box}
.customer-product-links a{scroll-snap-align:start}
.customer-product-links a{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:9px 11px;border-radius:8px;background:#edf3f6;color:#16384b;font-size:13px;font-weight:800;line-height:1.25;text-decoration:none}
.customer-product-links a:hover{background:#dfeaf0}
@media(max-width:560px){.customer-product-card{grid-template-rows:145px 1fr}.customer-family-section>header{align-items:start;flex-direction:column;gap:4px}.customer-product-visual{width:min(100%,calc(105px * var(--render-ratio)))}.customer-product-copy{padding:14px}.customer-product-links a{width:auto}}

.design-item.qrcode,.design-item.datamatrix{padding:0}

.family-rotate{position:absolute;left:50%;top:-22px;width:16px;height:16px;margin-left:-8px;border:2px solid white;border-radius:50%;background:#086a9a;box-shadow:0 0 0 1px #086a9a;cursor:grab}
.family-rotate::before{content:"";position:absolute;left:6px;top:14px;width:1px;height:8px;background:#086a9a}

.family-field .family-text{white-space:pre;overflow-wrap:normal}
.family-rotate{display:none}.family-selected .family-rotate{display:block}

.custom-matrix-code svg,.family-matrix-code svg{width:100%!important;height:100%!important}

.family-editable.family-selected{overflow:visible;z-index:50!important}

.design-item.field .custom-inline-text{width:45%;flex-shrink:0}

.family-number .family-text{white-space:pre;overflow-wrap:normal}

.custom-inline-text[contenteditable="plaintext-only"],.family-text[contenteditable="plaintext-only"]{user-select:text;cursor:text}

.family-text,.custom-inline-text{white-space:pre;overflow-wrap:normal;flex-shrink:0}

.design-item{font-weight:750}

.family-mini-canvas{container-type:size}.family-mini-canvas>.family-layout{display:block;width:100%;height:100%}

.family-element.family-text{padding:0}

.customer-card-marking{font-family:var(--marking-font,Arial,sans-serif)}
#void-peel-open[hidden]{display:none}

#void-peel-open{position:absolute;z-index:12;transform:translate(-100%,calc(-100% - 5px));white-space:nowrap;background:#fff;color:#a41230;border-color:#e1b6c0}

.void-peel-inline{position:absolute;z-index:11;pointer-events:none}.void-peel-inline[hidden]{display:none}.void-peel-inline svg{display:block;width:100%;height:auto}.void-peel-inline svg:empty{display:none}.void-peel-inline p{margin:5px 0 0;padding:4px 6px;background:#fff;color:var(--ink);font-size:12px}.void-peel-visible > :not(.void-peel-inline):not(#void-peel-open){visibility:hidden}

#void-peel-open:not(.is-reset){display:flex;align-items:center;gap:3px;border:0;background:transparent;box-shadow:none;padding:0;font:italic 700 20px "Segoe Print","Bradley Hand","Comic Sans MS",cursive}#void-peel-open[hidden]{display:none}.void-peel-preparing .void-peel-inline{opacity:0}

body.void-peel-locked .app-shell [inert]:not(#tag-stage *){opacity:.45;filter:grayscale(1)}

#void-peel-open.void-peel-portrait{transform:translate(9px,0)}#void-peel-open.void-peel-portrait:not(.is-reset){flex-direction:row-reverse}#void-peel-open.void-peel-portrait svg{transform:scaleX(-1) rotate(30deg)}

.void-peel-inline.void-peel-upright p{position:absolute;left:calc(100% + 9px);top:42px;width:min(180px,32vw);margin:0}

@media(max-width:1050px){.customer-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.customer-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.customer-product-grid{grid-template-columns:minmax(0,1fr)}}
