/* Goose to Gander Notary and Services: shared styles. No inline styles anywhere (strict CSP). */
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #eef1f5;
  --card: #ffffff;
  --ink: #1b2559;
  --deep: #121a44;
  --text: #232a3d;
  --muted: #55607a;
  --line: #d3d9e4;
  --gold: #c49a2c;
  --gold-text: #7b5a0e;
  --pass: #1e7b52;
  --error: #a3262a;
  --radius: 10px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.65 var(--sans); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }

/* Header */
.site-header { background: var(--deep); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--gold); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font: 700 1.1rem var(--serif); }
.brand:hover { color: #fff; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.nav a { color: #dfe4f3; text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav a:hover { color: #fff; text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 2px solid transparent; border-radius: 8px; padding: .75rem 1.3rem; font: 600 1rem var(--sans); cursor: pointer; text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #141a3a; }
.btn-gold:hover { background: #d6aa3a; color: #141a3a; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--deep); color: #fff; }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-danger { background: transparent; border-color: var(--error); color: var(--error); }
.btn-danger:hover { background: var(--error); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: .4rem .8rem; font-size: .875rem; }

/* Disclaimer (ORS 194.350(4)(b)(A)) */
.disclaimer { border-left: 5px solid var(--gold); background: #fff8e6; color: #3b2d07; padding: .9rem 1.1rem; font-weight: 600; border-radius: 0 var(--radius) var(--radius) 0; }
.disclaimer-bar { background: #fff8e6; border-bottom: 1px solid #e9d9a6; color: #3b2d07; font-size: .92rem; font-weight: 600; text-align: center; padding: .55rem 1rem; }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0; background: linear-gradient(180deg, #e4e9f2 0%, var(--paper) 100%); }
.hero .wrap { display: grid; gap: 3rem; grid-template-columns: 1.05fr .95fr; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.hero-points li::before { content: "\2713\00a0"; color: var(--pass); font-weight: 700; }

/* Sample certificate */
.cert { position: relative; background: #fffdf8; border: 1px solid #d9d2bd; border-radius: 6px; padding: 1.6rem 1.7rem 2.2rem; box-shadow: 0 1px 0 #fff inset, 0 18px 40px -18px rgba(18, 26, 68, .35); transform: rotate(1.2deg); }
.cert::before { content: ""; position: absolute; inset: 7px; border: 1px solid #e2dbc4; pointer-events: none; }
.cert-title { font: 700 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); text-align: center; margin-bottom: 1rem; }
.cert p { font: 400 .86rem/1.75 var(--serif); color: #2c2f3e; margin: 0 0 .7rem; }
.cert .line { display: inline-block; min-width: 7em; border-bottom: 1px solid #8b8fa3; }
.cert-sig { display: flex; justify-content: space-between; align-items: end; margin-top: 1.1rem; gap: 1rem; }
.cert-sig .sig { font: italic 1.4rem var(--serif); color: var(--ink); border-bottom: 1px solid #8b8fa3; padding: 0 .6rem .1rem 0; min-width: 9em; }
.cert-sample { position: absolute; top: .8rem; right: 1rem; font: 700 .65rem var(--sans); letter-spacing: .14em; color: #98a0b8; text-transform: uppercase; }
.seal { position: absolute; right: 1.4rem; bottom: -1.6rem; width: 104px; height: 104px; }
.seal .ring-outer { fill: var(--gold); }
.seal .ring-text { fill: #3b2d07; font: 700 8px var(--sans); letter-spacing: 0; }
.seal .core { fill: #f4e3ad; stroke: #8f6c13; stroke-width: 1; }
.seal-stamp { transform-origin: 50% 50%; animation: stamp .7s cubic-bezier(.2, 1.4, .4, 1) .5s both; }
@keyframes stamp { 0% { transform: scale(1.9) rotate(-18deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .seal-stamp { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* Sections */
section.block { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section.block.alt { background: var(--card); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.2rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-bottom: .4rem; }
.card .price { font: 700 1.5rem var(--serif); color: var(--ink); margin: .3rem 0 .6rem; }
.card ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.3rem; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .95rem var(--serif); margin-bottom: .7rem; }
.steps h3 { font-size: 1rem; margin-bottom: .3rem; }
.steps p { font-size: .92rem; color: var(--muted); margin: 0; }
table.data { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: #e8ecf4; color: var(--ink); font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--ink); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem; font-size: .95rem; margin-top: 1.2rem; }
pre.code { background: var(--deep); color: #e8ecff; padding: 1.1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font: 400 .85rem/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; margin: 0; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .9em; background: #e8ecf4; padding: .1em .35em; border-radius: 4px; }
pre.code code { background: none; padding: 0; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 10px 30px -22px rgba(18, 26, 68, .5); }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
legend { font: 700 1.05rem var(--serif); color: var(--ink); padding: 0; margin-bottom: .7rem; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.field { margin-bottom: 1rem; }
.field .hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: .2rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #aeb7ca; border-radius: 8px; background: #fff; color: var(--text); }
textarea { min-height: 5.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid rgba(196, 154, 44, .45); }
.row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.radio-cards { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.radio-cards label { position: relative; margin: 0; font-weight: 400; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; inset: 0; }
.radio-cards span.box { display: block; border: 2px solid var(--line); border-radius: 8px; padding: .8rem .9rem; background: #fff; height: 100%; }
.radio-cards strong { display: block; color: var(--ink); font-weight: 600; }
.radio-cards small { color: var(--muted); }
.radio-cards input:checked + span.box { border-color: var(--ink); background: #f1f4fb; box-shadow: 0 0 0 1px var(--ink) inset; }
.radio-cards input:focus-visible + span.box { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Day and time picker */
.days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity; }
.day { flex: 0 0 auto; scroll-snap-align: start; border: 2px solid var(--line); background: #fff; border-radius: 8px; padding: .5rem .8rem; text-align: center; cursor: pointer; font: inherit; min-width: 4.6rem; }
.day small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.day b { font: 700 1.2rem var(--serif); color: var(--ink); }
.day[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] b { color: #fff; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr)); gap: .5rem; margin-top: .8rem; }
.time { border: 2px solid var(--line); background: #fff; border-radius: 8px; padding: .5rem; font: 600 .95rem var(--sans); cursor: pointer; }
.time:hover { border-color: var(--ink); }
.time[aria-pressed="true"] { border-color: var(--pass); background: #e7f4ed; color: #115037; }

.alert { padding: .8rem 1rem; border-radius: 8px; font-size: .95rem; margin: 1rem 0; }
.alert.error { background: #fbeaea; border: 1px solid #e3b2b4; color: #6f1a1d; }
.alert.ok { background: #e7f4ed; border: 1px solid #a9d6bf; color: #134d34; }
.alert.info { background: #eaf0fb; border: 1px solid #b7c6e6; color: #1b2f66; }

/* Portal */
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #e8ecf4; color: var(--ink); }
.badge.pending { background: #fff1c9; color: #6a4b05; }
.badge.confirmed, .badge.completed, .badge.mailed { background: #dff1e7; color: #115037; }
.badge.cancelled, .badge.no_show { background: #f3dcdd; color: #751c20; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.stack > * + * { margin-top: 1.2rem; }
.drop { border: 2px dashed #aeb7ca; border-radius: var(--radius); padding: 1.4rem; text-align: center; background: #f7f9fc; }
.drop.over { border-color: var(--ink); background: #eef2fb; }

/* Footer */
.site-footer { background: var(--deep); color: #c6cde6; padding: 2.5rem 0 3rem; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer .disclaimer { background: #2a2f58; color: #fff3cf; border-color: var(--gold); margin-bottom: 1.4rem; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* Admin */
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 1.2rem; align-items: start; }
.tabs { display: flex; gap: .4rem; border-bottom: 2px solid var(--line); margin-bottom: 1.2rem; flex-wrap: wrap; }
.tab { background: none; border: 0; padding: .6rem 1rem; font: 600 .95rem var(--sans); cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--gold); }
.appt-row { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .7rem .85rem; margin-bottom: .5rem; cursor: pointer; font: inherit; }
.appt-row[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.kv { display: grid; grid-template-columns: 11rem 1fr; gap: .3rem 1rem; font-size: .95rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.inline-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cert { transform: none; max-width: 520px; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .nav .hide-sm { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Grid children may shrink below their content width (keeps code blocks from widening the page) */
.grid > *, .hero .wrap > *, .admin-grid > * { min-width: 0; }
pre.code { max-width: 100%; }

.inline-actions input[type="text"], .inline-actions input[type="date"], .inline-actions select { width: auto; flex: 1 1 9rem; }
.stack > h3, .card > h3 { margin-top: 1.4rem; }

/* Brand artwork */
.brand img { flex: none; }
.foot-brand { display: flex; gap: 1rem; align-items: flex-start; }
.foot-brand img { flex: none; opacity: .95; }
.site-footer { padding-bottom: 0; }
.foot-seal { display: block; width: 300px; max-width: 70%; height: auto; margin: 2rem auto 0; background: #fff; border-radius: 150px 150px 0 0; padding: 6px 6px 0; }
.goose-sm { float: right; width: 96px; height: auto; margin: -.5rem 0 .5rem 1rem; }
.notfound { text-align: center; padding: 3rem 0; }
.notfound .goose-lg { width: min(320px, 70%); height: auto; margin: 0 auto 1rem; }

.tagline { font: italic 700 1.15rem var(--serif); color: var(--gold-text); margin: -.25rem 0 1rem; }

/* Travel fee zone map and the notarial-act list on the fees section */
.zone-map { margin: 1.5rem 0; }
.zone-map img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); background: #f7f3e6; }
.zone-map figcaption { margin-top: .5rem; }
ol.alpha { list-style: lower-alpha; padding-left: 1.4rem; margin: 0 0 1rem; }

/* Business info request (native <details>, no script needed to open it) */
#partner-box > summary { display: inline-block; list-style: none; cursor: pointer; }
#partner-box > summary::-webkit-details-marker { display: none; }
#partner-box[open] > summary { margin-bottom: 1.2rem; }


/* Legal links strip (shown under the header on every public page), footer links, Terms and fee pages */
.legal-strip { background: #e8ecf4; border-bottom: 1px solid var(--line); font-size: .85rem; }
.legal-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.6rem; padding: .5rem 0; }
.legal-strip a { color: var(--ink); font-weight: 600; text-decoration: none; }
.legal-strip a:hover { color: var(--gold-text); text-decoration: underline; }
.foot-links { margin: 0; }
.foot-links a { display: inline-block; margin: 0 1.3rem .3rem 0; }
.toc-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem .6rem; }
.toc { columns: 2 17rem; column-gap: 2rem; margin: 0 0 .6rem; padding-left: 1.3rem; }
.toc li { break-inside: avoid; margin-bottom: .3rem; }
.legal h2 { margin-top: 2.2rem; scroll-margin-top: 5rem; }
.legal p, .legal li { max-width: 70ch; }
.legal ul { margin: 0 0 1em; padding-left: 1.3rem; }
.fees-page, .legal-page { padding-block: 2.5rem 3rem; }

/* Admin: list of state form links */
.state-links { list-style: none; margin: 0 0 1rem; padding: 0; }
.state-links li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.state-links li:last-child { border-bottom: 0; }

/* On-page card payment (Stripe Payment Element) */
.pay-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: #fbfcfe; }
.pay-form h3 { margin-bottom: .2em; }
.payment-element { min-height: 120px; }

/* Admin: BlueNotary checklist */
.bn-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: #fbfcfe; }
.bn-steps { margin: 0; padding-left: 1.3rem; }
.bn-steps > li { margin-bottom: .8rem; }
.bn-steps .kv { margin: .4rem 0 0; }
.bn-link { min-width: min(100%, 26rem); flex: 1; }
#pay-card.paying #pay-list .btn { display: none; }

/* Tracking timeline (print and mail, courier): a vertical list of steps */
.track-item { display: block !important; }
.track-head { margin-bottom: .5rem; }
.timeline { list-style: none; margin: .2rem 0 .4rem; padding: 0; }
.timeline > li { position: relative; display: flex; align-items: flex-start; gap: .6rem; padding-bottom: .7rem; }
.timeline > li::before { content: ""; position: absolute; left: calc(.55rem - 1px); top: 1.1rem; bottom: 0; width: 2px; background: var(--line); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::before { display: none; }
.timeline > li.done::before, .timeline > li.skipped::before { background: var(--pass); }
.tl-dot { position: relative; z-index: 1; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--line); background: var(--card); margin-top: .1rem; }
.timeline .done .tl-dot { background: var(--pass); border-color: var(--pass); }
.timeline .skipped .tl-dot { border-color: var(--pass); }
.timeline .next .tl-dot { border-color: var(--gold); background: #fff4d6; }
.timeline .cancelled .tl-dot { background: var(--error); border-color: var(--error); }
.tl-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem; line-height: 1.4; }
.timeline .todo .tl-body strong, .timeline .skipped .tl-body strong { color: var(--muted); font-weight: 600; }
.timeline .next .tl-body strong::after { content: "  (next)"; color: var(--gold-text); font-weight: 600; font-size: .85em; }
.tl-track { flex-basis: 100%; }
.tl-note { margin: .2rem 0 0; }
/* The timeline sits inside a .list item: undo the list-row look for its steps */
.list .timeline > li { justify-content: flex-start; border-bottom: 0; padding-top: 0; padding-left: 0; padding-right: 0; }

/* ---- software store ---- */
.store-main { width: min(1060px, 100% - 2rem); margin-inline: auto; padding-block: 2rem 3rem; }
.product-grid { align-items: start; }
.product-card { display: flex; flex-direction: column; gap: .5rem; }
.product-card .product-name { font-size: 1.35rem; margin: 0; }
.product-card .price { margin: 0; }
.product-card .btn { align-self: flex-start; margin-top: .3rem; }
.product-more summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.addon-list { border: 1px solid var(--line); border-radius: 8px; padding: .6rem .9rem; margin: .2rem 0; }
.addon-list legend { font-weight: 600; padding: 0 .3rem; }
.addon-list .addon { margin: .35rem 0; }
.key-tag { color: #6b4e00; font-weight: 600; }
.product-total { font-weight: 700; margin: 0; }
.license-key { display: inline-block; padding: .5rem .8rem; background: #f4f5fa; border: 1px dashed var(--ink); border-radius: 6px; word-break: break-all; font-size: 1rem; }
@media (max-width: 760px) { .product-grid.cols-2 { grid-template-columns: 1fr; } }
.plain-list { list-style: none; padding: 0; margin: 0; }
.addon-admin { border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; }
.addon-admin p { margin: .2rem 0; }
tr.row-focus td { background: #fff8e6; }
.order-main { padding-block: 2rem 3rem; }
.late { color: var(--error); font-weight: 700; }

/* ---- banner-style header and footer (dark version of the Goose to Gander certificate banner) ---- */
:root { --banner-bg: #0d1331; --banner-bg2: #1a2352; --banner-gold: #d4ac4a; --banner-gold-soft: rgba(212, 172, 74, .55); --banner-cream: #f6efdc; }
.site-header {
  background: linear-gradient(180deg, var(--banner-bg2) 0%, var(--banner-bg) 100%);
  border-bottom: 2px solid var(--banner-gold);
  box-shadow: inset 0 2px 0 var(--banner-gold-soft), inset 0 -5px 0 var(--banner-bg), inset 0 -6px 0 var(--banner-gold-soft), 0 6px 18px -12px rgba(0, 0, 0, .6);
}
.site-header .wrap { padding: .55rem 0 .7rem; }
.brand-stack { flex-direction: column; align-items: flex-start; gap: .1rem; line-height: 1.1; }
.brand-eyebrow { font: 600 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--banner-gold); }
.brand-name { font: 700 1.5rem/1.1 var(--serif); color: var(--banner-cream); letter-spacing: .01em; }
.brand-tag { font: italic 400 .78rem/1.3 var(--serif); color: var(--banner-gold); }
.site-header .nav { margin-left: auto; }
.site-header .nav a:not(.btn) { color: #e7dfc7; }
.site-header .nav a:not(.btn):hover { color: #fff; }
.brand-medallion { flex: none; width: 56px; height: 56px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.legal-strip { background: #161e4a; border-bottom: 1px solid var(--banner-gold-soft); }
.legal-strip a { color: #efe3bf; }
.legal-strip a:hover { color: #fff; }

.foot-banner {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1.2rem 2rem;
  background: radial-gradient(120% 140% at 30% 20%, var(--banner-bg2) 0%, var(--banner-bg) 70%);
  border: 1px solid var(--banner-gold);
  box-shadow: 0 0 0 4px var(--deep), 0 0 0 5px var(--banner-gold-soft);
  border-radius: 4px; padding: 1.3rem 1.6rem; margin: .4rem .3rem 1.8rem;
}
.fbn-main { display: flex; flex-direction: column; gap: .3rem; }
.fbn-name { font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.05 var(--serif); color: var(--banner-cream); }
.foot-banner .brand-tag { font-size: .98rem; }
.fbn-cred { display: flex; flex-direction: column; gap: .15rem; border-left: 1px solid var(--banner-gold-soft); padding-left: 1.6rem; color: #c6cde6; font-size: .85rem; }
.fbn-title { font: italic 400 1.15rem/1.3 var(--serif); color: var(--banner-cream); border-bottom: 1px solid var(--banner-gold); padding-bottom: .25rem; margin-bottom: .3rem; }
.fbn-medallion { width: 112px; height: 112px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .5)); }

@media (max-width: 900px) {
  .site-header .brand-tag { display: none; }
  .foot-banner { grid-template-columns: 1fr auto; }
  .fbn-cred { grid-column: 1 / -1; grid-row: 2; border-left: 0; padding-left: 0; border-top: 1px solid var(--banner-gold-soft); padding-top: .9rem; }
  .fbn-medallion { width: 88px; height: 88px; }
}
@media (max-width: 560px) {
  .brand-medallion { display: none; }
  .brand-name { font-size: 1.25rem; }
  .brand-eyebrow { font-size: .55rem; }
}

/* ---- invoices ---- */
.admin-main { padding-top: 1.6rem; padding-bottom: 3rem; }
.inv-lines td { vertical-align: middle; }
.inv-lines select, .inv-lines input { min-width: 0; }
.inv-lines .inv-qty { width: 4.5rem; }
.inv-lines .inv-price { width: 7rem; }
.nowrap { white-space: nowrap; }
tr.row-error td { background: #fdecec; }
.client-invoices li { align-items: center; }

/* gold frame around Stripe's embedded payment form (navy inside, from the logo) */
.pay-form .payment-element, .portal .payment-element { border: 2px solid #c49a2c; border-radius: 10px; padding: 1rem; background: #fff; box-shadow: 0 0 0 4px rgba(196, 154, 44, .12); }
/* admin invoice form: payor address */
.addr-set { border: 1px solid var(--line, #d8dce6); border-radius: 10px; padding: .8rem 1rem .2rem; margin: 0 0 1rem; }
.addr-set legend { font-weight: 600; padding: 0 .35rem; }
.addr-csz { grid-template-columns: 2fr .7fr 1fr; }
@media (max-width: 640px) { .addr-csz { grid-template-columns: 1fr 1fr; } .addr-csz .field:first-child { grid-column: 1 / -1; } }
#i-state { text-transform: uppercase; }

/* Admin: shipping labels */
.label-like { display: block; font-weight: 600; margin-bottom: .35rem; }
.ship-num { width: 5rem !important; flex: 0 0 5rem !important; }
.ship-indent { margin-left: 1.7rem; }
.ship-pick { max-height: 22rem; overflow-y: auto; }
.ship-pick table.data th { position: sticky; top: 0; }
.row-picked td { background: #fff6dc; }
.ship-from > summary { cursor: pointer; font-weight: 600; padding: .4rem 0; }
.ship-from > summary span { font-weight: 400; color: var(--muted); }
/* Shipping: Test / Live switch and the tracking-number list */
.ship-mode { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; margin: .4rem 0 .6rem; }
.ship-mode-title { align-self: center; font-weight: 700; margin-right: .25rem; }
.ship-mode-opt { display: flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 2px solid #d6dbe6; border-radius: 10px; cursor: pointer; background: #fff; }
.ship-mode-opt .small { color: var(--muted); }
.ship-mode-opt:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.ship-test .ship-mode-opt.test:has(input:checked) { border-color: #c98a00; background: #fff6dc; }
.ship-live .ship-mode-opt.live:has(input:checked) { border-color: #1d7a4c; background: #e6f4ec; }
.alert.test { background: #fff3d1; border-left: 5px solid #c98a00; color: #5b4200; }
.ship-test .admin-main { box-shadow: inset 0 6px 0 #e0a200; }
.badge.test { background: #fff1c9; color: #6a4b05; }
.badge.transit { background: #e3ecfb; color: #1b3f80; }
.trk-num { font-family: ui-monospace, Consolas, "Courier New", monospace; white-space: nowrap; }
.trk-warn { color: #7a4b00; }
.ok-text { color: #134d34; }
.error-text { color: #6f1a1d; }
#rates tr.muted td { opacity: .7; }
.row-click { cursor: pointer; }
.row-click:hover td { background: #f4f6fb; }

/* Admin: label printing */
.lp-layout { display: grid; grid-template-columns: minmax(0, 520px) minmax(14rem, 1fr); gap: 1.4rem; align-items: start; }
@media (max-width: 820px) { .lp-layout { grid-template-columns: 1fr; } }
.lp-preview { position: relative; border: 1px solid var(--line); background: #fff; line-height: 0; touch-action: none; user-select: none; }
.lp-preview canvas { display: block; max-width: 100%; }
.lp-box { position: absolute; border: 2px solid; cursor: move; touch-action: none; }
.lp-box-postage { border-color: #b8860b; background: rgba(214, 170, 58, .12); }
.lp-box-barcode { border-color: #1f4fa8; background: rgba(31, 79, 168, .10); }
.lp-tag { position: absolute; top: -1.35rem; left: -2px; font: 600 .75rem/1.4 var(--sans); color: #fff; padding: 0 .4rem; border-radius: 4px 4px 0 0; }
.lp-box-postage .lp-tag { background: #b8860b; }
.lp-box-barcode .lp-tag { background: #1f4fa8; }
.lp-handle { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: #fff; border: 2px solid currentColor; border-radius: 3px; cursor: nwse-resize; }
.lp-box-postage .lp-handle { color: #b8860b; } .lp-box-barcode .lp-handle { color: #1f4fa8; }
.lp-sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 11rem; padding: 6px; border: 1px solid var(--line); background: #fff; }
.lp-slot { height: 2.1rem; border: 1px dashed #b9c1d6; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .72rem; color: var(--muted); }
.lp-slot.lp-p { background: rgba(214, 170, 58, .25); border-style: solid; color: #6a4b05; font-weight: 600; }
.lp-slot.lp-b { background: rgba(31, 79, 168, .15); border-style: solid; color: #1b2f66; font-weight: 600; }
textarea#ra-lines { font-family: var(--sans); }

.lp-box-cover { border-color: #1d7a46; background: rgba(29, 122, 70, .10); }
.lp-box-cover .lp-tag { background: #1d7a46; }
.lp-box-cover .lp-handle { color: #1d7a46; }

/* label print: more boxes, sheet maps, fit list */
.lp-box-icon { border-color: #7a3db8; background: rgba(122, 61, 184, .10); }
.lp-box-icon .lp-tag { background: #7a3db8; } .lp-box-icon .lp-handle { color: #7a3db8; }
.lp-box-qr { border-color: #b83d3d; background: rgba(184, 61, 61, .10); }
.lp-box-qr .lp-tag { background: #b83d3d; } .lp-box-qr .lp-handle { color: #b83d3d; }
.lp-mini { display: grid; gap: 3px; width: 12rem; padding: 6px; border: 1px solid var(--line); background: #fff; }
.lp-mini .lp-slot { height: 1.5rem; font-size: .66rem; }
.lp-mini-tight { gap: 2px; } .lp-mini-tight .lp-slot { height: .8rem; font-size: .55rem; border-radius: 2px; }
.lp-slot.lp-used { background: #eceef3; border-style: solid; border-color: #d5d9e3; }
.lp-slot.lp-t { background: rgba(29, 122, 70, .18); border-style: solid; color: #134d2d; font-weight: 600; }
.lp-slot.lp-f { background: rgba(122, 61, 184, .15); border-style: solid; color: #4a2373; font-weight: 600; }
.lp-fit { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; }

/* Site setup: live settings tabs */
.fee-rows { gap: .9rem; }
.fee-row { border: 1px solid var(--line); border-radius: 8px; padding: .8rem .9rem; background: #fbfcfe; display: grid; gap: .5rem; }
.hours-grid { display: grid; gap: .35rem; }
.hours-row { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .6rem; align-items: center; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.hours-day { font-weight: 600; }
.hours-ranges { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; }
.hours-range { display: inline-flex; gap: .35rem; align-items: center; }
.hours-range input[type="time"] { width: 8.2rem; padding: .3rem .4rem; }
@media (max-width: 640px) { .hours-row { grid-template-columns: 1fr; } }
