@charset "UTF-8";
/* ==========================================================================
   OneVerify — design system
   Built on IBM Carbon's structural language: the 8px spacing scale, the
   Carbon type ramp, productive motion curves, 48px field heights, square
   corners, and the fill-plus-underline input treatment.

   Carbon's neutral palette is replaced with the OneVerify brand:
     Primary   #0F766E  deep teal    — actions, interactive states
     Accent    #F59E0B  amber        — highlights, attention, assurance marks
     Ink       #0F172A  slate black  — text, UI shell header
     Canvas    #F8FAFC  slate tint   — page background
     Rule      #E2E8F0  soft slate   — borders and dividers
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* -- Brand ramps ------------------------------------------------------- */
  --teal-90:  #0B4F4A;
  --teal-80:  #0D5F59;
  --teal-70:  #0F766E;   /* primary */
  --teal-60:  #12897F;
  --teal-50:  #14A79A;
  --teal-20:  #99F6E4;
  --teal-10:  #CCFBF1;
  --teal-05:  #F0FDFA;

  --amber-70: #B45309;
  --amber-60: #D97706;
  --amber-50: #F59E0B;   /* accent */
  --amber-20: #FDE68A;
  --amber-10: #FEF3C7;
  --amber-05: #FFFBEB;

  --slate-90: #0F172A;   /* ink */
  --slate-80: #1E293B;
  --slate-70: #334155;
  --slate-60: #475569;
  --slate-50: #64748B;
  --slate-40: #94A3B8;
  --slate-30: #CBD5E1;
  --slate-20: #E2E8F0;   /* rule */
  --slate-10: #F1F5F9;
  --slate-05: #F8FAFC;   /* canvas */

  --red-70:   #B91C1C;
  --red-60:   #DC2626;
  --red-50:   #EF4444;
  --red-10:   #FEE2E2;
  --red-05:   #FEF2F2;

  --green-70: #15803D;
  --green-60: #16A34A;
  --green-10: #DCFCE7;
  --green-05: #F0FDF4;

  --blue-70:  #1D4ED8;
  --blue-60:  #2563EB;
  --blue-10:  #DBEAFE;
  --blue-05:  #EFF6FF;

  /* -- Semantic ---------------------------------------------------------- */
  --background:         var(--slate-05);
  --layer-01:           #FFFFFF;
  --layer-02:           var(--slate-05);
  --layer-accent:       var(--slate-10);
  --field-01:           var(--slate-10);
  --field-hover:        #E8EEF4;

  --text-primary:       var(--slate-90);
  --text-secondary:     var(--slate-60);
  --text-helper:        var(--slate-50);
  --text-placeholder:   var(--slate-40);
  --text-on-color:      #FFFFFF;
  --text-inverse:       #FFFFFF;
  --text-disabled:      var(--slate-40);

  --border-subtle:      var(--slate-20);
  --border-strong:      var(--slate-30);
  --border-inverse:     var(--slate-90);
  --border-interactive: var(--teal-70);

  --interactive:        var(--teal-70);
  --interactive-hover:  var(--teal-80);
  --interactive-active: var(--teal-90);

  --support-error:      var(--red-60);
  --support-success:    var(--green-60);
  --support-warning:    var(--amber-50);
  --support-info:       var(--blue-60);

  --focus:              var(--teal-70);
  --focus-inset:        #FFFFFF;

  --overlay:            rgba(15, 23, 42, .55);

  /* -- Spacing (Carbon scale) -------------------------------------------- */
  --s01: .125rem;  /*  2px */
  --s02: .25rem;   /*  4px */
  --s03: .5rem;    /*  8px */
  --s04: .75rem;   /* 12px */
  --s05: 1rem;     /* 16px */
  --s06: 1.5rem;   /* 24px */
  --s07: 2rem;     /* 32px */
  --s08: 2.5rem;   /* 40px */
  --s09: 3rem;     /* 48px */
  --s10: 4rem;     /* 64px */
  --s11: 5rem;     /* 80px */
  --s12: 6rem;     /* 96px */
  --s13: 10rem;    /* 160px */

  /* -- Structure --------------------------------------------------------- */
  --header-h:   3rem;      /* 48px — Carbon UI Shell */
  --sidenav-w:  16rem;     /* 256px */
  --field-h:    2.5rem;    /* 40px — field-01 */
  --field-h-lg: 3rem;      /* 48px — field-02 */
  --content-max: 90rem;

  /* -- Motion ------------------------------------------------------------ */
  --ease-productive: cubic-bezier(.2, 0, .38, .9);
  --ease-entrance:   cubic-bezier(0, 0, .38, .9);
  --ease-exit:       cubic-bezier(.2, 0, 1, .9);
  --ease-expressive: cubic-bezier(.4, .14, .3, 1);
  --dur-fast:   70ms;
  --dur-quick:  110ms;
  --dur-mod:    150ms;
  --dur-slow:   240ms;

  /* -- Elevation --------------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .06);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, .18);

  /* Carbon is square. The only rounded things are pills and avatars. */
  --radius: 0;
  --radius-pill: 62.5rem;

  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: .875rem;
  line-height: 1.43;
  letter-spacing: .16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { vertical-align: middle; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--interactive); text-decoration: none; }
a:hover { text-decoration: underline; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
hr { border: 0; border-top: 1px solid var(--border-subtle); margin: var(--s06) 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

::selection { background: var(--teal-10); color: var(--teal-90); }

/* --------------------------------------------------------------------------
   3. Typography — the Carbon ramp
   -------------------------------------------------------------------------- */
.ov-label     { font-size: .75rem;   line-height: 1.33; letter-spacing: .32px; color: var(--text-secondary); }
.ov-helper    { font-size: .75rem;   line-height: 1.33; letter-spacing: .32px; color: var(--text-helper); }
.ov-caption   { font-size: .75rem;   line-height: 1.33; letter-spacing: .32px; }
.ov-body-c    { font-size: .875rem;  line-height: 1.29; letter-spacing: .16px; }
.ov-body      { font-size: .875rem;  line-height: 1.43; letter-spacing: .16px; }
.ov-body-lg   { font-size: 1rem;     line-height: 1.5;  letter-spacing: 0; }
.ov-h-01      { font-size: .875rem;  line-height: 1.29; letter-spacing: .16px; font-weight: 600; }
.ov-h-02      { font-size: 1rem;     line-height: 1.375; letter-spacing: 0;    font-weight: 600; }
.ov-h-03      { font-size: 1.25rem;  line-height: 1.4;  letter-spacing: 0;     font-weight: 400; }
.ov-h-04      { font-size: 1.75rem;  line-height: 1.29; letter-spacing: 0;     font-weight: 400; }
.ov-h-05      { font-size: 2rem;     line-height: 1.25; letter-spacing: 0;     font-weight: 400; }
.ov-h-06      { font-size: 2.625rem; line-height: 1.19; letter-spacing: 0;     font-weight: 300; }
.ov-h-07      { font-size: 3.375rem; line-height: 1.19; letter-spacing: 0;     font-weight: 300; }

.ov-mono { font-family: var(--font-mono); letter-spacing: 0; }

.ov-muted     { color: var(--text-secondary); }
.ov-dim       { color: var(--text-helper); }
.ov-strong    { font-weight: 600; }
.ov-upper     { text-transform: uppercase; letter-spacing: .8px; font-size: .6875rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   4. UI Shell
   -------------------------------------------------------------------------- */
.ov-shell { min-height: 100vh; }

.ov-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 8000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--slate-90);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ov-header__menu {
  width: var(--header-h);
  height: var(--header-h);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--dur-quick) var(--ease-productive);
}
.ov-header__menu:hover { background: rgba(255, 255, 255, .1); }

.ov-header__brand {
  display: flex;
  align-items: center;
  gap: var(--s03);
  height: 100%;
  padding: 0 var(--s05);
  color: #fff;
  font-weight: 600;
  letter-spacing: .1px;
  white-space: nowrap;
}
.ov-header__brand:hover { text-decoration: none; background: rgba(255, 255, 255, .08); }

.ov-mark {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--teal-70);
  color: #fff;
  flex: none;
}
.ov-mark svg { width: 15px; height: 15px; }

.ov-header__brand b { font-weight: 600; }
.ov-header__brand span { font-weight: 300; opacity: .75; }

.ov-header__nav { display: flex; align-items: center; height: 100%; margin-left: var(--s04); }
.ov-header__nav a {
  display: flex; align-items: center;
  height: 100%; padding: 0 var(--s05);
  color: rgba(255, 255, 255, .82);
  font-size: .875rem;
  border-bottom: 2px solid transparent;
  transition: background var(--dur-quick) var(--ease-productive), color var(--dur-quick) var(--ease-productive);
}
.ov-header__nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.ov-header__nav a.is-active { color: #fff; border-bottom-color: var(--teal-50); background: rgba(255, 255, 255, .06); }

.ov-header__spacer { flex: 1; }

.ov-header__actions { display: flex; align-items: center; height: 100%; }

.ov-header__action {
  width: var(--header-h); height: var(--header-h);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .85);
  transition: background var(--dur-quick) var(--ease-productive);
}
.ov-header__action:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }

.ov-avatar {
  width: 28px; height: 28px;
  border-radius: var(--radius-pill);
  background: var(--teal-70);
  color: #fff;
  display: grid; place-items: center;
  font-size: .6875rem; font-weight: 600; letter-spacing: .4px;
  flex: none;
}
.ov-avatar--lg { width: 48px; height: 48px; font-size: 1rem; }

/* -- User menu ---------------------------------------------------------- */
.ov-usermenu { position: relative; height: 100%; }
.ov-usermenu__trigger {
  display: flex; align-items: center; gap: var(--s03);
  height: var(--header-h); padding: 0 var(--s05);
  color: #fff;
  transition: background var(--dur-quick) var(--ease-productive);
}
.ov-usermenu__trigger:hover { background: rgba(255, 255, 255, .1); }
.ov-usermenu__name { font-size: .8125rem; line-height: 1.2; text-align: left; }
.ov-usermenu__name small { display: block; font-size: .6875rem; opacity: .7; }

.ov-usermenu__panel {
  position: absolute; right: 0; top: var(--header-h);
  width: 17rem;
  background: var(--layer-01);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--dur-quick) var(--ease-exit),
              transform var(--dur-quick) var(--ease-exit),
              visibility 0s linear var(--dur-quick);
}
.ov-usermenu.is-open .ov-usermenu__panel {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity var(--dur-slow) var(--ease-entrance),
              transform var(--dur-slow) var(--ease-entrance),
              visibility 0s;
}
.ov-usermenu__head { padding: var(--s05); border-bottom: 1px solid var(--border-subtle); display: flex; gap: var(--s04); align-items: center; }
.ov-usermenu__head strong { display: block; font-size: .875rem; }
.ov-usermenu__head span { font-size: .75rem; color: var(--text-helper); word-break: break-all; }
.ov-usermenu__panel a,
.ov-usermenu__panel button {
  display: flex; align-items: center; gap: var(--s04);
  width: 100%; padding: var(--s04) var(--s05);
  color: var(--text-primary); font-size: .875rem; text-align: left;
  transition: background var(--dur-quick) var(--ease-productive);
}
.ov-usermenu__panel a:hover,
.ov-usermenu__panel button:hover { background: var(--layer-accent); text-decoration: none; }
.ov-usermenu__panel hr { margin: 0; }

/* -- Side navigation ----------------------------------------------------- */
.ov-sidenav {
  position: fixed;
  top: var(--header-h); bottom: 0; left: 0;
  width: var(--sidenav-w);
  background: var(--layer-01);
  border-right: 1px solid var(--border-subtle);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 7000;
  display: flex; flex-direction: column;
  transition: transform var(--dur-slow) var(--ease-productive);
}

.ov-sidenav__section { padding: var(--s05) 0 var(--s03); }
.ov-sidenav__title {
  padding: 0 var(--s05) var(--s03);
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  color: var(--text-helper);
}

.ov-sidenav a {
  display: flex; align-items: center; gap: var(--s04);
  min-height: 2rem; padding: var(--s03) var(--s05);
  color: var(--text-primary);
  font-size: .875rem; letter-spacing: .16px;
  border-left: 3px solid transparent;
  transition: background var(--dur-quick) var(--ease-productive),
              border-color var(--dur-quick) var(--ease-productive);
}
.ov-sidenav a:hover { background: var(--layer-accent); text-decoration: none; }
.ov-sidenav a.is-active {
  background: var(--teal-05);
  border-left-color: var(--teal-70);
  color: var(--teal-90);
  font-weight: 600;
}
.ov-sidenav a.is-active svg { color: var(--teal-70); }
.ov-sidenav a svg { color: var(--text-secondary); flex: none; }
.ov-sidenav__count {
  margin-left: auto;
  font-size: .6875rem; font-family: var(--font-mono);
  color: var(--text-helper);
  background: var(--layer-accent);
  padding: 1px var(--s02);
}
.ov-sidenav__foot { margin-top: auto; padding: var(--s05); border-top: 1px solid var(--border-subtle); }

.ov-sidenav__scrim {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--overlay);
  z-index: 6900;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-productive), visibility 0s linear var(--dur-slow);
}

/* -- Content ------------------------------------------------------------- */
.ov-main {
  margin-left: var(--sidenav-w);
  padding-top: var(--header-h);
  min-height: 100vh;
}
.ov-main--wide { margin-left: 0; }

.ov-container { max-width: var(--content-max); padding: var(--s07); margin: 0 auto; }
.ov-container--narrow { max-width: 56rem; }
.ov-container--tight { max-width: 40rem; }

/* -- Page header --------------------------------------------------------- */
.ov-pagehead {
  background: var(--layer-01);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--s06) var(--s07) 0;
}
.ov-pagehead__inner { max-width: var(--content-max); margin: 0 auto; }
.ov-pagehead__row { display: flex; align-items: flex-start; gap: var(--s06); flex-wrap: wrap; }
.ov-pagehead__text { flex: 1; min-width: 16rem; }
.ov-pagehead h1 { font-size: 1.75rem; font-weight: 400; line-height: 1.29; margin-bottom: var(--s02); }
.ov-pagehead p { color: var(--text-secondary); max-width: 46rem; }
.ov-pagehead__actions { display: flex; gap: var(--s03); flex-wrap: wrap; }
.ov-pagehead__tabs { margin-top: var(--s06); }

.ov-breadcrumb { display: flex; align-items: center; gap: var(--s02); margin-bottom: var(--s04); flex-wrap: wrap; }
.ov-breadcrumb a, .ov-breadcrumb span { font-size: .75rem; letter-spacing: .32px; }
.ov-breadcrumb a { color: var(--interactive); }
.ov-breadcrumb span { color: var(--text-helper); }
.ov-breadcrumb svg { color: var(--text-placeholder); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.ov-btn {
  --btn-bg: var(--interactive);
  --btn-fg: var(--text-on-color);
  --btn-bg-hover: var(--interactive-hover);
  --btn-bg-active: var(--interactive-active);
  --btn-border: transparent;

  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: var(--s07);
  min-height: var(--field-h-lg);
  max-width: 20rem;
  padding: var(--s04) var(--s05);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  font-size: .875rem; letter-spacing: .16px; font-weight: 400;
  text-align: left;
  text-decoration: none;
  transition: background var(--dur-quick) var(--ease-productive),
              color var(--dur-quick) var(--ease-productive),
              border-color var(--dur-quick) var(--ease-productive),
              box-shadow var(--dur-quick) var(--ease-productive);
}
.ov-btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); text-decoration: none; }
.ov-btn:active { background: var(--btn-bg-active); }
.ov-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -4px;
  box-shadow: inset 0 0 0 1px var(--focus-inset);
}
.ov-btn svg { flex: none; }
.ov-btn[disabled], .ov-btn.is-disabled {
  background: var(--slate-20); color: var(--text-disabled);
  border-color: transparent; cursor: not-allowed; pointer-events: none;
}

.ov-btn--secondary {
  --btn-bg: var(--slate-70); --btn-bg-hover: var(--slate-80); --btn-bg-active: var(--slate-90);
}
.ov-btn--tertiary {
  --btn-bg: transparent; --btn-fg: var(--interactive);
  --btn-border: var(--interactive);
  --btn-bg-hover: var(--interactive); --btn-bg-active: var(--interactive-active);
}
.ov-btn--tertiary:hover { color: var(--text-on-color); }
.ov-btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--interactive); --btn-border: transparent;
  --btn-bg-hover: var(--teal-05); --btn-bg-active: var(--teal-10);
}
.ov-btn--ghost:hover { color: var(--interactive-hover); }
.ov-btn--danger {
  --btn-bg: var(--red-60); --btn-bg-hover: var(--red-70); --btn-bg-active: #991B1B;
}
.ov-btn--danger-ghost {
  --btn-bg: transparent; --btn-fg: var(--red-60); --btn-border: transparent;
  --btn-bg-hover: var(--red-60); --btn-bg-active: var(--red-70);
}
.ov-btn--danger-ghost:hover { color: #fff; }
.ov-btn--accent {
  --btn-bg: var(--amber-50); --btn-fg: var(--slate-90);
  --btn-bg-hover: var(--amber-60); --btn-bg-active: var(--amber-70);
}
.ov-btn--accent:hover { color: #fff; }

.ov-btn--sm  { min-height: 2rem; padding: var(--s02) var(--s04); gap: var(--s05); font-size: .875rem; }
.ov-btn--md  { min-height: var(--field-h); padding: var(--s03) var(--s05); gap: var(--s06); }
.ov-btn--lg  { min-height: 4rem; padding: var(--s05); align-items: flex-start; }
.ov-btn--block { max-width: none; width: 100%; }
.ov-btn--icon { max-width: none; gap: 0; padding: var(--s04); justify-content: center; }
.ov-btn--icon.ov-btn--sm { padding: var(--s02); }

.ov-btnset { display: flex; flex-wrap: wrap; gap: 1px; }
.ov-btnset .ov-btn { flex: 1 1 auto; }

/* --------------------------------------------------------------------------
   6. Forms
   -------------------------------------------------------------------------- */
.ov-form { display: block; }

.ov-fieldset { border: 0; padding: 0; margin: 0 0 var(--s08); }
.ov-fieldset__legend {
  display: block; width: 100%;
  padding-bottom: var(--s04); margin-bottom: var(--s06);
  border-bottom: 1px solid var(--border-subtle);
  font-size: .875rem; font-weight: 600; letter-spacing: .16px;
}
.ov-fieldset__legend small { display: block; margin-top: var(--s02); font-weight: 400; color: var(--text-helper); }

.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s06) var(--s06); }
.ov-grid--1 { grid-template-columns: 1fr; }
.ov-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-grid__full { grid-column: 1 / -1; }

.ov-field { display: flex; flex-direction: column; min-width: 0; }
.ov-field__label {
  display: flex; align-items: baseline; gap: var(--s02);
  font-size: .75rem; line-height: 1.33; letter-spacing: .32px;
  color: var(--text-secondary);
  margin-bottom: var(--s02);
}
.ov-field__req { color: var(--red-60); font-weight: 600; }
.ov-field__optional { margin-left: auto; color: var(--text-placeholder); font-style: italic; }

/* Carbon's signature input: filled background, underline only. */
.ov-input, .ov-select, .ov-textarea {
  width: 100%;
  min-height: var(--field-h);
  padding: 0 var(--s05);
  background: var(--field-01);
  border: none;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: .875rem; letter-spacing: .16px;
  transition: background var(--dur-quick) var(--ease-productive),
              border-color var(--dur-quick) var(--ease-productive),
              outline-color var(--dur-quick) var(--ease-productive);
  appearance: none;
}
.ov-textarea { padding: var(--s04) var(--s05); min-height: 6rem; resize: vertical; line-height: 1.43; }
.ov-input:hover, .ov-select:hover, .ov-textarea:hover { background: var(--field-hover); }
.ov-input:focus, .ov-select:focus, .ov-textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
  border-bottom-color: transparent;
}
.ov-input::placeholder, .ov-textarea::placeholder { color: var(--text-placeholder); }
.ov-input:disabled, .ov-select:disabled, .ov-textarea:disabled {
  background: transparent; border-bottom-color: var(--border-subtle);
  color: var(--text-disabled); cursor: not-allowed;
}
.ov-input[readonly] { background: var(--layer-accent); }

.ov-select {
  padding-right: var(--s09);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23334155'%3E%3Cpath d='M16 22 6 12l1.41-1.41L16 19.17l8.59-8.58L26 12Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s05) center;
  background-size: 14px;
}

.ov-field__help { margin-top: var(--s02); font-size: .75rem; letter-spacing: .32px; color: var(--text-helper); }
.ov-field__error {
  display: flex; align-items: flex-start; gap: var(--s02);
  margin-top: var(--s02);
  font-size: .75rem; letter-spacing: .32px; color: var(--red-60);
}
.ov-field__error svg { flex: none; margin-top: 1px; }

.ov-field.has-error .ov-input,
.ov-field.has-error .ov-select,
.ov-field.has-error .ov-textarea {
  outline: 2px solid var(--red-60);
  outline-offset: -2px;
  border-bottom-color: transparent;
}

/* Input with a leading icon (search, code entry) */
.ov-inputwrap { position: relative; display: flex; align-items: center; }
.ov-inputwrap svg { position: absolute; left: var(--s05); color: var(--text-secondary); pointer-events: none; }
.ov-inputwrap .ov-input { padding-left: var(--s09); }
.ov-inputwrap__clear { position: absolute; right: 0; width: var(--field-h); height: var(--field-h); display: grid; place-items: center; color: var(--text-secondary); }
.ov-inputwrap__clear:hover { background: var(--field-hover); }

/* Checkbox & radio */
.ov-check { display: flex; align-items: flex-start; gap: var(--s04); cursor: pointer; padding: var(--s02) 0; }
.ov-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.ov-check__box {
  flex: none; width: 16px; height: 16px; margin-top: 2px;
  border: 1px solid var(--border-inverse);
  background: transparent;
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-productive), border-color var(--dur-fast) var(--ease-productive);
}
.ov-check__box svg { opacity: 0; color: #fff; width: 12px; height: 12px; }
.ov-check input:checked + .ov-check__box { background: var(--slate-90); border-color: var(--slate-90); }
.ov-check input:checked + .ov-check__box svg { opacity: 1; }
.ov-check input:focus-visible + .ov-check__box { outline: 2px solid var(--focus); outline-offset: 1px; }
.ov-check__text { font-size: .875rem; letter-spacing: .16px; }
.ov-check__text small { display: block; color: var(--text-helper); font-size: .75rem; letter-spacing: .32px; margin-top: 1px; }
.ov-check--radio .ov-check__box { border-radius: 50%; }
.ov-check--radio input:checked + .ov-check__box { background: transparent; box-shadow: inset 0 0 0 4px var(--slate-90); }
.ov-check--radio input:checked + .ov-check__box svg { display: none; }

/* Radio cards — used for assurance level and record status */
.ov-radiocards { display: grid; gap: var(--s03); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.ov-radiocard { position: relative; cursor: pointer; }
.ov-radiocard input { position: absolute; opacity: 0; }
.ov-radiocard__body {
  border: 1px solid var(--border-subtle);
  background: var(--layer-01);
  padding: var(--s05);
  height: 100%;
  transition: border-color var(--dur-quick) var(--ease-productive),
              background var(--dur-quick) var(--ease-productive),
              box-shadow var(--dur-quick) var(--ease-productive);
}
.ov-radiocard:hover .ov-radiocard__body { border-color: var(--border-strong); }
.ov-radiocard input:checked + .ov-radiocard__body {
  border-color: var(--teal-70); background: var(--teal-05);
  box-shadow: inset 0 0 0 1px var(--teal-70);
}
.ov-radiocard input:focus-visible + .ov-radiocard__body { outline: 2px solid var(--focus); outline-offset: 1px; }
.ov-radiocard__title { display: flex; align-items: center; gap: var(--s03); font-weight: 600; font-size: .875rem; margin-bottom: var(--s02); }
.ov-radiocard__title b {
  font-family: var(--font-mono); font-size: .6875rem;
  background: var(--slate-90); color: #fff; padding: 1px var(--s02);
}
.ov-radiocard p { font-size: .75rem; letter-spacing: .32px; color: var(--text-secondary); }

.ov-formactions {
  display: flex; gap: 1px; flex-wrap: wrap;
  margin-top: var(--s08); padding-top: var(--s06);
  border-top: 1px solid var(--border-subtle);
}
.ov-formactions .ov-btn { flex: 1 1 12rem; }

/* --------------------------------------------------------------------------
   7. Tiles
   -------------------------------------------------------------------------- */
.ov-tile {
  position: relative;
  background: var(--layer-01);
  border: 1px solid var(--border-subtle);
  padding: var(--s06);
  transition: border-color var(--dur-quick) var(--ease-productive),
              box-shadow var(--dur-quick) var(--ease-productive),
              transform var(--dur-quick) var(--ease-productive);
}
.ov-tile--flat { border-color: transparent; background: var(--layer-01); box-shadow: var(--shadow-sm); }
.ov-tile--pad-sm { padding: var(--s05); }

a.ov-tile, button.ov-tile { display: block; text-align: left; width: 100%; color: inherit; }
a.ov-tile:hover, button.ov-tile:hover {
  text-decoration: none;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Module launcher tile — the dashboard's centrepiece */
.ov-module {
  --accent: var(--teal-70);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--layer-01);
  border: 1px solid var(--border-subtle);
  padding: var(--s06);
  overflow: hidden;
  color: inherit;
  transition: border-color var(--dur-slow) var(--ease-productive),
              box-shadow var(--dur-slow) var(--ease-productive),
              transform var(--dur-slow) var(--ease-productive);
}
.ov-module::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-expressive);
}
.ov-module:hover {
  text-decoration: none;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.ov-module:hover::before { transform: scaleX(1); }
.ov-module:hover .ov-module__go { opacity: 1; transform: translateX(0); }

.ov-module__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  margin-bottom: var(--s05);
  flex: none;
}
.ov-module__name { font-size: 1rem; font-weight: 600; margin-bottom: var(--s02); }
.ov-module__tagline { font-size: .8125rem; color: var(--text-secondary); line-height: 1.46; flex: 1; }
.ov-module__stats {
  display: flex; gap: var(--s06);
  margin-top: var(--s06); padding-top: var(--s05);
  border-top: 1px solid var(--border-subtle);
}
.ov-module__stat b { display: block; font-size: 1.25rem; font-weight: 400; line-height: 1.2; font-family: var(--font-mono); }
.ov-module__stat span { font-size: .6875rem; text-transform: uppercase; letter-spacing: .8px; color: var(--text-helper); }
.ov-module__go {
  position: absolute; right: var(--s06); bottom: var(--s06);
  color: var(--accent);
  opacity: 0; transform: translateX(-4px);
  transition: opacity var(--dur-slow) var(--ease-productive), transform var(--dur-slow) var(--ease-productive);
}
.ov-module.is-locked { opacity: .55; pointer-events: none; }

/* Metric tiles */
.ov-metrics { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); background: var(--border-subtle); border: 1px solid var(--border-subtle); }
.ov-metric { background: var(--layer-01); padding: var(--s06); }
.ov-metric__label { display: flex; align-items: center; gap: var(--s03); font-size: .75rem; letter-spacing: .32px; color: var(--text-secondary); margin-bottom: var(--s04); }
.ov-metric__value { font-size: 2rem; font-weight: 300; line-height: 1.1; font-family: var(--font-mono); letter-spacing: -.5px; }
.ov-metric__delta { display: flex; align-items: center; gap: var(--s02); margin-top: var(--s03); font-size: .75rem; letter-spacing: .32px; color: var(--text-helper); }
.ov-metric__delta.is-up { color: var(--green-70); }
.ov-metric__delta.is-down { color: var(--red-60); }

/* --------------------------------------------------------------------------
   8. Data table
   -------------------------------------------------------------------------- */
.ov-tablewrap { background: var(--layer-01); border: 1px solid var(--border-subtle); }

.ov-toolbar {
  display: flex; align-items: center; gap: var(--s03);
  padding: var(--s03);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.ov-toolbar__search { flex: 1 1 16rem; min-width: 12rem; }
.ov-toolbar__search .ov-input { min-height: var(--field-h); }

.ov-tablescroll { overflow-x: auto; }

.ov-table { width: 100%; font-size: .875rem; }
.ov-table th {
  background: var(--layer-accent);
  padding: var(--s03) var(--s05);
  text-align: left;
  font-size: .75rem; font-weight: 600; letter-spacing: .32px;
  color: var(--text-primary);
  white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 1;
}
.ov-table th a { color: inherit; display: inline-flex; align-items: center; gap: var(--s02); }
.ov-table th a:hover { text-decoration: none; color: var(--interactive); }
.ov-table td {
  padding: var(--s04) var(--s05);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.ov-table tbody tr { transition: background var(--dur-fast) var(--ease-productive); }
.ov-table tbody tr:hover { background: var(--layer-02); }
.ov-table tbody tr:last-child td { border-bottom: 0; }
.ov-table__code { font-family: var(--font-mono); font-size: .8125rem; white-space: nowrap; }
.ov-table__actions { text-align: right; white-space: nowrap; }
.ov-table__primary { font-weight: 500; }
.ov-table__sub { display: block; font-size: .75rem; color: var(--text-helper); margin-top: 1px; }
.ov-table--compact td { padding: var(--s03) var(--s05); }

/* Empty & loading states */
.ov-empty { padding: var(--s11) var(--s07); text-align: center; }
.ov-empty__icon {
  width: 56px; height: 56px; margin: 0 auto var(--s05);
  display: grid; place-items: center;
  background: var(--layer-accent); color: var(--text-placeholder);
}
.ov-empty h3 { font-size: 1rem; font-weight: 600; margin-bottom: var(--s03); }
.ov-empty p { color: var(--text-secondary); max-width: 28rem; margin: 0 auto var(--s06); }

/* Pagination */
.ov-pagination {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s05); padding: var(--s03) var(--s05);
  border-top: 1px solid var(--border-subtle);
  font-size: .75rem; letter-spacing: .32px; color: var(--text-secondary);
  flex-wrap: wrap;
}
.ov-pagination__pages { display: flex; align-items: center; gap: var(--s02); }
.ov-pagination__pages a, .ov-pagination__pages span {
  min-width: 2rem; height: 2rem; padding: 0 var(--s03);
  display: grid; place-items: center;
  color: var(--text-primary);
  transition: background var(--dur-quick) var(--ease-productive);
}
.ov-pagination__pages a:hover { background: var(--layer-accent); text-decoration: none; }
.ov-pagination__pages .is-current { background: var(--slate-90); color: #fff; font-weight: 600; }
.ov-pagination__pages .is-disabled { color: var(--text-disabled); pointer-events: none; }

/* --------------------------------------------------------------------------
   9. Tags, badges & assurance marks
   -------------------------------------------------------------------------- */
.ov-tag {
  display: inline-flex; align-items: center; gap: var(--s02);
  height: 1.5rem; padding: 0 var(--s04);
  border-radius: var(--radius-pill);
  font-size: .75rem; letter-spacing: .32px; font-weight: 500;
  white-space: nowrap;
  background: var(--slate-10); color: var(--slate-70);
}
.ov-tag svg { width: 14px; height: 14px; flex: none; }
.ov-tag--success { background: var(--green-10); color: var(--green-70); }
.ov-tag--error   { background: var(--red-10);   color: var(--red-70); }
.ov-tag--warning { background: var(--amber-10); color: var(--amber-70); }
.ov-tag--info    { background: var(--blue-10);  color: var(--blue-70); }
.ov-tag--neutral { background: var(--slate-10); color: var(--slate-70); }
.ov-tag--teal    { background: var(--teal-10);  color: var(--teal-90); }
.ov-tag--solid   { background: var(--slate-90); color: #fff; }

.ov-assurance {
  display: inline-flex; align-items: center; gap: var(--s03);
  padding: var(--s02) var(--s04);
  background: var(--layer-accent);
  border-left: 3px solid var(--slate-40);
  font-size: .75rem; letter-spacing: .32px;
}
.ov-assurance b {
  font-family: var(--font-mono); font-weight: 600;
  font-size: .6875rem; letter-spacing: .5px;
}
.ov-assurance--success { background: var(--green-05); border-left-color: var(--green-60); color: var(--green-70); }
.ov-assurance--info    { background: var(--blue-05);  border-left-color: var(--blue-60);  color: var(--blue-70); }
.ov-assurance--warning { background: var(--amber-05); border-left-color: var(--amber-50); color: var(--amber-70); }

/* --------------------------------------------------------------------------
   10. Notifications
   -------------------------------------------------------------------------- */
.ov-note {
  display: flex; gap: var(--s05);
  padding: var(--s05);
  background: var(--layer-01);
  border-left: 3px solid var(--support-info);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--s05);
}
.ov-note__icon { flex: none; color: var(--support-info); margin-top: 1px; }
.ov-note__body { flex: 1; min-width: 0; }
.ov-note__title { font-size: .875rem; font-weight: 600; margin-bottom: var(--s02); }
.ov-note__text { font-size: .875rem; letter-spacing: .16px; color: var(--text-secondary); }
.ov-note__close { flex: none; color: var(--text-secondary); padding: var(--s01); align-self: flex-start; }
.ov-note__close:hover { color: var(--text-primary); }

.ov-note--success { border-left-color: var(--support-success); background: var(--green-05); }
.ov-note--success .ov-note__icon { color: var(--support-success); }
.ov-note--error   { border-left-color: var(--support-error);   background: var(--red-05); }
.ov-note--error .ov-note__icon { color: var(--support-error); }
.ov-note--warning { border-left-color: var(--support-warning); background: var(--amber-05); }
.ov-note--warning .ov-note__icon { color: var(--amber-70); }
.ov-note--info    { border-left-color: var(--support-info);    background: var(--blue-05); }

.ov-toasts { position: fixed; top: calc(var(--header-h) + var(--s05)); right: var(--s05); z-index: 9500; width: 22rem; max-width: calc(100vw - 2rem); }
.ov-toasts .ov-note { animation: ov-slide-in var(--dur-slow) var(--ease-entrance) both; }
@keyframes ov-slide-in { from { opacity: 0; transform: translateX(1rem); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   11. Modal
   -------------------------------------------------------------------------- */
.ov-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  padding: var(--s05);
  background: var(--overlay);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-productive), visibility 0s linear var(--dur-slow);
}
.ov-modal.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-slow) var(--ease-entrance), visibility 0s; }
.ov-modal__box {
  width: 100%; max-width: 32rem;
  background: var(--layer-01);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px) scale(.99);
  transition: transform var(--dur-slow) var(--ease-productive);
  max-height: 90vh; display: flex; flex-direction: column;
}
.ov-modal.is-open .ov-modal__box { transform: none; }
.ov-modal__head { padding: var(--s05) var(--s05) var(--s04); display: flex; align-items: flex-start; gap: var(--s05); }
.ov-modal__head h2 { font-size: 1.25rem; font-weight: 400; flex: 1; }
.ov-modal__head p { font-size: .75rem; letter-spacing: .32px; color: var(--text-helper); margin-top: var(--s02); }
.ov-modal__body { padding: 0 var(--s05) var(--s06); overflow-y: auto; flex: 1; }
.ov-modal__foot { display: flex; gap: 1px; }
.ov-modal__foot .ov-btn { flex: 1; max-width: none; }

/* --------------------------------------------------------------------------
   12. Tabs, switcher, structured list
   -------------------------------------------------------------------------- */
.ov-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border-subtle); overflow-x: auto; }
.ov-tabs a {
  padding: var(--s04) var(--s05);
  color: var(--text-secondary);
  font-size: .875rem; letter-spacing: .16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-quick) var(--ease-productive), border-color var(--dur-quick) var(--ease-productive);
}
.ov-tabs a:hover { color: var(--text-primary); text-decoration: none; border-bottom-color: var(--border-strong); }
.ov-tabs a.is-active { color: var(--text-primary); font-weight: 600; border-bottom-color: var(--teal-70); }

.ov-deflist { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s06) var(--s07); }
.ov-deflist__item { min-width: 0; }
.ov-deflist__term { font-size: .75rem; letter-spacing: .32px; color: var(--text-helper); margin-bottom: var(--s02); }
.ov-deflist__value { font-size: .875rem; letter-spacing: .16px; word-break: break-word; }
.ov-deflist__value--lg { font-size: 1rem; font-weight: 500; }
.ov-deflist__value--mono { font-family: var(--font-mono); }

/* Timeline for audit trails */
.ov-timeline { position: relative; padding-left: var(--s07); }
.ov-timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--border-subtle); }
.ov-timeline__item { position: relative; padding-bottom: var(--s06); }
.ov-timeline__item:last-child { padding-bottom: 0; }
.ov-timeline__dot {
  position: absolute; left: calc(var(--s07) * -1); top: 3px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--layer-01); border: 2px solid var(--border-strong);
}
.ov-timeline__dot--success { border-color: var(--green-60); background: var(--green-60); }
.ov-timeline__dot--error   { border-color: var(--red-60);   background: var(--red-60); }
.ov-timeline__dot--warning { border-color: var(--amber-50); background: var(--amber-50); }
.ov-timeline__dot--info    { border-color: var(--teal-70);  background: var(--teal-70); }
.ov-timeline__title { font-size: .875rem; font-weight: 500; }
.ov-timeline__meta { font-size: .75rem; letter-spacing: .32px; color: var(--text-helper); margin-top: var(--s01); }

/* --------------------------------------------------------------------------
   13. Public verification surface
   -------------------------------------------------------------------------- */
.ov-public { min-height: 100vh; display: flex; flex-direction: column; background: var(--background); }
.ov-public__main { flex: 1; }

.ov-hero {
  position: relative;
  background: linear-gradient(155deg, var(--slate-90) 0%, #10322F 55%, var(--teal-90) 100%);
  color: #fff;
  padding: var(--s12) var(--s07) var(--s13);
  overflow: hidden;
}
.ov-hero::after {
  content: '';
  position: absolute; right: -8%; top: -30%;
  width: 42rem; height: 42rem;
  background: radial-gradient(circle, rgba(20, 167, 154, .22) 0%, transparent 62%);
  pointer-events: none;
}
.ov-hero__inner { position: relative; max-width: 56rem; margin: 0 auto; text-align: center; }
.ov-hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--s03);
  padding: var(--s02) var(--s05);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  font-size: .75rem; letter-spacing: .32px;
  margin-bottom: var(--s06);
}
.ov-hero__eyebrow svg { color: var(--amber-50); }
.ov-hero h1 { font-size: clamp(2rem, 5vw, 3.375rem); font-weight: 300; line-height: 1.15; margin-bottom: var(--s05); }
.ov-hero h1 em { font-style: normal; color: var(--teal-50); }
.ov-hero p { font-size: 1.125rem; line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 40rem; margin: 0 auto; }

/* The verification console — lifted out of the hero */
.ov-console {
  max-width: 44rem; margin: -5rem auto 0;
  position: relative; z-index: 2;
  background: var(--layer-01);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
}
.ov-console__head { padding: var(--s06) var(--s07) var(--s05); border-bottom: 1px solid var(--border-subtle); }
.ov-console__head h2 { font-size: 1.25rem; font-weight: 400; margin-bottom: var(--s02); }
.ov-console__head p { font-size: .875rem; color: var(--text-secondary); }
.ov-console__body { padding: var(--s07); }

.ov-codeinput {
  width: 100%;
  height: 4.5rem;
  padding: 0 var(--s06);
  background: var(--field-01);
  border: none;
  border-bottom: 2px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: clamp(1.125rem, 4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: background var(--dur-quick) var(--ease-productive), border-color var(--dur-quick) var(--ease-productive);
}
.ov-codeinput::placeholder { color: var(--text-placeholder); letter-spacing: .08em; font-weight: 400; }
.ov-codeinput:hover { background: var(--field-hover); }
.ov-codeinput:focus { outline: 2px solid var(--focus); outline-offset: -2px; border-bottom-color: transparent; }

.ov-console__hint {
  display: flex; align-items: center; justify-content: center; gap: var(--s03);
  margin-top: var(--s05);
  font-size: .75rem; letter-spacing: .32px; color: var(--text-helper);
}

/* Verification result banner */
.ov-result { border: 1px solid var(--border-subtle); background: var(--layer-01); box-shadow: var(--shadow-md); }
.ov-result__banner {
  display: flex; align-items: center; gap: var(--s06);
  padding: var(--s07);
  color: #fff;
}
.ov-result__banner--verified { background: linear-gradient(135deg, var(--green-70) 0%, #0F766E 100%); }
.ov-result__banner--revoked,
.ov-result__banner--not_found { background: linear-gradient(135deg, var(--red-70) 0%, #7F1D1D 100%); }
.ov-result__banner--expired,
.ov-result__banner--pending  { background: linear-gradient(135deg, var(--amber-70) 0%, #78350F 100%); }

.ov-result__icon { flex: none; }
.ov-result__icon svg { width: 56px; height: 56px; }
.ov-result__headline { flex: 1; min-width: 0; }
.ov-result__status { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 300; letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; }
.ov-result__message { margin-top: var(--s03); font-size: .875rem; color: rgba(255, 255, 255, .85); max-width: 40rem; }
.ov-result__code {
  font-family: var(--font-mono); font-size: .8125rem;
  background: rgba(0, 0, 0, .22); padding: var(--s02) var(--s04);
  display: inline-block; margin-top: var(--s04);
  letter-spacing: .1em;
}
.ov-result__section { padding: var(--s07); border-top: 1px solid var(--border-subtle); }
.ov-result__section:first-of-type { border-top: 0; }
.ov-result__sectiontitle {
  font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .8px;
  color: var(--text-helper); margin-bottom: var(--s05);
}
.ov-result__issuer { display: flex; align-items: flex-start; gap: var(--s05); }
.ov-result__issuerlogo {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  background: var(--layer-accent); color: var(--text-secondary);
}
.ov-result__meta {
  display: flex; align-items: center; gap: var(--s05); flex-wrap: wrap;
  padding: var(--s05) var(--s07);
  background: var(--layer-02);
  border-top: 1px solid var(--border-subtle);
  font-size: .75rem; letter-spacing: .32px; color: var(--text-helper);
}
.ov-result__meta span { display: inline-flex; align-items: center; gap: var(--s02); }

.ov-qr { display: flex; gap: var(--s06); align-items: center; flex-wrap: wrap; }
.ov-qr__code { border: 1px solid var(--border-subtle); padding: var(--s03); background: #fff; flex: none; line-height: 0; }
.ov-qr__code svg { display: block; }

/* --------------------------------------------------------------------------
   14. Auth pages
   -------------------------------------------------------------------------- */
.ov-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.ov-auth__aside {
  background: linear-gradient(160deg, var(--slate-90) 0%, #10322F 60%, var(--teal-90) 100%);
  color: #fff;
  padding: var(--s10) var(--s09);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.ov-auth__aside::after {
  content: ''; position: absolute; left: -20%; bottom: -25%;
  width: 34rem; height: 34rem;
  background: radial-gradient(circle, rgba(20, 167, 154, .2) 0%, transparent 62%);
}
.ov-auth__asideinner { position: relative; margin: auto 0; max-width: 30rem; }
.ov-auth__aside h2 { font-size: 2rem; font-weight: 300; line-height: 1.2; margin-bottom: var(--s05); }
.ov-auth__aside p { color: rgba(255, 255, 255, .75); font-size: 1rem; line-height: 1.55; }
.ov-auth__points { margin-top: var(--s08); display: grid; gap: var(--s05); }
.ov-auth__point { display: flex; gap: var(--s04); align-items: flex-start; }
.ov-auth__point svg { color: var(--teal-50); flex: none; margin-top: 2px; }
.ov-auth__point b { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 2px; }
.ov-auth__point span { font-size: .8125rem; color: rgba(255, 255, 255, .68); line-height: 1.45; }

.ov-auth__main { display: flex; flex-direction: column; padding: var(--s07); overflow-y: auto; }
.ov-auth__form { margin: auto; width: 100%; max-width: 24rem; padding: var(--s07) 0; }
.ov-auth__form h1 { font-size: 1.75rem; font-weight: 400; margin-bottom: var(--s03); }
.ov-auth__form > p { color: var(--text-secondary); margin-bottom: var(--s08); }
.ov-auth__foot { text-align: center; font-size: .875rem; color: var(--text-secondary); margin-top: var(--s07); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.ov-footer { background: var(--slate-90); color: rgba(255, 255, 255, .7); padding: var(--s09) var(--s07) var(--s07); margin-top: auto; }
.ov-footer__inner { max-width: var(--content-max); margin: 0 auto; }
.ov-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s07); padding-bottom: var(--s07); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ov-footer h4 { color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: var(--s05); font-weight: 600; }
.ov-footer li { margin-bottom: var(--s03); }
.ov-footer a { color: rgba(255, 255, 255, .7); font-size: .875rem; }
.ov-footer a:hover { color: #fff; }
.ov-footer__brand p { font-size: .875rem; line-height: 1.55; max-width: 24rem; margin-top: var(--s04); }
.ov-footer__bottom { display: flex; justify-content: space-between; gap: var(--s05); padding-top: var(--s05); font-size: .75rem; letter-spacing: .32px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. Utilities
   -------------------------------------------------------------------------- */
.ov-stack   { display: flex; flex-direction: column; }
.ov-stack-03 > * + * { margin-top: var(--s03); }
.ov-stack-05 > * + * { margin-top: var(--s05); }
.ov-stack-06 > * + * { margin-top: var(--s06); }
.ov-stack-07 > * + * { margin-top: var(--s07); }
.ov-row     { display: flex; align-items: center; gap: var(--s04); }
.ov-row--between { justify-content: space-between; }
.ov-row--wrap { flex-wrap: wrap; }
.ov-row--top { align-items: flex-start; }
.ov-spacer  { flex: 1; }

.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: var(--s03); }
.mt-5 { margin-top: var(--s05); }
.mt-6 { margin-top: var(--s06); }
.mt-7 { margin-top: var(--s07); }
.mb-3 { margin-bottom: var(--s03); }
.mb-5 { margin-bottom: var(--s05); }
.mb-6 { margin-bottom: var(--s06); }
.mb-7 { margin-bottom: var(--s07); }

.ov-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.ov-skip {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--teal-70); color: #fff; padding: var(--s04) var(--s05);
}
.ov-skip:focus { left: 0; }

.ov-divider { height: 1px; background: var(--border-subtle); margin: var(--s06) 0; }

.ov-copy {
  display: inline-flex; align-items: center; gap: var(--s02);
  font-family: var(--font-mono); font-size: .8125rem;
  background: var(--layer-accent); padding: var(--s02) var(--s04);
  color: var(--text-primary); cursor: pointer;
  transition: background var(--dur-quick) var(--ease-productive);
}
.ov-copy:hover { background: var(--slate-20); text-decoration: none; }
.ov-copy svg { color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1055px) {
  .ov-header__menu { display: flex; }
  .ov-header__nav { display: none; }
  .ov-sidenav { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  .ov-shell.nav-open .ov-sidenav { transform: none; }
  .ov-shell.nav-open .ov-sidenav__scrim { opacity: 1; visibility: visible; transition: opacity var(--dur-slow) var(--ease-productive), visibility 0s; }
  .ov-main { margin-left: 0; }
  .ov-auth { grid-template-columns: 1fr; }
  .ov-auth__aside { display: none; }
  .ov-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 671px) {
  .ov-container, .ov-pagehead { padding-left: var(--s05); padding-right: var(--s05); }
  .ov-grid, .ov-grid--3 { grid-template-columns: 1fr; }
  .ov-hero { padding: var(--s09) var(--s05) var(--s11); }
  .ov-console { margin-left: var(--s05); margin-right: var(--s05); }
  .ov-console__body, .ov-console__head { padding-left: var(--s05); padding-right: var(--s05); }
  .ov-result__banner { flex-direction: column; align-items: flex-start; gap: var(--s05); padding: var(--s06) var(--s05); }
  .ov-result__section, .ov-result__meta { padding-left: var(--s05); padding-right: var(--s05); }
  .ov-footer__top { grid-template-columns: 1fr; }
  .ov-formactions .ov-btn { flex: 1 1 100%; }
  .ov-usermenu__name { display: none; }
  .ov-metric__value { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   18. Print — verification receipts have to survive a laser printer
   -------------------------------------------------------------------------- */
@media print {
  :root { --background: #fff; }
  body { background: #fff; font-size: 11pt; }
  .ov-header, .ov-sidenav, .ov-footer, .ov-toasts,
  .ov-noprint, .ov-formactions, .ov-toolbar, .ov-pagination { display: none !important; }
  .ov-main { margin: 0; padding: 0; }
  .ov-container { max-width: none; padding: 0; }
  .ov-tile, .ov-result, .ov-tablewrap { border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .ov-result__banner { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a[href]::after { content: ''; }
  .ov-printonly { display: block !important; }
}
.ov-printonly { display: none; }
