/* Trustera StaySure Canada
   Type: Rubik (headings, echoes the rounded logo lettering), Atkinson Hyperlegible (body; built for
   legibility, which matters for readers using English as a second language).
   Color: logo blue for structure and action, logo red reserved for the verification stamp and alerts. */

:root {
  --blue: #0a78be;
  --blue-deep: #075a8f;
  --blue-ink: #0b3a5c;
  --red: #d8141b;
  --ink: #15242f;
  --muted: #4e606d;
  --paper: #ffffff;
  --tint: #eef5fa;
  --tint-2: #e1edf6;
  --line: #cfdde8;
  --ok: #1d7448;
  --ok-bg: #e7f4ec;
  --warn: #8f5a00;
  --warn-bg: #fdf3df;
  --bad: #b3121a;
  --bad-bg: #fdecec;
  --radius: 6px;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-underline-offset: 2px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.22rem; line-height: 1.55; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.prose { max-width: 44em; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }
.hp { position: absolute; left: -9999px; }
.inline { display: inline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--font-head);
  padding: .9em 1.35em; border-radius: var(--radius);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--blue-deep); border-color: var(--blue); }
.btn-secondary:hover { background: var(--tint); color: var(--blue-ink); }
.btn-danger { background: #fff; color: var(--bad); border-color: var(--bad); }
.btn-sm { padding: .65em 1em; font-size: .95rem; }
.btn-block { width: 100%; }
.as-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 70px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-top { color: var(--blue); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand-sub { color: var(--red); font-weight: 600; font-size: .86rem; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--blue-deep); }
.site-nav ul a[aria-current="page"] { color: var(--blue-deep); border-bottom-color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.link-quiet { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
.link-quiet:hover { color: var(--blue-deep); text-decoration: underline; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex; font: 600 1rem var(--font-head); background: #fff; color: var(--blue-ink);
    border: 2px solid var(--line); border-radius: var(--radius); padding: .5em .9em; cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--tint-2); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--tint-2); }
  .nav-actions { flex-wrap: wrap; padding-top: 8px; }
}

/* ---------- flash ---------- */
.flash-wrap { padding-top: 20px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 10px; border-left: 4px solid; font-weight: 700; }
.flash-success { background: var(--ok-bg); border-color: var(--ok); color: #124d30; }
.flash-error { background: var(--bad-bg); border-color: var(--bad); color: #7c0d12; }
.flash-info { background: var(--tint); border-color: var(--blue); color: var(--blue-ink); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-tight { padding: 56px 0; }
.section-head { max-width: 40em; margin-bottom: 40px; }
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--tint), #fff); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--tint) 0%, #fff 78%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 12em; color: var(--blue-ink); }
.hero .lede { margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .98rem; }
.hero-points li { padding-left: 26px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* ---------- the report sheet (signature element) ---------- */
.sheet {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 14px 16px 0 var(--tint-2);
  font-size: .95rem; max-width: 520px; margin-left: auto;
}
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--blue-ink); color: #fff; padding: 14px 20px; border-radius: 3px 3px 0 0; }
.sheet-head strong { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.sheet-head span { font-size: .85rem; opacity: .85; font-variant-numeric: tabular-nums; }
.sheet-meta { padding: 14px 20px; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: .9rem; }
.sheet-meta b { color: var(--ink); }
.sheet-rows { margin: 0; padding: 6px 20px 16px; }
.sheet-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--tint-2); }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row dt { color: var(--muted); }
.sheet-row dd { margin: 0; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.tick { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 5px; top: 3.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tick-part { background: var(--warn); }
.tick-part::after { left: 4px; top: 7px; width: 8px; height: 0; border-width: 0 0 2px 0; transform: none; }
.sheet-foot { padding: 14px 190px 18px 20px; min-height: 64px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .82rem; }
.sheet-label { position: absolute; top: -12px; left: 18px; background: #fff; border: 1px solid var(--line); padding: 2px 10px; font-size: .78rem; color: var(--muted); border-radius: 20px; }

.stamp {
  display: inline-block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--red); border: 3px double currentColor; border-radius: 6px;
  padding: .35em .7em; line-height: 1.1; white-space: nowrap; background: rgba(255,255,255,.85);
}
.stamp-verified { color: var(--ok); }
.stamp-verified_limitations { color: var(--warn); }
.stamp-review_required { color: var(--red); }
.stamp-unsuccessful { color: #5b6670; }
.sheet .stamp-hero {
  position: absolute; right: 18px; bottom: 14px; font-size: 1.45rem; color: var(--red);
  transform: rotate(-9deg); border-width: 4px; padding: .3em .6em;
  mix-blend-mode: multiply; background: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .sheet .stamp-hero { animation: stamp-in .42s cubic-bezier(.2,.9,.3,1.25) .7s both; }
  @keyframes stamp-in {
    0% { opacity: 0; transform: rotate(-9deg) scale(1.9); }
    70% { opacity: 1; transform: rotate(-9deg) scale(.96); }
    100% { opacity: 1; transform: rotate(-9deg) scale(1); }
  }
}
@media (max-width: 920px) { .sheet { margin: 12px auto 0; } }

/* ---------- facts with sources ---------- */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 20px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--blue-ink); margin-bottom: 4px; }
.facts cite { display: block; font-style: normal; font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ---------- process steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 18px 0 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue-deep); font: 700 1.05rem var(--font-head);
  position: relative; z-index: 1; margin-bottom: 16px;
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.08rem; margin-bottom: .35em; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-v { grid-template-columns: 1fr; gap: 26px; }
.steps-v li { padding: 0 0 0 58px; }
.steps-v li::before { position: absolute; left: 0; top: -4px; margin: 0; }
.steps-v li::after { left: 19px; top: 40px; bottom: -26px; right: auto; width: 2px; height: auto; }
@media (max-width: 900px) {
  .steps, .steps-4 { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding: 0 0 0 58px; }
  .steps li::before { position: absolute; left: 0; top: -4px; margin: 0; }
  .steps li::after { left: 19px; top: 40px; bottom: -26px; right: auto; width: 2px; height: auto; }
}

/* ---------- outcomes ---------- */
.outcomes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.outcome { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.outcome:nth-child(odd) { border-right: 1px solid var(--line); }
.outcome:nth-child(even) { padding-left: 28px; padding-right: 0; }
.outcome .stamp { font-size: .95rem; margin-bottom: 12px; transform: rotate(-2deg); }
.outcome p { margin: 0; color: var(--muted); }
.outcomes-single { grid-template-columns: 1fr; }
.outcomes-single .outcome, .outcomes-single .outcome:nth-child(even) { border-right: 0; padding-left: 0; padding-right: 0; }
@media (max-width: 720px) {
  .outcomes { grid-template-columns: 1fr; }
  .outcome, .outcome:nth-child(even) { padding: 22px 0; border-right: 0; }
}

/* ---------- boundary list ---------- */
.boundary { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 36px; list-style: none; padding: 0; margin: 0; }
.boundary li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; font-weight: 700; }
.boundary li::before, .boundary li::after { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 2.5px; background: var(--red); }
.boundary li::before { transform: rotate(45deg); }
.boundary li::after { transform: rotate(-45deg); }

/* ---------- audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.audiences h3 { padding-top: 14px; border-top: 3px solid var(--blue); }
.audiences p { color: var(--muted); margin: 0; }

/* ---------- pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font: 600 .92rem var(--font-head); color: var(--muted); padding-top: 0; padding-bottom: 12px; }
.price-table .pkg-name { font: 600 1.18rem var(--font-head); color: var(--blue-ink); display: block; }
.price-table .pkg-short { color: var(--muted); font-size: .95rem; }
.price-table ul { margin: 0; padding-left: 1.1em; color: var(--ink); font-size: .97rem; }
.price-table .price { font: 700 1.6rem var(--font-head); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table .price small { display: block; font: 400 .85rem var(--font-body); color: var(--muted); }
.price-table td:last-child { text-align: right; padding-right: 0; }
@media (max-width: 760px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 18px 0; border-bottom: 1px solid var(--line); gap: 8px 16px; }
  .price-table td { border: 0; padding: 0; }
  .price-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}
.addon-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.addon { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.addon .price { font: 700 1.35rem var(--font-head); }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.person { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: start; }
.monogram { width: 76px; height: 76px; border-radius: 50%; background: var(--blue-ink); color: #fff; display: grid; place-items: center; font: 600 1.5rem var(--font-head); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--red); font-weight: 700; margin-bottom: 10px; display: block; }
@media (max-width: 800px) { .people { grid-template-columns: 1fr; } }

.facts-table { width: 100%; border-collapse: collapse; }
.facts-table th, .facts-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { width: 40%; color: var(--muted); font-weight: 400; padding-right: 16px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--blue-ink); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e6f2; max-width: 36em; }
.cta-band .btn-primary { background: #fff; color: var(--blue-ink); }
.cta-band .btn-primary:hover { background: var(--tint); }
.cta-band .btn-secondary { color: #fff; border-color: #8fb8d8; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form { max-width: 640px; }
.form-wide { max-width: 860px; }
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 2px; }
input:not([type]), input[type=text], input[type=search], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #a9bccb; border-radius: var(--radius); padding: .7em .85em; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(10,120,190,.35); border-color: var(--blue); }
input[type=file] { font: inherit; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0 0 36px; }
legend { font: 600 1.3rem var(--font-head); color: var(--blue-ink); margin-bottom: 16px; padding: 0; }
.form-error { color: var(--bad); font-weight: 700; }
.error-list { background: var(--bad-bg); border-left: 4px solid var(--bad); padding: 12px 16px 12px 36px; border-radius: var(--radius); color: #7c0d12; margin-bottom: 24px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label {
  display: block; height: 100%; border: 1.5px solid #a9bccb; border-radius: var(--radius); padding: 14px 16px; cursor: pointer; background: #fff; margin: 0;
}
.choice label strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--blue-ink); }
.choice label span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.choice label b { display: block; margin-top: 6px; font-family: var(--font-head); }
.choice input:checked + label { border-color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--tint); }
.choice input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.total-line { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--tint); border-radius: var(--radius); font-weight: 700; margin: 8px 0 28px; }
.total-line output { font: 700 1.5rem var(--font-head); color: var(--blue-ink); }

.auth-box { max-width: 460px; margin: 56px auto 80px; padding: 0 24px; }
.auth-box h1 { font-size: 2rem; }

/* ---------- account ---------- */
.acct-head { padding: 40px 0 0; background: var(--tint); border-bottom: 1px solid var(--line); }
.acct-head h1 { font-size: 2rem; margin-bottom: 18px; }
.acct-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.acct-tabs a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: var(--radius) var(--radius) 0 0; border: 1px solid transparent; border-bottom: 0; }
.acct-tabs a[aria-current="page"] { background: #fff; border-color: var(--line); color: var(--blue-deep); margin-bottom: -1px; }
.acct-body { padding: 36px 0 80px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; margin-bottom: 24px; }
.panel h2 { font-size: 1.3rem; }
.empty { text-align: left; padding: 36px; border: 1.5px dashed #a9bccb; border-radius: var(--radius); background: #fff; }
.empty h2 { font-size: 1.35rem; }

.data { width: 100%; border-collapse: collapse; font-size: .97rem; }
.data th, .data td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { font: 600 .88rem var(--font-head); color: var(--muted); background: var(--tint); }
.data td.num { font-variant-numeric: tabular-nums; }
.data a { font-weight: 700; }
.table-scroll { overflow-x: auto; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.badge-awaiting_payment { background: var(--warn-bg); color: var(--warn); }
.badge-in_review { background: var(--tint-2); color: var(--blue-ink); }
.badge-info_needed { background: var(--bad-bg); color: var(--bad); }
.badge-completed { background: var(--ok-bg); color: var(--ok); }
.badge-cancelled { background: #eceff1; color: #4e5a62; }
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-active { background: var(--ok-bg); color: var(--ok); }
.badge-declined, .badge-lapsed { background: #eceff1; color: #4e5a62; }

.kv { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 10px; } }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 12px 0 12px 20px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.timeline li.ev-message::before { background: var(--red); }
.timeline time { display: block; color: var(--muted); font-size: .85rem; }
.timeline .internal { font-size: .78rem; background: #eceff1; color: #4e5a62; padding: 1px 8px; border-radius: 10px; margin-left: 6px; }
.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li { padding: 8px 0; border-bottom: 1px solid var(--tint-2); }

.notice { background: var(--warn-bg); border-left: 4px solid var(--warn); padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.notice-info { background: var(--tint); border-color: var(--blue); }

/* ---------- report document ---------- */
.report { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 28px 32px; border-bottom: 3px solid var(--blue-ink); }
.report-head img { width: 140px; }
.report-head .ref { text-align: right; font-size: .92rem; color: var(--muted); }
.report-head .ref strong { display: block; font: 600 1.15rem var(--font-head); color: var(--ink); }
.report-body { padding: 28px 32px 36px; }
.report-outcome { display: flex; gap: 24px; align-items: center; padding: 20px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 8px; flex-wrap: wrap; }
.report-outcome .stamp { font-size: 1.35rem; transform: rotate(-4deg); }
.report-outcome p { margin: 0; flex: 1; min-width: 240px; }
.report-section { padding: 18px 0; border-bottom: 1px solid var(--tint-2); }
.report-section h3 { font-size: 1.05rem; margin: 0 0 6px; display: flex; justify-content: space-between; gap: 16px; }
.report-section h3 span { font-family: var(--font-body); font-weight: 700; color: var(--blue-deep); }
.report-section p { margin: 0; white-space: pre-line; }
.report-limits { background: var(--tint); padding: 18px 20px; margin-top: 24px; font-size: .92rem; }
.report-limits h3 { font-size: 1rem; }
.report-sign { margin-top: 28px; font-size: .9rem; color: var(--muted); }
.sample-mark { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%) rotate(-24deg); font: 700 7rem var(--font-head); color: rgba(216,20,27,.07); pointer-events: none; letter-spacing: .1em; }

@media print {
  .site-header, .site-footer, .no-print, .acct-head, .flash-wrap { display: none !important; }
  body { font-size: 11pt; }
  .report { border: 0; }
  .acct-body, .section { padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-company img { width: 140px; margin-bottom: 12px; }
.site-footer h2 { font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue-deep); }
.footer-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-note p { max-width: 70em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.two-col-list { columns: 2; column-gap: 40px; padding-left: 1.1em; }
.two-col-list li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 640px) { .two-col-list { columns: 1; } }
.callout { border-left: 4px solid var(--red); padding: 4px 0 4px 20px; margin: 24px 0; }
.callout p:last-child { margin: 0; }
.signs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.signs li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.signs strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--blue-ink); font-size: 1.1rem; margin-bottom: 4px; }
.signs span { color: var(--muted); }
.role-list { border-top: 1px solid var(--line); }
.role-item { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.role-item h3 { margin: 0; }
.role-item .meta { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) { .role-item { grid-template-columns: 1fr; gap: 8px; } }
.lookup-result { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }

.ink { color: var(--ink); }
.plan-price { font: 700 1.4rem var(--font-head); color: var(--ink); }
.mt-0 { margin-top: 0 !important; }

/* ---------- staff ---------- */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; background: #fff; }
.admin-stats div { padding: 18px 20px; border-right: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.admin-stats div:last-child { border-right: 0; }
.admin-stats span { display: block; font: 600 1.6rem var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .admin-stats { grid-template-columns: 1fr 1fr; } .admin-stats div:nth-child(2) { border-right: 0; } .admin-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-end; margin-bottom: 20px; }
.filter-bar .field { flex: 1; min-width: 180px; }
.filter-bar .btn { margin-bottom: 20px; }
.filter-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-links a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; }
.filter-links a[aria-current="page"] { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.role-form { display: flex; gap: 8px; align-items: center; }
.role-form select { min-height: 38px; padding: .3em .5em; width: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) { .sheet-foot { padding-right: 20px; padding-bottom: 72px; } }
