/* Tamvya Design (early access).
   Templates first: one page to start a label from a description, a size or a template, and the labels you print
   again and again under them. Labels are always shown as labels: white stock on a pale liner, at their proportions.
   Colours are Tamvya's (tamvya-brand.css); the type is Poppins (Indian Type Foundry, SIL OFL, fonts/OFL.txt). */
@font-face{font-family:"Poppins";src:url("/design/fonts/poppins-Regular.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Poppins";src:url("/design/fonts/poppins-Medium.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Poppins";src:url("/design/fonts/poppins-Bold.woff") format("woff");font-weight:700;font-style:normal;font-display:swap}

:root{
  --ink:#1B2738;
  --muted:#5F6B7A;
  --faint:#8A94A3;        /* lines and dashes only: about 3:1 on white, too faint for text (16 Oct 2026) */
  --line:#DCE3EC;
  --liner:#EDF1F6;        /* the backing liner labels sit on */
  --paper:#F7F9FC;
  --label:#FFFFFF;
  --signal:#0B74DF;       /* Tamvya blue: actions */
  --signal-deep:#0A5FB8;
  --signal-soft:#EAF3FD;
  --thermal:#F58220;      /* Tamvya orange: the AI spark */
  --bad:#B42318;--warn:#8A5300;--ok:#0B6B45;
  --ring:0 0 0 3px rgba(11,116,223,.30);
  --r:12px;
  --font:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --rail:76px;
  --gutter:clamp(16px,3vw,40px);
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%}
body{background:var(--label);color:var(--ink);font:400 14px/1.5 var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--signal)}
.dz-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:none;box-shadow:var(--ring);border-radius:8px}

/* ---------- frame: an icon rail and a scrolling page */
.dz-app{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);height:100vh;height:100dvh}
.dz-rail{display:flex;flex-direction:column;align-items:center;gap:18px;padding:16px 8px;border-right:1px solid var(--line);background:var(--label);z-index:5}
.dz-brand img{display:block;border-radius:9px}
.dz-nav{display:grid;gap:4px;width:100%}
.dz-nav-item{display:grid;justify-items:center;gap:3px;width:100%;border:0;background:none;padding:8px 2px;border-radius:10px;color:var(--muted);text-decoration:none;font-size:11px;font-weight:500;cursor:pointer;line-height:1.2;text-align:center}
.dz-nav-item:hover{background:var(--paper);color:var(--ink)}
.dz-nav-item[aria-current="page"]{color:var(--signal-deep);background:var(--signal-soft)}
.dz-ico{display:inline-flex}
.dz-account{margin-top:auto;position:relative}
.dz-avatar{width:36px;height:36px;border-radius:50%;border:0;background:var(--ink);color:#fff;font-weight:500;cursor:pointer}
.dz-account-menu{position:absolute;left:calc(100% + 10px);bottom:0;width:240px;background:var(--label);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;box-shadow:0 18px 40px -16px rgba(27,39,56,.35);font-size:13px}
.dz-account-name{font-weight:500;overflow:hidden;text-overflow:ellipsis}
.dz-account-shop{color:var(--muted);margin-bottom:8px;overflow:hidden;text-overflow:ellipsis}
.dz-main{min-width:0;height:100%;overflow:auto;scrollbar-gutter:stable}
.dz-view{max-width:1600px;margin:0 auto;padding:clamp(12px,2.4vh,22px) var(--gutter) 48px}

/* ---------- gates */
.dz-gate{max-width:400px;margin:10vh auto 0;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--label)}
.dz-gate h1{margin:10px 0 4px;font-size:21px;font-weight:700;letter-spacing:-.02em}
.dz-gate p{margin:4px 0}
#dzLoading{color:var(--muted);border:0;text-align:center}
.dz-form{display:grid;gap:12px;margin:16px 0 12px}
.dz-form label,.dz-settings label,.dz-custom label{display:grid;gap:4px;font-size:12.5px;font-weight:500;min-width:0}
.dz-error{color:var(--bad);font-size:13px;min-height:1.3em;margin:0}
input[type=email],input[type=password],input[type=number],input[type=text],input[type=search],select{width:100%;height:38px;border:1px solid var(--line);border-radius:9px;padding:7px 10px;background:var(--label);font-size:14px;min-width:0}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--signal);box-shadow:var(--ring)}
::placeholder{color:var(--muted)}
.dz-muted{color:var(--muted)}
.dz-small{font-size:12.5px}
.dz-hint{font-size:11.5px;font-weight:400;color:var(--muted)}

/* ---------- buttons */
.dz-primary,.dz-secondary,.dz-quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:9px 16px;font-weight:500;font-size:13.5px;line-height:1.2;cursor:pointer;text-decoration:none;border:1px solid transparent;white-space:nowrap}
.dz-primary{background:var(--signal);color:#fff}
.dz-primary:hover{background:var(--signal-deep)}
.dz-primary:disabled{background:#A9C4E4;cursor:not-allowed}
.dz-secondary{background:var(--label);color:var(--ink);border-color:var(--line)}
.dz-secondary:hover{border-color:var(--ink)}
.dz-quiet{background:none;color:var(--muted);padding:9px 10px}
.dz-quiet:hover{color:var(--ink)}
.dz-link{border:0;background:none;color:var(--signal);cursor:pointer;padding:0;font-weight:500;font-size:13.5px}

/* ---------- hero: the one bold moment. Tamvya blue, the AI box as a white label on it */
.dz-hero{position:relative;border-radius:20px;padding:clamp(14px,2.8vh,24px) clamp(18px,3vw,34px) clamp(12px,2.4vh,20px);color:#fff;
  background:radial-gradient(90% 120% at 100% 0%,rgba(245,130,32,.42) 0%,rgba(245,130,32,0) 42%),linear-gradient(115deg,#0A5FB8 0%,#0B74DF 55%,#3A8DEB 100%)}
.dz-hello{margin:0;font-size:13.5px}
.dz-hero h1{margin:0 0 clamp(8px,1.6vh,14px);font-size:clamp(21px,min(2.2vw,4vh),30px);line-height:1.15;font-weight:700;letter-spacing:-.025em}
.dz-ask{display:flex;align-items:flex-end;gap:10px;background:var(--label);color:var(--ink);border-radius:16px;padding:8px 8px 8px 16px;max-width:820px;box-shadow:0 14px 34px -18px rgba(10,40,80,.6)}
.dz-ask:focus-within{box-shadow:0 14px 34px -18px rgba(10,40,80,.6),0 0 0 3px rgba(255,255,255,.55)}
.dz-spark{color:var(--thermal);font-size:17px;line-height:1;padding-bottom:11px}
.dz-ask textarea{flex:1;border:0;outline:0;resize:none;background:transparent;font-size:15px;line-height:1.5;padding:7px 0;min-height:38px;max-height:132px}
.dz-ask textarea:focus{box-shadow:none}
.dz-ask textarea.is-empty::placeholder{color:var(--bad)}
.dz-ask textarea:disabled{color:var(--muted)}
.dz-send{flex:none;border:0;border-radius:11px;background:var(--ink);color:#fff;font-weight:500;font-size:14px;padding:10px 18px;cursor:pointer}
.dz-send:hover{background:#0F1A29}
.dz-send:disabled{background:#B5BECA;cursor:not-allowed}
.dz-ask-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:clamp(8px,1.4vh,12px);max-width:820px}
.dz-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.14);color:#fff;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:500;cursor:pointer;font-variant-numeric:tabular-nums}
.dz-pill:hover,.dz-pill[aria-expanded="true"]{background:rgba(255,255,255,.26)}
.dz-chips{display:contents}
.dz-chip{border:0;background:none;color:#fff;padding:5px 8px;border-radius:999px;font-size:12.5px;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:3px}
.dz-chip:hover{background:rgba(255,255,255,.12)}
.dz-chip[aria-pressed="true"]{text-decoration-color:#fff}
.dz-settings{position:absolute;z-index:6;left:clamp(18px,3vw,34px);top:calc(100% - 18px);width:min(520px,calc(100% - 36px));display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 8px;background:var(--label);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 24px 50px -20px rgba(27,39,56,.45)}
.dz-f-w,.dz-f-h,.dz-f-use,.dz-f-fmt{grid-column:span 2}
.dz-f-fmt{grid-column:1 / span 2}
.dz-f-val{grid-column:span 4}
.dz-f-app{grid-column:1 / -1}
.dz-optional{font-weight:400;color:var(--muted);margin-left:4px}
.dz-settings-done{grid-column:-3 / -1;justify-self:end}
/* 24 Oct 2026: a description that says nothing (“kl”): said here, before any AI request */
.dz-ask-hint{margin:8px 0 0;font-size:13px;background:rgba(255,255,255,.94);color:var(--bad);display:inline-block;padding:6px 10px;border-radius:8px;max-width:72ch}
/* 24 Oct 2026 (UX review): only "label" typed: a question, and the suggestions under the box highlighted */
.dz-ask-hint.is-question{color:var(--ink)}
/* 1 Nov 2026 (owner report): "what can you make?", "hi", "make a label": answered here, examples fill the box */
.dz-help{margin:8px 0 0;font-size:13px;background:rgba(255,255,255,.94);color:var(--ink);padding:8px 12px;border-radius:8px;max-width:72ch}
.dz-help p{margin:0 0 6px}
.dz-help p:last-child{margin-bottom:0}
.dz-help-try{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.dz-help-ex{border:1px solid var(--line,#d0d7e2);background:#fff;color:var(--signal,#1d4ed8);padding:4px 10px;border-radius:999px;font:inherit;font-size:12.5px;cursor:pointer}
.dz-help-ex:hover{border-color:var(--signal,#1d4ed8)}
.dz-help-note{color:var(--muted);font-size:12px}
@media (max-width:760px){.dz-help-ex{min-height:44px}}
.dz-chips.is-highlight .dz-chip{background:rgba(255,255,255,.18);text-decoration-color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.55) inset}
/* a plan without AI drafts: said before anything is typed, with the trial or the plans page */
.dz-plan-hint{margin:8px 0 0;font-size:13px;background:rgba(255,255,255,.94);color:var(--ink);display:inline-block;padding:6px 10px;border-radius:8px;max-width:72ch}
.dz-plan-hint-act{border:0;background:none;padding:0;font:inherit;font-weight:600;color:var(--signal);text-decoration:underline;cursor:pointer}
.dz-plan-hint-act:disabled{color:var(--muted);cursor:default}
/* phones: Create's buttons and the suggestions are at least 44 px tall to tap */
@media (max-width:760px){.dz-send,.dz-chip,.dz-result-actions button,.dz-other,.dz-plan-hint-act,#dzOpenReady,#dzSizeFit,.dz-pill{min-height:44px}.dz-chip{padding:8px 12px}}
.dz-ai-note{margin:10px 0 0;font-size:12.5px;background:rgba(255,255,255,.92);color:var(--warn);display:inline-block;padding:5px 10px;border-radius:8px}
/* (31 Oct 2026, owner approved "Option 2") a plan without AI drafts (Free): the box stays, read-only, and Make it is
   "Upgrade to Pro" / "Try Pro free" (white, blue words); the suggestions and AI notes are not shown (design.js renderAiLock) */
.dz-ask.is-locked{align-items:center}
.dz-ask.is-locked textarea{opacity:.75;cursor:default;field-sizing:content} /* (its height: the message's lines) */
.dz-ask.is-locked .dz-spark{padding-bottom:0}
.dz-ask.is-locked .dz-send{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;background:var(--label);color:var(--signal-deep);font-weight:500;font-size:15px;padding:10px 14px}
.dz-ask.is-locked .dz-send:hover{background:var(--signal-soft)}
.dz-ask.is-locked .dz-send:disabled{background:var(--label);color:var(--muted);cursor:progress}
.dz-ask.is-locked .dz-send svg{flex:none}
.dz-lock-note{margin:clamp(10px,1.6vh,14px) 0 0;font-size:14px;color:rgba(255,255,255,.85);max-width:72ch}
.dz-lock-note.is-error{display:inline-block;background:rgba(255,255,255,.94);color:var(--bad);padding:6px 10px;border-radius:8px;font-size:13px}
.dz-hero.is-ai-locked .dz-ask-row,.dz-hero.is-ai-locked .dz-settings,.dz-hero.is-ai-locked .dz-ask-hint,.dz-hero.is-ai-locked .dz-help,.dz-hero.is-ai-locked .dz-plan-hint,
.dz-hero.is-ai-locked .dz-hint-line,.dz-hero.is-ai-locked .dz-ai-note,.dz-hero.is-ai-locked .dz-ai-credits{display:none!important}
@media (max-width:760px){.dz-ask.is-locked .dz-send{margin-left:auto}.dz-ask.is-locked textarea{min-height:60px}}

/* ---------- the AI draft, under the hero */
.dz-result{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);gap:0;margin-top:16px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--label)}
.dz-result-bed{position:relative;min-height:320px;display:flex;align-items:center;justify-content:center;padding:28px;background:var(--liner);
  background-image:radial-gradient(circle,rgba(27,39,56,.07) 1px,transparent 1.2px);background-size:16px 16px}
.dz-preview{display:flex;align-items:center;justify-content:center;max-width:100%}
.dz-preview .dz-label-frame{background:var(--label);border-radius:6px;box-shadow:0 1px 0 var(--line),0 18px 40px -22px rgba(27,39,56,.55)}
.dz-preview.is-printing .dz-label-frame{animation:dz-feed .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes dz-feed{from{clip-path:inset(0 0 100% 0);transform:translateY(-12px)}to{clip-path:inset(0 0 0 0);transform:none}}
.dz-making{display:flex;gap:7px}
.dz-making span{width:9px;height:9px;border-radius:50%;background:var(--signal);animation:dz-dot 1.1s ease-in-out infinite}
.dz-making span:nth-child(2){animation-delay:.15s}.dz-making span:nth-child(3){animation-delay:.3s}
@keyframes dz-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.dz-preview.is-printing .dz-label-frame,.dz-making span{animation:none}}
.dz-result-side{display:flex;flex-direction:column;gap:8px;padding:18px 20px;min-width:0}
.dz-result-side h2{margin:0;font-size:17px;font-weight:700;letter-spacing:-.015em;overflow-wrap:anywhere}
.dz-status{margin:0;font-size:13.5px;color:var(--muted)}
.dz-status.ok{color:var(--ok)}.dz-status.bad{color:var(--bad)}.dz-status.warn{color:var(--warn)}
.dz-report{font-size:12.5px;line-height:1.5;overflow-wrap:anywhere;max-height:420px;overflow:auto}
.dz-hint-line{margin:10px 0 0;font-size:12.5px;opacity:.9;max-width:72ch}
.dz-ai-credits{margin:8px 0 0;font-size:12.5px;font-weight:600;display:inline-block;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.16)}
.dz-ai-credits[hidden]{display:none}
.dz-from{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--muted)}
.dz-from strong{color:var(--ink)}
.dz-tag{font-size:11.5px;border-radius:999px;padding:1px 8px;background:var(--signal-soft);color:var(--signal-deep);font-weight:500}
.dz-report ul.dz-done,.dz-report ul.dz-todo{list-style:none;padding-left:0}
.dz-report ul.dz-done li:before{content:"✓ ";color:var(--ok);font-weight:700}
.dz-report ul.dz-todo li:before{content:"• ";color:var(--warn);font-weight:700}
.dz-others{display:flex;flex-wrap:wrap;gap:6px}
.dz-other{border:1px solid var(--line);background:var(--label);border-radius:999px;padding:4px 10px;font:inherit;font-size:12px;cursor:pointer;color:var(--ink)}
.dz-other:hover{border-color:var(--signal)}
.dz-other:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.dz-report:empty{display:none}
.dz-report p{margin:2px 0}
.dz-report strong{font-weight:500}
.dz-report ul{margin:2px 0 6px;padding-left:18px}
.dz-report .bad{color:var(--bad)}.dz-report .warn{color:var(--warn)}.dz-report .okline{color:var(--ok)}
.dz-result-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto;padding-top:6px}
.dz-result-actions .dz-quiet{padding:9px 8px}

/* ---------- sections */
.dz-section{margin-top:clamp(16px,3vh,28px)}
.dz-section h2,.dz-page-head h1{margin:0 0 12px;font-size:17px;font-weight:700;letter-spacing:-.015em}
.dz-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.dz-page-head{margin:6px 0 18px}
.dz-page-head h1{font-size:22px;margin-bottom:2px}
.dz-page-head p{margin:0;font-size:13.5px}

/* sizes: each card shows the label's shape at its proportions */
.dz-sizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:10px}
.dz-size{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:10px;row-gap:0;border:1px solid var(--line);background:var(--label);border-radius:var(--r);padding:clamp(7px,1.3vh,11px) 12px;cursor:pointer;text-align:left}
.dz-size:hover{border-color:var(--signal);background:var(--signal-soft)}
.dz-size-art{grid-row:1 / 3;height:36px;display:flex;align-items:center;justify-content:center}
.dz-size-shape{display:block;border:1.6px solid var(--ink);border-radius:3px;background:var(--label)}
.dz-size-plus{font-size:22px;line-height:1;color:var(--signal);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1.6px dashed var(--signal)}
.dz-size strong{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dz-size-name{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dz-custom{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:var(--r);background:var(--paper)}
.dz-custom label{width:130px}

/* templates and your labels */
.dz-thumb-empty{color:var(--muted);font-size:12px;background:var(--label)}
/* Start a label: two cards, each opening its own screen */
.dz-starts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.2vw,16px)}
.dz-start-card{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:18px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--label);padding:14px 18px;cursor:pointer;color:var(--ink)}
.dz-start-card:hover{border-color:var(--signal);background:var(--signal-soft)}
.dz-start-card:hover .dz-start-art{background:#DCE7F4}
.dz-start-art{grid-row:1 / 3;display:flex;align-items:center;justify-content:center;gap:8px;width:clamp(180px,18vw,250px);height:clamp(96px,14vh,120px);border-radius:12px;background:var(--liner);transition:background .15s}
.dz-start-art .dz-label-frame{background:var(--label);border-radius:2px;box-shadow:0 6px 14px -10px rgba(27,39,56,.6)}
.dz-start-art .dz-size-shape{border-width:1.6px}
.dz-start-text{display:grid;gap:3px;align-self:end}
.dz-start-text strong{font-size:16px;font-weight:700;letter-spacing:-.01em}
.dz-start-text span{font-size:13px;color:var(--muted);line-height:1.45}
.dz-start-go{align-self:start;margin-top:8px;justify-self:start;font-size:13px;font-weight:500;color:var(--signal)}
.dz-start-go::after{content:"";display:inline-block;width:6px;height:6px;border-right:1.6px solid currentColor;border-top:1.6px solid currentColor;transform:rotate(45deg);margin-left:8px;vertical-align:1px}
/* Templates and Blank label screens */
.dz-back{border:0;background:none;color:var(--signal);font-weight:500;font-size:13.5px;padding:2px 0;margin-bottom:6px;cursor:pointer}
.dz-back:hover{text-decoration:underline}
#dzTemplates > .dz-tpl-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:clamp(10px,1.6vh,14px)}
.dz-tpl-search{flex:0 1 300px;min-width:200px;border:1px solid var(--line);border-radius:999px;padding:7px 14px;font:inherit;font-size:13px;background:var(--label);color:var(--ink)}
.dz-tpl-search:focus{outline:2px solid var(--signal);outline-offset:1px;border-color:var(--signal)}
.dz-tpl-tools .dz-cats{flex:1 1 100%}
/* the size list (31 Oct 2026, owner approved): a button, and a list of its own (8 rows, a thin rounded scrollbar) */
.dz-sizedd{position:relative;flex:0 0 auto;min-width:0}
.dz-sizedd-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:200px;max-width:300px;height:38px;border:1px solid var(--line);border-radius:9px;padding:7px 12px;font:inherit;font-size:14px;background:var(--label);color:var(--ink);cursor:pointer;text-align:left}
.dz-sizedd-btn:hover{border-color:#B9C6D6}
.dz-sizedd-btn:focus-visible,.dz-sizedd-btn[aria-expanded="true"]{outline:2px solid var(--signal);outline-offset:1px;border-color:var(--signal);box-shadow:none;border-radius:9px}
.dz-sizedd-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.dz-sizedd-chev{flex:none;width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin:-3px 2px 0 0;transition:transform .15s}
.dz-sizedd-btn[aria-expanded="true"] .dz-sizedd-chev{transform:rotate(-135deg);margin-top:3px}
.dz-sizedd-btn.is-on{background:var(--signal-soft);border-color:var(--signal);color:var(--signal-deep);font-weight:500;padding-right:40px}
.dz-sizedd-btn.is-on .dz-sizedd-chev{display:none}
.dz-sizedd-x{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:7px;background:none;color:var(--muted);font-size:14px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.dz-sizedd-x:hover{background:#D9E8FA;color:var(--ink)}
.dz-sizedd-x:focus-visible{box-shadow:var(--ring);border-radius:7px}
.dz-sizedd-list{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:max(100%,250px);max-height:340px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--label);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(20,40,70,.16);padding:6px;scrollbar-width:thin;scrollbar-color:#C3CCD7 transparent}
.dz-sizedd-list:focus{outline:none}
.dz-sizedd-list:focus-visible{outline:none;box-shadow:0 12px 32px rgba(20,40,70,.16),var(--ring)}
.dz-sizedd-list::-webkit-scrollbar{width:8px}
.dz-sizedd-list::-webkit-scrollbar-track{background:transparent;margin:8px 0}
.dz-sizedd-list::-webkit-scrollbar-thumb{background:#C3CCD7;border-radius:8px;border:2px solid var(--label)}
.dz-sizedd-list::-webkit-scrollbar-thumb:hover{background:#A9B4C2}
.dz-sizedd-opt{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 10px;border-radius:8px;font-size:13.5px;cursor:pointer;color:var(--ink);user-select:none}
.dz-sizedd-opt small{font-size:11.5px;color:var(--muted);margin-left:4px;font-weight:400}
.dz-sizedd-n{flex:none;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.dz-sizedd-opt.is-any{font-weight:500}
.dz-sizedd-opt.is-active,.dz-sizedd-opt:hover{background:#F1F4F8}
.dz-sizedd-opt[aria-selected="true"]{background:var(--signal-soft);color:var(--signal-deep);font-weight:500}
.dz-sizedd-list:focus-visible .dz-sizedd-opt.is-active{box-shadow:inset 0 0 0 1.5px rgba(11,116,223,.45)}
.dz-sizedd-sep{height:1px;background:var(--liner);margin:4px 6px}
.dz-sizedd-head{font-size:11.5px;font-weight:500;color:var(--muted);padding:10px 10px 3px}
.dz-tpl-sizenote{flex:1 1 100%;margin:0;font-size:13px;color:var(--muted)}
.dz-tpl-sizenote .dz-link{font-size:inherit;text-decoration:underline;text-underline-offset:2px}
@media (max-width:640px){.dz-sizedd{flex:1 1 100%}.dz-sizedd-btn{width:100%;max-width:none;height:44px}.dz-sizedd-list{width:100%;max-width:calc(100vw - 32px)}.dz-sizedd-opt{padding:10px 10px;font-size:14px}.dz-sizedd-x{width:36px;height:36px}}
.dz-tsizes{font-size:11.5px;color:var(--muted);margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%}
.dz-tpl-none{grid-column:1/-1;padding:24px 4px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.dz-tpl-none p{margin:0}
.dz-tpl-note{grid-column:1/-1;margin:0;padding:10px 14px;border-radius:10px;background:#FDF1DD;border:1px solid #F3D9A8;color:var(--warn);font-size:13.5px;line-height:1.45}
.dz-sizes.dz-sizes-big{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:clamp(10px,1.2vw,16px)}
.dz-sizes-big .dz-size{grid-template-columns:1fr;justify-items:center;text-align:center;padding:0 0 12px;overflow:hidden;border-radius:14px}
.dz-sizes-big .dz-size-art{grid-row:auto;width:100%;height:clamp(100px,16vh,140px);background:var(--liner);margin-bottom:10px}
.dz-sizes-big .dz-size:hover .dz-size-art{background:#DCE7F4}
.dz-sizes-big .dz-size-shape{background:var(--label);border-width:1.6px;box-shadow:0 6px 14px -10px rgba(27,39,56,.6)}
.dz-sizes-big .dz-size strong{font-size:14px}
.dz-sizes-big .dz-size-plus{width:52px;height:52px;font-size:28px}
/* saved labels: the template card with a status tag */
.dz-tag.dz-tag-ok{color:var(--ok);background:#E5F4EC}
.dz-tag.dz-tag-warn{color:var(--warn);background:#FDF1DD}
.dz-tag{white-space:nowrap}
.dz-tedited{font-size:11.5px;color:var(--muted)}
.dz-one-row .dz-tthumb{height:clamp(110px,17vh,220px)}
.dz-ttags{max-width:100%;min-width:0}
.dz-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:14px}
.dz-toolbar input[type=search]{max-width:320px;height:36px;border-radius:999px;padding:6px 14px;border:1px solid var(--line)}
.dz-cat[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.dz-empty p{margin:0 0 10px}
.dz-empty-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
/* template gallery: category tabs, then a card per template with a picture filled with sample text */
.dz-cats{display:flex;flex-wrap:wrap;gap:6px}
.dz-cat{border:1px solid var(--line);background:var(--label);border-radius:999px;padding:5px 13px;font-size:13px;cursor:pointer;color:var(--muted)}
.dz-cat:hover{border-color:var(--signal);color:var(--ink)}
.dz-cat[aria-pressed="true"]:hover{color:#fff;border-color:var(--ink)}
.dz-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));gap:clamp(10px,1.2vw,16px)}
.dz-tcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:var(--label);overflow:hidden;min-width:0}
.dz-tthumb{height:clamp(130px,21vh,280px);display:flex;align-items:center;justify-content:center;background:var(--liner);padding:10px;overflow:hidden}
.dz-tthumb .dz-label-frame{background:var(--label);border-radius:3px;box-shadow:0 10px 22px -14px rgba(27,39,56,.55)}
.dz-tthumb-lg{height:auto;min-height:260px;border-radius:12px}
/* (two classes: the phone rule's fixed card height cropped the Details picture, 16 Oct 2026) */
.dz-tthumb.dz-tthumb-lg{height:auto;min-height:200px}
.dz-tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:10px 12px 2px;justify-items:start;min-width:0;max-width:100%} /* minmax(0,…): a long line (“Also in …”) ends in … within the card, not cut at its edge */
.dz-tag{font-size:11.5px;font-weight:500;color:var(--signal-deep);background:var(--signal-soft);border-radius:999px;padding:1px 9px}
.dz-tname{font-weight:500;font-size:13.5px;line-height:1.35;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dz-ttags{display:flex;align-items:center;gap:8px;margin-bottom:2px}
.dz-tsize{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dz-tactions{display:grid;grid-template-columns:1fr auto;gap:8px;padding:8px 12px 12px;margin-top:auto}
.dz-lcard .dz-tactions{grid-template-columns:1fr auto auto;position:relative}
.dz-more{border:1px solid var(--line);background:var(--label);border-radius:999px;width:32px;height:32px;padding:0;font-size:16px;line-height:1;cursor:pointer;color:var(--muted)}
.dz-more:hover{border-color:var(--ink);color:var(--ink)}
.dz-menu{position:absolute;right:12px;bottom:calc(100% - 4px);z-index:7;display:grid;min-width:140px;background:var(--label);border:1px solid var(--line);border-radius:10px;padding:4px;box-shadow:0 14px 34px -14px rgba(27,39,56,.4)}
.dz-menu button{border:0;background:none;text-align:left;padding:8px 10px;border-radius:7px;font-size:13.5px;cursor:pointer}
.dz-menu button:hover,.dz-menu button:focus-visible{background:var(--paper)}
.dz-menu .dz-menu-bad{color:var(--bad)}
.dz-tactions .dz-primary,.dz-tactions .dz-secondary{padding:6px 12px;font-size:13px}
.dz-tdialog{max-width:min(760px,calc(100vw - 32px))}
.dz-tdetail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.dz-tdetail ul{margin:6px 0 10px;padding-left:18px}
.dz-small{font-size:12.5px}
@media (max-width:900px){.dz-starts{grid-template-columns:1fr}}
@media (max-width:640px){.dz-lcard .dz-tactions{grid-template-columns:1fr auto}.dz-lcard .dz-tactions > :nth-child(2){grid-column:1 / -1;grid-row:2}.dz-lcard .dz-tactions > .dz-more{grid-column:2;grid-row:1}.dz-start-card{grid-template-columns:1fr;row-gap:10px}.dz-start-art{grid-row:auto;width:100%;height:96px}.dz-start-card{padding:12px 14px}.dz-start-go{margin-top:0}.dz-toolbar input[type=search]{max-width:none}.dz-tdetail{grid-template-columns:1fr}.dz-gallery{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.dz-tthumb{height:150px;padding:8px}.dz-tactions{grid-template-columns:1fr;gap:6px}.dz-tbody{padding:8px 10px 2px}.dz-tactions{padding:6px 10px 10px}#dzTemplates .dz-cats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-14px;padding-right:14px;max-width:calc(100% + 14px)}.dz-tpl-search{flex:1 1 100%}#dzFilter{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%}.dz-cat{flex:none}.dz-tname,.dz-tsize{white-space:normal}}
.dz-empty{grid-column:1/-1;color:var(--muted);font-size:13.5px;padding:22px;text-align:center;border:1px dashed var(--line);border-radius:var(--r);background:var(--paper)}

/* ---------- print dialog */
.dz-print-dialog{scrollbar-gutter:stable;border:0;border-radius:16px;padding:0;max-width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);width:100%;background:var(--label);box-shadow:0 30px 80px -20px rgba(27,39,56,.5)}
.dz-print-dialog::backdrop{background:rgba(27,39,56,.4)}
/* the plan dialog (design/entitlements.js; shown only while billing is enforced) */
.dz-plan-dialog{border:0;border-radius:16px;padding:22px;gap:12px;max-width:min(440px,calc(100vw - 32px));width:100%;background:var(--label);box-shadow:0 30px 80px -20px rgba(27,39,56,.5)}
.dz-plan-dialog[open]{display:grid}
.dz-plan-dialog::backdrop{background:rgba(27,39,56,.4)}
.dz-plan-dialog h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em}
.dz-plan-dialog p{margin:0;line-height:1.45}
.dz-plan-dialog p:empty{display:none}
.dz-print-form{padding:22px;display:grid;gap:12px}
.dz-print-form h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em;overflow-wrap:anywhere}
.dz-print-form{min-width:0}
.dz-print-form > *{min-width:0}
.dz-small-dialog{max-width:min(420px,calc(100vw - 32px))}
.dz-custom .dz-error{flex-basis:100%;margin:0}
.dz-custom .dz-error:empty{display:none}
.dz-print-form p{margin:0}
.dz-print-form .dz-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px}
.dz-print-form .dz-row label{display:grid;gap:4px;font-size:12px;font-weight:500}
.dz-print-form .dz-result-actions{justify-content:space-between;margin-top:4px}
.dz-print-form .dz-report{background:var(--paper);border-radius:8px;padding:8px 12px;max-height:none}
.dz-print-files{display:flex;gap:6px;flex-wrap:wrap}
#dzPrintHost{display:none}
/* The Print window (24 Oct 2026, owner-approved redesign): a header with the label's picture, its size and a badge;
   Copies with − and +, the printer; Paper only when there is a choice; a footer with More (files, spreadsheet) and Print */
.dz-pwin-dialog{max-width:min(704px,calc(100vw - 32px))} /* 704: the footer's five controls fit one row (31 Oct 2026) */
.dz-print-form.dz-pwin{padding:0;gap:0;display:flex;flex-direction:column;min-height:0}
.dz-pwin-head{display:flex;gap:18px;align-items:center;padding:20px 24px 16px;border-bottom:1px solid var(--line)}
/* (30 Oct 2026, owner-approved) one preview of the label: the window's width, at most 360 px tall, on the liner, with
   its real outline (an outline: never changes its size or proportions) and "× N copies" for several */
.dz-pwin-preview{margin:0;display:grid;gap:8px;justify-items:center;background:var(--liner);border-radius:12px;padding:16px}
.dz-pwin-pic{width:100%;display:flex;justify-content:center;min-width:0}
.dz-pwin-pic .dz-label-frame{background:var(--label);outline:1px solid #8C99AB;outline-offset:0;border-radius:2px;box-shadow:0 1px 2px rgba(27,39,56,.14),0 8px 18px -12px rgba(27,39,56,.55)}
.dz-pwin-copies{font-size:13px;font-weight:600;color:var(--ink)}
.dz-pwin-heading{min-width:0;display:grid;gap:4px;justify-items:start}
.dz-pwin-heading h2{margin:0;font-size:20px}
.dz-pwin-heading #dzPrintSize{color:var(--muted);font-size:13px;line-height:1.4}
.dz-pwin-badge{display:inline-flex;align-items:center;gap:6px;margin-top:4px!important;font-size:12px;font-weight:500;border-radius:999px;padding:3px 10px;line-height:1.4}
.dz-pwin-badge:empty{display:none}
.dz-pwin-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.dz-pwin-badge.ok{color:var(--ok);background:#E7F5EE}.dz-pwin-badge.warn{color:var(--warn);background:#FFF3DF}.dz-pwin-badge.bad{color:var(--bad);background:#FDECEA}
.dz-pwin-body{padding:18px 24px 20px;display:grid;gap:14px;min-width:0}
.dz-pwin-body > *{min-width:0}
.dz-print-form .dz-pwin-body .dz-row{grid-template-columns:150px minmax(0,1fr);gap:14px}
.dz-pwin-field{display:grid;gap:6px;font-size:12px;font-weight:500;color:var(--muted);align-content:start}
.dz-pwin-field select{width:100%;min-height:44px;color:var(--ink)}
.dz-pwin-stepper{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--label);min-height:44px}
.dz-pwin-stepper:focus-within{border-color:var(--signal);box-shadow:var(--ring)}
.dz-pwin-stepper input{flex:1;min-width:0;width:100%;border:0;border-radius:0;text-align:center;font-weight:500;font-size:15px;padding:0 2px;background:none;color:var(--ink);-moz-appearance:textfield;appearance:textfield}
.dz-pwin-stepper input::-webkit-inner-spin-button,.dz-pwin-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.dz-pwin-stepper input:focus{outline:none;box-shadow:none}
.dz-pwin-step{flex:none;width:40px;border:0;background:none;color:var(--muted);font-size:18px;line-height:1;cursor:pointer}
.dz-pwin-step:hover{color:var(--ink);background:var(--paper)}
.dz-pwin-step:focus-visible{outline:2px solid var(--signal);outline-offset:-2px}
.dz-pwin-step:disabled{cursor:not-allowed;opacity:.5}
.dz-pwin-note{background:var(--paper);border-radius:10px;padding:10px 12px;font-size:12.5px;line-height:1.5;color:var(--muted);display:grid;gap:4px}
.dz-pwin-note .dz-link{font-size:inherit}
.dz-pwin-note .dz-printer-help-slot:empty{display:none}
.dz-printer-help.dz-printer-help-link{border:0;border-radius:0;padding:0;font-size:12.5px;color:var(--ink)}
.dz-printer-help-link > summary{list-style:none;display:inline-flex;align-items:center;gap:4px;color:var(--signal);font-weight:500}
.dz-printer-help-link > summary::-webkit-details-marker{display:none}
.dz-printer-help-link > summary::after{content:"›";font-size:15px;line-height:1;transition:transform .15s}
.dz-printer-help-link[open] > summary::after{transform:rotate(90deg)}
.dz-printer-help-link > summary:focus-visible{outline:2px solid var(--signal);outline-offset:2px;border-radius:4px}
.dz-printer-help-link[open]{padding-bottom:4px}
/* (31 Oct 2026, owner request) one row on a laptop: [Download ▾] [Spreadsheet] [Check label] … Close [Print], every
   control the Print button's height, centred, the same gaps. Too narrow for one row: the left buttons first, Close and
   Print together on a second row on the right (the footer wraps whole groups, never half of them) */
.dz-pwin-foot{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:14px 24px;border-top:1px solid var(--line);background:var(--paper);border-radius:0 0 16px 16px}
.dz-pwin-go{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none} /* right, with or without buttons beside it */
.dz-pwin-foot .dz-pwin-go button,.dz-pwin-way,.dz-pwin-files{box-sizing:border-box;height:38px;padding-top:0;padding-bottom:0;line-height:1.2}
.dz-pwin-go .dz-primary{padding-left:20px;padding-right:20px;font-size:14px;font-weight:600}
.dz-pwin-go .dz-quiet{padding-left:12px;padding-right:12px}
/* (31 Oct 2026, owner-approved) the other ways to print: plain buttons on the left (no More menu) */
.dz-pwin-ways{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;flex:0 1 auto}
.dz-pwin-ways[hidden]{display:none}
.dz-pwin-way,.dz-pwin-files{padding-left:11px;padding-right:11px;font-size:13px;gap:6px}
.dz-pwin-way-i{display:inline-flex;flex:none;color:var(--muted)}
.dz-pwin-way-i svg{display:block}
.dz-pwin-way:focus-visible,.dz-pwin-files:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.dz-pwin-way-t{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.dz-pwin-files-wrap{position:relative}
.dz-pwin-caret{font-size:10px;line-height:1}
.dz-pwin-files[aria-expanded=true] .dz-pwin-caret{transform:rotate(180deg)}
.dz-pwin-menu{position:absolute;left:0;bottom:calc(100% + 8px);width:272px;max-width:calc(100vw - 32px);background:var(--label);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px -10px rgba(27,39,56,.35);padding:6px;display:grid;gap:2px;z-index:3}
.dz-pwin-item{display:grid;gap:1px;text-align:left;width:100%;border:0;background:none;border-radius:8px;padding:9px 12px;cursor:pointer;color:var(--ink);font:inherit}
.dz-pwin-item:hover,.dz-pwin-item:focus{background:var(--signal-soft);outline:none}
.dz-pwin-item:focus-visible{box-shadow:inset 0 0 0 2px var(--signal)}
.dz-pwin-item:disabled{opacity:.5;cursor:not-allowed}
.dz-pwin-item-t{font-size:13.5px;font-weight:500}
.dz-pwin-item-d{font-size:12px;color:var(--muted)}
.dz-pwin-lock{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:600;line-height:1;color:var(--warn);background:#FFF3DF;border-radius:999px;padding:3px 7px}
.dz-pwin-lock svg{flex:none}
/* (31 Oct 2026) a short notice at the bottom of the screen: a file downloaded without opening a window */
.dz-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:1000;margin:0;max-width:min(520px,calc(100vw - 32px));padding:10px 16px 10px 14px;border-radius:10px;background:var(--ink);color:#fff;font-size:13.5px;line-height:1.45;box-shadow:0 10px 30px rgba(27,39,56,.22);display:flex;gap:8px;align-items:flex-start;cursor:default;overflow-wrap:anywhere}
.dz-toast:before{content:"✓";flex:none;color:#7FE0B4;font-weight:700}
@media (max-width:760px){.dz-toast{left:16px;right:16px;transform:none;max-width:none;bottom:calc(76px + env(safe-area-inset-bottom))}}
/* (31 Oct 2026, owner-approved) a driver printer's setup: one link in the roll line; done once: a quiet one */
.dz-zsetup-link{font-weight:600}
.dz-zsetup-link.dz-zsetup-quiet{font-weight:400;color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.dz-zsetup-chev{font-weight:400;color:inherit}
.dz-pwin-sheets{display:block}
/* "Set up your Zebra": five steps, a progress bar, Back / Next */
.dz-zsetup-dialog{max-width:min(560px,calc(100vw - 32px))}
.dz-print-form.dz-zsetup{padding:0;gap:0;display:flex;flex-direction:column}
.dz-zsetup-head{padding:20px 24px 16px;border-bottom:1px solid var(--line)}
.dz-zsetup-prog{display:flex;gap:6px;margin-top:12px}
.dz-zsetup-prog i{flex:1;height:5px;border-radius:3px;background:var(--line)}
.dz-zsetup-prog i.on{background:var(--signal)}
.dz-zsetup-body{padding:18px 24px 20px;display:grid;gap:12px;min-width:0}
.dz-zsetup-body > *{min-width:0}
.dz-zsetup-step{font-size:12.5px;font-weight:500;color:var(--muted)}
.dz-zsetup-h{margin:0;font-size:17px;font-weight:700;letter-spacing:-.01em}
.dz-zsetup-h:focus{outline:none;box-shadow:none}
.dz-zsetup-content{display:grid;gap:12px;min-width:0}
.dz-zsetup-p{font-size:14px;line-height:1.55;color:var(--ink)}
.dz-zsetup-p.dz-muted{font-size:13px;color:var(--muted)}
.dz-zsetup-said:empty{display:none}
.dz-zsetup-ext{font-weight:600;text-decoration:none}
.dz-zsetup-ext:hover{text-decoration:underline}
.dz-zsetup-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.dz-zsetup-medium{display:grid;gap:6px;justify-items:stretch;text-align:center;border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--label);font-size:12.5px;line-height:1.3;cursor:pointer;color:var(--ink)}
.dz-zsetup-medium[aria-checked=true]{border:2px solid var(--signal);padding:7px;background:var(--signal-soft)}
.dz-zsetup-roll{height:46px;background:var(--liner);border-radius:6px;display:flex;gap:4px;padding:6px;align-items:center;justify-content:center}
.dz-zsetup-roll i{width:26px;height:30px;background:#fff;outline:1px solid #9AA7B8}
.dz-zsetup-roll.mark i{outline:0;border-bottom:4px solid #222}
.dz-zsetup-roll.continuous i{width:90%}
.dz-zsetup-cards{display:grid;gap:8px}
.dz-zsetup-card{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.dz-zsetup-card-t{display:grid;gap:2px;font-size:13px;color:var(--muted);line-height:1.45;min-width:0}
.dz-zsetup-card-t strong{font-size:14px;color:var(--ink)}
.dz-zsetup-pic{width:70px;height:40px;flex:0 0 70px;position:relative;background:#fff}
.dz-zsetup-pic.full{box-shadow:inset 0 0 0 2px #222}
.dz-zsetup-pic.cut{border-top:2px solid #222;border-left:2px solid #222}
.dz-zsetup-pic.small{outline:1px dashed var(--faint);outline-offset:-1px}
.dz-zsetup-pic.small::after{content:"";position:absolute;inset:9px 15px;box-shadow:inset 0 0 0 2px #222}
.dz-zsetup-done{display:grid;gap:6px;justify-items:center;text-align:center;padding:6px 0}
.dz-zsetup-done-mark{width:52px;height:52px;border-radius:50%;background:#ECFDF3;color:var(--ok);font-size:26px;font-weight:700;display:grid;place-items:center}
.dz-zsetup-done-t{font-size:17px;font-weight:700;color:var(--ink)}
.dz-zsetup-foot{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 24px;border-top:1px solid var(--line);background:var(--paper);border-radius:0 0 16px 16px}
.dz-zsetup-left,.dz-zsetup-right{display:flex;align-items:center;gap:8px}
.dz-zsetup-right{margin-left:auto}
@media (max-width:600px){
  .dz-zsetup-dialog{max-width:100vw;width:100vw;margin:auto 0 0;border-radius:16px 16px 0 0;max-height:calc(100dvh - 12px)}
  .dz-zsetup-head{padding:16px 16px 12px}
  .dz-zsetup-body{padding:14px 16px 16px}
  .dz-zsetup-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-radius:0}
  .dz-zsetup-medium{font-size:12px;padding:6px}
  .dz-zsetup-medium[aria-checked=true]{padding:5px}
}
/* a phone: a sheet from the bottom, the full width; header, fields and buttons stacked */
@media (max-width:600px){
  .dz-pwin-dialog{max-width:100vw;width:100vw;margin:auto 0 0;border-radius:16px 16px 0 0;max-height:calc(100dvh - 12px)}
  .dz-pwin-head{padding:16px 16px 12px;gap:12px}
  .dz-pwin-preview{padding:12px}
  .dz-pwin-heading h2{font-size:17px}
  .dz-pwin-body{padding:14px 16px 16px}
  .dz-print-form .dz-pwin-body .dz-row{grid-template-columns:1fr}
  .dz-pwin-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-radius:0}
  .dz-pwin-go .dz-primary{padding-left:18px;padding-right:18px}
  /* the buttons on the left: their own row above Close and Print (on the right), side by side filling the row, never
     wider than the screen (their icons give way first, then the word "Pro": the lock stays, the name still says Pro) */
  .dz-pwin-ways{flex:1 1 100%;flex-wrap:nowrap}
  .dz-pwin-way,.dz-pwin-files{flex:1 1 auto;min-width:0;padding-left:8px;padding-right:8px}
  .dz-pwin-lock{padding:3px 5px}
}
@media (max-width:440px){ .dz-pwin-way-i{display:none} }
@media (max-width:370px){ .dz-pwin-lock > span[aria-hidden]{display:none} }

/* ---------- narrower windows */
@media (max-width:1000px){
  .dz-result{grid-template-columns:1fr}
  .dz-result-bed{min-height:200px}
}
@media (max-width:760px){
  .dz-app{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}
  .dz-rail{grid-row:2;flex-direction:row;justify-content:space-around;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line)}
  .dz-brand{display:none}
  .dz-nav{display:flex;width:auto;flex:1;justify-content:space-around}
  .dz-nav-item{width:auto;padding:6px 12px}
  .dz-account{margin:0}
  .dz-account-menu{left:auto;right:0;bottom:calc(100% + 10px)}
  .dz-main{grid-row:1}
  .dz-view{padding:14px 14px 32px}
  .dz-hero{border-radius:16px;padding:18px 14px 16px}
  .dz-ask{flex-wrap:wrap;padding:8px 8px 8px 12px}
  .dz-ask textarea{flex-basis:calc(100% - 30px);min-height:48px}
  .dz-ask-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-14px;padding-right:14px}
  .dz-pill,.dz-chip{flex:none;white-space:nowrap}
  .dz-result-bed{min-height:240px}
  .dz-send{margin-left:auto}
  .dz-settings{left:12px;width:calc(100% - 24px);grid-template-columns:repeat(3,minmax(0,1fr))}
  .dz-f-w,.dz-f-h{grid-column:span 1}.dz-f-use{grid-column:span 1}
  .dz-f-fmt,.dz-f-val,.dz-f-app{grid-column:1 / -1}
  .dz-settings-done{grid-column:1 / -1}
}

/* Print from a spreadsheet (design/sheet-print.js) */
/* Print from a spreadsheet (31 Oct 2026, owner-approved redesign): 1 the file (a drop zone; then the file, its rows
   ready and the first labels), 2 the printer and the paper side by side; the print window's footer */
.dz-sheet-dialog.dz-pwin-dialog{width:min(720px,calc(100vw - 32px));max-width:min(720px,calc(100vw - 32px))}
.dz-sheet-main{padding:24px 24px 18px;gap:20px}
.dz-sheet-head{display:grid;gap:6px}
.dz-sheet-head h2{font-size:20px}
.dz-sheet-lead{font-size:13.5px;line-height:1.5}
.dz-sheet-step{display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.dz-sheet-no{width:26px;height:26px;border-radius:50%;background:var(--signal-soft);color:var(--signal-deep);font-weight:700;font-size:12.5px;display:flex;align-items:center;justify-content:center;line-height:1}
.dz-sheet-no.is-done{background:var(--signal);color:#fff}
.dz-sheet-step-b{display:grid;gap:10px;min-width:0}
.dz-sheet-step-b > *{min-width:0}
.dz-sheet-step-t{margin:3px 0 0;font-size:15px;font-weight:600;color:var(--ink)}
.dz-sheet-drop{position:relative;border:1.5px dashed var(--faint);border-radius:12px;background:var(--paper);min-height:64px;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;font-size:14px;color:var(--muted);transition:border-color .15s,background .15s}
.dz-sheet-drop b{color:var(--signal);font-weight:600}
.dz-sheet-drop:hover,.dz-sheet-drop.is-over{border-color:var(--signal);background:var(--signal-soft)}
.dz-sheet-drop:has(.dz-sheet-drop-input:focus-visible){border-color:var(--signal);box-shadow:var(--ring)}
/* the real file input covers the zone: a click anywhere opens the file picker, a file dropped on it is chosen, Tab reaches it */
.dz-sheet-drop-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0;font-size:0}
.dz-sheet-drop-input:disabled{cursor:not-allowed}
.dz-sheet-drop:has(.dz-sheet-drop-input:disabled){opacity:.55;background:var(--paper);border-color:var(--line)}
.dz-sheet-hint{font-size:12.5px;color:var(--muted);margin-top:-2px!important}
.dz-sheet-hint .dz-link{font-size:inherit;font-weight:500}
.dz-sheet-card{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;border:1px solid #CFE0F5;background:var(--signal-soft);border-radius:12px;padding:11px 14px;font-size:14px;min-width:0}
.dz-sheet-card-ico{flex:none;position:relative;width:14px;height:17px;border:1.5px solid var(--muted);border-radius:2px 6px 2px 2px;background:var(--label)}
.dz-sheet-card-ico::after{content:"";position:absolute;left:2px;right:2px;top:5px;height:6px;border-top:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted)} /* a sheet with lines, not a tick box */
.dz-sheet-card-name{font-weight:500;color:var(--ink);overflow-wrap:anywhere;min-width:0}
.dz-sheet-card .dz-link{font-size:13px}
.dz-sheet-ready{margin-left:auto;font-size:13px;font-weight:500;color:var(--muted)}
.dz-sheet-ready.ok{color:var(--ok)}.dz-sheet-ready.warn{color:var(--warn)}.dz-sheet-ready.bad{color:var(--bad)}
.dz-sheet-pics-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.dz-sheet-pics-more{font-size:12.5px;color:var(--muted)}
.dz-sheet-pics-more:empty{display:none}
.dz-sheet-dialog .dz-report:empty,.dz-sheet-dialog .dz-sheet-body:empty{display:none}
.dz-sheet-dialog .dz-sheet-body{margin:0}
.dz-sheet-pp{display:flex;flex-wrap:wrap;gap:12px}
.dz-sheet-field{flex:1 1 auto;display:grid;gap:6px;font-size:12px;font-weight:500;color:var(--muted);align-content:start;min-width:0}
.dz-sheet-field select{width:100%;min-height:44px;color:var(--ink)}
.dz-sheet-dialog .dz-paper{border:0;padding:0;margin:0}
.dz-sheet-dialog .dz-paper legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;padding:0}
.dz-sheet-dialog .dz-paper:not(:has(> :not(legend):not([hidden]))){display:none}
.dz-sheet-dialog .dz-printer-help-slot:empty{display:none}
.dz-sheet-dialog .dz-pwin-files:disabled,.dz-sheet-dialog .dz-pwin-way:disabled{opacity:.55;cursor:not-allowed}
.dz-sheet-body{display:grid;gap:6px;margin-bottom:8px}
.dz-sheet-row{display:grid;grid-template-columns:minmax(120px,170px) minmax(0,300px);gap:6px 10px;align-items:center;font-size:13px}
.dz-sheet-row .dz-sheet-extra{grid-column:2}
.dz-sheet-row .dz-sheet-extra:empty{display:none}
/* the steps scroll, the footer stays the full width of the window under them (no scrollbar space beside it) */
.dz-sheet-dialog{max-height:calc(100dvh - 32px);overflow:hidden;scrollbar-gutter:auto}
.dz-sheet-dialog[open]{display:flex;flex-direction:column}
.dz-sheet-dialog .dz-sheet-form{flex:1 1 auto;min-height:0}
.dz-sheet-dialog .dz-sheet-main{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
.dz-sheet-dialog .dz-pwin-foot{flex:none}
.dz-sheet-name{font-weight:500;overflow-wrap:anywhere}
.dz-sheet-src,.dz-sheet-row select,.dz-sheet-row input{font:inherit;font-size:13px;border:1px solid var(--line);border-radius:8px;padding:5px 8px;background:var(--label);color:var(--ink);min-width:0}
.dz-sheet-extra{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.dz-sheet-extra label{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.dz-sheet-extra select,.dz-sheet-extra input{width:auto!important;flex:none;margin:0}
.dz-sheet-extra label{flex-direction:row!important}
.dz-sheet-extra input[type=number]{width:72px!important}
.dz-sheet-extra input[type=text]{width:90px!important}
.dz-sheet-pics{display:flex;flex-wrap:wrap;gap:8px}
.dz-sheet-pics figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11.5px;color:var(--muted)}
.dz-sheet-pics .dz-label-frame{background:#fff;border:1px solid var(--line)}
@media (max-width:640px){.dz-sheet-row{grid-template-columns:1fr}.dz-sheet-row .dz-sheet-extra{grid-column:1}}
@media (max-width:600px){
  .dz-sheet-dialog.dz-pwin-dialog{width:100vw;max-width:100vw;max-height:calc(100dvh - 12px)}
  .dz-sheet-main{padding:16px 16px 14px;gap:16px}
  .dz-sheet-head h2{font-size:17px}
  /* the step's number beside its title only: the step's content the full width */
  .dz-sheet-step{display:block;position:relative}
  .dz-sheet-step-t{padding-left:32px;min-height:24px}
  .dz-sheet-no{position:absolute;left:0;top:0;width:24px;height:24px;font-size:11.5px}
  .dz-sheet-pp{flex-direction:column}
  .dz-sheet-ready{margin-left:0;flex-basis:100%}
  /* the footer: Download and Check on one row, Close and Print on the next, on the right */
  .dz-sheet-dialog .dz-pwin-go{margin-left:auto}
  /* Download fills its half of the row, as Check printed labels does (no gap between them) */
  .dz-sheet-dialog .dz-pwin-files-wrap{display:flex;min-width:0}
  .dz-sheet-dialog .dz-pwin-files{flex:1 1 auto;justify-content:center}
}

/* Check a printed label with the camera (design/scan-check.js) */
.dz-scan-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}
.dz-scan-stage{display:flex;justify-content:center}
.dz-scan-video{width:100%;max-height:46vh;border-radius:10px;background:#000;object-fit:cover}
.dz-scan-photo{cursor:pointer;display:inline-flex;align-items:center}
.dz-scan-results{display:grid;gap:6px;max-height:34vh;overflow:auto}
.dz-scan-item{display:grid;gap:2px;padding:8px 10px;border-radius:8px;font-size:13px;border:1px solid var(--line)}
.dz-scan-item.ok{background:#ECFDF3;border-color:#ABEFC6;color:#05603A}
.dz-scan-item.bad{background:#FEF3F2;border-color:#FECDCA;color:#B42318}
/* 24 Oct 2026: "Enter barcode" in the scan-to-find window (scan-check.js scanFor) */
/* the barcode reader first (31 Oct 2026, owner-approved): a big box with the focus, its result, "No barcode reader?" */
.dz-scan-form{gap:14px}
.dz-scan-head{display:grid;gap:4px;margin:0 -22px;padding:0 22px 14px;border-bottom:1px solid var(--line)}
.dz-scan-reader{display:grid;gap:8px}
.dz-scan-reader-label{font-weight:600;font-size:14px}
.dz-scan-reader-input{width:100%;min-height:52px;font-size:16px;font-weight:500;border:2px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--label);color:var(--ink)}
.dz-scan-reader-input:focus,.dz-scan-reader-input:focus-visible{outline:none;border-color:var(--signal);box-shadow:var(--ring);border-radius:12px}
.dz-scan-reader-input::placeholder{color:var(--muted);font-weight:400}
.dz-scan-reader-hint{font-size:12.5px}
.dz-scan-verdict{display:flex;gap:10px;border-radius:12px;padding:11px 13px;font-size:13.5px;line-height:1.5;border:1px solid}
.dz-scan-verdict.ok{background:#ECFDF3;border-color:#ABEFC6;color:#05603A}
.dz-scan-verdict.bad{background:#FEF3F2;border-color:#FECDCA;color:#9A1C13}
.dz-scan-verdict-mark{font-weight:700;flex:none}
.dz-scan-verdict-text{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.dz-scan-verdict strong{font-size:15px}
.dz-scan-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.dz-scan-or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;margin:0 0 10px!important}
.dz-scan-or::before,.dz-scan-or::after{content:"";flex:1;border-top:1px solid var(--line)}
.dz-scan-cam{display:grid;gap:10px}
.dz-scan-off{width:100%;height:180px;border-radius:10px;background:#111;color:#E6E9EE;display:grid;place-items:center;font-size:14px}
.dz-scan-photo-line{font-size:13.5px}
.dz-scan-photo-line .dz-link{font-size:inherit;font-weight:600}
.dz-scan-foot{display:flex;justify-content:flex-end}
.dz-scan-results:empty,.dz-scan-dialog #dzScanTally:empty{display:none}
.dz-scan-results > p.bad{color:var(--bad)}.dz-scan-results > p.warn{color:var(--warn)}
@media (max-width:480px){.dz-scan-acts > button{flex:1 1 auto}}
.dz-scan-manual{display:grid;gap:4px;border-top:1px solid var(--line);padding-top:12px;margin-top:4px}
.dz-scan-manual label{font-size:12.5px;font-weight:500}
.dz-scan-manual-row{display:flex;gap:8px;min-width:0}
.dz-scan-manual-row input{flex:1 1 auto;min-width:0}
.dz-scan-manual .dz-error:empty{display:none}

/* Label printers through their driver: setup steps and the test label (label-output.js) */
.dz-printer-help{border:1px solid var(--line, #DCE3EC);border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.45}
.dz-printer-help summary{font-weight:600;cursor:pointer}
.dz-printer-help ol,.dz-printer-help ul{margin:8px 0 0;padding-left:20px;display:grid;gap:4px}
.dz-printer-help > p{margin-top:10px}
.dz-printer-test{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.dz-printer-test .dz-muted{font-size:12px}
/* Print and camera windows (16 Oct 2026): on a phone, Copies and Printer each take the full width (the printer list
   was cut to “This computer’s prin…”); the report, focused when printing is stopped. */
@media (max-width:480px){.dz-print-form .dz-row{grid-template-columns:1fr}.dz-print-form .dz-row select{width:100%}}
.dz-print-form .dz-report:focus{outline:none;box-shadow:var(--ring)}
.dz-print-form .dz-report #dzPrintEdit{margin-top:4px}

/* ---------- notes (the Printers screen) */
.dz-note{margin:10px 0 0;padding:8px 12px;border-radius:10px;background:var(--signal-soft);color:var(--signal-deep);font-size:13px;line-height:1.45}
.dz-note.ok{background:#E5F4EC;color:var(--ok)}
@media (max-width:760px){.dz-gate{width:calc(100% - 32px);padding:22px 18px}}

/* ---------- the login card (design/account.js): the Tamvya app's own (#authOverlay, its final "v865" layer in the
   app's index.html), its values copied here under .dz-auth, 16 Oct 2026. Background pictures: design/auth/. */
.dz-auth{position:fixed;inset:0;z-index:40;box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:100vh;height:100dvh;padding:16px;
  background:#f4f2ee url("/design/auth/auth-reference-exact-background.webp") center / cover no-repeat;overflow:hidden;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;font-weight:400;line-height:normal;color:#26384d;-webkit-font-smoothing:auto}
.dz-auth *,.dz-auth *::before,.dz-auth *::after{box-sizing:border-box}
.dz-auth-card{position:relative;z-index:3;display:flex;flex-direction:column;justify-content:flex-start;width:min(440px,100%);max-height:calc(100dvh - 32px);margin:0 auto;padding:28px 30px;
  border:0;border-radius:18px;background:#fff;box-shadow:0 22px 48px rgba(42,40,38,.15),0 5px 14px rgba(42,40,38,.045);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.dz-auth-brand{flex:0 0 auto;margin:0 auto 18px;width:100%;text-align:center;font-family:Arial,Helvetica,sans-serif;font-size:44px;line-height:1.07;font-weight:800;letter-spacing:-.045em;color:#1E2B3A}
.dz-auth-card h2{flex:0 0 auto;margin:0 0 16px;padding:0;font-family:Arial,sans-serif;color:#303740;font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.55px;text-align:left}
.dz-auth-form{display:block;width:100%;min-width:0;flex:0 0 auto;margin:0}
.dz-auth-form section{margin:0;padding:0}
.dz-auth .dz-auth-form label{display:block;color:#383e48;font-family:inherit;font-size:14px;font-weight:650;line-height:22px;margin:0 0 6px}
.dz-auth .dz-auth-form input{display:block;width:100%;height:46px;min-height:46px;margin:0;border:1.5px solid #b6c4d8;border-radius:8px;padding:0 15px;box-shadow:none;outline:0;
  background:#fff;color:#162437;font-family:inherit;font-size:16px;font-weight:450}
.dz-auth .dz-auth-form input::placeholder{color:#9aa8bd;opacity:1}
.dz-auth .dz-auth-form input:focus{border-color:#2465bb;box-shadow:0 0 0 3px rgba(17,99,208,.12)}
.dz-auth .dz-auth-form input[aria-invalid="true"]{border-color:#b42318}
.dz-auth-field-error{margin:6px 0 0;color:#b42318;font-size:12px;line-height:1.4}
#dzAuthSignup > label:not(:first-child),#dzAuthNewPw > label:not(:first-child){margin-top:14px}
.dz-auth .dz-auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 6px;padding:0}
.dz-auth .dz-auth-label-row label{margin:0}
.dz-auth-text-link{color:#0564e5;background:transparent;border:0;border-radius:8px;font-family:Arial,sans-serif;font-size:15px;font-weight:600;line-height:20px;padding:0;margin:0;cursor:pointer}
.dz-pw-field{position:relative;height:46px;min-height:46px}
.dz-auth .dz-pw-field input{padding-right:50px}
.dz-pw-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);z-index:3;display:grid;place-items:center;width:44px;height:44px;min-height:44px;border:0;border-radius:7px;background:transparent;box-shadow:none;color:#8390a4;padding:0;cursor:pointer}
.dz-eye{width:22px;height:22px;fill:none;stroke:#8390a4;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.dz-auth-submit{display:block;width:100%;height:48px;min-height:48px;margin:18px 0 0;padding:0 14px;border:0;border-radius:8px;background:#1163dc;color:#fff;
  font-family:inherit;font-size:16px;font-weight:800;line-height:1;letter-spacing:.01em;box-shadow:0 3px 6px rgba(17,99,220,.14);cursor:pointer}
.dz-auth-submit:hover{background:#0f59c7}
.dz-auth-submit:disabled{opacity:.7;cursor:wait}
.dz-auth-message{position:relative;margin:10px 0 0;color:#c62828;font-size:13px;line-height:1.4;overflow-wrap:anywhere;text-align:left}
.dz-auth-message.ok{color:#16834b}
.dz-auth-message:empty{display:none}
.dz-auth-switch{flex:0 0 auto;margin:20px 0 0;padding:0;text-align:center;color:#7c889f;font-family:Arial,sans-serif;font-size:14px;font-weight:500;line-height:22px}
.dz-auth-switch span:empty{display:none}
#dzAuthSwitchBtn{display:inline;margin:0 0 0 5px;padding:0;border:0;background:transparent;color:#0865e3;font-family:inherit;font-size:14px;font-weight:750;line-height:22px;cursor:pointer}
#dzAuthSwitchText:empty + #dzAuthSwitchBtn{margin-left:0}
#dzAuthSwitchBtn:hover{text-decoration:underline}
.dz-auth button:focus-visible{outline:3px solid #165dce;outline-offset:3px;box-shadow:none}
/* Continue with Google (16 Oct 2026): Google's sign-in button guidelines, light theme: white, a #747775 border, the
   standard four-colour G at 18 px, #1F1F1F text; the card's own height and corners */
.dz-auth-or{display:flex;align-items:center;gap:12px;margin:16px 0;color:#7c889f;font-size:13px;line-height:18px}
.dz-auth-or::before,.dz-auth-or::after{content:"";flex:1;height:1px;background:#dfe5ee}
.dz-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:48px;min-height:48px;margin:0;padding:0 12px;border:1px solid #747775;border-radius:8px;
  background:#fff;color:#1f1f1f;font-family:inherit;font-size:16px;font-weight:600;line-height:1;cursor:pointer}
.dz-google:hover{background:#f7f8f8;box-shadow:0 1px 2px rgba(60,64,67,.15)}
.dz-google:disabled{opacity:.6;cursor:wait}
.dz-google-g{width:18px;height:18px;flex:none}
/* Check your email (the app's verification stage) */
.dz-auth-verify-head{text-align:center;padding:6px 0 2px}
.dz-auth-verify-icon{font-size:30px;margin-bottom:8px}
.dz-auth-verify-head strong{display:block;font-size:16px;font-weight:700;color:#17202a}
.dz-auth-help{margin:8px 0 0;color:#66758a;font-size:12px;line-height:17px;text-align:left}
.dz-auth-help.dz-auth-cross-device{margin:9px 0 0;font-size:13px;line-height:1.45}
.dz-auth-continue{display:block;width:100%;min-height:44px;margin:14px 0 10px;padding:9px 12px;border:1px solid #b9d7fd;border-radius:10px;background:#eaf3ff;color:#0b65ca;font:inherit;font-size:14px;font-weight:750;cursor:pointer;text-align:center}
.dz-auth-continue:hover{background:#dcebff;border-color:#8ebff7}
.dz-auth-continue:disabled{opacity:.62;cursor:wait;background:#edf3fb;color:#7187a5;border-color:#d4dfe9}
.dz-auth-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin:7px 0 0}
.dz-auth-resend{min-height:44px;padding:8px 0;border:0;border-radius:8px;background:transparent;color:#0b74df;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}
.dz-auth-resend:disabled{color:#7187a5;cursor:default}
.dz-auth-change{margin-left:auto;text-align:right}
.dz-auth-reset-help{display:block;margin:0 0 16px;padding:0;color:#637087;font-size:14px;line-height:1.5;text-align:left}
#dzAuthWorkspace .dz-auth-reset-help{margin:0;color:#303740}
@media (max-height:700px){
  .dz-auth-card{padding-top:20px;padding-bottom:20px}
  .dz-auth-brand{margin-bottom:14px;font-size:40px}
  .dz-auth-card h2{margin-bottom:14px}
  .dz-auth-switch{margin-top:16px}
  #dzAuthSignup > label:not(:first-child){margin-top:10px}
}
@media (max-width:700px){
  .dz-auth{padding:12px;background-color:#f5f4f0;
    background-image:url("/design/auth/auth-reference-phone-barcode.webp"),url("/design/auth/auth-reference-phone-notebook.webp"),url("/design/auth/auth-reference-phone-towel.webp");
    background-position:left bottom,right top,right bottom;
    background-size:clamp(125px,52vw,210px) auto,clamp(125px,49vw,195px) auto,clamp(105px,39vw,160px) auto;background-repeat:no-repeat}
  .dz-auth-card{max-height:calc(100dvh - 24px);padding:24px}
  .dz-auth-brand{font-size:40px}
}
@media (max-height:550px){.dz-auth{padding:8px}.dz-auth-card{max-height:calc(100dvh - 16px);padding-top:16px;padding-bottom:16px}}

/* ---------- Printers (design/printers.js) */
.dz-page-head-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 24px}
.dz-page-head-row p{max-width:72ch}
.dz-printers .dz-page-head-row{max-width:900px}
.dz-page-head-row .dz-primary{flex:none;margin-top:4px}
.dz-printers .dz-note{max-width:900px;margin:0 0 12px}
.dz-prn-list{display:grid;gap:10px;max-width:900px}
.dz-prn{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 14px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--label);padding:14px 16px}
.dz-prn.is-old{background:var(--paper)}
.dz-prn-ico{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--liner);color:var(--ink)}
.dz-prn-body{min-width:0}
.dz-prn-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.dz-prn-title strong{font-weight:500;font-size:14.5px;overflow-wrap:anywhere}
.dz-prn-tags{display:inline-flex;flex-wrap:wrap;gap:6px}
.dz-prn-meta{font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.dz-prn-result{margin:4px 0 0;font-size:12.5px;line-height:1.45;color:var(--muted)}
.dz-prn-result:empty{display:none}
.dz-prn-result.ok{color:var(--ok)}.dz-prn-result.warn{color:var(--warn)}.dz-prn-result.bad{color:var(--bad)}
.dz-prn-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.dz-prn-actions .dz-secondary,.dz-prn-actions .dz-quiet{padding:6px 12px;font-size:13px}
.dz-prn-stop:hover{color:var(--bad)}
.dz-prn-old{max-width:900px;margin-top:18px}
.dz-prn-old summary{cursor:pointer;font-weight:500;color:var(--muted);margin-bottom:10px}
.dz-prn-empty{text-align:left}
.dz-prn-empty .dz-empty-actions{justify-content:flex-start}
.dz-prn-dialog{max-width:min(560px,calc(100vw - 32px));overflow:auto}
.dz-prn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dz-prn-f{display:grid;gap:4px;font-size:12.5px;font-weight:500;min-width:0;align-content:start}
.dz-prn-f-name,.dz-prn-f-size,.dz-prn-more{grid-column:1 / -1}
.dz-prn-f-host{grid-column:1 / -1}
.dz-prn-f-printWidth{grid-column:1 / -1}
.dz-prn-f[hidden]{display:none}
fieldset.dz-prn-f{border:0;padding:0;margin:0}
fieldset.dz-prn-f legend{padding:0;margin-bottom:4px}
.dz-prn-size{display:flex;align-items:center;gap:8px;max-width:280px}
.dz-prn-size span{color:var(--muted)}
.dz-prn-err{font-weight:400;font-size:12px;min-height:0}
.dz-prn-err:empty{display:none}
.dz-prn-more summary{cursor:pointer;font-weight:500;font-size:13px;margin-bottom:10px}
.dz-prn-check{display:flex;align-items:center;gap:8px;font-size:13.5px}
.dz-prn-check input{width:18px;height:18px;accent-color:var(--signal)}
.dz-prn-form .dz-result-actions{justify-content:flex-end}
.dz-prn-gap{flex:1}
@media (max-width:640px){
  .dz-page-head-row{flex-direction:column}
  .dz-prn{grid-template-columns:auto minmax(0,1fr);padding:12px}
  .dz-prn-actions{grid-column:1 / -1;justify-content:flex-start}
  .dz-prn-grid{grid-template-columns:1fr 1fr}
  .dz-prn-f-dpi{grid-column:1 / -1}
}
@media (max-width:760px){.dz-nav-item{padding:6px 6px}}

/* 17 Oct 2026: labels changed in two places (offline here, saved elsewhere) */
.dz-conflicts{margin:0 0 16px;display:grid;gap:10px}
.dz-conflict{border:1px solid #E8B44C;background:#FFF8E6;border-radius:10px;padding:12px 14px}
.dz-conflict p{margin:0 0 10px;line-height:1.45}
.dz-conflict-actions{display:flex;flex-wrap:wrap;gap:8px}

/* Paper: a label roll or a sheet of labels (design/paper.js, 18 Oct 2026) */
.dz-paper{border:1px solid var(--line);border-radius:10px;padding:10px 12px 12px;margin:0;display:grid;gap:10px;min-width:0}
.dz-paper legend{font-size:12px;font-weight:500;padding:0 4px}
.dz-paper-sheet{display:grid;gap:10px;min-width:0}
.dz-paper-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px 10px}
.dz-paper-grid label{display:grid;gap:4px;font-size:12px;font-weight:500;align-content:start}
.dz-paper-more summary{cursor:pointer;font-size:12.5px;font-weight:500}
.dz-paper-more[open] summary{margin-bottom:8px}
.dz-paper-view{display:flex;gap:12px;align-items:flex-start}
.dz-paper-pic{flex:none;line-height:0}
.dz-paper-pic svg{display:block;max-width:96px;height:auto}
.dz-pp-page{fill:#fff;stroke:var(--faint);stroke-width:.6px;vector-effect:non-scaling-stroke}
.dz-pp-label{fill:var(--signal-soft);stroke:var(--signal);stroke-width:1px;vector-effect:non-scaling-stroke}
.dz-pp-empty{fill:#fff;stroke:var(--faint);stroke-width:1px;stroke-dasharray:2 2;vector-effect:non-scaling-stroke}
.dz-pp-used{fill:var(--liner);stroke:var(--faint);stroke-width:1px;vector-effect:non-scaling-stroke}
.dz-paper-words{display:grid;gap:6px;justify-items:start;font-size:13px;min-width:0}
.dz-paper-says{overflow-wrap:anywhere}
.dz-paper-says.okline{color:var(--ok)}.dz-paper-says.bad{color:var(--bad)}
.dz-paper .dz-hint{margin:0}
@media (max-width:480px){.dz-paper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dz-paper-view{flex-direction:column}}

/* Active designs and the chooser (19 Oct 2026, plan §2.9): only drawn with billing on and the plan enforced */
.dz-tag.dz-tag-lock{color:var(--ink);background:var(--liner);border:1px solid var(--line)}
.dz-lcard.is-view-only .dz-tthumb{opacity:.72}
.dz-choose-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 16px;padding:12px 14px;border:1px solid #B9D6F6;background:var(--signal-soft);border-radius:10px}
.dz-choose-banner p{margin:0;line-height:1.45;min-width:0;flex:1 1 260px}
/* (31 Oct 2026, long lists) a flex column: only the list scrolls; the words, the search, the count and Cancel / Save stay */
.dz-choose-dialog{max-width:min(560px,calc(100vw - 32px));overflow:hidden;scrollbar-gutter:auto}
.dz-choose-dialog .dz-print-form.dz-choose-form{max-height:calc(100dvh - 32px);display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden}
/* a long list (the search shows): the full height from the start, so searching doesn't make the dialog jump */
.dz-choose-dialog .dz-print-form.dz-choose-form:has(.dz-choose-search:not([hidden])){height:calc(100dvh - 32px)}
.dz-choose-head{display:grid;gap:8px;padding:20px 22px 12px;flex:none;min-width:0}
.dz-choose-body{flex:1 1 auto;min-height:96px;overflow:auto;overscroll-behavior:contain;padding:2px 22px 8px;border-top:1px solid var(--line)}
.dz-choose-foot{flex:none;display:grid;gap:6px;padding:10px 22px 16px;border-top:1px solid var(--line);background:var(--label);min-width:0}
.dz-choose-foot .dz-result-actions{justify-content:space-between;margin:0;padding:0}
.dz-choose-foot .dz-error:empty{display:none}
.dz-choose-dialog h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em}
.dz-choose-dialog h2:focus{box-shadow:none}
.dz-choose-dialog p{margin:0;line-height:1.45}
.dz-choose-search{width:100%;box-sizing:border-box;margin-top:4px;padding:8px 12px;font:inherit;font-size:14px;color:var(--ink);background:var(--label);border:1px solid var(--line);border-radius:8px}
.dz-choose-search:focus{outline:none;border-color:var(--signal);box-shadow:var(--ring)}
.dz-choose-search[hidden]{display:none}
.dz-choose-list{list-style:none;margin:0;padding:8px 0 0;display:grid;gap:4px}
.dz-choose-list > li[hidden]{display:none}
.dz-choose-none{padding:12px 2px;font-size:13.5px}
.dz-choose-none[hidden]{display:none}
.dz-choose-item{display:grid;grid-template-columns:auto 48px minmax(0,1fr);align-items:center;gap:10px;padding:5px 10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.dz-choose-item:has(input:checked){border-color:var(--signal);background:var(--signal-soft)}
.dz-choose-item:has(input[aria-disabled=true]:not(:checked)),.dz-choose-item:has(input:disabled:not(:checked)){cursor:default;opacity:.65}
.dz-choose-item input{width:18px;height:18px;margin:0;accent-color:var(--signal)}
.dz-choose-thumb{width:48px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--liner);border-radius:4px;overflow:hidden}
.dz-choose-words{display:grid;min-width:0;line-height:1.3}
.dz-choose-name{font-weight:500;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dz-choose-meta{font-size:12px;overflow-wrap:anywhere}
.dz-choose-status{font-size:13px;color:var(--muted)}
/* (31 Oct 2026) placeholder rows while the list is on its way: the same shape as a row, no words */
.dz-choose-skel{display:grid;grid-template-columns:18px 48px minmax(0,1fr);align-items:center;gap:10px;padding:5px 10px;border:1px solid var(--line);border-radius:8px;min-height:42px;box-sizing:border-box}
.dz-choose-skel-box,.dz-choose-skel-thumb,.dz-choose-skel-line{display:block;background:var(--liner);border-radius:4px;animation:dz-skel 1.2s ease-in-out infinite}
.dz-choose-skel-box{width:18px;height:18px}
.dz-choose-skel-thumb{width:48px;height:32px}
.dz-choose-skel .dz-choose-words{gap:6px}
.dz-choose-skel-line{height:10px;width:60%}
.dz-choose-skel-line.dz-choose-skel-short{width:38%;height:8px}
@keyframes dz-skel{50%{opacity:.45}}
@media (prefers-reduced-motion:reduce){.dz-choose-skel-box,.dz-choose-skel-thumb,.dz-choose-skel-line{animation:none}}
.dz-tag-lock{display:inline-flex;align-items:center;gap:4px}
.dz-lock-icon{flex:none}
/* phone: a full-screen sheet, Save at the bottom */
@media (max-width:520px){
  .dz-choose-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
  .dz-choose-dialog .dz-print-form.dz-choose-form,.dz-choose-dialog .dz-print-form.dz-choose-form:has(.dz-choose-search:not([hidden])){height:100dvh;max-height:100dvh}
  .dz-choose-head{padding:16px 16px 10px}
  .dz-choose-body{padding:2px 16px 8px}
  .dz-choose-foot{padding:10px 16px calc(12px + env(safe-area-inset-bottom))}
  .dz-choose-foot .dz-result-actions button{min-height:44px}
  .dz-choose-foot #dzChooseSave{flex:1 1 auto}
  .dz-choose-item{padding:6px 8px}
}
@media (max-width:480px){.dz-choose-banner .dz-primary{width:100%}}
/* 23 Oct 2026: while the page starts (data-state=loading) nothing of the app shows: no side menu, just a plain background
   with the Tamvya mark, so "Start free" / "Sign in" go straight from this to the login card */
.dz-app[data-state=loading] .dz-rail{visibility:hidden}
.dz-app[data-state=loading] #dzLoading{position:fixed;inset:0;z-index:40;max-width:none;width:auto;margin:0;padding:0;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;
  background:#fff;color:#5a6676;text-align:center}
/* (25 Oct 2026, owner: option A, white) the page's outline while it starts: the side menu, the blue banner and the two
   cards (the editor: toolbar, tools, the label, its settings) as soft blocks, so the page fills in rather than jumps */
.dz-skel{position:absolute;inset:0;display:grid;grid-template-columns:76px minmax(0,1fr);background:#fff}
.dz-skel i,.dz-skel span{display:block}
.dz-skel-rail{display:flex;flex-direction:column;align-items:center;gap:18px;padding:16px 8px;border-right:1px solid var(--line)}
.dz-skel-rail img{border-radius:8px;margin-bottom:6px}
.dz-skel-rail i{width:44px;height:40px;border-radius:10px}
.dz-skel-main{padding:clamp(16px,3vh,28px) clamp(16px,3vw,40px);min-width:0}
.dz-skel-hero{position:relative;height:clamp(170px,30vh,240px);border-radius:20px;max-width:1270px;
  background:radial-gradient(90% 120% at 100% 0%,rgba(245,130,32,.30) 0%,rgba(245,130,32,0) 42%),linear-gradient(115deg,#0A5FB8 0%,#0B74DF 55%,#3A8DEB 100%)}
.dz-skel-hero i{position:absolute;left:clamp(18px,3vw,34px);border-radius:8px;background:rgba(255,255,255,.28)}
.dz-skel-hero .a{top:24px;width:60px;height:12px}
.dz-skel-hero .b{top:46px;width:min(240px,50%);height:26px}
.dz-skel-hero .c{top:92px;width:min(820px,calc(100% - 60px));height:52px;border-radius:14px;background:rgba(255,255,255,.92)}
.dz-skel-h{width:140px;height:18px;border-radius:6px;margin:28px 0 14px}
.dz-skel-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:1270px}
.dz-skel-cards>div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;padding:14px;border:1px solid var(--line);border-radius:16px;height:150px;box-sizing:border-box}
.dz-skel-cards .p{border-radius:12px;height:100%}
.dz-skel-cards span{padding-top:10px}.dz-skel-cards span i{height:12px;border-radius:6px;margin-bottom:10px}
.dz-skel-cards span i:first-child{width:45%;height:16px}.dz-skel-cards span i:last-child{width:60%}
.dz-skel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.dz-skel-top .t{width:min(320px,45%);height:22px;border-radius:6px}
.dz-skel-top span{display:flex;gap:10px}.dz-skel-top span i{width:84px;height:40px;border-radius:20px}.dz-skel-top span .go{background:#0B74DF;opacity:.85}
.dz-skel-work{display:grid;grid-template-columns:240px minmax(0,1fr) 280px;gap:16px;height:calc(100vh - 130px)}
.dz-skel-side{border:1px solid var(--line);border-radius:14px;padding:14px}.dz-skel-side i{height:44px;border-radius:10px;margin-bottom:12px}
.dz-skel-canvas{border-radius:14px;background:#f3f6f9;display:flex;align-items:center;justify-content:center}
.dz-skel-canvas i{width:min(60%,420px);aspect-ratio:2/1;background:#fff;border-radius:6px;box-shadow:0 10px 26px -14px rgba(27,39,56,.45)}
/* the soft blocks: one gentle sheen across them (none with reduced motion) */
.dz-skel-rail i,.dz-skel-h,.dz-skel-cards .p,.dz-skel-cards span i,.dz-skel-top .t,.dz-skel-top span i:not(.go),.dz-skel-side i{
  background:linear-gradient(90deg,#eef2f6 0%,#f6f8fb 40%,#eef2f6 80%);background-size:300% 100%;animation:dz-skel 1.6s ease-in-out infinite}
@keyframes dz-skel{from{background-position:100% 0}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.dz-skel *{animation:none!important}}
@media (max-width:760px){
  .dz-skel{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}
  .dz-skel-rail{grid-row:2;flex-direction:row;justify-content:space-around;padding:8px;border-right:0;border-top:1px solid var(--line)}
  .dz-skel-rail img{display:none}.dz-skel-rail i{width:52px;height:38px}
  .dz-skel-main{padding:14px}
  .dz-skel-hero{border-radius:16px;height:200px}.dz-skel-hero .c{height:46px}
  .dz-skel-cards{grid-template-columns:1fr}.dz-skel-cards>div{height:120px}
  .dz-skel-work{grid-template-columns:1fr;height:auto}.dz-skel-work .dz-skel-side{display:none}.dz-skel-canvas{height:50vh}
  .dz-skel-top span i:not(.go){display:none}
}

/* ---------- guest mode (25 Oct 2026, design/guest.js): the slim note at the top, the sign-up dialog, and the login
   card's way back to the guest's work */
.dz-guest-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0;padding:8px 16px;
  background:var(--signal-soft);color:var(--signal-deep);border-bottom:1px solid #CFE2F8;font-size:13.5px;line-height:1.4}
.dz-guest-bar-text{margin:0;min-width:0}
.dz-guest-bar-actions{display:flex;gap:6px;flex:none}
.dz-guest-note{display:block;font-weight:600}
.dz-guest-note[hidden]{display:none}
.dz-guest-ask{max-width:min(440px,calc(100vw - 32px))}
.dz-guest-bar .dz-primary,.dz-guest-bar .dz-quiet{padding:6px 14px}
.dz-guest.dz-edit-page .dz-edit-main{display:flex;flex-direction:column}
.dz-guest.dz-edit-page .dz-editor{flex:1;height:auto;min-height:0}
.dz-guest-dialog{position:relative;max-width:min(420px,calc(100vw - 32px))}
.dz-guest-dialog h2{padding-right:28px}
.dz-guest-x{position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:var(--muted,#5B6B7F);font-size:22px;line-height:1;cursor:pointer}
.dz-guest-x:hover{background:var(--signal-soft)}
.dz-guest-actions{display:grid;gap:8px;margin-top:4px}
.dz-guest-actions .dz-google{border-radius:999px;height:44px;min-height:44px;font-size:15px}
.dz-guest-email{width:100%;height:44px;font-size:15px;font-weight:600}
.dz-guest-email.dz-secondary{border-color:var(--faint)}
.dz-guest-email.dz-secondary:not(:disabled):hover{border-color:var(--ink);background:var(--paper)}
.dz-guest-email:focus-visible{outline:3px solid var(--signal-deep);outline-offset:3px;box-shadow:none}
.dz-guest-error{color:#B42318;font-size:13px}
.dz-google-warn{margin-top:10px;padding:12px 14px;border:1px solid #F5C77E;border-radius:12px;background:#FFF8EB;color:#5A3B00;font-size:14px;line-height:1.45;text-align:left}
.dz-google-warn p{margin:0 0 10px}
.dz-google-warn-actions{display:flex;flex-wrap:wrap;gap:8px}
.dz-google-warn-actions button{min-height:40px}
.dz-guest-free{font-size:13px;color:var(--ok,#16834b);font-weight:600;text-align:center}
.dz-guest-have{font-size:13.5px;text-align:center;color:var(--muted,#5B6B7F)}
.dz-auth-back{position:absolute;top:14px;left:14px;z-index:4;border:0;border-radius:999px;padding:8px 14px;background:rgba(255,255,255,.92);color:#1E2B3A;font:600 14px/1.2 system-ui,sans-serif;cursor:pointer;box-shadow:0 2px 8px rgba(42,40,38,.12)}
.dz-auth-back[hidden]{display:none}
.dz-link-note{margin:0 0 12px}
@media (max-width:760px){.dz-guest-bar{flex-wrap:nowrap;padding:6px 16px;font-size:12.5px;line-height:1.35}.dz-guest-bar-text{flex:1 1 auto}.dz-guest-bar .dz-primary,.dz-guest-bar .dz-quiet{padding:6px 10px;font-size:13px}}
/* (31 Oct 2026, owner approved) "Zebra: box too small": the tag is a button that opens the reason (design.js openZebraPop) */
.dz-tag.dz-tag-btn{border:1px solid transparent;cursor:pointer;font:inherit;font-size:11.5px;font-weight:500;line-height:inherit;display:inline-flex;align-items:center;gap:4px}
.dz-tag.dz-tag-btn::after{content:"";width:0;height:0;border-left:3.5px solid transparent;border-right:3.5px solid transparent;border-top:4px solid currentColor;opacity:.75}
.dz-tag.dz-tag-btn:hover{border-color:currentColor}
.dz-tag.dz-tag-btn:focus-visible{outline:2px solid var(--warn);outline-offset:2px}
.dz-tag.dz-tag-btn[aria-expanded="true"]::after{transform:rotate(180deg)}
.dz-zpop{width:100%;box-sizing:border-box;margin:6px 0 4px;padding:10px 12px;border:1px solid #F1C58C;border-radius:10px;background:#FFFAF2;color:var(--ink);font-size:13px;line-height:1.45;display:grid;gap:8px}
.dz-zpop p{margin:0}
.dz-zpop-say{font-weight:500}
.dz-zpop-details summary{cursor:pointer;color:var(--muted,#5B6B7F);font-size:12.5px}
.dz-zpop-details p{margin-top:6px;font-size:12.5px;color:var(--muted,#5B6B7F)}
.dz-zpop-status{font-size:12.5px;color:var(--warn)}
.dz-zpop-status:empty{display:none}
.dz-zpop-actions{display:flex;flex-wrap:wrap;gap:8px}
.dz-zpop-actions button{padding:6px 14px;font-size:13px}
.dz-zline > span{display:inline}
.dz-zline > button{margin:4px 0 0;padding:4px 12px;font-size:13px}
.dz-zline .dz-zpop-details{margin-top:4px}
/* (2 Nov 2026, owner-approved) the camera's viewfinder: corner brackets and a moving line while it looks (still with
   reduced motion); a short green flash on a right read, red on a wrong one (scan-check.js flash) */
.dz-scan-stage{position:relative}
.dz-scan-frame{position:absolute;inset:12% 14%;pointer-events:none;border-radius:14px;--fc:rgba(255,255,255,.92);transition:box-shadow .15s}
.dz-scan-corner{position:absolute;width:28px;height:28px;border:3px solid var(--fc);transition:border-color .15s}
.dz-scan-corner.tl{top:0;left:0;border-right:0;border-bottom:0;border-top-left-radius:14px}
.dz-scan-corner.tr{top:0;right:0;border-left:0;border-bottom:0;border-top-right-radius:14px}
.dz-scan-corner.bl{bottom:0;left:0;border-right:0;border-top:0;border-bottom-left-radius:14px}
.dz-scan-corner.br{bottom:0;right:0;border-left:0;border-top:0;border-bottom-right-radius:14px}
.dz-scan-line{position:absolute;left:6%;right:6%;top:8%;height:2px;border-radius:2px;background:rgba(255,80,80,.85);box-shadow:0 0 8px rgba(255,80,80,.7);animation:dz-scan-sweep 1.8s ease-in-out infinite alternate}
@keyframes dz-scan-sweep{to{top:90%}}
.dz-scan-frame.is-ok{--fc:#2EBD6B;box-shadow:inset 0 0 0 3px #2EBD6B,0 0 18px rgba(46,189,107,.6)}
.dz-scan-frame.is-bad{--fc:#E5484D;box-shadow:inset 0 0 0 3px #E5484D,0 0 18px rgba(229,72,77,.6)}
.dz-scan-frame.is-ok .dz-scan-line,.dz-scan-frame.is-bad .dz-scan-line{visibility:hidden}
@media (prefers-reduced-motion:reduce){.dz-scan-line{animation:none;top:50%}}
