/* Pro tools (loaded by /pro-tools.js only after Pro is unlocked, by the Pro pages /my-quotes/ + /quote-builder/, and by qazzly.app/about/ for the suggest box; free calculator pages never load this file) */
.pro-tools{margin:20px 0 8px;padding:16px;border:1px solid var(--line);border-left:4px solid var(--coral,#FF6B5B);border-radius:var(--r-md,12px);background:var(--field,#FFFDF9)}
.pro-tools h3{margin:0 0 8px;font-size:17px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pro-tools .form2{margin:12px 0}
.new-tag{display:inline-block;font-size:12px;font-weight:600;line-height:1;padding:4px 8px;border-radius:999px;background:var(--navy,#14213D);color:#fff;letter-spacing:.02em}
.pt-opt{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:6px 12px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.pt-opt input{font:inherit;min-height:40px;padding:7px 10px;border:1px solid var(--field-line,#8A7F6C);border-radius:10px;background:var(--field,#FFFDF9);color:var(--ink);width:100%}
.pt-opt.is-active input{border-color:var(--coral,#FF6B5B);border-width:2px}
.pt-opt-total{font-weight:600;white-space:nowrap}
.pt-editing{font-weight:500;margin:8px 0 0}
.pt-editing:empty{display:none}
.pro-tools textarea{font:inherit;width:100%;min-height:72px;padding:8px 10px;border:1px solid var(--field-line,#8A7F6C);border-radius:10px;background:var(--field,#FFFDF9);color:var(--ink);resize:vertical}
.pt-block-label{display:block;font-weight:500;font-size:15px;margin:4px 0 6px}
.pro-tools input[type=color]{min-height:40px;padding:2px 4px;width:72px;justify-self:start}
.pro-tools input[type=file],#mq-import{font-size:14px;max-width:100%;min-height:24px}
.pt-check{width:24px!important;height:24px;min-height:24px!important;justify-self:start}
.pt-logo-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:10px 0 0}
#pt-logo-prev{max-height:48px;max-width:160px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:2px}
.pt-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
/* Pro only: a gap between the printable quote and its Print button (the free pages keep their frozen layout) */
.quote + .pt-print-row,.quote + .pt-buttons{margin-top:20px}
.pt-print-tip{margin-top:-6px}
.pt-file-label{font-weight:500}
@media (max-width:639px){.pt-opt{grid-template-columns:minmax(0,1fr) auto}.pro-tools{padding:14px 12px}}
.pro-tools input[aria-invalid=true]{border-color:#b42318;box-shadow:0 0 0 1px #b42318}
.pro-tools .field-err{margin:4px 0 0}
/* keeping the data (pro-tools.js storageNote): last backup date, reminder, home-screen tip, FAQ line */
.pt-storage{margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--line)}
.pt-storage p{margin:0 0 8px}
.pt-storage p:last-child{margin-bottom:0}
.pt-last-backup{font-weight:600}
.pt-remind{padding:8px 12px;border-radius:10px;background:var(--cream,#F4EDE0);color:var(--navy,#14213D);border-left:4px solid var(--coral,#FF6B5B)}
.pt-remind a{margin-left:2px;font-weight:600}
.pro-tools.pt-storage{margin:20px 0 8px;padding:16px}
@media (max-width:639px){.pro-tools.pt-storage{padding:14px 12px}}

/* Pro work items as cards: the item name gets its own full-width row, the numbers sit below with their own labels
   (Quantity first), so names are readable and nothing scrolls sideways at any width. Free pages never load this. */
.pt-cards{overflow:visible}
.pt-cards .grid-table,.pt-cards .grid-table tbody{display:block;width:100%}
.pt-cards .grid-table tr:first-child{display:none}
.pt-cards .grid-table tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px;align-items:end;padding:12px 0;border-bottom:1px solid var(--line)}
.pt-cards .grid-table tr:last-child{border-bottom:0}
.pt-cards .grid-table td{display:block;padding:0;min-width:0;order:5}
.pt-cards .grid-table td::before{content:attr(data-label);display:block;font-size:13px;line-height:1.3;color:var(--muted);margin:0 0 3px;overflow-wrap:anywhere}
.pt-cards .grid-table td input{min-width:0!important}
.pt-cards .grid-table td:first-child{order:0;grid-column:1 / 4}
.pt-cards .grid-table td.td-remove{order:1;align-self:end;justify-self:end}
.pt-cards .grid-table td.td-remove::before{content:none}
.pt-cards .grid-table td.td-remove button{min-height:40px;padding:8px 0}
.pt-cards .grid-table td[data-label=Quantity],.pt-cards .grid-table td[data-label=Qty]{order:2}
.pt-cards .grid-table td[data-label^=Price]{order:3}
.pt-cards .grid-table td input[type=checkbox]{width:24px;height:24px;min-height:24px;margin:8px 0 0}
@media (max-width:479px){
  .pt-cards .grid-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pt-cards .grid-table td:first-child{grid-column:1 / -1}
  .pt-cards .grid-table td.td-remove{order:9;justify-self:end}
}

/* printed quote: branding + options */
.quote.pt-branded{border-top:6px solid var(--qz-brand,#14213D)}
.quote.pt-text-color #q-business,.quote.pt-text-color .pt-q-opt h3{color:var(--qz-brand,#14213D)}
.pt-q-logo{display:block;max-height:72px;max-width:240px;margin:0 0 10px}
.pt-q-meta{font-size:14px;margin:4px 0 0;font-weight:500}
/* on screen the quote sits in a narrow column: options wrap (min 200px each); on paper they are always side by side */
.pt-q-options{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin:10px 0}
.pt-q-opt{border:1px solid #ddd;border-top:4px solid var(--qz-brand,#14213D);border-radius:8px;padding:10px 12px;break-inside:avoid;display:flex;flex-direction:column}
/* the total sits at the bottom of every option column, so Good / Better / Best totals line up */
.pt-q-opt-foot{margin-top:auto}
.pt-q-opt table.pt-q-rows tr:last-child td{font-weight:400;border-bottom:1px solid #ddd}
.pt-q-opt table.pt-q-total{margin-top:0}
.pt-q-note{font-size:14px;margin:6px 0}
.pt-q-season{margin:10px 0}
.pt-q-season-h{font-weight:600;margin:0}
.pt-q-season table.mini{margin:4px 0}
.pt-q-season .fine,.pt-q-season-in .fine{margin:4px 0 0;font-size:14px}
.pt-q-season-in.is-compact{margin-top:8px;font-size:14px}
.pt-q-season-in.is-compact table.mini td{padding:4px 2px}
.pt-q-opt h3{margin:0 0 2px;font-size:17px}
.pt-q-opt .fine{margin:0 0 4px}
.pt-q-opt table.mini{margin:4px 0;font-size:14px}
.pt-q-opt table.mini td{padding:5px 2px}
.pt-q-plan{font-size:14px;margin:6px 0 0}
.pt-q-pick{font-weight:600;margin:10px 0;white-space:pre-wrap}
.pt-q-terms{font-size:14px;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.pt-q-sign{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin:28px 0 12px;font-size:14px}
.pt-q-sign span{border-top:1px solid #111;padding-top:4px}
@media print{
  .quote.pt-branded,.pt-q-opt{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* a straight colour bar, with room between it and the logo or business name */
  .quote.pt-branded{border-radius:0;padding-top:14px}
  .pt-q-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pt-q-options.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pro-tools{display:none!important}
}

/* Phase B: home-screen tip, My Quotes, quote builder, suggest box (Pro pages + /about/) */
.pt-install h3{margin:0 0 6px}
.pt-install-list{margin:6px 0 10px;padding-left:20px}
.pt-install-list li{margin:4px 0}
.hub-note{font-weight:500;margin:0 0 16px;padding:10px 14px;border-radius:10px;background:var(--field,#FFFDF9);border:1px solid var(--line)}
.hub-bar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:0 0 12px}
.hub-bar input[type=search]{flex:1 1 220px;font:inherit;min-height:44px;padding:8px 12px;border:1px solid var(--field-line,#8A7F6C);border-radius:10px;background:var(--field,#FFFDF9);color:var(--ink)}
.mq-card{border:1px solid var(--line);border-radius:var(--r-md,12px);padding:14px 16px;margin:0 0 12px;background:#fff}
.mq-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.mq-head h3{margin:0;font-size:18px;flex:1 1 auto;overflow-wrap:anywhere}
.mq-contact{display:flex;flex-wrap:wrap;gap:4px 16px;margin:6px 0;overflow-wrap:anywhere}
.mq-prefs{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 12px;margin:8px 0;font-size:15px}
.mq-prefs dt{font-weight:600}
.mq-prefs dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.mq-quotes{list-style:none;margin:8px 0 0;padding:0}
.mq-quote{border-top:1px solid var(--line);padding:10px 0 4px;border-left:4px solid transparent;padding-left:10px}
.mq-quote.is-accepted{border-left-color:#2E7D4F}
.mq-quote.is-declined{border-left-color:#8A7F6C}
.mq-quote.is-sent{border-left-color:var(--coral,#FF6B5B)}
.mq-q-top{display:flex;justify-content:space-between;gap:12px;margin:0}
.mq-q-total{font-weight:700;white-space:nowrap}
.mq-q-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:6px 0}
.mq-q-row select,.mq-q-row input,.qb-sel select,.qb-sel input,.hub-form textarea,.suggest textarea,.suggest input,.suggest select{font:inherit;min-height:40px;padding:6px 10px;border:1px solid var(--field-line,#8A7F6C);border-radius:10px;background:var(--field,#FFFDF9);color:var(--ink)}
.mq-lines summary{font-size:14px}
.mq-lines table.mini{font-size:14px}
.mq-edit textarea{font:inherit;width:100%;min-height:64px;padding:8px 10px;border:1px solid var(--field-line,#8A7F6C);border-radius:10px;background:var(--field,#FFFDF9);color:var(--ink)}
.hub-form textarea,.suggest textarea{width:100%;min-height:90px;resize:vertical}
.suggest input[type=email]{width:100%;max-width:420px}
.suggest .row{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:8px 0}
/* idea box (2026-11-17): email + "tell me" choice, trade + place + "mention" choice; each group a quiet block */
.suggest label{display:block}
.suggest .sg-group{margin:14px 0 4px;padding:12px 0 0;border-top:1px solid var(--line)}
.suggest .sg-group>.fine{margin:4px 0 0}
.suggest .sg-two{display:grid;grid-template-columns:1fr;gap:10px 16px}
.suggest .sg-two input,.suggest .sg-two select{width:100%}
@media (min-width:640px){.suggest .sg-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:640px}}
.suggest .sg-check{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0}
.suggest .sg-check input{accent-color:var(--navy,#14213D);flex:none;width:24px;height:24px;min-height:24px;margin:1px 0 0;padding:0}
.suggest .sg-check label{font-weight:600;margin:0;padding-top:2px;cursor:pointer}
.suggest .sg-check.is-off label{color:var(--muted);cursor:default}
.suggest .sg-check input:disabled{cursor:not-allowed}
.suggest .sg-hint{margin:2px 0 0 34px!important}
.qb-part{border:1px solid var(--line);border-radius:var(--r-md,12px);padding:12px 14px;margin:0 0 12px;background:#fff}
.qb-part-total{white-space:nowrap}
.qb-sels{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0}
.qb-sel{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;font-weight:500}
.qb-sel select{max-width:100%}
.qb-part .grid-table td input{max-width:110px}
.quote tr.qb-head td{font-weight:700;padding-top:12px;border-bottom:1px solid #ddd}
.quote tr.qb-sub td{font-style:italic}
.qb-total-line{font-size:20px;margin:12px 0}
@media (max-width:639px){.mq-prefs{grid-template-columns:1fr}.mq-prefs dd{margin-bottom:6px}.mq-card,.qb-part{padding:12px}}
@media print{.hub-note,.mq-card,.qb-part,.suggest,.pt-install{display:none!important}}

/* printed quote (Pro, long quotes): the Total row never starts a page on its own; it keeps the last line with it */
@media print{
  #q-lines tr,.pt-q-opt table.mini tr{break-inside:avoid}
  #q-lines tr:last-child,#q-lines tr:nth-last-child(2){break-before:avoid}
  #q-lines tr:nth-last-child(2),#q-lines tr:nth-last-child(3){break-after:avoid}
}
/* My Quotes: the calculator links in the list are 24 px tall tap targets (WCAG 2.5.8) */
#mq-tools a{display:inline-block;padding:2px 0}
.mq-lines > summary{padding:2px 0}
/* WCAG 2.4.11: a field reached with Tab / Shift+Tab is never hidden under the sticky header (sticky from 640 px up;
   --nav + its 1px border, plus 8px so the 3px focus outline and its 2px offset show too). Phones: static header. */
html{scroll-padding-top:calc(var(--nav,72px) + 9px)}
@media (max-width:639px){html{scroll-padding-top:0}}
/* WCAG 4.1.3: off-screen live region that reads the total once typing stops (pro-tools.js, quote-builder/app.js) */
.pt-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* My Quotes: section headings are h2 (WCAG 1.3.1 heading order) drawn exactly like the h3 they replace */
h2.mq-h{font-size:var(--t-h3);line-height:1.25;letter-spacing:-0.015em;font-weight:500;margin:var(--s-6) 0 var(--s-3)}
.panel h2.mq-h{font-size:17px;margin:24px 0 8px}
.pro-tools h2.mq-h{margin:0 0 8px;font-size:17px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.mq-head h2.mq-h{margin:0;font-size:18px;flex:1 1 auto;overflow-wrap:anywhere}
/* first steps after an unlock + the quiet Pro mark (pro-tools.js welcomePanel / proChip / proStatus). Type first, one
   coral check; depth, theme and motion come from the design v3 layer at the end of this file. Navy on cream 13.7:1, navy on coral 5.7:1, navy on the field white 15.7:1. */
.pt-chip{display:inline-block;vertical-align:.3em;margin-left:.15em;padding:5px 10px 4px;border-radius:999px;background:var(--navy,#14213D);color:var(--cream,#F4EDE0);font-size:14px;line-height:1;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.pt-welcome{scroll-margin-top:16px;margin:0 0 24px;padding:20px;border:1px solid var(--line-strong);border-radius:var(--r-md,12px);background:var(--cream,#F4EDE0);color:var(--navy,#14213D)}
.pt-welcome-top{display:flex;align-items:center;gap:14px}
.pt-welcome-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--coral,#FF6B5B);color:var(--navy,#14213D)}
.pt-welcome-icon svg{width:26px;height:26px}
.pt-welcome h2{margin:0;font-size:24px;line-height:1.2;letter-spacing:-0.015em;font-weight:700}
.pt-welcome h2:focus{outline:none}
.pt-welcome h2:focus-visible{outline:3px solid var(--navy,#14213D);outline-offset:3px;border-radius:4px}
.pt-welcome-line{margin:10px 0 0;font-size:16px}

.pt-steps{list-style:none;margin:16px 0 0;padding:0;max-width:640px;display:grid;gap:8px}
.pt-step{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border:1px solid var(--line-strong);border-radius:10px;background:var(--field,#FFFDF9);color:var(--navy,#14213D);text-decoration:none;font-weight:600;font-size:16px;line-height:1.3}
.pt-step:hover{border-color:var(--navy,#14213D)}
.pt-step::after{content:"";flex:0 0 auto;margin-left:auto;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}
.pt-step-n{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:2px solid var(--navy,#14213D);font-size:15px;font-weight:700}
.pt-step-n svg{width:20px;height:20px}
.pt-steps li.is-done .pt-step-n{background:var(--coral,#FF6B5B);border-color:var(--coral,#FF6B5B)}
.pt-steps li.is-done .pt-step-t{font-weight:500}
.pt-welcome-all{margin:12px 0 0;font-weight:600}
.pt-welcome-foot{margin:12px 0 0}
.pt-welcome-foot .link{min-height:32px;padding:4px 0}
.pt-jump ul{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pt-jump a{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:1px solid var(--line-strong);border-radius:999px;background:var(--field,#FFFDF9);color:var(--navy,#14213D);font-weight:500;font-size:15px;text-decoration:none}
.pt-jump a:hover{border-color:var(--navy,#14213D);text-decoration:underline}
#hub-app > .pt-welcome{margin:0 0 20px}
@media (max-width:639px){.pt-welcome{padding:16px}.pt-welcome h2{font-size:21px}.pt-welcome-icon{width:40px;height:40px}.pt-step{padding:10px 12px}}
@media print{.pt-welcome,.pt-chip,.pt-jump,.pt-id{display:none!important}}

/* =====================================================================================================================
   DESIGN v3 (queue #47): tokens for light AND dark, depth, restrained motion, micro-UX.
   Scope: html.qz-pro only (pro-tools.js proLook() sets it on a calculator after unlock; the hub pages carry it in their
   HTML) and SCREEN only: free calculator pages never load this file, and printed quotes never see any of it.
   Light = the brand (cream page, navy ink, coral accent). Dark = navy surfaces, cream text, the same coral; every text
   pair >= 4.5:1 (computed: muted #A8B1C2 on the lightest dark surface #22325A = 5.8:1; field edge #71809E on its field
   4.7:1). Keep the two dark blocks identical (tools/quote_qa.py --check compares them). Theme: the system setting, or the header toggle (localStorage qz_pro_theme_v1 -> html[data-qz-theme]).
   Motion: 140-520 ms, transform/opacity/colour only (no layout shift), never loops, all of it off under reduced motion.
   ===================================================================================================================== */
@media screen {
html.qz-pro {
  --pt-navy: #14213D; --pt-on-coral: #14213D;
  --pt-panel: #FFFDF9; --pt-welcome: #FBF4E8; --pt-step: #FFFDF9; --pt-step-hover: #FFFFFF;
  --pt-raise-1: 0 1px 2px rgba(20,33,61,.05), 0 2px 8px -2px rgba(20,33,61,.07);
  --pt-raise-2: 0 1px 2px rgba(20,33,61,.05), 0 16px 36px -18px rgba(20,33,61,.26);
  --pt-hi: inset 0 1px 0 rgba(255,255,255,.7);
  --pt-wash-1: rgba(255,107,91,.16); --pt-wash-2: rgba(20,33,61,.07); --pt-glow: rgba(255,107,91,.16);
  --muted: #525B6C;   /* Pro light only: a step darker than the free pages' #596274, so it keeps >= 5:1 on the coral wash */
  --pt-sheet-ring: 0 0 0 0 transparent; --pt-btn-shadow: 0 1px 0 rgba(20,33,61,.10), 0 8px 18px -12px rgba(255,107,91,.9);
  --pt-chip-bg: #14213D; --pt-chip-fg: #F4EDE0;
  --pt-focus: #14213D; --pt-halo: rgba(255,107,91,.32);
  --pt-tint: rgba(20,33,61,.05); --pt-tint-2: rgba(20,33,61,.09);
  --pt-warn: #B42318; --pt-ok: #067647;
  --pt-ease: cubic-bezier(.2,.8,.2,1); --pt-spring: cubic-bezier(.3,1.5,.55,1);
  --pt-in: 140ms; --pt-out: 200ms; --pt-enter: 460ms;
  color-scheme: light;
}
}
/* dark: the system asks for it (and the toggle did not say light), or the toggle says dark. Same tokens twice. */
@media screen and (prefers-color-scheme: dark) {
html.qz-pro:not([data-qz-theme="light"]) {
  --bg: #0E1729; --surface: #16223B; --card: #142039; --field: #0B1324; --cream: #1A2745;
  --ink: #F4EDE0; --navy: #F4EDE0; --muted: #A8B1C2;
  --line: rgba(244,237,224,.11); --line-strong: rgba(244,237,224,.22); --field-line: #71809E;
  --pt-panel: #182644; --pt-welcome: #17243F; --pt-step: #1C2A48; --pt-step-hover: #22325A;
  --pt-raise-1: 0 1px 2px rgba(0,0,0,.35), 0 2px 10px -2px rgba(0,0,0,.35);
  --pt-raise-2: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.75);
  --pt-hi: inset 0 1px 0 rgba(244,237,224,.06);
  --pt-wash-1: rgba(255,107,91,.14); --pt-wash-2: rgba(80,112,170,.16); --pt-glow: rgba(255,107,91,.18);
  --pt-chip-bg: #F4EDE0; --pt-chip-fg: #14213D;
  --pt-focus: #F4EDE0; --pt-halo: rgba(255,107,91,.45);
  --pt-tint: rgba(244,237,224,.06); --pt-tint-2: rgba(244,237,224,.11);
  --pt-warn: #FF9F94; --pt-ok: #6FD6A0;
  --pt-sheet-ring: 0 0 0 1px rgba(244,237,224,.16); --pt-btn-shadow: 0 1px 0 rgba(0,0,0,.25);
  color-scheme: dark;
}
}
@media screen {
html.qz-pro[data-qz-theme="dark"] {
  --bg: #0E1729; --surface: #16223B; --card: #142039; --field: #0B1324; --cream: #1A2745;
  --ink: #F4EDE0; --navy: #F4EDE0; --muted: #A8B1C2;
  --line: rgba(244,237,224,.11); --line-strong: rgba(244,237,224,.22); --field-line: #71809E;
  --pt-panel: #182644; --pt-welcome: #17243F; --pt-step: #1C2A48; --pt-step-hover: #22325A;
  --pt-raise-1: 0 1px 2px rgba(0,0,0,.35), 0 2px 10px -2px rgba(0,0,0,.35);
  --pt-raise-2: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.75);
  --pt-hi: inset 0 1px 0 rgba(244,237,224,.06);
  --pt-wash-1: rgba(255,107,91,.14); --pt-wash-2: rgba(80,112,170,.16); --pt-glow: rgba(255,107,91,.18);
  --pt-chip-bg: #F4EDE0; --pt-chip-fg: #14213D;
  --pt-focus: #F4EDE0; --pt-halo: rgba(255,107,91,.45);
  --pt-tint: rgba(244,237,224,.06); --pt-tint-2: rgba(244,237,224,.11);
  --pt-warn: #FF9F94; --pt-ok: #6FD6A0;
  --pt-sheet-ring: 0 0 0 1px rgba(244,237,224,.16); --pt-btn-shadow: 0 1px 0 rgba(0,0,0,.25);
  color-scheme: dark;
}
/* dark: the navy-background logo from the first frame (sites/pro_boot.py makes this sheet render-blocking for a stored
   licence and preloads the file); pro-tools.js swapLogos() later sets the same file as the src, so nothing changes then */
html.qz-pro[data-qz-theme="dark"] .top .logo-img, html.qz-pro[data-qz-theme="dark"] .foot .logo-img { content: url("/assets/brand/qazzly-en-logo-on-navy.svg"); }
}
@media screen and (prefers-color-scheme: dark) {
html.qz-pro:not([data-qz-theme="light"]) .top .logo-img, html.qz-pro:not([data-qz-theme="light"]) .foot .logo-img { content: url("/assets/brand/qazzly-en-logo-on-navy.svg"); }
}
@media screen {

/* the quote is a sheet of paper in both themes: the light tokens again, a lift off the page */
html.qz-pro .quote {
  --ink: #14213D; --navy: #14213D; --muted: #596274; --cream: #F4EDE0; --card: #FBF7F0; --field: #FFFDF9; --field-line: #8A7F6C;
  --line: color-mix(in oklab, #14213D 11%, transparent); --line-strong: color-mix(in oklab, #14213D 20%, transparent);
  --pt-warn: #B42318; --pt-ok: #067647;
  color-scheme: light; border-style: solid; border-color: rgba(20,33,61,.12); border-radius: 12px; overflow: hidden;
  box-shadow: var(--pt-sheet-ring), var(--pt-raise-2);
}
html.qz-pro .quote.pt-branded { border-top-color: var(--qz-brand, #14213D); }   /* the buyer's brand bar stays their colour */
/* top corners: vertical radius = the 6px bar, so the white area under the bar meets it square (no bar-coloured wedges) */
html.qz-pro .quote.pt-branded { border-radius: 12px 12px 12px 12px / 6px 6px 12px 12px; }

/* ---- ambiance: a soft coral + navy wash behind the page head, a frosted header (no image under any text: the
   wash is a layer of its own, so text contrast is measured against the plain page colour) */
html.qz-pro body { position: relative; isolation: isolate; }
html.qz-pro body::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 640px; pointer-events: none;
  background: radial-gradient(900px 400px at 12% 40px, var(--pt-wash-1), transparent 70%),
              radial-gradient(760px 420px at 95% -120px, var(--pt-wash-2), transparent 70%);
}
/* the theme arrives with this sheet (calculator pages load it after unlock): page colours crossfade in 200 ms instead of a
   hard cream-to-navy flash; the same on a toggle. Off under reduced motion (the rule at the end). */
html.qz-pro body, html.qz-pro .top, html.qz-pro .panel, html.qz-pro .cta, html.qz-pro .results div, html.qz-pro .pro-tools,
html.qz-pro .mq-card, html.qz-pro .qb-part, html.qz-pro .hub-note, html.qz-pro input, html.qz-pro select, html.qz-pro textarea {
  transition: background-color 200ms var(--pt-ease), color 200ms var(--pt-ease), border-color 200ms var(--pt-ease); }
html.qz-pro .price-line { display: none; }   /* "Free in your browser. Pro: $19 one-time." is for visitors, not buyers */
html.qz-pro .top { background: color-mix(in oklab, var(--bg) 80%, transparent); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); }

/* ---- depth: page < card < panel, each a step lighter, with a hairline and a soft shadow */
html.qz-pro .panel, html.qz-pro .cta { box-shadow: var(--pt-raise-1), var(--pt-hi); }
html.qz-pro .results div { box-shadow: var(--pt-hi); }
html.qz-pro .pro-tools {
  position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--pt-panel);
  padding: 18px 18px 18px 22px; box-shadow: var(--pt-raise-1), var(--pt-hi);
}
html.qz-pro .pro-tools::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--coral); }
html.qz-pro .pro-tools h3, html.qz-pro .pro-tools h2.mq-h { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 639px) { html.qz-pro .pro-tools { padding: 14px 12px 14px 16px; } }
html.qz-pro .mq-card, html.qz-pro .qb-part { background: var(--pt-panel); border-radius: 16px; box-shadow: var(--pt-raise-1), var(--pt-hi); }
html.qz-pro .hub-note { background: var(--pt-panel); }
html.qz-pro .new-tag, html.qz-pro .pt-chip { background: var(--pt-chip-bg); color: var(--pt-chip-fg); }
html.qz-pro .warn, html.qz-pro .field-err { color: var(--pt-warn); }
html.qz-pro .ok { color: var(--pt-ok); }
html.qz-pro input[aria-invalid=true] { border-color: var(--pt-warn); box-shadow: 0 0 0 1px var(--pt-warn); }
html.qz-pro ::placeholder { color: var(--muted); opacity: 1; }
html.qz-pro #pt-logo-prev { background: #fff; }

/* ---- buttons: navy words on coral in both themes; step up on hover (fine pointers), press down */
html.qz-pro .btn { color: var(--pt-on-coral); box-shadow: var(--pt-btn-shadow);
  transition: background-color var(--pt-in) var(--pt-ease), transform var(--pt-in) var(--pt-ease), box-shadow var(--pt-in) var(--pt-ease); }
html.qz-pro .btn:hover { background: color-mix(in oklab, var(--coral) 86%, var(--pt-navy)); }
@media (hover: hover) and (pointer: fine) { html.qz-pro .btn:hover { transform: translateY(-1px); } }
html.qz-pro .btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }

/* ---- focus: a 2px ring in the ink colour (navy / cream, >= 12:1) with a soft coral halo; fields get the halo only */
html.qz-pro :focus-visible { outline: 2px solid var(--pt-focus); outline-offset: 2px; }
html.qz-pro input:focus-visible, html.qz-pro select:focus-visible, html.qz-pro textarea:focus-visible {
  outline: 2px solid var(--pt-focus); outline-offset: 1px; border-color: var(--pt-focus); box-shadow: 0 0 0 5px var(--pt-halo); }
html.qz-pro .btn:focus-visible, html.qz-pro .pt-step:focus-visible, html.qz-pro .pt-jump a:focus-visible,
html.qz-pro .pt-mini a:focus-visible, html.qz-pro .pt-theme:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 7px var(--pt-halo); }
html.qz-pro input:focus-visible, html.qz-pro select:focus-visible, html.qz-pro textarea:focus-visible {
  transition: border-color var(--pt-in) var(--pt-ease), box-shadow var(--pt-in) var(--pt-ease), background-color 200ms var(--pt-ease), color 200ms var(--pt-ease); }

/* ---- checkboxes and file buttons drawn in the theme (native ones stay light in dark mode). The box keeps its 24px
   target (a 3px clear border); the visible square is 18px, coral with a navy tick when checked. */
html.qz-pro input[type=checkbox] { -webkit-appearance: none; appearance: none; display: inline-block; flex: none; vertical-align: middle; cursor: pointer;
  width: 24px; height: 24px; min-width: 24px; min-height: 24px; padding: 0; border: 3px solid transparent; border-radius: 8px;
  background: var(--field) no-repeat center / 12px 12px; background-clip: padding-box; box-shadow: inset 0 0 0 1.5px var(--field-line);
  transition: background-color var(--pt-in) var(--pt-ease), box-shadow var(--pt-in) var(--pt-ease); }
/* the tick: a navy path (data: image, allowed by img-src) on the coral square */
html.qz-pro input[type=checkbox]:checked { background-color: var(--coral); box-shadow: inset 0 0 0 1.5px var(--coral);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4l2.4 2.4 5.2-5.4' fill='none' stroke='%2314213D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html.qz-pro input[type=checkbox]:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
html.qz-pro input[type=checkbox]:checked:hover { box-shadow: inset 0 0 0 1.5px var(--coral); }
html.qz-pro input[type=checkbox]:focus-visible { outline: 2px solid var(--pt-focus); outline-offset: 0; border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--field-line), 0 0 0 5px var(--pt-halo); }
html.qz-pro input[type=checkbox]:disabled { opacity: .5; cursor: not-allowed; box-shadow: inset 0 0 0 1.5px var(--field-line); }
html.qz-pro input[type=checkbox]:checked:focus-visible { box-shadow: inset 0 0 0 1.5px var(--coral), 0 0 0 5px var(--pt-halo); }
/* the file field (logo, backup import): the whole "No file chosen" line shows; on phones it takes its own row under its label */
html.qz-pro input[type=file] { width: 100%; min-width: 0; max-width: 100%; font-size: 14px; }
html.qz-pro .form2 input[type=file] { padding: 4px 6px; }
html.qz-pro .pt-buttons input[type=file] { width: auto; flex: 1 1 240px; }
@media (max-width: 639px) { html.qz-pro .form2 input[type=file], html.qz-pro .form2 label[for=pt-logo] { grid-column: 1 / -1; } }
html.qz-pro input[type=file]::file-selector-button { font: inherit; font-size: 14px; font-weight: 500; min-height: 32px; margin-right: 8px; padding: 4px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--pt-tint-2); color: var(--ink); cursor: pointer;
  transition: background-color var(--pt-in) var(--pt-ease), border-color var(--pt-in) var(--pt-ease); }
html.qz-pro input[type=file]::file-selector-button:hover { border-color: var(--ink); }

/* ---- theme toggle (header): one icon, a filled moon while dark. Phones: on the logo row, the words below it. */
html.qz-pro .pt-theme {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; margin-left: auto; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color var(--pt-in) var(--pt-ease), border-color var(--pt-in) var(--pt-ease), transform 90ms var(--pt-ease);
}
html.qz-pro .pt-theme:hover { background: var(--pt-tint); border-color: var(--ink); }
html.qz-pro .pt-theme:active { transform: scale(.94); }
html.qz-pro .pt-theme[aria-pressed="true"] path { fill: currentColor; }
@media (max-width: 639px) { html.qz-pro .pt-theme { order: 1; } html.qz-pro .top nav { order: 2; } }

/* ---- welcome panel: a lifted card with a coral glow in its corner (a layer, not a background image) */
html.qz-pro .pt-welcome {
  position: relative; isolation: isolate; overflow: hidden; padding: 24px; border: 1px solid var(--line-strong); border-radius: 20px;
  background: var(--pt-welcome); color: var(--navy); box-shadow: var(--pt-raise-2), var(--pt-hi);
}
html.qz-pro .pt-welcome::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px 240px at 0 0, var(--pt-glow), transparent 70%); }
html.qz-pro .pt-welcome h2:focus-visible { outline-color: var(--pt-focus); }
@media (max-width: 639px) { html.qz-pro .pt-welcome { padding: 18px 16px; } }
html.qz-pro .pt-welcome-icon { color: var(--pt-on-coral); box-shadow: 0 0 0 6px rgba(255,107,91,.18); }
html.qz-pro .pt-step {
  border-radius: 12px; background: var(--pt-step); box-shadow: var(--pt-raise-1);
  transition: transform var(--pt-in) var(--pt-ease), box-shadow var(--pt-in) var(--pt-ease), border-color var(--pt-in) var(--pt-ease), background-color var(--pt-in) var(--pt-ease);
}
html.qz-pro .pt-step::after { transition: transform var(--pt-in) var(--pt-ease); }
html.qz-pro .pt-step:hover { background: var(--pt-step-hover); border-color: var(--navy); box-shadow: var(--pt-raise-2); }
@media (hover: hover) and (pointer: fine) {
  html.qz-pro .pt-step:hover { transform: translateY(-1px); }
  html.qz-pro .pt-step:hover::after { transform: translateX(3px) rotate(45deg); }
}
html.qz-pro .pt-step:active { transform: scale(.99); transition-duration: 90ms; }
html.qz-pro .pt-step-n { border-color: var(--navy); transition: background-color var(--pt-out) var(--pt-ease), border-color var(--pt-out) var(--pt-ease); }
html.qz-pro .pt-steps li.is-done .pt-step-n { color: var(--pt-on-coral); }
html.qz-pro .pt-step-n path { stroke-dasharray: 24; }

/* ---- the "Pro is active" block and its jump links */
html.qz-pro .pt-jump a { transition: background-color var(--pt-in) var(--pt-ease), border-color var(--pt-in) var(--pt-ease); background: var(--pt-panel); }
html.qz-pro .pt-jump a:hover { background: var(--pt-tint-2); text-decoration: none; }
/* ---- totals: the customer's total is the biggest number on the page. Proportional figures on purpose: Schibsted
   Grotesk's tabular set (tnum) draws a slab-footed 1 and monospace spacing that break the type family at this size. */
html.qz-pro .results #o-total { font-size: clamp(26px, 2vw + 18px, 40px); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
html.qz-pro .qb-total-line strong { font-size: 15px; font-weight: 500; color: var(--muted); }
html.qz-pro #qb-total { display: block; margin-top: 2px; font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
html.qz-pro .pt-remind { border-left: 0; border: 1px solid var(--line); }
/* hidden from sight, still read aloud (My Quotes count line while the empty box shows its words) */
html.qz-pro .pt-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---- Pro sections bar (pro-tools.js proSectionsBar): 1024 px and up, stays under the header */
html.qz-pro .pt-mini { display: none; }   /* phones and tablets: the jump links in the Pro box are enough */
@media (min-width: 1024px) {
  html.qz-pro .pt-mini {
    display: flex; align-items: center; gap: 12px; position: sticky; top: calc(var(--nav) + 9px); z-index: 40; margin: 0 0 24px;
    padding: 6px 8px 6px 8px; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 999px;
    background: color-mix(in oklab, var(--pt-panel) 86%, transparent); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
    box-shadow: var(--pt-raise-2);
  }
  html.qz-pro .pt-mini ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
  html.qz-pro .pt-mini a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; color: var(--ink);
    font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color var(--pt-in) var(--pt-ease); }
  html.qz-pro .pt-mini a:hover { background: var(--pt-tint); }
  html.qz-pro .pt-mini { transition: opacity var(--pt-out) var(--pt-ease), visibility 0s linear 0s; }
  html.qz-pro .pt-mini.is-away { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--pt-out) var(--pt-ease), visibility 0s linear var(--pt-out); }
  /* a field reached with Tab never hides under the header + this bar (WCAG 2.4.11) */
  html.qz-pro.pt-has-mini { scroll-padding-top: calc(var(--nav) + 9px + 64px); }
}

/* ---- empty states (My Quotes list, quote builder): one icon, one line */
html.qz-pro .pt-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 4px 0 12px; padding: 32px 20px;
  border: 1.5px dashed var(--line-strong); border-radius: 16px; text-align: center; }
html.qz-pro .pt-empty .pt-icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--pt-tint-2); color: var(--ink); }
html.qz-pro .pt-empty-line { margin: 0; max-width: 38ch; font-size: 16px; color: var(--ink); }
html.qz-pro #qb-empty { margin: 4px 0 12px; padding: 20px; border: 1.5px dashed var(--line-strong); border-radius: 14px; text-align: center; }

/* ---- "What's new" line at the top of My Quotes (pro-tools.js whatsNew): one quiet row on the page itself (a hairline,
   no card, no shadow), a coral dot, a link to /changelog/ and a close button (40px target). */
html.qz-pro .pt-new { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 6px 6px 16px; border: 1px solid var(--line);
  border-radius: 14px; background: transparent; box-shadow: none; }
html.qz-pro .pt-new-line { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; padding: 4px 0;
  font-size: 15px; line-height: 1.45; color: var(--ink); }
html.qz-pro .pt-new-k { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html.qz-pro .pt-new-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--pt-halo); }
html.qz-pro .pt-new-d { font-size: 14px; font-weight: 500; color: var(--muted); }
html.qz-pro .pt-new-a { font-weight: 600; white-space: nowrap; }
html.qz-pro .pt-new-x { flex: none; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: 40px; height: 40px;
  padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
  transition: background-color var(--pt-in) var(--pt-ease), color var(--pt-in) var(--pt-ease); }
html.qz-pro .pt-new-x:hover { background: var(--pt-tint-2); color: var(--ink); }
html.qz-pro .pt-new-x:focus-visible { outline-offset: 0; box-shadow: 0 0 0 5px var(--pt-halo); }
/* closing: its own short animation, so it replaces the arrival fade (whose "both" fill would otherwise hold the line
   visible over a transition); under reduced motion pro-tools.js removes the line at once */
html.qz-pro .pt-new.is-leaving { animation: pt-leave 180ms var(--pt-ease) forwards; }
@keyframes pt-leave { to { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 639px) { html.qz-pro .pt-new { padding-left: 14px; } }
@media print { html.qz-pro .pt-new { display: none !important; } }

/* ---- "your business" in the header (pro-tools.js headerIdentity, queue #49): the buyer's logo on a small white tile (a
   scrap of the white quote sheet, so any logo colour reads in light and dark) + their name, one calm chip beside the theme
   toggle. Screen only (the header is no-print). The tile is 32px high and follows the logo's shape, 32-64px wide
   (--pt-id-w, set from the image). Up to 767px (two-row header): on the logo row, the name cut with an ellipsis to the
   room left between the Qazzly logo and the toggle ("Northline Wash Co" fits whole at 390px); a logo wider than 1.6:1 is
   left out there (name only, class is-wide); under 360px a square-ish logo shows alone. The full name always stays in
   the link's accessible name and title. */
html.qz-pro .pt-id {
  display: inline-flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; min-height: 40px; margin-left: auto;
  padding: 3px 14px 3px 3px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); text-decoration: none;
  transition: background-color var(--pt-in) var(--pt-ease), border-color var(--pt-in) var(--pt-ease), transform 90ms var(--pt-ease);
}
html.qz-pro .pt-id:not(.has-logo) { padding-left: 14px; }
html.qz-pro .pt-id:hover { background: var(--pt-tint); border-color: var(--muted); }
html.qz-pro .pt-id:active { transform: scale(.985); }
html.qz-pro .pt-id:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 7px var(--pt-halo); }
html.qz-pro .pt-id + .pt-theme { margin-left: calc(var(--s-3) - var(--s-7)); }
html.qz-pro .pt-id-tile { display: block; flex: none; width: var(--pt-id-w, 32px); height: 32px; padding: 2px; border-radius: 9px; background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(20,33,61,.12); overflow: hidden; }
html.qz-pro .pt-id-tile[hidden] { display: none; }
html.qz-pro .pt-id-logo { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
html.qz-pro .pt-id-name { min-width: 0; max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; }
@media (max-width: 767px) {
  /* 640-767px with the chip: the phone's two-row header (static, so a taller bar never covers a focused field) */
  html.qz-pro .top:has(.pt-id) { position: static; }
  html.qz-pro .top .bar:has(> .pt-id) { column-gap: var(--s-2); }
  html.qz-pro .top .bar:has(> .pt-id) .pt-theme { order: 1; }
  html.qz-pro .top .bar:has(> .pt-id) nav { order: 2; }
  html.qz-pro .pt-id { order: 1; gap: var(--s-2); padding-right: 10px; }
  html.qz-pro .pt-id:not(.has-logo), html.qz-pro .pt-id.is-wide { padding-left: 12px; }
  html.qz-pro .pt-id.is-wide .pt-id-tile { display: none; }
  html.qz-pro .pt-id-tile { width: 32px; }
  html.qz-pro .pt-id + .pt-theme { margin-left: 0; }
  /* the logo row: gutters, Qazzly logo (102px), toggle (40px), two 8px gaps, then the chip's border, padding and tile
     (2 + 3 + 32 + 8 + 10 = 55px with a tile, 2 + 12 + 10 = 24px without) */
  html.qz-pro .pt-id-name { font-size: 14px; max-width: min(24ch, calc(100vw - 2 * var(--gut) - 213px)); }
  html.qz-pro .pt-id:not(.has-logo) .pt-id-name, html.qz-pro .pt-id.is-wide .pt-id-name { max-width: min(24ch, calc(100vw - 2 * var(--gut) - 182px)); }
}
@media (min-width: 640px) and (max-width: 767px) {
  html.qz-pro .top .bar:has(> .pt-id) nav { width: 100%; }
  html.qz-pro .top .bar:has(> .pt-id) nav a:first-child { margin-left: calc(-1 * var(--s-3)); }
}
/* calculator pages from 768px: one header row (their two nav words leave room); the name gives way first. :has()
   keeps the header of a page without the block exactly as before */
@media (min-width: 768px) and (max-width: 1023px) {
  html.qz-pro .top .bar:has(> .pt-id:not(.is-hub)) { column-gap: 20px; flex-wrap: nowrap; }
  html.qz-pro .top .bar:has(> .pt-id:not(.is-hub)) nav { flex: none; }
  html.qz-pro .pt-id:not(.is-hub) + .pt-theme { margin-left: -8px; }
  html.qz-pro .pt-id:not(.is-hub) .pt-id-name { max-width: 18ch; }
  /* hubs (three nav words): the two-row header up to 1023px, so the whole name fits on the logo row */
  html.qz-pro .top:has(.pt-id.is-hub) { position: static; }
  html.qz-pro .top .bar:has(> .pt-id.is-hub) { column-gap: var(--s-2); }
  html.qz-pro .top .bar:has(> .pt-id.is-hub) .pt-theme { order: 1; margin-left: 0; }
  html.qz-pro .top .bar:has(> .pt-id.is-hub) nav { order: 2; width: 100%; }
  html.qz-pro .top .bar:has(> .pt-id.is-hub) nav a:first-child { margin-left: calc(-1 * var(--s-3)); }
  html.qz-pro .pt-id.is-hub { order: 1; }
}
/* too little room for a readable name (pro-tools.js fitIdentity, under 56px): the logo tile alone; without a logo, nothing */
@media (max-width: 359px) {
  html.qz-pro .pt-id.has-logo:not(.is-wide) { padding-right: 3px; }
  html.qz-pro .pt-id.has-logo:not(.is-wide) .pt-id-name { display: none; }
}
html.qz-pro .pt-id.is-tight { padding-right: 3px; }
html.qz-pro .pt-id.is-tight .pt-id-name { display: none; }
html.qz-pro .pt-id.is-tight:not(.has-logo) { display: none; }
@media (max-width: 767px) { html.qz-pro .pt-id.is-tight.is-wide { display: none; } }

/* ---- motion (only when the visitor has not asked for less) */
@media (prefers-reduced-motion: no-preference) {
  html.qz-pro .pt-welcome { animation: pt-rise var(--pt-enter) var(--pt-ease) both; }
  html.qz-pro .pt-welcome .pt-steps li { animation: pt-rise 420ms var(--pt-ease) both; }
  html.qz-pro .pt-welcome .pt-steps li:nth-child(1) { animation-delay: 100ms; }
  html.qz-pro .pt-welcome .pt-steps li:nth-child(2) { animation-delay: 160ms; }
  html.qz-pro .pt-welcome .pt-steps li:nth-child(3) { animation-delay: 220ms; }
  /* panels fade up only on a fresh unlock or the first Pro page of a visit (pro-tools.js proLook sets html.pt-enter) */
  html.qz-pro.pt-enter .pro-tools, html.qz-pro.pt-enter .pt-jump, html.qz-pro.pt-enter .pt-empty { animation: pt-fade 380ms var(--pt-ease) both; }
  html.qz-pro.pt-enter .pt-mini { animation: pt-fade 380ms 120ms var(--pt-ease) both; }
  html.qz-pro.pt-enter .pt-id { animation: pt-fade 380ms 60ms var(--pt-ease) both; }
  /* a step that gets done: the coral disc fills, the check pops with a small spring (about 5% overshoot) and draws itself */
  html.qz-pro .pt-steps.is-live li.is-done .pt-step-n svg { animation: pt-pop 440ms var(--pt-spring) both; }
  html.qz-pro .pt-steps.is-live li.is-done .pt-step-n path { animation: pt-draw 340ms 120ms var(--pt-ease) both; }
  /* a total that changed: a short lift into place (pro-tools.js tickOnChange) */
  html.qz-pro .pt-tick { animation: pt-tick 260ms var(--pt-ease); }
  html.qz-pro :focus-visible { animation: pt-ring 200ms var(--pt-ease); }
  /* the What's new line arrives with a short fade, its dot breathes once */
  html.qz-pro .pt-new { animation: pt-fade 380ms 160ms var(--pt-ease) both; }
  html.qz-pro .pt-new-k::before { animation: pt-breathe 1400ms 500ms var(--pt-ease) 1; }
}
@keyframes pt-breathe { 50% { box-shadow: 0 0 0 5px var(--pt-halo); } }
@keyframes pt-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes pt-fade { from { opacity: 0; transform: translateY(6px); } }
@keyframes pt-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes pt-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes pt-tick { from { opacity: .35; transform: translateY(.18em); } }
@keyframes pt-ring { from { outline-offset: 6px; } }
@media (prefers-reduced-motion: reduce) {
  html.qz-pro *, html.qz-pro *::before, html.qz-pro *::after { animation: none !important; transition: none !important; }
}
}
