@font-face {
  font-family: "Plex Sans";
  src: url("./plex-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("./plex-sans-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("./plex-sans-semibold.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
/* Shared visual system. Module CSS continues to own its functional layout. */
body[data-interface] {
  --navy: #102b48;
  --ink: #182d43;
  --teal: #075fc5;
  --teal-dark: #084d9c;
  --green: #075fc5;
  --dark: #102b48;
  --paper: #f3f6fa;
  --line: #dce4ee;
  --muted: #53677d;
  --mint: #eaf2fc;
  --danger: #a52234;
  color: var(--ink);
  background: var(--paper);
  font:
    400 15px/1.6 "Plex Sans",
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
[data-interface] *,
[data-interface] *::before,
[data-interface] *::after {
  box-sizing: border-box;
}
[data-interface] [hidden] {
  display: none !important;
}
[data-interface] :is(button, input, select, textarea) {
  font-family: inherit;
}
[data-interface] :is(button, a, summary, label) {
  -webkit-tap-highlight-color: #0b69d226;
  touch-action: manipulation;
}
[data-interface]
  :is(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #0879d5;
  outline-offset: 3px;
}
[data-interface] :is(h1, h2, h3) {
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.025em;
}
[data-interface] h1 {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}
[data-interface] h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}
[data-interface] h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
[data-interface] :is(p, small, dd, dt, li, label) {
  overflow-wrap: anywhere;
}
[data-interface] p {
  line-height: 1.65;
}
[data-interface] :is(.lead, .muted, .hint) {
  color: var(--muted);
}
[data-interface] .lead {
  font-size: 16px;
  max-width: 74ch;
  line-height: 1.65;
}
[data-interface]
  :is(.hint, .lab-note, .environment, .field-intro, .recovery-hint) {
  font-size: 13px;
  line-height: 1.6;
}
[data-interface] small {
  font-size: 13px;
}
[data-interface] .eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
[data-interface] :is(pre, code) {
  font-size: 12px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
[data-interface] :is(strong, .metric, .monitoring-metrics, table, progress) {
  font-variant-numeric: tabular-nums;
}
[data-interface]
  main
  a:not(.button):not(.brand):not(.case-button):not(.nav-link) {
  color: #075fc5;
  text-underline-offset: 3px;
}
[data-interface] main :is(p, small, li) a {
  text-decoration: underline;
}
[data-interface] a:hover {
  text-decoration-thickness: 2px;
}
[data-interface] main {
  min-width: 0;
}
[data-interface] .portal-content > main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px clamp(22px, 3vw, 48px) 56px;
}
[data-interface] #workspace.workspace {
  grid-template-columns: 264px minmax(0, 1fr);
}
[data-interface] #workspace.workspace > main {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(22px, 3vw, 48px) 56px;
}
[data-interface] .page-heading {
  padding: 30px 0 24px;
  gap: 24px;
  align-items: flex-start;
}
[data-interface] .page-heading p {
  font-size: 15px;
  max-width: 74ch;
}
[data-interface] .topbar {
  min-height: 70px;
  font-size: 13px;
  gap: 16px;
}
[data-interface] .portal-content .intro {
  gap: 24px;
  margin-bottom: 28px;
  align-items: flex-start;
}
[data-interface] .portal-content .intro > div:first-child {
  flex: 1 1 340px;
  min-width: 0;
}
[data-interface] .scope {
  border-left: 3px solid #8bb5df;
  padding: 4px 0 4px 18px;
  max-width: 290px;
  flex: 0 1 290px;
  font-size: 13px;
  color: var(--muted);
}
[data-interface] .scope b {
  font-size: 15px;
  color: var(--ink);
}
[data-interface] :is(.card, .panel) {
  border-color: var(--line);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 1px 2px #172e3a04;
}
[data-interface] :is(.card, .panel) > :last-child {
  margin-bottom: 0;
}
[data-interface] .section-head {
  margin-bottom: 24px;
  gap: 14px;
}
[data-interface] .section-head p {
  color: var(--muted);
  font-size: 14px;
}
[data-interface] .step {
  background: #eaf2fc;
  color: #075fc5;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
[data-interface] :is(.metrics, .monitoring-metrics, .overview) {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  margin-bottom: 26px;
}
[data-interface] :is(.metrics, .monitoring-metrics) > article,
[data-interface] .overview > div {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 24px;
  background: transparent;
  min-width: 0;
}
[data-interface] :is(.metrics, .monitoring-metrics, .overview) > :last-child {
  border-right: 0;
}
[data-interface] :is(.metrics, .monitoring-metrics) strong {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  margin: 9px 0;
}
[data-interface] :is(.metrics, .monitoring-metrics) :is(small, p),
[data-interface] .overview p {
  font-size: 13px;
  color: var(--muted);
}
[data-interface] .overview {
  padding: 0;
}
[data-interface] .overview .small-value {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}
[data-interface] progress {
  accent-color: var(--teal);
  height: 6px;
}
[data-interface] progress::-webkit-progress-value {
  background: var(--teal);
}
[data-interface] .portal-help {
  margin: 0 0 24px;
  border: 0;
  border-left: 3px solid #8bb5df;
  background: #eaf1f9;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  color: var(--ink);
}
[data-interface] .portal-help > p {
  font-size: 14px;
  margin: 0 0 6px;
  max-width: 88ch;
}
[data-interface] .portal-help details {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
[data-interface] .portal-help summary {
  font-size: 13px;
  color: #075fc5;
  font-weight: 500;
  cursor: pointer;
  min-height: 30px;
  padding-block: 4px;
}
[data-interface] .portal-help details :is(p, h3) {
  max-width: 80ch;
  font-size: 14px;
}
[data-interface] .portal-help details h3 {
  margin-top: 16px;
}
[data-interface] :is(button, .button) {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  padding: 11px 16px;
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  border-radius: 8px;
  border: 1px solid #b9c8d9;
  background: white;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 120ms ease,
    border-color 120ms ease;
}
[data-interface] :is(button, .button):hover:not(:disabled) {
  background: #edf3fb;
  border-color: #6d95c1;
}
[data-interface] :is(button.primary, .button.primary) {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
[data-interface] :is(button.primary, .button.primary):hover:not(:disabled) {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
[data-interface] button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
[data-interface] :is(button.danger, .danger-button) {
  color: #a52234;
  border-color: #dfacb5;
  background: #fff6f7;
}
[data-interface]
  :is(.actions, .quick-actions, .queue-bulk, .toolbar, .save-row) {
  gap: 10px;
}
[data-interface] label,
[data-interface] #workspace label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
[data-interface]
  :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
[data-interface]
  #workspace
  :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  max-width: 100%;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid #aebfd1;
  border-radius: 7px;
  padding: 11px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  min-height: 46px;
}
[data-interface] input:disabled {
  background: #eef2f7;
  color: #53677d;
}
[data-interface] :is(input, textarea)::placeholder {
  color: #667b91;
  opacity: 1;
}
[data-interface] :is(input[type="checkbox"], input[type="radio"]) {
  width: 18px;
  min-width: 18px;
  height: 18px;
  accent-color: var(--teal);
}
[data-interface] :is(.check, .check-label) {
  cursor: pointer;
  min-height: 40px;
  align-items: flex-start;
}
[data-interface] input::file-selector-button {
  border: 0;
  border-radius: 5px;
  background: #eaf2fc;
  color: #084d9c;
  padding: 7px 10px;
  margin-right: 10px;
  font: inherit;
  cursor: pointer;
}
[data-interface]
  :is(.form-grid, .review-form, .work-form, .capture-grid, .legal-inline)
  > * {
  min-width: 0;
}
[data-interface] .form-grid {
  gap: 8px 24px;
}
[data-interface] .form-grid small {
  font-weight: 400;
  color: var(--muted);
}
[data-interface] .capture-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
[data-interface] #empty-preview {
  width: min(320px, 100%);
}
[data-interface] .viewfinder {
  min-width: 0;
  width: 100%;
  background: #eef3f9;
  border-color: #b9cada;
}
[data-interface] .viewfinder::before {
  border-color: #b8cbdc;
}
[data-interface] .capture-tabs button {
  font-size: 14px;
  background: white;
  border-color: var(--line);
}
[data-interface] .capture-tabs button.selected {
  background: #eaf2fc;
  border-color: #075fc5;
  color: #084d9c;
}
[data-interface] .capture-tabs button span {
  font-size: 12px;
  color: var(--muted);
}
[data-interface] .consent-card {
  background: #fbfcfe;
  border-color: var(--line);
}
[data-interface] .consent-card :is(p, details, .check-label) {
  font-size: 14px;
}
[data-interface] .consent-state {
  font-size: 13px;
  color: #07546d;
}
[data-interface] .consent-card button {
  font-size: 14px;
}
[data-interface] .review-panel {
  background: #eaf2fc;
  border-color: #bacfe6;
}
[data-interface] :is(.tag, .status-pill, .pill, .sample-state) {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  padding: 6px 10px;
  text-transform: none;
}
[data-interface] .status-pill {
  color: #235376;
  background: #eaf2fc;
  border-color: #bfd4eb;
}
[data-interface] #notice {
  font-size: 14px;
  line-height: 1.6;
  border-radius: 10px;
  max-width: min(580px, calc(100vw - 32px));
  box-shadow: 0 6px 24px #102b4814;
  z-index: 30;
}
[data-interface] #notice.error {
  background: #fff1f1;
  border: 1px solid #e6b5b5;
  color: #8a2133;
}
[data-interface] :is(section[id], h1, h2, h3, [tabindex="-1"]) {
  scroll-margin-top: 24px;
}
[data-interface] details > summary {
  cursor: pointer;
}
[data-interface] main details > summary {
  min-height: 40px;
  padding-block: 8px;
  font-size: 14px;
  font-weight: 500;
}
[data-interface] .vl-disclosure-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-left: 12px;
}
[data-interface] .vl-radar-settings {
  margin: 0 0 24px;
  padding: 8px 20px;
  background: #fff;
}
[data-interface] .vl-radar-settings[open] {
  padding-bottom: 22px;
}
[data-interface] .monitoring-status {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 22px;
  margin: 0 0 4px;
  border-bottom: 1px solid var(--line);
}
[data-interface] .monitoring-status strong {
  font-size: 17px;
}
[data-interface] .monitoring-status p {
  color: var(--muted);
  max-width: 75ch;
}
[data-interface] .monitoring-tabs {
  border-bottom: 1px solid #c9d6e4;
  gap: 4px;
  padding: 0;
  margin-bottom: 26px;
}
[data-interface] .monitoring-tabs a {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
}
[data-interface] .monitoring-tabs a[aria-current] {
  background: transparent;
  color: #075fc5;
  border-bottom-color: #075fc5;
  font-weight: 600;
}
[data-interface] .monitoring-tabs a:hover {
  background: #eaf2fc;
}
[data-interface] .queue-tabs {
  padding-bottom: 8px;
}
[data-interface] .queue-tabs button {
  font-size: 13px;
  border-radius: 7px;
}
[data-interface] .queue-tabs button[aria-pressed="true"] {
  background: #eaf2fc;
  border-color: #80a8d2;
  color: #084d9c;
}
[data-interface] .queue-entry {
  padding: 22px;
  border-color: var(--line);
  border-radius: 10px;
}
[data-interface] .queue-entry h3 {
  font-size: 18px;
}
[data-interface] .empty-state {
  border: 1px solid var(--line);
  background: #fff;
  padding: 32px;
  border-radius: 10px;
}
[data-interface] .legal-list {
  background: #edf2f8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
[data-interface] .legal-next,
[data-interface] .next-step {
  background: #eaf2fc;
  color: #184b7c;
  border-radius: 8px;
}
[data-interface] .legal-stage > summary {
  font-size: 17px;
}
[data-interface] .legal-layout {
  grid-template-columns: 270px minmax(0, 1fr);
}
[data-interface] .voice-recorder {
  border-color: #b8cfe6;
  background: #f1f6fc;
  padding: 24px;
}
[data-interface] .record-monitor strong {
  font-size: 36px;
  color: #075fc5;
}
[data-interface] .evaluation-steps {
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 0;
  overflow: hidden;
}
[data-interface] .evaluation-steps li {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  font-size: 14px;
  background: white;
}
[data-interface] .evaluation-steps li[aria-current] {
  background: #eaf2fc;
}
[data-interface] .evaluation-source {
  border-color: #c3d5e8;
  border-left-color: #075fc5;
  background: #f7faff;
}
[data-interface] .evaluation-source #sample-text {
  font-size: 18px;
  line-height: 1.8;
}
/* Entry pages: the brand is the visual focus; the steps explain the service. */
[data-interface] .auth-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
[data-interface] :is(.auth-layout > .intro, .auth-story) {
  background: #102b48;
  color: #fff;
  padding: clamp(32px, 4vw, 64px);
}
[data-interface] .auth-layout > .intro::after {
  display: none;
}
[data-interface] :is(.intro-copy, .auth-story) h1 {
  color: white;
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
[data-interface] .intro-copy {
  padding: 40px 0;
}
[data-interface] .intro-copy > p {
  font-size: 16px;
  color: #c2d3e6;
  max-width: 50ch;
}
[data-interface] .intro-copy .eyebrow {
  display: none;
}
[data-interface] :is(.auth-story, .intro-foot) .eyebrow,
[data-interface] .auth-story > .eyebrow {
  color: #b5d9f3;
}
[data-interface] .intro-foot {
  font-size: 13px;
  color: #bed0e4;
  line-height: 1.6;
}
[data-interface] .vl-brand-full {
  width: 276px;
  padding: 8px 14px 12px;
  background: #e7eef5;
  border-radius: 10px;
}
[data-interface] .vl-brand-full span {
  font-family: inherit;
  font-size: 12px;
}
[data-interface] .auth-story .vl-brand-full {
  margin-bottom: 42px;
}
[data-interface] .vl-auth-journey {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
[data-interface] .vl-auth-journey li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
[data-interface] .vl-auth-journey li > span {
  color: #78c5f6;
  font-size: 13px;
  padding-top: 3px;
}
[data-interface] .vl-auth-journey b {
  display: block;
  color: #f4f8ff;
  font-size: 16px;
  font-weight: 500;
}
[data-interface] .vl-auth-journey small {
  display: block;
  color: #bdcee0;
  font-size: 13px;
}
[data-interface] :is(.auth-side, .auth-panel) {
  padding: 48px;
  background: #fff;
}
[data-interface] :is(.auth-card, .auth-box) {
  max-width: 440px;
  width: 100%;
}
[data-interface] .auth-card h2 {
  font-size: 31px;
  line-height: 1.25;
}
[data-interface] .switcher {
  background: #edf2f8;
  padding: 4px;
}
[data-interface] .switcher button {
  border: 0;
  background: transparent;
  color: #53677d;
}
[data-interface] .switcher button.selected {
  color: #075fc5;
  background: #fff;
  box-shadow: 0 1px 3px #102b4812;
}
[data-interface] .auth-foot {
  color: #b8cee3;
  margin-top: 40px;
  font-size: 12px;
}
[data-interface] .recovery-shell {
  max-width: 580px;
  margin: 48px auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 20px #102b4808;
}
/* Admin uses the same information hierarchy and mobile navigation. */
[data-interface] .workspace > .sidebar:not(.portal-sidebar) {
  width: auto;
  position: sticky;
  top: 0;
  height: 100dvh;
  align-self: start;
  padding: 28px 18px 18px;
  background: #102b48;
  color: #fff;
  overflow: auto;
}
[data-interface] .sidebar .brand.vl-brand-compact {
  font:
    600 23px/1.2 "Plex Sans",
    sans-serif;
  gap: 8px;
}
[data-interface] .sidebar .vl-brand-compact small {
  font-family: inherit;
  color: #c0d3e8;
  font-size: 10px;
  max-width: 165px;
}
[data-interface] .vl-workspace-kind {
  color: #a9bed4;
  font-size: 12px;
  margin: 20px 12px 0;
}
[data-interface] .vl-admin-menu {
  border: 0;
  padding: 0;
  margin: 0;
}
[data-interface] .vl-admin-menu > summary {
  display: none;
}
[data-interface] .vl-admin-menu nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: stretch;
  margin-top: 0;
}
[data-interface] .vl-admin-menu .nav-label {
  color: #a9bed4;
  font-size: 12px;
  font-weight: 500;
  margin: 24px 12px 8px;
}
[data-interface] .vl-admin-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #dce8f6;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}
[data-interface] .vl-admin-menu .nav-link:hover {
  background: #203d5d;
  color: white;
}
[data-interface] .vl-admin-menu .nav-link.selected {
  background: #1d4e7b;
  border-color: #3973a3;
  color: #fff;
}
[data-interface] .sidebar :is(a, button, summary):focus-visible {
  outline-color: #67d9ee;
}
[data-interface] .sidebar-bottom .quiet {
  color: #fff;
  border-color: #496786;
  background: transparent;
  width: 100%;
}
[data-interface] .sidebar-bottom .quiet:hover {
  background: #203d5d;
}
[data-interface] .service {
  border-color: var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 24px;
}
[data-interface] .service h3 {
  font-size: 18px;
}
[data-interface] .service p {
  font-size: 14px;
}
[data-interface] .vl-integration-search {
  display: grid;
  gap: 7px;
  max-width: 520px;
  margin: 20px 0 24px;
}
[data-interface] .vl-integration-search label {
  margin: 0;
}
[data-interface] .vl-integration-search p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
[data-interface] .table-wrap {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}
[data-interface] th {
  background: #edf2f8;
  font-size: 12px;
  font-weight: 600;
  color: #435b73;
  text-transform: none;
  letter-spacing: 0;
}
[data-interface] td {
  font-size: 14px;
  padding: 15px 12px;
}
[data-interface] tbody tr:hover {
  background: #f7faff;
}
[data-interface] dialog {
  max-width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 80px #102b482e;
}
[data-interface] dialog::backdrop {
  background: #102b4870;
}
[data-interface] .vl-skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  transform: translateY(-150%);
  z-index: 100;
  color: #fff;
  background: #075fc5;
  padding: 12px 18px;
  border-radius: 6px;
}
[data-interface] .vl-skip-link:focus {
  transform: translateY(0);
}
@media (max-width: 1100px) {
  [data-interface] #workspace.workspace {
    grid-template-columns: 232px minmax(0, 1fr);
  }
  [data-interface] .capture-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-interface] .legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  [data-interface] .sidebar .brand.vl-brand-compact {
    font-size: 21px;
  }
  [data-interface] .sidebar .vl-brand-symbol {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  [data-interface] .portal-content .intro {
    display: block;
  }
  [data-interface] .scope {
    max-width: none;
    margin-top: 18px;
  }
  [data-interface] .auth-side,
  [data-interface] .auth-panel {
    padding: 32px;
  }
}
@media (max-width: 900px) {
  [data-interface] .legal-layout,
  [data-interface] .two-columns,
  [data-interface] .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-interface] .layout > aside {
    position: static;
  }
  [data-interface] .services {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-interface] :is(.metrics, .monitoring-metrics) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-interface] :is(.metrics, .monitoring-metrics) > article {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 760px) {
  [data-interface] :is(.portal-shell, #workspace.workspace, .auth-layout) {
    display: block;
  }
  [data-interface] .portal-content > main {
    padding: 26px 18px 40px;
  }
  [data-interface] #workspace.workspace > main {
    padding: 0 18px 40px;
  }
  [data-interface] :is(.card, .panel) {
    padding: 20px;
  }
  [data-interface] .page-heading {
    flex-direction: column;
    gap: 14px;
  }
  [data-interface] .overview {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-interface] .overview > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  [data-interface] .overview > div:last-child {
    border-bottom: 0;
  }
  [data-interface] :is(.metrics, .monitoring-metrics) > article {
    padding: 18px;
  }
  [data-interface] .scope {
    max-width: none;
  }
  [data-interface] .portal-module-topbar .tag {
    font-size: 11px;
  }
  [data-interface] :is(.auth-layout > .intro, .auth-story) {
    padding: 24px;
  }
  [data-interface] .vl-brand-full {
    width: 210px;
  }
  [data-interface] .intro-copy {
    padding: 20px 0 0;
  }
  [data-interface] .intro-copy h1 {
    font-size: 36px;
    margin: 18px 0 14px;
  }
  [data-interface] .intro-copy > p {
    font-size: 14px;
    margin-bottom: 0;
  }
  [data-interface] .vl-auth-journey {
    display: none;
  }
  [data-interface] .intro-foot {
    margin-top: 22px;
    font-size: 12px;
  }
  [data-interface] .auth-story h1 {
    font-size: 30px;
  }
  [data-interface] :is(.auth-side, .auth-panel) {
    padding: 30px 24px;
  }
  [data-interface] .auth-card h2 {
    font-size: 27px;
  }
  [data-interface] .portal-help {
    padding: 14px 16px;
  }
  [data-interface] .monitoring-tabs {
    gap: 0;
  }
  [data-interface] .monitoring-tabs a {
    padding: 11px 12px;
  }
  [data-interface] .vl-disclosure-note {
    display: block;
    margin: 4px 0 0;
  }
  [data-interface] .recovery-shell {
    padding: 24px;
    margin: 20px 12px;
  }
  [data-interface] .workspace > .sidebar:not(.portal-sidebar) {
    position: relative;
    height: auto;
    min-height: 86px;
    padding: 18px 16px;
    overflow: visible;
  }
  [data-interface] .vl-workspace-kind {
    display: none;
  }
  [data-interface] .vl-admin-menu > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 20px;
    right: 16px;
    cursor: pointer;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #496786;
    border-radius: 8px;
    font-size: 13px;
    list-style: none;
  }
  [data-interface] .vl-admin-menu > summary::-webkit-details-marker {
    display: none;
  }
  [data-interface] .vl-admin-menu nav {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  [data-interface] .workspace > .sidebar:not(.portal-sidebar) .brand {
    max-width: calc(100% - 85px);
  }
  [data-interface] .workspace > .sidebar:not(.portal-sidebar) .sidebar-bottom {
    display: block;
    margin-top: 16px;
    padding: 0;
    position: static;
  }
  [data-interface]
    .workspace
    > .sidebar:not(.portal-sidebar):has(.vl-admin-menu:not([open]))
    .sidebar-bottom {
    display: none;
  }
  [data-interface]
    .workspace
    > .sidebar:not(.portal-sidebar)
    .sidebar-bottom
    .tag {
    display: none;
  }
  [data-interface] .sidebar-bottom #actor {
    font-size: 12px;
  }
}
@media (max-width: 420px) {
  [data-interface] :is(.form-grid, .consent-grid, .work-form, .review-form) {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-interface] .review-form button {
    grid-column: auto;
  }
  [data-interface] .sidebar .brand.vl-brand-compact {
    font-size: 19px;
  }
  [data-interface] .sidebar .vl-brand-compact small {
    font-size: 9px;
  }
  [data-interface] .sidebar .vl-brand-symbol {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  [data-interface] .capture-tabs {
    gap: 5px;
  }
  [data-interface] .capture-tabs button {
    padding: 9px 6px;
    font-size: 12px;
  }
  [data-interface] .toolbar {
    flex-wrap: wrap;
  }
  [data-interface] .sample-navigation select {
    min-width: 0;
  }
  [data-interface] .record-monitor {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  [data-interface] *,
  [data-interface] *::before,
  [data-interface] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  [data-interface] {
    background: white;
    color: #111;
    font-size: 11pt;
  }
  [data-interface] .vl-skip-link,
  [data-interface] .sidebar,
  [data-interface] .portal-module-topbar,
  [data-interface] .topbar {
    display: none !important;
  }
  [data-interface] :is(.portal-shell, #workspace.workspace) {
    display: block;
  }
  [data-interface] .portal-content > main,
  [data-interface] #workspace.workspace > main {
    padding: 0;
    max-width: none;
  }
  [data-interface] :is(.card, .panel) {
    box-shadow: none;
  }
}

/* Shared navigation must also work in Admin, which has no portal-shell CSS. */
[data-interface] .vl-nav-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
[data-interface] .portal-sidebar .nav-link > .vl-nav-text {
  font-size: inherit;
  color: inherit;
}
[data-interface] .identity-nav-steps .nav-link > span[aria-hidden] {
  color: #c4d9ef;
}
[data-interface] #capture-count > small {
  color: #53677d;
}
[data-interface] .environment {
  color: #53677d;
}
[data-interface] .subtle {
  color: #53677d;
  background: #edf2f8;
}
[data-interface] .sidebar .brand.vl-brand-standard {
  display: flex;
  width: 208px;
  max-width: 100%;
  padding: 8px;
  border-radius: 10px;
  background: #e6edf2;
  box-sizing: border-box;
  margin-bottom: 24px;
}
[data-interface] .vl-brand-standard img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 760px) {
  [data-interface] .sidebar .brand.vl-brand-standard {
    width: 150px;
    max-width: calc(100% - 85px);
    margin-bottom: 0;
  }
}

/* Transparent artwork on navy surfaces. Only the dark raster tagline is
   lightened with a decorative layer; the supplied image files stay unchanged. */
[data-interface] .auth-layout .vl-brand-full,
[data-interface] .sidebar .brand.vl-brand-standard {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: #d9e9f9;
  flex-direction: column;
  align-items: center;
}
[data-interface] .vl-logo-artwork {
  display: block;
  position: relative;
  width: 100%;
  line-height: 0;
}
[data-interface] .vl-logo-artwork .vl-logo-lettering {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  clip-path: inset(81% 0 0 0);
  pointer-events: none;
}
[data-interface] .auth-layout .vl-brand-full > span:not(.vl-logo-artwork),
[data-interface] .sidebar .vl-brand-caption {
  color: #d9e9f9;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

/* Keep the portal introduction close to its logo instead of vertically centered. */
[data-interface] #auth-screen .intro-copy {
  margin: 24px 0 0;
  padding: 0;
}
[data-interface] #auth-screen .intro-copy h1 {
  margin: 0 0 24px;
}
[data-interface] #auth-screen .intro-foot {
  margin-top: auto;
  padding-top: 28px;
}
