/* trust.fidelir.com — site-specific overrides (shared brand CSS from fidelir.com/public/assets/css/). */

/* WebKit mobile: uppercase on .brand-word must not bleed into sibling .brand-unit
   inside the same <strong> — separate inline formatting contexts. */
.site-header .brand-text .brand-word,
.site-header .brand-text .brand-unit {
  display: inline-block;
}

.site-header .brand-text .brand-unit {
  font-weight: 600;
  text-transform: none;
}

.page-hero-cps .intro-title {
  white-space: normal;
  max-width: 22ch;
}

/* —— About —— */

.trust-about-position {
  margin: 0;
  padding: var(--section-pad-y-compact) 0 var(--section-pad-bottom-tight);
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-about-statement {
  margin: 0;
  padding: 1.65rem 1.85rem 1.75rem;
}

.trust-about-statement-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.trust-about-statement-lead {
  margin: 0.85rem 0 0;
  padding: 0;
  border: 0;
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  line-height: 1.62;
  color: var(--navy);
  max-width: none;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.trust-about-statement-lead strong {
  font-weight: 700;
}

.trust-about-scope-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-about-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-about-scope-block {
  padding: 1.15rem 1.25rem;
}

.trust-about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text);
}

.trust-about-list li {
  padding-left: 0.85rem;
  border-left: 2px solid rgba(180, 140, 50, 0.45);
}

.trust-about-process-inner {
  max-width: 46rem;
}

.trust-about-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.trust-about-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
}

.trust-about-step-num {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(15, 35, 58, 0.14);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.trust-about-cta {
  margin-top: 1.5rem;
}

@media (max-width: 860px) {
  .trust-about-scope-grid {
    grid-template-columns: 1fr;
  }

  .trust-about-position {
    padding: 1.5rem 0 1rem;
  }
}

@media (max-width: 640px) {
  .trust-about-statement {
    padding: 1.35rem 1.25rem 1.45rem;
  }

  .trust-about-statement-lead {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .trust-about-steps li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .trust-about-step-num {
    font-size: 1rem;
  }
}

.trust-repo-stack {
  display: grid;
  gap: 2rem;
  --trust-repo-subject-width: 31ch;
}

.trust-repo-heading {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.trust-repo-table-wrap {
  padding: 0;
  overflow: hidden;
}

.trust-repo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.trust-repo-table thead {
  background: var(--off-white);
}

.trust-repo-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(15, 35, 58, 0.12);
}

.trust-repo-table td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 35, 58, 0.08);
  color: var(--navy);
}

.trust-repo-table tbody tr:last-child td {
  border-bottom: 0;
}

.trust-repo-table tbody tr:hover {
  background: rgba(244, 247, 251, 0.65);
}

.trust-repo-table td:first-child {
  font-weight: 600;
}

.trust-repo-table-ca {
  table-layout: auto;
}

.trust-repo-table-ca :is(th, td):first-child {
  width: var(--trust-repo-subject-width);
  min-width: var(--trust-repo-subject-width);
  max-width: var(--trust-repo-subject-width);
  white-space: nowrap;
}

.trust-repo-table-ca :is(th, td):nth-child(2) {
  white-space: nowrap;
}

.trust-repo-table-ca td:first-child a {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.trust-repo-table-ca td:first-child a:hover,
.trust-repo-table-ca td:first-child a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.trust-repo-cn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.trust-repo-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: help;
}

.trust-repo-hint-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(15, 35, 58, 0.22);
  background: rgba(15, 35, 58, 0.04);
  color: var(--muted, #5a6b7d);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.trust-repo-hint-popover {
  position: absolute;
  left: calc(100% + 0.45rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  min-width: 7rem;
  max-width: min(14rem, calc(100vw - 2rem));
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 35, 58, 0.12);
  box-shadow: 0 8px 24px rgba(15, 35, 58, 0.12);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .trust-repo-hint:hover .trust-repo-hint-popover,
  .trust-repo-hint:focus-visible .trust-repo-hint-popover {
    opacity: 1;
    visibility: visible;
  }
}

.trust-repo-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted, #5a6b7d);
}

.trust-repo-table-ca td:nth-child(3),
.trust-repo-table-ca td:nth-child(4),
.trust-repo-table-ca td:nth-child(5) {
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--text);
}

.trust-repo-table-ca td:nth-child(3) time,
.trust-repo-table-ca td:nth-child(4) time,
.trust-repo-table-ca td:nth-child(5) time {
  font-variant-numeric: tabular-nums;
}

.trust-repo-validation {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.55rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.trust-repo-validation a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.trust-repo-validation a:hover,
.trust-repo-validation a:focus-visible {
  text-decoration: underline;
}

.trust-repo-note {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted, #5a6a7a);
  white-space: normal;
}

.trust-repo-table-simple td:last-child a {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 500;
  word-break: break-all;
}

@media (max-width: 860px) {
  .trust-repo-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .trust-repo-table-ca {
    min-width: 40rem;
  }

  .trust-repo-table-simple {
    min-width: 36rem;
  }
}

@media (max-width: 640px) {
  .trust-repo-table-wrap {
    overflow-x: visible;
  }

  .trust-repo-table-ca,
  .trust-repo-table-simple {
    min-width: 0;
    table-layout: auto;
  }

  .trust-repo-table-ca :is(th, td):first-child {
    width: auto;
    min-width: 0;
    max-width: none;
    white-space: normal;
  }

  .trust-repo-table-ca :is(th, td):nth-child(2) {
    white-space: normal;
  }

  .trust-repo-table thead {
    display: none;
  }

  .trust-repo-table tbody tr {
    display: block;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(15, 35, 58, 0.1);
  }

  .trust-repo-table tbody tr:last-child {
    border-bottom: 0;
  }

  .trust-repo-table td {
    display: grid;
    grid-template-columns: minmax(6.5rem, 34%) 1fr;
    gap: 0.35rem 0.75rem;
    align-items: start;
    padding: 0.45rem 1rem;
    border-bottom: 0;
  }

  .trust-repo-table td::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .trust-repo-table td:first-child {
    display: block;
    padding-top: 0.85rem;
    padding-bottom: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .trust-repo-table td:first-child::before {
    content: none;
  }

  .trust-repo-table-ca td:nth-child(2),
  .trust-repo-table-ca td:nth-child(3),
  .trust-repo-table-ca td:nth-child(4),
  .trust-repo-table-ca td:nth-child(5) {
    white-space: normal;
  }

  .trust-repo-table-simple td:last-child a {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

.trust-repo-dl {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) 1fr;
  gap: 0.4rem 1.25rem;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

.trust-repo-dl dt {
  color: var(--muted);
  font-weight: 600;
}

.trust-repo-dl dd {
  margin: 0;
}

.trust-repo-dl a {
  font-weight: 500;
  word-break: break-all;
}

@media (max-width: 640px) {
  .trust-repo-dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .trust-repo-dl dt:not(:first-child) {
    margin-top: 0.65rem;
  }
}

.prose.cps-doc h2 {
  margin: 1.85rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.prose.cps-doc h2:first-child {
  margin-top: 0;
}

.prose.cps-doc h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.prose.cps-doc dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.35rem 1.25rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
}

.prose.cps-doc dt {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.prose.cps-doc dd {
  margin: 0;
}

.prose.cps-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.75rem 0 1.25rem;
}

.prose.cps-doc th,
.prose.cps-doc td {
  text-align: left;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(15, 35, 58, 0.1);
  vertical-align: top;
}

.prose.cps-doc th {
  color: var(--muted);
  font-weight: 600;
}

.prose.cps-doc p,
.prose.cps-doc .cps-notice,
.prose.cps-doc li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
}

.prose.cps-doc ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.25rem;
}

.page-hero-visual.page-hero-cps .intro-for {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
}

.cps-notice {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: var(--off-white);
  font-size: 0.92rem;
  line-height: 1.6;
}

.prose.cps-doc code {
  font-size: 0.88em;
}

@media (max-width: 640px) {
  .prose.cps-doc dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .prose.cps-doc dt {
    white-space: normal;
  }

  .prose.cps-doc dt:not(:first-child) {
    margin-top: 0.65rem;
  }
}

/* —— Validate (home) —— */

.trust-inline-code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(15, 35, 58, 0.06);
}

.trust-verify-layout {
  display: grid;
  gap: 2rem;
  min-width: 0;
  max-width: 100%;
}

.trust-verify-panel {
  padding: 1.35rem 1.5rem;
  min-width: 0;
  max-width: 100%;
}

.trust-verify-result,
.trust-verify-table-wrap,
.trust-verify-doc-list,
.trust-verify-doc-block,
.trust-verify-doc-table-wrap {
  min-width: 0;
  max-width: 100%;
}

.trust-verify-form {
  display: grid;
  gap: 1.15rem;
}

.trust-verify-drop {
  border: 2px dashed rgba(15, 35, 58, 0.18);
  border-radius: 10px;
  padding: 2rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: rgba(244, 247, 251, 0.45);
}

.trust-verify-drop:hover,
.trust-verify-drop:focus-visible,
.trust-verify-drop.is-dragover {
  border-color: var(--accent);
  background: rgba(244, 247, 251, 0.95);
  outline: none;
}

.trust-verify-drop-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-verify-drop-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.trust-verify-file {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-size: 0.92rem;
  color: var(--text);
}

.trust-verify-queue {
  border: 1px solid rgba(15, 35, 58, 0.12);
  border-radius: 10px;
  background: rgba(244, 247, 251, 0.55);
  overflow: hidden;
}

.trust-verify-queue.hidden {
  display: none;
}

.trust-verify-queue-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  user-select: none;
}

.trust-verify-queue-summary::-webkit-details-marker {
  display: none;
}

.trust-verify-queue-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-verify-queue-label::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  opacity: 0.65;
  margin-top: -0.15rem;
}

.trust-verify-queue[open] .trust-verify-queue-label::before {
  transform: rotate(45deg);
  margin-top: 0.1rem;
}

.trust-verify-queue-meta {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.trust-verify-queue[open] .trust-verify-queue-summary {
  border-bottom: 1px solid rgba(15, 35, 58, 0.08);
}

.trust-verify-queue-body {
  padding: 0.65rem;
  max-height: min(16rem, 42vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.trust-verify-files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.trust-verify-file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(15, 35, 58, 0.12);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(244, 247, 251, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: 0 1px 2px rgba(15, 35, 58, 0.05);
}

.trust-verify-queue .trust-verify-file-item {
  padding: 0.55rem 0.7rem;
}

.trust-verify-file-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(145deg, #c0392b, #922b21);
}

.trust-verify-file-icon--pdf {
  background: linear-gradient(145deg, #c0392b, #922b21);
}

.trust-verify-file-icon--doc {
  background: linear-gradient(145deg, #1a5276, #154360);
}

.trust-verify-file-body {
  flex: 1;
  min-width: 0;
}

.trust-verify-file-name {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  min-width: 0;
}

.trust-verify-filename {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.trust-verify-table th {
  text-align: center;
}

.trust-verify-table td:first-child {
  max-width: 18rem;
  font-weight: 500;
}

.trust-verify-doc-list {
  display: flex;
  flex-direction: column;
}

.trust-verify-doc-block + .trust-verify-doc-block {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(15, 35, 58, 0.08);
}

.trust-verify-doc-error {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  color: #9b2c2c;
}

.trust-verify-doc-table-wrap {
  overflow-x: clip;
  overflow-y: hidden;
}

.trust-verify-table--signatures .trust-verify-doc-title-row th {
  border-bottom: 0;
  padding-bottom: 0.4rem;
  vertical-align: bottom;
  background: transparent;
}

.trust-verify-table--signatures .trust-verify-doc-title-cell {
  text-align: left;
  font-weight: 600;
}

.trust-verify-table--signatures .trust-verify-doc-result-cell {
  text-align: center;
  vertical-align: bottom;
  white-space: nowrap;
}

.trust-verify-table--signatures .trust-verify-col-head-row th {
  padding-top: 0.15rem;
  border-top: 1px solid rgba(15, 35, 58, 0.08);
}

.trust-verify-doc-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  min-width: 0;
}

.trust-verify-doc-title .trust-verify-filename {
  max-width: min(100%, 28rem);
}

.trust-verify-doc-badge {
  flex-shrink: 0;
}

.trust-verify-badge--download {
  padding-left: 0.3rem;
  cursor: pointer;
  justify-content: center;
  user-select: none;
  transition: box-shadow 0.15s;
}

.trust-verify-badge--download:hover,
.trust-verify-badge--download:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 35, 58, 0.1);
}

.trust-verify-download-mark {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  line-height: 0;
}

.trust-verify-badge--download:hover .trust-verify-download-mark,
.trust-verify-badge--download:focus-visible .trust-verify-download-mark {
  background: rgba(255, 255, 255, 0.65);
}

.trust-verify-download-mark svg {
  display: block;
}

.trust-verify-table--signatures td:first-child {
  max-width: none;
  font-weight: inherit;
}

.trust-verify-table--signatures td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-verify-table--signatures td:nth-child(4) {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.trust-verify-file-size {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.trust-verify-file-remove {
  flex-shrink: 0;
  appearance: none;
  border: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--muted);
  background: rgba(15, 35, 58, 0.06);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.trust-verify-file-remove:hover,
.trust-verify-file-remove:focus-visible {
  color: #922b21;
  background: rgba(192, 57, 43, 0.12);
  outline: none;
}

.trust-verify-files-summary {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.trust-verify-file span {
  color: var(--muted);
}

.trust-verify-options summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.trust-verify-options-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.trust-verify-field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
}

.trust-verify-field span {
  font-weight: 600;
  color: var(--muted);
}

.trust-verify-field input[type="text"] {
  font: inherit;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(15, 35, 58, 0.15);
  border-radius: 6px;
  max-width: 14rem;
}

.trust-verify-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
}

.trust-verify-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.trust-verify-submit {
  appearance: none;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 1.25rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

.trust-verify-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.trust-verify-reset {
  appearance: none;
  border: 1px solid rgba(15, 35, 58, 0.15);
  border-radius: 6px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.trust-verify-progress {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(15, 35, 58, 0.08);
}

.trust-verify-status {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-verify-meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 35, 58, 0.08);
  overflow: hidden;
}

.trust-verify-meter-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.25s ease;
}

.trust-verify-timing {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.trust-verify-disclaimer {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line, rgba(10, 25, 41, 0.1));
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}

.trust-verify-disclaimer-summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0 0.65rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
  user-select: none;
}

.trust-verify-disclaimer-summary::-webkit-details-marker {
  display: none;
}

.trust-verify-disclaimer-summary::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  opacity: 0.65;
  margin-top: -0.12rem;
  flex-shrink: 0;
}

.trust-verify-disclaimer[open] .trust-verify-disclaimer-summary::before {
  transform: rotate(45deg);
  margin-top: 0.08rem;
}

.trust-verify-disclaimer-summary:hover,
.trust-verify-disclaimer-summary:focus-visible {
  color: var(--ink, #0a1929);
  outline: none;
}

.trust-verify-disclaimer-body {
  padding: 0 0 0.15rem;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
}

.trust-verify-disclaimer-body p {
  margin: 0 0 0.65rem;
}

.trust-verify-disclaimer-body p:last-child {
  margin-bottom: 0;
}

.trust-verify-disclaimer a,
.trust-verify-disclaimer-body a,
.trust-verify-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.trust-verify-disclaimer a:hover,
.trust-verify-disclaimer a:focus-visible,
.trust-verify-disclaimer-body a:hover,
.trust-verify-disclaimer-body a:focus-visible,
.trust-verify-privacy a:hover,
.trust-verify-privacy a:focus-visible {
  color: var(--ink, #0a1929);
}

.trust-verify-privacy {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: inherit;
}

.trust-verify-sep {
  margin: 0 0.35rem;
}

.trust-verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.trust-verify-badge--expandable {
  padding-left: 0.3rem;
  cursor: pointer;
  justify-content: center;
  user-select: none;
  transition: box-shadow 0.15s;
}

.trust-verify-badge--expandable:hover,
.trust-verify-badge--expandable:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 35, 58, 0.1);
}

.trust-verify-col-result {
  white-space: nowrap;
}

.trust-verify-col-result .trust-verify-badge {
  width: fit-content;
  max-width: 100%;
}

.trust-verify-table td:nth-child(7),
.trust-verify-table--signatures td:nth-child(6),
.trust-verify-col-result {
  white-space: nowrap;
}

.trust-verify-table td:nth-child(7) .trust-verify-badge,
.trust-verify-table--signatures td:nth-child(6) .trust-verify-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
}

.trust-verify-table td:nth-child(7) .trust-verify-badge--expandable,
.trust-verify-table--signatures td:nth-child(6) .trust-verify-badge--expandable {
  padding-left: 0.25rem;
}

.trust-verify-expand-mark {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.95em;
  font-weight: 800;
  line-height: 1;
}

.trust-verify-badge--expandable[aria-expanded="true"] .trust-verify-expand-mark {
  background: rgba(255, 255, 255, 0.65);
}

.trust-verify-badge--ok {
  background: rgba(34, 139, 87, 0.12);
  color: #1a6b42;
}

.trust-verify-badge--eu-lotl {
  box-shadow: 0 0 0 1.5px #c9a227;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.16), rgba(34, 139, 87, 0.12));
}

.trust-verify-badge--fail {
  background: rgba(180, 48, 48, 0.12);
  color: #9b2c2c;
}

.trust-verify-badge--warn {
  background: rgba(180, 120, 20, 0.12);
  color: #8a5a00;
}

.trust-verify-badge--error {
  background: rgba(15, 35, 58, 0.1);
  color: var(--navy);
}

.trust-verify-muted {
  color: var(--muted);
  font-size: 0.88em;
}

.trust-verify-error {
  margin: 0;
  color: #9b2c2c;
  font-weight: 500;
}

.trust-verify-subhead {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.trust-verify-table td:nth-child(3) {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-verify-table td:nth-child(5) {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.trust-verify-detail-panel {
  margin: 0.15rem 0 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(244, 247, 251, 0.9);
  border: 1px solid rgba(15, 35, 58, 0.08);
  position: relative;
}

.trust-verify-detail-row td {
  padding-top: 0;
  border-top: 0;
}

.trust-verify-tech-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.trust-verify-tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  white-space: nowrap;
}

.trust-verify-tech-tag--format {
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.trust-verify-tech-tag--ok {
  color: #1e7e34;
  background: rgba(30, 126, 52, 0.1);
  border-color: rgba(30, 126, 52, 0.22);
}

.trust-verify-tech-tag--fail {
  color: #922b21;
  background: rgba(146, 43, 33, 0.08);
  border-color: rgba(146, 43, 33, 0.22);
}

.trust-verify-tech-tag--warn {
  color: #9a6700;
  background: rgba(154, 103, 0, 0.1);
  border-color: rgba(154, 103, 0, 0.24);
}

.trust-verify-tech-tag--na,
.trust-verify-tech-tag--info {
  color: var(--muted);
  background: rgba(15, 35, 58, 0.05);
  border-color: rgba(15, 35, 58, 0.1);
}

.trust-verify-tech-tag--info.trust-verify-tech-tag--format {
  color: #1e7e34;
  background: rgba(30, 126, 52, 0.1);
  border-color: rgba(30, 126, 52, 0.22);
}

.trust-verify-tech-tag .trust-verify-tech-hint-mark {
  width: 0.95rem;
  height: 0.95rem;
  font-size: 0.65rem;
}

.trust-verify-tech-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-verify-tech-tag--hinted {
  position: relative;
}

.trust-verify-tech-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: help;
}

.trust-verify-tech-hint-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #922b21;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.trust-verify-tech-hint-popover--floating {
  position: fixed;
  z-index: 1000;
  display: block;
  min-width: 14rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 35, 58, 0.12);
  box-shadow: 0 8px 24px rgba(15, 35, 58, 0.12);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  pointer-events: auto;
}

.trust-verify-tech-hint-popover--floating[hidden] {
  display: none !important;
}

.trust-verify-tech-tag--hint-open .trust-verify-tech-hint-mark {
  box-shadow: 0 0 0 2px rgba(146, 43, 33, 0.25);
}

@media (max-width: 640px) {
  .trust-verify-table--signatures thead {
    display: block;
  }

  .trust-verify-table--signatures .trust-verify-col-head-row {
    display: none;
  }

  .trust-verify-table--signatures .trust-verify-doc-title-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.85rem 1rem 0.45rem;
    border-bottom: 1px solid rgba(15, 35, 58, 0.08);
  }

  .trust-verify-table--signatures .trust-verify-doc-title-row th {
    display: block;
    padding: 0;
    border: 0;
    width: 100%;
  }

  .trust-verify-table--signatures .trust-verify-doc-title-cell {
    flex: none;
    min-width: 0;
    max-width: 100%;
  }

  .trust-verify-table--signatures .trust-verify-doc-result-cell {
    flex: none;
    min-width: 0;
    max-width: 100%;
    text-align: left;
    white-space: normal;
  }

  .trust-verify-doc-badge {
    max-width: 100%;
    white-space: normal;
    font-size: 0.68rem;
    padding: 0.22rem 0.55rem;
    letter-spacing: 0.03em;
  }

  .trust-verify-doc-title .trust-verify-filename {
    max-width: 100%;
  }

  .trust-verify-table td:first-child {
    max-width: 100%;
    padding-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .trust-verify-table td:first-child .trust-verify-filename {
    display: block;
    max-width: 100%;
  }

  .trust-verify-file-name .trust-verify-filename {
    max-width: calc(100vw - 7.5rem);
  }

  .trust-verify-table td:not(:first-child) {
    grid-template-columns: 5.75rem minmax(0, 1fr);
    column-gap: 0.45rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .trust-verify-detail-row td {
    display: block;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .trust-verify-table td:nth-child(7),
  .trust-verify-table--signatures td:nth-child(6),
  .trust-verify-col-result {
    text-align: left;
  }

  .trust-verify-col-result .trust-verify-badge {
    justify-self: start;
    width: fit-content;
    max-width: 100%;
  }
}

@media (min-width: 641px) {
  .trust-verify-table td:nth-child(7),
  .trust-verify-table--signatures td:nth-child(6),
  .trust-verify-col-result {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .trust-verify-tech-hint-popover--floating {
    min-width: 12rem;
    max-width: calc(100vw - 1.5rem);
  }
}

.trust-verify-raw {
  margin-top: 1.25rem;
}

.trust-verify-raw summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-verify-json {
  margin: 0.65rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--off-white);
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-x: auto;
  max-height: 24rem;
}

.prose.cps-doc pre.trust-verify-json {
  white-space: pre-wrap;
  overflow-x: visible;
  max-height: none;
  word-break: break-word;
}

.fidelir-footer-ops a[aria-current="page"] {
  color: var(--accent);
}

.hidden {
  display: none !important;
}
