/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --vf-ink: #243420;
  --vf-green: #57a234;
  --vf-cream: #f6f4ec;
  --vf-pale: #eef3e4;
  --vf-paper: #ffffff;
  --vf-line: rgba(36, 52, 32, 0.16);
  --vf-mute: #6a7566;
  --vf-display: Georgia, "Times New Roman", serif;
  --vf-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--vf-cream);
  color: var(--vf-ink);
  font-family: var(--vf-body);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.onboarding-page {
  min-height: 100vh;
  padding: 48px 20px 64px;
}

.onboarding-wrap {
  width: min(720px, 100%);
  margin: 0 auto;
}

.onboarding-brand {
  margin-bottom: 24px;
  color: var(--vf-ink);
  font-family: var(--vf-display);
  font-size: 20px;
}

.onboarding-brand span {
  color: var(--vf-green);
}

.onboarding-title {
  margin-bottom: 6px;
  font-family: var(--vf-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.onboarding-subtitle,
.onboarding-hint {
  color: var(--vf-mute);
}

.onboarding-subtitle {
  margin-bottom: 24px;
}

.onboarding-copy {
  margin-bottom: 14px;
  color: var(--vf-mute);
  font-size: 13px;
}

.onboarding-card {
  padding: 22px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.onboarding-step-count {
  margin-bottom: 8px;
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.onboarding-steps {
  display: flex;
  margin-bottom: 28px;
}

.onboarding-step {
  flex: 1;
  padding: 10px 0 10px 14px;
  border-top: 3px solid var(--vf-line);
  color: var(--vf-mute);
  font-size: 12px;
}

.onboarding-step.is-active {
  border-color: var(--vf-green);
  color: var(--vf-ink);
}

.onboarding-step.is-done {
  border-color: var(--vf-ink);
}

.onboarding-step strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.onboarding-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.onboarding-field label {
  color: #2e4228;
  font-size: 12px;
  font-weight: 600;
}

.onboarding-field input,
.onboarding-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
  color: var(--vf-ink);
}

.onboarding-combobox {
  position: relative;
}

.onboarding-combobox-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 240px;
  margin: 4px 0 0;
  padding: 4px 0;
  overflow-y: auto;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
  box-shadow: 0 8px 24px rgba(36, 52, 32, 0.14);
  list-style: none;
}

.onboarding-combobox-option {
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}

.onboarding-combobox-option:hover {
  background: var(--vf-pale);
}

.onboarding-combobox-empty {
  padding: 8px 12px;
  color: var(--vf-mute);
  font-size: 13px;
}

.onboarding-field[hidden] {
  display: none;
}

.onboarding-checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.onboarding-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--vf-line);
  font-size: 13.5px;
  cursor: pointer;
}

.onboarding-checkbox:last-child {
  border-bottom: 0;
}

.onboarding-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--vf-green);
}

.onboarding-checkbox input:disabled + span {
  color: var(--vf-mute);
  text-decoration: line-through;
}

.onboarding-url {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-cream);
}

.onboarding-url span {
  flex: 1;
  overflow: hidden;
  color: var(--vf-ink);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-hint {
  font-size: 12px;
}

.onboarding-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--vf-line);
}

.onboarding-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.onboarding-back {
  padding: 8px 10px;
  border-radius: 3px;
  color: var(--vf-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.onboarding-back:hover {
  background: var(--vf-pale);
}

.onboarding-types {
  margin-bottom: 14px;
}

.onboarding-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  border-bottom: 1px solid var(--vf-line);
  cursor: pointer;
}

.onboarding-type strong,
.onboarding-type small {
  display: block;
}

.onboarding-type strong {
  font-size: 16px;
  font-weight: 600;
}

.onboarding-type small {
  margin-top: 4px;
  color: var(--vf-mute);
  font-size: 13px;
}

.onboarding-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.onboarding-switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #cdd5c3;
  transition: background 0.15s ease;
}

.onboarding-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: left 0.15s ease;
}

.onboarding-type input:checked+.onboarding-switch {
  background: var(--vf-green);
}

.onboarding-type input:checked+.onboarding-switch::after {
  left: 19px;
}

.onboarding-record-storage-field {
  margin-bottom: 16px;
}

.onboarding-record-storage-field>label {
  color: #2e4228;
  font-size: 12px;
  font-weight: 600;
}

.onboarding-multiselect {
  display: grid;
  gap: 4px 16px;
  grid-template-columns: repeat(2, 1fr);
  margin: 10px 0;
}

.onboarding-checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
}

.onboarding-checkbox-option input {
  flex: none;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: none;
}

.onboarding-button {
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--vf-green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.onboarding-button:hover {
  background: #4c8f2d;
}

.onboarding-button:focus-visible,
.onboarding-back:focus-visible,
.onboarding-field input:focus-visible,
.onboarding-field select:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .public-profile-grid {
      grid-template-columns: 1fr;
  }


  .onboarding-card {
    padding: 18px;
  }

  .onboarding-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }

  .onboarding-step {
    padding-left: 0;
  }

  .onboarding-url {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .onboarding-multiselect {
    grid-template-columns: 1fr;
  }
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
    height: 100vh;
  margin: 0;
  color: var(--vf-ink);
}

.dashboard-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}

.dashboard-sidebar {
  position: sticky;
    top: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100vh;
  padding: 22px 16px;
  overflow-y: auto;
  background: var(--vf-ink);
  color: #dfe8cf;
}

.dashboard-brand {
  padding: 0 10px 18px;
  color: #fff;
  font-family: var(--vf-display);
  font-size: 20px;
}

.dashboard-brand span {
  color: #b6d95c;
}

.dashboard-organization {
  margin-bottom: 12px;
  padding: 0 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-organization strong,
.dashboard-organization span {
  display: block;
}

.dashboard-organization strong {
  color: #fff;
  font-size: 13px;
    font-weight: 500;
}

.dashboard-organization span,
.dashboard-user {
  color: #aab89a;
  font-size: 13px;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-nav a,
.dashboard-sidebar-footer a,
.dashboard-signout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #dfe8cf;
  font-size: 13.5px;
  text-align: left;
  text-decoration: none;
}

.dashboard-nav a:hover,
.dashboard-sidebar-footer a:hover,
.dashboard-signout:hover,
.dashboard-nav a.is-active {
  background: var(--vf-ink-2, #2e4228);
  color: #fff;
}

.dashboard-nav a span {
  width: 16px;
  color: #b6d95c;
  font-size: 16px;
  text-align: center;
}

.dashboard-nav a b {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 500;
}

.dashboard-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
    bottom: 0;
  margin-top: auto;
  padding: 12px 10px 0;
    font-size: 11.5px;
    color: #8fa07e;
  background: var(--vf-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-sidebar-footer a svg,
.dashboard-signout svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.dashboard-user {
  padding: 6px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-signout {
  cursor: pointer;
}

.dashboard-main {
  min-width: 0;
  height: 100vh;
  padding: 54px 40px 70px;
  overflow-y: auto;
  background: var(--vf-cream);
}

.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--vf-line);
}

.dashboard-eyebrow {
  margin-bottom: 4px;
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-header h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--vf-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

.dashboard-muted,
.dashboard-stat small,
.dashboard-table small {
  color: var(--vf-mute);
}

.dashboard-muted {
  margin-top: 10px;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--vf-ink);
  border-radius: 3px;
  color: var(--vf-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.dashboard-button:hover {
  background: var(--vf-pale);
}

.dashboard-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.dashboard-button:disabled:hover {
  background: none;
}

.dashboard-button-primary {
  border-color: var(--vf-green);
  background: var(--vf-green);
  color: #fff;
}

.dashboard-button-primary:hover {
  border-color: #4c8f2d;
  background: #4c8f2d;
}

.dashboard-button.dashboard-button-case {
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
}

.dashboard-button-sentence {
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  pointer-events: none;
}

.dashboard-stat-grid,
.dashboard-content-grid {
  display: grid;
  gap: 16px;
}

.dashboard-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-stat,
.dashboard-panel,
.dashboard-verify-callout {
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.dashboard-stat {
  min-height: 190px;
  padding: 24px;
}

.dashboard-stat-warning {
  border-color: #e6cf93;
}

.dashboard-stat>span {
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-stat strong {
  display: block;
  margin: 26px 0 8px;
  font-family: var(--vf-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.dashboard-stat-warning strong {
  color: #7a5209;
}

.dashboard-stat small {
  font-size: 13px;
}

.dashboard-content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.dashboard-panel {
  min-width: 0;
  padding: 22px;
}

.dashboard-panel h2 {
  margin: 0 0 14px;
  font-family: var(--vf-display);
  font-size: 22px;
  font-weight: 400;
}

.kv {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px 16px;
  font-size: 13px;
}

.kv dt {
  color: var(--vf-mute);
}

.kv dd {
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.dashboard-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-panel-heading a {
  color: var(--vf-ink);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dashboard-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--vf-line);
  vertical-align: middle;
}

.dashboard-table td:nth-child(2) {
  color: var(--vf-mute);
  text-align: right;
  white-space: nowrap;
}

.dashboard-table td:last-child {
  width: 48px;
  text-align: right;
}

.dashboard-table strong,
.dashboard-table small {
  display: block;
}

.dashboard-timeline {
  margin: 0 0 0 6px;
  padding: 0 0 0 20px;
  border-left: 1px solid var(--vf-line);
  list-style: none;
}

.dashboard-timeline li {
  position: relative;
  padding: 0 0 18px 12px;
  font-size: 13px;
}

.dashboard-timeline li::before {
  position: absolute;
  top: 5px;
  left: -25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vf-green);
  content: "";
}

.dashboard-timeline strong,
.dashboard-timeline small {
  display: block;
}

.dashboard-timeline small {
  margin-top: 3px;
  color: var(--vf-mute);
  font-size: 11px;
}

.dashboard-onboarding-prompt,
.dashboard-verify-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--vf-pale);
}

.dashboard-onboarding-prompt {
  margin-top: 0;
  margin-bottom: 20px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
}

.dashboard-onboarding-prompt strong,
.dashboard-verify-callout strong {
  font-weight: 600;
}

.dashboard-onboarding-prompt p,
.dashboard-verify-callout p {
  margin-top: 4px;
  color: var(--vf-mute);
  font-size: 13px;
}

.dashboard-verify-callout code {
  color: var(--vf-ink);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

@media (max-width: 980px) {
  .dashboard-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .dashboard-main {
    padding-right: 24px;
    padding-left: 24px;
  }

  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-actions {
    justify-content: flex-start;
  }

  .dashboard-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-shell {
    position: relative;
    display: block;
    margin: 0;
  }

  .dashboard-sidebar {
    position: fixed;
      top: 0;
      left: 0;
      z-index: 30;
      width: min(78vw, 300px);
      height: 100vh;
      padding: 18px 16px 14px;
      transform: translateX(-105%);
      transition: transform 0.2s ease;
      box-shadow: 12px 0 30px rgba(0, 0, 0, 0.18);
    }

    .dashboard-shell.is-open .dashboard-sidebar {
      transform: translateX(0);
    }

    body.mobile-menu-open .dashboard-menu-toggle {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .dashboard-menu-toggle {
      position: fixed;
      top: 14px;
      left: 14px;
      z-index: 40;
      transition: opacity 0.15s ease, visibility 0.15s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 4px;
      width: 38px;
      height: 38px;
      padding: 8px 7px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 6px;
      background: rgba(36, 52, 32, 0.82);
      color: #dfe8cf;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    }

    .dashboard-menu-toggle span {
      display: block;
      width: 18px;
      height: 2px;
      border-radius: 2px;
      background: currentColor;
    }

    .dashboard-mobile-overlay {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: none;
      background: rgba(13, 22, 15, 0.48);
    }

    .dashboard-mobile-overlay.is-visible {
      display: block;
    }

    .dashboard-brand {
      padding: 0 10px 14px;
    }

    .dashboard-organization {
      margin-bottom: 10px;
      padding: 0 10px 14px;
  }

  .dashboard-nav {
    display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .dashboard-nav a,
    .dashboard-sidebar-footer a,
    .dashboard-signout {
      width: 100%;
  }

  .dashboard-main {
    padding: 54px 16px 40px;
    }

    .dashboard-header {
      margin-top: 8px;
  }

  .dashboard-header h1 {
    font-size: 32px;
  }

  .dashboard-stat-grid,
  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-verify-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 901px) {

  .dashboard-menu-toggle,
  .dashboard-mobile-overlay {
    display: none !important;
  }
}
.professionals-header {
  align-items: center;
}

.professionals-header h1 {
  font-size: 38px;
}

.professionals-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.professionals-toolbar-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.professionals-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(360px, 100%);
  padding: 10px 14px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
}

.professionals-search span {
  color: var(--vf-ink);
  font-size: 24px;
  line-height: 1;
}

.professionals-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--vf-ink);
  font-size: 16px;
}

.professionals-search:focus-within {
  outline: 2px solid var(--vf-green);
  outline-offset: 2px;
}

.professionals-count {
  color: var(--vf-mute);
  font-size: 12px;
}

.professionals-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

.professionals-filters select {
  padding: 9px 36px 9px 14px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  appearance: none;
  background: var(--vf-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23222' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--vf-ink);
  font-size: 13px;
}

.professionals-filters select:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: 2px;
}

.professionals-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.professionals-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  font-size: 13px;
}

.professionals-table th {
  padding: 14px 22px;
  border-bottom: 1px solid var(--vf-line);
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.professionals-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--vf-line);
  vertical-align: middle;
}

.professionals-table tr:last-child td {
  border-bottom: 0;
}

.professionals-table tr:hover td {
  background: var(--vf-pale);
}

.professionals-row {
  cursor: pointer;
}

.professionals-row:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: -2px;
}

.professional-table-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.professional-table-link:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: 3px;
}
.professionals-table strong,
.professionals-table small,
.professional-credential {
  display: block;
}

.professionals-table strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.professionals-table small {
  margin-top: 4px;
  color: var(--vf-mute);
  font-size: 12px;
  white-space: nowrap;
}

.professional-credential {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0;
  white-space: nowrap;
}

.professional-credential-code {
  font-size: 13px;
  font-weight: 600;
}

.professional-credential-expiry {
  color: var(--vf-mute);
  font-size: 12px;
}

.professional-credential-more {
  display: block;
  margin-top: 4px;
  color: var(--vf-mute);
  font-size: 12px;
}

.professional-status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.professional-status-active {
  background: var(--vf-green);
  color: #fff;
}

.professional-status-expiring {
  background: #f3e3bd;
  color: #7a5209;
}

.professional-status-expired {
  background: #f1d3cd;
  color: #7a2416;
}

.professional-status-revoked {
  background: var(--vf-ink);
  color: #fff;
}

.professional-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--vf-mute);
  font-size: 12px;
}

.professional-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.professional-breadcrumb a:hover {
  color: var(--vf-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.professional-form-header {
  align-items: flex-start;
}

.professional-form-card {
  padding: 42px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.professional-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.professional-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.professional-field-wide {
  grid-column: 1 / -1;
}

.professional-field label {
  color: var(--vf-ink);
  font-size: 12px;
  font-weight: 600;
}

.professional-field input,
.professional-field select,
.professional-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  font-size: 15px;
}

.professional-field textarea {
  min-height: 96px;
  resize: vertical;
}

.professional-field input::placeholder,
.professional-field textarea::placeholder {
  color: var(--vf-mute);
  opacity: 0.85;
}

.professional-field input:focus-visible,
.professional-field select:focus-visible,
.professional-field textarea:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: 2px;
}

.professional-field small {
  color: var(--vf-mute);
  font-size: 12px;
}

.professional-form-error {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid #e1aaa0;
  border-radius: 3px;
  background: #f5ddd8;
  color: #7a2416;
  font-size: 13px;
}

.professional-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--vf-line);
}

.professional-cancel {
  margin-right: auto;
  padding: 8px 10px;
  color: var(--vf-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.professional-cancel:hover {
  background: var(--vf-pale);
}

.professional-form-footer button:focus-visible,
.professional-cancel:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: 2px;
}

.settings-header {
  align-items: flex-start;
}

.settings-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 20px;
  overflow-x: auto;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.settings-tabs a {
  padding: 12px 18px;
  border-right: 1px solid var(--vf-line);
  color: var(--vf-ink);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.settings-tabs a:last-child {
  border-right: 0;
}

.settings-tabs a:hover {
  background: var(--vf-pale);
}

.settings-tabs a.is-active {
  background: var(--vf-ink);
  color: #fff;
}

.settings-card {
  width: min(100%, 640px);
  padding: 42px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.settings-wide-card {
  width: min(100%, 900px);
}

.settings-section-heading {
  margin-bottom: 20px;
}

.settings-section-heading h2 {
  margin-bottom: 6px;
  font-family: var(--vf-display);
  font-size: 24px;
  font-weight: 400;
}

.settings-section-heading p {
  color: var(--vf-mute);
  font-size: 13px;
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.settings-table th,
.settings-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--vf-line);
  text-align: left;
}

.settings-table th {
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.settings-table code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.settings-table-empty {
  padding: 32px 0;
  color: var(--vf-mute);
  font-size: 13px;
  text-align: center;
}

.settings-table-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.settings-table-toolbar .settings-section-heading {
  min-width: 0;
  margin-bottom: 0;
}

.settings-table-toolbar .dashboard-button {
  flex: none;
  white-space: nowrap;
}

.settings-table-actions {
  display: flex;
  gap: 14px;
  text-align: right;
  white-space: nowrap;
}

.settings-table-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--vf-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.settings-table-link:hover {
  color: var(--vf-green);
}

.settings-table-link-danger {
  color: #b3412f;
}

.settings-table-link-danger:hover {
  color: #8f3325;
}

.settings-badge-archived {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--vf-pale);
  color: var(--vf-mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.settings-code-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--vf-pale);
  color: #2e4228;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}

.settings-table-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--vf-line);
}

.settings-table-caption {
  color: var(--vf-mute);
  font-size: 12px;
  text-align: right;
}

.settings-table-archived {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--vf-line);
}

.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--vf-line);
  font-size: 14px;
}

.settings-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--vf-green);
}

.settings-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.settings-plan-grid div {
  padding: 18px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-pale);
}

.settings-plan-grid span,
.settings-plan-grid strong {
  display: block;
}

.settings-plan-grid span {
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.settings-plan-grid strong {
  margin-top: 8px;
  font-size: 15px;
}
.settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.settings-field label {
  color: var(--vf-ink);
  font-size: 13px;
  font-weight: 600;
}

.settings-field input,
.settings-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  font-size: 15px;
}

.settings-field input:focus-visible,
.settings-field select:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: 2px;
}

.settings-field-narrow input {
  max-width: 420px;
}

.credential-code-input {
  width: auto;
  max-width: 160px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.settings-field small {
  color: var(--vf-mute);
  font-size: 12px;
}

.settings-url {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-cream);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}

.settings-url span {
  white-space: nowrap;
}

.settings-url input {
  min-width: 0;
  padding: 3px 0;
  border: 0;
  background: transparent;
  font-family: inherit;
}

.settings-field-label {
  color: var(--vf-ink);
  font-size: 13px;
  font-weight: 600;
}

.settings-url-readonly {
  color: var(--vf-mute);
}

.settings-url-lock {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--vf-mute);
}

.settings-url-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.settings-url-copy {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--vf-ink);
  font-family: var(--vf-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.settings-url-copy:hover {
  color: var(--vf-green);
}

.settings-logo-uploader {
  margin-top: 6px;
}

.settings-logo-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1.5px dashed rgba(36, 52, 32, 0.35);
  border-radius: 4px;
}

.settings-logo-empty-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: var(--vf-cream);
  color: var(--vf-mute);
}

.settings-logo-empty-icon svg {
  width: 22px;
  height: 22px;
}

.settings-logo-empty-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.settings-logo-empty-info strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--vf-ink);
}

.settings-logo-empty-info small {
  color: var(--vf-mute);
  font-size: 12.5px;
}

.settings-logo-upload-button {
  flex: none;
  gap: 8px;
}

.settings-logo-upload-button svg {
  width: 14px;
  height: 14px;
}

.settings-logo-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.settings-logo-preview-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 6px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-cream);
  overflow: hidden;
}

.settings-logo-preview-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.settings-logo-preview-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.settings-logo-preview-info strong {
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--vf-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-logo-preview-info small {
  color: var(--vf-mute);
  font-size: 12.5px;
}

.settings-logo-preview-actions {
  display: flex;
  flex: none;
  gap: 10px;
}

.settings-field-error {
  margin-top: 8px;
  color: #b3412f;
  font-size: 12px;
}

.settings-field-error p {
  margin: 0;
}

.settings-field-error p + p {
  margin-top: 4px;
}

.settings-field-error a {
  color: #b3412f;
  font-weight: 600;
  text-decoration: underline;
}

.credential-code-suggestion {
  color: var(--vf-mute);
}

.credential-code-suggestion a {
  color: var(--vf-ink);
  font-weight: 600;
  text-decoration: underline;
}

.credential-code-error-message {
  display: flex;
  align-items: center;
  gap: 5px;
}

.credential-code-error-message svg {
  flex: none;
  color: #b3412f;
}

.credential-code-input.has-error {
  border-color: #b3412f;
}

.settings-form-error {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(179, 65, 47, 0.35);
  border-radius: 3px;
  background: #fbecea;
  color: #b3412f;
  font-size: 13px;
}

.settings-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--vf-line);
}

.settings-notice {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(87, 162, 52, 0.35);
  border-radius: 3px;
  background: var(--vf-pale);
  color: #2e4228;
  font-size: 13px;
}

.credential-modal {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(480px, 100vw);
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--vf-line);
  border-radius: 0;
  background: var(--vf-paper);
  box-shadow: -20px 0 48px rgba(36, 52, 32, 0.18);
}

.credential-modal[open] {
  display: flex;
  flex-direction: column;
  animation: credential-drawer-in 0.22s ease-out;
}

@keyframes credential-drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.credential-modal::backdrop {
  background: rgba(36, 52, 32, 0.45);
}

.credential-modal form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.credential-modal-center {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100vw - 40px));
  height: fit-content;
  max-height: 85vh;
  margin: auto;
  border: 1px solid var(--vf-line);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(36, 52, 32, 0.22);
}

.credential-modal-center[open] {
  animation: credential-modal-pop-in 0.15s ease-out;
}

@keyframes credential-modal-pop-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.credential-modal-center form {
  height: auto;
  max-height: 85vh;
}

.credential-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 20px 24px;
  border-bottom: 1px solid var(--vf-line);
}

.credential-modal-header h3 {
  font-family: var(--vf-display);
  font-size: 19px;
  font-weight: 400;
}

.credential-modal-close {
  padding: 0;
  border: 0;
  background: none;
  color: var(--vf-mute);
  font-size: 22px;
  line-height: 1;
}

.credential-modal-close:hover {
  color: var(--vf-ink);
}

.credential-modal-body {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
}

.credential-modal-body .settings-form-error {
  margin: 0 0 16px;
}

.credential-modal-footer {
  display: flex;
  align-items: center;
  flex: none;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--vf-line);
}

.credential-modal-footer-hint {
  margin-right: auto;
  color: var(--vf-mute);
  font-size: 12.5px;
  line-height: 1.35;
}

.credential-validity-custom {
  margin-top: 10px;
}

.credential-months-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.credential-months-input {
  width: auto;
  max-width: 100px;
  flex: none;
}

.credential-months-suffix {
  color: var(--vf-ink);
  font-size: 15px;
}

.credential-validity-custom small {
  display: block;
  margin-top: 6px;
  color: var(--vf-mute);
  font-size: 12px;
}

.credential-combobox {
  position: relative;
}

.credential-combobox-input-wrap {
  position: relative;
}

.credential-combobox-input-wrap input {
  padding-right: 32px;
}

.credential-combobox-input-wrap:has(.credential-combobox-inline-badge:not([hidden])) input {
  padding-right: 190px;
}

.credential-combobox-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--vf-mute);
  font-size: 11px;
  pointer-events: none;
}

.credential-combobox-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 280px;
  margin: 4px 0 0;
  padding: 4px 0;
  overflow-y: auto;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
  box-shadow: 0 8px 24px rgba(36, 52, 32, 0.14);
  list-style: none;
}

.credential-combobox-section-header {
  padding: 10px 14px 6px;
  color: var(--vf-mute);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-combobox-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--vf-body);
  cursor: pointer;
}

.credential-combobox-option:hover {
  background: var(--vf-pale);
}

.credential-combobox-option-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.credential-combobox-option strong {
  font-weight: 600;
  color: var(--vf-ink);
}

.credential-combobox-match {
  color: var(--vf-green);
  text-decoration: underline;
  text-decoration-color: var(--vf-green);
}

.credential-combobox-option-category {
  color: var(--vf-mute);
  font-weight: 400;
}

.credential-combobox-code-pill {
  flex: none;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--vf-pale);
  color: #2e4228;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.credential-combobox-option-add {
  font-size: 15px;
  font-weight: 600;
  color: var(--vf-ink);
}

.credential-combobox-empty {
  padding: 10px 14px;
  color: var(--vf-mute);
  font-size: 14px;
}

.credential-combobox-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--vf-line);
  background: var(--vf-cream);
  color: var(--vf-mute);
  font-size: 13px;
  cursor: pointer;
}

.credential-combobox-footer-link {
  color: var(--vf-ink);
  font-weight: 700;
  text-decoration: underline;
}

.credential-combobox-footer:hover {
  background: var(--vf-pale);
  color: var(--vf-ink);
}

.credential-combobox-option-disabled {
  cursor: default;
  opacity: 0.55;
}

.credential-combobox-option-disabled:hover {
  background: none;
}

.credential-combobox-badge {
  flex: none;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--vf-pale);
  color: var(--vf-mute);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credential-combobox-inline-badge {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transform: translateY(-50%);
  padding: 3px 4px 3px 10px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credential-combobox-inline-badge-preset {
  background: var(--vf-pale);
  color: #2e4228;
}

.credential-combobox-inline-badge-custom {
  background: #f3e3bd;
  color: #7a5209;
}

.credential-combobox-badge-clear {
  padding: 0 2px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 13px;
  line-height: 1;
  opacity: 0.7;
}

.credential-combobox-badge-clear:hover {
  opacity: 1;
}

.credential-combobox-meta {
  display: block;
  margin-top: 6px;
  color: var(--vf-mute);
  font-size: 12px;
}

.credential-modal-hint {
  display: block;
  margin-top: 10px;
  color: var(--vf-mute);
  font-size: 12px;
}

.credential-select {
  position: relative;
}

.credential-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  font-size: 15px;
  text-align: left;
}

.credential-select-trigger:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: 2px;
}

.credential-select-chevron {
  color: var(--vf-mute);
  font-size: 13px;
}

.credential-select-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 4px 0 0;
  padding: 4px 0;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
  box-shadow: 0 8px 24px rgba(36, 52, 32, 0.14);
  list-style: none;
}

.credential-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}

.credential-select-option:hover {
  background: var(--vf-pale);
}

.credential-select-option.is-selected {
  font-weight: 600;
  background: var(--vf-pale);
}

.credential-select-check {
  color: var(--vf-green);
  font-weight: 700;
}

.credential-confirm-lead {
  margin-bottom: 16px;
  color: var(--vf-ink);
  font-size: 14px;
  line-height: 1.5;
}

.credential-confirm-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 6px;
  background: var(--vf-cream);
  list-style: none;
}

.credential-confirm-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--vf-ink);
  font-size: 13.5px;
  line-height: 1.5;
}

.credential-confirm-list .credential-confirm-icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.credential-confirm-icon-positive {
  color: var(--vf-green);
}

.credential-confirm-icon-negative {
  color: #b3412f;
}

.credential-confirm-icon-neutral {
  color: var(--vf-mute);
}

.settings-save-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.settings-save-status-icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.settings-save-status-neutral {
  color: var(--vf-mute);
  font-weight: 400;
}

.settings-save-status-success {
  color: var(--vf-green);
}

.settings-save-status-error {
  color: #b3412f;
}

.dashboard-button-primary:disabled {
  border-color: transparent;
  background: #e3e1d6;
  color: var(--vf-ink);
  opacity: 1;
}

.scan-header {
  align-items: center;
}

.scan-header .dashboard-muted {
  max-width: 720px;
}

.scan-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 30px;
}

.scan-dropzone {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px;
  border: 1.5px dashed rgba(36, 52, 32, 0.35);
  border-radius: 4px;
  background: var(--vf-paper);
  text-align: center;
  cursor: pointer;
}

.scan-camera-icon {
  margin-bottom: 14px;
  color: var(--vf-green);
  font-size: 36px;
  line-height: 1;
}

.csv-upload-icon {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scan-dropzone h2,
.scan-fields-section h2,
.scan-info-panel h2 {
  font-family: var(--vf-display);
  font-weight: 400;
}

.scan-dropzone h2 {
  font-size: 22px;
}

.scan-dropzone p {
  max-width: 520px;
  margin: 8px 0 20px;
  color: var(--vf-mute);
  font-size: 15px;
}

.scan-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.scan-dropzone label {
  cursor: pointer;
}

.scan-dropzone small {
  margin-top: 18px;
  color: var(--vf-mute);
  font-size: 12px;
}

.csv-dropzone-limits {
  margin: 18px 0 0;
  color: var(--vf-ink);
  font-size: 14px;
  font-weight: 700;
}

.scan-fields-section {
  margin-top: 32px;
}

.scan-fields-section h2 {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--vf-line);
  font-size: 22px;
}

.scan-fields-table-wrap {
  overflow-x: auto;
}

.scan-fields-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
}

.scan-fields-table th,
.scan-fields-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--vf-line);
  text-align: left;
  vertical-align: top;
}

.scan-fields-table th {
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scan-fields-table td:first-child {
  width: 24%;
  font-weight: 600;
}

.scan-fields-table td:nth-child(2),
.scan-fields-table td:nth-child(3) {
  color: var(--vf-mute);
}

.scan-info-panel {
  padding: 26px;
  border-radius: 4px;
  background: var(--vf-pale);
}

.scan-info-panel h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.scan-info-panel ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  font-size: 13px;
}

.scan-early-access {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.scan-early-access p {
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scan-early-access span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.csv-header {
  align-items: center;
}

.csv-header .dashboard-muted {
  max-width: 720px;
}

.csv-upload-icon {
  font-size: 44px;
}

.csv-dropzone p {
  margin-bottom: 20px;
}

.csv-guide-table code {
  color: var(--vf-ink);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.csv-guide-table td:first-child {
  width: 32%;
}

.csv-guide-table td:nth-child(3) {
  color: var(--vf-ink);
}

.csv-guide-table-wrap {
  overflow: hidden;
  border: 1px solid #e3e0d4;
  border-radius: 10px;
  background: var(--vf-paper);
}

.csv-guide-table th {
  background: #f9f8f3;
  border-bottom-color: #e3e0d4;
}

.csv-guide-table td {
  border-bottom-color: #e3e0d4;
}

.csv-guide-table th,
.csv-guide-table td {
  padding: 13px 20px;
}

.csv-guide-table tr:last-child td {
  border-bottom: 0;
}

.csv-guide-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.csv-guide-heading-hint {
  color: var(--vf-mute);
  font-size: 12px;
  font-weight: 400;
}

.import-required-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  white-space: nowrap;
}

.import-required-yes {
  background: var(--vf-ink);
  color: #fff;
}

.import-required-recommended {
  background: #dbead0;
  color: #3a5e26;
}

.import-required-conditional {
  background: #f3e3bd;
  color: #7a5209;
}

.import-required-optional {
  background: var(--vf-cream);
  color: var(--vf-mute);
}

.csv-info-panel a {
  color: var(--vf-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.csv-info-panel {
  border: 1px solid rgba(87, 162, 52, 0.25);
}

.csv-info-checklist {
  display: grid;
  gap: 16px;
  padding-left: 0;
  list-style: none;
}

.csv-info-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.csv-info-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--vf-green);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.renewals-header {
  align-items: center;
}

.renewal-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.renewal-stat-lapsed strong {
  color: #b3412f;
}

.renewals-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.renewals-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 13px;
}

.renewals-table th {
  padding: 14px 22px;
  border-bottom: 1px solid var(--vf-line);
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.renewals-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--vf-line);
  vertical-align: middle;
}

.renewals-table tr:last-child td {
  border-bottom: 0;
}

.renewals-row {
  cursor: pointer;
}

.renewals-row:hover td {
  background: var(--vf-pale);
}

.renewals-row:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: -2px;
}
.renewals-table strong,
.renewals-table small {
  display: block;
}

.renewals-table strong {
  font-size: 14px;
  font-weight: 600;
}

.renewals-table small {
  margin-top: 4px;
  color: var(--vf-mute);
  font-size: 12px;
  white-space: nowrap;
}

.renewal-stage {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid var(--vf-line);
  border-radius: 14px;
  white-space: nowrap;
}

.renewal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 10px 14px;
  border-radius: 3px;
  background: #b6d95c;
  color: var(--vf-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.renewal-button:hover {
  background: #a6ca4d;
}

.credentials-header {
  align-items: center;
}

.credentials-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.credentials-search {
  flex: 1;
  width: auto;
  max-width: none;
}

.credentials-filters {
  display: flex;
  overflow-x: auto;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-paper);
}

.credentials-filters a {
  padding: 11px 16px;
  border-right: 1px solid var(--vf-line);
  color: var(--vf-ink);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.credentials-filters a:last-child {
  border-right: 0;
}

.credentials-filters a:hover {
  background: var(--vf-pale);
}

.credentials-filters a.is-active {
  background: var(--vf-ink);
  color: #fff;
}

.credentials-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.credentials-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  font-size: 13px;
}

.credentials-table th {
  padding: 14px 22px;
  border-bottom: 1px solid var(--vf-line);
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.credentials-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--vf-line);
  vertical-align: middle;
}

.credentials-table tr:last-child td {
  border-bottom: 0;
}

.credentials-table tr:hover td {
  background: var(--vf-pale);
}

.credentials-row {
  cursor: pointer;
}

.credentials-row:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: -2px;
}
.credentials-table code {
  color: var(--vf-ink);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.credentials-table strong,
.credentials-table small {
  display: block;
}

.credentials-table strong {
  font-weight: 600;
}

.credentials-table small {
  margin-top: 4px;
  color: var(--vf-mute);
  font-size: 12px;
  white-space: nowrap;
}

.credentials-empty {
  padding: 56px 20px;
  color: var(--vf-mute);
  text-align: center;
}

.credential-detail-status {
  margin-bottom: 8px;
}

.credential-detail-header code,
.credential-share-url code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.credential-detail-header>div:first-child {
  min-width: 0;
  flex: 1;
}

.credential-detail-header .dashboard-muted {
  display: block;
  width: max-content;
  max-width: none;
  margin-top: 6px;
  white-space: nowrap !important;
}

.credential-detail-header .professional-table-link {
  display: inline;
}
.dashboard-button-danger {
  border-color: #b3412f;
  color: #b3412f;
}

.dashboard-button-danger:hover {
  background: #f5ddd8;
}

.credential-callout {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 13px;
}

.credential-callout-warning {
  background: #f7ecd2;
  color: #7a5209;
}

.credential-callout-danger {
  background: #f5ddd8;
  color: #7a2416;
}

.credential-callout-success {
  background: var(--vf-pale);
  color: var(--vf-ink);
}

.professional-status-pending {
  background: var(--vf-pale);
  color: var(--vf-ink);
}

.import-missing {
  color: #b3412f;
}

.import-error-cell {
  color: #b3412f;
}

.import-is-hidden {
  display: none !important;
}

.import-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  color: var(--vf-mute);
  font-size: 13px;
}

.import-summary-attention {
  color: #7a2416;
  font-weight: 600;
}

.import-summary-ready {
  color: var(--vf-ink);
  font-weight: 600;
}

.import-stat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}

.import-stat-tile {
  padding: 14px 18px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.import-stat-tile-value {
  display: block;
  font-family: var(--vf-display);
  font-size: 28px;
  line-height: 1.1;
}

.import-stat-tile-label {
  display: block;
  margin-top: 4px;
  color: var(--vf-mute);
  font-size: 12px;
}

.import-stat-tile-ready .import-stat-tile-value {
  color: var(--vf-green);
}

.import-stat-tile-warning .import-stat-tile-value {
  color: #a3720f;
}

.import-stat-tile-attention {
  border-color: #b3412f;
}

.import-stat-tile-attention .import-stat-tile-value {
  color: #b3412f;
}

.import-stat-tile-muted .import-stat-tile-value {
  color: var(--vf-line);
}

.import-professional-list-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 26px;
  border-top: 1px solid #ebe8de;
}

.import-professional-list-row-conflict {
  grid-template-columns: 1fr 1fr auto;
}

.import-professional-list-header {
  border-top: 1px solid #dcd9cc;
  color: var(--vf-mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.import-professional-list-sub {
  display: block;
  font-size: 14px;
}

.import-conflict-choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.import-conflict-choices-inline {
  flex-direction: row;
  gap: 20px;
  margin-top: 10px;
}

.import-conflict-choice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.import-record-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--vf-line);
}

.import-record-tab {
  padding: 8px 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--vf-mute);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 16px;
}

.import-record-tab.is-active {
  border-bottom-color: var(--vf-ink);
  color: var(--vf-ink);
}

.import-issue-panel {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.import-issue-panel h2 {
  margin-bottom: 6px;
  font-family: var(--vf-display);
  font-size: 22px;
  font-weight: 400;
}

.import-issue-panel .dashboard-muted {
  margin-top: 0;
  margin-bottom: 18px;
  max-width: 640px;
}

.import-match-card {
  margin-bottom: 24px;
  border: 1px solid #e3e0d4;
  border-radius: 10px;
  background: var(--vf-paper);
  overflow: hidden;
}

.import-match-card-head {
  padding: 24px 26px 16px;
}

.import-match-card-head h2 {
  margin-bottom: 6px;
  font-family: var(--vf-display);
  font-size: 28px;
  font-weight: 400;
}

.import-match-card-head .dashboard-muted {
  margin: 0;
  max-width: 760px;
}

.import-match-columns {
  display: grid;
  grid-template-columns: 110px 130px 1fr;
  gap: 18px;
  padding: 10px 26px;
  border-top: 1px solid #dcd9cc;
  color: var(--vf-mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.import-mapping-form {
  display: block;
}

.import-mapping-row {
  display: grid;
  grid-template-columns: 110px 130px 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 26px;
  border: 0;
  border-top: 1px solid #ebe8de;
  border-radius: 0;
  background: none;
}

.import-mapping-row-label {
  display: contents;
}

.import-mapping-row-label strong {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 6px;
  background: #f3f1e8;
  color: var(--vf-ink);
  font-size: 16px;
  font-weight: 700;
}

.import-mapping-row-label .dashboard-muted {
  color: var(--vf-ink);
  font-size: 16px;
  font-weight: 600;
}

.import-mapping-row-existing,
.import-mapping-row-new {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.import-mapping-select,
.import-mapping-input {
  min-height: 50px;
  padding: 6px 14px;
  border: 1px solid #b9c0ad;
  border-radius: 6px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  font-size: 16px;
}

.import-mapping-select-wrap {
  display: flex;
  flex: 1 1 auto;
  min-width: 260px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #b9c0ad;
  border-radius: 6px;
  background: var(--vf-paper);
}

.import-mapping-select-wrap:has(.import-mapping-select:invalid) {
  border-color: #d9a441;
}

.import-mapping-select-wrap .import-mapping-select {
  flex: 1;
  min-height: 48px;
  padding: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}

.import-mapping-select-chevron {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--vf-mute);
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.import-mapping-input-narrow {
  width: 64px;
}

.import-mapping-inline-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vf-mute);
  font-size: 12.5px;
}

.import-mapping-row-new-label {
  color: var(--vf-mute);
  font-size: 13px;
}

.import-suggested-tag {
  display: inline-flex;
  flex: none;
  padding: 3px 8px;
  border-radius: 5px;
  background: #e3efd2;
  color: #2d5a17;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.import-mapping-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--vf-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.import-match-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 26px;
  border-top: 1px solid #ebe8de;
  background: #f9f8f3;
}

.import-match-actions-note {
  color: var(--vf-mute);
  font-size: 14px;
}

.csv-header .dashboard-actions .dashboard-button,
.import-match-actions .dashboard-button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.import-partial-note {
  margin: -8px 0 18px;
  color: #7a5209;
  font-size: 13px;
}

.import-preview-card {
  margin-bottom: 24px;
  border: 1px solid #e3e0d4;
  border-radius: 10px;
  background: var(--vf-paper);
  overflow: hidden;
}

.import-preview-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 24px 0;
}

.import-preview-card:has(.import-preview-table-wrap.import-is-hidden) .import-preview-heading {
  padding: 20px 26px;
  background: #fbfaf6;
}

.import-preview-heading-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.import-preview-heading h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--vf-ink);
}

.import-status-rollup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.import-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  min-height: 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.import-status-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.import-status-chip-ready {
  background: #e3efd2;
  color: #2d5a17;
}

.import-status-chip-ready .import-status-chip-dot {
  background: #3f7a22;
}

.import-status-chip-warning {
  background: #fde4c8;
  color: #8a4b00;
}

.import-status-chip-warning .import-status-chip-dot {
  background: #c46a00;
}

.import-status-chip-attention {
  background: #f7d9d4;
  color: #9b2c12;
}

.import-status-chip-attention .import-status-chip-dot {
  background: #b3261e;
}

.import-record-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 10px 0 0;
  padding: 6px 24px 0;
  border-bottom: 1px solid #dcd9cc;
}

.import-record-tab {
  padding: 0 0 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--vf-mute);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.import-record-tab.is-active {
  border-bottom-color: var(--vf-ink);
  color: var(--vf-ink);
}

.import-preview-table-wrap {
  overflow-x: auto;
}

.import-record-row {
  display: grid;
  grid-template-columns: 50px minmax(110px, 140px) minmax(150px, 1fr) 70px 100px 150px minmax(180px, 1.6fr);
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-top: 1px solid #ebe8de;
  min-width: 900px;
}

.import-record-row-header {
  border-top: 0;
  color: var(--vf-mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.import-record-name {
  font-weight: 700;
}

.import-record-muted {
  color: var(--vf-mute);
}

.import-record-ellipsis {
  overflow: hidden;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.import-record-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.import-record-pill-ready {
  background: #e3efd2;
  color: #2d5a17;
}

.import-record-pill-warning {
  background: #fde4c8;
  color: #8a4b00;
}

.import-record-pill-attention {
  background: #f7d9d4;
  color: #9b2c12;
}

.import-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 0;
  list-style: none;
}

.import-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vf-mute);
  font-size: 15px;
  font-weight: 600;
}

.import-step-connector {
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: #d9d6c8;
}

.import-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e4e4da;
  color: #3f453c;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
}

.import-step.is-active {
  color: var(--vf-ink);
}

.import-step.is-active .import-step-number {
  background: var(--vf-ink);
  color: #fff;
}

.import-step.is-done .import-step-number {
  background: var(--vf-green);
  color: #fff;
}

.import-column-mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.import-column-mapping-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--vf-line);
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.import-column-mapping-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--vf-line);
  vertical-align: middle;
}

.import-column-mapping-table tr:last-child td {
  border-bottom: 0;
}

.import-column-mapping-sample {
  color: var(--vf-mute);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.import-column-mapping-arrow {
  color: var(--vf-mute);
}

.import-column-mapping-target {
  display: flex;
  align-items: center;
  gap: 10px;
}

.import-mapping-tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.import-mapping-tag-exact {
  background: var(--vf-cream);
  color: var(--vf-mute);
}

.import-mapping-tag-suggested {
  background: #dbead0;
  color: #3a5e26;
}

.import-mapping-tag-split {
  background: #e3ddf3;
  color: #4c3a86;
}

.import-mapping-tag-skipped {
  background: var(--vf-cream);
  color: var(--vf-mute);
}

.import-mapping-confirmation {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 3px;
  background: var(--vf-pale);
  color: var(--vf-ink);
  font-size: 13px;
  font-weight: 600;
}

.import-mapping-confirmation-incomplete {
  background: #f7ecd2;
  color: #7a5209;
}

.import-template-promo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.import-template-promo-links {
  font-size: 13px;
  font-weight: 600;
}

.import-template-promo-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--vf-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  vertical-align: middle;
}

.import-template-promo-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.import-template-promo-hint {
  color: var(--vf-mute);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.credential-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 20px;
}

.credential-detail-grid h2,
.credential-history h2 {
  margin-bottom: 14px;
  font-family: var(--vf-display);
  font-size: 22px;
  font-weight: 400;
}

.credential-record-kv {
  grid-template-columns: 130px minmax(0, 1fr);
}

.credential-history {
  margin-top: 28px;
}

.credential-qr-layout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
}

.credential-qr {
  display: flex;
  flex: none;
  width: 126px;
  height: 126px;
  padding: 6px;
  border: 1px solid var(--vf-line);
  background: #fff;
}

.credential-qr-svg {
  width: 100%;
  height: 100%;
}

.credential-qr-layout p {
  color: var(--vf-mute);
  font-size: 12px;
}

.credential-share-url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-cream);
}

.credential-share-url code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credential-copy-button {
  flex: none;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--vf-ink);
  cursor: pointer;
  font-size: 20px;
}

.credential-share-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.credential-share-actions .dashboard-button {
  flex: 1;
  font-size: 10px;
}
.credentials-empty h2 {
  margin-bottom: 6px;
  color: var(--vf-ink);
  font-family: var(--vf-display);
  font-size: 22px;
  font-weight: 400;
}

.public-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}

.public-page {
  min-height: 100vh;
  background: var(--vf-cream);
  color: var(--vf-ink);
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--vf-line);
  background: var(--vf-paper);
}

.public-brand {
  font-family: var(--vf-display);
  font-size: 20px;
}

.public-header-note {
  color: var(--vf-mute);
  font-size: 12px;
}

.public-header-note a {
  color: var(--vf-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.public-main {
  --public-pad: 32px;
  width: 100%;
    margin: 0;
  padding: 88px var(--public-pad) 72px;
}

.public-hero {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.public-eyebrow {
  margin-bottom: 10px;
  color: var(--vf-mute);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-hero h1 {
  margin: 0;
  font-family: var(--vf-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.public-hero>p:last-child {
  margin: 24px auto 0;
  color: var(--vf-mute);
  font-size: 18px;
  line-height: 1.5;
}

.public-search {
  display: flex;
  width: min(100%, 680px);
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--vf-ink);
  border-radius: 4px;
  background: var(--vf-paper);
}

.public-search input {
  min-width: 0;
  flex: 1;
  padding: 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--vf-ink);
  font-size: 17px;
}

.public-search input:focus-visible {
  outline: 2px solid var(--vf-green);
  outline-offset: -2px;
}

.public-search input::placeholder {
  color: var(--vf-mute);
}

.public-search input+input,
.public-search button {
  border: 0;
}

.public-search input[type="submit"] {
  flex: none;
  padding: 0 28px;
  background: var(--vf-green);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-search input[type="submit"]:hover {
  background: #4c8f2d;
}

.public-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
}

.public-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--vf-green);
}

.public-benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.public-benefits h2 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
}

.public-benefits p {
  color: var(--vf-mute);
  font-size: 13px;
  line-height: 1.55;
}

.verification-result {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: min(100%, 680px);
  margin: 28px auto 0;
  padding: 20px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.verification-result-icon {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vf-green);
  color: #fff;
  font-size: 22px;
}

.verification-result-expiring .verification-result-icon {
  background: #c98a1a;
}

.verification-result-expired .verification-result-icon,
.verification-result-revoked .verification-result-icon,
.verification-result-not-found .verification-result-icon {
  background: #b3412f;
}

.verification-result h2 {
  margin-bottom: 4px;
  font-family: var(--vf-display);
  font-size: 22px;
  font-weight: 400;
}

.verification-result p {
  color: var(--vf-mute);
  font-size: 13px;
}

.verification-detail {
  width: min(100%, 720px);
  margin: 40px auto 0;
  overflow: hidden;
  border: 1px solid var(--vf-line);
  border-radius: 6px;
  background: var(--vf-paper);
}

.verification-detail-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  background: var(--vf-pale);
}

.verification-detail-expired .verification-detail-top,
.verification-detail-revoked .verification-detail-top,
.verification-detail-not-found .verification-detail-top {
  background: #f5ddd8;
}

.verification-detail-expiring .verification-detail-top {
  background: #f7ecd2;
}

.verification-detail-icon {
  display: flex;
  width: 52px;
  height: 52px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vf-green);
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.verification-detail-expired .verification-detail-icon,
.verification-detail-revoked .verification-detail-icon,
.verification-detail-not-found .verification-detail-icon {
  background: #b3412f;
}

.verification-detail-expiring .verification-detail-icon {
  background: #c98a1a;
}

.verification-detail h1 {
  margin-bottom: 2px;
  font-family: var(--vf-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.verification-detail-top p {
  color: var(--vf-mute);
  font-size: 14px;
  line-height: 1.5;
}

.verification-detail-body {
  padding: 26px 30px;
}

.verification-holder-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.verification-holder-row h2 {
  margin: 4px 0 2px;
  font-family: var(--vf-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.verification-holder-location {
  color: var(--vf-mute);
  font-size: 14px;
}

.verification-record-kv {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 16px;
  margin-top: 22px;
  font-size: 13.5px;
}

.verification-record-kv dt {
  color: var(--vf-mute);
}

.verification-record-kv dd {
  font-weight: 700;
}

.verification-record-kv code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

.verification-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--vf-green);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.verification-status-expiring {
  background: #c98a1a;
}

.verification-status-expired,
.verification-status-revoked {
  background: #b3412f;
}

.verification-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.verification-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 3px;
  color: var(--vf-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.verification-action:not(:disabled):hover {
  background: var(--vf-pale);
}

.verification-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.verification-action-outline {
  border: 1px solid var(--vf-ink);
}

.verification-not-found-body h2 {
  margin: 0 0 10px;
  font-family: var(--vf-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.15;
}

.verification-not-found-body h2:not(:first-child) {
  margin-top: 22px;
}

.verification-not-found-body>p {
  max-width: 560px;
  color: var(--vf-ink);
  font-size: 14px;
  line-height: 1.55;
}

.public-search-inline {
  width: min(100%, 760px);
  margin: 0;
}

.verification-help-list {
  display: grid;
  gap: 4px;
  margin: 18px 0 0 22px;
  color: var(--vf-mute);
  font-size: 13px;
}

.verification-help-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.verification-help-list a {
  color: inherit;
  text-underline-offset: 3px;
}
.public-profile-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  width: min(100%, 720px);
  margin: 0 auto;
}

.public-profile-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.public-profile-avatar {
  display: flex;
  width: 64px;
  height: 64px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vf-ink);
  color: #b6d95c;
  font-family: var(--vf-display);
  font-size: 26px;
}

.public-profile-identity h1 {
  margin-top: 2px;
  font-family: var(--vf-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.public-profile-location,
.public-profile-empty {
  color: var(--vf-mute);
  font-size: 14px;
}

.public-profile-section-title {
  margin-bottom: 12px;
  font-family: var(--vf-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.15;
}

.public-profile-credential-list {
  display: grid;
  gap: 12px;
}

.public-profile-credential-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
  color: inherit;
  text-decoration: none;
}

.public-profile-credential-card:hover {
  background: var(--vf-pale);
}

.public-profile-check {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vf-green);
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.public-profile-check.is-off {
  background: #c9cfc2;
}

.public-profile-credential-info {
  flex: 1;
  min-width: 0;
}

.public-profile-credential-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.public-profile-credential-info small {
  display: block;
  margin-top: 2px;
  color: var(--vf-mute);
  font-size: 12.5px;
}

.public-profile-credential-info span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.public-profile-side {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.public-profile-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
}

.public-profile-card-pale {
  border-color: transparent;
  background: var(--vf-pale);
}

.public-profile-card p:not(.public-eyebrow) {
  margin: 8px 0 14px;
  font-size: 13px;
  line-height: 1.5;
}

.public-profile-card-pale p:not(.public-eyebrow) {
  margin-bottom: 0;
}

.public-profile-url {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-cream);
}

.public-profile-url span {
  flex: 1;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-url button {
  color: var(--vf-ink);
  font-size: 18px;
}
@media (max-width: 900px) {
  .professionals-header {
    align-items: flex-start;
  }

  .professionals-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .professionals-toolbar-form {
    width: 100%;
  }

  .professionals-search {
    width: 100%;
  }

  .professionals-filters {
    flex-wrap: wrap;
    width: 100%;
  }

  .professionals-filters select {
    flex: 1;
    min-width: 120px;
  }

  .professional-form-card {
    padding: 24px;
  }

  .professional-form-grid {
    grid-template-columns: 1fr;
  }

  .professional-field-wide {
    grid-column: auto;
  }

  .professional-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .professional-cancel {
    margin-right: 0;
    text-align: center;
  }

  .settings-card {
    padding: 24px;
  }

    .settings-plan-grid {
      grid-template-columns: 1fr;
    }
  .settings-url {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .scan-header {
    align-items: flex-start;
  }

  .scan-content-grid {
    grid-template-columns: 1fr;
  }

  .scan-dropzone {
    min-height: 300px;
    padding: 24px;
  }

  .csv-header {
    align-items: flex-start;
  }

  .renewals-header {
    align-items: flex-start;
  }

  .renewal-stat-grid {
    grid-template-columns: 1fr;
  }

  .credentials-header {
    align-items: flex-start;
  }

  .credentials-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .credentials-search {
    width: 100%;
  }

  .credentials-filters {
    width: 100%;
  }

  .credential-detail-grid {
    grid-template-columns: 1fr;
  }

  .credential-detail-header > div:first-child {
    width: 100%;
  }

  .credential-detail-header .dashboard-muted {
    width: max-content;
    max-width: none;
    white-space: nowrap !important;
  }
  .credential-record-kv {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .credential-record-kv dd {
    margin-bottom: 8px;
  }

  .credential-qr-layout {
    align-items: flex-start;
    flex-direction: column;
  }
  .public-header {
    padding: 16px 20px;
  }

  .public-main {
    --public-pad: 48px;
    padding: 48px var(--public-pad);
  }

  .public-hero h1 {
    font-size: 40px;
  }

  .public-search {
    margin-top: 40px;
  }

  .public-benefits {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 52px;
  }
.public-profile-grid {
  grid-template-columns: 1fr;
}
.verification-detail {
  margin-top: 16px;
}

.verification-detail-top {
  align-items: center;
  flex-direction: row;
  gap: 18px;
  padding: 26px 30px;
}

.verification-detail-icon {
  width: 52px;
  height: 52px;
  font-size: 32px;
}

.verification-detail h1 {
  font-size: 24px;
}

.verification-detail-top p {
  font-size: 14px;
}

.verification-detail-body {
  padding: 26px 30px;
}

.verification-holder-row {
  flex-direction: row;
}

.verification-holder-row h2 {
  font-size: 24px;
}

.verification-holder-location {
  font-size: 14px;
}

.verification-record-kv {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 16px;
  font-size: 13.5px;
}

.verification-record-kv dd {
  margin-bottom: 0;
}

.verification-not-found-body h2 {
  font-size: 17px;
}

.verification-not-found-body>p,
.verification-help-list {
  font-size: 13px;
}
}

@media (max-width: 560px) {

  .verification-detail-top,
  .verification-holder-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .verification-record-kv {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .verification-record-kv dd {
    margin-bottom: 10px;
  }
}

/* Dashboard workflows, clickable stats, and getting-started checklist */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a.dashboard-stat {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.dashboard-stat:hover,
a.dashboard-stat:focus-visible {
  border-color: var(--vf-green);
}

.dashboard-stat-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-workflows,
.import-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.dashboard-workflow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--vf-line);
  border-radius: 4px;
  background: var(--vf-paper);
  color: inherit;
  text-decoration: none;
}

.dashboard-workflow:hover,
.dashboard-workflow:focus-visible {
  border-color: var(--vf-green);
  background: var(--vf-pale);
}

.dashboard-workflow h2 {
  margin: 0;
  font-family: var(--vf-display);
  font-size: 22px;
  font-weight: 400;
}

.dashboard-workflow p {
  margin: 0;
  color: var(--vf-mute);
  font-size: 14px;
}

.dashboard-workflow small {
  color: var(--vf-mute);
  font-size: 12px;
}

.dashboard-workflow-step {
  color: var(--vf-mute);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-workflow-cta {
  margin-top: auto;
  padding-top: 8px;
  color: var(--vf-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-workflow-badge {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 10px;
  background: #fbefc9;
  color: #7a5209 !important;
  font-weight: 600;
}

.dashboard-workflows-compact .dashboard-workflow {
  padding: 14px 18px;
}

.dashboard-workflows-compact .dashboard-workflow p,
.dashboard-workflows-compact .dashboard-workflow small {
  display: none;
}

.dashboard-workflows-compact .dashboard-workflow h2 {
  font-size: 18px;
}

.import-methods-note {
  font-size: 13px;
}

.dashboard-checklist ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-checklist li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--vf-line);
  color: inherit;
  text-decoration: none;
}

.dashboard-checklist li:first-child a {
  border-top: 0;
}

.dashboard-checklist small {
  display: block;
  color: var(--vf-mute);
  font-size: 13px;
}

.dashboard-checklist-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--vf-line);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

.dashboard-checklist .is-done .dashboard-checklist-mark {
  border-color: var(--vf-green);
  background: var(--vf-green);
}

.dashboard-checklist .is-done strong {
  color: var(--vf-mute);
  text-decoration: line-through;
}

/* Issue-credential wizard */
.issue-steps {
  display: flex;
  gap: 24px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: var(--vf-mute);
  font-size: 13px;
}

.issue-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.issue-steps li span {
  width: 24px;
  height: 24px;
  border: 1px solid var(--vf-line);
  border-radius: 50%;
  line-height: 22px;
  text-align: center;
}

.issue-steps li.is-current {
  color: var(--vf-ink);
  font-weight: 600;
}

.issue-steps li.is-current span,
.issue-steps li.is-done span {
  border-color: var(--vf-green);
  background: var(--vf-green);
  color: #fff;
}

.issue-step-title {
  margin: 0 0 16px;
  font-family: var(--vf-display);
  font-size: 22px;
  font-weight: 400;
}

.issue-mode {
  display: flex;
  gap: 20px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.issue-mode legend {
  margin-bottom: 8px;
  padding: 0;
  font-weight: 600;
}

.issue-professional-list {
  max-height: 260px;
  margin-top: 12px;
  overflow-y: auto;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
}

.issue-professional {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--vf-line);
  cursor: pointer;
}

.issue-professional:first-child {
  border-top: 0;
}

.issue-professional[hidden] {
  display: none;
}

.issue-professional small {
  display: block;
  color: var(--vf-mute);
}

.issue-review code {
  word-break: break-all;
}

@media (max-width: 900px) {
  .dashboard-stat-grid-five {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------
 * Holder-initiated certificate upload, public credential page, admin
 * ------------------------------------------------------------------ */
/* Status badges: only green + check means the organization verified it. */
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status-badge-large { font-size: 15px; padding: 6px 14px; }
.status-badge-gray { background: #e9ebe6; color: #4a5346; }
.status-badge-amber { background: #f2d89a; color: #553e00; }
.status-badge-green { background: #57a234; color: #0f1f08; }
.status-badge-red { background: #fbe0e0; color: #8f2b2b; }
.status-badge-outline { background: transparent; color: #4a5346; border: 1px solid #9aa395; }

.credential-profile { background: var(--vf-paper); border: 1px solid var(--vf-line); border-radius: 8px; max-width: 640px; margin: 0 auto; overflow: hidden; }
.credential-profile-status { padding: 22px 22px 18px; border-bottom: 1px solid var(--vf-line); }
.credential-profile-status h1 { font-family: var(--vf-display); font-size: 30px; font-weight: 400; margin: 12px 0 6px; }
.credential-profile-green .credential-profile-status { background: #f0f8e9; }
.credential-profile-amber .credential-profile-status { background: #fffaea; }
.credential-profile-red .credential-profile-status { background: #fdf2f2; }
.credential-profile-fields { padding: 8px 22px; }
.credential-profile-fields > div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--vf-line); font-size: 15px; }
.credential-profile-fields dt { color: var(--vf-mute); }
.reported-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: #eceee8; color: #5a6456; font-size: 12px; font-weight: 500; }
.credential-profile-caution { margin: 14px 22px; padding: 12px 14px; background: #fbf8e3; border: 1px solid #e6dfa8; border-radius: 4px; font-size: 14px; }
.credential-profile-history { padding: 8px 22px 22px; }
.credential-profile-history h2 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.credential-profile-history ol { display: grid; gap: 10px; border-left: 2px solid var(--vf-pale); padding-left: 14px; }
.credential-profile-hook { max-width: 640px; margin: 18px auto 0; font-size: 14px; text-align: center; }
.credential-profile-hook a { text-decoration: underline; text-underline-offset: 3px; }
.credential-profile-takedown { color: var(--vf-mute); margin-top: 6px; font-size: 13px; }


/* Organization review: flash and notice blocks shared by the Pending verification screens */
.dashboard-prompt { display: grid; gap: 4px; margin-bottom: 18px; padding: 16px 20px; background: #fbf8e3; border: 1px solid #e6dfa8; border-radius: 6px; color: var(--vf-ink); text-decoration: none; }
.dashboard-prompt strong { font-family: var(--vf-display); font-size: 24px; font-weight: 400; }
.dashboard-prompt-cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vr-flash { margin-bottom: 14px; padding: 12px 14px; border-radius: 6px; font-size: 14px; }
.vr-flash-notice { background: #ecf7e4; border: 1px solid #bfe0a8; color: #2e5a18; }
.vr-flash-alert { background: #fdeeee; border: 1px solid #f0c0c0; color: #8f2b2b; }
.vr-lock, .vr-upgrade, .vr-callout { margin-bottom: 14px; padding: 14px 16px; border-radius: 6px; background: #fbf8e3; border: 1px solid #e6dfa8; font-size: 14px; line-height: 1.5; }
.vr-upgrade { background: #fdf0cf; border-color: #ecd48a; }
.vr-callout-warn { background: #fdeeee; border-color: #f0c0c0; }
.vr-lock p, .vr-upgrade p { margin: 4px 0 10px; }
.vr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.vr-messages { list-style: none; margin: 0; padding: 0; }
.vr-messages li { display: block; padding: 10px 12px; background: #fff; border: 1px solid var(--vf-line); border-radius: 4px; margin-bottom: 8px; font-size: 14px; }
.vr-messages small { display: block; color: var(--vf-mute); font-size: 12px; }

/* CSV Review & match: record matching buckets */
.import-bucket-tiles { margin-bottom: 14px; }
.import-match-row { background: #fff; border: 1px solid var(--vf-line); border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; font-size: 14px; }
.import-match-row header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.import-match-row-needs_attention { border-color: #f0c0c0; }
.import-match-row-warning, .import-match-row-pending_holder { border-color: #e6dfa8; }
.import-diff-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13px; }
.import-diff-table th, .import-diff-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--vf-line); }

/* Mobile: the public credential page uses the full width and stacks its field rows. */
.public-main-profile { padding-left: 16px; padding-right: 16px; }
.status-badge-large { white-space: normal; text-align: left; line-height: 1.3; }
@media (max-width: 560px) {
  .credential-profile-fields > div { grid-template-columns: 1fr; gap: 2px; }
  .credential-profile-fields dd { word-break: break-word; }
  .reported-tag { margin-left: 0; margin-top: 4px; }
  .credential-profile-fields .reported-tag { display: table; }
}

/* The shared .dashboard-table styles right-align column 2 and shrink the last; the queue and
 * correction tables are plain left-aligned grids. */
.dashboard-table.vr-table td, .dashboard-table.vr-table th, .vr-corrections .dashboard-table td:nth-child(n) { text-align: left; white-space: normal; color: inherit; vertical-align: top; padding: 12px 10px 12px 0; width: auto; }
.dashboard-table.vr-table td small, .vr-corrections .dashboard-table td small { color: var(--vf-mute); }
.dashboard-table.vr-table td:first-child { width: 28px; }
.dashboard-table.vr-table td:last-child, .vr-corrections .dashboard-table td:last-child { text-align: right; white-space: nowrap; }
.vr-actions form { margin: 0; }

/* Outstanding (holder-uploaded, unverified) certificates on the org's public verify page */
.outstanding { margin: 72px calc(-1 * var(--public-pad)) 0; padding: 56px 48px; background: var(--vf-paper); border-top: 1px solid var(--vf-line); display: flex; flex-direction: column; gap: 24px; text-align: left; }
.outstanding-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.outstanding-head h2 { margin: 14px 0 8px; font-family: var(--vf-display); font-size: 36px; font-weight: 400; }
.outstanding-head p { margin: 0; max-width: 760px; color: var(--vf-mute); font-size: 15px; line-height: 1.5; }
.outstanding-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: #f2d89a; color: #553e00; font-size: 12px; font-weight: 700; white-space: nowrap; }
.outstanding-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.outstanding-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #c7cbba; border-radius: 999px; background: var(--vf-paper); color: var(--vf-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.outstanding-chip.is-active { background: var(--vf-ink); border-color: var(--vf-ink); color: #fff; }
.outstanding-table { border: 1px solid var(--vf-line); overflow: hidden; }
.outstanding-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: center; min-height: 64px; padding: 0 24px; border-top: 1px solid var(--vf-line); font-size: 15px; }
.outstanding-row-head { min-height: 50px; border-top: 0; background: var(--vf-cream); color: var(--vf-mute); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.outstanding-row span:first-child { font-weight: 700; }
.outstanding-foot { display: flex; justify-content: space-between; align-items: center; color: var(--vf-mute); font-size: 14px; }
.outstanding-claim { margin: 0 calc(-1 * var(--public-pad)); padding: 48px; background: var(--vf-ink); color: #e9f5c9; display: flex; align-items: center; justify-content: space-between; gap: 40px; text-align: left; }
.outstanding-claim h2 { margin: 0; font-family: var(--vf-display); font-size: 32px; font-weight: 400; color: #fff; }
.outstanding-claim p { margin: 8px 0 0; max-width: 720px; font-size: 17px; line-height: 1.5; }
.outstanding-claim-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px; background: #b6d95c; color: var(--vf-ink); font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.public-footer { margin: 0 calc(-1 * var(--public-pad)) -72px; padding: 28px 48px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--vf-mute); font-size: 14px; text-align: left; }
.public-footer a { color: var(--vf-ink); }
.public-footer strong { font-family: var(--vf-display); color: var(--vf-ink); }
.public-footer strong span { color: var(--vf-green); }

@media (max-width: 900px) {
  .outstanding { padding: 40px 20px; }
  .outstanding-head h2 { font-size: 28px; }
  .outstanding-row-head { display: none; }
  .outstanding-row { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .outstanding-row [data-label]::before { content: attr(data-label) ": "; color: var(--vf-mute); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
  .outstanding-row span:first-child::before { content: none; }
  .outstanding-claim { flex-direction: column; align-items: flex-start; padding: 36px 20px; }
  .public-footer { padding: 24px 20px; }
}

/* Public credential page (/verify/:public_id), per the "Holder Upload & Org Verification" prototype */
.vp { min-height: 100vh; display: flex; flex-direction: column; background: #f7f5ec; color: #1d2a19; font-family: var(--vf-body); }
.vp a { color: #2e4228; }
.vp-header { height: 72px; padding: 0 64px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e1e2d5; }
.vp-header a { font-weight: 600; }
.vp-logo { font-family: var(--vf-display); font-size: 22px; font-weight: 700; color: #243420; }
.vp-logo span { color: #57a234; }
.vp-hero { padding: 56px 64px 48px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.vp-hero:has(.vp-qr:only-child) { grid-template-columns: 1fr; }
.vp-hero:not(:has(.vp-qr)) { grid-template-columns: 1fr; }
.vp .vp-badge { height: 32px; padding: 0 14px; font-size: 14px; font-weight: 700; }
.vp-hero h1 { margin: 20px 0 6px; font-family: var(--vf-display); font-size: 56px; font-weight: 400; line-height: 1.05; color: #243420; }
.vp-sub { margin: 0; font-size: 20px; color: #3f473c; }
.vp-notice { margin: 18px 0 0; padding: 14px; max-width: 640px; background: #efefe6; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.vp-fields { margin: 36px 0 0; padding: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; background: #fff; border: 1px solid #e1e2d5; border-radius: 16px; }
.vp-fields dt { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; font-size: 13px; color: #6b7266; }
.vp-fields dd { margin: 0; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.vp-fields code { font: inherit; }
.vp .reported-tag { margin: 0; padding: 2px 6px; border-radius: 6px; background: #f6ecc9; color: #553e00; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.vp-qr { align-self: start; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; background: #fff; border: 1px solid #e1e2d5; border-radius: 16px; }
.vp-qr .vp-qr-svg { width: 200px; height: 200px; display: block; }
.vp-qr p { margin: 0; text-align: center; font-size: 13px; line-height: 1.5; color: #5b6557; }
.vp-qr button { width: 100%; min-height: 44px; border: 1.5px solid #243420; border-radius: 10px; background: transparent; color: #243420; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.vp-history { flex-grow: 1; padding: 48px 64px; background: #eef3e2; }
.vp-history h2 { margin: 0 0 20px; font-family: var(--vf-display); font-size: 30px; font-weight: 400; color: #243420; }
.vp-event { display: grid; grid-template-columns: 160px minmax(0, 1fr) 240px; gap: 24px; padding: 16px 0; border-top: 1px solid #d6dcc6; font-size: 15px; line-height: 1.45; }
.vp-event-head { padding-top: 0; border-top: 0; color: #6b7266; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.vp-footer { padding: 36px 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: #243420; color: #e9f5c9; font-size: 15px; }
.vp-footer p { margin: 10px 0 0; font-size: 13px; opacity: 0.8; }
.vp-footer a { color: #e9f5c9; }
.vp-footer-title { margin-bottom: 4px; font-family: var(--vf-display); font-size: 24px; font-weight: 700; color: #fff; }
.vp .vp-footer-cta { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 10px; background: #b6d95c; color: #1d2a19; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }

@media (max-width: 760px) {
  .vp-header { height: 60px; padding: 0 20px; }
  .vp-header a { display: none; }
  .vp-hero { padding: 28px 20px 24px; grid-template-columns: 1fr; gap: 24px; }
  .vp-hero h1 { margin-top: 16px; font-size: 38px; }
  .vp-sub { font-size: 16px; }
  .vp-notice { font-size: 14px; }
  .vp-fields { margin-top: 18px; padding: 4px 16px; grid-template-columns: 1fr; gap: 0; border-radius: 14px; }
  .vp-fields > div { padding: 12px 0; border-top: 1px solid #e6e6db; }
  .vp-fields > div:first-child { border-top: 0; }
  .vp-fields dd { font-size: 16px; }
  .vp-qr { display: none; }
  .vp-history { padding: 28px 20px; }
  .vp-history h2 { font-size: 24px; }
  .vp-event-head { display: none; }
  .vp-event { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; font-size: 14px; }
  .vp-event:nth-child(2) { border-top: 0; }
  .vp-event-date { font-weight: 700; }
  .vp-event-by { color: #5b6557; font-size: 13px; }
  .vp-footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .vp-footer-title { font-size: 21px; }
}

/* Pending verification: the queue and its review flows (see docs/holder-verification.md) */
.pv { --pv-line: #e1e2d5; --pv-soft: #5b6557; --pv-green: #57a234; }
.pv-help { font-size: 13px; color: var(--pv-soft); line-height: 1.5; }
.pv-muted { color: #8b9486; }
.pv-key { color: #6b7266; font-size: 13px; }
.pv-serif { font-family: var(--vf-display); }
.pv-h3 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b7266; }
.pv-sr { position: absolute; left: -9999px; }
.pv-today { margin: 0; font-size: 14px; color: var(--pv-soft); text-align: right; white-space: nowrap; }
.pv-today strong { color: var(--vf-ink); }
.pv-card { background: #fff; border: 1px solid var(--pv-line); border-radius: 14px; padding: 16px 18px; margin: 0 0 14px; }
.pv-card-flush { padding: 4px 18px; }
.pv-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.pv-card-head .pv-h3 { margin: 0; }
.pv-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid #e6e6db; }
.pv-link-strong { font-weight: 700; font-size: 14px; white-space: nowrap; }
.pv-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #e6e6db; font-size: 14px; }
.pv-rows .pv-row:first-child { border-top: 0; }

/* pills and chips */
.pv-pill { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #efefe6; color: #3f453c; }
.pv-pill-green { background: #57a234; color: #0f1f08; }
.pv-pill-amber { background: #f2d89a; color: #553e00; }
.pv-pill-blue { background: #dbe7f7; color: #1c3d6b; }
.pv-pill-red { background: #f4cdbf; color: #7a1f0d; }
.pv-pill-gray { background: #efefe6; color: #3f453c; }
.pv-pill-outline { background: transparent; border: 1.5px solid #6b7266; color: #3f453c; }
.pv-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pv-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pv-chip-good { background: #e6f0cf; color: #2d4a12; }
.pv-chip-warn { background: #f6ecc9; color: #553e00; }
.pv-chip-bad { background: #f4cdbf; color: #7a1f0d; }
.pv-chip-neutral { background: #efefe6; color: #3f453c; }

/* buttons */
.pv-btn, .pv-btn-outline, .pv-btn-ghost { box-sizing: border-box; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 10px; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; text-decoration: none; cursor: pointer; }
.pv-btn { border: 0; background: var(--vf-ink); color: #e9f5c9; }
.pv-btn:hover { color: #e9f5c9; background: #31462c; }
.pv-btn:disabled, .pv-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.pv-btn-outline { border: 1.5px solid var(--vf-ink); background: #fff; color: var(--vf-ink); }
.pv-btn-outline:hover { background: var(--vf-pale); color: var(--vf-ink); }
.pv-btn-outline.is-disabled, .pv-btn-outline:disabled { opacity: .45; cursor: not-allowed; }
.pv-btn-danger { border-color: #7a1f0d; color: #7a1f0d; }
.pv-btn-danger:hover { background: #fbe9e3; color: #7a1f0d; }
.pv-btn-ghost { border: 0; background: transparent; color: var(--vf-ink); text-decoration: underline; letter-spacing: .06em; }
.pv-btn-small { min-height: 36px; padding: 0 12px; }
.pv-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pv-actions form { margin: 0; }

/* queue */
.pv-tabs { display: flex; gap: 4px; border-bottom: 1px solid #d9dccb; margin-bottom: 16px; overflow-x: auto; }
.pv-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 600; color: #525c4e; text-decoration: none; white-space: nowrap; }
.pv-tab:hover { color: var(--vf-ink); }
.pv-tab.is-active { border-bottom-color: var(--vf-ink); color: #1d2a19; }
.pv-count { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e4e4da; color: #3f453c; }
.pv-count-green { background: #57a234; color: #0f1f08; }
.pv-count-amber { background: #f2d89a; color: #553e00; }
.pv-count-blue { background: #dbe7f7; color: #1c3d6b; }
.pv-count-red { background: #f4cdbf; color: #7a1f0d; }
.pv-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pv-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.pv-input { box-sizing: border-box; height: 44px; border: 1px solid #c7cbba; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 14px; background: #fff; color: #1d2a19; max-width: 100%; }
.pv-input:focus-visible { outline: 2px solid var(--pv-green); outline-offset: 1px; }
.pv-search { width: 320px; }
.pv-bulk { display: flex; align-items: center; gap: 14px; }
.pv-selected { font-size: 14px; font-weight: 600; }
.pv-table-wrap { background: #fff; border: 1px solid var(--pv-line); border-radius: 14px; overflow-x: auto; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pv-table th { text-align: left; padding: 14px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7266; background: #fafaf5; white-space: nowrap; }
.pv-table td { padding: 12px; border-top: 1px solid #e6e6db; vertical-align: middle; }
.pv-table td small { display: block; color: var(--pv-soft); font-size: 13px; }
.pv-table td strong { display: block; }
.pv-table .pv-check { width: 44px; padding-left: 16px; }
.pv-table .pv-review { text-align: right; padding-right: 16px; font-weight: 700; }
.pv-table-compact td strong { display: inline; }
.pv-table-compact td small { display: block; }
.pv-cb { width: 20px; height: 20px; margin: 0; accent-color: var(--vf-ink); }
.pv-cb:disabled { opacity: .35; cursor: not-allowed; }
.pv-error { color: #8f2b2b !important; font-weight: 600; }
.pv-empty { padding: 28px 16px; text-align: center; color: var(--pv-soft); }

/* review */
.pv-crumbs { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--pv-soft); margin-bottom: 8px; }
.pv-crumbs p, .pv-crumbs-line { margin: 0; }
.pv-crumbs-line { font-size: 14px; color: var(--pv-soft); margin-bottom: 12px; }
.pv-title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.pv-title h1 { margin: 0; font-family: var(--vf-display); font-size: 34px; font-weight: 400; color: var(--vf-ink); }
.pv-title-block { display: block; }
.pv-title-block h1 { margin-bottom: 6px; }
.pv-review-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1100px) { .pv-review-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.pv-column { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pv-column > .pv-card, .pv-column .pv-note { margin: 0; }
.pv-file-stage { background: #3a3f37; border-radius: 14px; padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 320px; overflow: auto; }
.pv-file-stage.is-zoomed { justify-content: flex-start; align-items: flex-start; }
.pv-file-image { max-width: 100%; max-height: 640px; background: #fff; transition: transform .15s; }
.pv-file-stage.is-zoomed .pv-file-image { max-width: none; max-height: none; width: 180%; }
.pv-file-frame { width: 100%; height: 600px; background: #fff; border: 0; }
.pv-file-empty { color: #d6e2c6; }
.pv-file-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pv-file-tools { display: flex; gap: 8px; }
.pv-extraction summary { cursor: pointer; font-weight: 600; }
.pv-cmp { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 28px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #e6e6db; font-size: 14px; overflow-wrap: anywhere; }
.pv-cmp-head { border-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7266; }
.pv-mark { font-weight: 700; text-align: center; }
.pv-mark-same { color: #3f7a22; }
.pv-mark-differs { color: #8a6100; }
.pv-note { background: #eef3e2; border: 1px solid #c9dba4; border-radius: 14px; padding: 14px 18px; font-size: 14px; line-height: 1.5; }
.pv-note-warn { background: #fbf4dc; border-color: #e6dfa8; }
.pv-conflicts { margin: 8px 0 0; padding-left: 18px; }

/* forms */
.pv-form { display: flex; flex-direction: column; gap: 16px; }
.pv-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pv-field { min-width: 0; border: 0; padding: 0; margin: 0; }
.pv-field-wide { grid-column: 1 / -1; }
.pv-field .pv-input { width: 100%; }
.pv-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #525c4e; margin: 0 0 6px; padding: 0; }
.pv-optional { font-weight: 500; color: #7a8275; }
.pv-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #553e00; background: #f6ecc9; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.pv-tag[hidden], .pv-was[hidden], .pv-field-error[hidden] { display: none; }
.pv-was { font-size: 12px; color: #6b5a1f; margin-top: 4px; }
.pv-edited { border: 2px solid #c98a1a; background: #fffaf0; }
.pv-invalid { border-color: #b3321d; background: #fff7f5; }
.pv-field-error { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #8f2b2b; }
.pv-radios { display: flex; flex-direction: column; gap: 8px; }
.pv-radio { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #d9dccb; border-radius: 10px; font-size: 14px; background: #fff; cursor: pointer; }
.pv-radio input[type=radio] { width: 20px; height: 20px; margin: 0; accent-color: var(--vf-ink); flex-shrink: 0; }
.pv-radio.is-selected { border: 2px solid var(--vf-ink); padding: 7px 11px; }
.pv-radio small { display: block; }
.pv-input-inline { height: 36px; width: auto; margin-left: 10px; }
.pv-textarea { height: auto; padding: 10px 12px; width: 100%; line-height: 1.45; }
.pv-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.pv-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pv-edit-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1100px) { .pv-edit-grid { grid-template-columns: minmax(0, 1fr) 420px; } }
.pv-edit-file { display: flex; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #e6e6db; }
.pv-thumb { width: 120px; height: 84px; background: #fffdf6; border: 4px double #c8b98a; box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 12px; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv-preview-name { font-size: 26px; font-weight: 700; color: var(--vf-ink); margin: 12px 0 2px; }
.pv-history-line { font-size: 14px; line-height: 1.55; }

/* dialogs and the find-match drawer */
body.pv-modal-open { overflow: hidden; }
.pv-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(29, 42, 25, .45); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 48px 16px; }
.pv-dialog { box-sizing: border-box; width: 740px; max-width: 100%; background: #f7f5ec; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); padding: 30px 32px; display: flex; flex-direction: column; gap: 16px; }
.pv-dialog-wide { width: 820px; }
.pv-dialog-title { margin: 0; font-family: var(--vf-display); font-size: 30px; font-weight: 400; color: var(--vf-ink); line-height: 1.15; }
.pv-dialog .pv-help { margin: 0; font-size: 14px; }
.pv-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin: 0; }
.pv-status-change { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.pv-reasons { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .pv-reasons { grid-template-columns: 1fr 1fr; } }
.pv-reasons fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pv-group { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7266; margin-bottom: 4px; padding: 0; }
.pv-reasons .pv-radio { align-items: flex-start; }
.pv-outcomes { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .pv-outcomes { grid-template-columns: 1fr 1fr; } }
.pv-outcome { background: #efefe6; border-radius: 12px; padding: 14px; font-size: 14px; line-height: 1.5; color: #3f453c; border: 2px solid transparent; }
.pv-outcome.is-selected { background: #fff; border-color: var(--vf-ink); color: #1d2a19; }
.pv-outcome p { margin: 8px 0 0; }
.pv-outcome strong { display: block; margin-bottom: 6px; }
.pv-backdrop-side { justify-content: flex-end; padding: 0; align-items: stretch; }
.pv-drawer { box-sizing: border-box; width: 600px; max-width: 100%; min-height: 100%; background: #f7f5ec; box-shadow: -12px 0 40px rgba(0, 0, 0, .18); padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.pv-drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pv-drawer-head .pv-help { margin: 4px 0 0; font-size: 14px; }
.pv-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--vf-ink); }
.pv-reported { padding: 12px 14px; margin: 0; font-size: 14px; border-radius: 12px; }
.pv-search-form { display: flex; gap: 8px; margin: 0; }
.pv-search-form .pv-input { flex: 1; }
.pv-results { display: flex; flex-direction: column; gap: 10px; }
.pv-result { background: #fff; border: 1px solid var(--pv-line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.pv-result.is-top { border: 2px solid var(--vf-ink); }
.pv-result-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pv-result-head strong { font-size: 16px; }
.pv-result p { margin: 0; }
.pv-result-actions { display: flex; justify-content: flex-end; }
.pv-result-actions form { margin: 0; }
.pv-drawer-foot { margin-top: auto; border-top: 1px solid #d9dccb; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* after verifying */
.pv-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--vf-ink); color: #e9f5c9; border-radius: 14px; padding: 18px 22px; margin-bottom: 18px; }
.pv-banner-muted { background: #e4e4da; color: #1d2a19; }
.pv-banner-main { display: flex; align-items: center; gap: 14px; }
.pv-banner-check { width: 36px; height: 36px; border-radius: 50%; background: #b6d95c; color: #1d2a19; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pv-banner-title { font-size: 22px; font-weight: 700; color: #fff; }
.pv-banner-muted .pv-banner-title { color: var(--vf-ink); }
.pv-banner-link, .pv-banner form button { gap: 6px; background: none; border: 0; color: #b6d95c; font: inherit; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.pv-banner-muted .pv-banner-link { color: var(--vf-ink); text-decoration: underline; }
.pv-banner form { margin: 0; }
.pv-banner-final { font-weight: 700; color: #b6d95c; opacity: .8; }
.pv-before-after { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; align-items: stretch; }
@media (min-width: 900px) { .pv-before-after { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); } }
.pv-before-after .pv-card { margin: 0; }
.pv-card-after { border: 2px solid var(--pv-green); }
.pv-arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; color: #525c4e; }
.pv-checks { list-style: none; margin: 0; padding: 0; }
.pv-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid #e6e6db; font-size: 14px; }
.pv-checks li:first-child { border-top: 0; }
.pv-tick { color: #3f7a22; font-weight: 700; }
.pv-done { padding-top: 12px; padding-bottom: 8px; margin-bottom: 18px; }

@media (max-width: 760px) {
  .pv-fields { grid-template-columns: 1fr; }
  .pv-cmp { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr) 22px; gap: 6px; font-size: 13px; }
  .pv-search { width: 100%; }
  .pv-dialog { padding: 22px 18px; }
  .pv-drawer { padding: 22px 18px; }
  .pv-banner { flex-direction: column; align-items: flex-start; }
}
/* Status badges: exact colours per the prototype's badge board (icon + words, never colour alone) */
.status-badge-icon { flex: none; }
.status-badge.status-badge-uploaded { background: #e4e4da; color: #3f453c; }
.status-badge.status-badge-awaiting_verification { background: #f2d89a; color: #553e00; }
.status-badge.status-badge-verified { background: #57a234; color: #0f1f08; }
.status-badge.status-badge-expired { background: #f4cdbf; color: #7a1f0d; }
.status-badge.status-badge-not_verified { background: transparent; border: 1.5px solid #6b7266; color: #3f453c; }
.status-badge.status-badge-revoked { background: #7a1f0d; color: #fff; }
.status-badge.status-badge-removed, .status-badge.status-badge-duplicate { background: #efefe6; color: #5b6557; }
.status-badge-large.vp-badge { gap: 6px; }

/* Plans & billing: usage meter, upgrade prompts, Settings -> Plan & billing (see the plan prototype) */
.plan-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 16px 20px; border-radius: 10px; }
.plan-banner p { flex: 1; margin: 0; font-size: 15px; line-height: 1.5; }
.plan-banner[hidden] { display: none; }
.plan-banner-warning { background: #fdf6e3; border: 1px solid #ecd7a0; color: #1d2a19; }
.plan-banner-warning svg { flex: none; color: #8a5a00; }
.plan-banner-warning span { color: var(--vf-mute); }
.plan-banner-dismiss { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--vf-mute); }
.plan-banner-limit { background: #27321f; color: #e3ead6; padding: 22px 26px; }
.plan-banner-limit strong { display: block; font-family: var(--vf-display); font-size: 24px; font-weight: 400; color: #fff; }
.plan-banner-limit span { display: block; margin-top: 4px; }
.plan-banner-limit .plan-banner-cta { border-color: #b6d95c; background: #b6d95c; color: #1d2a19; }

.usage-card { position: relative; margin-bottom: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--vf-line); border-radius: 10px; }
.usage-card.is-approaching { border: 2px solid #d9a441; }
.usage-card.is-at-limit { border: 2px solid #a32118; }
.usage-card-head { display: flex; align-items: center; gap: 12px; }
.usage-card-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vf-mute); }
.usage-card-figure { margin: 8px 0 0; font-family: var(--vf-display); font-size: 40px; line-height: 1.1; }
.usage-card-figure span { font-size: 22px; color: var(--vf-mute); }
.usage-card-note { margin: 0; font-size: 14px; color: var(--vf-mute); }
.usage-card-link { position: absolute; top: 22px; right: 24px; font-size: 14px; font-weight: 600; }
.usage-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.usage-pill-warning { background: #fbeac4; color: #6b4a00; }
.usage-pill-limit { background: #f7d9d4; color: #8a1c12; }
.usage-meter { height: 8px; margin: 10px 0 8px; border-radius: 4px; background: #ebe8de; overflow: hidden; }
.usage-meter span { display: block; height: 100%; border-radius: 4px; background: #3f7a22; }
.usage-card.is-approaching .usage-meter span, .usage-meter.is-approaching span { background: #c98a1a; }
.usage-card.is-at-limit .usage-meter span, .usage-meter.is-at-limit span { background: #a32118; }
.usage-meter-lg { height: 10px; border-radius: 5px; }

.dashboard-usage-widget { display: block; margin: 0 10px 12px; padding: 14px 16px; border-radius: 10px; background: #34412b; color: #e3ead6; text-decoration: none; }
.dashboard-usage-row { display: flex; justify-content: space-between; font-size: 13px; }
.dashboard-usage-row b { color: #fff; }
.dashboard-usage-track { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: #4a5840; }
.dashboard-usage-track span { display: block; height: 6px; border-radius: 3px; background: #e0b04a; }
.dashboard-usage-widget.is-at-limit .dashboard-usage-track span { background: #e07a6c; }
.dashboard-usage-cta { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #b6d95c; }

.bill-dialog { width: 680px; background: #fff; }
.bill-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bill-close { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--vf-ink); }
.bill-lead { margin: -6px 0 0; font-size: 16px; line-height: 1.5; color: #3f473c; }
.bill-meter-box { padding: 16px 18px; border-radius: 10px; background: var(--vf-cream); }
.bill-meter-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.bill-meter-legend { margin-top: 8px; font-size: 13px; font-weight: 400; color: var(--vf-mute); }
.bill-over { color: #8a1c12; }
.bill-meter-track { position: relative; height: 12px; margin-top: 10px; border-radius: 6px; background: #e4e1d5; }
.bill-meter-used { position: absolute; top: 0; left: 0; height: 12px; border-radius: 6px 0 0 6px; background: #6b7266; }
.bill-meter-incoming { position: absolute; top: 0; height: 12px; border-radius: 0 6px 6px 0; background: repeating-linear-gradient(135deg, #c98a1a 0 6px, #e8b95a 6px 12px); }
.bill-meter-limit { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--vf-ink); }
.bill-dialog-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.bill-choose-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bill-choose { font-size: 15px; font-weight: 700; }
.bill-seg { display: inline-flex; padding: 3px; border: 1px solid #cfccbf; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; }
.bill-seg label, .bill-seg a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; color: #3f473c; text-decoration: none; cursor: pointer; white-space: nowrap; }
.bill-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bill-seg label:has(input:checked), .bill-seg a.is-on { background: #27321f; color: #fff; }
.bill-seg label:has(input:focus-visible) { outline: 2px solid var(--vf-green); outline-offset: 2px; }
.bill-save { padding: 3px 8px; border-radius: 999px; background: #e3efd2; color: #2d5a17; font-size: 12px; font-weight: 700; }
.bill-seg a.is-on .bill-save { background: #b6d95c; color: #1d2a19; }
.bill-plan-list { display: flex; flex-direction: column; gap: 10px; }
.bill-plan-option { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #d9d6c8; border-radius: 10px; background: #fff; cursor: pointer; }
.bill-plan-option:has(input:checked) { border: 2px solid #3f7a22; background: #f3f8e8; padding: 13px 15px; }
.bill-plan-option input { width: 20px; height: 20px; margin: 0; accent-color: #3f7a22; }
.bill-plan-option strong { font-size: 16px; }
.bill-plan-option em { margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: #e3efd2; color: #2d5a17; font-size: 12px; font-style: normal; font-weight: 700; }
.bill-plan-option small { display: block; margin-top: 2px; font-size: 14px; color: var(--vf-mute); }
.bill-plan-price b { font-size: 16px; }
.bill-plan-price small { display: inline; font-size: 14px; }
.bill-safe { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 8px; background: #eef3e2; font-size: 14px; color: #3f473c; }
.bill-safe svg { flex: none; color: #3f7a22; }

.billing { display: flex; flex-direction: column; gap: 22px; width: min(100%, 1040px); }
.billing-card { background: #fff; border: 1px solid var(--vf-line); border-radius: 10px; }
.billing-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid #ecd7a0; border-radius: 10px; background: #fdf6e3; font-size: 15px; line-height: 1.5; }
.billing-note form { margin: 0; }
.billing-note-ok { justify-content: flex-start; border-color: #c9dba4; background: #eef3e2; }
.billing-note-error { border-color: #e6b8b0; background: #fbeae6; }
.billing-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vf-mute); }
.billing-muted { margin: 0; font-size: 14px; line-height: 1.5; color: var(--vf-mute); }
.billing-small { font-size: 13px; }
.billing-current { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: center; padding: 24px 28px; }
.billing-current h2 { margin: 6px 0 2px; font-family: var(--vf-display); font-size: 32px; font-weight: 400; }
.billing-usage-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.billing-plans-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.billing-plans-head h2 { margin: 0; font-family: var(--vf-display); font-size: 28px; font-weight: 400; }
.billing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.billing-plan { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; }
.billing-plan.is-current { border: 2px solid #9aa093; }
.billing-plan.is-recommended { border: 2px solid #3f7a22; }
.billing-plan-head { display: flex; justify-content: space-between; align-items: center; }
.billing-plan h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3f473c; }
.billing-tag { padding: 4px 10px; border-radius: 999px; background: #efefe6; color: #3f453c; font-size: 12px; font-weight: 700; }
.billing-tag-green { background: #e3efd2; color: #2d5a17; }
.billing-price { margin: 0; font-family: var(--vf-display); font-size: 44px; line-height: 1; }
.billing-price span { font-family: var(--vf-body); font-size: 16px; color: var(--vf-mute); }
.billing-price-note { min-height: 21px; }
.billing-records { margin: 6px 0 0; font-size: 17px; font-weight: 700; }
.billing-plan ul { flex: 1; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.billing-plan li::before { content: "✓"; margin-right: 10px; color: #3f7a22; font-weight: 700; }
.billing-plan-cta { margin-top: 12px; }
.billing-plan-cta form { margin: 0; }
.billing-plan-cta .dashboard-button { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
.dashboard-button-static { cursor: default; opacity: .6; border-color: var(--vf-line); }
.dashboard-button-static:hover { background: none; }
.billing-details { padding: 20px 28px; }
.billing-details h2 { margin: 0 0 6px; font-family: var(--vf-display); font-size: 22px; font-weight: 400; }
.billing-details dl { margin: 0; }
.billing-details dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #ebe8de; font-size: 15px; }
.billing-details dl div:first-child { border-top: 0; }
.billing-details dt { color: var(--vf-mute); }
.billing-details dd { margin: 0; font-weight: 600; }
.billing-details form { margin: 0; }
.billing-link { padding: 0; border: 0; background: none; color: #2e4228; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.import-limit-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 16px 20px; border: 1px solid #ecd7a0; border-radius: 10px; background: #fdf6e3; }
.import-limit-note p { margin: 4px 0 0; font-size: 14px; color: var(--vf-mute); }
.import-limit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.import-limit-actions form { margin: 0; }
.allowance-row { grid-template-columns: 32px 56px minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, .8fr) 100px; }

@media (max-width: 900px) {
  .billing-plans, .billing-current { grid-template-columns: 1fr; }
  .plan-banner { flex-wrap: wrap; }
  .import-limit-note { flex-direction: column; align-items: flex-start; }
  .usage-card-link { position: static; display: inline-block; margin-top: 8px; }
}

.credentials-empty .dashboard-actions {
  margin-top: 20px;
  justify-content: center;
}

.issue-professional-list .dashboard-muted {
  margin: 0;
  padding: 16px 14px;
}
