/* AEGLIX platform frame. Shared identity; existing feature controllers own behavior. */
html.platform-frame {
  --p-bg: #f7f5f0;
  --p-panel: #fffefa;
  --p-raised: #efebe4;
  --p-text: #292722;
  --p-muted: #686256;
  --p-line: #e3ddd2;
  --p-line-strong: #9b8b76;
  --p-accent: #5845d8;
  --p-tint: #ece8fb;
  --p-solid: #6656f5;
  --color-gray-50: #f7f5f0;
  --color-gray-100: #efebe4;
  --color-gray-200: #e3ddd2;
  --color-gray-300: #c9c0b3;
  --color-gray-400: #b1a99c;
  --color-gray-500: #686256;
  --color-gray-600: #514b40;
  --color-gray-700: #514a40;
  --color-gray-800: #38332b;
  --color-gray-900: #1e1c19;
  --color-gray-950: #161513;
  --color-indigo-50: #f0ecfb;
  --color-indigo-100: #e7e0f8;
  --color-indigo-200: #d7cef0;
  --color-indigo-300: #bdb0ed;
  --color-indigo-400: #aba1ff;
  --color-indigo-500: #7b6be4;
  --color-indigo-600: #6656f5;
  --color-indigo-700: #5343bd;
  --color-indigo-800: #41377e;
  --color-indigo-900: #302957;
  --color-indigo-950: #241f39;
}
html.platform-frame.dark {
  --p-bg: #161513;
  --p-panel: #1e1c19;
  --p-raised: #28251f;
  --p-text: #f4f0e8;
  --p-muted: #b1a99c;
  --p-line: #38332b;
  --p-line-strong: #726957;
  --p-accent: #aba1ff;
  --p-tint: #aba1ff14;
}
.platform-frame body {
  background: var(--p-bg);
  color: var(--p-text);
}
.platform-frame .site-header {
  background: var(--p-bg);
  border-color: var(--p-line);
  backdrop-filter: none;
}
.platform-frame .site-header-row {
  height: 76px;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-left: 28px;
  padding-right: 28px;
}
.platform-frame .site-brand-name {
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.platform-frame .site-brand {
  gap: 10px;
}
.platform-desktop-navigation {
  display: none;
  align-items: center;
  gap: 30px;
  margin-right: auto;
}
.platform-frame .site-header-products {
  gap: 20px;
}
.platform-frame .site-nav-link {
  height: 76px;
  display: flex;
  align-items: center;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--p-muted);
}
.platform-frame .site-nav-link[aria-current="page"] {
  background: none;
  color: var(--p-text);
  border-bottom-color: var(--p-accent);
}
.platform-frame .site-header-actions {
  gap: 12px;
  flex-shrink: 0;
}
.platform-frame .site-header [data-theme-toggle] {
  border-radius: 4px;
  color: var(--p-muted);
}
.platform-frame .site-header [data-theme-toggle]:hover {
  background: var(--p-raised);
}
.platform-frame .account-signin {
  font-size: 12px;
  border: 1px solid var(--p-line);
  border-radius: 4px;
  padding: 9px 15px;
  color: var(--p-text);
  min-height: 40px;
}
.platform-switcher {
  position: relative;
  color: var(--p-text);
}
.platform-switcher > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 12px;
  font-size: 12px;
  border: 1px solid var(--p-line);
  border-radius: 4px;
  cursor: pointer;
  list-style: none;
  min-height: 40px;
}
.platform-switcher > summary::-webkit-details-marker {
  display: none;
}
.platform-switcher-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 490px;
  max-width: calc(100vw - 40px);
  background: var(--p-panel);
  border: 1px solid var(--p-line-strong);
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 18px 60px #0003;
  z-index: 70;
}
.platform-switcher-panel > p,
.platform-rail > p {
  font: 10px/1.5 monospace;
  letter-spacing: 0.12em;
  color: var(--p-muted);
  margin: 0 0 15px;
}
.platform-switcher-panel nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.platform-switcher-panel nav > a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.platform-switcher-panel nav > a:hover {
  background: var(--p-tint);
  border-color: var(--p-line);
}
.platform-switcher-panel strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.platform-switcher-panel small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: var(--p-muted);
  margin-top: 3px;
}
.platform-link-index {
  font: 10px/1.5 monospace;
  color: var(--p-muted);
  padding-top: 3px;
}
.platform-resources {
  display: block;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--p-line);
  font-size: 11px;
  color: var(--p-accent);
}
.platform-rail {
  display: none;
}
.platform-frame main h1 {
  font-weight: 500;
  letter-spacing: -0.035em;
}
.platform-frame main :is(.rounded-2xl, .rounded-3xl) {
  border-radius: 6px;
}
.platform-frame main :is(.rounded-full) {
  border-radius: 4px;
}
.platform-frame main h2 {
  font-weight: 500;
  letter-spacing: -0.025em;
}
.platform-frame body > main > section:first-child {
  background-image: none;
  background-color: transparent;
  padding-top: 36px;
  padding-bottom: 28px;
}
.platform-frame .site-footer {
  background: var(--p-bg);
  border-color: var(--p-line);
}
.platform-frame .site-footer a {
  color: var(--p-muted);
}
.platform-frame .site-footer a:hover {
  color: var(--p-accent);
}
.platform-frame .site-footer h2,
.platform-frame .site-footer h3 {
  color: var(--p-text);
}
.platform-frame .navigation-drawer {
  background: var(--p-panel);
  color: var(--p-text);
  border-color: var(--p-line);
}
.platform-frame .drawer-link {
  border-radius: 4px;
}
.platform-frame .drawer-link:hover {
  background: var(--p-tint);
}
.platform-frame .filter-surface,
.platform-frame .platform-search,
.platform-frame .investigation-card,
.platform-frame .news-page {
  border-radius: 5px;
}
html.platform-frame .workspace-shell {
  --ws-bg: var(--p-bg);
  --ws-panel: var(--p-panel);
  --ws-line: var(--p-line);
  --ws-text: var(--p-text);
  --ws-muted: var(--p-muted);
  --ws-accent: var(--p-accent);
  --ws-tint: var(--p-tint);
}
.platform-frame :is(button, a, input, select, summary):focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 4px;
}
/* Reading and private forms retain their own width, data and permission contracts. */
.platform-frame .information-content {
  line-height: 1.85;
}
.platform-frame .platform-home-hero {
  padding: 36px 28px 46px;
}
.platform-hero-inner {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 40px;
  align-items: center;
}
.platform-eyebrow {
  font: 10px/1.6 monospace;
  letter-spacing: 0.12em;
  color: var(--p-accent);
  margin-bottom: 22px;
}
.platform-frame .platform-hero-copy h1 {
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0 0 23px;
}
.platform-hero-copy h1 span {
  color: var(--p-muted);
}
.platform-hero-copy > p:not(.platform-eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: var(--p-muted);
  max-width: 450px;
  margin-bottom: 25px;
}
.platform-home-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 7px 6px 14px;
  border: 1px solid var(--p-line-strong);
  border-radius: 4px;
  background: var(--p-panel);
  min-height: 56px;
}
.platform-home-search > svg {
  color: var(--p-muted);
  flex-shrink: 0;
}
.platform-home-search input {
  background: transparent;
  min-width: 0;
  flex: 1;
  padding: 10px 0;
  font-size: 12px;
  color: var(--p-text);
  border: 0;
  outline-offset: 2px;
}
.platform-home-search input::placeholder {
  color: var(--p-muted);
}
.platform-home-search button {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--p-solid);
  color: #fff;
  border-radius: 3px;
}
#platform-search-help,
#platform-home-search noscript p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--p-muted);
  margin: 9px 0 0;
}
.platform-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 11px;
}
.platform-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--p-solid);
  border-radius: 4px;
  color: #fff;
  padding: 13px 17px;
  font-weight: 600;
  min-height: 44px;
}
.platform-network {
  border: 1px solid var(--p-line);
  background: var(--p-panel);
  border-radius: 5px;
  overflow: hidden;
  min-width: 0;
}
.platform-network-heading,
.platform-network-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  font: 9px/1.5 monospace;
  letter-spacing: 0.05em;
  color: var(--p-muted);
}
.platform-network-heading {
  border-bottom: 1px solid var(--p-line);
}
.platform-network-heading span {
  border: 1px solid var(--p-line);
  border-radius: 3px;
  padding: 3px 5px;
  font-size: 8px;
}
.platform-network-footer {
  border-top: 1px solid var(--p-line);
}
.platform-network-footer a {
  color: var(--p-accent);
  min-height: 30px;
  display: flex;
  align-items: center;
}
.platform-network > svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--p-muted);
}
.platform-network svg text {
  font: 10px monospace;
  text-anchor: middle;
  fill: var(--p-muted);
}
.platform-network-orbits {
  fill: none;
  stroke: var(--p-line);
  stroke-width: 0.8;
}
.platform-network-lines {
  fill: none;
  stroke: var(--p-accent);
  stroke-width: 0.8;
  opacity: 0.6;
}
.platform-network-nodes circle {
  fill: var(--p-panel);
  stroke: var(--p-line-strong);
}
.platform-network .platform-network-labels text {
  font-size: 9px;
}
.platform-network-center {
  fill: var(--p-tint);
  stroke: var(--p-accent);
  stroke-width: 1.5;
}
.platform-home-products {
  max-width: 1336px;
  padding-left: 28px;
  padding-right: 28px;
}
.platform-home-products #products {
  border-top: 1px solid var(--p-line);
  padding: 32px 0;
}
.platform-home-products #products > p {
  font: 10px/1.6 monospace;
  letter-spacing: 0.12em;
  color: var(--p-accent);
}
.platform-home-products #products > h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-top: 10px;
  margin-bottom: 24px;
}
.platform-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.platform-product-grid article {
  padding: 20px;
  gap: 0;
}
.platform-product-grid h3 {
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
.platform-product-grid article > span {
  font-size: 9px;
  line-height: 1.5;
  background: none;
  padding: 0;
  color: var(--p-muted);
  border: 0;
}
.platform-product-grid article > p {
  font-size: 11px;
  line-height: 1.85;
}
.platform-product-grid article > a {
  font-size: 11px;
  min-height: 34px;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.platform-frame .platform-home-stats {
  background: transparent;
  border-top: 1px solid var(--p-line);
}
.platform-frame .platform-home > div.max-w-6xl {
  max-width: 1336px;
  padding-left: 28px;
  padding-right: 28px;
}
@media (min-width: 1200px) {
  .platform-desktop-navigation {
    display: flex;
  }
  .platform-frame .platform-rail {
    display: flex;
    position: fixed;
    top: 76px;
    left: 0;
    bottom: 0;
    width: 184px;
    z-index: 20;
    background: var(--p-bg);
    border-right: 1px solid var(--p-line);
    padding: 27px 12px 18px;
    flex-direction: column;
    overflow: auto;
  }
  .platform-rail > p {
    padding: 0 12px;
  }
  .platform-rail nav {
    display: grid;
    gap: 5px;
  }
  .platform-rail nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 10px;
    border-left: 2px solid transparent;
    font-size: 11px;
    color: var(--p-muted);
    min-height: 44px;
  }
  .platform-rail nav strong {
    font-weight: 500;
  }
  .platform-rail nav a[aria-current="page"] {
    border-left-color: var(--p-accent);
    color: var(--p-accent);
    background: var(--p-tint);
  }
  .platform-rail nav a:hover {
    color: var(--p-accent);
    background: var(--p-tint);
  }
  .platform-rail-bottom {
    margin-top: auto;
    padding-top: 20px;
  }
  .platform-rail-bottom > a {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 10px;
  }
  .platform-rail-bottom > div {
    border-top: 1px solid var(--p-line);
    margin-top: 12px;
    padding-top: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 9px;
    color: var(--p-muted);
  }
  .platform-rail-bottom small {
    display: block;
    font: 8px/1.8 monospace;
    letter-spacing: 0.1em;
  }
  .platform-frame body > main,
  .platform-frame body > .guardian-toolbar,
  .platform-frame body > nav[aria-label="Breadcrumb"] {
    width: calc(100% - 184px);
    max-width: none;
    margin-left: 184px;
    margin-right: 0;
  }
  .platform-frame body > .site-footer {
    margin-left: 184px;
  }
  .platform-frame body:has(> .workspace-shell) > .platform-rail {
    display: none;
  }
  .platform-frame body:has(> .workspace-shell) > .site-footer {
    margin-left: 0;
  }
  .platform-frame body:has(> .workspace-shell) > nav[aria-label="Breadcrumb"] {
    width: 100%;
    margin-left: 0;
  }
  .platform-frame body > main:not(.platform-home) > .max-w-6xl,
  .platform-frame body > main:not(.platform-home) > section > .max-w-6xl {
    max-width: 1280px;
  }
}
@media (max-width: 1199px) {
  .platform-frame .site-header-row {
    height: 64px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .platform-frame .platform-home-hero {
    padding-top: 35px;
  }
  .platform-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .platform-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .platform-hero-copy {
    max-width: 600px;
  }
  .platform-frame .platform-hero-copy h1 {
    font-size: 44px;
  }
  .platform-network {
    max-width: 600px;
  }
  .platform-network > svg {
    max-height: 310px;
  }
}
@media (max-width: 600px) {
  .platform-frame .site-header-row {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }
  .platform-frame .site-header-actions {
    gap: 4px;
  }
  .platform-frame .site-brand-name {
    font-size: 11px;
  }
  .platform-frame .account-signin {
    font-size: 11px;
    padding: 7px 10px;
    min-height: 36px;
  }
  .platform-frame .platform-home-hero {
    padding: 30px 18px 35px;
  }
  .platform-frame .platform-hero-copy h1 {
    font-size: 36px;
  }
  .platform-hero-copy > p:not(.platform-eyebrow) {
    font-size: 12px;
  }
  .platform-eyebrow {
    font-size: 9px;
  }
  .platform-home-search {
    gap: 8px;
    padding-left: 10px;
  }
  .platform-home-search input {
    font-size: 11px;
  }
  .platform-hero-actions {
    font-size: 10px;
    gap: 16px;
  }
  .platform-primary {
    padding: 12px 14px;
    gap: 16px;
    font-size: 11px;
  }
  .platform-network-heading,
  .platform-network-footer {
    font-size: 8px;
    padding: 12px;
  }
  .platform-network-heading span {
    font-size: 7px;
  }
  .platform-network > svg {
    max-height: none;
  }
  .platform-home-products,
  .platform-frame .platform-home > div.max-w-6xl {
    padding-left: 18px;
    padding-right: 18px;
  }
  .platform-product-grid {
    gap: 10px;
  }
  .platform-product-grid article {
    padding: 16px;
  }
  .platform-home-products #products > h2 {
    font-size: 22px;
  }
  .platform-frame body > main > section:first-child {
    padding-top: 28px;
    padding-bottom: 24px;
  }
}
@media (max-width: 374px) {
  .platform-frame .platform-hero-copy h1 {
    font-size: 30px;
  }
  .platform-network-heading {
    font-size: 7px;
  }
  .platform-network-heading span {
    font-size: 6px;
  }
  .platform-primary {
    padding: 12px 10px;
  }
  .platform-hero-actions {
    gap: 12px;
  }
  .platform-product-grid {
    grid-template-columns: 1fr;
  }
}
@media print {
  .platform-frame .platform-rail,
  .platform-desktop-navigation,
  .platform-home-search,
  .platform-hero-actions {
    display: none !important;
  }
  .platform-frame body > main,
  .platform-frame body > .site-footer {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .platform-frame body {
    background: #fff;
    color: #111;
  }
}
@media print {
  html.platform-frame,
  html.platform-frame.dark {
    --p-bg: #fff;
    --p-panel: #fff;
    --p-raised: #fff;
    --p-text: #111;
    --p-muted: #444;
    --p-line: #ccc;
    --p-accent: #111;
    --p-tint: #fff;
  }
}
/* Existing shell styles load later; keep the selected navigation understated. */
html.platform-frame .site-header .site-nav-link[aria-current="page"] {
  background: transparent;
  color: var(--p-text);
  border-bottom-color: var(--p-accent);
}
.platform-network-mark-light {
  display: block;
}
.platform-network-mark-dark {
  display: none;
}
.dark .platform-network-mark-light {
  display: none;
}
.dark .platform-network-mark-dark {
  display: block;
}
@media (min-width: 374px) {
  .platform-frame .site-brand-name {
    display: block;
  }
}

/* Consistent workspace navigation and compact mobile switcher. */
.platform-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-muted);
  flex: none;
  width: 22px;
  min-height: 22px;
}
.platform-frame .platform-rail nav a[aria-current="page"] .platform-link-icon,
.platform-frame
  .platform-switcher-panel
  a[aria-current="page"]
  .platform-link-icon {
  color: var(--p-accent);
}
.platform-frame .navigation-trigger {
  border: 1px solid var(--p-line);
  border-radius: 5px;
  background: var(--p-panel);
}
.platform-frame .navigation-drawer {
  inset: 0 0 0 auto;
  margin: 0;
  width: min(430px, calc(100vw - 20px));
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--p-line);
  border-radius: 0;
  background: var(--p-panel);
  color: var(--p-text);
  box-shadow: -20px 0 80px #0004;
}
.platform-frame .navigation-drawer::backdrop {
  background: #080c16a6;
  backdrop-filter: blur(5px);
}
.platform-frame .drawer-top {
  padding: 22px 20px;
  border-bottom: 1px solid var(--p-line);
  gap: 20px;
  background: var(--p-bg);
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.platform-frame .drawer-eyebrow {
  font: 9px/1.6 monospace;
  letter-spacing: 0.14em;
  color: var(--p-muted);
  margin: 0 0 2px;
}
.platform-frame .drawer-top h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.platform-frame .drawer-close {
  border: 1px solid var(--p-line);
  border-radius: 5px;
  background: var(--p-panel);
  width: 40px;
  height: 40px;
  color: var(--p-muted);
}
.platform-frame .drawer-content {
  padding: 20px 14px;
  scrollbar-width: thin;
}
.platform-frame .drawer-section-title {
  font: 9px/1.5 monospace;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  padding: 0 12px;
  color: var(--p-muted);
}
.drawer-workspaces {
  display: grid;
  gap: 3px;
}
.drawer-workspaces > a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 10px 12px;
  border-left: 2px solid transparent;
  border-radius: 3px;
  color: var(--p-text);
}
.drawer-workspaces > a strong {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  display: block;
}
.drawer-workspaces > a:hover {
  background: var(--p-raised);
}
.drawer-workspaces > a[aria-current="page"] {
  background: var(--p-tint);
  color: var(--p-accent);
  border-left-color: var(--p-accent);
}
.drawer-workspaces > a[aria-current="page"] .platform-link-icon {
  color: var(--p-accent);
}
.platform-frame .drawer-information {
  margin-top: 22px;
  padding-top: 20px;
  border-color: var(--p-line);
}
.drawer-resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}
.platform-frame .drawer-resource-grid > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--p-muted);
  padding: 10px 12px;
  border-radius: 3px;
  min-height: 42px;
}
.platform-frame .drawer-resource-grid > a:hover {
  color: var(--p-accent);
  background: var(--p-tint);
}
.platform-frame .drawer-bottom {
  display: block;
  padding: 16px 20px max(16px, env(safe-area-inset-bottom));
  background: var(--p-bg);
  border-color: var(--p-line);
}
.drawer-account-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-height: 42px;
  border: 1px solid var(--p-line-strong);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--p-text);
}
.platform-frame .drawer-bottom > p {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 13px 0 0;
  font: 9px/1.5 monospace;
  color: var(--p-muted);
}
/* All workspace introductions use one hierarchy instead of legacy marketing heroes. */
.platform-frame body:not([data-workspace="home"]) > main > section:first-child {
  padding-top: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--p-line);
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  > div {
  max-width: 1280px;
  text-align: left;
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 850px;
  margin-bottom: 15px;
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  h1
  .block {
  display: inline;
  margin: 0;
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  h1
  .block:before {
  content: " · ";
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  > div
  > p {
  font-size: 14px;
  line-height: 1.85;
  max-width: 760px;
  margin-left: 0;
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  > div
  > :is(span, p):first-child:not(h1) {
  background: transparent;
  border: 0;
  padding: 0;
  font: 10px/1.6 monospace;
  letter-spacing: 0.12em;
  color: var(--p-accent);
  border-radius: 0;
  margin-bottom: 16px;
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  dl {
  gap: 12px;
  margin-top: 24px;
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  dl
  > div {
  padding: 18px 20px;
  background: var(--p-panel);
  border: 1px solid var(--p-line);
  border-radius: 5px;
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  dl
  dt {
  font: 10px/1.5 monospace;
  letter-spacing: 0.08em;
  color: var(--p-muted);
}
.platform-frame
  body:not([data-workspace="home"])
  > main
  > section:first-child
  dl
  dd {
  font-size: 24px;
  font-weight: 600;
  margin-top: 10px;
}
/* Guardian keeps its actual scan forms and results; only composition changes. */
.platform-frame
  body[data-workspace="guardian"]
  > main
  > section:first-child
  > div {
  max-width: 980px;
}
.platform-frame body[data-workspace="guardian"] .guardian-tabs {
  justify-content: flex-start;
  background: var(--p-panel);
  padding: 4px;
  border-radius: 5px;
  border: 1px solid var(--p-line);
  max-width: 720px;
  margin-left: 0;
}
.platform-frame body[data-workspace="guardian"] .guardian-tabs button {
  border-radius: 3px;
  box-shadow: none;
  font-size: 12px;
}
.platform-frame body[data-workspace="guardian"] #url-input {
  color: var(--p-text);
  font-size: 14px;
  min-height: 48px;
}
.platform-frame body[data-workspace="guardian"] #check-panel-url {
  max-width: 820px;
}
.platform-frame
  body[data-workspace="guardian"]
  main
  > section:not(:first-child) {
  background: transparent;
  border-top: 1px solid var(--p-line);
  padding-top: 40px;
  padding-bottom: 40px;
}
.platform-frame
  body[data-workspace="guardian"]
  main
  > section:not(:first-child)
  > div {
  max-width: 1280px;
  text-align: left;
}
.platform-frame
  body[data-workspace="guardian"]
  main
  > section:not(:first-child)
  .bg-indigo-50 {
  background: var(--p-panel);
  border: 1px solid var(--p-line);
  border-radius: 5px;
}
.platform-frame
  body[data-workspace="guardian"]
  main
  > section:not(:first-child)
  h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.platform-frame
  body[data-workspace="guardian"]
  main
  > section:not(:first-child)
  > div
  > span:first-child {
  background: transparent;
  color: var(--p-accent);
  padding: 0;
  font: 10px/1.6 monospace;
  letter-spacing: 0.12em;
}
.platform-frame .guardian-toolbar {
  background: var(--p-panel);
  border-color: var(--p-line);
}
.platform-frame .guardian-toolbar-button {
  border-radius: 4px;
  font-size: 11px;
  border-color: var(--p-line);
}
/* Reading and catalog surfaces share the same restrained component language. */
.platform-frame
  main
  :is(
    .news-card,
    .campaign-card,
    .cve-card,
    .information-content > section,
    .information-content article
  ) {
  background: var(--p-panel);
  border-color: var(--p-line);
  border-radius: 5px;
}
.platform-frame .news-card {
  padding: 22px;
  gap: 0;
}
.platform-frame .news-card h3 {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.platform-frame .news-card .story-description {
  font-size: 13px;
  line-height: 1.9;
}
.platform-frame .blog-body {
  font-size: 16px;
  line-height: 1.95;
}
.platform-frame .platform-search,
.platform-frame .search-field {
  background: var(--p-panel);
  border-color: var(--p-line-strong);
  border-radius: 4px;
}
.platform-frame .filter-surface {
  background: var(--p-panel);
  border-color: var(--p-line);
  border-radius: 5px;
}
.platform-frame .filter-surface :is(input, select, button) {
  border-radius: 4px;
}
.platform-frame .news-page {
  border-color: var(--p-line);
  border-radius: 4px;
  font-size: 12px;
}
.platform-frame .news-page[aria-current="page"] {
  border-color: var(--p-solid);
  background: var(--p-solid);
  color: #fff;
}
@media (max-width: 767px) {
  .platform-frame .site-header-row {
    height: 64px;
  }
  .platform-frame .site-brand-name {
    display: block;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .platform-frame .site-brand img {
    width: 29px;
    height: 33px;
  }
  .platform-frame .site-header-actions {
    gap: 6px;
  }
  .platform-frame .account-signin {
    border: 0;
    padding: 8px 5px;
    min-height: 40px;
  }
  .platform-frame .navigation-trigger {
    width: 42px;
    height: 42px;
  }
  .platform-frame
    body:not([data-workspace="home"])
    > main
    > section:first-child {
    padding: 25px 18px;
  }
  .platform-frame
    body:not([data-workspace="home"])
    > main
    > section:first-child
    h1 {
    font-size: 29px;
    line-height: 1.2;
  }
  .platform-frame
    body:not([data-workspace="home"])
    > main
    > section:first-child
    > div
    > p {
    font-size: 13px;
  }
  .platform-frame
    body:not([data-workspace="home"])
    > main
    > section:first-child
    dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .platform-frame
    body:not([data-workspace="home"])
    > main
    > section:first-child
    dl
    > div {
    padding: 15px;
  }
  .platform-frame
    body:not([data-workspace="home"])
    > main
    > section:first-child
    dl
    dd {
    font-size: 20px;
  }
  .platform-frame body[data-workspace="guardian"] .guardian-tabs {
    margin-top: 24px;
  }
  .platform-frame
    body[data-workspace="guardian"]
    main
    > section:not(:first-child) {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .platform-frame
    body[data-workspace="guardian"]
    main
    > section:not(:first-child)
    h2 {
    font-size: 24px;
  }
  .platform-frame .news-card {
    padding: 20px;
  }
}
@media (max-width: 359px) {
  .platform-frame .site-brand-name {
    font-size: 10px;
  }
  .platform-frame .site-header-actions {
    gap: 2px;
  }
  .platform-frame .site-header-row {
    padding-left: 12px;
    padding-right: 12px;
    gap: 6px;
  }
  .platform-frame .site-brand {
    gap: 6px;
  }
  .platform-frame .account-signin {
    font-size: 10px;
    padding: 6px 3px;
  }
  .platform-frame .drawer-top {
    padding: 18px 16px;
  }
  .platform-frame .drawer-content {
    padding: 16px 10px;
  }
  .platform-frame .drawer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 767px) {
  .platform-frame .site-header #account-dashboard {
    display: none;
  }
}
/* Arsenal adapter: same frame, existing catalog/guide/assistant interactions. */
html.platform-frame {
  --bg: var(--p-bg);
  --surface: var(--p-panel);
  --soft: var(--p-raised);
  --border: var(--p-line);
  --text: var(--p-text);
  --muted: var(--p-muted);
  --accent: var(--p-accent);
  --tint: var(--p-tint);
}
.platform-frame .brand-dark {
  display: none;
}
.platform-frame .brand-light {
  display: block;
}
.platform-frame.dark .brand-dark {
  display: block;
}
.platform-frame.dark .brand-light {
  display: none;
}
.platform-frame .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--p-bg);
}
.platform-frame .site-header .header-row {
  max-width: 1600px;
  min-height: 76px;
  padding: 0 28px;
  gap: 28px;
}
.platform-frame .site-header .brand {
  gap: 10px;
}
.platform-frame .site-header .brand > span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.platform-frame .site-header .brand img {
  border-radius: 0;
  object-fit: contain;
}
.platform-frame .site-header .desktop-nav {
  display: flex;
}
.platform-frame .site-header .header-actions {
  margin-left: auto;
}
.platform-frame .site-header .header-actions .icon-button {
  border-radius: 5px;
  color: var(--p-muted);
  background: transparent;
}
.platform-frame .site-header #account-link {
  border: 1px solid var(--p-line);
  border-radius: 4px;
  font-size: 12px;
}
.platform-frame .product-bar {
  background: var(--p-panel);
  border-bottom: 1px solid var(--p-line);
}
.platform-frame .container {
  max-width: 1280px;
  padding-left: 28px;
  padding-right: 28px;
}
.platform-frame .hero,
.platform-frame .detail-hero {
  background: transparent;
  border-bottom: 1px solid var(--p-line);
  padding: 36px 0 28px;
}
.platform-frame .hero h1,
.platform-frame .detail-hero h1 {
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-top: 12px;
}
.platform-frame .hero .hero-copy {
  font-size: 14px;
  max-width: 750px;
  line-height: 1.85;
}
.platform-frame .eyebrow {
  font-family: monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--p-accent);
}
.platform-frame
  :is(
    .tool-card,
    .panel,
    .comparison-card,
    .collection-card,
    .skeleton,
    .assistant,
    .catalog-sidebar,
    .search-bar,
    .notice,
    .empty
  ) {
  border-radius: 5px;
  border-color: var(--p-line);
}
.platform-frame
  :is(
    .primary,
    .secondary,
    .icon-button,
    .tags button,
    input,
    select,
    textarea,
    pre,
    .badge,
    .category
  ) {
  border-radius: 4px;
}
.platform-frame .tool-card {
  padding: 22px;
  background: var(--p-panel);
}
.platform-frame .tool-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.platform-frame .tool-card > p {
  font-size: 13px;
  line-height: 1.9;
}
.platform-frame .panel > h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.platform-frame .search-bar {
  background: var(--p-panel);
  border-color: var(--p-line-strong);
  box-shadow: none;
}
.platform-frame .search-bar:focus-within {
  box-shadow: 0 0 0 2px var(--p-tint);
  border-color: var(--p-accent);
}
.platform-frame .primary {
  background: var(--p-solid);
  color: #fff;
}
.platform-frame .section-heading h2 {
  font-weight: 500;
  letter-spacing: -0.03em;
}
.platform-frame .site-footer {
  background: var(--p-bg);
  border-color: var(--p-line);
}
.platform-frame .site-footer p {
  color: var(--p-muted);
}
.platform-frame .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  padding: 0;
  border: 0;
}
.platform-frame .drawer .drawer-workspaces > a {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  border-bottom: 0;
  padding: 10px 12px;
  min-height: 46px;
  margin-bottom: 0;
  border-radius: 3px;
}
.platform-frame .drawer .drawer-workspaces > a strong {
  font-size: 13px;
  font-weight: 500;
}
.platform-frame .drawer .drawer-content nav {
  padding: 0;
}
.platform-frame .drawer .drawer-information {
  border-top: 1px solid var(--p-line);
  padding-top: 20px;
}
.platform-frame .drawer .drawer-resource-grid a {
  border-bottom: 0;
  min-height: 42px;
  font-size: 11px;
  font-weight: 400;
  padding: 10px 12px;
  border-radius: 3px;
}
@media (min-width: 1200px) {
  .platform-frame body > .product-bar,
  .platform-frame body > .demo-note {
    margin-left: 184px;
    width: calc(100% - 184px);
  }
  .platform-frame .catalog-sidebar {
    top: 100px;
  }
  .platform-frame .menu-trigger {
    display: none;
  }
}
@media (max-width: 1199px) {
  .platform-frame .site-header .header-row {
    min-height: 64px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 12px;
  }
  .platform-frame .site-header .desktop-nav {
    display: none;
  }
  .platform-frame .site-header .menu-trigger {
    display: flex;
  }
  .platform-frame .hero {
    padding-top: 28px;
  }
}
@media (max-width: 767px) {
  .platform-frame .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .platform-frame .site-header .header-row {
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
  }
  .platform-frame .site-header .brand > span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .platform-frame .site-header .brand {
    gap: 8px;
  }
  .platform-frame .site-header .brand img {
    width: 29px;
    height: 33px;
  }
  .platform-frame .site-header #account-link {
    border: 0;
    font-size: 11px;
    padding: 6px;
  }
  .platform-frame .site-header .header-actions {
    gap: 4px;
  }
  .platform-frame .site-header #account-link .avatar {
    margin: 0;
  }
  .platform-frame .hero h1,
  .platform-frame .detail-hero h1 {
    font-size: 29px;
  }
  .platform-frame .hero .hero-copy {
    font-size: 13px;
  }
  .platform-frame .product-bar > .container > span {
    display: none;
  }
  .platform-frame .tool-card {
    padding: 20px;
  }
  .platform-frame .drawer .drawer-top {
    padding: 22px 20px;
  }
}
@media (max-width: 359px) {
  .platform-frame .site-header .brand > span {
    font-size: 10px;
  }
  .platform-frame .site-header .header-row {
    padding: 0 12px;
    gap: 6px;
  }
  .platform-frame .site-header .header-actions {
    gap: 2px;
  }
  .platform-frame .site-header #account-link {
    font-size: 10px;
    padding: 4px;
  }
}

@media (max-width: 767px) {
  .platform-frame .site-header #account-link[aria-label] {
    font-size: 0;
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
  .platform-frame .site-header #account-link[aria-label] .avatar {
    font-size: 12px;
    display: grid;
    place-items: center;
  }
}
.platform-frame .platform-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  font: 10px/1.6 monospace;
  color: var(--p-muted);
  flex-wrap: wrap;
}
.platform-frame main table {
  font-size: 12px;
  border-color: var(--p-line);
}
.platform-frame main table th {
  font: 10px/1.6 monospace;
  letter-spacing: 0.06em;
  color: var(--p-muted);
  background: var(--p-raised);
  padding-top: 14px;
  padding-bottom: 14px;
}
.platform-frame main table tbody td {
  border-color: var(--p-line);
  padding-top: 14px;
  padding-bottom: 14px;
}
@media (max-width: 767px) {
  .platform-frame .platform-breadcrumb {
    padding-left: 18px;
    padding-right: 18px;
    font-size: 9px;
  }
}
@media (max-width: 767px) {
  .platform-frame .site-header .header-row {
    padding-left: 18px;
    padding-right: 18px;
  }
}
.platform-frame .search-bar input:focus,
.platform-frame .search-bar input:focus-visible {
  outline: none;
  box-shadow: none;
  border: 0;
}
.platform-frame .search-bar:focus-within {
  border-color: var(--p-accent);
  box-shadow: 0 0 0 2px #9690ff33;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .platform-frame .site-header .header-row {
    padding-left: 28px;
    padding-right: 28px;
  }
}
.platform-frame .site-footer :is(p, small) {
  color: var(--p-muted);
}
.platform-frame .drawer .drawer-workspaces > a {
  border-left: 2px solid transparent;
}
.platform-frame .drawer .drawer-workspaces > a[aria-current="page"] {
  border-left-color: var(--p-accent);
}
@media (prefers-reduced-motion: reduce) {
  .platform-frame .navigation-drawer[open] {
    animation: none;
  }
}
