/* Agent verification record: /verify (Sébastien) and /verify/nathan-75f7ed
   (financialmissions.org). A static port of the old React Verify page, with its
   look, wording and behaviour unchanged. Values come from that page's inline
   styles and the shadcn dialog it used. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/_static/fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/_static/fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/_static/fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/_static/fonts/figtree-latin-700-normal.woff2') format('woff2'); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #142933; font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.62; }
h1, h2, h3, h4, p, ol { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #fdbb19; outline-offset: 2px; }
.sys { font-family: system-ui, -apple-system, sans-serif; }

.page { font-family: 'Figtree', system-ui, -apple-system, sans-serif; background: #f6fafb; color: #142832; min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.head { background: var(--primary, #042536); color: var(--on-primary, #fff); padding: 32px 20px 28px; text-align: center; }
.seal { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.seal img { width: 80px; height: 80px; object-fit: contain; }
.seal-mark { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; border: 1px solid var(--on-primary-rule, rgba(255,255,255,0.3)); font-size: 24px; font-weight: 700; letter-spacing: 0.08em; color: var(--on-primary, #fff); line-height: 32px; }
.seal-name { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--on-primary, #fff); }
.seal-sub { font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--on-primary-soft, #b9dce6); }
.head h1 { font-size: 22px; font-weight: 700; margin: 16px 0 4px; letter-spacing: 0.5px; line-height: 1.08; font-family: 'Figtree', system-ui, -apple-system, sans-serif; color: var(--on-primary, #fff); }
.head .sub { font-size: 13px; opacity: 0.75; margin: 0 0 12px; font-family: system-ui, -apple-system, sans-serif; }
.head .stamp { font-size: 11px; opacity: 0.55; font-family: system-ui, -apple-system, sans-serif; letter-spacing: 0.3px; }
.body { max-width: 680px; margin: 0 auto; padding: 0 20px 40px; }
.sec { border-bottom: 1px solid #d7e4e8; padding: 28px 0; }
.sec-title { font-size: 15px; font-weight: 700; color: var(--accent, #006b91); text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 20px; font-family: system-ui, -apple-system, sans-serif; line-height: 1.08; }
.producer { display: flex; align-items: flex-start; gap: 20px; }
.photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid #d7e4e8; flex-shrink: 0; }
.photo-ph { display: grid; place-items: center; background: #e8f0f2; color: var(--accent, #006b91); font-size: 20px; font-weight: 700; }
.who { flex: 1; }
.val { font-size: 16px; font-weight: 600; margin: 0 0 14px; color: #142832; }
.who .val { font-size: 20px; margin-bottom: 4px; }
.who .title { font-size: 14px; color: #586c75; margin: 0 0 12px; font-family: system-ui, sans-serif; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: #eaf4ee; color: #2f6b4a; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 4px; font-family: system-ui, -apple-system, sans-serif; letter-spacing: 0.8px; text-transform: uppercase; }
.ico { display: inline; vertical-align: middle; }
.facts { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 0 32px; }
.lab { font-size: 11px; color: #586c75; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 2px; font-family: system-ui, -apple-system, sans-serif; }
.val a { color: var(--accent, #006b91); text-decoration: none; }
.npn { font-size: 20px; font-weight: 700; font-family: 'Courier New', monospace; color: var(--accent, #006b91); letter-spacing: 2px; }
.save-wrap { margin-top: 20px; }
.save { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: 0.2px; color: var(--accent, #006b91); opacity: 0.8; text-decoration: none; transition: opacity 0.15s; }
.save:hover { opacity: 1; }

/* licenses: a table on computers, cards under 640px (same markup) */
.lic { width: 100%; border-collapse: collapse; font-family: system-ui, -apple-system, sans-serif; }
.lic th { font-size: 11px; font-weight: 700; color: #586c75; text-transform: uppercase; letter-spacing: 1px; padding: 10px 12px; border-bottom: 2px solid var(--accent, #006b91); text-align: left; line-height: 1.62; }
.lic th.r { text-align: right; }
.lic td { font-size: 14px; padding: 12px; border-bottom: 1px solid #d7e4e8; vertical-align: middle; }
.st { font-weight: 600; }
.ab-d { color: #586c75; margin-left: 6px; font-size: 12px; }
.ab-m, .lab-m { display: none; }
.act { color: #2f6b4a; font-weight: 600; font-size: 13px; }
.c-ref { text-align: right; }
.inline { display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #edf6f8; border: 1px solid #d7e4e8; border-radius: 5px; padding: 6px 12px; font-family: 'Courier New', monospace; font-size: 14px; font-weight: 700; color: var(--accent, #006b91); letter-spacing: 1.5px; line-height: 1.62; }
.hash { font-size: 10px; font-family: system-ui, sans-serif; color: #586c75; font-weight: 400; letter-spacing: 0.3px; text-transform: uppercase; }
.copy { display: grid; place-items: center; min-height: 44px; min-width: 44px; border: 0; background: transparent; padding: 0; line-height: 0; color: #586c75; cursor: pointer; transition: color 0.15s; }
.copy.done { color: #2f6b4a; }
.copy .ok, .copy.done .cp { display: none; }
.copy.done .ok { display: inline; }
.vbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 6px 12px; font-size: 11px; font-weight: 700; color: var(--accent, #006b91); background: transparent; border: 1.5px solid var(--accent, #006b91); border-radius: 4px; cursor: pointer; text-decoration: none; font-family: system-ui, -apple-system, sans-serif; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; transition: background 0.15s, color 0.15s; line-height: 1.62; }
.vbtn:hover { background: var(--accent, #006b91); color: #fff; }
.vbtn .ext { margin-left: 4px; }

/* E&O */
.tipwrap { position: relative; display: inline-block; margin-left: 8px; vertical-align: middle; }
.tipicon { font-size: 14px; color: #586c75; opacity: 0.6; cursor: pointer; line-height: 1; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; line-height: 1; letter-spacing: inherit; text-transform: inherit; }
.tip { position: absolute; bottom: calc(100% + 8px); right: 0; background: #142832; color: #fff; font-size: 12px; font-family: system-ui, -apple-system, sans-serif; font-weight: 400; line-height: 1.5; padding: 10px 14px; border-radius: 6px; width: 220px; max-width: calc(100vw - 48px); text-align: left; opacity: 0; transition: opacity 0.15s; pointer-events: none; z-index: 100; letter-spacing: 0; text-transform: none; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.tip::after { content: ""; position: absolute; top: 100%; right: 6px; border-width: 6px; border-style: solid; border-color: #142832 transparent transparent transparent; }
.tipwrap:hover .tip, .tipwrap.on .tip, .tipicon:focus-visible + .tip { opacity: 1; }
.eo { font-size: 14px; color: #586c75; margin: 0; font-family: system-ui, sans-serif; }
.note-sec { padding: 28px 0; }
.info { background: #edf6f8; border: 1px solid #d7e4e8; border-radius: 6px; padding: 16px 20px; font-size: 13px; line-height: 1.6; color: #586c75; font-family: system-ui, -apple-system, sans-serif; }
.info strong { color: #142832; }
.foot { border-top: 1px solid #d7e4e8; padding: 24px 0 0; text-align: center; font-size: 12px; color: #586c75; font-family: system-ui, -apple-system, sans-serif; line-height: 1.7; }
.foot p { margin: 0 0 8px; }
.foot a { color: var(--accent, #006b91); text-decoration: underline; }
.foot .small { margin: 0; font-size: 11px; opacity: 0.7; }
.foot .legal { margin-top: 6px; opacity: 1; color: #142832; }
.foot .legal span + span::before { content: " · "; }

/* manual lookup dialog (was a shadcn/Radix dialog) */
dialog.manual { position: fixed; inset: 0; margin: auto; width: calc(100% - 0px); max-width: 512px; height: fit-content; border: 1px solid #d8e5e9; background: #fff; color: #142933; padding: 24px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left; }
dialog.manual::backdrop { background: rgba(0, 0, 0, 0.8); }
dialog.manual[open] { display: grid; gap: 16px; }
.dlg-head { display: flex; flex-direction: column; gap: 6px; }
.dlg-title { font-size: 18px; font-weight: 600; line-height: 1; letter-spacing: -0.025em; padding-right: 24px; }
.dlg-desc { font-size: 14px; line-height: 20px; color: #586c74; }
.dlg-body { display: grid; gap: 16px; }
.dlg-box { padding: 16px; background: rgba(237, 246, 248, 0.5); border-radius: 12px; }
.dlg-box .l { font-size: 14px; line-height: 20px; color: #586c74; margin-bottom: 8px; }
.dlg-num { display: flex; align-items: center; justify-content: space-between; }
.dlg-num b { font-size: 24px; line-height: 32px; font-weight: 700; color: #142933; }
.dlg-copy { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px; margin-left: 8px; border: 0; border-radius: 10px; background: transparent; color: #142933; cursor: pointer; }
.dlg-copy:hover { background: #edf6f8; }
.dlg-copy .ok, .dlg-copy.done .cp { display: none; }
.dlg-copy.done .ok { display: inline; color: #22c55e; }
.dlg-box .c { margin-top: 8px; font-size: 12px; line-height: 16px; color: #586c74; }
.dlg h4, .dlg-h { font-weight: 600; margin-bottom: 12px; font-size: 16px; line-height: 1.08; }
.dlg-steps { list-style: none; padding: 0; display: grid; gap: 8px; }
.dlg-steps li { display: flex; gap: 12px; }
.dlg-steps .n { flex-shrink: 0; width: 24px; height: 24px; border-radius: 9999px; background: rgba(6, 54, 75, 0.1); color: #06364b; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; line-height: 20px; }
.dlg-steps .t { font-size: 14px; line-height: 20px; color: #586c74; padding-top: 2px; }
.dlg-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; padding: 8px 16px; border-radius: 10px; background: #06364b; color: #fff; font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; text-align: center; }
.dlg-go svg { flex-shrink: 0; }
/* the old React button split this text into three runs, which made it wrap one pixel sooner; keep the same wrap */
.go-t { padding-right: 1px; }
.dlg-go:hover { background: rgba(6, 54, 75, 0.9); }
.dlg-x { position: absolute; right: 16px; top: 16px; width: 16px; height: 16px; padding: 0; border: 0; background: transparent; color: #142933; opacity: 0.7; cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.dlg-x:hover { opacity: 1; }

/* the toast the old page showed after saving the contact card */
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 200; background: #fff; color: #142933; border: 1px solid #d8e5e9; border-radius: 8px; padding: 16px; font-size: 13px; font-weight: 500; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; gap: 8px; align-items: center; width: 356px; max-width: calc(100vw - 32px); }

@media (min-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
  dialog.manual { border-radius: 12px; }
}
@media (max-width: 639px) {
  .lic thead { display: none; }
  .lic, .lic tbody, .lic tr, .lic td { display: block; }
  .lic tr { border: 1px solid #d7e4e8; border-radius: 6px; padding: 16px; margin-bottom: 10px; background: #f6fafb; }
  .lic td { border: 0; padding: 0; }
  .lic td.c-state { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-family: 'Figtree', system-ui, -apple-system, sans-serif; }
  .st { font-size: 16px; font-weight: 700; color: #142832; font-family: 'Figtree', system-ui, -apple-system, sans-serif; }
  .ab-d { display: none; }
  .ab-m { display: inline; font-size: 13px; font-weight: 600; color: var(--accent, #006b91); background: rgba(0, 107, 145, 0.063); padding: 2px 8px; border-radius: 3px; }
  .lic td.c-status { display: flex; justify-content: space-between; font-size: 13px; color: #586c75; margin-bottom: 4px; font-family: system-ui, -apple-system, sans-serif; }
  .lab-m { display: inline; }
  .c-status .act { font-size: inherit; }
  .c-ref { text-align: left; }
  .inline { justify-content: flex-start; margin-top: 10px; }
  .lic .vbtn { font-size: 11px; }
  .dlg-head { text-align: center; }
}

/* Phone: nothing under 11px, and a close button a thumb can hit. */
.dlg-x { width: 44px; height: 44px; right: 2px; top: 2px; display: grid; place-items: center; }
.dlg-x svg { width: 16px; height: 16px; }
.dlg-copy { height: 44px; min-width: 44px; }
@media (max-width: 600px) {
  .seal-name { font-size: 11.5px; letter-spacing: 0.16em; }
  .seal-sub { font-size: 11px; letter-spacing: 0.12em; }
  .head .stamp, .lab, .foot .small { font-size: 12px; }
  .hash { font-size: 11px; }
  .lic .vbtn { font-size: 12px; }
}

/* The agency's colors and headings (lib/look.ts). */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('/_static/fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); }
.look-serif .head h1 { font-family: 'Source Serif 4', 'Iowan Old Style', Georgia, serif; font-weight: 600; font-size: 26px; letter-spacing: 0; }

/* ---------- Unslop pass (Nov 2026): the framed license. ----------
   A paper record lifted over the agency's colour, an engraved rosette behind the seal, serif titles in
   sentence case, mono for numbers and the reviewed date. Content and order are unchanged. */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url('/_static/fonts/source-serif-4-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap; src: url('/_static/fonts/source-serif-4-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/_static/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/_static/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
.page { --paper: #f7f4ee; --card: #fdfbf7; --ink: #10222e; --ink-2: #47545d; --muted: #68737a; --rule: rgba(16,34,46,.10); --rule-2: rgba(16,34,46,.18); --ok: #2c6a48; --serif: 'Source Serif 4', Georgia, serif; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace; background: var(--paper); color: var(--ink); }
body { background: var(--paper); }
a:focus-visible, button:focus-visible { outline-color: var(--primary, #042536); }
.head { position: relative; overflow: hidden; padding: 36px 20px 120px; background: var(--primary, #042536) url('/_static/guilloche-gold.svg') no-repeat center 50% / 720px auto; }
.head::before { content: ""; position: absolute; inset: 0; background: var(--primary, #042536); opacity: .72; pointer-events: none; }
.head > * { position: relative; }
.seal img { width: 64px; height: 64px; }
.seal-mark { width: 64px; height: 64px; font: 500 20px/1 var(--serif); letter-spacing: .02em; }
.seal-name { font: 500 13px/1.3 Figtree, system-ui, sans-serif; letter-spacing: .01em; text-transform: none; }
.seal-sub { font: 400 11px/1.3 var(--mono); letter-spacing: .04em; text-transform: none; }
.head h1 { font: 500 clamp(30px, 6vw, 40px)/1.1 var(--serif); letter-spacing: -.02em; margin: 14px 0 6px; }
.head .sub { font: 400 14px/1.4 Figtree, system-ui, sans-serif; opacity: .8; }
.head .stamp { font: 400 12px/1.4 var(--mono); opacity: .7; letter-spacing: 0; }
.body { position: relative; max-width: 640px; margin: -88px auto 32px; padding: 8px 40px 28px; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 8px 24px rgba(16,34,46,.07), 0 32px 64px -24px rgba(16,34,46,.22); }
.sec { border-bottom: 1px solid var(--rule); }
.sec-title { font: 500 19px/1.3 var(--serif); color: var(--ink); text-transform: none; letter-spacing: -.005em; margin-bottom: 18px; }
.photo { border: 1px solid var(--rule-2); }
.photo-ph { background: var(--card); color: var(--ink-2); font: 500 20px/1 var(--serif); }
.val { color: var(--ink); font-weight: 500; }
.who .val { font: 500 24px/1.2 var(--serif); letter-spacing: -.01em; }
.who .title { color: var(--ink-2); font-family: Figtree, system-ui, sans-serif; }
.badge { background: none; padding: 0; color: var(--ok); font: 500 13px/1.4 Figtree, system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.lab { font: 400 12px/1.4 Figtree, system-ui, sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }
.val a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; }
.npn { font: 500 17px/1.4 var(--mono); color: var(--ink); letter-spacing: .02em; }
.save { min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--card); color: var(--ink); opacity: 1; font: 500 13px/1 Figtree, system-ui, sans-serif; box-shadow: 0 1px 2px rgba(16,34,46,.05); }
.save:hover { border-color: rgba(16,34,46,.32); }
.lic { font-family: Figtree, system-ui, sans-serif; }
.lic th { font: 400 12px/1.4 Figtree, system-ui, sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--rule-2); padding: 8px 12px; }
.lic td { border-bottom: 1px solid var(--rule); }
.st { font-weight: 500; }
.ab-d { color: var(--muted); font-family: var(--mono); }
.act { color: var(--ok); font-weight: 500; }
.pill { background: none; border: 0; padding: 0 0 0 8px; font: 400 13px/1.4 var(--mono); color: var(--ink-2); letter-spacing: .02em; }
.hash { font-family: var(--mono); color: var(--muted); }
.copy { color: var(--muted); }
.vbtn { min-height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--primary, #042536); background: var(--primary, #042536); color: var(--on-primary, #fff); font: 500 13px/1 Figtree, system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.vbtn:hover { background: color-mix(in srgb, var(--primary, #042536) 86%, #fff); color: var(--on-primary, #fff); }
.tipicon { color: var(--muted); }
.eo { color: var(--ink-2); font-family: Figtree, system-ui, sans-serif; }
.info { background: none; border: 0; border-left: 2px solid #7d5f1e; border-radius: 0; padding: 4px 0 4px 16px; color: var(--ink-2); font-family: Figtree, system-ui, sans-serif; }
.info strong { color: var(--ink); font-weight: 500; }
.foot { border-top: 0; color: var(--muted); font-family: Figtree, system-ui, sans-serif; }
.foot a { color: var(--ink-2); }
.foot .legal { color: var(--ink-2); }
.dlg-go { background: var(--primary, #042536); border-radius: 8px; }
.dlg-box { background: var(--paper, #f7f4ee); }
.dlg-num b { font: 500 22px/1.3 var(--mono); }
.dlg-title { font: 500 20px/1.2 var(--serif); }
@media (max-width: 639px) {
  .head { padding: 28px 16px 96px; background-size: 520px auto; }
  .body { margin: -72px 12px 24px; padding: 4px 20px 20px; }
  .lic tr { background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 14px 0; margin: 0; }
  .st { font-weight: 500; color: var(--ink); font-family: Figtree, system-ui, sans-serif; }
  .ab-m { color: var(--ink-2); background: none; font: 400 12px/1.4 var(--mono); padding: 0; }
  .lic td.c-status { color: var(--muted); font-family: Figtree, system-ui, sans-serif; }
  .pill { padding-left: 0; }
}
