/* Venelook designer */
:root {
	--vl-primary: #5b4cdb;
	--vl-bg: #eef0f4;
	--vl-surface: #ffffff;
	--vl-border: #e3e5ea;
	--vl-text: #1d1f24;
	--vl-muted: #6b7080;
	--vl-hover: #f2f3f7;
	--vl-danger: #e5484d;
	--vl-success: #1f9d55;
	--vl-warning: #c97a00;
	--vl-radius: 10px;
	--vl-shadow: 0 6px 24px rgba(20, 22, 40, .12), 0 1px 3px rgba(20, 22, 40, .08);
	--vl-top: 58px;
}

html.venelook-html, .venelook-body { margin: 0; padding: 0; height: 100%; overflow: hidden; background: var(--vl-bg); }
.venelook-body { font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--vl-text); -webkit-font-smoothing: antialiased; }
.vl-app, .vl-app *, .vl-modal-overlay *, .vl-popover *, .vl-toasts * { box-sizing: border-box; }
.vl-app { position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; }
.vl-hidden { display: none !important; }
.vl-tabs-indicator { display: none; }

/* Boot */
.vl-boot { margin: auto; text-align: center; color: var(--vl-muted); }
.vl-spinner { width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid var(--vl-border); border-top-color: var(--vl-primary); animation: vl-spin .8s linear infinite; }
@keyframes vl-spin { to { transform: rotate(360deg); } }

/* Icons and buttons */
.vl-icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.vl-icon svg { width: 100%; height: 100%; }
.vl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--vl-text); cursor: pointer; font: inherit; transition: background .15s, color .15s; }
.vl-btn:hover { background: var(--vl-hover); }
.vl-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.vl-btn.vl-on, .vl-btn.vl-active { background: rgba(91, 76, 219, 0.14); background: color-mix(in srgb, var(--vl-primary) 14%, transparent); color: var(--vl-primary); }
.vl-btn-sm { min-width: 28px; height: 28px; padding: 0 4px; }
.vl-btn-sm .vl-icon { width: 17px; height: 17px; }
.vl-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--vl-border); border-radius: 8px; background: var(--vl-surface); color: var(--vl-text); font: inherit; font-weight: 600; cursor: pointer; }
.vl-button:hover { background: var(--vl-hover); }
.vl-button.vl-primary { background: var(--vl-primary); border-color: var(--vl-primary); color: #fff; }
.vl-button.vl-primary:hover { filter: brightness(1.08); }
.vl-button:disabled { opacity: .6; cursor: progress; }
.vl-button.vl-selected { border-color: var(--vl-primary); color: var(--vl-primary); }
.vl-block { display: flex; width: 100%; margin: 10px 0; }
.vl-link { border: 0; background: none; padding: 0; color: var(--vl-primary); cursor: pointer; font: inherit; text-decoration: none; font-weight: 600; }
.vl-input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--vl-border); border-radius: 8px; background: #fff; color: var(--vl-text); font: inherit; }
textarea.vl-input { height: auto; padding: 8px 10px; resize: vertical; }
.vl-input:focus { outline: 2px solid rgba(91, 76, 219, 0.35); outline: 2px solid color-mix(in srgb, var(--vl-primary) 35%, transparent); border-color: var(--vl-primary); }
.vl-muted { color: var(--vl-muted); }
.vl-small { font-size: 12px; }
.vl-error { color: var(--vl-danger); }

/* Top bar */
.vl-top { height: var(--vl-top); flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; background: var(--vl-surface); border-bottom: 1px solid var(--vl-border); z-index: 20; }
.vl-top-left, .vl-top-tools, .vl-top-right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.vl-more-btn { display: none; }
.vl-tool-repeat { border: 1px solid var(--vl-border); margin-left: 4px; font-weight: 600; }
.vl-tool-repeat .vl-icon { color: var(--vl-primary); }
.vl-brand-link { display: flex; align-items: center; gap: 6px; margin-right: 10px; color: var(--vl-text); text-decoration: none; font-weight: 700; max-width: 220px; }
.vl-brand { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vl-logo { max-height: 36px; max-width: 160px; }
.vl-price { display: flex; flex-direction: column; align-items: flex-end; border: 0; background: none; cursor: pointer; padding: 0 8px; font: inherit; color: var(--vl-text); line-height: 1.15; }
.vl-price-total { font-size: 18px; font-weight: 800; }
.vl-price-unit { font-size: 12px; color: var(--vl-muted); }
.vl-qty-wrap { display: block; }
.vl-qty { width: 72px; text-align: center; }
.vl-cart-btn { height: 40px; white-space: nowrap; }

/* Body */
.vl-body { flex: 1; display: flex; min-height: 0; position: relative; }
.vl-tabs { width: 78px; flex: none; display: flex; flex-direction: column; gap: 2px; padding: 8px 6px; background: var(--vl-surface); border-right: 1px solid var(--vl-border); overflow-y: auto; z-index: 12; }
.vl-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border: 0; border-radius: 10px; background: none; color: var(--vl-muted); font-weight: 600; font-size: 11px; line-height: 1.1; font-family: inherit; cursor: pointer; }
.vl-tab .vl-icon { width: 22px; height: 22px; }
.vl-tab:hover { background: var(--vl-hover); color: var(--vl-text); }
.vl-tab.vl-selected { background: rgba(91, 76, 219, 0.12); background: color-mix(in srgb, var(--vl-primary) 12%, transparent); color: var(--vl-primary); }

.vl-panel { width: 0; flex: none; display: flex; flex-direction: column; background: var(--vl-surface); border-right: 1px solid var(--vl-border); overflow: hidden; transition: width .22s ease; z-index: 11; }
.vl-panel-open .vl-panel { width: 320px; }
.vl-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; min-width: 320px; }
.vl-panel-head h2 { margin: 0; font-size: 17px; }
.vl-panel-body { flex: 1; overflow-y: auto; padding: 6px 16px 24px; min-width: 320px; }
.vl-section-title { margin: 18px 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--vl-muted); }

/* Stage */
.vl-stage { flex: 1; position: relative; display: flex; flex-direction: column; min-width: 0; }
.vl-canvas-wrap { flex: 1; position: relative; min-height: 0; overflow: hidden; }
.vl-canvas-wrap .canvas-container { position: absolute !important; top: 0; right: 0; bottom: 0; left: 0; }
.vl-drawing .vl-canvas-wrap { cursor: crosshair; }

.vl-toolbar { position: absolute; top: 10px; left: 12px; right: 12px; margin: 0 auto; width: fit-content; z-index: 8; display: none; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; padding: 5px; background: var(--vl-surface); border-radius: 12px; box-shadow: var(--vl-shadow); }
.vl-toolbar.vl-has-selection { display: flex; }
.vl-sep { width: 1px; height: 22px; margin: 0 4px; background: var(--vl-border); }
.vl-tool-label { padding: 0 8px; font-size: 12px; font-weight: 600; color: var(--vl-muted); }
.vl-font-btn { max-width: 170px; justify-content: space-between; border: 1px solid var(--vl-border); }
.vl-font-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.vl-size-input { width: 64px; height: 36px; text-align: center; }
.vl-btn-color { padding: 0 6px; }
.vl-swatch-mini { display: block; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }

.vl-sides { position: absolute; left: 90px; right: 90px; bottom: 60px; margin: 0 auto; width: fit-content; display: flex; gap: 8px; padding: 6px; background: var(--vl-surface); border-radius: 14px; box-shadow: var(--vl-shadow); z-index: 6; overflow-x: auto; }
.vl-side { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; font-weight: 600; font-size: 11px; line-height: 1; font-family: inherit; color: var(--vl-muted); }
.vl-side.vl-selected { border-color: var(--vl-primary); color: var(--vl-primary); }
.vl-side-img { display: block; width: 52px; height: 52px; border-radius: 6px; overflow: hidden; }
.vl-side-img img { width: 100%; height: 100%; object-fit: contain; }
.vl-zoom { display: flex; align-items: center; flex: none; margin-left: auto; }
.vl-statusbar { flex: none; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 10px; background: var(--vl-surface); border-top: 1px solid var(--vl-border); z-index: 7; }
.vl-sizebox { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.vl-dim-icon { display: flex; color: var(--vl-muted); }
.vl-dims { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.vl-dim { display: flex; align-items: center; gap: 4px; margin-right: 4px; }
.vl-dim-label { font-size: 12px; font-weight: 700; color: var(--vl-muted); min-width: 10px; }
.vl-dim-input { width: 78px; height: 32px; padding: 0 6px; text-align: right; font-variant-numeric: tabular-nums; }
.vl-dim-input:disabled { background: var(--vl-hover); color: var(--vl-muted); }
.vl-dim-x { margin-left: 8px; }
.vl-unit-select { width: auto; height: 32px; padding: 0 6px; font-weight: 600; }
.vl-area-size { font-size: 13px; color: var(--vl-muted); font-variant-numeric: tabular-nums; }
.vl-statusbar-min .vl-sizebox { display: none; }
.vl-zoom-label { min-width: 52px; border: 0; background: none; font-weight: 600; font-size: 12px; font-family: inherit; cursor: pointer; color: var(--vl-text); }

/* Panels */
.vl-filter { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; position: sticky; top: -6px; background: var(--vl-surface); padding: 6px 0; z-index: 1; }
.vl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vl-grid-templates, .vl-grid-designs, .vl-grid-products { grid-template-columns: repeat(2, 1fr); }
.vl-grid-shapes { grid-template-columns: repeat(4, 1fr); }
.vl-grid > p { grid-column: 1 / -1; }
.vl-thumb { position: relative; aspect-ratio: 1; padding: 6px; border: 1px solid var(--vl-border); border-radius: 8px; background: #fafbfc; cursor: pointer; overflow: hidden; }
.vl-thumb:hover { border-color: var(--vl-primary); }
.vl-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vl-grid-templates .vl-thumb { aspect-ratio: 3 / 4; padding: 4px; background: #fff; }
.vl-grid-templates .vl-thumb img { object-fit: contain; }
.vl-thumb-shape { padding: 10px; }
.vl-shape-group .vl-section-title:first-child { margin-top: 6px; }
.vl-badge { position: absolute; right: 4px; bottom: 4px; padding: 1px 6px; border-radius: 10px; background: var(--vl-primary); color: #fff; font-size: 11px; font-weight: 700; }
.vl-thumb-wrap { position: relative; }
.vl-thumb-wrap .vl-thumb { width: 100%; }
.vl-thumb-remove { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; padding: 3px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--vl-shadow); cursor: pointer; display: none; }
.vl-thumb-remove .vl-icon { width: 16px; height: 16px; }
.vl-thumb-wrap:hover .vl-thumb-remove { display: block; }
.vl-card { display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--vl-border); border-radius: 10px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--vl-text); }
.vl-card.vl-selected, .vl-card:hover { border-color: var(--vl-primary); }
.vl-card img, .vl-card-ph { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 6px; background: #f6f7f9; display: flex; align-items: center; justify-content: center; }
.vl-card-title { font-weight: 600; }
.vl-card-price { font-size: 12px; color: var(--vl-muted); }
.vl-card-actions { display: flex; gap: 6px; margin-top: 4px; }
.vl-card-actions .vl-button { flex: 1; height: 32px; padding: 0 8px; }
.vl-design-card { cursor: default; }

.vl-text-preset { display: block; width: 100%; margin-bottom: 8px; padding: 14px; border: 1px solid var(--vl-border); border-radius: 10px; background: #fafbfc; text-align: left; cursor: pointer; color: var(--vl-text); }
.vl-text-preset:hover { border-color: var(--vl-primary); }
.vl-h1 { font-size: 26px; font-weight: 800; }
.vl-h2 { font-size: 19px; font-weight: 700; }

.vl-text-preset.vl-p { font-size: 14px; }
.vl-curved { font-size: 18px; font-style: italic; }
.vl-font-list { display: flex; flex-direction: column; gap: 2px; }
.vl-font-item { padding: 8px 10px; border: 0; border-radius: 6px; background: none; text-align: left; font-size: 18px; cursor: pointer; color: var(--vl-text); }
.vl-font-item:hover, .vl-font-item.vl-selected { background: var(--vl-hover); }
.vl-font-item.vl-selected { color: var(--vl-primary); }
.vl-font-pop { width: 260px; }
.vl-font-list-pop { max-height: 320px; overflow-y: auto; margin-top: 8px; }

.vl-dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 12px; border: 2px dashed var(--vl-border); border-radius: 12px; background: #fafbfc; text-align: center; cursor: pointer; color: var(--vl-muted); }
.vl-dropzone .vl-icon { width: 34px; height: 34px; color: var(--vl-primary); }
.vl-dropzone strong { color: var(--vl-text); }
.vl-dropzone.vl-over, .vl-dropzone:hover { border-color: var(--vl-primary); background: #f5f4fd; background: color-mix(in srgb, var(--vl-primary) 6%, #fff); }

.vl-product-head { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--vl-border); border-radius: 10px; }
.vl-product-head img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.vl-product-head strong { display: block; margin-bottom: 2px; }
.vl-field { display: block; margin: 10px 0; border: 0; padding: 0; }
.vl-field > span, .vl-field > legend { display: block; margin-bottom: 5px; font-weight: 600; font-size: 13px; }
.vl-check { display: flex; align-items: center; gap: 6px; margin: 5px 0; cursor: pointer; }
.vl-choices { display: flex; flex-direction: column; gap: 6px; }
.vl-choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--vl-border); border-radius: 10px; cursor: pointer; }
.vl-choice:has(input:checked) { border-color: var(--vl-primary); background: #f7f6fd; background: color-mix(in srgb, var(--vl-primary) 5%, #fff); }
.vl-choice small { display: block; color: var(--vl-muted); margin-top: 2px; }
.vl-grid-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vl-grid-inputs label span { display: block; font-size: 12px; margin-bottom: 3px; }
.vl-breakdown table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 13px; }
.vl-breakdown td { padding: 6px 0; border-bottom: 1px solid var(--vl-border); }
.vl-breakdown td:last-child { text-align: right; }
.vl-breakdown .vl-strong td { font-weight: 700; }
.vl-segmented { display: flex; gap: 4px; padding: 3px; background: var(--vl-hover); border-radius: 9px; }
.vl-seg { flex: 1 1 0; min-width: 0; min-height: 32px; height: auto; padding: 6px 8px; border: 0; border-radius: 7px; background: none; font-weight: 600; font-size: 13px; line-height: 1.25; font-family: inherit; cursor: pointer; color: var(--vl-muted); white-space: normal; overflow-wrap: break-word; }
.vl-segmented { align-items: stretch; }
.vl-field[hidden] { display: none !important; }
.vl-seg.vl-selected { background: #fff; color: var(--vl-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.vl-layers { list-style: none; margin: 0; padding: 0; }
.vl-layer { display: flex; align-items: center; gap: 6px; padding: 6px 6px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.vl-layer:hover { background: var(--vl-hover); }
.vl-layer.vl-selected { border-color: var(--vl-primary); background: #f5f4fd; background: color-mix(in srgb, var(--vl-primary) 6%, #fff); }
.vl-layer.vl-drop { border-top: 2px solid var(--vl-primary); }
.vl-hidden-layer .vl-layer-name { opacity: .45; }
.vl-layer-grip { cursor: grab; color: var(--vl-muted); display: flex; }
.vl-layer-grip .vl-icon { width: 14px; }
.vl-layer-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Colours */
.vl-colors { display: flex; flex-wrap: wrap; gap: 6px; max-width: 260px; }
.vl-panel .vl-colors { max-width: none; }
.vl-swatch { position: relative; width: 28px; height: 28px; padding: 0; border: 1px solid rgba(0, 0, 0, .15); border-radius: 50%; cursor: pointer; }
.vl-swatch.vl-selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vl-primary); }
.vl-swatch-none { background: linear-gradient(135deg, #fff 45%, var(--vl-danger) 45%, var(--vl-danger) 55%, #fff 55%) !important; }
.vl-swatch-picker { display: inline-flex; overflow: hidden; background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red); }
.vl-color-input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }

.vl-range { display: block; margin: 10px 0; }
.vl-range-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.vl-range input { width: 100%; accent-color: var(--vl-primary); }

/* Popovers & menus */
.vl-popover { position: fixed; z-index: 100000; min-width: 180px; max-width: calc(100vw - 16px); max-height: calc(100vh - 80px); overflow-y: auto; padding: 10px; background: var(--vl-surface); border-radius: 12px; box-shadow: var(--vl-shadow); font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--vl-text); }
.vl-popover-menu { padding: 6px; }
.vl-menu { display: flex; flex-direction: column; }
.vl-menu hr { width: 100%; border: 0; border-top: 1px solid var(--vl-border); margin: 4px 0; }
.vl-menu-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 7px; background: none; font: inherit; color: var(--vl-text); text-align: left; cursor: pointer; white-space: nowrap; }
.vl-menu-item:hover { background: var(--vl-hover); }
.vl-menu-item .vl-icon { width: 18px; height: 18px; color: var(--vl-muted); }
.vl-pop-form { width: 250px; }
.vl-flags { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.vl-align-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 4px; }
.vl-mask-grid { display: grid; grid-template-columns: repeat(4, 44px); gap: 6px; }
.vl-mask-grid .vl-button { grid-column: 1 / -1; height: 32px; }
.vl-mask-item { width: 44px; height: 44px; padding: 6px; border: 1px solid var(--vl-border); border-radius: 8px; background: #fff; color: var(--vl-muted); cursor: pointer; }
.vl-mask-item svg { width: 100%; height: 100%; }
.vl-mask-item.vl-selected, .vl-mask-item:hover { border-color: var(--vl-primary); color: var(--vl-primary); }

/* Modals */
.vl-modal-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 17, 28, .45); font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--vl-text); }
.vl-modal { width: 440px; max-width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--vl-surface); border-radius: 14px; box-shadow: var(--vl-shadow); }
.vl-modal-wide { width: 860px; }
.vl-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--vl-border); }
.vl-modal-head h2 { margin: 0; font-size: 17px; }
.vl-modal-body { padding: 16px; overflow-y: auto; }
.vl-modal-body:empty { display: none; }
/* Yes/no questions: the question, then the buttons – no dividing lines. */
.vl-modal-confirm .vl-modal-head { align-items: flex-start; border-bottom: 0; padding: 18px 16px 6px 20px; }
.vl-modal-confirm .vl-modal-head h2 { font-size: 16px; font-weight: 600; line-height: 1.45; white-space: pre-line; }
.vl-modal-confirm .vl-modal-body { display: none; }
.vl-modal-confirm .vl-modal-foot { border-top: 0; padding: 12px 16px 16px; }
.vl-modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--vl-border); }
.vl-modal .vl-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vl-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vl-preview figure { margin: 0; text-align: center; }
.vl-preview img { width: 100%; border-radius: 10px; background: #f3f4f7; }
.vl-preview figcaption { margin-top: 6px; font-weight: 600; }
.vl-inline { display: flex; gap: 8px; }
.vl-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vl-social a { padding: 7px 12px; border: 1px solid var(--vl-border); border-radius: 8px; color: var(--vl-text); text-decoration: none; font-weight: 600; }
.vl-social a:hover { border-color: var(--vl-primary); color: var(--vl-primary); }
.vl-help img { max-width: 100%; height: auto; }

.vl-crop-wrap { display: flex; justify-content: center; }
.vl-crop { position: relative; user-select: none; touch-action: none; background: #222; }
.vl-crop img { width: 100%; height: 100%; display: block; opacity: .45; pointer-events: none; }
.vl-crop-box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35); cursor: move; background: transparent; }
.vl-crop-h { position: absolute; width: 16px; height: 16px; background: #fff; border: 2px solid var(--vl-primary); border-radius: 50%; }
.vl-crop-nw { left: -9px; top: -9px; cursor: nwse-resize; }
.vl-crop-ne { right: -9px; top: -9px; cursor: nesw-resize; }
.vl-crop-sw { left: -9px; bottom: -9px; cursor: nesw-resize; }
.vl-crop-se { right: -9px; bottom: -9px; cursor: nwse-resize; }

/* Toasts */
.vl-toasts { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 100001; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.vl-toast { display: flex; align-items: center; gap: 10px; max-width: min(560px, calc(100vw - 24px)); padding: 10px 8px 10px 16px; border-radius: 10px; background: #23252f; color: #fff; box-shadow: var(--vl-shadow); pointer-events: auto; animation: vl-in .2s ease; white-space: pre-line; }
.vl-toast-error { background: var(--vl-danger); }
.vl-toast-success { background: var(--vl-success); }
.vl-toast-warning { background: var(--vl-warning); }
.vl-toast.vl-out { opacity: 0; transition: opacity .25s; }
.vl-toast-action { border: 1px solid rgba(255, 255, 255, .6); border-radius: 6px; background: none; color: #fff; padding: 4px 10px; cursor: pointer; font-weight: 700; }
.vl-toast-close { border: 0; background: none; color: #fff; cursor: pointer; display: flex; opacity: .8; }
.vl-toast-close .vl-icon { width: 16px; height: 16px; }
@keyframes vl-in { from { opacity: 0; transform: translateY(8px); } }

/* RTL */
.rtl .vl-tabs { border-right: 0; border-left: 1px solid var(--vl-border); }
.rtl .vl-panel { border-right: 0; border-left: 1px solid var(--vl-border); }
.rtl .vl-zoom { margin-left: 0; margin-right: auto; }

/* Tablet / phone */
@media (max-width: 1100px) {
	.vl-btn-labeled .vl-btn-label { display: none; }
	.vl-brand { display: none; }
}
@media (max-width: 800px) {
	:root { --vl-top: 52px; }
	.vl-top { padding: 0 6px; gap: 4px; }
	:root { --vl-tabs: 68px; }
	.vl-top-tools { flex: 0 0 auto; justify-content: flex-end; gap: 0; }
	.vl-top-tools .vl-btn { min-width: 32px; padding: 0 3px; }
	.vl-top-tools .vl-btn:not(.vl-keep-mobile):not(.vl-more-btn) { display: none; }
	.vl-top-tools .vl-more-btn { display: inline-flex; }
	.vl-top-left { gap: 0; flex: 1 1 auto; overflow: hidden; }
	.vl-top-left .vl-btn { min-width: 32px; padding: 0 3px; flex: none; }
	.vl-brand-link { flex: none; }
	.vl-top-right { gap: 4px; flex: none; }
	.vl-brand-link { margin-right: 2px; }
	.vl-logo { max-width: 70px; max-height: 28px; }
	.vl-cart-label { display: none; }
	.vl-cart-btn { padding: 0 11px; }
	.vl-price { padding: 0 2px; }
	.vl-qty { width: 46px; padding: 0 4px; }
	.vl-price-total { font-size: 15px; }
	.vl-body { flex-direction: column-reverse; }
	.vl-tabs { width: 100%; height: var(--vl-tabs); flex: none; flex-direction: row; padding: 4px; border-right: 0; border-top: 1px solid var(--vl-border); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
	.vl-tabs::-webkit-scrollbar { display: none; }
	.vl-tabs-indicator { display: none; position: absolute; left: 50%; bottom: 3px; width: min(46%, 180px); height: 4px; margin-left: calc(min(46%, 180px) / -2); border-radius: 4px; background: rgba(29, 31, 36, 0.1); background: color-mix(in srgb, var(--vl-text) 10%, transparent); z-index: 13; pointer-events: none; opacity: 0; transition: opacity .3s; }
	.vl-tabs-indicator-on { opacity: 1; }
	.vl-tabs-thumb { display: block; height: 100%; border-radius: 4px; background: var(--vl-primary); opacity: .75; will-change: transform; }
	.vl-tabs { padding-bottom: 9px; }
	.vl-tab { flex: 1 0 64px; padding: 6px 4px; }
	.vl-tab span { white-space: nowrap; }
	.vl-panel { position: absolute; left: 0; right: 0; bottom: var(--vl-tabs); width: auto !important; height: 0; border: 0; border-top: 1px solid var(--vl-border); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, .12); transition: height .22s ease; }
	.vl-panel-open .vl-panel { height: min(55vh, 460px); }
	.vl-app:not(.vl-panel-open) .vl-panel { visibility: hidden; border-top-width: 0; box-shadow: none; }
	.vl-panel-head, .vl-panel-body { min-width: 0; }
	/* Phones: the toolbar fits the screen and scrolls sideways (swipe left/right). */
	.vl-toolbar { top: 6px; left: 6px; right: 6px; width: auto; max-width: calc(100% - 12px); margin: 0; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; scroll-behavior: smooth; scrollbar-width: none; }
	.vl-toolbar::-webkit-scrollbar { display: none; }
	.vl-toolbar > * { flex: none; }
	.vl-toolbar .vl-font-btn { max-width: 140px; }
	.vl-toolbar.vl-more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
	.vl-toolbar.vl-more-left { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
	.vl-toolbar.vl-more-left.vl-more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
	.vl-sides { bottom: 52px; left: 10px; right: 10px; }
	.vl-zoom { display: none; }
	.vl-statusbar { min-height: 44px; height: 44px; padding: 0 10px; justify-content: center; }
	.vl-sizebox { flex-wrap: nowrap; justify-content: center; width: 100%; gap: 6px; }
	.vl-dims { flex-wrap: nowrap; gap: 2px; }
	.vl-dim { margin-right: 0; }
	.vl-area-size { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.vl-unit-select { flex: none; }
	.vl-dim-x, .vl-dim-y, .vl-dim-icon { display: none; }
	.vl-dim-input { width: 64px; }
	.vl-statusbar-min { display: none; }
	.vl-side-img { width: 40px; height: 40px; }
	.vl-grid { grid-template-columns: repeat(4, 1fr); }
	.vl-grid-templates { grid-template-columns: repeat(3, 1fr); }
	.vl-toasts { bottom: 118px; width: calc(100% - 24px); }
}

/* Text effects, permissions, terms */
.vl-fx-pop { width: 292px; }
.vl-fx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vl-fx-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 4px; border: 1px solid var(--vl-border); border-radius: 8px; background: #fff; color: var(--vl-muted); cursor: pointer; font: inherit; }
.vl-fx-item svg { width: 40px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.vl-fx-item small { font-size: 10.5px; line-height: 1.1; }
.vl-fx-item:hover, .vl-fx-item.vl-selected { border-color: var(--vl-primary); color: var(--vl-primary); }
.vl-perm-form { width: 270px; }
.vl-field-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0; }
.vl-field-inline > span { margin: 0; font-weight: 500; }
.vl-field-inline .vl-input { width: 90px; height: 32px; }
.vl-terms { max-height: 50vh; overflow-y: auto; padding: 4px 2px 10px; border-bottom: 1px solid var(--vl-border); margin-bottom: 10px; }
.vl-terms-check { font-weight: 600; }
.vl-font-upload { cursor: pointer; font-weight: 600; }
.vl-font-upload .vl-icon { color: var(--vl-primary); }
.vl-font-mine::after { content: " \2605"; font-size: 12px; color: var(--vl-primary); font-family: system-ui, sans-serif; }
@media (max-width: 370px) {
	.vl-top { gap: 2px; padding: 0 4px; }
	.vl-top-left .vl-btn, .vl-top-tools .vl-btn { min-width: 30px; padding: 0 2px; }
	.vl-price-total { font-size: 14px; }
	.vl-qty { width: 40px; }
}
@media (max-width: 340px) {
	.vl-top-left .vl-btn, .vl-top-tools .vl-btn { min-width: 27px; padding: 0 1px; }
	.vl-cart-btn { padding: 0 8px; }
	.vl-qty { width: 34px; padding: 0 2px; }
	.vl-price-total { font-size: 13px; }
	.vl-top, .vl-top-right { gap: 1px; }
	.vl-top { padding: 0 2px; }
}

/* 3D mug preview */
.vl-preview-3d { grid-template-columns: 1fr; }
.vl-preview-mug { margin: 0; }
.vl-mug3d { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.vl-mug3d-stage { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 42%, #eceef2 0%, #d3d6dd 55%, #b9bdc6 100%); }
.vl-mug3d-canvas { display: block; width: 100% !important; height: auto !important; cursor: grab; touch-action: pan-y; outline: none; -webkit-tap-highlight-color: transparent; }
.vl-mug3d-canvas:active { cursor: grabbing; }
.vl-mug3d-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--vl-primary); }
.vl-mug3d-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 5px 12px; border-radius: 20px; background: rgba(29, 31, 36, .72); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.vl-mug3d-hint.vl-hidden-hint { opacity: 0; }
.vl-mug3d-bar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.vl-mug3d-btn { width: 44px; height: 40px; padding: 0; }
.vl-mug3d-btn svg { width: 20px; height: 20px; }
.vl-mug3d-btn.vl-selected { background: #ebeafb; background: color-mix(in srgb, var(--vl-primary) 12%, #fff); }
@media (max-width: 800px) {
	.vl-modal-overlay { padding: 8px; }
	.vl-modal-wide .vl-modal-body { padding: 10px; }
}

/* Custom sticker layouts */
.vl-sticker-builder { margin-top: 14px; padding: 12px; border: 1px solid var(--vl-border); border-radius: 12px; background: #f8f8fe; background: color-mix(in srgb, var(--vl-primary) 4%, #fff); }
.vl-sticker-builder .vl-section-title { margin-top: 2px; }
.vl-sb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vl-sb-row .vl-field { margin: 6px 0; }
.vl-field-label { display: block; margin: 10px 0 5px; font-weight: 600; font-size: 13px; }
.vl-sb-shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vl-sb-shape { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border: 1px solid var(--vl-border); border-radius: 8px; background: #fff; color: var(--vl-muted); cursor: pointer; font: inherit; }
.vl-sb-shape svg { width: 28px; height: 28px; }
.vl-sb-shape small { font-size: 11px; }
.vl-sb-shape.vl-selected, .vl-sb-shape:hover { border-color: var(--vl-primary); color: var(--vl-primary); }
.vl-sb-info { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--vl-border); font-size: 13px; }
.vl-sb-info strong { font-size: 15px; }
.vl-sb-bad { color: var(--vl-danger); border-color: #f5b6b8; border-color: color-mix(in srgb, var(--vl-danger) 40%, #fff); }
.vl-sb-price { color: var(--vl-primary); font-weight: 600; }
.vl-sb-open { margin-top: 0; font-weight: 600; }
.vl-sb-open .vl-icon { color: var(--vl-primary); }

/* Sticker sheet preview */
.vl-preview-sticker { margin: 0; text-align: center; }
.vl-sticker-view { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; border-radius: 12px; overflow: hidden; line-height: 0; }
.vl-sticker-canvas { display: block; max-width: 100%; max-height: calc(100vh - 230px); width: auto; height: auto; touch-action: pan-y; cursor: crosshair; }
.vl-sticker-hint { position: absolute; left: 50%; bottom: 10px; line-height: 1.3; transform: translateX(-50%); padding: 5px 12px; border-radius: 20px; background: rgba(29, 31, 36, .72); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; animation: vl-hint-out 1s ease 5s forwards; }
@keyframes vl-hint-out { to { opacity: 0; } }
@media (max-width: 800px) { .vl-sticker-view { max-width: 100%; } .vl-sticker-hint { white-space: normal; width: max-content; max-width: 90%; text-align: center; } }

/* The swipe bar is for touch screens (phones and tablets) only, not narrow desktop windows. */
@media (max-width: 800px) and (pointer: coarse), (max-width: 800px) and (hover: none) {
	.vl-tabs-indicator { display: block; }
}

/* Quick guide */
.vl-tour { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100001; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--vl-text); opacity: 0; transition: opacity .2s; }
.vl-tour, .vl-tour * { box-sizing: border-box; }
.vl-tour-in { opacity: 1; }
.vl-tour-out { opacity: 0; }
.vl-tour-shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.vl-tour-spot { position: fixed; border-radius: 12px; box-shadow: 0 0 0 2px var(--vl-primary), 0 0 0 6px rgba(91, 76, 219, 0.25), 0 0 0 200vmax rgba(15, 17, 28, .58); box-shadow: 0 0 0 2px var(--vl-primary), 0 0 0 6px color-mix(in srgb, var(--vl-primary) 25%, transparent), 0 0 0 200vmax rgba(15, 17, 28, .58); pointer-events: none; transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease; }
.vl-tour-intro .vl-tour-spot { box-shadow: 0 0 0 200vmax rgba(15, 17, 28, .58); }
.vl-tour-card { position: fixed; width: 330px; max-width: calc(100vw - 24px); padding: 18px 18px 14px; background: var(--vl-surface); border-radius: 16px; box-shadow: 0 18px 50px rgba(10, 12, 30, .28), 0 2px 6px rgba(10, 12, 30, .12); transition: left .3s ease, top .3s ease; }
.vl-tour-intro .vl-tour-card { width: 360px; text-align: center; padding-top: 22px; }
.vl-tour-badge { width: 48px; height: 48px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; border-radius: 14px; color: var(--vl-primary); background: rgba(91, 76, 219, 0.12); background: color-mix(in srgb, var(--vl-primary) 12%, transparent); }
.vl-tour-badge .vl-icon, .vl-tour-badge svg { width: 26px; height: 26px; }
.vl-tour-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vl-tour-intro .vl-tour-head { flex-direction: column; gap: 8px; }
.vl-tour-count { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--vl-primary); text-transform: uppercase; }
.vl-tour-title { margin: 4px 0 6px; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--vl-text); }
.vl-tour-text { margin: 0; color: var(--vl-muted); }
.vl-tour-note { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--vl-hover); font-size: 12.5px; color: var(--vl-muted); }
.vl-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.vl-tour-intro .vl-tour-foot { justify-content: center; gap: 14px; }
.vl-tour-intro .vl-tour-dots { order: 2; }
.vl-tour-dots { display: flex; gap: 5px; flex: none; }
.vl-tour-dots span { width: 6px; height: 6px; border-radius: 6px; background: var(--vl-border); transition: width .25s, background .25s; }
.vl-tour-dots span.vl-on { width: 16px; background: var(--vl-primary); }
.vl-tour-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.vl-tour-intro .vl-tour-actions { margin: 0; }
.vl-tour-actions .vl-button { min-height: 36px; padding: 0 14px; white-space: nowrap; }
.vl-tour-skip { white-space: nowrap; border: 0; background: none; padding: 8px 6px; font: inherit; font-size: 13px; color: var(--vl-muted); cursor: pointer; text-decoration: none; font-weight: 600; }
.vl-tour-skip:hover { color: var(--vl-text); }
@media (prefers-reduced-motion: reduce) { .vl-tour-spot, .vl-tour-card { transition: none; } }
@media (max-width: 480px) { .vl-tour-card { padding: 16px 14px 12px; } .vl-tour-actions .vl-button { padding: 0 12px; } }

/* Print & cut from the customer's own file */
.vl-sb-mode { margin-bottom: 10px; }
.vl-sb-mode button { flex: 1; }
.vl-sb-drop { margin: 6px 0 12px; }
.vl-sb-drop span { overflow-wrap: anywhere; }
.vl-sb-preview { display: block; width: 100%; max-width: 300px; height: auto; margin: 8px auto; border-radius: 10px; background: repeating-conic-gradient(#eef0f4 0% 25%, #f8f9fb 0% 50%) 50% / 16px 16px; }
.vl-sb-warn { color: var(--vl-warning); }
.vl-sb-offset { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; }
.vl-sb-step { width: 42px; height: 38px; padding: 0; font-size: 22px; line-height: 1; justify-content: center; }
.vl-sb-offset-value { min-width: 70px; text-align: center; font-weight: 700; font-size: 15px; }
/* Quantity discounts */
.vl-breakdown tr.vl-discount td { color: var(--vl-success); }
.vl-qd { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--vl-hover); }
.vl-qd ul { margin: 6px 0 0; padding: 0; list-style: none; }
.vl-qd li { padding: 2px 0; color: var(--vl-muted); }
.vl-qd li.vl-on { color: var(--vl-success); font-weight: 600; }
.vl-qd li.vl-on::before { content: "✓ "; }
.vl-qd p { margin: 6px 0 0; }
/* Mug handle and edge warning */
.vl-mug-warn { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: 18px; background: #fdecec; color: #b3261e; font-size: 12.5px; line-height: 1.35; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); pointer-events: none; }
.vl-mug-warn span:last-child { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vl-mug-warn-icon { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #e5484d; color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 800px) { .vl-mug-warn { font-size: 12px; } }
.vl-mug3d-btn.vl-recording { color: #e5484d; animation: vl-rec 1s ease-in-out infinite; }
@keyframes vl-rec { 50% { opacity: .45; } }
.vl-sb-bg { display: flex; flex-direction: column; gap: 8px; margin: -4px 0 12px; padding: 10px; border-radius: 10px; background: var(--vl-hover); }
.vl-sb-bg-btn { align-self: flex-start; gap: 6px; }
/* Photo collage */
.vl-collage-open { margin-bottom: 10px; gap: 8px; }
.vl-collage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.vl-collage-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; border: 1px solid var(--vl-border); border-radius: 10px; background: var(--vl-surface); cursor: pointer; font: inherit; color: var(--vl-text); }
.vl-collage-card:hover, .vl-collage-card:focus-visible { border-color: var(--vl-primary); }
.vl-collage-svg svg { display: block; width: 96px; height: 58px; fill: #dfe3ee; stroke: #b9c0d3; stroke-width: 1; }
.vl-collage-card:hover .vl-collage-svg svg { fill: #e6e3fb; stroke: var(--vl-primary); }
.vl-collage-card small { font-size: 12px; color: var(--vl-muted); }
/* Photo collage tab: the photos of the collage, each with zoom, replace and reset */
.vl-collage-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.vl-collage-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border: 1px solid var(--vl-border); border-radius: 10px; background: var(--vl-surface); text-align: left; font: inherit; color: inherit; }
.vl-collage-row.vl-selected { border-color: var(--vl-primary); box-shadow: 0 0 0 1px var(--vl-primary); }
.vl-collage-thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #eef0f4; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vl-collage-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vl-collage-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vl-collage-row-body strong { font-size: 13px; }
.vl-collage-row-body .vl-range { margin: 0; }
.vl-collage-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.vl-collage-row-actions .vl-button { padding: 5px 10px; font-size: 12px; min-height: 0; }
.vl-collage-empty { align-items: center; cursor: pointer; border-style: dashed; color: var(--vl-muted); }
.vl-collage-empty:hover, .vl-collage-empty:focus-visible { border-color: var(--vl-primary); color: var(--vl-primary); }
.vl-collage-plus { cursor: inherit; }
.vl-collage-pop { min-width: 230px; }
/* 3D mug: which side of the mug is facing (same names as above the design area) */
.vl-mug3d-side { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 20px; background: rgba(255, 255, 255, .88); color: #1d1f24; font-size: 12px; font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); pointer-events: none; }
.vl-sb-each { color: var(--vl-muted); font-size: 12.5px; }
.vl-breakdown tr.vl-each td { color: var(--vl-muted); font-size: 12.5px; }
/* Editing one sticker on its own */
.vl-sticker-focus-bar { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 7; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px); padding: 8px 10px; border: 1px solid var(--vl-border); border-radius: 14px; background: var(--vl-surface); color: var(--vl-text); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); animation: vl-in .2s ease; }
.vl-sf-top { display: flex; align-items: center; gap: 2px; }
.vl-sf-label { min-width: 104px; text-align: center; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.vl-sf-next svg { transform: scaleX(-1); }
.vl-sf-actions { display: flex; gap: 8px; }
.vl-sf-actions .vl-button { white-space: nowrap; }
.vl-app.vl-sticker-focus .vl-tool-repeat { display: none !important; }
.vl-sf-close { flex: none; margin-left: -4px; border-left: 1px solid var(--vl-border); border-radius: 0 8px 8px 0; padding-left: 10px; }
/* Wide screens: if the canvas is narrow (panel open), the buttons go onto a second line instead of off the edge. */
.vl-sticker-focus-bar { flex-wrap: wrap; justify-content: center; }
/* Phones and tablets: two rows – sticker, colour, photo, save and close on top, the two choices below. */
@media (max-width: 1100px) {
	.vl-sticker-focus-bar { flex-direction: column; align-items: stretch; gap: 6px; width: min(560px, calc(100% - 16px)); bottom: 8px; padding: 6px 8px 8px; }
	/* The zoom buttons move up, above the bar (they would be hidden behind it). */
	.vl-app.vl-sticker-focus .vl-zoom-float { bottom: 120px; }
	.vl-sf-top { justify-content: space-between; }
	.vl-sf-actions .vl-button { flex: 1; padding-left: 8px; padding-right: 8px; font-size: 13px; white-space: normal; line-height: 1.2; }
	/* Phones: the close button sits in the top row, after the colour. */
	.vl-sticker-focus-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 4px; }
	.vl-sf-top { grid-column: 1; grid-row: 1; }
	.vl-sf-close { grid-column: 2; grid-row: 1; align-self: center; margin: 0; padding-left: 8px; border-radius: 0 8px 8px 0; }
	.vl-sf-actions { grid-column: 1 / -1; grid-row: 2; }
}
/* Preview: full sheet or one sticker */
.vl-preview-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 12px; }
.vl-preview-mode { flex: 0 1 300px; }
.vl-preview-nav { display: flex; align-items: center; gap: 2px; }
/* Messages go to the top while the finish bar is at the bottom. */
body.vl-sticker-focus-on .vl-toasts { top: 72px; bottom: auto; }
@media (max-width: 800px) { body.vl-sticker-focus-on .vl-toasts { top: 64px; } }
/* Sticker colour button in the single-sticker bar */
.vl-sf-color { gap: 6px; margin-left: 4px; }
.vl-sf-swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); flex: none; }
.vl-sf-swatch.vl-none { background: linear-gradient(135deg, #fff 45%, #e5484d 45%, #e5484d 55%, #fff 55%) !important; }
@media (max-width: 1100px) { .vl-sf-top .vl-sf-label { flex: 1; } }
/* Font browser: category filters */
.vl-font-browser { display: flex; flex-direction: column; gap: 8px; }
.vl-font-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vl-font-cats::-webkit-scrollbar { display: none; }
.vl-font-cat { flex: none; height: 30px; padding: 0 12px; border: 1px solid var(--vl-border); border-radius: 15px; background: var(--vl-surface); color: var(--vl-text); font: 600 12.5px/1 inherit; font-family: inherit; cursor: pointer; }
.vl-font-cat:hover { border-color: var(--vl-primary); }
.vl-font-cat.vl-selected { background: var(--vl-primary); border-color: var(--vl-primary); color: #fff; }
.vl-font-pop { width: 290px; max-width: calc(100vw - 32px); }
.vl-font-pop .vl-font-list-pop { margin-top: 0; }
/* Layers: a folder for each sticker */
.vl-folder { margin-bottom: 4px; border: 1px solid var(--vl-border); border-radius: 10px; background: var(--vl-surface); }
.vl-folder-head { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 6px 4px 8px; border-radius: 10px; cursor: pointer; user-select: none; }
.vl-folder-head:hover { background: var(--vl-hover); }
.vl-folder-head:focus-visible { outline: 2px solid var(--vl-primary); outline-offset: -2px; }
.vl-folder-head.vl-drop-in { background: color-mix(in srgb, var(--vl-primary) 12%, #fff); box-shadow: inset 0 0 0 2px var(--vl-primary); }
.vl-folder-caret { display: flex; color: var(--vl-muted); transition: transform .15s; transform: rotate(-90deg); }
.vl-folder.vl-open > .vl-folder-head .vl-folder-caret { transform: none; }
.vl-folder-caret .vl-icon { width: 16px; }
.vl-folder-icon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; color: var(--vl-primary); flex: none; }
.vl-folder-icon.vl-has-fill { border: 1px solid rgba(0, 0, 0, .15); border-radius: 50%; width: 18px; height: 18px; margin: 0 2px; }
.vl-folder-icon .vl-icon { width: 18px; }
.vl-folder-name { flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vl-folder-count { flex: none; min-width: 22px; padding: 1px 7px; border-radius: 10px; background: var(--vl-hover); color: var(--vl-muted); font-size: 11.5px; text-align: center; }
.vl-folder-empty .vl-folder-name { font-weight: 500; color: var(--vl-muted); }
.vl-folder-sheet { border-style: dashed; }
.vl-folder-items { list-style: none; margin: 0; padding: 2px 6px 6px 22px; }
.vl-folder-hint { padding: 4px 6px 6px; line-height: 1.4; }
.vl-sb-offset-box { margin-top: 6px; }
/* Quick guide: "Easy to miss" tip */
.vl-tour-tip { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff7e6; border: 1px solid #f5d9a1; color: #5c4210; font-size: 13px; line-height: 1.4; }
.vl-tour-tip strong { color: #8a5a00; }

/* 2.9.1 — Phones: big text box above the keyboard, zoom buttons on the design */
.vl-textsheet {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--vl-surface); border-top: 1px solid var(--vl-border); border-radius: 16px 16px 0 0;
	box-shadow: 0 -10px 30px rgba(15, 17, 28, .16);
	animation: vl-sheet-in .18s ease-out;
}
@keyframes vl-sheet-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.vl-textsheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.vl-textsheet-title { font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--vl-muted); }
.vl-textsheet-done { min-height: 40px; padding: 0 20px; border-radius: 12px; font-weight: 700; }
.vl-textsheet-field { position: relative; }
.vl-textsheet-input {
	display: block; width: 100%; min-height: 56px; max-height: 22vh; resize: none; overflow-y: auto;
	padding: 14px 44px 14px 14px; border: 2px solid var(--vl-primary); border-radius: 14px; background: #fff;
	font-size: 20px; line-height: 1.3; color: var(--vl-text); outline: none; box-sizing: border-box;
}
.vl-textsheet-clear {
	position: absolute; top: 50%; right: 8px; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 50%;
	background: var(--vl-hover); color: var(--vl-muted); font-size: 22px; line-height: 32px; cursor: pointer;
}
.vl-textsheet-hint { margin: 6px 2px 0; font-size: 12px; color: var(--vl-muted); }
.vl-textsheet-open .vl-statusbar, .vl-textsheet-open .vl-tabs, .vl-textsheet-open .vl-zoom-float { visibility: hidden; }
.vl-zoom-float {
	position: absolute; right: 10px; bottom: 10px; z-index: 6; display: none; align-items: center; gap: 2px; padding: 3px;
	background: var(--vl-surface); border: 1px solid var(--vl-border); border-radius: 999px; box-shadow: 0 4px 14px rgba(15, 17, 28, .12);
}
.vl-zoom-float .vl-btn, .vl-zoom-float button.vl-icon-btn { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; }
.vl-zoom-float-label { min-width: 48px; height: 40px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--vl-text); cursor: pointer; }
.vl-zoom-float.vl-zoomed .vl-zoom-float-label { color: var(--vl-primary); }
@media (max-width: 799px), (pointer: coarse) {
	.vl-zoom-float { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .vl-textsheet { animation: none; } }
.vl-size-stepper { display: inline-flex; align-items: stretch; flex: none; border: 1px solid var(--vl-border); border-radius: 10px; background: var(--vl-surface); overflow: hidden; }
.vl-size-stepper .vl-size-input { width: 52px; height: 36px; border: 0; border-radius: 0; box-shadow: none; padding: 0 2px; -moz-appearance: textfield; }
.vl-size-stepper .vl-size-input::-webkit-inner-spin-button, .vl-size-stepper .vl-size-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vl-size-step {
	width: 34px; min-width: 34px; border: 0; background: var(--vl-hover); color: var(--vl-text); font: inherit; font-size: 20px; font-weight: 600; line-height: 1;
	cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
.vl-size-step:active { background: var(--vl-border); }
/* Same height as the other tools in the bar (36px). */
.vl-size-stepper { box-sizing: border-box; height: 36px; }
.vl-size-stepper .vl-size-input, .vl-size-step { height: 100%; box-sizing: border-box; }
.vl-toolbar-indicator { display: none; position: absolute; height: 4px; border-radius: 4px; background: rgba(29, 31, 36, 0.1); background: color-mix(in srgb, var(--vl-text) 10%, transparent); z-index: 8; pointer-events: none; opacity: 0; transition: opacity .3s; }
.vl-toolbar-indicator.vl-tabs-indicator-on { opacity: 1; }
.vl-toolbar-indicator .vl-tabs-thumb { display: block; height: 100%; border-radius: 4px; background: var(--vl-primary); opacity: .75; will-change: transform; }
@media (max-width: 800px) and (pointer: coarse), (max-width: 800px) and (hover: none) {
	.vl-toolbar-indicator { display: block; }
}
.vl-textsheet-open .vl-toolbar-indicator { visibility: hidden; }

/* "Apply to all stickers" (button under the text box and in the tool bar). */
.vl-textall-apply {
	display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 10px 0 0; padding: 0 14px;
	border: 1.5px solid var(--vl-primary); border-radius: 12px; background: #fff; color: var(--vl-primary);
	font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.vl-textall-apply:hover { background: var(--vl-primary); color: #fff; }
.vl-textall-apply:active { transform: scale(.98); }
.vl-textall-apply .vl-icon { width: 18px; height: 18px; }
.vl-textall-btn .vl-btn-label { font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Die-cut: design first, then make stickers. */
.vl-diecut-step { display: grid; gap: 10px; margin-bottom: 14px; }
.vl-diecut-step .vl-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; }
.vl-diecut-step .vl-button .vl-icon { width: 18px; height: 18px; }
.vl-diecut-or { margin: -2px 0 0; text-align: center; }
.vl-diecut-upload-label { margin-top: 4px; }
.vl-grid-templates.vl-grid-diecut .vl-thumb { aspect-ratio: 1; padding: 2px; }

/* Die-cut: "Apply to print sheet" / "Edit sticker" over the design */
.vl-diecut-bar { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 7; display: flex; gap: 8px; }
.vl-diecut-bar .vl-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 18px rgba(20, 22, 43, .18); }
.vl-diecut-bar .vl-diecut-editbtn { background: #fff; }
.vl-diecut-bar { flex-direction: column; align-items: center; width: min(92%, 420px); }
/* Something is selected: the bar sits under the editing toolbar, button only. */
.vl-diecut-bar.vl-diecut-compact .vl-diecut-controls { display: none; }
.vl-diecut-bar.vl-diecut-compact .vl-button { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.vl-diecut-controls {
	width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 10px 14px 8px;
	background: rgba(255, 255, 255, .96); border: 1px solid var(--vl-border); border-radius: 14px; box-shadow: 0 6px 18px rgba(20, 22, 43, .12);
}
.vl-diecut-ctl { display: grid; gap: 2px; min-width: 0; }
.vl-diecut-ctl-head { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 700; color: var(--vl-text); }
.vl-diecut-val { color: var(--vl-primary); font-weight: 700; white-space: nowrap; }
.vl-diecut-range { width: 100%; accent-color: var(--vl-primary); margin: 2px 0; }
.vl-diecut-size-note { grid-column: 1 / -1; margin: 0; font-size: 11.5px; color: var(--vl-muted); text-align: center; }
.vl-diecut-size-note:empty { display: none; }

/* Die-cut panel: quick sizes */
.vl-dc { display: grid; gap: 10px; }
.vl-dc-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vl-dc-size { display: grid; gap: 2px; justify-items: center; padding: 10px 6px; border: 1.5px solid var(--vl-border); border-radius: 12px; background: #fff; font: inherit; cursor: pointer; }
.vl-dc-size strong { font-size: 15px; }
.vl-dc-size small { font-size: 11.5px; color: var(--vl-muted); }
.vl-dc-size:hover { border-color: var(--vl-primary); }
.vl-dc-size.vl-selected { border-color: var(--vl-primary); background: color-mix(in srgb, var(--vl-primary) 8%, #fff); box-shadow: 0 0 0 1px var(--vl-primary) inset; }
.vl-dc-ownrow { display: flex; align-items: flex-end; gap: 8px; }
.vl-dc-ownrow .vl-field { flex: 1; margin: 0; }
.vl-dc-ownrow .vl-button { min-height: 42px; white-space: nowrap; }
.vl-dc-row { padding: 10px 12px; border: 1px solid var(--vl-border); border-radius: 12px; background: #fff; }

/* 2.11 — Position popover: layer order, line up, flip and rotate in one place */
.vl-pos-pop { display: flex; flex-direction: column; gap: 6px; min-width: 240px; }
.vl-pos-pop .vl-field-label { display: block; margin: 4px 0 2px; font-size: 12px; font-weight: 600; color: var(--vl-muted); }
.vl-pos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vl-pos-btn { display: flex; align-items: center; gap: 6px; justify-content: flex-start; height: auto; min-height: 36px; padding: 6px 8px; font-size: 12.5px; line-height: 1.2; text-align: left; white-space: normal; }
.vl-pos-btn .vl-icon { flex: none; width: 18px; height: 18px; }
/* Touch tablets: one set of zoom buttons (the big round ones on the design), not two. */
@media (min-width: 800px) and (pointer: coarse) { .vl-statusbar .vl-zoom { display: none; } }
/* Tablets and small laptops: icon-only buttons have no hover hint on touch, so the extra tools
   (print, download, share, guide, report…) go into the "More" (⋯) menu, where each has its name. */
@media (max-width: 1100px), (pointer: coarse) {
	.vl-top-tools .vl-btn:not(.vl-keep-mobile):not(.vl-more-btn) { display: none; }
	.vl-top-tools .vl-more-btn { display: inline-flex; }
}
/* 3D mug preview: each button shows its name under the icon */
.vl-mug3d-btn { width: auto; min-width: 58px; height: auto; min-height: 48px; padding: 6px 6px 5px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.vl-mug3d-cap { font-size: 11px; font-weight: 600; line-height: 1.1; max-width: 76px; white-space: normal; text-align: center; }
@media (max-width: 480px) { .vl-mug3d-bar { gap: 5px; } .vl-mug3d-btn { min-width: 50px; } .vl-mug3d-cap { font-size: 10px; } }

/* Opacity: slider and exact number */
.vl-opacity-pop { min-width: 240px; }
.vl-opacity-pop .vl-range-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--vl-muted); }
.vl-opacity-val { color: var(--vl-text); font-weight: 700; }
.vl-opacity-row { display: flex; align-items: center; gap: 8px; }
.vl-opacity-row input[type=range] { flex: 1; min-width: 0; accent-color: var(--vl-primary); }
.vl-opacity-num { width: 64px; flex: none; }
.vl-opacity-btn .vl-btn-label { font-variant-numeric: tabular-nums; }

/* My stickers: saved single stickers */
.vl-ms-save { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--vl-border); border-radius: 12px; background: var(--vl-surface); margin-bottom: 4px; }
.vl-ms-save .vl-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.vl-ms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vl-ms-item { position: relative; }
.vl-ms-thumb { display: grid; gap: 6px; width: 100%; padding: 8px; border: 1px solid var(--vl-border); border-radius: 12px; background: repeating-conic-gradient(#f1f2f5 0 25%, #fff 0 50%) 0 0 / 14px 14px; cursor: pointer; font: inherit; text-align: center; }
.vl-ms-thumb:hover { border-color: var(--vl-primary); }
.vl-ms-thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18)); }
.vl-ms-name { font-size: 12.5px; font-weight: 600; color: var(--vl-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(255, 255, 255, .85); border-radius: 6px; padding: 1px 4px; }
.vl-ms-del { position: absolute; top: 6px; right: 6px; z-index: 1; box-sizing: border-box; width: 30px; height: 30px; min-width: 0; min-height: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 0 !important; line-height: 0; font-size: 0; border: 1px solid var(--vl-border); border-radius: 50%; background: var(--vl-surface); color: var(--vl-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); cursor: pointer; -webkit-appearance: none; appearance: none; }
.vl-ms-del:hover { color: var(--vl-primary); }
.vl-ms-del .vl-icon { display: block; width: 14px; height: 14px; }
.vl-ms-empty { grid-column: 1 / -1; }
/* Small phones: the single-sticker bar's top row fits six buttons. */
@media (max-width: 400px) {
	.vl-sf-top { gap: 0; }
	.vl-sf-top .vl-sf-label { min-width: 0; padding: 0 4px; font-size: 13px; }
	.vl-sf-top .vl-btn, .vl-sticker-focus-bar .vl-sf-close { width: 36px; min-width: 36px; padding-left: 0; padding-right: 0; justify-content: center; }
}

/* Sticker sheets: ready-made sizes, then your own size */
.vl-sb-sizes { margin-bottom: 4px; }
.vl-sb-sizes-note { margin: 0 0 6px; }
.vl-sb-own { display: grid; gap: 8px; margin-top: 6px; padding: 12px; border: 1px solid var(--vl-border); border-radius: 12px; background: #fff; }
.vl-sb-own .vl-field-label { margin: 0; }
.vl-sb-own .vl-sb-row, .vl-sb-own p { margin: 0; }

/* Name labels -------------------------------------------------------------- */
.vl-names-card { display: grid; gap: 6px; margin: 14px 0 4px; padding: 12px; border: 1px solid var(--vl-border); border-radius: 12px; background: var(--vl-surface-2, rgba(0, 0, 0, .025)); }
.vl-names-card p { margin: 0; }
.vl-names-card .vl-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.vl-names-card .vl-icon, .vl-names-upload .vl-icon { width: 18px; height: 18px; }
.vl-names { display: grid; gap: 10px; }
.vl-names p { margin: 0; }
.vl-names-list { width: 100%; box-sizing: border-box; min-height: 150px; max-height: 40vh; padding: 10px 12px; border: 1px solid var(--vl-border); border-radius: 10px; font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; background: var(--vl-surface); color: var(--vl-text); }
.vl-names-list:focus { outline: 2px solid var(--vl-primary); outline-offset: 1px; }
.vl-names-upload { display: inline-flex; align-items: center; gap: 8px; justify-self: start; cursor: pointer; }
.vl-names-per-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.vl-names-per { width: 84px; padding: 8px 10px; border: 1px solid var(--vl-border); border-radius: 8px; font: inherit; text-align: center; }
.vl-names-summary { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--vl-surface-2, rgba(0, 0, 0, .04)); font-size: 14px; }
.vl-names-summary .vl-sb-warn { margin-top: 4px; }
.vl-names-btn .vl-btn-label { font-size: 12px; font-weight: 600; white-space: nowrap; }
.vl-names-bar { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 7; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 6px 6px 6px 12px; border: 1px solid var(--vl-border); border-radius: 12px; background: var(--vl-surface); color: var(--vl-text); box-shadow: 0 6px 20px rgba(0, 0, 0, .14); animation: vl-in .2s ease; }
.vl-names-bar > .vl-icon { width: 20px; height: 20px; flex: none; color: var(--vl-primary); }
.vl-names-bar-text { display: grid; min-width: 0; font-size: 13px; line-height: 1.3; }
.vl-names-bar-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--vl-muted, #666); }
.vl-names-bar-x { flex: none; }
@media (max-width: 600px) {
	.vl-names-bar { top: 6px; width: calc(100% - 16px); box-sizing: border-box; }
}

/* Check your design ---------------------------------------------------------- */
.vl-modal-check .vl-modal-body { display: grid; gap: 12px; }
.vl-check-design { display: grid; gap: 12px; }
.vl-check-lead { margin: 0; font-weight: 600; }
.vl-check-ok { display: flex; align-items: center; gap: 8px; color: #1a7f37; }
.vl-check-ok .vl-icon { width: 20px; height: 20px; }
.vl-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vl-check-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.vl-check-list li > span:not(.vl-icon) { flex: 1; min-width: 0; }
.vl-check-list .vl-icon { width: 18px; height: 18px; flex: none; }
.vl-check-warn { background: #fff6e5; color: #6b4300; }
.vl-check-info { background: var(--vl-surface-2, rgba(0, 0, 0, .04)); color: var(--vl-text); }
.vl-check-show { flex: none; padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.vl-check-words { display: flex; flex-wrap: wrap; gap: 6px; max-height: 30vh; overflow: auto; }
.vl-check-word { padding: 5px 10px; border: 1px solid var(--vl-border); border-radius: 8px; background: var(--vl-surface); font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.vl-check-confirm { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 2px solid var(--vl-primary); border-radius: 10px; font-weight: 600; cursor: pointer; }
.vl-check-confirm input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--vl-primary); }
.vl-modal-check .vl-section-title { margin: 4px 0 0; }

/* Saving needs an account */
.vl-account-ask p { margin: 0 0 10px; }
.vl-account-perks { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }
.vl-modal-account .vl-modal-foot { flex-wrap: wrap; }
@media (max-width: 600px) {
	.vl-modal-account .vl-modal-foot { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
	.vl-modal-account .vl-modal-foot .vl-button { width: 100%; margin: 0; }
}
.vl-breakdown td:last-child { white-space: nowrap; }
/* Phones: the price per sticker under the price stays small, so Undo and Redo keep their room. */
@media (max-width: 440px) {
	.vl-price-each { font-size: 10.5px; letter-spacing: -0.1px; }
	.vl-top { gap: 2px; }
	.vl-top-right { gap: 2px; }
	.vl-price { padding: 0 2px; }
	.vl-top-left .vl-btn, .vl-top-tools .vl-btn { min-width: 30px; padding: 0 2px; }
}
@media (max-width: 370px) {
	.vl-price-each { display: none; }
}
