@import "tailwindcss";

/* Decantr Design System */
@import "../styles/global.css";
@import "../styles/tokens.css";
@import "../styles/decantr-bridge.css";
@import "../styles/treatments.css";

/* ── Tailwind ↔ Decantr token bridge ── */
@theme {
  --color-d-primary: var(--d-primary);
  --color-d-primary-hover: var(--d-primary-hover);
  --color-d-accent: var(--d-accent);
  --color-d-secondary: var(--d-secondary, #0AF3EB);
  --color-d-bg: var(--d-bg);
  --color-d-surface: var(--d-surface);
  --color-d-surface-raised: var(--d-surface-raised);
  --color-d-border: var(--d-border);
  --color-d-text: var(--d-text);
  --color-d-muted: var(--d-text-muted);
  --color-d-success: var(--d-success);
  --color-d-error: var(--d-error);
  --color-d-warning: var(--d-warning);
  --color-d-info: var(--d-info);
  --color-d-coral: #F58882;
  --color-d-amber: #FDA303;
  --color-d-cyan: #0AF3EB;
  --color-d-green: #00E0AB;
  --color-d-purple: #6500C6;
  --font-family-mono: ui-monospace, "Cascadia Code", "JetBrains Mono", monospace;
}

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

  .registry-scan-page {
    position: relative;
    isolation: isolate;
    display: grid;
    box-sizing: border-box;
    min-height: calc(100svh - 52px);
    overflow: hidden;
    overflow-anchor: none;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-accent) 7%, transparent) 0%, transparent 36rem),
      linear-gradient(120deg, color-mix(in srgb, var(--d-primary) 7%, transparent) 0%, transparent 42rem),
      var(--d-bg);
  }

  .registry-scan-page *,
  .registry-scan-page *::before,
  .registry-scan-page *::after {
    box-sizing: border-box;
  }

  .registry-scan-page::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
      linear-gradient(color-mix(in srgb, var(--d-border) 28%, transparent) 1px, transparent 1px),
      linear-gradient(90deg, color-mix(in srgb, var(--d-border) 28%, transparent) 1px, transparent 1px);
    background-position: center top;
    background-size: 4rem 4rem;
    mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.9), transparent 78%);
    pointer-events: none;
  }

  .registry-scan-page::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--d-accent) 9%, transparent) 48%, transparent 100%),
      linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--d-primary) 10%, transparent) 55%, transparent 100%);
    clip-path: polygon(0 10%, 100% 0, 100% 42%, 0 58%);
    opacity: 0.76;
    pointer-events: none;
  }

  .registry-scan-hero {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: calc(100svh - 52px);
    margin: 0;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    transition:
      min-height 420ms ease,
      padding 420ms ease;
  }

  .registry-scan-hero-compact {
    min-height: 32rem;
    padding-block: 3.5rem 2.5rem;
  }

  .registry-scan-hero-inner {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1.35rem;
    width: min(calc(100vw - 3rem), 64rem);
    margin: 0 auto;
  }

  .registry-scan-hero-copy {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1rem;
    width: min(100%, 56rem);
  }

  .registry-scan-hero .registry-home-title {
    max-width: 56rem;
    margin: 0;
    font-size: 4.85rem;
    line-height: 0.96;
    letter-spacing: 0;
  }

  .registry-scan-hero .registry-home-description {
    max-width: 48rem;
    margin: 0;
    color: var(--d-text-muted);
  }

  .registry-scan-guarantees {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.1rem 0 0;
    padding: 0;
    color: color-mix(in srgb, var(--d-text-muted) 88%, var(--d-text));
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
    list-style: none;
  }

  .registry-scan-guarantees li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .registry-scan-guarantees li + li::before {
    content: '';
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-accent) 76%, var(--d-text-muted));
  }

  .registry-scan-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.75rem;
    gap: 0.75rem;
    width: min(100%, 62rem);
    min-width: 0;
    padding: 0.55rem;
    background: color-mix(in srgb, var(--d-surface) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    border-radius: var(--d-radius);
    box-shadow:
      0 1.25rem 4rem rgb(0 0 0 / 0.28),
      inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
    backdrop-filter: blur(18px);
    transition:
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .registry-scan-search:focus-within {
    border-color: color-mix(in srgb, var(--d-primary) 84%, transparent);
    box-shadow:
      0 1.25rem 4rem rgb(0 0 0 / 0.28),
      0 0 0 1px color-mix(in srgb, var(--d-primary) 40%, transparent),
      inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
  }

  .registry-scan-search input {
    width: 100%;
    min-height: 3.95rem;
    min-width: 0;
    padding: 0 1.55rem;
    color: var(--d-text);
    background: color-mix(in srgb, var(--d-bg) 28%, transparent);
    border: 0;
    border-radius: calc(var(--d-radius) - 2px);
    font: inherit;
    outline: none;
    text-overflow: ellipsis;
    transition: background 180ms ease;
  }

  .registry-scan-search input::placeholder {
    color: color-mix(in srgb, var(--d-text-muted) 82%, transparent);
  }

  .registry-scan-search input:focus-visible {
    background: color-mix(in srgb, var(--d-bg) 46%, transparent);
    outline: none;
  }

  .registry-scan-search button {
    min-width: 0;
    min-height: 3.95rem;
    padding-inline: 1.35rem;
    justify-content: center;
    border-radius: calc(var(--d-radius) - 2px);
  }

  .registry-scan-search button:disabled {
    cursor: progress;
    opacity: 0.72;
  }

  .registry-scan-stage {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.4rem;
    width: min(100%, 44rem);
    min-height: 4.35rem;
    padding: 0.35rem 1rem 0;
    color: var(--d-text-muted);
  }

  .registry-scan-stage strong {
    color: var(--d-text);
    font-size: 0.95rem;
  }

  .registry-scan-stage p {
    margin: 0;
    font-size: 0.88rem;
  }

  .registry-scan-stage-line {
    display: block;
    width: min(100%, 32rem);
    height: 0.25rem;
    overflow: hidden;
    background: color-mix(in srgb, var(--d-border) 45%, transparent);
    border-radius: 999px;
  }

  .registry-scan-stage-line::after {
    content: '';
    display: block;
    width: 38%;
    height: 100%;
    background: linear-gradient(90deg, #14b8a6, #f472b6, #facc15);
    border-radius: inherit;
    animation: registry-scan-progress 1.4s ease-in-out infinite;
  }

  .registry-scan-report {
    position: relative;
    z-index: 1;
    display: grid;
    justify-self: center;
    gap: 1.5rem;
    width: min(calc(100% - 2rem), 76rem);
    margin: 0 auto;
    padding-bottom: 5rem;
  }

  .registry-scan-verdict,
  .registry-scan-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    min-width: 0;
    padding: 1.35rem;
    background: color-mix(in srgb, var(--d-surface) 72%, transparent);
    border: 1px solid color-mix(in srgb, var(--d-border) 62%, transparent);
    border-radius: var(--d-radius);
    backdrop-filter: blur(14px);
  }

  .registry-scan-verdict h2,
  .registry-scan-next h2 {
    margin: 0.25rem 0;
    font-size: 2rem;
    line-height: 1.05;
  }

  .registry-scan-verdict p,
  .registry-scan-next p {
    max-width: 54rem;
    margin: 0;
    color: var(--d-text-muted);
  }

  .registry-scan-score {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.18rem;
    width: 8.5rem;
    aspect-ratio: 1;
    padding: 1.55rem;
    background:
      radial-gradient(circle at 50% 50%, var(--d-surface) 0 61%, transparent 62%),
      conic-gradient(#14b8a6, #f472b6, #facc15, #14b8a6);
    border-radius: 50%;
  }

  .registry-scan-score[data-status='not_applicable'],
  .registry-scan-score[data-status='unknown'] {
    background:
      radial-gradient(circle at 50% 50%, var(--d-surface) 0 61%, transparent 62%),
      conic-gradient(#94a3b8, #64748b, #94a3b8);
  }

  .registry-scan-score strong {
    font-size: 2.05rem;
    line-height: 1;
  }

  .registry-scan-score span {
    max-width: 5rem;
    color: var(--d-text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
  }

  .registry-scan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .registry-scan-metric,
  .registry-scan-panel,
  .registry-scan-finding {
    background: color-mix(in srgb, var(--d-surface) 74%, transparent);
    border: 1px solid color-mix(in srgb, var(--d-border) 60%, transparent);
    border-radius: var(--d-radius);
    backdrop-filter: blur(10px);
  }

  .registry-scan-metric {
    display: grid;
    gap: 0.35rem;
    min-height: 6.5rem;
    padding: 1rem;
  }

  .registry-scan-metric span,
  .registry-scan-definition-list dt {
    color: var(--d-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .registry-scan-metric strong {
    align-self: end;
    overflow-wrap: anywhere;
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .registry-scan-two-up {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .registry-scan-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
    min-width: 0;
    padding: 1.15rem;
  }

  .registry-scan-panel h3 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 1.25rem;
    line-height: 1.18;
  }

  .registry-scan-panel p {
    margin: 0;
    color: var(--d-text-muted);
  }

  .registry-scan-definition-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
  }

  .registry-scan-definition-list div {
    display: grid;
    grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1fr);
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid color-mix(in srgb, var(--d-border) 45%, transparent);
  }

  .registry-scan-definition-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .registry-scan-definition-list dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
  }

  .registry-scan-route-list {
    display: grid;
    gap: 0.55rem;
  }

  .registry-scan-route-row {
    display: grid;
    grid-template-columns: minmax(5.5rem, 0.35fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.7rem;
    background: color-mix(in srgb, var(--d-muted) 26%, transparent);
    border-radius: 0.45rem;
  }

  .registry-scan-route-row strong,
  .registry-scan-route-row span {
    overflow-wrap: anywhere;
  }

  .registry-scan-route-row span {
    color: var(--d-text-muted);
    font-size: 0.86rem;
  }

  .registry-scan-style-bars {
    display: grid;
    gap: 0.7rem;
  }

  .registry-scan-style-bars span {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    padding: 0.72rem 0.8rem;
    background: color-mix(in srgb, var(--d-muted) 28%, transparent);
    border-radius: 0.45rem;
  }

  .registry-scan-style-bars span::before {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    height: 0.2rem;
    background: linear-gradient(90deg, #14b8a6, #f472b6);
  }

  .registry-scan-style-bar.is-empty::before {
    width: 0%;
  }

  .registry-scan-style-bar.is-low::before {
    width: 18%;
  }

  .registry-scan-style-bar.is-medium::before {
    width: 58%;
  }

  .registry-scan-style-bar.is-high::before {
    width: 100%;
  }

  .registry-scan-findings {
    display: grid;
    gap: 1rem;
  }

  .registry-scan-finding-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .registry-scan-finding {
    display: grid;
    gap: 0.5rem;
    align-content: start;
    min-height: 10rem;
    padding: 1rem;
  }

  .registry-scan-finding > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-width: 2.8rem;
    padding: 0.24rem 0.5rem;
    color: #0f172a;
    background: #facc15;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
  }

  .registry-scan-finding[data-severity='success'] > span {
    color: #052e2b;
    background: #5eead4;
  }

  .registry-scan-finding[data-severity='error'] > span {
    color: #fff1f2;
    background: #e11d48;
  }

  .registry-scan-finding[data-severity='info'] > span {
    color: #082f49;
    background: #7dd3fc;
  }

  .registry-scan-finding h3,
  .registry-scan-finding p {
    margin: 0;
  }

  .registry-scan-finding p,
  .registry-scan-finding small {
    color: var(--d-text-muted);
  }

  .registry-scan-next {
    align-items: start;
  }

  .registry-scan-command-stack {
    display: grid;
    gap: 0.75rem;
    min-width: min(100%, 28rem);
  }

  .registry-scan-command {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.85rem;
    color: var(--d-text);
    background: rgb(15 23 42 / 0.94);
    border: 1px solid rgb(148 163 184 / 0.34);
    border-radius: 0.55rem;
    cursor: pointer;
    text-align: left;
  }

  .registry-scan-command span {
    color: #5eead4;
    font-weight: 800;
  }

  .registry-scan-command code {
    overflow: hidden;
    color: #e2e8f0;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .registry-scan-command small {
    color: #facc15;
    font-weight: 800;
  }

  .registry-scan-error {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.35rem;
    width: min(calc(100% - 2rem), 76rem);
    margin: -2rem auto 2rem;
    padding: 1rem;
    background: rgb(225 29 72 / 0.1);
    border: 1px solid rgb(225 29 72 / 0.38);
    border-radius: var(--d-radius);
  }

  .registry-scan-error p {
    margin: 0;
    color: var(--d-text-muted);
  }

  @keyframes registry-scan-progress {
    0% {
      transform: translateX(-100%);
    }
    50% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(260%);
    }
  }

  @media (max-width: 900px) {
    .registry-scan-hero .registry-home-title {
      font-size: 3.6rem;
      line-height: 0.98;
    }

    .registry-scan-verdict h2,
    .registry-scan-next h2 {
      font-size: 1.75rem;
    }

    .registry-scan-metric strong {
      font-size: 1.4rem;
    }

    .registry-scan-verdict,
    .registry-scan-next,
    .registry-scan-two-up,
    .registry-scan-finding-list {
      grid-template-columns: 1fr;
    }

    .registry-scan-score {
      width: 7.25rem;
      justify-self: center;
    }

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

  @media (max-width: 640px) {
    .registry-scan-hero {
      min-height: calc(100svh - 52px);
      padding: 3rem 1rem 2rem;
    }

    .registry-scan-hero-inner {
      width: min(calc(100vw - 2rem), 34rem);
    }

    .registry-scan-hero-compact {
      min-height: auto;
      padding-block: 2.5rem 1.75rem;
    }

    .registry-scan-page::before {
      background-size: 2.75rem 2.75rem;
    }

    .registry-scan-hero .registry-home-title {
      font-size: 2.65rem;
      line-height: 1.04;
    }

    .registry-scan-verdict h2,
    .registry-scan-next h2 {
      font-size: 1.55rem;
    }

    .registry-scan-metric strong {
      font-size: 1.3rem;
    }

    .registry-scan-search {
      grid-template-columns: 1fr;
      gap: 0.7rem;
      width: min(100%, 34rem);
      padding: 0.55rem;
    }

    .registry-scan-search button {
      width: 100%;
    }

    .registry-scan-report {
      width: min(calc(100% - 1rem), 76rem);
      gap: 1rem;
      padding-bottom: 3rem;
    }

    .registry-scan-verdict,
    .registry-scan-next,
    .registry-scan-panel,
    .registry-scan-finding,
    .registry-scan-metric {
      padding: 1rem;
    }

    .registry-scan-grid,
    .registry-scan-definition-list div,
    .registry-scan-route-row {
      grid-template-columns: 1fr;
    }

    .registry-scan-command code {
      white-space: normal;
    }
  }
}

/* ── Light mode token overrides ── */
@layer tokens {
  html.light {
    color-scheme: light;
    --d-bg: #FAFAF9;
    --d-surface: #FFFFFF;
    --d-surface-raised: #F5F5F4;
    --d-border: #E4E4E7;
    --d-text: #18181B;
    --d-text-muted: #71717A;
    --d-primary-hover: #E83D6A;
    --d-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --d-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --d-shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --d-shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  }

}

/* ── Luminarum Theme Decorators ── */
@layer decorators {

  /* ── Breathing gradient orbs ── */
  .lum-orbs {
    position: relative;
    overflow: hidden;
    pointer-events: auto;
  }
  .lum-orbs::before,
  .lum-orbs::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    animation: lum-orb-drift 12s ease-in-out infinite alternate;
  }
  .lum-orbs::before {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(254,68,116,0.18) 0%, transparent 70%);
  }
  .lum-orbs::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(253,163,3,0.15) 0%, transparent 70%);
    animation-delay: -4s;
  }
  @keyframes lum-orb-drift {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(30px, -20px) scale(1.1); opacity: 1; }
    100% { transform: translate(-20px, 15px) scale(0.95); opacity: 0.7; }
  }

  /* ── Brand text with accent punctuation ── */
  .lum-brand { font-weight: 600; }
  .lum-brand .punct { color: var(--d-primary); }
  .lum-brand .accent-i { color: var(--d-accent); }

  /* ── Subtle glass panel ── */
  .lum-glass {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--d-radius);
    backdrop-filter: blur(2px);
  }
  html.light .lum-glass {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.06);
  }

  /* ── Particle network canvas background ── */
  .lum-canvas {
    position: relative;
    background: var(--d-bg);
  }
  .lum-canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(1.5px 1.5px at 10% 20%, rgba(254,68,116,0.12) 50%, transparent 50%),
      radial-gradient(1px 1px at 30% 65%, rgba(253,163,3,0.1) 50%, transparent 50%),
      radial-gradient(2px 2px at 55% 15%, rgba(10,243,235,0.08) 50%, transparent 50%),
      radial-gradient(1.5px 1.5px at 75% 45%, rgba(254,68,116,0.1) 50%, transparent 50%),
      radial-gradient(1px 1px at 90% 80%, rgba(253,163,3,0.08) 50%, transparent 50%),
      radial-gradient(1.5px 1.5px at 45% 85%, rgba(10,243,235,0.1) 50%, transparent 50%),
      radial-gradient(1px 1px at 20% 50%, rgba(254,68,116,0.06) 50%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }
  .lum-canvas > * {
    position: relative;
    z-index: 1;
  }

  /* ── Section divider with centered dot ── */
  .lum-divider {
    position: relative;
    height: 1px;
    background: var(--d-border);
    margin: 2rem 0;
  }
  .lum-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--d-accent);
  }

  /* ── Scroll-reveal fade up ── */
  .lum-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: lum-fade-up-anim 0.6s ease-out forwards;
  }
  @keyframes lum-fade-up-anim {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── Fixed-position particles ── */
  .lum-particles { position: relative; }
  .lum-particles::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
      radial-gradient(2px 2px at 5% 10%, rgba(254,68,116,0.15) 50%, transparent 50%),
      radial-gradient(3px 3px at 15% 40%, rgba(253,163,3,0.12) 50%, transparent 50%),
      radial-gradient(2px 2px at 25% 70%, rgba(10,243,235,0.1) 50%, transparent 50%),
      radial-gradient(4px 4px at 40% 20%, rgba(254,68,116,0.08) 50%, transparent 50%),
      radial-gradient(2px 2px at 55% 55%, rgba(253,163,3,0.1) 50%, transparent 50%),
      radial-gradient(3px 3px at 70% 85%, rgba(10,243,235,0.12) 50%, transparent 50%),
      radial-gradient(2px 2px at 85% 30%, rgba(254,68,116,0.1) 50%, transparent 50%),
      radial-gradient(5px 5px at 95% 60%, rgba(253,163,3,0.08) 50%, transparent 50%);
    animation: lum-particle-pulse 6s ease-in-out infinite alternate;
  }
  @keyframes lum-particle-pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
  }

  /* ── Stat glow badge ── */
  .lum-stat-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--d-accent);
    color: #141414;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: var(--d-font-mono, ui-monospace, monospace);
  }

  /* ── Code block ── */
  .lum-code-block {
    background: #111113;
    border: 1px solid var(--d-border);
    border-top: 2px solid var(--d-accent);
    border-radius: var(--d-radius);
    font-family: var(--d-font-mono, ui-monospace, monospace);
    font-size: 0.8125rem;
    line-height: 1.6;
    overflow-x: auto;
  }
  html.light .lum-code-block { background: #F5F5F4; }

  /* ── Vibrant filled card ── */
  .lum-card-vibrant {
    background: linear-gradient(135deg, var(--d-primary) 0%, var(--d-accent) 100%);
    color: #fff;
    border-radius: var(--d-radius);
    padding: var(--d-surface-p);
    position: relative;
    overflow: hidden;
  }
  .lum-card-vibrant::before,
  .lum-card-vibrant::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
  }
  .lum-card-vibrant::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
  .lum-card-vibrant::after { bottom: 12px; right: 12px; border-left: none; border-top: none; }

  /* ── Outlined card with colored border ── */
  .lum-card-outlined {
    background: transparent;
    border: 1px solid var(--d-border);
    border-left: 3px solid var(--card-accent, var(--d-primary));
    border-radius: var(--d-radius);
    padding: var(--d-surface-p);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .lum-card-outlined:hover {
    border-left-color: var(--card-accent, var(--d-primary));
    border-color: var(--card-accent, var(--d-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .lum-card-outlined .card-heading {
    color: var(--card-accent, var(--d-primary));
  }

  /* ── Type-specific card accent colors (singular names) ── */
  [data-type="pattern"] { --card-accent: var(--d-coral); }
  [data-type="theme"] { --card-accent: var(--d-amber); }
  [data-type="blueprint"] { --card-accent: var(--d-cyan); }
  [data-type="shell"] { --card-accent: var(--d-green); }
  [data-type="archetype"] { --card-accent: var(--d-purple); }

  /* ── Stagger children ── */
  .lum-stagger > * {
    opacity: 0;
    transform: translateY(12px);
    animation: lum-fade-up-anim 0.4s ease forwards;
  }
  .lum-stagger > *:nth-child(1) { animation-delay: 0ms; }
  .lum-stagger > *:nth-child(2) { animation-delay: 60ms; }
  .lum-stagger > *:nth-child(3) { animation-delay: 120ms; }
  .lum-stagger > *:nth-child(4) { animation-delay: 180ms; }
  .lum-stagger > *:nth-child(5) { animation-delay: 240ms; }
  .lum-stagger > *:nth-child(6) { animation-delay: 300ms; }
  .lum-stagger > *:nth-child(7) { animation-delay: 360ms; }
  .lum-stagger > *:nth-child(8) { animation-delay: 420ms; }
  .lum-stagger > *:nth-child(n+9) { animation-delay: 480ms; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .lum-orbs::before,
  .lum-orbs::after,
  .lum-particles::before,
  .lum-fade-up,
  .lum-stagger > *,
  .entrance-fade {
    animation: none !important;
  }
  .lum-fade-up,
  .lum-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .lum-card-outlined:hover {
    transform: none;
  }
}

/* ── Content card responsive grid ── */
@layer app {
  .registry-skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 9999;
    transform: translateY(-150%);
    border-radius: var(--d-radius-sm);
    background: var(--d-surface);
    color: var(--d-text);
    border: 1px solid var(--d-border);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--d-shadow-lg);
    transition: transform 0.15s ease;
  }

  .registry-skip-link:focus-visible {
    transform: translateY(0);
    outline: 2px solid var(--d-accent);
    outline-offset: 2px;
  }

  .registry-page-max {
    width: min(100%, 75rem);
    margin: 0 auto;
  }

  .registry-page-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
  }

  .registry-page-intro {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
  }

  .registry-anchor-label {
    display: block;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--d-accent);
  }

  .registry-surface-stack {
    display: grid;
    gap: 0.75rem;
  }

  .registry-region-stack {
    display: grid;
    gap: 1rem;
    min-width: 0;
  }

  .registry-region-stack > * {
    min-width: 0;
  }

  .registry-region-stack[data-density='compact'] {
    gap: 1rem;
  }

  .registry-region-stack[data-density='comfortable'] {
    gap: 1.25rem;
  }

  .registry-fact-list {
    display: grid;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--d-text-muted);
  }

  .registry-inline-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-inline-actions[data-align='end'] {
    justify-content: flex-end;
  }

  .registry-form-grid {
    display: grid;
    gap: 1rem;
  }

  .registry-form-grid-split {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registry-form-grid-split-fluid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .registry-page-icon-accent {
    color: var(--d-accent);
  }

  .registry-search-leading-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--d-text-muted);
  }

  .registry-search-control-with-icon {
    padding-left: 2.25rem;
  }

  .registry-block-annotation {
    display: block;
  }

  .registry-empty-panel {
    padding: 2rem;
    color: var(--d-text-muted);
    text-align: center;
  }

  .registry-section-flush-top {
    padding-top: 0;
  }

  .registry-dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .registry-dashboard-copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
  }

  .registry-dashboard-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-dashboard-description,
  .registry-muted-copy {
    margin: 0;
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .registry-inline-select {
    width: auto;
    min-width: 10rem;
  }

  .registry-panel-note {
    display: grid;
    gap: 0.25rem;
  }

  .registry-detail-list {
    display: grid;
    gap: 0.25rem;
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .registry-action-band {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 74%, transparent);
    border-radius: calc(var(--d-radius) * 1.1);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--registry-band-accent, var(--d-accent)) 7%, transparent) 0%, transparent 100%),
      color-mix(in srgb, var(--d-surface) 96%, transparent);
  }

  .registry-action-band[data-tone='governance'] {
    --registry-band-accent: var(--d-accent);
  }

  .registry-action-band[data-tone='billing'] {
    --registry-band-accent: var(--d-primary);
  }

  .registry-action-band[data-tone='team'] {
    --registry-band-accent: var(--d-cyan);
  }

  .registry-action-band[data-tone='content'] {
    --registry-band-accent: var(--d-green);
  }

  .registry-action-band-copy {
    display: grid;
    gap: 0.3rem;
    flex: 1 1 18rem;
    min-width: 0;
  }

  .registry-action-band-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-action-band-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-dashboard-head-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-icon-button {
    padding: 0.25rem;
  }

  .registry-icon-button[data-tone='danger'] {
    color: var(--d-error);
  }

  .registry-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 0;
    text-align: center;
  }

  .registry-empty-state-icon {
    color: var(--d-text-muted);
    opacity: 0.5;
  }

  .registry-empty-state-copy {
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 32rem;
    margin: 0;
  }

  .registry-empty-state[data-density='compact'] {
    padding: 1.75rem 0;
  }

  .registry-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }

  .registry-kpi-card {
    display: grid;
    gap: 0.75rem;
  }

  .registry-kpi-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .registry-kpi-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-accent) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .registry-kpi-meta {
    flex: 1;
    min-width: 0;
  }

  .registry-kpi-label {
    color: var(--d-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
  }

  .registry-kpi-value-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--d-text);
  }

  .registry-section-spacer {
    margin-top: 1.5rem;
  }

  .registry-inline-error {
    display: block;
    margin-bottom: 1rem;
  }

  .registry-form-hint {
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
  }

  .registry-form-actions {
    margin-top: 1.5rem;
  }

  .registry-json-textarea {
    min-height: 8rem;
    resize: vertical;
    font-family: var(--d-font-mono, monospace);
    font-size: 0.8125rem;
  }

  .registry-description-textarea {
    min-height: 6rem;
    resize: vertical;
  }

  .registry-inline-form {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 10rem) auto;
    align-items: end;
  }

  .registry-three-field-form {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem) auto;
    align-items: end;
  }

  .registry-admin-filter-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem) auto;
    align-items: end;
  }

  .registry-admin-telemetry-filter-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(11rem, 14rem)) auto;
    align-items: end;
  }

  .registry-plan-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .registry-plan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--d-border) 76%, transparent);
  }

  .registry-plan-card[data-current='true'] {
    border-color: color-mix(in srgb, var(--d-success) 55%, transparent);
    box-shadow: inset 0 3px 0 var(--d-success);
  }

  .registry-plan-card[data-highlighted='true']:not([data-current='true']) {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-primary) 7%, transparent) 0%, transparent 100%),
      color-mix(in srgb, var(--d-surface) 97%, transparent);
  }

  .registry-plan-card[data-coming-soon='true'] {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-warning) 6%, transparent) 0%, transparent 100%),
      color-mix(in srgb, var(--d-surface) 97%, transparent);
  }

  .registry-plan-card-head {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .registry-plan-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-plan-card-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-plan-card-price-row {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
  }

  .registry-plan-card-price {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--d-text);
  }

  .registry-plan-card-price-suffix {
    color: var(--d-text-muted);
    font-size: 0.875rem;
  }

  .registry-plan-card-description {
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
  }

  .registry-plan-feature-list {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
  }

  .registry-plan-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
  }

  .registry-plan-card-cta {
    width: 100%;
    justify-content: center;
  }

  .registry-settings-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    min-width: 0;
  }

  .registry-settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 11rem;
  }

  .registry-settings-tab {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0 var(--d-radius-sm) var(--d-radius-sm) 0;
    background: transparent;
    color: var(--d-text-muted);
    cursor: pointer;
    text-align: left;
    font-size: 0.875rem;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }

  .registry-settings-tab[data-active='true'] {
    border-left-color: var(--d-accent);
    background: color-mix(in srgb, var(--d-accent) 8%, transparent);
    color: var(--d-accent);
    font-weight: 500;
  }

  .registry-settings-panel {
    flex: 1;
    min-width: 0;
  }

  .registry-settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .registry-settings-section-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-settings-message {
    display: block;
  }

  .registry-settings-avatar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-settings-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: var(--d-surface-raised);
    border: 2px solid var(--d-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    flex: none;
  }

  .registry-settings-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0;
  }

  .registry-settings-textarea {
    resize: vertical;
  }

  .registry-settings-disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .registry-settings-actions {
    align-self: flex-start;
  }

  .registry-settings-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--d-border);
  }

  .registry-settings-danger-title {
    color: var(--d-error);
  }

  .registry-dashboard-panel {
    display: grid;
    gap: 0.875rem;
  }

  .registry-admin-head {
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .registry-inline-error {
    display: block;
  }

  .registry-admin-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 1rem;
  }

  .registry-admin-card {
    display: grid;
    gap: 0.75rem;
  }

  .registry-admin-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .registry-admin-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-admin-card-subtitle {
    font-size: 0.875rem;
    color: var(--d-text-muted);
  }

  .registry-admin-card-list,
  .registry-admin-summary-list {
    display: grid;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--d-text-muted);
  }

  .registry-admin-stack {
    display: grid;
    gap: 0.75rem;
  }

  .registry-admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.75rem;
  }

  .registry-admin-stat {
    display: grid;
    gap: 0.25rem;
    min-height: 5rem;
  }

  .registry-admin-alias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
    align-items: end;
  }

  .registry-admin-alias-row {
    display: grid;
    gap: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--d-border);
  }

  .registry-admin-alias-row-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .registry-admin-monospace {
    font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    overflow-wrap: anywhere;
  }

  .registry-field-stack {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
  }

  .registry-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--d-border);
  }

  .registry-admin-row-copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
  }

  .registry-admin-row-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-admin-row-meta {
    font-size: 0.875rem;
    color: var(--d-text-muted);
  }

  .registry-admin-log-entry {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--d-border);
  }

  .registry-admin-log-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-moderation-card {
    display: grid;
    gap: 0.75rem;
  }

  .registry-moderation-heading {
    margin: 0;
    color: var(--d-text);
    font-size: 1.25rem;
    font-weight: 700;
  }

  .registry-moderation-status-tab {
    border-radius: var(--d-radius-full);
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    text-decoration: none;
  }

  .registry-moderation-card-head,
  .registry-moderation-card-footer,
  .registry-moderation-actions,
  .registry-moderation-meta-row,
  .registry-moderation-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-moderation-card-head,
  .registry-moderation-card-footer {
    justify-content: space-between;
  }

  .registry-moderation-card-title-row {
    gap: 0.5rem;
  }

  .registry-moderation-type-badge {
    background: var(--card-accent, var(--d-primary));
    color: #141414;
    font-weight: 600;
  }

  .registry-moderation-type-chip {
    border-color: var(--d-border);
  }

  .registry-moderation-type-chip[data-type='pattern'],
  .registry-moderation-type-chip[data-type='patterns'] {
    border-color: var(--d-cyan);
  }

  .registry-moderation-type-chip[data-type='theme'],
  .registry-moderation-type-chip[data-type='themes'] {
    border-color: var(--d-amber);
  }

  .registry-moderation-type-chip[data-type='blueprint'],
  .registry-moderation-type-chip[data-type='blueprints'] {
    border-color: var(--d-coral);
  }

  .registry-moderation-type-chip[data-type='shell'],
  .registry-moderation-type-chip[data-type='shells'] {
    border-color: var(--d-green);
  }

  .registry-moderation-type-chip[data-type='archetype'],
  .registry-moderation-type-chip[data-type='archetypes'] {
    border-color: var(--d-purple);
  }

  .registry-moderation-title {
    color: var(--d-text);
    font-size: 1.125rem;
    font-weight: 700;
  }

  .registry-moderation-version,
  .registry-moderation-description,
  .registry-moderation-meta-row,
  .registry-moderation-meta-item {
    color: var(--d-text-muted);
    font-size: 0.875rem;
  }

  .registry-moderation-description {
    margin: 0;
  }

  .registry-moderation-submittee {
    color: var(--d-text);
    font-weight: 600;
  }

  .registry-moderation-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }

  .registry-moderation-rejection {
    color: var(--d-error);
    background: color-mix(in srgb, var(--d-error) 10%, transparent);
    border-radius: var(--d-radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .registry-moderation-rejection span {
    font-weight: 600;
  }

  .registry-moderation-panel,
  .registry-moderation-reject,
  .registry-moderation-detail-actions {
    display: grid;
    gap: 0.75rem;
  }

  .registry-moderation-panel {
    justify-items: end;
  }

  .registry-moderation-reject {
    min-width: min(20rem, 100%);
  }

  .registry-moderation-actions {
    gap: 0.5rem;
  }

  .registry-moderation-actions[data-align='end'] {
    justify-content: flex-end;
  }

  .registry-moderation-button {
    font-size: 0.8125rem;
  }

  .registry-moderation-button[data-tone='success'] {
    color: var(--d-success);
  }

  .registry-moderation-button[data-tone='danger'] {
    color: var(--d-error);
  }

  .registry-moderation-textarea {
    width: 100%;
    resize: none;
    font-size: 0.8125rem;
  }

  .registry-moderation-label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--d-text-muted);
    font-size: 0.75rem;
  }

  .registry-moderation-feedback {
    color: var(--d-text-muted);
    font-size: 0.875rem;
  }

  .registry-moderation-feedback[data-status='success'] {
    color: var(--d-success);
  }

  .registry-moderation-feedback[data-status='error'] {
    color: var(--d-error);
  }

  .registry-moderation-success {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .registry-moderation-success-icon {
    color: var(--d-success);
  }

  .registry-moderation-link {
    margin-top: 0.5rem;
    font-size: 0.875rem;
  }

  .registry-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-panel-title {
    margin: 0;
    color: var(--d-text);
    font-size: 1rem;
    font-weight: 600;
  }

  .registry-panel-divider {
    padding-top: 0.875rem;
    border-top: 1px solid var(--d-border);
  }

  .registry-policy-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
  }

  .registry-approval-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
  }

  .registry-log-entry {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--d-border);
  }

  .registry-log-entry-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-mono-data {
    font-family: var(--d-font-mono, monospace);
  }

  .registry-activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .registry-activity-group {
    display: grid;
    gap: 0.75rem;
  }

  .registry-activity-list {
    display: grid;
    gap: 0.25rem;
  }

  .registry-activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--d-radius-sm);
    transition: background 0.1s ease;
    cursor: default;
  }

  .registry-activity-item:hover {
    background: color-mix(in srgb, var(--d-surface-raised) 92%, transparent);
  }

  .registry-activity-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    flex-shrink: 0;
    background: var(--d-accent);
  }

  .registry-activity-dot[data-type='publish'] {
    background: var(--d-success);
  }

  .registry-activity-dot[data-type='update'] {
    background: var(--d-info);
  }

  .registry-activity-dot[data-type='review'] {
    background: var(--d-warning);
  }

  .registry-activity-dot[data-type='download'] {
    background: var(--d-accent);
  }

  .registry-activity-dot[data-type='comment'] {
    background: var(--d-primary);
  }

  .registry-activity-body {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
  }

  .registry-activity-user {
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-activity-action {
    color: var(--d-text-muted);
  }

  .registry-activity-timestamp {
    font-size: 0.75rem;
    color: var(--d-text-muted);
    font-family: var(--d-font-mono, monospace);
    flex-shrink: 0;
  }

  .registry-key-form {
    display: grid;
    gap: 1rem;
  }

  .registry-key-scope-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-check-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 76%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-surface) 96%, transparent);
    color: var(--d-text);
    font-size: 0.875rem;
    cursor: pointer;
  }

  .registry-check-option input {
    margin: 0;
  }

  .registry-key-banner-value {
    flex: 1 1 14rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .registry-key-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
  }

  .registry-key-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-key-mask {
    font-family: var(--d-font-mono, monospace);
    color: var(--d-text-muted);
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .registry-team-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--d-surface-raised);
    border: 1px solid var(--d-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }

  .registry-team-avatar-text {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-team-identity {
    display: grid;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
  }

  .registry-team-name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-team-email,
  .registry-team-meta {
    margin: 0;
    color: var(--d-text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .registry-team-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .registry-team-role {
    border-color: transparent;
  }

  .registry-team-role[data-role='owner'] {
    background: color-mix(in srgb, var(--d-primary) 15%, transparent);
    color: var(--d-primary);
  }

  .registry-team-role[data-role='admin'] {
    background: color-mix(in srgb, var(--d-cyan) 15%, transparent);
    color: var(--d-cyan);
  }

  .registry-team-role[data-role='member'] {
    background: color-mix(in srgb, var(--d-surface-raised) 92%, transparent);
    color: var(--d-text-muted);
  }

  .registry-team-select {
    width: auto;
    min-width: 7rem;
  }

  .registry-shell-root {
    display: flex;
    height: 100dvh;
    min-height: 100dvh;
    background: var(--d-bg);
    overflow: hidden;
  }

  .registry-shell-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .registry-shell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 52px;
    min-width: 0;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
    border-bottom: 1px solid var(--d-border);
    background: var(--d-bg);
  }

  .registry-shell-header-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
  }

  .registry-shell-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-shell-search-label,
  .registry-shell-search-kbd {
    white-space: nowrap;
  }

  .registry-command-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh 1rem 1rem;
    background: rgba(0, 0, 0, 0.55);
  }

  .registry-command-panel {
    width: min(100%, 42rem);
    max-height: min(75vh, 42rem);
    overflow: hidden;
    display: grid;
    gap: 0.75rem;
  }

  .registry-command-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--d-border);
  }

  .registry-command-list {
    display: grid;
    gap: 0.5rem;
    overflow-y: auto;
  }

  .registry-command-item {
    width: 100%;
    border: 1px solid transparent;
    border-radius: var(--d-radius);
    background: transparent;
    color: var(--d-text);
    text-align: left;
    cursor: pointer;
    padding: 0.75rem 0.875rem;
    display: grid;
    gap: 0.25rem;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .registry-command-item:hover,
  .registry-command-item:focus-visible {
    background: var(--d-surface-raised);
    border-color: var(--d-border);
    outline: none;
  }

  .registry-command-item-label {
    font-size: 0.875rem;
    font-weight: 600;
  }

  .registry-command-item-path {
    font-size: 0.75rem;
    color: var(--d-text-muted);
    font-family: var(--d-font-mono, ui-monospace, monospace);
  }

  .registry-command-empty {
    padding: 0.5rem 0;
    color: var(--d-text-muted);
    font-size: 0.875rem;
  }

  .registry-shell-mobile-toggle {
    display: none;
  }

  .registry-shell-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    min-width: 0;
    overflow: hidden;
  }

  .registry-shell-breadcrumb-segment {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .registry-shell-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
  }

  .registry-shell-breadcrumb-separator {
    color: var(--d-text-muted);
  }

  .registry-shell-breadcrumb-segment[data-current='true'] {
    color: var(--d-text);
  }

  .registry-shell-breadcrumb-segment[data-current='false'] {
    color: var(--d-text-muted);
  }

  .registry-shell-search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--d-text-muted);
  }

  .registry-shell-search-kbd {
    opacity: 0.5;
    font-family: inherit;
  }

  .registry-shell-body {
    flex: 1;
    overflow-y: auto;
    padding: clamp(1rem, 2vw, 1.5rem);
    min-height: 0;
  }

  .registry-shell-body .registry-page-stack {
    gap: 1rem;
  }

  .registry-shell-body .d-section[data-density="compact"] {
    padding-block: 1rem;
  }

  .registry-shell-body .d-section[data-density="comfortable"] {
    padding-block: 1.5rem;
  }

  .registry-shell-body .d-section + .d-section {
    margin-top: 0;
  }

  .registry-shell-sidebar-spacer {
    position: relative;
    flex: none;
    width: 240px;
    height: 100%;
    transition: width 200ms var(--d-easing);
  }

  .registry-shell-sidebar-spacer[data-collapsed='true'] {
    width: 64px;
  }

  .registry-shell-sidebar-spacer[data-mobile='true'] {
    width: 0;
  }

  .registry-shell-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 39;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms var(--d-easing);
  }

  .registry-shell-sidebar-overlay[data-open='true'] {
    opacity: 1;
    pointer-events: auto;
  }

  .registry-shell-sidebar-panel {
    display: flex;
    flex-direction: column;
    width: 240px;
    height: 100%;
    background: var(--d-surface);
    border-right: 1px solid var(--d-border);
    overflow: hidden;
    transition: width 200ms var(--d-easing), transform 200ms var(--d-easing);
  }

  .registry-shell-sidebar-panel[data-collapsed='true'] {
    width: 64px;
  }

  .registry-shell-sidebar-panel[data-mobile='true'] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: min(18rem, calc(100vw - 1.5rem));
    height: 100dvh;
    transform: translateX(-100%);
    box-shadow: var(--d-shadow-lg);
  }

  .registry-shell-sidebar-panel[data-mobile='true'][data-open='true'] {
    transform: translateX(0);
  }

  .registry-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: 52px;
    padding: 0 1rem;
    border-bottom: 1px solid var(--d-border);
  }

  .registry-sidebar-brand-mark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
  }

  .registry-sidebar-brand-icon {
    color: var(--d-accent);
    display: inline-flex;
  }

  .registry-sidebar-collapse {
    padding: 0.25rem;
  }

  .registry-sidebar-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
    padding: 0.5rem;
    overflow-y: auto;
  }

  .registry-sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .registry-sidebar-group-label {
    padding: 0.375rem 0.75rem;
    margin-bottom: 0.25rem;
    border-left: 2px solid var(--d-accent);
  }

  .registry-sidebar-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    font-size: 0.875rem;
  }

  .registry-sidebar-item[data-collapsed='true'] {
    justify-content: center;
  }

  .registry-sidebar-item[data-active='true'] {
    background: var(--d-surface-raised);
    border-color: var(--d-border);
  }

  .registry-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid var(--d-border);
    padding: 0.5rem;
  }

  .registry-sidebar-user {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem 0.75rem 0.625rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--d-border);
  }

  .registry-sidebar-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-sidebar-user-tier {
    font-size: 0.75rem;
    color: var(--d-text-muted);
  }

  .registry-overview-reputation {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .registry-reputation-caption {
    font-size: 0.875rem;
    color: var(--d-text-muted);
  }

  .registry-reputation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .registry-reputation-badge[data-level='Newcomer'] {
    background: var(--d-surface);
    color: var(--d-text-muted);
  }

  .registry-reputation-badge[data-level='Contributor'] {
    background: color-mix(in srgb, var(--d-info) 15%, transparent);
    color: var(--d-info);
  }

  .registry-reputation-badge[data-level='Trusted'] {
    background: color-mix(in srgb, var(--d-warning) 15%, transparent);
    color: var(--d-warning);
  }

  .registry-reputation-badge[data-level='Expert'] {
    background: color-mix(in srgb, var(--d-success) 15%, transparent);
    color: var(--d-success);
  }

  .registry-reputation-score {
    font-weight: 600;
    color: currentColor;
  }

  .registry-reputation-level {
    color: var(--d-text-muted);
  }

  .registry-public-frame {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .registry-public-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 52px;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
    border-bottom: 1px solid var(--d-border);
    background: color-mix(in srgb, var(--d-bg) 90%, transparent);
    backdrop-filter: blur(12px);
  }

  .registry-public-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .registry-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--d-text);
    text-decoration: none;
  }

  .registry-brand-icon {
    color: var(--d-accent);
    flex: none;
  }

  .registry-public-footer {
    margin-top: auto;
    border-top: 1px solid var(--d-border);
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-accent) 4%, transparent) 0%, transparent 100%),
      color-mix(in srgb, var(--d-surface) 96%, transparent);
  }

  .registry-public-footer-inner {
    width: min(100%, 75rem);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .registry-footer-brand-block {
    display: grid;
    gap: 0.625rem;
    max-width: 18rem;
  }

  .registry-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .registry-footer-copy {
    margin: 0;
    max-width: 18rem;
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .registry-footer-nav {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
  }

  .registry-footer-group {
    display: grid;
    gap: 0.5rem;
    min-width: 10rem;
  }

  .registry-footer-link {
    color: var(--d-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: color 0.2s ease;
  }

  .registry-footer-link:hover {
    color: var(--d-primary);
  }

  .registry-footer-divider {
    width: min(100%, 75rem);
    margin: 1.5rem auto;
    border-top: 1px solid var(--d-border);
  }

  .registry-footer-copyright {
    margin: 0;
    color: var(--d-text-muted);
    text-align: center;
    font-size: 0.875rem;
  }

  .registry-public-main {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
  }

  .registry-public-main:has(.registry-scan-page) {
    padding: 0;
    overflow-x: hidden;
    overflow-anchor: none;
  }

  .registry-browser-shell {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2vw, 1.75rem);
    min-width: 0;
  }

  .registry-browser-shell > .d-section {
    display: grid;
    gap: 1rem;
    padding-block: 0;
  }

  .registry-browser-shell > .d-section + .d-section {
    margin-top: 0;
    border-top: none;
    border-image: none;
  }

  .registry-legal-shell {
    width: min(100%, 72rem);
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
  }

  .registry-legal-hero {
    display: grid;
    gap: 0.625rem;
  }

  .registry-legal-updated {
    font-size: 0.875rem;
    color: var(--d-text-muted);
  }

  .registry-legal-grid {
    display: grid;
    gap: 1rem;
  }

  .registry-legal-card {
    display: grid;
    gap: 0.75rem;
  }

  .registry-legal-card h2 {
    margin: 0;
    color: var(--d-text);
    font-size: 1.125rem;
    font-weight: 600;
  }

  .registry-legal-copy {
    margin: 0;
    color: var(--d-text-muted);
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  .registry-legal-list {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding-left: 1.25rem;
    color: var(--d-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .registry-legal-callout {
    border-color: color-mix(in srgb, var(--d-accent) 35%, transparent);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-accent) 6%, transparent) 0%, transparent 100%),
      color-mix(in srgb, var(--d-surface) 96%, transparent);
  }

  .registry-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid color-mix(in srgb, var(--d-border) 78%, transparent);
    border-radius: var(--d-radius);
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--d-cyan) 13%, transparent) 0%, transparent 38%),
      linear-gradient(315deg, color-mix(in srgb, var(--d-coral) 10%, transparent) 0%, transparent 42%),
      color-mix(in srgb, var(--d-surface-raised) 92%, transparent);
    box-shadow: var(--d-shadow);
    overflow: hidden;
  }

  .registry-home-hero-copy {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-width: 0;
  }

  .registry-home-eyebrow {
    width: fit-content;
    margin-bottom: 0;
    padding-left: 0.75rem;
    border-left: 2px solid var(--d-cyan);
    color: color-mix(in srgb, var(--d-cyan) 88%, var(--d-text));
  }

  .registry-home-title {
    margin: 0;
    max-width: 16ch;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--d-text);
  }

  .registry-home-description {
    margin: 0;
    max-width: 42rem;
    color: var(--d-text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
  }

  .registry-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.25rem;
  }

  .registry-home-primary-action,
  .registry-home-secondary-action {
    gap: 0.5rem;
    text-decoration: none;
    min-height: 2.75rem;
  }

  .registry-home-primary-action svg,
  .registry-home-secondary-action svg {
    width: 0.95rem;
    height: 0.95rem;
    flex: none;
  }

  .registry-home-launch-preview {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.875rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 74%, transparent);
    border-radius: var(--d-radius);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-bg) 48%, transparent) 0%, color-mix(in srgb, var(--d-surface) 94%, transparent) 100%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 7%, transparent);
  }

  .registry-home-preview-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    color: var(--d-text-muted);
    font-size: 0.8125rem;
    font-family: var(--d-font-mono, monospace);
  }

  .registry-home-preview-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    flex: none;
    background: var(--d-text-muted);
  }

  .registry-home-preview-dot[data-tone='coral'] {
    background: var(--d-coral);
  }

  .registry-home-preview-dot[data-tone='amber'] {
    background: var(--d-amber);
  }

  .registry-home-preview-dot[data-tone='cyan'] {
    background: var(--d-cyan);
  }

  .registry-home-preview-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .registry-home-command-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.8rem;
    border: 1px solid color-mix(in srgb, var(--d-cyan) 24%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-cyan) 9%, var(--d-surface));
    color: var(--d-text);
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
  }

  .registry-home-command-card code {
    min-width: 0;
    overflow-wrap: anywhere;
    color: color-mix(in srgb, var(--d-text) 92%, var(--d-cyan));
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .registry-home-command-prompt {
    color: var(--d-cyan);
    font-family: var(--d-font-mono, monospace);
    font-weight: 700;
  }

  .registry-home-preview-flow {
    display: grid;
    gap: 0.5rem;
  }

  .registry-home-preview-step {
    display: grid;
    gap: 0.3rem;
    padding: 0.7rem;
    border: 1px solid color-mix(in srgb, var(--registry-preview-tone, var(--d-border)) 22%, var(--d-border));
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--registry-preview-tone, var(--d-surface)) 8%, var(--d-surface));
  }

  .registry-home-preview-step[data-tone='cyan'] {
    --registry-preview-tone: var(--d-cyan);
  }

  .registry-home-preview-step[data-tone='amber'] {
    --registry-preview-tone: var(--d-amber);
  }

  .registry-home-preview-step[data-tone='coral'] {
    --registry-preview-tone: var(--d-coral);
  }

  .registry-home-preview-step span {
    color: var(--d-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .registry-home-preview-step strong {
    color: var(--d-text);
    font-size: 0.95rem;
  }

  .registry-home-preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.5rem;
    padding: 0.625rem 0.8rem;
    border: 1px solid color-mix(in srgb, var(--d-coral) 32%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-coral) 12%, transparent);
    color: var(--d-text);
    font-weight: 650;
    text-decoration: none;
  }

  .registry-home-preview-link:hover {
    border-color: color-mix(in srgb, var(--d-coral) 52%, transparent);
    background: color-mix(in srgb, var(--d-coral) 18%, transparent);
  }

  .registry-home-preview-link svg {
    width: 0.95rem;
    height: 0.95rem;
    flex: none;
    color: var(--d-coral);
  }

  .registry-home-search-panel {
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding: 0.875rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 76%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-surface) 86%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 5%, transparent);
  }

  .registry-home-search-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
  }

  .registry-home-search-head p {
    margin: 0.35rem 0 0;
    color: var(--d-text-muted);
    line-height: 1.6;
  }

  .registry-home-search-label {
    margin-bottom: 0;
    color: var(--d-text);
  }

  .registry-home-search-shortcut {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--d-cyan) 30%, transparent);
    border-radius: 999px;
    color: var(--d-cyan);
    background: color-mix(in srgb, var(--d-cyan) 11%, transparent);
    font-size: 0.8125rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
  }

  .registry-home-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
  }

  .registry-home-signal-card {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--registry-signal-tone, var(--d-border)) 24%, var(--d-border));
    border-radius: var(--d-radius);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--registry-signal-tone, var(--d-surface-raised)) 8%, var(--d-surface-raised)) 0%, color-mix(in srgb, var(--d-surface) 94%, transparent) 100%);
  }

  .registry-home-signal-card[data-tone='cyan'] {
    --registry-signal-tone: var(--d-cyan);
  }

  .registry-home-signal-card[data-tone='coral'] {
    --registry-signal-tone: var(--d-coral);
  }

  .registry-home-signal-card[data-tone='amber'] {
    --registry-signal-tone: var(--d-amber);
  }

  .registry-home-signal-card[data-tone='green'] {
    --registry-signal-tone: var(--d-green);
  }

  .registry-home-signal-card strong {
    color: var(--registry-signal-tone, var(--d-text));
    font-size: 2rem;
    line-height: 1;
  }

  .registry-home-signal-card span {
    color: var(--d-text);
    font-weight: 650;
  }

  .registry-home-signal-card p {
    margin: 0;
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .registry-home-section-head {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
  }

  .registry-home-section-head-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .registry-home-section-copy {
    margin: 0;
    max-width: 46rem;
    color: var(--d-text-muted);
    line-height: 1.6;
  }

  .registry-home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--d-cyan);
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
  }

  .registry-home-section-link:hover {
    color: var(--d-coral);
  }

  .registry-home-section-link svg {
    width: 0.9rem;
    height: 0.9rem;
    flex: none;
  }

  .registry-home-layer-section {
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    border-radius: var(--d-radius);
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--d-amber) 8%, transparent), transparent 42%),
      color-mix(in srgb, var(--d-surface-raised) 72%, transparent);
  }

  .registry-home-layer-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .registry-home-layer-card {
    position: relative;
    display: grid;
    gap: 0.65rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--registry-layer-tone, var(--d-border)) 24%, var(--d-border));
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--registry-layer-tone, var(--d-surface)) 8%, var(--d-surface));
    color: var(--d-text);
    text-decoration: none;
    overflow: hidden;
  }

  .registry-home-layer-card:hover {
    border-color: color-mix(in srgb, var(--registry-layer-tone, var(--d-border)) 46%, var(--d-border));
    background: color-mix(in srgb, var(--registry-layer-tone, var(--d-surface)) 12%, var(--d-surface));
  }

  .registry-home-layer-card[data-tone='cyan'] {
    --registry-layer-tone: var(--d-cyan);
  }

  .registry-home-layer-card[data-tone='coral'] {
    --registry-layer-tone: var(--d-coral);
  }

  .registry-home-layer-card[data-tone='amber'] {
    --registry-layer-tone: var(--d-amber);
  }

  .registry-home-layer-index {
    position: absolute;
    right: 0.85rem;
    top: 0.65rem;
    color: color-mix(in srgb, var(--registry-layer-tone, var(--d-text)) 38%, transparent);
    font-family: var(--d-font-mono, monospace);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
  }

  .registry-home-layer-eyebrow {
    width: fit-content;
    margin-bottom: 0;
    color: var(--registry-layer-tone, var(--d-accent));
  }

  .registry-home-layer-card strong {
    max-width: 18rem;
    color: var(--d-text);
    font-size: 1.25rem;
    line-height: 1.18;
  }

  .registry-home-layer-card p {
    margin: 0;
    max-width: 38rem;
    color: var(--d-text-muted);
    line-height: 1.65;
  }

  .registry-home-layer-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: var(--registry-layer-tone, var(--d-accent));
    font-weight: 650;
  }

  .registry-home-layer-action svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .registry-home-editorial {
    gap: 2rem;
  }

  .registry-home-editorial .registry-home-hero {
    display: grid;
    gap: 0.875rem;
    padding: 3rem 0 0.5rem;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }

  .registry-home-editorial .registry-home-eyebrow {
    color: var(--d-cyan);
  }

  .registry-home-editorial .registry-home-title {
    max-width: 18ch;
    font-size: 3.25rem;
    line-height: 1;
  }

  .registry-home-editorial .registry-home-description {
    max-width: 44rem;
    font-size: 1.125rem;
  }

  .registry-home-hero-note {
    margin: 0.25rem 0 0;
    color: var(--d-text-muted);
    font-size: 0.875rem;
    font-family: var(--d-font-mono, monospace);
  }

  .registry-home-search-stage {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    border-radius: var(--d-radius);
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--d-cyan) 9%, transparent), transparent 42%),
      color-mix(in srgb, var(--d-surface-raised) 86%, transparent);
  }

  .registry-home-search-stage-head {
    display: grid;
    gap: 0.45rem;
    align-items: start;
  }

  .registry-home-search-stage-head .registry-anchor-label {
    margin-bottom: 0;
  }

  .registry-home-search-stage-head p {
    margin: 0;
    max-width: 42rem;
    color: var(--d-text-muted);
    line-height: 1.6;
  }

  .registry-home-featured-section {
    gap: 1.125rem;
  }

  .registry-home-feature-stack {
    display: grid;
    gap: 1rem;
    min-width: 0;
  }

  .registry-home-feature-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem 0;
    border-block: 1px solid color-mix(in srgb, var(--d-border) 76%, transparent);
  }

  .registry-home-feature-image,
  .registry-home-feature-row-image {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-surface-raised) 86%, transparent);
    text-decoration: none;
  }

  .registry-home-feature-image {
    aspect-ratio: 16 / 9;
  }

  .registry-home-feature-row-image {
    aspect-ratio: 4 / 3;
  }

  .registry-home-feature-image img,
  .registry-home-feature-row-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.32s ease, filter 0.32s ease;
  }

  .registry-home-feature-image:hover img,
  .registry-home-feature-row-image:hover img {
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.04);
  }

  .registry-home-feature-copy {
    display: grid;
    gap: 0.625rem;
    min-width: 0;
  }

  .registry-home-feature-eyebrow {
    color: var(--d-cyan);
    margin-bottom: 0;
  }

  .registry-home-feature-primary h3,
  .registry-home-feature-row h3 {
    margin: 0;
    color: var(--d-text);
    font-weight: 700;
    line-height: 1.08;
  }

  .registry-home-feature-primary h3 {
    font-size: 2.1rem;
  }

  .registry-home-feature-row h3 {
    font-size: 1.1rem;
  }

  .registry-home-feature-primary h3 a,
  .registry-home-feature-row h3 a {
    color: inherit;
    text-decoration: none;
  }

  .registry-home-feature-primary h3 a:hover,
  .registry-home-feature-row h3 a:hover {
    color: var(--d-cyan);
  }

  .registry-home-feature-primary p,
  .registry-home-feature-row p {
    margin: 0;
    color: var(--d-text-muted);
    line-height: 1.65;
  }

  .registry-home-feature-primary p {
    max-width: 42rem;
  }

  .registry-home-feature-meta,
  .registry-home-feature-row span {
    color: var(--d-text-muted);
    font-size: 0.8125rem;
    font-family: var(--d-font-mono, monospace);
  }

  .registry-home-feature-command {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    width: min(100%, 34rem);
    padding: 0.875rem 1rem;
    border: 1px solid color-mix(in srgb, var(--d-cyan) 32%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-cyan) 9%, var(--d-surface));
  }

  .registry-home-feature-command span {
    color: var(--d-cyan);
    font-family: var(--d-font-mono, monospace);
    font-weight: 800;
  }

  .registry-home-feature-command code {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--d-text);
    line-height: 1.5;
  }

  .registry-home-feature-actions,
  .registry-home-feature-row-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-home-feature-actions a {
    gap: 0.45rem;
    text-decoration: none;
  }

  .registry-home-feature-actions svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .registry-home-feature-list {
    display: grid;
    min-width: 0;
  }

  .registry-home-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 1rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--d-border) 68%, transparent);
  }

  .registry-home-feature-row:has(.registry-home-feature-row-image) {
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  }

  .registry-home-feature-row > div:first-child {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
  }

  .registry-home-feature-row p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .registry-home-text-link {
    color: var(--d-cyan);
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
  }

  .registry-home-text-link:hover {
    color: var(--d-coral);
  }

  .registry-home-flow-section {
    gap: 1.25rem;
    padding-block: 1rem;
  }

  .registry-home-flow-track {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    min-width: 0;
  }

  .registry-home-flow-step {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    padding-left: 3rem;
    position: relative;
  }

  .registry-home-flow-step::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 2.25rem;
    bottom: -1.25rem;
    width: 1px;
    background: color-mix(in srgb, var(--d-border) 82%, transparent);
  }

  .registry-home-flow-step:last-child::before {
    display: none;
  }

  .registry-home-flow-index {
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--d-cyan) 38%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-cyan) 12%, var(--d-surface));
    color: var(--d-cyan);
    font-family: var(--d-font-mono, monospace);
    font-size: 0.75rem;
    font-weight: 800;
  }

  .registry-home-flow-label {
    margin-bottom: 0;
    color: var(--d-text-muted);
  }

  .registry-home-flow-step h3 {
    margin: 0;
    color: var(--d-text);
    font-size: 1.125rem;
    line-height: 1.2;
  }

  .registry-home-flow-step p {
    margin: 0;
    color: var(--d-text-muted);
    line-height: 1.6;
  }

  .registry-home-secondary-section {
    gap: 1rem;
  }

  .registry-home-secondary-links {
    display: grid;
    border-top: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
  }

  .registry-home-secondary-link {
    display: grid;
    grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 1rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    color: var(--d-text);
    text-decoration: none;
  }

  .registry-home-secondary-link:hover {
    color: var(--d-cyan);
  }

  .registry-home-secondary-link span {
    font-weight: 700;
  }

  .registry-home-secondary-link p {
    margin: 0;
    color: var(--d-text-muted);
    line-height: 1.55;
  }

  .registry-home-secondary-link svg {
    width: 0.9rem;
    height: 0.9rem;
    color: var(--d-cyan);
  }

  .registry-home-empty {
    padding: 2rem 0;
    color: var(--d-text-muted);
  }

  .registry-home-editorial .registry-home-hero-wow {
    gap: 1.5rem;
    padding: 3.25rem 0 0.5rem;
  }

  .registry-home-hero-wow .registry-home-hero-copy {
    max-width: 58rem;
  }

  .registry-home-launch-stage {
    position: relative;
    display: grid;
    gap: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--d-border) 78%, transparent);
    border-radius: var(--d-radius);
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--d-cyan) 10%, transparent) 0%, transparent 36%),
      linear-gradient(315deg, color-mix(in srgb, var(--d-coral) 10%, transparent) 0%, transparent 42%),
      color-mix(in srgb, var(--d-surface-raised) 92%, transparent);
    box-shadow: var(--d-shadow);
  }

  .registry-home-launch-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, transparent 0 4.75rem, color-mix(in srgb, var(--d-border) 22%, transparent) 4.75rem 4.8125rem, transparent 4.8125rem 100%),
      linear-gradient(180deg, transparent 0 4.75rem, color-mix(in srgb, var(--d-border) 18%, transparent) 4.75rem 4.8125rem, transparent 4.8125rem 100%);
    background-size: 4.8125rem 4.8125rem;
    opacity: 0.32;
  }

  .registry-home-stage-canvas {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    padding: 1rem;
  }

  .registry-home-stage-preview {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-bg) 72%, var(--d-surface));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
  }

  .registry-home-stage-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.04);
  }

  .registry-home-stage-preview iframe {
    width: 238%;
    height: 238%;
    border: 0;
    transform: scale(0.42);
    transform-origin: top left;
    pointer-events: none;
    background: var(--d-bg);
  }

  .registry-home-stage-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--d-bg) 72%, transparent) 100%),
      linear-gradient(90deg, color-mix(in srgb, var(--d-cyan) 16%, transparent) 0%, transparent 26%, transparent 72%, color-mix(in srgb, var(--d-coral) 14%, transparent) 100%);
  }

  .registry-home-stage-scan {
    position: absolute;
    inset: 0 auto 0 0;
    width: 28%;
    transform: translateX(-120%);
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--d-cyan) 20%, transparent), transparent);
    animation: registry-home-scan 5.5s ease-in-out infinite;
    pointer-events: none;
  }

  .registry-home-stage-fallback {
    height: 100%;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    align-content: stretch;
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--d-cyan) 12%, transparent), transparent 48%),
      color-mix(in srgb, var(--d-surface) 92%, transparent);
  }

  .registry-home-stage-fallback-nav,
  .registry-home-stage-fallback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .registry-home-stage-fallback-nav span,
  .registry-home-stage-fallback-grid span {
    min-height: 2.75rem;
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-text-muted) 11%, transparent);
  }

  .registry-home-stage-fallback-hero {
    display: grid;
    align-content: end;
    gap: 0.5rem;
    min-height: 9rem;
    padding: 1rem;
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-cyan) 11%, var(--d-surface));
  }

  .registry-home-stage-fallback-hero span {
    color: var(--d-cyan);
    font-size: 0.8125rem;
    font-family: var(--d-font-mono, monospace);
  }

  .registry-home-stage-fallback-hero strong {
    color: var(--d-text);
    font-size: 1.35rem;
  }

  .registry-home-stage-contract {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-bg) 54%, var(--d-surface));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 5%, transparent);
  }

  .registry-home-stage-contract-head {
    display: grid;
    gap: 0.35rem;
  }

  .registry-home-stage-contract-head .d-label {
    color: var(--d-cyan);
    margin-bottom: 0;
  }

  .registry-home-stage-contract-head strong {
    color: var(--d-text);
    font-size: 1.35rem;
    line-height: 1.1;
  }

  .registry-home-stage-nodes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .registry-home-stage-node {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.35rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 68%, transparent);
    border-radius: var(--d-radius);
    color: var(--d-text);
    background: color-mix(in srgb, var(--d-surface-raised) 72%, transparent);
    font-size: 0.875rem;
  }

  .registry-home-stage-node::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    flex: none;
    border-radius: 999px;
    background: var(--d-cyan);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--d-cyan) 28%, transparent);
    animation: registry-home-pulse 2.4s ease-in-out infinite;
  }

  .registry-home-stage-node:nth-child(2)::before {
    background: var(--d-coral);
    animation-delay: 0.25s;
  }

  .registry-home-stage-node:nth-child(3)::before {
    background: var(--d-amber);
    animation-delay: 0.5s;
  }

  .registry-home-stage-node:nth-child(4)::before {
    background: var(--d-green);
    animation-delay: 0.75s;
  }

  .registry-home-stage-command {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.875rem 1rem;
    border: 1px solid color-mix(in srgb, var(--d-cyan) 34%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-cyan) 10%, var(--d-surface));
  }

  .registry-home-command-prompt,
  .registry-home-command-flag {
    color: var(--d-cyan);
    font-family: var(--d-font-mono, monospace);
    font-weight: 800;
  }

  .registry-home-stage-command code {
    min-width: 0;
    color: var(--d-text);
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .registry-home-stage-command-composer {
    padding: 0.75rem;
  }

  .registry-home-stage-command-composer code {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    width: 100%;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .registry-home-command-base {
    min-width: 0;
    color: var(--d-text);
    font-weight: 750;
  }

  .registry-home-command-flag {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .registry-home-stage-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .registry-home-stage-actions a {
    gap: 0.45rem;
    text-decoration: none;
  }

  .registry-home-stage-actions svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  @keyframes registry-home-scan {
    0%, 22% {
      transform: translateX(-120%);
      opacity: 0;
    }
    35%, 68% {
      opacity: 1;
    }
    82%, 100% {
      transform: translateX(420%);
      opacity: 0;
    }
  }

  @keyframes registry-home-pulse {
    0%, 100% {
      box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 0%, transparent);
    }
    50% {
      box-shadow: 0 0 0 0.35rem color-mix(in srgb, var(--d-cyan) 10%, transparent);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .registry-home-stage-scan,
    .registry-home-stage-node::before {
      animation: none;
    }

    .registry-home-feature-image img,
    .registry-home-feature-row-image img {
      transition: none;
    }
  }

  .registry-profile-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid color-mix(in srgb, var(--d-border) 76%, transparent);
    border-radius: calc(var(--d-radius) * 1.15);
    background:
      radial-gradient(circle at top right, color-mix(in srgb, var(--d-primary) 10%, transparent) 0%, transparent 42%),
      radial-gradient(circle at bottom left, color-mix(in srgb, var(--d-accent) 10%, transparent) 0%, transparent 46%),
      color-mix(in srgb, var(--d-surface-raised) 94%, transparent);
    box-shadow: var(--d-shadow-sm);
  }

  .registry-profile-avatar {
    width: 5rem;
    height: 5rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--d-primary), color-mix(in srgb, var(--d-accent) 82%, var(--d-primary)));
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--d-shadow);
  }

  .registry-profile-body {
    display: grid;
    gap: 0.875rem;
    flex: 1 1 22rem;
    min-width: 0;
  }

  .registry-profile-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }

  .registry-profile-title {
    margin: 0;
    color: var(--d-text);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .registry-profile-handle {
    margin: 0;
    color: var(--d-text-muted);
    font-size: 0.875rem;
    font-family: var(--d-font-mono, monospace);
  }

  .registry-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem 1.25rem;
    color: var(--d-text-muted);
    font-size: 0.875rem;
  }

  .registry-profile-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .registry-profile-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .registry-discovery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .registry-discovery-card {
    display: grid;
    gap: 1rem;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--d-border) 76%, transparent);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-surface-raised) 82%, transparent) 0%, color-mix(in srgb, var(--d-surface) 96%, transparent) 100%);
  }

  .registry-discovery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at top right, color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 10%, transparent) 0%, transparent 52%),
      linear-gradient(180deg, color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 6%, transparent) 0%, transparent 32%);
    pointer-events: none;
  }

  .registry-discovery-card[data-tone='blueprint'] {
    --registry-discovery-accent: var(--d-cyan);
  }

  .registry-discovery-card[data-tone='showcase'] {
    --registry-discovery-accent: var(--d-coral);
  }

  .registry-discovery-card[data-tone='catalog'] {
    --registry-discovery-accent: var(--d-accent);
  }

  .registry-discovery-card-head,
  .registry-discovery-copy,
  .registry-discovery-footer {
    position: relative;
    z-index: 1;
  }

  .registry-discovery-card-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
  }

  .registry-discovery-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    border: 1px solid color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 28%, transparent);
    background: color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 14%, transparent);
    color: var(--registry-discovery-accent, var(--d-accent));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
  }

  .registry-discovery-icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .registry-discovery-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0;
    padding-left: 0.75rem;
    border-left: 2px solid var(--registry-discovery-accent, var(--d-accent));
  }

  .registry-discovery-copy {
    display: grid;
    gap: 0.875rem;
  }

  .registry-discovery-title {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--d-text);
    max-width: 16ch;
  }

  .registry-discovery-description {
    margin: 0;
    color: var(--d-text-muted);
    line-height: 1.65;
    max-width: 34ch;
  }

  .registry-discovery-footer {
    margin-top: auto;
    padding-top: 0.25rem;
  }

  .registry-discovery-action {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: calc(var(--d-radius) * 1.2);
    text-decoration: none;
    border-color: color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 26%, transparent);
    background: color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 12%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 4%, transparent);
  }

  .registry-discovery-action:hover {
    border-color: color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 48%, transparent);
    background: color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 18%, transparent);
  }

  .registry-discovery-action-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
  }

  .registry-discovery-action-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--d-text);
  }

  .registry-discovery-action-hint {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: color-mix(in srgb, var(--d-text-muted) 92%, transparent);
  }

  .registry-discovery-action-arrow {
    width: 2rem;
    height: 2rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--registry-discovery-accent, var(--d-accent)) 20%, transparent);
    color: var(--registry-discovery-accent, var(--d-accent));
  }

  .registry-discovery-action-arrow-icon {
    width: 0.95rem;
    height: 0.95rem;
  }

  .registry-discovery-action[data-tone='blueprint'] {
    --registry-discovery-accent: var(--d-cyan);
  }

  .registry-discovery-action[data-tone='showcase'] {
    --registry-discovery-accent: var(--d-coral);
  }

  .registry-discovery-action[data-tone='catalog'] {
    --registry-discovery-accent: var(--d-accent);
  }

  .registry-search-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
  }

  .registry-search-input-row {
    position: relative;
  }

  .registry-search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    color: var(--d-text-muted);
    pointer-events: none;
  }

  .registry-search-input {
    padding-left: 2.5rem;
  }

  .registry-search-spinner {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .registry-search-spinner-dot {
    width: 0.875rem;
    height: 0.875rem;
    border: 2px solid color-mix(in srgb, var(--d-text-muted) 40%, transparent);
    border-top-color: var(--d-primary);
    border-radius: 999px;
    animation: registry-spin 1s linear infinite;
  }

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

  .registry-search-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .registry-type-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .registry-type-strip::-webkit-scrollbar {
    display: none;
  }

  .registry-type-strip > * {
    flex: 0 0 auto;
  }

  .registry-type-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
  }

  .registry-type-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex: none;
  }

  .registry-type-tab[data-active='true'][data-type-tone='pattern'] {
    background: color-mix(in srgb, var(--d-coral) 20%, transparent);
    color: var(--d-coral);
    border-color: color-mix(in srgb, var(--d-coral) 35%, transparent);
  }

  .registry-type-tab[data-active='true'][data-type-tone='theme'] {
    background: color-mix(in srgb, var(--d-amber) 20%, transparent);
    color: var(--d-amber);
    border-color: color-mix(in srgb, var(--d-amber) 35%, transparent);
  }

  .registry-type-tab[data-active='true'][data-type-tone='blueprint'] {
    background: color-mix(in srgb, var(--d-cyan) 20%, transparent);
    color: var(--d-cyan);
    border-color: color-mix(in srgb, var(--d-cyan) 35%, transparent);
  }

  .registry-type-tab[data-active='true'][data-type-tone='archetype'] {
    background: color-mix(in srgb, var(--d-purple) 20%, transparent);
    color: var(--d-purple);
    border-color: color-mix(in srgb, var(--d-purple) 35%, transparent);
  }

  .registry-type-tab[data-active='true'][data-type-tone='shell'] {
    background: color-mix(in srgb, var(--d-green) 20%, transparent);
    color: var(--d-green);
    border-color: color-mix(in srgb, var(--d-green) 35%, transparent);
  }

  .registry-search-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    min-width: 0;
  }

  .registry-search-results {
    color: var(--d-text-muted);
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .registry-search-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-source-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-source-pill {
    border-radius: 999px;
    padding: 0.3125rem 0.75rem;
    font-size: 0.8125rem;
  }

  .registry-source-pill[data-source='official'][data-variant='primary'] {
    background: color-mix(in srgb, var(--d-cyan) 18%, transparent);
    color: var(--d-cyan);
    border-color: color-mix(in srgb, var(--d-cyan) 35%, transparent);
  }

  .registry-source-pill[data-source='community'][data-variant='primary'] {
    background: color-mix(in srgb, var(--d-green) 18%, transparent);
    color: var(--d-green);
    border-color: color-mix(in srgb, var(--d-green) 35%, transparent);
  }

  .registry-source-pill[data-source='organization'][data-variant='primary'] {
    background: color-mix(in srgb, var(--d-purple) 18%, transparent);
    color: var(--d-purple);
    border-color: color-mix(in srgb, var(--d-purple) 35%, transparent);
  }

  .registry-source-pill[data-source='all'][data-variant='primary'] {
    background: color-mix(in srgb, var(--d-surface-raised) 92%, transparent);
    color: var(--d-text);
    border-color: color-mix(in srgb, var(--d-border) 78%, transparent);
  }

  .registry-source-pill[data-source='featured'][data-variant='primary'] {
    background: color-mix(in srgb, var(--d-cyan) 18%, transparent);
    color: color-mix(in srgb, var(--d-cyan) 86%, var(--d-text));
    border-color: color-mix(in srgb, var(--d-cyan) 38%, transparent);
  }

  .registry-source-pill[data-source='certified'][data-variant='primary'] {
    background: color-mix(in srgb, var(--d-green) 18%, transparent);
    color: color-mix(in srgb, var(--d-green) 82%, var(--d-text));
    border-color: color-mix(in srgb, var(--d-green) 40%, transparent);
  }

  .registry-source-pill[data-source='labs'][data-variant='primary'] {
    background: color-mix(in srgb, var(--d-amber) 18%, transparent);
    color: color-mix(in srgb, var(--d-amber) 78%, var(--d-text));
    border-color: color-mix(in srgb, var(--d-amber) 40%, transparent);
  }

  .registry-mobile-filters {
    display: none;
  }

  .registry-mobile-filters-surface {
    display: grid;
    gap: 0.875rem;
  }

  .registry-search-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--d-text-muted);
    font-size: 0.875rem;
  }

  .registry-header-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
  }

  .registry-header-link {
    color: var(--d-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .registry-header-link:hover {
    color: var(--d-primary);
  }

  .registry-mobile-menu-button {
    display: inline-flex;
    padding: 0.375rem;
  }

  .registry-mobile-menu-overlay {
    position: fixed;
    inset: 52px 0 0;
    z-index: 34;
    border: none;
    background: rgba(0, 0, 0, 0.45);
  }

  .registry-mobile-menu-drawer {
    position: fixed;
    top: 52px;
    right: 0;
    bottom: 0;
    z-index: 35;
    width: min(18rem, calc(100vw - 1.25rem));
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-primary) 6%, transparent) 0%, transparent 100%),
      color-mix(in srgb, var(--d-surface) 96%, transparent);
    border-left: 1px solid var(--d-border);
    box-shadow: var(--d-shadow-lg);
    backdrop-filter: blur(14px);
  }

  .registry-mobile-menu-link {
    width: 100%;
    justify-content: flex-start;
  }

  .registry-mobile-menu-link-danger {
    color: var(--d-error);
  }

  .registry-nav-desktop-auth {
    display: inline-flex;
  }

  .registry-nav-compact-link {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }

  .registry-nav-avatar {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--d-primary) 30%, transparent);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--d-primary), color-mix(in srgb, var(--d-accent) 75%, var(--d-primary)));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--d-shadow-sm);
  }

  .registry-nav-avatar:hover {
    transform: translateY(-1px);
    box-shadow: var(--d-shadow);
  }

  .registry-nav-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 12rem;
    padding: 0.25rem 0;
    z-index: 50;
  }

  .registry-nav-dropdown-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--d-text);
    font: inherit;
    font-size: 0.875rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .registry-nav-dropdown-link:hover {
    background: color-mix(in srgb, var(--d-surface-raised) 94%, transparent);
  }

  .registry-nav-dropdown-link-danger {
    color: var(--d-error);
  }

  .registry-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
  }

  .content-card-grid > .registry-card:nth-child(1) { --d-stagger-index: 0; }
  .content-card-grid > .registry-card:nth-child(2) { --d-stagger-index: 1; }
  .content-card-grid > .registry-card:nth-child(3) { --d-stagger-index: 2; }
  .content-card-grid > .registry-card:nth-child(4) { --d-stagger-index: 3; }
  .content-card-grid > .registry-card:nth-child(5) { --d-stagger-index: 4; }
  .content-card-grid > .registry-card:nth-child(6) { --d-stagger-index: 5; }
  .content-card-grid > .registry-card:nth-child(7) { --d-stagger-index: 6; }
  .content-card-grid > .registry-card:nth-child(8) { --d-stagger-index: 7; }
  .content-card-grid > .registry-card:nth-child(9) { --d-stagger-index: 8; }
  .content-card-grid > .registry-card:nth-child(10) { --d-stagger-index: 9; }
  .content-card-grid > .registry-card:nth-child(11) { --d-stagger-index: 10; }
  .content-card-grid > .registry-card:nth-child(12) { --d-stagger-index: 11; }
  .content-card-grid > .registry-card:nth-child(n + 13) { --d-stagger-index: 12; }

  .content-card-grid[data-revealed='false'] > .registry-card {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  .content-card-grid[data-revealed='true'] > .registry-card {
    opacity: 1;
    transform: translateY(0);
  }

  .registry-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    min-width: 0;
    overflow: hidden;
    border-radius: calc(var(--d-radius) - 0.125rem);
    border: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    background:
      radial-gradient(circle at top left, color-mix(in srgb, var(--card-accent, var(--d-primary)) 18%, transparent) 0%, transparent 55%),
      color-mix(in srgb, var(--d-surface-raised) 92%, transparent);
    margin-bottom: 1rem;
  }

  .registry-card-media-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .registry-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.875rem;
    min-height: 0;
  }

  .registry-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.875rem;
    min-width: 0;
  }

  .registry-card-title {
    flex: 1;
    min-width: 0;
    color: var(--d-text);
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 650;
  }

  .registry-card-title:hover {
    color: var(--card-accent, var(--d-primary));
  }

  .registry-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    flex: none;
  }

  .registry-type-chip[data-type-tone='pattern'] {
    background: color-mix(in srgb, var(--d-coral) 18%, transparent);
    color: var(--d-coral);
  }

  .registry-type-chip[data-type-tone='theme'] {
    background: color-mix(in srgb, var(--d-amber) 18%, transparent);
    color: var(--d-amber);
  }

  .registry-type-chip[data-type-tone='blueprint'] {
    background: color-mix(in srgb, var(--d-cyan) 18%, transparent);
    color: var(--d-cyan);
  }

  .registry-type-chip[data-type-tone='archetype'] {
    background: color-mix(in srgb, var(--d-purple) 18%, transparent);
    color: var(--d-purple);
  }

  .registry-type-chip[data-type-tone='shell'] {
    background: color-mix(in srgb, var(--d-green) 18%, transparent);
    color: var(--d-green);
  }

  .registry-card-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
  }

  .registry-blueprint-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.375rem;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    font-size: 0.6875rem;
    font-weight: 750;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .registry-blueprint-badge[data-status='featured'] {
    background: color-mix(in srgb, var(--d-cyan) 12%, transparent);
    color: color-mix(in srgb, var(--d-cyan) 86%, var(--d-text));
    border-color: color-mix(in srgb, var(--d-cyan) 40%, transparent);
  }

  .registry-blueprint-badge[data-status='certified'] {
    background: color-mix(in srgb, var(--d-green) 12%, transparent);
    color: color-mix(in srgb, var(--d-green) 82%, var(--d-text));
    border-color: color-mix(in srgb, var(--d-green) 40%, transparent);
  }

  .registry-blueprint-badge[data-status='labs'] {
    background: color-mix(in srgb, var(--d-amber) 12%, transparent);
    color: color-mix(in srgb, var(--d-amber) 78%, var(--d-text));
    border-color: color-mix(in srgb, var(--d-amber) 40%, transparent);
  }

  .registry-card-description {
    color: var(--d-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    line-height: 1.6;
  }

  .registry-card-footer {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.25rem;
  }

  .registry-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--d-text-muted);
    min-width: 0;
  }

  .registry-card-meta-item + .registry-card-meta-item::before {
    content: "·";
    margin-right: 0.5rem;
    color: color-mix(in srgb, var(--d-text-muted) 55%, transparent);
  }

  .registry-card-source {
    color: var(--d-text);
    font-family: var(--d-font-mono, monospace);
    font-weight: 600;
  }

  .registry-card-action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .registry-card-showcase-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 1.625rem;
    padding: 0.25rem 0.5625rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    color: var(--d-text-muted);
    background: color-mix(in srgb, var(--d-surface-raised) 78%, transparent);
    font-size: 0.71875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .registry-card-showcase-status[data-status='live'] {
    border-color: color-mix(in srgb, var(--d-green) 42%, transparent);
    color: color-mix(in srgb, var(--d-green) 82%, var(--d-text));
    background: color-mix(in srgb, var(--d-green) 12%, transparent);
  }

  .registry-card-showcase-status[data-status='benchmark'] {
    border-color: color-mix(in srgb, var(--d-cyan) 44%, transparent);
    color: color-mix(in srgb, var(--d-cyan) 86%, var(--d-text));
    background: color-mix(in srgb, var(--d-cyan) 12%, transparent);
  }

  .registry-card-showcase-status[data-status='pending'] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--d-amber) 46%, transparent);
    color: color-mix(in srgb, var(--d-amber) 76%, var(--d-text));
    background: color-mix(in srgb, var(--d-amber) 10%, transparent);
  }

  .registry-card-action-row .d-interactive {
    width: fit-content;
    min-height: 2.5rem;
    text-decoration: none;
    gap: 0.5rem;
  }

  .registry-card-open.d-interactive[data-variant='primary'] {
    background: var(--card-accent, var(--d-primary));
    border-color: var(--card-accent, var(--d-primary));
    color: #061010;
  }

  .registry-card-open.d-interactive[data-variant='primary']:hover {
    background: color-mix(in srgb, var(--card-accent, var(--d-primary)) 88%, white);
    border-color: color-mix(in srgb, var(--card-accent, var(--d-primary)) 88%, white);
    color: #061010;
  }

  .registry-card-showcase.d-interactive[data-variant='ghost'] {
    border-color: color-mix(in srgb, var(--d-border) 72%, transparent);
    color: var(--d-text-muted);
  }

  .registry-card-showcase.d-interactive[data-variant='ghost']:hover {
    border-color: color-mix(in srgb, var(--card-accent, var(--d-primary)) 40%, transparent);
    background: color-mix(in srgb, var(--card-accent, var(--d-primary)) 9%, transparent);
    color: var(--d-text);
  }

  .registry-card-action-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex: none;
  }

  .registry-card-edit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
  }

  .registry-card-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .registry-card-action {
    padding: 0.25rem;
  }

  .registry-card-action svg {
    width: 0.875rem;
    height: 0.875rem;
  }

  .registry-card-action-danger {
    color: var(--d-error);
  }

  .registry-helper-copy {
    margin: 0;
    color: var(--d-text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .registry-error-copy {
    margin: 0;
    color: var(--d-error);
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .registry-thumbnail-preview {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--d-radius);
    border: 1px solid color-mix(in srgb, var(--d-border) 78%, transparent);
    background: color-mix(in srgb, var(--d-surface-raised) 92%, transparent);
  }

  .registry-thumbnail-preview-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .content-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .registry-team-list {
    display: grid;
    gap: 0.75rem;
  }

  .registry-team-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.875rem 1rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-surface) 94%, transparent);
  }

  .registry-team-row-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 16rem;
  }

  .registry-team-row-trail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .registry-team-row-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-key-list {
    display: grid;
    gap: 0.75rem;
  }

  .registry-key-card {
    display: grid;
    gap: 0.875rem;
  }

  .registry-key-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-key-card-meta {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
  }

  .registry-key-card-scopes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-key-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-key-card-dates {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--d-text-muted);
  }

  .registry-policy-list {
    display: grid;
    gap: 0;
  }

  .registry-policy-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    border-top: 1px solid var(--d-border);
  }

  .registry-policy-row + .registry-policy-row {
    border-top: 1px solid var(--d-border);
  }

  .registry-approval-list {
    display: grid;
    gap: 0.875rem;
  }

  .registry-approval-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.875rem;
    border-top: 1px solid var(--d-border);
  }

  .registry-filter-bar {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .registry-search-select {
    min-width: 12rem;
  }

  @media (min-width: 768px) {
    .registry-public-main {
      padding: 1.5rem;
    }

    .registry-public-main:has(.registry-scan-page) {
      padding: 0;
    }

    .registry-header-nav {
      display: flex;
    }
  }

  @media (min-width: 640px) {
    .content-card-grid { grid-template-columns: repeat(2, 1fr); }
    .registry-home-hero { gap: 1.5rem; }
    .registry-home-title { font-size: 3.1rem; }
    .registry-home-layer-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .registry-home-editorial .registry-home-title { font-size: 3.6rem; }
  }
  @media (min-width: 1024px) {
    .content-card-grid { grid-template-columns: repeat(3, 1fr); }
    .registry-home-title { font-size: 3.75rem; }
    .registry-home-hero {
      grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.74fr);
      align-items: stretch;
    }
    .registry-home-editorial .registry-home-hero {
      grid-template-columns: 1fr;
      padding-top: 3.5rem;
    }
    .registry-home-editorial .registry-home-title { font-size: 3.85rem; }
    .registry-home-flow-track {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.5rem;
    }
    .registry-home-flow-track::before {
      content: "";
      position: absolute;
      left: 1rem;
      right: 1rem;
      top: 1rem;
      height: 1px;
      background: color-mix(in srgb, var(--d-border) 82%, transparent);
    }
    .registry-home-flow-step {
      padding-left: 0;
      padding-top: 3rem;
    }
    .registry-home-flow-step::before {
      display: none;
    }
    .registry-home-stage-canvas {
      grid-template-columns: minmax(0, 1.22fr) minmax(19rem, 0.78fr);
      align-items: stretch;
    }
    .registry-home-stage-contract {
      min-height: 100%;
    }
    .registry-home-feature-primary:has(.registry-home-feature-image) {
      grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
      align-items: start;
    }
    .registry-home-feature-image {
      grid-row: 1 / span 3;
    }
    .registry-home-signal-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  @media (max-width: 767px) {
    .registry-page-stack {
      gap: 1.25rem;
    }

    .registry-form-grid-split,
    .registry-inline-form,
    .registry-three-field-form,
    .registry-admin-filter-grid,
    .registry-admin-telemetry-filter-grid {
      grid-template-columns: 1fr;
    }

    .registry-shell-mobile-toggle {
      display: inline-flex;
    }

    .registry-shell-search-label,
    .registry-shell-search-kbd {
      display: none;
    }

    .registry-shell-body {
      padding: 1rem;
    }

    .registry-public-header,
    .registry-public-footer {
      padding-inline: 1rem;
    }

    .registry-public-footer-inner {
      gap: 1.5rem;
    }

    .registry-footer-nav {
      width: 100%;
      gap: 1.25rem;
    }

    .registry-footer-group {
      min-width: 0;
      flex: 1 1 10rem;
    }

    .registry-mobile-filters[data-open='true'] {
      display: grid;
      gap: 0.75rem;
    }

    .registry-home-hero {
      padding: 1rem;
    }

    .registry-home-editorial {
      gap: 1.5rem;
    }

    .registry-home-editorial .registry-home-hero {
      padding: 2rem 0 0.25rem;
    }

    .registry-home-title {
      max-width: 100%;
      font-size: 2.35rem;
      line-height: 1;
    }

    .registry-home-editorial .registry-home-title {
      font-size: 2.85rem;
    }

    .registry-home-hero-actions {
      align-items: stretch;
      flex-direction: column;
    }

    .registry-home-primary-action,
    .registry-home-secondary-action {
      width: 100%;
      justify-content: center;
    }

    .registry-home-search-head {
      flex-direction: column;
      align-items: flex-start;
    }

    .registry-home-search-stage {
      padding: 0.875rem;
    }

    .registry-home-search-stage-head {
      align-items: flex-start;
      flex-direction: column;
    }

    .registry-home-search-shortcut {
      width: fit-content;
    }

    .registry-home-feature-row,
    .registry-home-secondary-link {
      grid-template-columns: 1fr;
    }

    .registry-home-feature-row:has(.registry-home-feature-row-image) {
      grid-template-columns: 1fr;
    }

    .registry-home-feature-row-image {
      max-width: 14rem;
    }

    .registry-home-stage-canvas,
    .registry-home-stage-contract {
      padding: 0.875rem;
    }

    .registry-home-stage-nodes {
      grid-template-columns: 1fr;
    }

    .registry-home-feature-row-actions {
      align-items: flex-start;
    }

    .registry-home-signal-grid {
      grid-template-columns: 1fr;
    }

    .registry-home-section-head-row {
      align-items: flex-start;
      flex-direction: column;
    }

    .registry-source-strip[data-mode='desktop'] {
      display: none;
    }

    .registry-browser-shell .registry-type-strip {
      flex-wrap: wrap;
      overflow: visible;
      row-gap: 0.5rem;
      padding-bottom: 0;
    }

    .registry-search-actions {
      width: 100%;
      justify-content: space-between;
    }

    .registry-search-sort {
      width: 100%;
      justify-content: space-between;
    }

    .registry-search-select {
      min-width: 0;
      width: min(100%, 16rem);
    }

    .registry-card-title-row {
      align-items: flex-start;
      flex-direction: column;
    }

    .registry-type-chip {
      width: fit-content;
    }

    .registry-profile-hero {
      padding: 1.125rem;
    }

    .registry-profile-avatar {
      width: 4.25rem;
      height: 4.25rem;
      font-size: 1.5rem;
    }

    .registry-team-row {
      flex-direction: column;
      align-items: stretch;
    }

    .registry-team-row-trail {
      margin-left: 0;
      width: 100%;
    }

    .registry-key-card-footer {
      flex-direction: column;
      align-items: flex-start;
    }

    .registry-policy-row {
      flex-direction: column;
    }

    .registry-approval-card {
      flex-direction: column;
    }

    .registry-settings-layout {
      flex-direction: column;
      gap: 1rem;
    }

    .registry-settings-nav {
      flex-direction: row;
      gap: 0.5rem;
      min-width: 0;
      overflow-x: auto;
      padding-bottom: 0.25rem;
    }

    .registry-settings-tab {
      flex: none;
      border-left: none;
      border-bottom: 2px solid transparent;
      border-radius: 0;
      padding: 0.5rem 0.125rem;
      white-space: nowrap;
    }

    .registry-settings-tab[data-active='true'] {
      border-left-color: transparent;
      border-bottom-color: var(--d-accent);
      background: transparent;
    }

    .registry-inline-select {
      width: 100%;
      min-width: 0;
    }

    .registry-dashboard-head-actions {
      width: 100%;
    }

    .registry-key-scope-options {
      flex-direction: column;
      align-items: stretch;
    }

    .registry-check-option {
      width: 100%;
      justify-content: flex-start;
    }

    .registry-key-banner-value {
      width: 100%;
      flex-basis: 100%;
    }

    .registry-team-select {
      width: 100%;
    }

    .registry-admin-row {
      flex-direction: column;
      align-items: flex-start;
    }

    .registry-moderation-panel {
      justify-items: stretch;
    }

    .registry-moderation-actions {
      width: 100%;
      justify-content: flex-start;
    }
  }

  @media (min-width: 768px) {
    .registry-mobile-filter-toggle {
      display: none !important;
    }

    .registry-mobile-menu-button,
    .registry-mobile-menu-overlay,
    .registry-mobile-menu-drawer {
      display: none !important;
    }
  }

  @media (max-width: 767px) {
    .registry-nav-desktop-auth {
      display: none !important;
    }
  }

  /* Intentional homepage section pass */
  .registry-home-editorial {
    gap: 2.25rem;
  }

  .registry-home-editorial .registry-home-hero-wow {
    gap: 1.35rem;
    padding: 3.25rem 0 0.25rem;
    isolation: isolate;
  }

  .registry-home-hero-wow .registry-home-hero-copy {
    position: relative;
    max-width: 64rem;
  }

  .registry-home-editorial .registry-home-title {
    max-width: 18ch;
    text-wrap: balance;
  }

  .registry-home-editorial .registry-home-description {
    max-width: 49rem;
    color: color-mix(in srgb, var(--d-text) 70%, var(--d-text-muted));
  }

  .registry-home-hero-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.1rem;
  }

  .registry-home-hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 72%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-surface-raised) 78%, transparent);
    color: color-mix(in srgb, var(--d-text) 78%, var(--d-text-muted));
    font-size: 0.8125rem;
    font-weight: 650;
  }

  .registry-home-launch-stage {
    border-color: color-mix(in srgb, var(--d-cyan) 22%, var(--d-border));
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--d-cyan) 13%, transparent) 0%, transparent 34%),
      linear-gradient(315deg, color-mix(in srgb, var(--d-coral) 11%, transparent) 0%, transparent 38%),
      linear-gradient(180deg, color-mix(in srgb, var(--d-surface-raised) 96%, transparent), color-mix(in srgb, var(--d-surface) 96%, transparent));
    box-shadow: 0 1.5rem 4.5rem color-mix(in srgb, #000 20%, transparent);
  }

  .registry-home-stage-canvas {
    gap: 0;
    padding: 0.9rem;
  }

  .registry-home-stage-preview {
    border-color: color-mix(in srgb, var(--d-border) 66%, transparent);
    border-radius: calc(var(--d-radius) * 1.15);
  }

  .registry-home-stage-contract {
    margin-top: 0.9rem;
    border-color: color-mix(in srgb, var(--d-cyan) 18%, var(--d-border));
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--d-bg) 50%, transparent), color-mix(in srgb, var(--d-surface) 92%, transparent));
    box-shadow: 0 1rem 2.5rem color-mix(in srgb, #000 14%, transparent);
  }

  .registry-home-stage-node {
    border-color: color-mix(in srgb, var(--d-border) 58%, transparent);
  }

  .registry-home-search-stage {
    gap: 1.1rem;
    padding: 1.125rem;
    border-color: color-mix(in srgb, var(--d-cyan) 16%, var(--d-border));
    border-radius: calc(var(--d-radius) * 1.25);
    background:
      linear-gradient(100deg, color-mix(in srgb, var(--d-cyan) 10%, transparent) 0%, transparent 34%),
      linear-gradient(260deg, color-mix(in srgb, var(--d-coral) 6%, transparent) 0%, transparent 38%),
      color-mix(in srgb, var(--d-surface-raised) 88%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
  }

  .registry-home-search-stage-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .registry-home-search-stage-head > div:first-child {
    display: grid;
    gap: 0.45rem;
    min-width: min(100%, 28rem);
  }

  .registry-home-search-hints {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .registry-home-search-hints a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-bg) 34%, transparent);
    color: color-mix(in srgb, var(--d-text) 78%, var(--d-text-muted));
    font-size: 0.8125rem;
    font-weight: 650;
    text-decoration: none;
  }

  .registry-home-search-hints a:hover {
    border-color: color-mix(in srgb, var(--d-cyan) 44%, transparent);
    color: var(--d-cyan);
  }

  .registry-home-search-stage .registry-search-filter {
    gap: 0.875rem;
  }

  .registry-home-search-stage .registry-search-input-row {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--d-cyan) 26%, var(--d-border));
    border-radius: calc(var(--d-radius) * 1.15);
    background: color-mix(in srgb, var(--d-bg) 46%, var(--d-surface));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
  }

  .registry-home-search-stage .registry-search-input {
    min-height: 3.25rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--d-text);
    font-size: 1rem;
  }

  .registry-home-search-stage .registry-type-strip {
    padding: 0.35rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    border-radius: calc(var(--d-radius) * 1.1);
    background: color-mix(in srgb, var(--d-bg) 26%, transparent);
  }

  .registry-home-search-stage .registry-type-tab {
    min-height: 2.25rem;
    border-radius: var(--d-radius);
  }

  .registry-home-search-stage .registry-search-meta {
    min-height: 2.35rem;
  }

  .registry-home-feature-stack {
    gap: 0;
    border-top: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
  }

  .registry-home-feature-primary {
    gap: 1rem;
    padding: 1.25rem 0;
    border-block: none;
    border-bottom: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
  }

  .registry-home-feature-image {
    aspect-ratio: 16 / 6;
  }

  .registry-home-feature-copy {
    gap: 0.7rem;
  }

  .registry-home-feature-signals,
  .registry-home-feature-row-signals {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
  }

  .registry-home-feature-signals span,
  .registry-home-feature-row-signals span {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 68%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-surface-raised) 72%, transparent);
    color: color-mix(in srgb, var(--d-text) 76%, var(--d-text-muted));
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 650;
  }

  .registry-home-feature-signals span:first-child,
  .registry-home-feature-row-signals span:first-child {
    border-color: color-mix(in srgb, var(--d-cyan) 36%, transparent);
    color: var(--d-cyan);
  }

  .registry-home-feature-row {
    gap: 1rem;
    padding: 1.1rem 0;
  }

  .registry-home-feature-row-copy {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
  }

  .registry-home-feature-row-copy > span {
    color: var(--d-text-muted);
    font-family: var(--d-font-mono, monospace);
    font-size: 0.8125rem;
  }

  .registry-home-feature-row-actions {
    justify-content: flex-end;
  }

  .registry-home-flow-section {
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    border-radius: calc(var(--d-radius) * 1.25);
    background:
      linear-gradient(105deg, color-mix(in srgb, var(--d-green) 7%, transparent) 0%, transparent 36%),
      color-mix(in srgb, var(--d-surface-raised) 82%, transparent);
  }

  .registry-home-flow-shell {
    display: grid;
    gap: 1rem;
  }

  .registry-home-flow-track {
    gap: 1rem;
  }

  .registry-home-flow-step {
    min-height: 8.25rem;
  }

  .registry-home-flow-command {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    width: min(100%, 42rem);
    padding: 0.9rem 1rem;
    border: 1px solid color-mix(in srgb, var(--d-green) 30%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-green) 9%, var(--d-surface));
  }

  .registry-home-flow-command span {
    color: var(--d-green);
    font-family: var(--d-font-mono, monospace);
    font-weight: 800;
  }

  .registry-home-flow-command code {
    min-width: 0;
    color: var(--d-text);
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .registry-home-secondary-section {
    padding-bottom: 1rem;
  }

  .registry-home-secondary-link {
    grid-template-columns: 3rem minmax(8rem, 0.32fr) minmax(0, 1fr) auto;
    padding: 1.125rem 0;
  }

  .registry-home-secondary-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-surface-raised) 74%, transparent);
    color: var(--d-cyan);
    font-family: var(--d-font-mono, monospace);
    font-size: 0.75rem;
    font-weight: 800;
  }

  .registry-home-secondary-name {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
  }

  .registry-home-secondary-name strong {
    color: var(--d-text);
    font-size: 1rem;
    line-height: 1.2;
  }

  .registry-home-secondary-name small {
    color: var(--d-text-muted);
    font-size: 0.75rem;
    font-weight: 650;
  }

  @media (min-width: 1024px) {
    .registry-home-stage-canvas {
      grid-template-columns: 1fr;
      padding: 1rem;
    }

    .registry-home-stage-preview {
      min-height: 28rem;
      aspect-ratio: 16 / 7;
    }

    .registry-home-stage-contract {
      width: min(calc(100% - 2rem), 56rem);
      margin: -5rem 1rem 1rem auto;
      grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.05fr) minmax(16rem, 0.9fr);
      align-items: center;
      backdrop-filter: blur(18px);
    }

    .registry-home-stage-contract-head {
      grid-column: 1;
    }

    .registry-home-stage-command {
      grid-column: 1 / -1;
    }

    .registry-home-stage-command-composer code {
      flex-wrap: nowrap;
      white-space: nowrap;
    }

    .registry-home-command-base,
    .registry-home-command-flag {
      white-space: nowrap;
    }

    .registry-home-stage-actions {
      grid-column: 1 / -1;
      justify-content: flex-end;
    }

    .registry-home-stage-nodes {
      grid-column: 2 / -1;
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .registry-home-stage-actions {
      grid-column: 1 / -1;
      justify-content: flex-end;
      padding-top: 0.75rem;
      border-top: 1px solid color-mix(in srgb, var(--d-border) 62%, transparent);
    }

    .registry-home-feature-primary:has(.registry-home-feature-image) {
      grid-template-columns: 1fr;
    }

    .registry-home-feature-image {
      grid-row: auto;
    }

    .registry-home-flow-track {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.25rem;
    }

    .registry-home-flow-track::before {
      left: 1rem;
      right: 1rem;
      background: color-mix(in srgb, var(--d-green) 34%, var(--d-border));
    }

    .registry-home-flow-command {
      justify-self: end;
    }
  }

  @media (max-width: 767px) {
    .registry-home-editorial {
      gap: 1.5rem;
    }

    .registry-home-editorial .registry-home-hero-wow {
      padding-top: 2rem;
    }

    .registry-home-hero-proof {
      align-items: flex-start;
    }

    .registry-home-search-stage-head,
    .registry-home-search-hints {
      align-items: flex-start;
      justify-content: flex-start;
    }

    .registry-home-search-stage .registry-type-strip {
      flex-wrap: wrap;
      overflow: visible;
    }

    .registry-home-search-stage .registry-search-actions {
      width: 100%;
      justify-content: flex-start;
    }

    .registry-home-search-stage .registry-mobile-filter-toggle {
      min-height: 2.25rem;
      padding: 0.4rem 0.75rem;
      border: 1px solid color-mix(in srgb, var(--d-border) 70%, transparent);
      border-radius: 999px;
      background: color-mix(in srgb, var(--d-bg) 28%, transparent);
    }

    .registry-home-feature-row {
      grid-template-columns: 1fr;
    }

    .registry-home-feature-row p {
      -webkit-line-clamp: 3;
    }

    .registry-home-feature-row-actions {
      justify-content: flex-start;
    }

    .registry-home-flow-section {
      padding: 1rem;
    }

    .registry-home-flow-step {
      min-height: 0;
    }

    .registry-home-secondary-link {
      grid-template-columns: 2.5rem minmax(0, 1fr) auto;
      gap: 0.75rem;
    }

    .registry-home-secondary-link p {
      grid-column: 2 / -1;
    }

    .registry-home-secondary-link svg {
      grid-column: 3;
      grid-row: 1;
      justify-self: end;
    }
  }

  /* Homepage composition correction pass */
  .registry-home-editorial {
    --registry-home-accent: var(--d-cyan);
    --registry-home-accent-ink: var(--d-cyan);
    gap: 3rem;
  }

  html.light .registry-home-editorial {
    --registry-home-accent: #089da0;
    --registry-home-accent-ink: #006f73;
  }

  .registry-home-editorial .registry-home-hero-cinematic {
    position: relative;
    display: grid;
    grid-template-areas:
      "copy"
      "stage"
      "proof";
    gap: 1rem;
    padding: 2.25rem 0 0.5rem;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    isolation: isolate;
  }

  .registry-home-hero-cinematic::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(90deg, transparent 0 3.5rem, color-mix(in srgb, var(--d-border) 18%, transparent) 3.5rem 3.5625rem, transparent 3.5625rem 100%),
      linear-gradient(180deg, transparent 0 3.5rem, color-mix(in srgb, var(--d-border) 14%, transparent) 3.5rem 3.5625rem, transparent 3.5625rem 100%);
    background-size: 3.5625rem 3.5625rem;
    mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
    opacity: 0.42;
  }

  .registry-home-hero-cinematic .registry-home-hero-copy {
    grid-area: copy;
    gap: 1rem;
    max-width: 43rem;
  }

  .registry-home-hero-cinematic .registry-home-title {
    max-width: 12ch;
    font-size: 3.2rem;
    line-height: 0.98;
  }

  .registry-home-hero-cinematic .registry-home-description {
    max-width: 37rem;
    color: color-mix(in srgb, var(--d-text) 72%, var(--d-text-muted));
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .registry-home-hero-proof-grid {
    grid-area: proof;
    display: grid;
    gap: 0.625rem;
    min-width: 0;
  }

  .registry-home-hero-proof-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    align-items: start;
    min-width: 0;
    padding: 0.8rem 0;
    border-top: 1px solid color-mix(in srgb, var(--d-border) 66%, transparent);
  }

  .registry-home-hero-proof-item span {
    grid-row: span 2;
    color: var(--registry-home-accent-ink);
    font-family: var(--d-font-mono, monospace);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .registry-home-hero-proof-item strong {
    color: var(--d-text);
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .registry-home-hero-proof-item p {
    margin: 0;
    color: var(--d-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .registry-home-hero-stage {
    grid-area: stage;
    min-width: 0;
    min-height: 100%;
    border-color: color-mix(in srgb, var(--registry-home-accent) 24%, var(--d-border));
    border-radius: calc(var(--d-radius) * 1.3);
    box-shadow: 0 2rem 5rem color-mix(in srgb, #000 24%, transparent);
  }

  .registry-home-editorial .registry-home-eyebrow,
  .registry-home-editorial .registry-home-section-link,
  .registry-home-editorial .registry-home-stage-contract-head .d-label,
  .registry-home-editorial .registry-home-feature-eyebrow,
  .registry-home-editorial .registry-home-text-link,
  .registry-home-editorial .registry-home-secondary-index,
  .registry-home-editorial .registry-home-secondary-link svg,
  .registry-home-editorial .registry-home-feature-signals span:first-child,
  .registry-home-editorial .registry-home-feature-row-signals span:first-child {
    color: var(--registry-home-accent-ink);
  }

  .registry-home-editorial .registry-home-eyebrow {
    border-left-color: var(--registry-home-accent);
  }

  .registry-home-editorial .registry-home-command-prompt,
  .registry-home-editorial .registry-home-command-flag,
  .registry-home-editorial .registry-home-feature-command span,
  .registry-home-editorial .registry-home-flow-command span {
    color: var(--registry-home-accent-ink);
  }

  .registry-home-hero-stage .registry-home-stage-canvas {
    height: 100%;
  }

  .registry-home-hero-stage .registry-home-stage-preview {
    min-height: 18rem;
  }

  .registry-home-section-title {
    margin: 0;
    max-width: 56rem;
    color: var(--d-text);
    font-size: 2rem;
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .registry-home-search-stage {
    gap: 1rem;
    padding: 1rem;
  }

  .registry-home-search-stage-head {
    align-items: flex-start;
  }

  .registry-home-search-stage-head > div:first-child {
    min-width: min(100%, 34rem);
  }

  .registry-home-search-lanes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .registry-home-search-lanes span {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid color-mix(in srgb, var(--d-border) 68%, transparent);
    border-radius: var(--d-radius);
    background: color-mix(in srgb, var(--d-bg) 26%, transparent);
  }

  .registry-home-search-lanes strong {
    color: var(--d-text);
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .registry-home-search-lanes small {
    color: var(--d-text-muted);
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .registry-home-featured-section,
  .registry-home-secondary-section {
    gap: 1.35rem;
  }

  .registry-home-feature-primary {
    padding: 1.4rem 0;
  }

  .registry-home-feature-image {
    aspect-ratio: 16 / 7;
  }

  .registry-home-feature-image .registry-home-stage-fallback {
    min-height: 100%;
  }

  .registry-home-feature-primary h3 {
    font-size: 2rem;
  }

  .registry-home-flow-section {
    gap: 1.25rem;
  }

  .registry-home-flow-section .registry-home-section-title {
    max-width: 48rem;
  }

  .registry-home-secondary-section .registry-home-section-title {
    max-width: 52rem;
  }

  @media (min-width: 768px) {
    .registry-home-search-stage {
      padding: 1.25rem;
    }
  }

  @media (min-width: 1024px) {
    .registry-home-editorial .registry-home-hero-cinematic {
      grid-template-columns: minmax(24rem, 0.72fr) minmax(32rem, 1.08fr);
      grid-template-rows: auto minmax(10rem, 1fr);
      grid-template-areas:
        "copy stage"
        "proof stage";
      align-items: stretch;
      min-height: 0;
      padding-top: 1.75rem;
    }

    .registry-home-hero-cinematic .registry-home-title {
      font-size: 3.72rem;
    }

    .registry-home-hero-cinematic .registry-home-hero-actions {
      padding-top: 0.5rem;
    }

    .registry-home-hero-proof-grid {
      align-self: end;
      max-width: 38rem;
    }

    .registry-home-hero-stage .registry-home-stage-canvas {
      grid-template-rows: minmax(21rem, auto) auto;
    }

    .registry-home-hero-stage .registry-home-stage-preview {
      min-height: 21rem;
      height: auto;
      aspect-ratio: 16 / 8.5;
    }

    .registry-home-hero-stage .registry-home-stage-contract {
      width: min(calc(100% - 1.5rem), 54rem);
      margin: -3.5rem 0.75rem 0.75rem auto;
      grid-template-columns: minmax(8rem, 0.56fr) minmax(0, 0.82fr) minmax(18rem, 1fr);
    }

    .registry-home-hero-stage .registry-home-stage-nodes {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.45rem;
    }

    .registry-home-hero-stage .registry-home-stage-node {
      min-height: 2.1rem;
      padding: 0.45rem 0.6rem;
      font-size: 0.8125rem;
    }

    .registry-home-search-stage-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.48fr);
    }

    .registry-home-feature-primary:has(.registry-home-feature-image) {
      grid-template-columns: minmax(20rem, 0.72fr) minmax(0, 1fr) minmax(18rem, 0.62fr);
      align-items: center;
    }

    .registry-home-feature-image {
      grid-column: 1;
      grid-row: 1 / span 2;
      aspect-ratio: 4 / 3;
    }

    .registry-home-feature-copy {
      grid-column: 2;
      grid-row: 1 / span 2;
    }

    .registry-home-feature-command {
      grid-column: 3;
      grid-row: 1;
      width: 100%;
    }

    .registry-home-feature-actions {
      grid-column: 3;
      grid-row: 2;
      align-self: start;
    }
  }

  @media (min-width: 1024px) and (max-height: 820px) {
    .registry-home-editorial {
      gap: 2.25rem;
    }

    .registry-home-editorial .registry-home-hero-cinematic {
      gap: 0.85rem 1rem;
      padding-top: 1.25rem;
    }

    .registry-home-hero-cinematic .registry-home-hero-copy {
      gap: 0.8rem;
    }

    .registry-home-hero-cinematic .registry-home-title {
      font-size: 3.35rem;
      line-height: 0.96;
    }

    .registry-home-hero-cinematic .registry-home-description {
      max-width: 35rem;
      font-size: 1rem;
      line-height: 1.5;
    }

    .registry-home-hero-cinematic .registry-home-hero-actions {
      padding-top: 0.25rem;
    }

    .registry-home-hero-proof-grid {
      gap: 0;
    }

    .registry-home-hero-proof-item {
      gap: 0.15rem 0.65rem;
      padding: 0.55rem 0;
    }

    .registry-home-hero-proof-item p {
      font-size: 0.8125rem;
      line-height: 1.35;
    }

    .registry-home-hero-stage .registry-home-stage-canvas {
      grid-template-rows: minmax(17.5rem, auto) auto;
      padding: 0.75rem;
    }

    .registry-home-hero-stage .registry-home-stage-preview {
      min-height: 17.5rem;
      aspect-ratio: 16 / 7.1;
    }

    .registry-home-hero-stage .registry-home-stage-contract {
      gap: 0.7rem;
      margin: -2.65rem 0.65rem 0.65rem auto;
      padding: 0.8rem;
    }

    .registry-home-hero-stage .registry-home-stage-contract {
      grid-template-columns: minmax(7.5rem, 0.54fr) minmax(0, 0.74fr) minmax(17.75rem, 1fr);
    }

    .registry-home-hero-stage .registry-home-stage-node {
      min-height: 1.95rem;
      padding: 0.35rem 0.5rem;
    }

    .registry-home-hero-stage .registry-home-stage-command {
      padding: 0.65rem 0.75rem;
    }

    .registry-home-hero-stage .registry-home-stage-command-composer {
      padding: 0.55rem;
    }

    .registry-home-hero-stage .registry-home-stage-command-composer code {
      gap: 0.35rem;
    }

    .registry-home-hero-stage .registry-home-stage-actions {
      padding-top: 0.5rem;
    }
  }

  @media (min-width: 1024px) {
    .registry-home-hero-stage .registry-home-stage-command {
      grid-column: 1 / -1;
    }

    .registry-home-hero-stage .registry-home-stage-command-composer code {
      flex-wrap: nowrap;
      white-space: nowrap;
    }

    .registry-home-hero-stage .registry-home-command-base,
    .registry-home-hero-stage .registry-home-command-flag {
      white-space: nowrap;
    }
  }

  @media (max-width: 767px) {
    .registry-home-editorial {
      gap: 2rem;
    }

    .registry-home-hero-cinematic .registry-home-title {
      font-size: 3rem;
      max-width: 11ch;
    }

    .registry-home-hero-proof-item {
      grid-template-columns: 1fr;
    }

    .registry-home-hero-proof-item span {
      grid-row: auto;
    }

    .registry-home-section-title {
      font-size: 1.65rem;
    }

    .registry-home-search-lanes {
      grid-template-columns: 1fr;
    }
  }
}

/* Route-local app overrides: Tailwind's reset is unlayered in this build. */
.registry-scan-page .registry-scan-guarantees {
  gap: 0.45rem;
}

.registry-scan-page .registry-scan-guarantees li {
  min-height: 2rem;
  padding: 0.34rem 0.68rem;
  background: color-mix(in srgb, var(--d-surface) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--d-border) 58%, transparent);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
  backdrop-filter: blur(12px);
}

.registry-scan-page .registry-scan-guarantees li + li::before {
  content: none;
}

.registry-scan-page .registry-scan-hero-compact {
  min-height: auto;
  padding-block: clamp(1.4rem, 3vw, 2.1rem) clamp(1rem, 2vw, 1.45rem);
}

.registry-scan-page .registry-scan-hero-compact .registry-scan-hero-inner {
  gap: 0.85rem;
}

.registry-scan-page .registry-scan-hero-compact .registry-scan-hero-copy {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.75rem);
}

.registry-scan-page .registry-scan-search {
  padding: 0.55rem;
}

.registry-scan-page .registry-scan-search input {
  padding-inline: 1.55rem;
}

.registry-scan-page .registry-scan-search button {
  padding-inline: 1.35rem;
}

.registry-scan-page .registry-scan-report {
  width: min(calc(100% - clamp(2rem, 8vw, 7rem)), 74rem);
  gap: clamp(1rem, 1.8vw, 1.45rem);
  margin: clamp(1rem, 2vw, 1.75rem) auto 0;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.registry-scan-page .registry-scan-report > * {
  animation: registry-scan-card-rise 540ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.registry-scan-page .registry-scan-report > *:nth-child(2) {
  animation-delay: 60ms;
}

.registry-scan-page .registry-scan-report > *:nth-child(3) {
  animation-delay: 120ms;
}

.registry-scan-page .registry-scan-report > *:nth-child(4) {
  animation-delay: 180ms;
}

.registry-scan-page .registry-scan-report > *:nth-child(5) {
  animation-delay: 240ms;
}

.registry-scan-page .registry-scan-report > *:nth-child(6) {
  animation-delay: 300ms;
}

.registry-scan-page :is(
  .registry-scan-verdict,
  .registry-scan-next,
  .registry-scan-metric,
  .registry-scan-panel,
  .registry-scan-finding
) {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 5%, transparent), transparent 32%),
    color-mix(in srgb, var(--d-surface) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--d-border) 68%, transparent);
  border-radius: var(--d-radius);
  box-shadow:
    0 1.25rem 3.5rem rgb(0 0 0 / 0.24),
    inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
  backdrop-filter: blur(16px);
}

.registry-scan-page :is(
  .registry-scan-verdict,
  .registry-scan-next,
  .registry-scan-metric,
  .registry-scan-panel,
  .registry-scan-finding
)::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--d-secondary) 70%, transparent),
    color-mix(in srgb, var(--d-primary) 62%, transparent),
    transparent
  );
  opacity: 0.7;
  pointer-events: none;
}

.registry-scan-page .registry-scan-verdict,
.registry-scan-page .registry-scan-next {
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.35rem, 2.3vw, 2rem);
}

.registry-scan-page .registry-scan-verdict h2,
.registry-scan-page .registry-scan-next h2 {
  margin: 0.45rem 0 0.35rem;
}

.registry-scan-page .registry-scan-verdict p,
.registry-scan-page .registry-scan-next p,
.registry-scan-page .registry-scan-panel p,
.registry-scan-page .registry-scan-finding p {
  margin: 0;
}

.registry-scan-page .registry-scan-score {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.18rem;
  padding: 1.55rem;
  box-shadow:
    0 1rem 2.5rem rgb(0 0 0 / 0.32),
    inset 0 0 0 1px color-mix(in srgb, #fff 12%, transparent);
  animation: registry-scan-score-pop 720ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.registry-scan-page .registry-scan-score::before {
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, #fff 4%, transparent), transparent 44%),
    var(--d-surface);
}

.registry-scan-page .registry-scan-grid {
  gap: clamp(0.75rem, 1.3vw, 1rem);
}

.registry-scan-page .registry-scan-metric {
  min-height: 7.5rem;
  padding: clamp(1rem, 1.8vw, 1.35rem);
}

.registry-scan-page .registry-scan-metric span,
.registry-scan-page .registry-scan-definition-list dt,
.registry-scan-page .registry-anchor-label {
  letter-spacing: 0.08em;
}

.registry-scan-page .registry-scan-two-up {
  gap: clamp(1rem, 1.8vw, 1.35rem);
}

.registry-scan-page .registry-scan-panel {
  gap: clamp(0.85rem, 1.3vw, 1.15rem);
  padding: clamp(1.15rem, 2vw, 1.55rem);
}

.registry-scan-page .registry-scan-panel h3 {
  margin: 0;
}

.registry-scan-page .registry-scan-definition-list {
  gap: 0;
  margin: 0.15rem 0 0;
}

.registry-scan-page .registry-scan-definition-list div {
  gap: clamp(0.75rem, 1.4vw, 1rem);
  padding: 0.82rem 0;
}

.registry-scan-page .registry-scan-definition-list div:first-child {
  padding-top: 0;
}

.registry-scan-page .registry-scan-definition-list div:last-child {
  padding-bottom: 0;
}

.registry-scan-page .registry-scan-definition-list dd {
  margin: 0;
}

.registry-scan-page .registry-scan-route-list {
  gap: 0.62rem;
}

.registry-scan-page .registry-scan-route-row {
  gap: 0.8rem;
  min-height: 2.75rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--d-border) 35%, transparent);
}

.registry-scan-page .registry-scan-style-bars {
  gap: 0.72rem;
}

.registry-scan-page .registry-scan-style-bars span {
  gap: 1rem;
  padding: 0.82rem 0.9rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--d-border) 28%, transparent);
}

.registry-scan-page .registry-scan-findings {
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
}

.registry-scan-page .registry-scan-finding-list {
  gap: clamp(0.85rem, 1.6vw, 1.2rem);
}

.registry-scan-page .registry-scan-finding {
  gap: 0.65rem;
  min-height: 11rem;
  padding: clamp(1rem, 1.9vw, 1.35rem);
}

.registry-scan-page .registry-scan-finding > span {
  padding: 0.28rem 0.56rem;
}

.registry-scan-page .registry-scan-command-stack {
  gap: 0.75rem;
}

.registry-scan-page .registry-scan-command {
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.82rem 0.92rem;
  border-color: rgb(148 163 184 / 0.42);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.registry-scan-page .registry-scan-command:hover {
  border-color: color-mix(in srgb, var(--d-secondary) 48%, rgb(148 163 184 / 0.42));
  box-shadow:
    0 0.85rem 1.8rem rgb(0 0 0 / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.08);
  transform: translateY(-1px);
}

.registry-scan-page .registry-scan-error {
  padding: 1rem;
}

@keyframes registry-scan-card-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes registry-scan-score-pop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .registry-scan-page .registry-scan-report {
    width: min(calc(100% - 2rem), 42rem);
  }

  .registry-scan-page .registry-scan-verdict,
  .registry-scan-page .registry-scan-next,
  .registry-scan-page .registry-scan-two-up,
  .registry-scan-page .registry-scan-finding-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .registry-scan-page .registry-scan-hero-compact {
    padding-block: 1rem 0.9rem;
  }

  .registry-scan-page .registry-scan-report {
    width: min(calc(100% - 1.25rem), 34rem);
    margin-top: 0.35rem;
  }

  .registry-scan-page .registry-scan-verdict,
  .registry-scan-page .registry-scan-next,
  .registry-scan-page .registry-scan-panel,
  .registry-scan-page .registry-scan-finding,
  .registry-scan-page .registry-scan-metric {
    padding: 1rem;
  }

  .registry-scan-page .registry-scan-grid,
  .registry-scan-page .registry-scan-definition-list div,
  .registry-scan-page .registry-scan-route-row {
    grid-template-columns: 1fr;
  }

  .registry-scan-page .registry-scan-definition-list div,
  .registry-scan-page .registry-scan-route-row,
  .registry-scan-page .registry-scan-style-bars span {
    padding-inline: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .registry-scan-page .registry-scan-report > *,
  .registry-scan-page .registry-scan-score {
    animation: none;
  }

  .registry-scan-page .registry-scan-command {
    transition: none;
  }
}
