/* Shared tool-page chrome: the sign-in modal siteAuth.js injects, plus the
   form, tab, message and consent-checkbox styles every marketing tool uses.
   Lifted verbatim from /qr so a tool built on siteAuth.js looks identical to
   the one that grew these first. Depends on the variables in brand.css. */
.display { font-family: 'Cinzel', Georgia, serif; }
.brand .display { font-family: 'Cinzel', Georgia, serif; font-size: 18px; font-weight: 600; letter-spacing: .22em; display: block; line-height: 1.1; }
.field { margin-bottom: 20px; }
.input {
      width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
      background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
    }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(170,120,24,.16); }
.btn-sm { font-size: .85rem; padding: 8px 14px; }
.btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 6px;
      font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: .03em; font-size: .95rem;
      color: #fff; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border: none;
      border-radius: 12px; padding: 12px 10px; cursor: pointer; transition: filter .15s, transform .05s, box-shadow .15s;
      box-shadow: 0 8px 20px -12px rgba(138,96,16,.9);
    }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--gold-deep); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--gold-pale); border-color: var(--gold); filter: none; }
.card-head { text-align: center; margin-bottom: 20px; }
.card-head h2 { font-family: 'Cinzel', serif; font-size: 1.32rem; font-weight: 600; margin-bottom: 4px; }
.card-head p { color: var(--ink-mute); font-size: .95rem; }
.tabs { display: flex; gap: 6px; background: #F2E9D6; border-radius: 12px; padding: 5px; margin-bottom: 22px; }
.tab { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-weight: 600; color: var(--ink-mute); cursor: pointer; border: none; background: transparent; font-family: inherit; font-size: .98rem; transition: all .15s; }
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(90,60,15,.12); }
.ankh-check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; user-select: none; margin-bottom: 14px; }
.ankh-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.ankh-box { flex: 0 0 auto; width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 7px; background: #fff; display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s; margin-top: 1px; }
.ankh-box svg { width: 15px; height: 19px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.ankh-check input:checked + .ankh-box { border-color: var(--gold); background: var(--gold-pale); }
.ankh-check input:checked + .ankh-box svg { opacity: 1; transform: scale(1); }
.ankh-check input:focus-visible + .ankh-box { box-shadow: 0 0 0 3px rgba(170,120,24,.28); }
.ankh-check .ck-text { font-size: .96rem; color: var(--ink-soft); line-height: 1.45; }
.ankh-check .ck-text a { color: var(--gold-deep); font-weight: 600; }
.ck-req { color: var(--red); }
.msg { font-size: .95rem; padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; display: none; }
.msg.err { display: block; background: #FBEAE7; color: #8A2E24; border: 1px solid #E8C4BD; }
.msg.ok { display: block; background: var(--gold-pale); color: var(--gold-deep); border: 1px solid #E9D08A; }
.muted { color: var(--ink-mute); font-size: .92rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.link-btn { background: none; border: none; color: var(--gold-deep); font-family: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: underline; padding: 0; }
.fineprint { margin-top: 14px; text-align: center; color: var(--ink-mute); font-size: .86rem; line-height: 1.5; }
.code-row { display: flex; gap: 8px; justify-content: center; margin: 8px 0 4px; }
.code-cell { flex: 1 1 0; min-width: 0; max-width: 52px; height: 56px; text-align: center; font-size: 1.5rem; font-weight: 700; font-family: inherit; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.code-cell:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(170,120,24,.16); }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: sp .7s linear infinite; }
.signed-bar .hi { font-weight: 700; }
.cta-band .btn { width: auto; display: inline-flex; padding-left: 28px; padding-right: 28px; text-decoration: none; }
.acct-bar { text-align: center; font-size: .92rem; color: var(--ink-mute); margin: 16px 0 2px; }
.acct-bar .hi { font-weight: 700; color: var(--ink-soft); }
.qr-lock .btn { width: auto; padding: 9px 18px; font-size: .9rem; margin-top: 2px; }
.qr-dates .lbl { font-size: .78rem; margin-bottom: 3px; }
.qr-dates .btn { width: auto; padding: 9px 16px; font-size: .85rem; }
.qr-pick .lbl { font-size: .8rem; margin-bottom: 4px; }
.modal-overlay {
      position: fixed; inset: 0; background: rgba(26, 14, 6, .55);
      display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 60;
    }
.modal-card {
      background: var(--card); border: 1px solid var(--card-edge); border-radius: 20px;
      padding: 26px; width: 100%; max-width: 420px; position: relative;
      max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 60px -20px rgba(90, 60, 15, .5);
    }
