/* QR Hub — self-contained styles (no site dependencies; the module ships alone). */
:root{--bg:#FBF7F0;--paper:#fff;--ink:#2B2622;--soft:#6E655C;--line:#EAE1D4;
  --teal:#2F7E77;--teal-d:#245F5A;--gold:#D8A54A;--radius:14px}
*{box-sizing:border-box;margin:0;padding:0}
body{font:16px/1.6 'Nunito Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.15}
em{font-style:italic;color:var(--teal-d)}
main{max-width:1060px;margin:0 auto;padding:0 22px}
.qh-top{display:flex;align-items:center;gap:14px;padding:14px 22px;max-width:1060px;margin:0 auto;flex-wrap:wrap}
.qh-back{color:var(--teal-d);font-weight:700;text-decoration:none;font-size:.9rem}
.qh-brand{font-family:Georgia,serif;font-size:1.2rem;font-weight:600;flex:1}
.qh-signin{color:var(--teal-d);font-weight:700;text-decoration:none}
.qh-hero{padding:34px 0 10px;max-width:44rem}
.qh-hero h1{font-size:clamp(1.9rem,5vw,3rem);letter-spacing:-.02em;margin-bottom:14px}
.qh-lede{font-size:clamp(1rem,2vw,1.15rem);color:#4b443c;margin-bottom:26px}
.qh-try{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;box-shadow:0 10px 30px rgba(43,38,34,.06)}
.qh-try label{display:block;font-weight:700;font-size:.85rem;margin-bottom:8px;color:var(--soft)}
.qh-row{display:flex;gap:10px;flex-wrap:wrap}
.qh-row input{flex:1 1 260px;min-width:200px;font:inherit;padding:12px 14px;border:1px solid var(--line);
  border-radius:10px;background:#fff;color:var(--ink)}
.qh-row input:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal)}
.qh-btn{background:var(--teal);color:#fff;border:0;border-radius:24px;padding:12px 20px;
  font:inherit;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block;text-align:center}
.qh-btn:hover{background:var(--teal-d)}
.qh-btn.ghost{background:transparent;color:var(--teal-d);border:1px solid var(--line)}
.qh-msg{color:var(--soft);font-size:.9rem;margin-top:10px;min-height:1.2em}
.qh-out{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:18px;
  border-top:1px solid var(--line);padding-top:18px}
.qh-qr{width:200px;height:200px;flex:0 0 auto}
.qh-qr svg{width:100%;height:100%;display:block;border-radius:8px}
.qh-out-side{flex:1 1 220px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.qh-out-side p{color:var(--soft);font-size:.92rem}
.qh-why{padding:48px 0 8px}
.qh-why h2{font-size:1.6rem;margin-bottom:18px}
.qh-grid3{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.qh-grid3 div{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.qh-grid3 h3{font-size:1.05rem;margin-bottom:8px}
.qh-grid3 p{color:var(--soft);font-size:.94rem}
.qh-plans{padding:48px 0 20px}
.qh-plans h2{font-size:1.6rem;margin-bottom:20px}
.qh-tiers{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:start}
.qh-tier{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px;
  position:relative;display:flex;flex-direction:column;gap:12px;height:100%}
/* The middle paid tier is the one to land on — lifted, outlined, and labelled. */
.qh-tier.popular{border:2px solid var(--teal);box-shadow:0 14px 36px rgba(47,126,119,.16)}
@media(min-width:900px){.qh-tier.popular{transform:translateY(-10px)}}
.qh-tag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:var(--teal);color:#fff;
  font-size:.7rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:4px 12px;border-radius:20px;
  white-space:nowrap}
.qh-tier h3{font-size:1.15rem}
.qh-price{font-family:Georgia,serif;font-size:1.9rem;line-height:1}
.qh-price small{font-family:'Nunito Sans',sans-serif;font-size:.8rem;color:var(--soft);font-weight:600}
.qh-blurb{color:var(--soft);font-size:.9rem}
.qh-feats{list-style:none;display:flex;flex-direction:column;gap:7px;font-size:.92rem;flex:1}
.qh-feats li{padding-left:22px;position:relative}
.qh-feats li:before{content:'✓';position:absolute;left:0;color:var(--teal);font-weight:800}
.qh-fine{color:var(--soft);font-size:.86rem;margin-top:18px;max-width:46rem}
.qh-foot{border-top:1px solid var(--line);margin-top:40px;padding:22px;text-align:center;
  color:var(--soft);font-size:.86rem}
@media (prefers-reduced-motion: reduce){.qh-tier.popular{transform:none}}

/* --- signup gate + my codes (T-112) ------------------------------------- */
.qh-signup{padding:48px 0 8px}
.qh-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;max-width:32rem;box-shadow:0 10px 30px rgba(43,38,34,.06)}
.qh-card h2{font-size:1.4rem;margin-bottom:8px}
.qh-acct-lede{color:var(--soft);font-size:.94rem;margin-bottom:16px}
.qh-card label{display:block;font-weight:700;font-size:.85rem;margin:14px 0 6px;color:var(--soft)}
.qh-card label small{font-weight:600;text-transform:none;color:var(--soft)}  /* opacity:.8 took the gray to 3.68:1 (T-218) */
.qh-card input{width:100%;font:inherit;padding:12px 14px;border:1px solid var(--line);
  border-radius:10px;background:#fff;color:var(--ink)}
.qh-card input:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal)}
.qh-card .qh-btn{margin-top:16px}
.qh-gbtn{display:flex;justify-content:center;min-height:0}
/* An element with [hidden] must actually be hidden. A later `display:flex` silently
   beats the attribute's default `display:none`, which is how the "or use your email"
   divider showed up with no Google button above it. */
[hidden]{display:none !important}
.qh-or{display:flex;align-items:center;gap:10px;color:var(--soft);font-size:.82rem;margin-top:16px}
.qh-or:before,.qh-or:after{content:'';flex:1;height:1px;background:var(--line)}
.qh-msg.good{color:var(--teal-d)}
.qh-link{background:none;border:0;padding:0;font:inherit;font-size:.88rem;color:var(--teal-d);
  font-weight:700;cursor:pointer;text-decoration:underline}

.qh-mine{padding:40px 0 8px}
.qh-mine h2{font-size:1.6rem;margin-bottom:16px}
.qh-mine h2 small{font-family:'Nunito Sans',sans-serif;font-size:.85rem;color:var(--soft);font-weight:600}
.qh-new{max-width:32rem;margin-bottom:20px}
.qh-code{display:flex;gap:16px;align-items:flex-start;background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius);padding:16px;margin-bottom:12px;flex-wrap:wrap}
.qh-code img{width:96px;height:96px;flex:0 0 auto;border-radius:8px;background:#fff}
.qh-code-b{flex:1 1 220px;min-width:0}
.qh-code-b h3{font-size:1.05rem;margin-bottom:4px}
.qh-code-url{color:var(--soft);font-size:.9rem;overflow-wrap:anywhere;margin-bottom:4px}
.qh-code-meta{color:var(--soft);font-size:.85rem;margin-bottom:8px}
.qh-code-meta code{background:var(--bg);padding:1px 6px;border-radius:5px;font-size:.85em}

/* --- appearance panel (T-113) -------------------------------------------- */
.qh-style{flex:1 1 100%;border-top:1px solid var(--line);margin-top:14px;padding-top:14px}
.qh-sty-grid{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:10px}
.qh-sty-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:.8rem;color:var(--soft);
  align-items:flex-start}
/* The label text and its tier badge are ONE row. Without this the badge is a flex item
   of the column and stretches into a full-width gold bar that reads as a button. */
.qh-sty-lbl{display:flex;align-items:center;white-space:nowrap}
.qh-sty-grid input[type=color]{width:64px;height:34px;padding:2px;border:1px solid var(--line);
  border-radius:8px;background:#fff;cursor:pointer}
.qh-sty-grid input[type=color]:disabled{cursor:not-allowed;opacity:.45}
.qh-sty-check{flex-direction:row!important;align-items:center;gap:8px!important;align-self:flex-end;
  padding-bottom:8px;font-weight:600}
.qh-sty-check input{cursor:pointer}
/* A locked control is shown and disabled with its tier named — never hidden. */
.qh-lock{display:inline-block;background:var(--gold);color:#3a2b08;font-size:.62rem;font-weight:800;
  letter-spacing:.06em;text-transform:uppercase;padding:2px 7px;border-radius:10px;margin-left:6px;
  vertical-align:middle;text-decoration:none;cursor:pointer}
/* It is a link now, so it has to look like one when reached by mouse OR keyboard — a gold
   pill that does something must not be indistinguishable from one that does not. */
.qh-lock:hover,.qh-lock:focus-visible{filter:brightness(1.06);box-shadow:0 0 0 2px var(--gold)}
/* The card you were just sent to. A brief flash, not a permanent state: it answers "which
   one?" and then gets out of the way. */
.qh-tier-hi{outline:2px solid var(--gold);outline-offset:3px;animation:qh-hi 2.6s ease-out}
@keyframes qh-hi{0%{outline-color:var(--gold)}70%{outline-color:var(--gold)}100%{outline-color:transparent}}
@media (prefers-reduced-motion:reduce){.qh-tier-hi{animation:none}}
.qh-sty-note{color:var(--soft);font-size:.82rem;margin:-4px 0 10px}
.qh-sty-logo{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.qh-sty-logo label{font-weight:700;font-size:.8rem;color:var(--soft)}
.qh-sty-logo input[type=file]{font:inherit;font-size:.85rem;max-width:100%}
.qh-sty-foot{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:6px}
.qh-sty-prev{width:120px;height:120px;flex:0 0 auto}
.qh-sty-prev svg{width:100%;height:100%;display:block;border-radius:8px;border:1px solid var(--line)}
.qh-msg.bad{color:#9B2C2C}

/* --- tease, management, warning dialog (T-114) ---------------------------- */
.qh-tease{display:flex;gap:26px;align-items:center;flex-wrap:wrap;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--radius);padding:22px;
  box-shadow:0 10px 30px rgba(43,38,34,.06)}
.qh-samples{display:flex;gap:14px;flex:1 1 400px;flex-wrap:wrap}
.qh-sample{flex:1 1 104px;max-width:136px;text-align:center;margin:0}
.qh-sample svg{width:100%;height:auto;display:block;border:1px solid var(--line);border-radius:10px}
.qh-sample figcaption{font-size:.76rem;color:var(--soft);font-weight:700;margin-top:6px}
.qh-tease-side{flex:1 1 240px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.qh-tease-side p{color:var(--soft);font-size:.95rem}

.qh-tools{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;
  flex-wrap:wrap;margin-bottom:10px}
.qh-folders{display:flex;gap:8px;flex-wrap:wrap;align-items:center;flex:1 1 320px}
.qh-tools-r{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.qh-tools-r input{font:inherit;padding:9px 12px;border:1px solid var(--line);border-radius:10px;
  background:#fff;color:var(--ink);min-width:180px}
.qh-tools-r input:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal)}
.qh-tools-r .qh-btn{padding:9px 14px;font-size:.9rem}
.qh-chip{font:inherit;font-size:.88rem;font-weight:700;background:var(--paper);color:var(--ink);
  border:1px solid var(--line);border-radius:20px;padding:7px 14px;cursor:pointer}
.qh-chip:hover{border-color:var(--teal)}
.qh-chip.on{background:var(--teal);color:#fff;border-color:var(--teal)}
.qh-chip span{opacity:.65;font-weight:600;margin-left:3px}
.qh-chip-x{font:inherit;background:none;border:0;color:var(--soft);cursor:pointer;padding:4px 2px;
  font-size:.95rem;line-height:1}
.qh-chip-x:hover{color:var(--teal-d)}
.qh-fsel{font:inherit;font-size:.85rem;padding:5px 8px;border:1px solid var(--line);
  border-radius:8px;background:#fff;color:var(--ink);max-width:11rem;vertical-align:middle}
.qh-upsell{background:#FDF6E7;border:1px solid #EBD9AE;border-radius:10px;padding:10px 14px;
  font-size:.9rem;color:#5C4A22;margin-bottom:14px}
.qh-upsell a{color:var(--teal-d);font-weight:700;white-space:nowrap}
.qh-msg.warn{color:#8A5A00}

/* margin:auto is what centres a native <dialog>; this file's own `*{margin:0}` reset
   strips it, which pinned the warning to the top-left corner. */
.qh-dialog{border:0;border-radius:var(--radius);padding:24px;max-width:29rem;width:calc(100% - 32px);
  margin:auto;background:var(--paper);color:var(--ink);box-shadow:0 24px 60px rgba(43,38,34,.28)}
.qh-dialog::backdrop{background:rgba(43,38,34,.45)}
.qh-dialog h3{font-size:1.2rem;margin-bottom:10px}
.qh-dialog p{color:var(--soft);font-size:.95rem;margin-bottom:18px}
.qh-dialog-foot{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}

/* --- pricing + billing (T-115) ------------------------------------------- */
.qh-price-yr{display:block;font-size:.8rem;color:var(--soft);font-weight:600;margin-top:2px}
.qh-soon{font-size:.85rem;color:var(--soft);font-style:italic}
.qh-tier .qh-link{margin-top:8px;display:block;text-align:center}

/* The return path out of the attractor and back into the site (T-129). Quiet on purpose:
   it is an offer, not a call to action. */
.qh-foot-links{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:6px}
.qh-foot-links a{color:var(--soft);text-decoration:underline;text-underline-offset:3px}
.qh-foot-links a:hover{color:var(--ink)}

/* The honeypot: gone for sighted users AND for screen readers, but still a real focusable
   field for a script that walks the DOM. display:none would be skipped by some bots. */
.qh-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.qh-check{display:flex;align-items:flex-start;gap:8px;font-size:.86rem;color:var(--soft);
  margin:10px 0 4px;font-weight:400;cursor:pointer}
.qh-check input{margin-top:3px;flex:0 0 auto}
#qh-edit input[type=url]{width:100%}

/* Portal mode: signed in, the account card is a small header rather than the sign-up pitch
   it is for a stranger. */
.qh-portal .qh-signup{padding-top:18px}
.qh-portal .qh-signup .qh-card{max-width:none}
.qh-portal #qh-acct-h{font-size:1.05rem}
.qh-portal #qh-acct-lede{display:none}

/* Team seats (T-151) */
.qh-seats-h{font-size:.95rem;margin:18px 0 4px}
.qh-seat-list{list-style:none;margin:8px 0;padding:0}
.qh-seat-list li{display:flex;align-items:center;gap:8px;padding:6px 0;
  border-top:1px solid var(--line);font-size:.92rem}
.qh-seat-list li:first-child{border-top:0}
.qh-seat-list .qh-seat-you{font-weight:700}
.qh-seat-list .qh-seat-pending{font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;
  color:#8a6f2e;font-weight:700}
.qh-seat-list button{margin-left:auto}
.qh-seat-add{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}
.qh-seat-add input{flex:1;min-width:180px}

/* Bulk-create (T-155) */
#qh-bulk{margin-top:14px;border-top:1px solid var(--line);padding-top:14px}
#qh-bulk-text{width:100%;font:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.86rem;padding:11px 13px;border:1px solid var(--line);border-radius:10px;
  background:#fff;color:var(--ink);resize:vertical}
.qh-bulk-act{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.qh-bulk-problems{list-style:none;margin:10px 0 0;padding:0}
/* Line number first and monospaced, so it lines up with the spreadsheet it came from. */
.qh-bulk-problems li{font-size:.88rem;padding:5px 0;border-top:1px solid var(--line);color:#8a3a3a}
.qh-bulk-problems li b{font-family:ui-monospace,monospace;color:var(--soft);margin-right:8px}
