/* Argos Verify — shared suite chrome (2026-08-20).
 *
 * Verify is not one page: the engine serves five standalone, single-purpose
 * task flows (passkey enrollment, Help Desk Guard technician console, and three
 * caller-facing identity-verification steps). Each was written with its own
 * inline <style> block and its own palette, so this file exists to give all
 * five the same topbar, footer, fonts and brand tokens WITHOUT merging their
 * bespoke page CSS — the flows stay untouched, only the chrome is shared.
 *
 * Deliberately NOT included: an icon rail or flyout nav. These are linear task
 * flows with no navigation model to express, and three of them are used by
 * external callers who have no business seeing an internal app switcher.
 * Everything here is prefixed .v- so it cannot collide with the pages' own
 * class names (.card, .row, .step, .wrap ... are all already taken, with
 * different meanings on different pages).
 */

:root {
  --v-bg: #030912;
  --v-surface: rgba(255, 255, 255, 0.04);
  --v-border: rgba(255, 255, 255, 0.08);
  --v-fg: #e6f1ff;
  --v-dim: #9aa6b2;
  --v-blue: #0070f3;
  --v-purple: #7c3aed;
  --v-cyan: #00d4ff;
  --v-bar: rgba(0, 0, 0, 0.25);
  --v-max: 1480px;
  --v-pad: clamp(16px, 3vw, 40px);
}

/* Light theme. Only the two staff-facing pages expose a toggle, but the tokens
   are defined here so the caller pages inherit a correct dark default rather
   than depending on a toggle that is not on their page. */
:root[data-theme="light"] {
  --v-bg: #f5f7fb;
  --v-surface: #ffffff;
  --v-border: rgba(14, 22, 38, 0.14);
  --v-fg: #0e1626;
  --v-dim: #57637a;
  --v-blue: #0057bf;
  --v-purple: #6127c4;
  --v-cyan: #00758d;
  --v-bar: rgba(255, 255, 255, 0.86);
}

/* ── Topbar ──────────────────────────────────────────────────────────────────
   Same measurements as Service / Compass / Concierge: 64px bar, 40px badge,
   1.4rem wordmark, 44px icon buttons with 22px glyphs. */
.v-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--v-pad);
  border-bottom: 1px solid var(--v-border);
  background: var(--v-bar);
  position: relative;
  z-index: 60;
}
.v-topbar-badge { width: 40px; height: 40px; flex: none; border-radius: 6px; display: block; }
.v-topbar-brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.v-topbar-word {
  font-family: Fraunces, Georgia, serif;
  font-weight: 800; font-size: 1.4rem; line-height: 1;
  color: var(--v-fg); letter-spacing: -0.01em;
}
.v-topbar-suffix {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--v-dim);
}
/* margin-left:auto on the FIRST control only — putting it on every button
   spreads them apart instead of grouping them at the right edge. */
.v-topbar-btn {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  background: transparent; border: 1px solid transparent; color: var(--v-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: color .12s, background .12s, border-color .12s;
}
.v-topbar-btn:hover, .v-topbar-btn[aria-expanded="true"] {
  color: var(--v-fg); background: var(--v-surface); border-color: var(--v-border); filter: none;
}
.v-topbar-btn svg { width: 22px; height: 22px; }
.v-topbar-btn:first-of-type { margin-left: auto; }
/* Caller pages have no buttons at all, so the brand would sit alone on the
   left with the bar stretching away from it. Nothing to do — that is correct. */

/* ── App switcher ────────────────────────────────────────────────────────────
   Anchored to the viewport under its own trigger, not to any page container.
   Staff pages only. */
.v-waffle {
  position: fixed; top: 70px; right: 14px;
  width: min(340px, calc(100vw - 28px));
  max-height: calc(100vh - 96px); overflow-y: auto;
  background: var(--v-bg);
  border: 1px solid var(--v-border); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  padding: 14px; z-index: 200;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.v-waffle.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.v-waffle-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4px 10px; border-bottom: 1px solid var(--v-border); margin-bottom: 10px;
  font-size: 13px;
}
.v-waffle-hdr strong { color: var(--v-fg); font-weight: 600; }
.v-waffle-hdr span { color: var(--v-dim); font-size: 11px; }
.v-waffle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.v-waffle-tile {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px;
  border-radius: 8px; text-decoration: none; color: var(--v-fg);
  border: 1px solid transparent; transition: background .12s ease;
}
.v-waffle-tile:hover { background: rgba(0, 112, 243, .10); border-color: rgba(0, 112, 243, .32); }
.v-waffle-tile.current { background: rgba(124, 58, 237, .14); border-color: rgba(124, 58, 237, .40); }
.v-waffle-ico { font-size: 20px; line-height: 1; flex: 0 0 auto; }
.v-waffle-name { font-weight: 600; font-size: 13px; }
.v-waffle-tag { font-size: 10.5px; color: var(--v-dim); margin-top: 2px; }
.v-waffle-ftr {
  margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--v-border);
  font-size: 10px; display: flex; justify-content: space-between;
}
.v-waffle-ftr span { color: var(--v-dim); }
.v-waffle-ftr a { color: var(--v-cyan); text-decoration: none; }

/* ── Footer ──────────────────────────────────────────────────────────────────
   Same company block as the rest of the suite. The literal greys are the shared
   brand values; the light-mode ramp below replaces the ones that go unreadable
   on a white page. */
.v-footer {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 40px) 0 clamp(20px, 3vw, 28px);
  background: var(--v-bar);
  border-top: 1px solid var(--v-border);
  color: #71717A;
  font-size: 0.85rem;
  font-family: Manrope, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.v-footer-inner {
  max-width: var(--v-max); margin-inline: auto; padding-inline: var(--v-pad);
  display: grid; gap: clamp(24px, 3vw, 36px);
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
}
@media (max-width: 1023px) {
  .v-footer-inner { grid-template-columns: 1fr 1fr; }
  .v-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 539px) { .v-footer-inner { grid-template-columns: 1fr; } }
.v-footer-mark {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; margin-bottom: 10px;
}
.v-footer-mark img { flex-shrink: 0; border-radius: 5px; opacity: .75; }
.v-footer-mark small {
  display: block; font-size: .68rem; font-weight: 600; color: #52525B;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px;
}
.v-footer-mark strong {
  display: block; font-family: Fraunces, Georgia, serif; font-size: 1rem;
  font-weight: 700; color: #D4D4D8; letter-spacing: -.01em;
}
.v-footer-tagline { font-size: .8rem; line-height: 1.6; color: #52525B; max-width: 44ch; margin: 0; }
.v-footer-col h4 {
  font-family: Manrope, sans-serif; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: #A1A1AA; margin: 0 0 10px 0;
}
.v-footer-col a {
  display: block; font-size: .8rem; color: #71717A; padding: 3px 0;
  text-decoration: none; transition: color .12s;
}
.v-footer-col a:hover { color: #D4D4D8; }
.v-footer-bottom {
  position: relative;
  max-width: var(--v-max); margin: clamp(18px, 3vw, 28px) auto 0;
  padding: clamp(14px, 2vw, 20px) var(--v-pad) 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; font-size: .76rem; color: #3F3F46;
}
/* Inset divider rather than a border-top on the padded box, so the rule lines
   up with the columns above instead of overhanging them by --v-pad each side. */
.v-footer-bottom::before {
  content: ""; position: absolute; top: 0;
  left: var(--v-pad); right: var(--v-pad);
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.v-footer-social { display: inline-flex; gap: 6px; }
.v-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 6px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--v-border);
  color: #52525B; transition: all .15s;
}
.v-footer-social a:hover { background: rgba(255, 255, 255, .06); color: #A1A1AA; border-color: rgba(255, 255, 255, .1); }
.v-footer address { font-style: normal; color: #52525B; line-height: 1.55; font-size: .78rem; }

[data-theme="light"] .v-footer { color: var(--v-dim); }
[data-theme="light"] .v-footer-mark strong { color: var(--v-fg); }
[data-theme="light"] .v-footer-mark small,
[data-theme="light"] .v-footer-tagline,
[data-theme="light"] .v-footer-col a,
[data-theme="light"] .v-footer address { color: var(--v-dim); }
[data-theme="light"] .v-footer-col h4 { color: var(--v-fg); }
[data-theme="light"] .v-footer-col a:hover { color: var(--v-blue); }
[data-theme="light"] .v-footer-bottom { color: var(--v-dim); }
[data-theme="light"] .v-footer-bottom::before { border-top-color: var(--v-border); }
[data-theme="light"] .v-footer-social a { background: rgba(14, 22, 38, .04); color: var(--v-dim); }
[data-theme="light"] .v-footer-social a:hover { background: rgba(14, 22, 38, .07); color: var(--v-fg); }
[data-theme="light"] .v-footer-mark img { opacity: 1; }

/* ── Page shell ──────────────────────────────────────────────────────────────
   The pages set their own body padding and max-width to centre a narrow task
   column. .v-page lets the topbar and footer run full-bleed while that column
   stays narrow, which is what makes these read as suite apps rather than as
   loose documents on a dark background. */
.v-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--v-bg);
}
.v-page > .v-body { flex: 1; width: 100%; }
.v-page > .v-footer { margin-top: auto; }

/* ── Responsive ──────────────────────────────────────────────────────────────
   These flows were already mobile-first (420–560px columns), so the only thing
   that needed breakpoints is the chrome added above. */
@media (max-width: 640px) {
  .v-topbar { height: 56px; padding: 0 14px; gap: 8px; }
  .v-topbar-badge { width: 34px; height: 34px; }
  .v-topbar-word { font-size: 1.15rem; }
  .v-topbar-btn { width: 40px; height: 40px; }
  .v-topbar-btn svg { width: 20px; height: 20px; }
  .v-waffle { top: 62px; left: 10px; right: 10px; width: auto; max-height: calc(100vh - 130px); }
  .v-waffle-tile { padding: 8px; gap: 8px; }
  .v-footer { margin-top: 28px; }
  .v-footer-bottom { justify-content: flex-start; }
}
@media (max-width: 400px) {
  .v-topbar-suffix { display: none; }
}
