:root {
  color-scheme: light;
  --bg-0: #f5f7f4;
  --bg-1: #ffffff;
  --bg-2: #f6f8fb;
  --bg-3: #eef2f7;
  --border: #c8d2df;
  --border-hi: #aebed0;
  --border-glow: rgba(36, 87, 214, 0.18);
  --text: #152136;
  --text-dim: #34445c;
  --text-mute: #65738a;
  --primary: #2457d6;
  --primary-hi: #2457d6;
  --secondary: #173c9b;
  --accent: #087d72;
  --accent-hi: #087d72;
  --success: #087d55;
  --success-hi: #087d55;
  --danger: #c62e3d;
  --danger-hi: #c62e3d;
  --warning: #9a5b0a;
  --warning-hi: #9a5b0a;
  --shadow-sm: 0 1px 2px rgba(28, 42, 66, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 42, 66, 0.09);
  --shadow-lg: 0 24px 70px rgba(34, 48, 73, 0.12);
  --shadow-glow: 0 20px 60px rgba(36, 87, 214, 0.12);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: #f5f7f4;
}

.ct-search-validation {
  color: var(--danger);
  background: #fff0f1;
  border-color: #f0c5ca;
  border-radius: 12px;
}

body {
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-image:
    radial-gradient(circle at 8% 0%, rgba(36, 87, 214, 0.08), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(8, 125, 114, 0.06), transparent 22%);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

section.card h2 {
  color: var(--text);
}

code,
pre,
.mono {
  font-family: 'IBM Plex Mono', monospace;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-dark, #173c9b);
}

.container,
.domain-shell {
  width: min(1320px, calc(100% - 3rem));
  margin-inline: auto;
  padding-inline: 0;
}

body.ct-home .hero {
  padding: 2.75rem 1.25rem 2.25rem;
  background: transparent;
}

body.ct-home .hero::after {
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

body.ct-home .hero h1 {
  max-width: 980px;
  margin-inline: auto;
  color: var(--text);
  background: linear-gradient(135deg, #152136 0%, #2457d6 70%, #087d72 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.ct-home .hero h1 code {
  color: #173c9b;
  background: #eaf0ff;
  border-color: #d5dfff;
  -webkit-text-fill-color: #173c9b;
}

body.ct-home .hero p.lead {
  max-width: 840px;
  margin: 0.9rem auto 1.65rem;
  color: var(--text-dim);
  font-size: 0.96rem;
  font-weight: 500;
}

body.ct-home .home-kicker {
  color: var(--primary);
  background: #eaf0ff;
  border-color: #d5dfff;
}

body.ct-home .home-kicker code {
  color: var(--primary);
}

body.ct-home .home-search-box {
  background: #fff;
  border-color: #b9c7da;
  box-shadow: 0 18px 50px rgba(31, 49, 77, 0.12);
}

body.ct-home .home-search-box:focus-within {
  border-color: #2457d6;
  box-shadow: 0 0 0 3px rgba(36, 87, 214, 0.1), 0 18px 50px rgba(31, 49, 77, 0.12);
}

body.ct-home .home-search-box input[type='text'] {
  color: var(--text);
  background: #fff;
}

body.ct-home .advanced-toggle {
  color: var(--text-dim);
  background: #f5f7fb;
  border-color: #d3dce8;
  box-shadow: none;
}

body.ct-home .advanced-toggle:hover,
body.ct-home .advanced-toggle[aria-expanded='true'] {
  color: var(--primary);
  background: #eef3ff;
  border-color: #bfcdfa;
  box-shadow: none;
}

body.ct-home .recent-searches {
  background: rgba(255, 255, 255, 0.78);
  border-color: #d5deea;
}

body.ct-home .recent-search-chip {
  color: var(--text);
  background: #f6f8fb;
  border-color: #d8e0ea;
}

body.ct-home .recent-search-chip:hover {
  color: var(--primary);
  background: #eef3ff;
  border-color: #bdcbf5;
}

body.ct-home .advanced-panel-wrap,
body.ct-home .advanced-panel-inner,
body.ct-home .advanced-panel {
  color: var(--text);
  background: #fff;
  border-color: #d3dce8;
  box-shadow: 0 18px 45px rgba(34, 48, 73, 0.1);
}

body.ct-home .advanced-panel select,
body.ct-home .advanced-panel input[type='date'],
body.ct-home .advanced-panel input.filter-date-input {
  color: var(--text);
  background: #fff;
  border-color: #c8d2df;
}

.search-box button,
.btn-apply {
  color: #fff;
  background: #2457d6;
  border-color: #2457d6;
  box-shadow: none;
}

.search-box button:hover,
.btn-apply:hover {
  color: #fff;
  background: #173c9b;
}

.card,
.stat-card,
.metric-card,
.priority-card,
.history-item {
  color: var(--text);
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(28, 42, 66, 0.07);
}

.card:hover,
.stat-card:hover {
  border-color: #bdcbf5;
}

.stat-card::before {
  background: linear-gradient(90deg, #2457d6, #173c9b);
}

.stat-card:hover {
  box-shadow: 0 12px 30px rgba(36, 87, 214, 0.1);
}

.stat-card .value,
.metric-card .value {
  color: var(--primary);
}

.search-results,
.stat-grid,
body.ct-home .container > .card {
  margin-top: 1.3rem;
}

.table-wrap {
  background: #fff;
  border-color: #d5dde8;
}

table {
  color: var(--text-dim);
}

thead {
  background: #edf2f8;
}

th {
  color: #44546d;
  border-color: #cbd5e1;
}

td {
  color: var(--text-dim);
  border-color: #e0e6ee;
}

tbody tr:hover {
  background: #f6f8fb;
}

.dense-table td,
.dense-table th {
  border-color: #dfe5ed;
}

.source-pill,
.pill,
.badge {
  color: var(--text-dim);
  background: #f2f5f9;
  border-color: #d5dde8;
}

.badge-active,
.pill.good {
  color: #087d55;
  background: #eaf8f1;
  border-color: #bfe6d2;
}

.badge-expired,
.pill.warn {
  color: #9a5b0a;
  background: #fff7e6;
  border-color: #efd9aa;
}

.badge-revoked,
.pill.bad {
  color: #c62e3d;
  background: #fff0f1;
  border-color: #f2c5ca;
}

.pagination button,
.pagination a,
.btn-link {
  color: var(--text-dim);
  background: #fff;
  border-color: #cbd5e1;
}

.pagination button:hover,
.pagination a:hover,
.btn-link:hover {
  color: var(--primary);
  background: #eef3ff;
  border-color: #bdcbf5;
}

.pagination button.active,
.pagination button.active:hover,
.pagination button.active:focus-visible {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-link.primary,
.btn-link.accent {
  color: #fff;
  background: #2457d6;
  border-color: #2457d6;
}

.search-hint,
.section-intro,
.inline-note,
.empty,
.empty-box,
.muted {
  color: var(--text-mute);
}

footer.site-foot {
  display: flex;
  width: min(1180px, calc(100% - 3rem));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem auto 0;
  padding: 1.35rem 0 1.6rem;
  color: var(--text-mute);
  background: transparent;
  border-top: 1px solid #cbd5e1;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: left;
}

footer.site-foot strong {
  color: var(--text);
}

/* Domain history */
.ct-domain-main {
  min-height: calc(100vh - 160px);
}

.ct-domain-error {
  width: min(1180px, calc(100% - 3rem));
  margin: 3rem auto;
  padding: 1rem;
  color: var(--text-dim);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
}

.ct-domain-loading,
.ct-search-loading {
  width: 100%;
  color: var(--text-dim);
  text-align: center;
}

.ct-domain-loading {
  display: grid;
  min-height: calc(100svh - 160px);
  place-items: center;
  padding: 2rem 1.5rem;
}

.ct-search-loading:not([hidden]) {
  display: grid;
  min-height: min(520px, calc(100svh - 150px));
  place-items: center;
  padding: 2rem 1.5rem;
}

.search-results.is-loading {
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.search-results.is-loading > :not(.ct-search-loading) {
  display: none !important;
}

.ct-loading-content {
  width: min(100%, 600px);
  padding: 2.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.ct-loading-mark {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.ct-loading-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #2457d6;
  border-radius: 50%;
  animation: ct-loading-spin 1s linear infinite;
}

.ct-loading-ring:nth-child(2) {
  inset: 8px;
  border-top-color: #fcd116;
  animation-duration: 0.8s;
  animation-direction: reverse;
}

.ct-loading-ring:nth-child(3) {
  inset: 16px;
  border-top-color: #ce1126;
  animation-duration: 1.2s;
}

.ct-loading-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #2457d6;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.ct-loading-brand em {
  color: #000;
  font-style: normal;
}

.ct-loading-content h2 {
  margin: 0 0 0.3rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.ct-loading-content p {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.85rem;
}

@keyframes ct-loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ct-loading-ring {
    animation-duration: 2.4s;
  }
}

.ct-domain-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: 3.2rem 0 2rem;
  border-bottom: 1px solid #cbd5e1;
}

.ct-eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.38rem 0.65rem;
  color: var(--primary);
  background: #eaf0ff;
  border: 1px solid #d5dfff;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-domain-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.ct-domain-hero p {
  max-width: 780px;
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

.ct-domain-live-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.68rem 0.9rem;
  color: #fff;
  background: #2457d6;
  border: 1px solid #2457d6;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.ct-domain-live-link:hover {
  color: #fff;
  background: #173c9b;
}

.ct-domain-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.4rem 0;
}

.ct-domain-metric {
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
}

.ct-domain-metric span,
.ct-domain-metric small {
  display: block;
}

.ct-domain-metric span {
  color: var(--text-mute);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-domain-metric strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  margin: 0.3rem 0 0.18rem;
  color: var(--text);
  font-size: 1.35rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-domain-metric small {
  color: var(--text-mute);
  font-size: 0.68rem;
}

.ct-scope-note {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  color: #40506a;
  background: #f2f6ff;
  border: 1px solid #d5dfff;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 550;
  line-height: 1.6;
}

.ct-history-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.ct-history-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.ct-history-head p {
  margin-top: 0.35rem;
  color: var(--text-mute);
  font-size: 0.76rem;
}

.ct-history-list {
  display: grid;
  gap: 0.8rem;
}

.ct-certificate-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(28, 42, 66, 0.06);
}

.ct-certificate-summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.35fr) minmax(170px, 0.8fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.ct-history-number {
  color: var(--text-mute);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
}

.ct-cert-primary,
.ct-cert-validity {
  min-width: 0;
}

.ct-cert-primary strong,
.ct-cert-primary span,
.ct-cert-validity strong,
.ct-cert-validity span {
  display: block;
}

.ct-cert-primary strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-cert-primary span,
.ct-cert-validity span {
  margin-top: 0.24rem;
  color: var(--text-mute);
  font-size: 0.68rem;
}

.ct-cert-validity strong {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.ct-cert-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.ct-cert-badge {
  padding: 0.26rem 0.48rem;
  color: var(--text-dim);
  background: #f2f5f9;
  border: 1px solid #d5dde8;
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ct-cert-badge.valid {
  color: #087d55;
  background: #eaf8f1;
  border-color: #bfe6d2;
}

.ct-cert-badge.expired,
.ct-cert-badge.revoked {
  color: #c62e3d;
  background: #fff0f1;
  border-color: #f2c5ca;
}

.ct-cert-badge.future {
  color: #9a5b0a;
  background: #fff7e6;
  border-color: #efd9aa;
}

.ct-cert-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  color: var(--primary);
  background: #f7f9fc;
  border: 0;
  border-top: 1px solid #e0e6ee;
  font: inherit;
  font-size: 0.69rem;
  font-weight: 800;
  cursor: pointer;
}

.ct-cert-toggle:hover {
  background: #eef3ff;
}

.ct-cert-detail {
  padding: 1rem;
  background: #fbfcfe;
  border-top: 1px solid #e0e6ee;
}

.ct-detail-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 1rem;
  color: var(--text-dim);
  background: #eef3ff;
  border: 1px solid #cfdbf4;
  border-radius: 11px;
}

.ct-detail-intro > div > span,
.ct-detail-intro > div > strong {
  display: block;
}

.ct-detail-intro > div > span {
  color: var(--primary);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-detail-intro > div > strong {
  margin-top: 0.2rem;
  color: var(--text);
  font-size: 0.88rem;
}

.ct-detail-intro p {
  max-width: 620px;
  margin: 0;
  color: var(--text-mute);
  font-size: 0.7rem;
  line-height: 1.55;
}

.ct-artifact-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.8rem;
  padding: 0.35rem;
  background: #edf1f6;
  border: 1px solid #d5dde8;
  border-radius: 12px;
}

.ct-artifact-tabs button {
  min-width: 0;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  text-align: left;
  color: var(--text-mute);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  font: inherit;
  cursor: pointer;
}

.ct-artifact-tabs button span,
.ct-artifact-tabs button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-artifact-tabs button span {
  font-size: 0.72rem;
  font-weight: 800;
}

.ct-artifact-tabs button small {
  margin-top: 0.18rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
}

.ct-artifact-tabs button[aria-selected="true"] {
  color: var(--primary);
  background: #fff;
  border-color: #cbd7eb;
  box-shadow: var(--shadow-sm);
}

.ct-artifact-tabs button:focus-visible,
.ct-artifact-actions a:focus-visible,
.ct-artifact-actions button:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.24);
  outline-offset: 2px;
}

.ct-artifact-stack {
  margin-top: 0.8rem;
}

.ct-artifact-card {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  box-shadow: 0 5px 18px rgba(28, 42, 66, 0.05);
}

.ct-artifact-card[hidden] {
  display: none;
}

.ct-artifact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border-bottom: 1px solid #dfe6ee;
  border-radius: 13px 13px 0 0;
}

.ct-artifact-head > div:first-child > span {
  color: var(--primary);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-artifact-head h3 {
  margin: 0.18rem 0 0;
  font-size: 1rem;
}

.ct-artifact-head p {
  margin: 0.22rem 0 0;
  color: var(--text-mute);
  font-size: 0.68rem;
}

.ct-artifact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.38rem;
}

.ct-artifact-actions a,
.ct-artifact-actions button,
.ct-artifact-action-disabled {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  color: var(--primary);
  background: #fff;
  border: 1px solid #cbd7eb;
  border-radius: 8px;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.ct-artifact-actions a:hover,
.ct-artifact-actions button:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.ct-artifact-action-disabled {
  color: #8a96a8;
  background: #f1f4f7;
  border-color: #dce2e9;
  cursor: not-allowed;
}

.ct-detail-block {
  padding: 1.05rem 1.1rem 1.15rem;
  border-top: 1px solid #e3e8ef;
}

.ct-artifact-head + .ct-detail-block {
  border-top: 0;
}

.ct-detail-block-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.ct-detail-block-head > span {
  display: inline-flex;
  width: 30px;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #edf3ff;
  border: 1px solid #cad9f6;
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  font-weight: 800;
}

.ct-detail-block-head h4,
.ct-detail-block-head p {
  margin: 0;
}

.ct-detail-block-head h4 {
  font-size: 0.84rem;
}

.ct-detail-block-head p {
  margin-top: 0.14rem;
  color: var(--text-mute);
  font-size: 0.64rem;
  line-height: 1.45;
}

.ct-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ct-detail-field {
  min-width: 0;
  padding: 0.65rem;
  background: #f8fafc;
  border: 1px solid #dde4ed;
  border-radius: 9px;
}

.ct-detail-field > span,
.ct-detail-field > strong {
  display: block;
}

.ct-detail-field > span,
.ct-detail-section h3 {
  color: var(--text-mute);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ct-detail-field > strong {
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.48;
}

.ct-detail-field.wide {
  grid-column: span 2;
}

.ct-detail-field.full {
  grid-column: 1 / -1;
}

.ct-detail-field a {
  overflow-wrap: anywhere;
}

.ct-field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ct-field-tags > span:not(.ct-empty-value) {
  padding: 0.22rem 0.36rem;
  color: var(--text-dim);
  background: #fff;
  border: 1px solid #d5dde8;
  border-radius: 6px;
  font-size: 0.61rem;
}

.ct-detail-caution,
.ct-detail-error {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.64rem;
  line-height: 1.5;
}

.ct-detail-caution {
  color: #75500e;
  background: #fff8e8;
  border: 1px solid #eed9a8;
}

.ct-detail-error {
  color: var(--danger);
  background: #fff1f2;
  border: 1px solid #f1c4ca;
}

.ct-extension-row {
  margin-top: 0.8rem;
  padding: 0.7rem;
  background: #f8fafc;
  border: 1px solid #dde4ed;
  border-radius: 9px;
}

.ct-extension-row h5,
.ct-name-columns h5 {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ct-link-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.ct-link-list span,
.ct-link-list a {
  overflow-wrap: anywhere;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
}

.ct-sct-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.ct-sct-list > span {
  min-width: 0;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
}

.ct-sct-list strong,
.ct-sct-list small,
.ct-sct-list code {
  display: block;
  overflow-wrap: anywhere;
}

.ct-sct-list strong {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.61rem;
}

.ct-sct-list small,
.ct-sct-list code {
  margin-top: 0.24rem;
  color: var(--text-mute);
  font-size: 0.58rem;
}

.ct-name-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.ct-san-summary-grid {
  margin-bottom: 0.75rem;
}

.ct-name-columns > div {
  min-width: 0;
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px solid #dde4ed;
  border-radius: 9px;
}

.ct-detail-table-wrap {
  max-width: 100%;
  margin-top: 0.65rem;
  overflow-x: auto;
  border: 1px solid #d9e1ea;
  border-radius: 9px;
}

.ct-detail-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.7rem;
}

.ct-detail-table th,
.ct-detail-table td {
  padding: 0.58rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e3e8ef;
}

.ct-detail-table th {
  color: var(--text-mute);
  background: #f4f7fa;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ct-detail-table tbody tr:last-child td {
  border-bottom: 0;
}

.ct-detail-table td,
.ct-detail-table code {
  overflow-wrap: anywhere;
}

.ct-detail-table td strong,
.ct-detail-table td small {
  display: block;
}

.ct-detail-table td small {
  margin-top: 0.22rem;
  color: var(--text-mute);
}

.ct-san-table {
  min-width: 710px;
}

.ct-empty-value {
  color: var(--text-mute);
  font-size: 0.65rem;
  font-style: normal;
}

.ct-unindexed-names {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid #dde4ed;
}

.ct-compact-detail {
  display: grid;
  gap: 0.72rem;
}

.ct-compact-section {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 11px;
}

.ct-compact-summary {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease;
}

.ct-compact-summary::-webkit-details-marker {
  display: none;
}

.ct-compact-summary:hover {
  background: #f7f9fc;
}

.ct-compact-summary:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.24);
  outline-offset: -3px;
}

.ct-compact-disclosure[open] > .ct-compact-summary {
  background: #fbfcfe;
}

.ct-compact-summary .ct-detail-block-head {
  min-width: 0;
  margin: 0;
}

.ct-disclosure-action {
  display: inline-flex;
  min-width: 84px;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.61rem;
  font-weight: 800;
}

.ct-disclosure-action i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 160ms ease;
}

.ct-disclosure-open {
  display: none;
}

.ct-compact-disclosure[open] > .ct-compact-summary .ct-disclosure-open {
  display: inline;
}

.ct-compact-disclosure[open] > .ct-compact-summary .ct-disclosure-closed {
  display: none;
}

.ct-compact-disclosure[open] > .ct-compact-summary .ct-disclosure-action i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.ct-compact-section-body {
  padding: 0 0.85rem 0.85rem;
  animation: ct-disclosure-in 160ms ease-out;
}

@keyframes ct-disclosure-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ct-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.42rem;
}

.ct-compact-fact {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  background: #f7f9fc;
  border: 1px solid #e0e6ee;
  border-radius: 7px;
}

.ct-compact-fact.wide {
  grid-column: span 2;
}

.ct-compact-fact.full {
  grid-column: 1 / -1;
}

.ct-compact-fact > span,
.ct-compact-fact > strong {
  display: block;
}

.ct-compact-fact > span {
  color: var(--text-mute);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.ct-compact-fact > strong {
  margin-top: 0.19rem;
  overflow-wrap: anywhere;
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.4;
}

.ct-compact-fact a {
  overflow-wrap: anywhere;
}

.ct-compact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}

.ct-shared-san-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.ct-shared-san-layout > div {
  min-width: 0;
  padding: 0.58rem;
  background: #f7f9fc;
  border: 1px solid #e0e6ee;
  border-radius: 7px;
}

.ct-shared-san-layout h5,
.ct-object-subsection h6 {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.ct-compact-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.42rem;
}

.ct-compact-tag-list > span {
  min-width: 180px;
  padding: 0.4rem 0.48rem;
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 7px;
}

.ct-compact-tag-list strong,
.ct-compact-tag-list small {
  display: block;
  overflow-wrap: anywhere;
}

.ct-compact-tag-list strong {
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
}

.ct-compact-tag-list small {
  margin-top: 0.16rem;
  color: var(--text-mute);
  font-size: 0.56rem;
}

.ct-compact-conflict-note {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.65rem;
  color: #8a5508;
  background: #fff8e8;
  border: 1px solid #eed9a8;
  border-radius: 7px;
  font-size: 0.64rem;
}

.ct-object-comparison {
  padding: 0;
}

.ct-object-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.ct-object-compare.single {
  grid-template-columns: minmax(0, 1fr);
}

.ct-compare-card {
  min-width: 0;
  background: #fbfcfe;
  border: 1px solid #d5dee9;
  border-top: 3px solid var(--primary);
  border-radius: 10px;
}

.ct-compare-card.precert {
  border-top-color: #b77712;
}

.ct-compare-head {
  display: grid;
  gap: 0.58rem;
  padding: 0.72rem;
  background: #f7f9fc;
  border-bottom: 1px solid #e0e6ee;
  border-radius: 9px 9px 0 0;
}

.ct-compare-head > div:first-child > span {
  color: var(--primary);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.ct-compare-card.precert .ct-compare-head > div:first-child > span {
  color: #8a5508;
}

.ct-compare-head h5,
.ct-compare-head p {
  margin: 0;
}

.ct-compare-head h5 {
  margin-top: 0.12rem;
  font-size: 0.88rem;
}

.ct-compare-head p {
  margin-top: 0.16rem;
  color: var(--text-mute);
  font-size: 0.61rem;
  line-height: 1.45;
}

.ct-object-actions {
  display: grid;
  gap: 0.34rem;
  padding-top: 0.55rem;
  border-top: 1px solid #dce4ed;
}

.ct-object-actions > span {
  color: var(--primary);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.ct-compare-card.precert .ct-object-actions > span {
  color: #8a5508;
}

.ct-object-actions > small {
  color: var(--text-mute);
  font-size: 0.56rem;
  line-height: 1.42;
}

.ct-compare-head .ct-artifact-actions {
  justify-content: flex-start;
}

.ct-compare-head .ct-artifact-actions a,
.ct-compare-head .ct-artifact-actions button,
.ct-compare-head .ct-artifact-action-disabled {
  min-height: 34px;
  padding: 0.38rem 0.52rem;
  font-size: 0.59rem;
}

.ct-object-status {
  margin: 0.62rem;
  padding: 0.58rem 0.65rem;
  color: #0d664a;
  background: #edf9f3;
  border: 1px solid #c4e8d6;
  border-radius: 8px;
}

.ct-object-status.precert {
  color: #7c500a;
  background: #fff8e8;
  border-color: #edd7a3;
}

.ct-object-status.warning {
  color: var(--danger);
  background: #fff1f2;
  border-color: #efc3c8;
}

.ct-object-status > span,
.ct-object-status > strong,
.ct-object-status > p {
  display: block;
  margin: 0;
}

.ct-object-status > span {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ct-object-status > strong {
  margin-top: 0.13rem;
  font-size: 0.75rem;
}

.ct-object-status > p {
  margin-top: 0.15rem;
  font-size: 0.58rem;
  line-height: 1.4;
}

.ct-object-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.38rem;
  padding: 0 0.62rem 0.62rem;
}

.ct-object-grid .ct-compact-fact.wide,
.ct-object-grid .ct-compact-fact.full {
  grid-column: 1 / -1;
}

.ct-object-subsection {
  margin: 0 0.62rem 0.62rem;
  padding: 0.58rem;
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: 8px;
}

.ct-compact-scts {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.ct-compact-scts > span {
  min-width: 0;
  padding: 0.4rem 0.46rem;
  background: #f7f9fc;
  border: 1px solid #e0e6ee;
  border-radius: 6px;
}

.ct-compact-scts strong,
.ct-compact-scts small,
.ct-compact-scts code {
  display: block;
  overflow-wrap: anywhere;
}

.ct-compact-scts strong {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.59rem;
}

.ct-compact-scts small,
.ct-compact-scts code {
  margin-top: 0.15rem;
  color: var(--text-mute);
  font-size: 0.55rem;
}

.ct-compact-sources {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.4rem;
}

.ct-compact-source {
  min-width: 0;
  padding: 0.48rem;
  background: #f7f9fc;
  border: 1px solid #e0e6ee;
  border-radius: 7px;
}

.ct-compact-source-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.22rem 0.45rem;
}

.ct-compact-source-title strong {
  font-size: 0.66rem;
}

.ct-compact-source-title span,
.ct-compact-source-log {
  color: var(--text-mute);
  font-size: 0.57rem;
}

.ct-compact-source-log {
  margin-top: 0.18rem;
  overflow-wrap: anywhere;
}

.ct-compact-source dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
  margin: 0.42rem 0 0;
}

.ct-compact-source dl > div {
  min-width: 0;
}

.ct-compact-source dl > div.full {
  grid-column: 1 / -1;
}

.ct-compact-source dt {
  color: var(--text-mute);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ct-compact-source dd {
  margin: 0.13rem 0 0;
  overflow-wrap: anywhere;
  color: var(--text-dim);
  font-size: 0.58rem;
  line-height: 1.35;
}

.ct-detail-section {
  margin-top: 0.9rem;
}

.ct-san-list,
.ct-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.ct-san-list span,
.ct-source-list span {
  padding: 0.32rem 0.5rem;
  color: var(--text-dim);
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
}

.ct-load-more {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  padding: 0.7rem 1rem;
  color: #fff;
  background: #2457d6;
  border: 1px solid #2457d6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.ct-load-more[hidden] {
  display: none;
}

.ct-load-more:hover {
  background: #173c9b;
}

.ct-load-more:disabled {
  cursor: wait;
  opacity: 0.65;
}

body.ct-register-modal-open {
  overflow: hidden;
}

.ct-register-info-trigger {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 auto 1.2rem;
  padding: 0.55rem 0.8rem;
  color: #173c9b;
  background: #f6f8fc;
  border: 1px solid #d5ddea;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ct-register-info-trigger .ct-register-info-mark {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: #2457d6;
  border-radius: 50%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-style: normal;
}

.ct-register-info-trigger .ct-register-info-arrow {
  font-size: 0.9rem;
  transition: transform 160ms ease;
}

.ct-register-info-trigger:hover,
.ct-register-info-trigger:focus-visible {
  color: #0f2f82;
  background: #edf2ff;
  border-color: #afc0e9;
  transform: translateY(-1px);
}

.ct-register-info-trigger:hover .ct-register-info-arrow {
  transform: translateX(2px);
}

.ct-register-info-trigger:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.18);
  outline-offset: 2px;
}

.ct-register-modal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  padding: 1.25rem;
  place-items: center;
}

.ct-register-modal[hidden] {
  display: none;
}

.ct-register-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(20, 31, 49, 0.52);
  border: 0;
  cursor: default;
  backdrop-filter: blur(3px);
}

.ct-register-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 1040px);
  max-height: calc(100dvh - 2.5rem);
  overflow: hidden;
  color: #17243a;
  background: #fff;
  border: 1px solid #cfd9e6;
  border-top: 5px solid #2457d6;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(21, 33, 54, 0.3);
  outline: none;
}

.ct-register-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem 1rem;
  border-bottom: 1px solid #dde4ec;
}

.ct-register-dialog-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #2457d6;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ct-register-dialog-head h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.ct-register-modal-close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f4f6f9;
  border: 1px solid #dce3eb;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  line-height: 0;
}
.ct-register-modal-close svg { display: block; width: 16px; height: 16px; flex: 0 0 auto; }

.ct-register-modal-close:hover,
.ct-register-modal-close:focus-visible {
  color: #173c9b;
  background: #eaf0ff;
  border-color: #c8d5f5;
  outline: none;
}

.ct-register-dialog-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.35rem 1.4rem;
  scrollbar-gutter: stable;
}

.ct-register-intro {
  margin: 0;
  color: #304158;
  font-size: 0.94rem;
  font-weight: 520;
  line-height: 1.72;
}

.ct-register-position {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  color: #173c9b;
  background: #eef3ff;
  border: 1px solid #cbd8f7;
  border-left: 4px solid #2457d6;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.62;
}

.ct-register-section {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e0e6ee;
}

.ct-register-section-head {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.ct-register-section-number {
  color: #2457d6;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.ct-register-section h3 {
  margin: 0;
  color: #101828;
  font-size: 1rem;
  letter-spacing: -0.018em;
}

.ct-register-section > p {
  margin: 0;
  color: #405168;
  font-size: 0.82rem;
  line-height: 1.68;
}

.ct-register-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-register-flow li {
  min-width: 0;
  padding: 0.85rem;
  background: #f8fafc;
  border: 1px solid #dce4ed;
  border-radius: 13px;
}

.ct-register-flow b {
  display: block;
  margin-bottom: 0.35rem;
  color: #2457d6;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
}

.ct-register-flow strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #17243a;
  font-size: 0.79rem;
}

.ct-register-flow span {
  display: block;
  color: #52637a;
  font-size: 0.72rem;
  line-height: 1.52;
}

.ct-register-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.ct-register-fact {
  min-width: 0;
  padding: 0.9rem;
  background: #f8fafc;
  border: 1px solid #dce4ed;
  border-radius: 13px;
}

.ct-register-fact h4 {
  margin: 0 0 0.5rem;
  color: #17243a;
  font-size: 0.82rem;
}

.ct-register-fact ul {
  margin: 0;
  padding-left: 1.05rem;
}

.ct-register-fact li {
  margin: 0.24rem 0;
  color: #52637a;
  font-size: 0.73rem;
  line-height: 1.5;
}

.ct-register-fact li::marker {
  color: #2457d6;
}

.ct-register-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.ct-register-sources a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0.45rem 0.65rem;
  color: #173c9b;
  background: #f6f8fc;
  border: 1px solid #d5ddea;
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 750;
  text-decoration: none;
}

.ct-register-sources a:hover,
.ct-register-sources a:focus-visible {
  background: #edf2ff;
  border-color: #afc0e9;
  outline: none;
}

@media (max-width: 900px) {
  input:not([type='checkbox']):not([type='radio']),
  select,
  textarea {
    font-size: 16px !important;
  }

  .ct-domain-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-certificate-summary {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .ct-cert-validity {
    grid-column: 2 / -1;
  }

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

  .ct-artifact-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ct-artifact-actions {
    justify-content: flex-start;
  }

  .ct-name-columns {
    grid-template-columns: 1fr;
  }

  .ct-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ct-shared-san-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.ct-home:not(.ct-doc-page) .container {
    padding-top: 0;
  }

  .container,
  .domain-shell,
  footer.site-foot {
    width: calc(100% - 2rem);
  }

  body.ct-home .hero {
    padding: 2rem 0 1.5rem;
  }

  body.ct-home .home-kicker {
    vertical-align: top;
  }

  body.ct-home .hero h1 {
    font-size: 2.25rem;
  }

  body.ct-home .stat-grid {
    gap: 0.65rem;
  }

  body.ct-home .stat-card {
    min-width: 0;
    padding: 1rem 0.7rem;
  }

  body.ct-home .stat-card .value {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(1.22rem, 7vw, 1.65rem);
    letter-spacing: -0.055em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ct-register-info-trigger {
    min-height: 44px;
    margin-bottom: 1rem;
  }

  .ct-register-modal {
    align-items: end;
    padding: 0.6rem;
  }

  .ct-register-dialog {
    width: 100%;
    max-height: calc(100dvh - 1.2rem);
    border-radius: 18px 18px 12px 12px;
  }

  .ct-register-dialog-head {
    padding: 1rem;
  }

  .ct-register-dialog-content {
    padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom));
  }

  .ct-register-flow,
  .ct-register-facts {
    grid-template-columns: 1fr;
  }

  body.ct-home .home-search-box {
    grid-template-columns: minmax(0, 1fr);
  }

  body.ct-home .home-search-box input,
  body.ct-home .home-search-box button {
    width: 100%;
    min-height: 48px;
  }

  body.ct-home .advanced-toggle {
    display: none;
  }

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

  footer.site-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .ct-domain-hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 2.4rem;
  }

  .ct-domain-live-link {
    justify-content: center;
  }

  .ct-domain-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .ct-certificate-summary {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .ct-history-number {
    display: none;
  }

  .ct-cert-badges {
    justify-content: flex-start;
  }

  .ct-cert-validity {
    grid-column: auto;
  }

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

  .ct-cert-detail {
    padding: 0.7rem;
  }

  .ct-detail-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .ct-artifact-tabs {
    grid-template-columns: 1fr;
  }

  .ct-artifact-tabs button,
  .ct-artifact-actions a,
  .ct-artifact-actions button,
  .ct-artifact-action-disabled {
    min-height: 44px;
  }

  .ct-artifact-head,
  .ct-detail-block {
    padding-right: 0.78rem;
    padding-left: 0.78rem;
  }

  .ct-artifact-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-detail-field.wide {
    grid-column: auto;
  }

  .ct-detail-field.full {
    grid-column: auto;
  }

  .ct-sct-list {
    grid-template-columns: 1fr;
  }

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

  .ct-compact-fact.wide {
    grid-column: span 2;
  }

  .ct-compact-fact.full {
    grid-column: 1 / -1;
  }

  .ct-compact-fact > span {
    font-size: 0.62rem;
  }

  .ct-compact-fact > strong {
    font-size: 0.72rem;
  }

  .ct-object-compare {
    grid-template-columns: 1fr;
  }

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

  .ct-compact-source dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-compact-source dl > div.method {
    grid-column: 1 / -1;
  }

  .ct-compact-source dl > div.method code {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
  }

  .ct-compare-head .ct-artifact-actions a,
  .ct-compare-head .ct-artifact-actions button,
  .ct-compare-head .ct-artifact-action-disabled {
    min-height: 44px;
  }

  .ct-compact-tag-list small,
  .ct-compact-source-title span,
  .ct-compact-source-log,
  .ct-compact-source dd {
    font-size: 0.63rem;
  }

  .ct-compact-source dt {
    font-size: 0.58rem;
  }
}

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