﻿:root {
  color-scheme: dark;
  --bg: #0b1116;
  --band: #0f171c;
  --panel: #131c24;
  --panel-strong: #17252f;
  --panel-soft: #0e151b;
  --glass: rgba(19, 28, 36, 0.88);
  --line: #263741;
  --line-strong: #344852;
  --text: #edf3f6;
  --muted: #a6b8c0;
  --muted-strong: #c8d4d9;
  --teal: #42d2c7;
  --blue: #79aefc;
  --green: #83d69c;
  --gold: #efbd5a;
  --red: #ff7a7a;
  /* State language: teal = interaction, gold = review, blue = AI. */
  --interactive-soft: rgba(66, 210, 199, 0.08);
  --interactive-strong: rgba(66, 210, 199, 0.14);
  --ai-soft: rgba(121, 174, 252, 0.08);
  --review-soft: rgba(239, 189, 90, 0.07);
  --shadow: rgba(0, 0, 0, 0.34);
  --shadow-card: 0 12px 28px rgba(0, 0, 0, 0.24);
  --shadow-card-hover: 0 16px 36px rgba(0, 0, 0, 0.3);
  --shadow-popover: 0 18px 44px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --button-radius: 7px;
  --control-font-weight: 720;
  --header-height: 78px;
  --header-offset: var(--header-height);
  --logo-word-primary: #edf3f6;
  --logo-word-secondary: #19b978;
  --font-sans: "Aptos", "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: 760;
  text-wrap: balance;
}

p,
li,
dd,
small {
  text-wrap: pretty;
}

body.theme-light {
  color-scheme: light;
  --bg: #f7f9fb;
  --band: #edf3f6;
  --panel: #ffffff;
  --panel-strong: #f6fafb;
  --panel-soft: #edf5f7;
  --glass: rgba(255, 255, 255, 0.9);
  --line: #d6e1e7;
  --line-strong: #adc2cc;
  --text: #12242d;
  --muted: #5f707a;
  --muted-strong: #304854;
  --teal: #087a76;
  --blue: #245fa8;
  --green: #227449;
  --gold: #a8711a;
  --red: #b13d46;
  --interactive-soft: rgba(8, 122, 118, 0.08);
  --interactive-strong: rgba(8, 122, 118, 0.14);
  --ai-soft: rgba(36, 95, 168, 0.08);
  --review-soft: rgba(168, 113, 26, 0.11);
  --shadow: rgba(24, 47, 58, 0.14);
  --shadow-card: 0 10px 28px rgba(24, 47, 58, 0.1);
  --shadow-card-hover: 0 14px 34px rgba(24, 47, 58, 0.14);
  --shadow-popover: 0 18px 46px rgba(24, 47, 58, 0.16);
  --logo-word-primary: #071b36;
  --logo-word-secondary: #099c68;
  background: linear-gradient(180deg, #fbfdfe 0%, #f4f8fa 48%, #ffffff 100%);
}

body.theme-light button:focus-visible,
body.theme-light a:focus-visible,
body.theme-light input:focus-visible,
body.theme-light select:focus-visible,
body.theme-light textarea:focus-visible {
  outline-color: rgba(8, 122, 118, 0.72);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(66, 210, 199, 0.72);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto auto minmax(280px, 1fr) auto auto auto auto auto;
  gap: 10px;
  align-items: center;
  min-height: var(--header-height);
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 22, 0.96);
  backdrop-filter: blur(14px);
}

body.theme-light .topbar {
  background: rgba(250, 253, 254, 0.96);
  box-shadow: 0 10px 30px rgba(24, 47, 58, 0.08);
}

.cloud-logo {
  position: relative;
  display: inline-grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 234px;
  min-height: 56px;
  padding: 4px 10px 4px 4px;
  border-radius: 14px;
}

.cloud-logo::before {
  position: absolute;
  inset: -6px -8px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(18, 57, 216, 0.1), rgba(34, 215, 96, 0.1)),
    rgba(19, 28, 36, 0.3);
  content: "";
  opacity: 0.68;
  pointer-events: none;
  transition: opacity 180ms ease, box-shadow 180ms ease;
}

body.theme-light .cloud-logo::before {
  background:
    linear-gradient(135deg, rgba(18, 57, 216, 0.08), rgba(34, 215, 96, 0.1)),
    rgba(255, 255, 255, 0.74);
}

.cloud-logo::after {
  position: absolute;
  inset: -2px -4px;
  z-index: 1;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 16px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, box-shadow 180ms ease;
}

.cloud-logo:hover::after,
.cloud-logo:focus-visible::after {
  opacity: 1;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(66, 210, 199, 0.16);
}

.logo-cloud {
  position: relative;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 44px;
  place-items: center;
  animation: cloudDrift 9.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(10, 112, 141, 0.18));
  transition: filter 180ms ease;
}

.auth-logo .logo-cloud,
body.authenticated-session .topbar .logo-cloud {
  animation: none;
}

body.authenticated-session .topbar .cloud-logo::before {
  opacity: 0.48;
}

body.authenticated-session .topbar .cloud-logo::after {
  opacity: 0.32;
}

.cloud-mark {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cloud-mark-fill {
  fill: rgba(255, 255, 255, 0.98);
}

body:not(.theme-light) .cloud-mark-fill {
  fill: rgba(242, 250, 252, 0.98);
}

.cloud-mark-outline,
.cloud-mark-swoosh {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
}

.cloud-mark-swoosh {
  stroke-width: 6;
}

.logo-copy {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  line-height: 1.02;
}

.logo-name {
  display: block;
  min-width: 0;
  background: linear-gradient(90deg, var(--logo-word-primary) 0 49%, var(--logo-word-secondary) 50% 100%);
  background-clip: text;
  color: transparent;
  font-size: 1.48rem;
  font-weight: 780;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tagline {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.45rem;
  font-weight: 720;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cloud-logo:hover .logo-cloud,
.cloud-logo:focus-visible .logo-cloud {
  filter: drop-shadow(0 9px 18px rgba(10, 112, 141, 0.24));
}

@keyframes cloudDrift {
  0%,
  100% {
    transform: translate3d(-2px, 0, 0);
  }
  50% {
    transform: translate3d(3px, -2px, 0);
  }
}

@media (max-width: 1180px) {
  .cloud-logo {
    grid-template-columns: 62px minmax(0, 1fr);
    width: 190px;
    min-height: 52px;
    gap: 7px;
  }

  .logo-cloud {
    width: 62px;
    height: 38px;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  .logo-tagline {
    display: none;
  }
}

.products-menu,
.client-products-menu,
.support-menu,
.cart-zone,
.account-zone {
  position: relative;
}

.header-button,
.primary-button,
.auth-tabs button,
.smarthead-prompts button,
.support-dropdown button,
.basket-button,
.login-status,
.search-form button,
.product-card button,
.standard-card button,
.competitive-edge-card button,
.category-launch-card button,
.result-actions button,
.detail-actions button,
.drawer-head button,
#checkout-button,
.stacked-form button,
.smarthead-form button,
.category-card,
.category-tab,
.back-link,
.footer-button {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  padding: 0 13px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: var(--control-font-weight);
  letter-spacing: 0;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.header-button.secondary {
  background: var(--panel-soft);
  color: var(--muted-strong);
}

.theme-preview-control {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 42px;
  border-radius: var(--button-radius);
  padding: 0 12px;
  border-color: rgba(66, 210, 199, 0.28);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.1), rgba(121, 174, 252, 0.055)),
    var(--panel-strong);
  color: var(--muted-strong);
  font-size: 0.88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.theme-preview-control::before {
  display: none;
  content: none;
}

body.theme-light .theme-preview-control {
  border-color: rgba(8, 122, 118, 0.28);
  background:
    linear-gradient(135deg, rgba(8, 122, 118, 0.08), rgba(36, 95, 168, 0.045)),
    var(--panel);
  color: var(--muted-strong);
}

body.theme-light .theme-preview-control::before {
  display: none;
}

.mode-switch-track {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid rgba(121, 174, 252, 0.28);
  border-radius: 999px;
  background: rgba(14, 21, 27, 0.7);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.28);
}

.mode-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--muted-strong);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, background-color 160ms ease;
}

.theme-preview-control.is-light .mode-switch-track {
  border-color: rgba(8, 122, 118, 0.32);
  background: rgba(8, 122, 118, 0.12);
}

.theme-preview-control.is-light .mode-switch-thumb {
  background: var(--teal);
  transform: translateX(16px);
}

.primary-button,
#checkout-button {
  border-color: rgba(66, 210, 199, 0.4);
  background: var(--interactive-strong);
}

.account-save-button {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  align-items: center;
  justify-content: center;
  width: min(232px, 100%);
  max-width: 100%;
  min-height: 40px;
  max-height: 40px;
  border: 1px solid var(--teal);
  border-radius: var(--button-radius);
  padding: 0 13px;
  margin-top: 4px;
  background: var(--interactive-strong);
  color: var(--teal);
  font-weight: var(--control-font-weight);
  letter-spacing: 0;
  box-shadow: none;
}

.account-save-button:hover,
.account-save-button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

#checkout-form :disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

body.theme-light .primary-button,
body.theme-light #checkout-button {
  border-color: rgba(8, 122, 118, 0.36);
}

.header-button:hover,
.header-button.active,
.theme-preview-control:hover,
.theme-preview-control:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.auth-tabs button.active,
.category-tab.active,
.category-card:hover,
.product-card button:hover,
.standard-card button:hover,
.competitive-edge-card button:hover,
.category-launch-card button:hover,
.result-actions button:hover,
.detail-actions button:hover,
.drawer-head button:hover,
.basket-button:hover,
#checkout-button:hover,
.search-form button:hover,
.stacked-form button:hover,
.smarthead-form button:hover,
.back-link:hover {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

body.theme-light .header-button,
body.theme-light .search-form button,
body.theme-light .basket-button,
body.theme-light .guest-auth-actions button,
body.theme-light .detail-actions button:not(.primary-button) {
  border-color: rgba(48, 72, 84, 0.34) !important;
  background: #ffffff !important;
  color: #12242d !important;
}

body.theme-light .primary-button,
body.theme-light #checkout-button {
  border-color: #087a76 !important;
  background: #087a76 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(8, 122, 118, 0.16);
}

body.theme-light .account-save-button {
  border-color: #0a758b;
  background: #dff3f4;
  color: #00707e;
}

body.theme-light .account-save-button:hover,
body.theme-light .account-save-button:focus-visible {
  border-color: #064d5e;
  background: #cfeaed;
  color: #064d5e;
}

body.theme-light .header-button:hover,
body.theme-light .header-button.active,
body.theme-light .search-form button:hover,
body.theme-light .basket-button:hover,
body.theme-light .guest-auth-actions button:hover,
body.theme-light .detail-actions button:not(.primary-button):hover {
  border-color: var(--teal) !important;
  background: rgba(8, 122, 118, 0.1) !important;
  color: var(--teal) !important;
}

body.theme-light .primary-button:hover,
body.theme-light .primary-button:focus-visible,
body.theme-light #checkout-button:hover,
body.theme-light #checkout-button:focus-visible {
  border-color: #055f5c !important;
  background: #055f5c !important;
  color: #ffffff !important;
}

.products-dropdown {
  position: fixed;
  top: var(--header-offset);
  right: auto;
  left: 50%;
  z-index: 45;
  display: none;
  width: min(1120px, calc(100vw - 40px));
  max-height: min(620px, calc(100vh - var(--header-offset) - 28px));
  overflow: auto;
  border: 1px solid rgba(66, 210, 199, 0.48);
  border-radius: var(--radius);
  padding: 16px 10px 10px;
  background:
    linear-gradient(135deg, rgba(18, 57, 216, 0.22), rgba(7, 143, 189, 0.16) 44%, rgba(34, 215, 96, 0.12)),
    var(--panel);
  box-shadow:
    0 24px 62px var(--shadow),
    0 0 0 1px rgba(66, 210, 199, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.products-dropdown::before {
  position: absolute;
  top: 8px;
  right: 10px;
  left: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1239d8, #078fbd 46%, #22d760);
  content: "";
  pointer-events: none;
}

.products-dropdown > * {
  position: relative;
  z-index: 1;
}

.products-menu.open .products-dropdown,
.client-products-menu.open .products-dropdown {
  display: grid;
  grid-template-columns: repeat(6, minmax(155px, 1fr));
  gap: 8px;
}

.products-menu.retracting .products-dropdown,
.client-products-menu.retracting .products-dropdown {
  display: none;
}

.products-menu.dashboard-menu .products-dropdown,
.products-menu.dashboard-menu.open .products-dropdown {
  display: none;
}

.products-dropdown .category-tab {
  display: grid;
  width: 100%;
  gap: 3px;
  min-width: 155px;
  max-width: none;
  min-height: 58px;
  align-content: center;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-radius: 6px;
  padding: 0 13px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.2), rgba(121, 174, 252, 0.11)),
    var(--panel-strong);
  color: var(--text);
  text-align: left;
  font-weight: 800;
}

.products-dropdown .category-tab:hover {
  border-color: var(--teal);
  background: var(--panel-soft);
  color: var(--teal);
}

.products-dropdown .category-tab small {
  color: var(--muted);
  font-weight: 700;
}

.products-dropdown .category-tab strong {
  color: inherit;
}

.product-mega-menu {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
}

.product-mega-featured,
.product-mega-section,
.product-mega-actions {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-radius: 6px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.12), rgba(18, 57, 216, 0.075)),
    var(--panel-soft);
}

.product-mega-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-mega-section-head {
  display: grid;
  gap: 3px;
}

.product-mega-section-head strong {
  color: var(--text);
  font-size: 0.9rem;
}

.product-mega-section-head small {
  color: var(--muted);
  font-weight: 700;
}

.product-mega-feature-grid,
.product-mega-category-grid {
  display: grid;
  gap: 8px;
}

.product-mega-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

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

.mega-feature-tile {
  display: grid;
  min-height: 128px;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(66, 210, 199, 0.3);
  border-radius: 6px;
  padding: 11px;
  background:
    linear-gradient(145deg, rgba(8, 122, 118, 0.2), rgba(30, 64, 175, 0.12)),
    var(--panel-strong);
  color: var(--text);
  text-align: left;
}

.mega-feature-tile:hover,
.mega-feature-tile:focus-visible,
.mega-action-tile:hover,
.mega-action-tile:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--text);
}

.mega-feature-tile strong {
  line-height: 1.2;
}

.mega-feature-tile small {
  color: var(--muted);
  font-weight: 700;
}

.mega-action-tile {
  min-height: 64px;
}

.support-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 46;
  display: none;
  width: min(360px, calc(100vw - 40px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--panel);
  box-shadow: 0 18px 42px var(--shadow);
}

.support-menu.open .support-dropdown {
  display: grid;
  gap: 8px;
}

.support-dropdown button {
  display: grid;
  width: 100%;
  gap: 3px;
  min-height: 58px;
  align-content: center;
  text-align: left;
}

.support-dropdown button:hover {
  border-color: var(--teal);
  background: var(--panel-soft);
  color: var(--teal);
}

.support-dropdown small {
  color: var(--muted);
  font-weight: 700;
}

.support-dropdown,
.account-popover,
.basket-drawer {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  box-shadow:
    0 22px 58px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

body.theme-light .support-dropdown,
body.theme-light .account-popover,
body.theme-light .basket-drawer {
  box-shadow:
    0 22px 58px rgba(24, 47, 58, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.theme-light .products-dropdown {
  border-color: rgba(8, 122, 118, 0.4);
  background:
    linear-gradient(135deg, rgba(220, 247, 245, 0.98), rgba(225, 245, 253, 0.98) 48%, rgba(226, 252, 235, 0.98)),
    #f8fbfc;
  box-shadow:
    0 24px 62px rgba(24, 47, 58, 0.18),
    0 0 0 1px rgba(8, 122, 118, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body.theme-light .products-dropdown .category-tab,
body.theme-light .product-mega-featured,
body.theme-light .product-mega-section,
body.theme-light .product-mega-actions,
body.theme-light .mega-feature-tile {
  border-color: rgba(8, 122, 118, 0.32);
  background:
    linear-gradient(135deg, rgba(8, 122, 118, 0.1), rgba(38, 166, 154, 0.07)),
    #ffffff;
}

.products-dropdown .category-tab,
.mega-feature-tile,
.support-dropdown button,
.account-popover button,
.basket-item {
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.products-dropdown .category-tab:hover,
.mega-feature-tile:hover,
.support-dropdown button:hover,
.account-popover button:hover {
  transform: translateY(-1px);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px;
  min-width: 0;
}

.search-form input {
  min-width: 0;
  text-overflow: ellipsis;
}

.search-form button {
  min-width: clamp(58px, 7vw, 82px);
  padding-inline: clamp(8px, 1.1vw, 13px);
  overflow-wrap: normal;
  white-space: nowrap;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--text);
}

input,
select {
  min-height: 40px;
  padding: 0 11px;
}

textarea {
  padding: 10px;
  resize: vertical;
}

.account-zone {
  display: flex;
  gap: 8px;
  align-items: center;
}

.guest-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guest-auth-actions button {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 13px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 800;
}

.account-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: none;
  min-width: 300px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  box-shadow:
    0 22px 58px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.account-zone.open .account-popover {
  display: grid;
}

.account-zone.guest-session .account-popover {
  display: none;
}

.account-popover button {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 800;
}

.account-popover-status {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-soft);
  color: var(--muted);
}

.login-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  min-width: 210px;
  max-width: 276px;
  border-radius: var(--button-radius);
  padding: 0 13px;
  border-color: rgba(66, 210, 199, 0.28);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.105), rgba(121, 174, 252, 0.055)),
    var(--panel-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 26px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.login-status > span:first-child {
  min-width: 0;
}

.client-compass-mark {
  position: relative;
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(66, 210, 199, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(66, 210, 199, 0.25), rgba(66, 210, 199, 0.06) 34%, rgba(14, 21, 27, 0.88) 67%),
    linear-gradient(145deg, rgba(121, 174, 252, 0.18), rgba(239, 189, 90, 0.12));
  box-shadow: inset 0 0 0 4px rgba(19, 28, 36, 0.72), 0 0 22px rgba(66, 210, 199, 0.12);
}

body.theme-light .client-compass-mark {
  background:
    radial-gradient(circle at 50% 50%, rgba(11, 125, 120, 0.2), rgba(11, 125, 120, 0.05) 34%, rgba(248, 252, 253, 0.94) 67%),
    linear-gradient(145deg, rgba(40, 110, 189, 0.12), rgba(183, 131, 41, 0.11));
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.86), 0 0 20px rgba(11, 125, 120, 0.1);
}

.client-compass-mark::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(121, 174, 252, 0.48);
  border-radius: 50%;
  content: "";
}

.client-compass-mark::after {
  position: absolute;
  width: 8px;
  height: 14px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
  content: "";
  transform: translateY(-3px) rotate(36deg);
  transform-origin: 50% 85%;
}

.client-compass-mark span {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 10px rgba(66, 210, 199, 0.55);
}

.login-status strong,
.login-status small {
  display: block;
}

.login-status strong {
  max-width: 190px;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-status small {
  max-width: 190px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-status {
  border-color: rgba(66, 210, 199, 0.28);
}

.login-status:hover,
.login-status:focus-visible,
.account-zone.open .login-status {
  border-color: var(--teal);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.16), rgba(121, 174, 252, 0.08)),
    var(--panel-strong);
  color: var(--text);
  box-shadow:
    0 0 0 3px rgba(66, 210, 199, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.16);
}

.login-status::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: border-color 160ms ease, transform 160ms ease;
}

.account-zone.open .login-status::after {
  border-color: var(--teal);
  transform: translateY(2px) rotate(225deg);
}

body.theme-light .login-status {
  border-color: rgba(8, 122, 118, 0.24);
  background:
    linear-gradient(135deg, rgba(8, 122, 118, 0.08), rgba(36, 95, 168, 0.04)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 26px rgba(24, 47, 58, 0.08);
}

body.theme-light .login-status:hover,
body.theme-light .login-status:focus-visible,
body.theme-light .account-zone.open .login-status {
  border-color: var(--teal);
  background:
    linear-gradient(135deg, rgba(8, 122, 118, 0.12), rgba(36, 95, 168, 0.06)),
    var(--panel);
  box-shadow:
    0 0 0 3px rgba(8, 122, 118, 0.08),
    0 14px 32px rgba(24, 47, 58, 0.12);
}

.basket-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-width: 62px;
  justify-content: center;
}

.basket-icon {
  position: relative;
  width: 19px;
  height: 15px;
  border: 2px solid var(--teal);
  border-top: 0;
  border-radius: 3px;
}

.basket-icon::before {
  position: absolute;
  top: -8px;
  left: 3px;
  width: 9px;
  height: 8px;
  border: 2px solid var(--teal);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.portal-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 28px 72px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.storefront-intro,
.section-head,
.section-block,
.product-detail,
.surface,
.site-footer {
  border-radius: var(--radius);
}

.storefront-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  height: 310px;
  min-height: 310px;
  max-height: 310px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  padding: 18px 24px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(239, 189, 90, 0.035) 42%, rgba(121, 174, 252, 0.055)),
    var(--band);
  box-shadow: var(--shadow-card);
}

.storefront-intro > div {
  display: grid;
  grid-template-rows: auto auto auto 96px;
  gap: 8px;
  height: 100%;
  min-width: 0;
  align-content: center;
}

.storefront-intro .eyebrow,
.storefront-intro h1,
.storefront-intro #home-summary,
.storefront-intro .rotator-message {
  margin: 0;
}

.storefront-intro h1,
.section-head h1 {
  max-width: 780px;
  margin: 0;
  font-size: 1.58rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.storefront-intro p,
.section-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.storefront-intro #home-summary {
  max-width: 780px;
  overflow: visible;
  color: var(--muted);
  line-height: 1.36;
}

.free-account-invite {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(239, 189, 90, 0.08), rgba(66, 210, 199, 0.055) 48%, rgba(121, 174, 252, 0.045)),
    var(--band);
  box-shadow: var(--shadow-card);
}

.free-account-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
  align-content: center;
}

#home .free-account-invite {
  margin-bottom: 18px;
  padding: 18px 20px;
}

.purpose-strip {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.07), rgba(121, 174, 252, 0.04) 52%, rgba(239, 189, 90, 0.035)),
    var(--band);
  box-shadow: var(--shadow-card);
}

.purpose-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 940px;
}

.purpose-copy h2 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.18;
}

.purpose-copy p {
  margin: 0;
  color: var(--muted);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.purpose-grid article {
  display: grid;
  min-height: 178px;
  min-width: 0;
  gap: 9px;
  align-content: start;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--panel);
}

.purpose-grid h3,
.purpose-grid p {
  margin: 0;
}

.purpose-grid h3 {
  font-size: 1rem;
  line-height: 1.22;
}

.purpose-grid p {
  color: var(--muted);
}

.operational-record-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(66, 210, 199, 0.34);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.05) 52%, rgba(239, 189, 90, 0.04)),
    var(--panel);
}

.operational-record-chain span {
  display: grid;
  flex: 1 1 128px;
  min-width: 0;
  gap: 3px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--panel-soft);
}

.operational-record-chain strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.1;
}

.operational-record-chain small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
}

.operational-record-chain i {
  display: inline-grid;
  width: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.operational-record-chain .record-node {
  border-color: rgba(66, 210, 199, 0.58);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.16), rgba(121, 174, 252, 0.08)),
    var(--panel-soft);
}

.operational-record-chain .record-node strong,
.operational-record-chain .record-node small {
  color: var(--teal);
}

.purpose-actions {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.ops-demo-block,
.audience-block {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.07), rgba(66, 210, 199, 0.045) 48%, rgba(239, 189, 90, 0.035)),
    var(--band);
  box-shadow: var(--shadow-card);
}

.ops-demo-grid,
.audience-grid {
  display: grid;
  gap: 10px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

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

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

.ops-demo-card,
.audience-grid article {
  display: grid;
  min-width: 0;
  gap: 9px;
  align-content: start;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent),
    var(--panel);
}

.ops-demo-card h3,
.audience-grid h3,
.ops-demo-card p,
.audience-grid p {
  margin: 0;
}

.ops-demo-card h3,
.audience-grid h3 {
  font-size: 0.98rem;
  line-height: 1.24;
}

.ops-demo-card p,
.audience-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.ops-detail-list,
.cluster-metrics {
  display: grid;
  gap: 7px;
  margin: 0;
}

.ops-detail-list div,
.cluster-metrics div {
  display: grid;
  grid-template-columns: minmax(72px, 0.58fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-left: 3px solid var(--teal);
  padding: 7px 9px;
  background: var(--interactive-soft);
}

.ops-detail-list dt,
.cluster-metrics dt {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ops-detail-list dd,
.cluster-metrics dd {
  margin: 0;
  color: var(--muted-strong);
}

.mini-chat-log {
  display: grid;
  gap: 9px;
}

.mini-chat-log p {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  background: var(--panel-soft);
}

.mini-chat-log strong {
  color: var(--text);
  font-size: 0.78rem;
}

.mini-chat-log span {
  color: var(--muted-strong);
}

.ops-demo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  align-self: end;
}

.trust-indicator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.trust-indicator-row span {
  border: 1px solid rgba(66, 210, 199, 0.34);
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--interactive-soft);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 720;
}

#home .section-head {
  margin-bottom: 12px;
}

#home .section-head.compact p {
  max-width: 760px;
  margin-top: 6px;
}

#home :is(.product-grid, .competitive-edge-grid, .growth-grid, .category-launch-grid) {
  align-items: start;
  grid-auto-rows: auto;
}

.home-blend-section,
#home .product-section {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.065), rgba(121, 174, 252, 0.035) 52%, rgba(239, 189, 90, 0.025)),
    var(--band);
  box-shadow: var(--shadow-card);
}

body.theme-light .home-blend-section,
body.theme-light #home .product-section {
  border-color: rgba(73, 103, 116, 0.22);
  background:
    linear-gradient(135deg, rgba(10, 117, 139, 0.055), rgba(25, 185, 120, 0.04) 54%, rgba(168, 113, 26, 0.035)),
    #f8fbfc;
  box-shadow: 0 10px 26px rgba(28, 55, 66, 0.1);
}

#home .growth-grid,
#home .category-launch-grid,
#home .product-grid,
#home .home-resource-grid {
  margin-bottom: 0;
}

.free-account-copy h2 {
  max-width: 820px;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.18;
}

.free-account-copy > p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
}

.compact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.compact-list li {
  color: var(--muted-strong);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.rotator-message {
  display: block;
  height: 86px;
  min-height: 86px;
  max-height: 86px;
  max-width: 100%;
  overflow: hidden;
  border-left: 3px solid var(--teal);
  padding: 9px 12px;
  background:
    linear-gradient(90deg, rgba(66, 210, 199, 0.06), rgba(121, 174, 252, 0.025)),
    var(--panel-soft);
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.28;
  opacity: 1;
  white-space: pre-line;
  overflow-wrap: anywhere;
  transform: translateY(0);
  transition: opacity 1200ms ease, transform 1200ms ease;
}

.rotator-message.fading {
  opacity: 0;
  transform: translateY(5px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head.compact {
  align-items: center;
}

.section-head h2,
.surface h2,
.product-detail h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.eyebrow,
.tile-label {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-strip,
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.category-card,
.category-tab {
  display: grid;
  gap: 3px;
  min-width: 155px;
  max-width: 240px;
  min-height: 58px;
  align-content: center;
  text-align: left;
}

.category-card small,
.category-tab small {
  color: var(--muted);
  font-weight: 700;
}

.section-block {
  padding: 0;
}

.product-grid,
.competitive-edge-grid,
.growth-grid,
.product-sections,
.two-column,
.checkout-layout {
  display: grid;
  gap: 14px;
}

.product-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.competitive-edge-block {
  margin-top: 0;
}

.competitive-edge-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.competitive-edge-card {
  display: grid;
  gap: 11px;
  min-height: 230px;
  grid-template-rows: auto minmax(2.4em, auto) minmax(4.2em, 1fr) auto;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.065), rgba(121, 174, 252, 0.035)),
    var(--panel-soft);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.competitive-edge-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.competitive-edge-card p {
  margin: 0;
  color: var(--muted);
}

.competitive-edge-card:hover,
.growth-card:hover,
.category-launch-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.growth-grid,
.market-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

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

.product-section {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.product-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.product-section-head h2 {
  margin: 0;
  font-size: 1.16rem;
}

.product-section-head p {
  max-width: 680px;
  margin: 4px 0 0;
  color: var(--muted);
}

.catalog-hero,
.resource-hero {
  position: relative;
  overflow: hidden;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(239, 189, 90, 0.03) 44%, rgba(121, 174, 252, 0.055)),
    var(--band);
  box-shadow: var(--shadow-card);
}

.catalog-hero::before,
.resource-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
}

.catalog-hero > div,
.resource-hero > div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

body.theme-light .catalog-hero,
body.theme-light .resource-hero {
  border-color: rgba(73, 103, 116, 0.22);
  background:
    linear-gradient(135deg, rgba(10, 117, 139, 0.06), rgba(25, 185, 120, 0.04) 52%, rgba(168, 113, 26, 0.035)),
    #f8fbfc;
  box-shadow: 0 10px 26px rgba(28, 55, 66, 0.1);
}

.catalog-view .category-tabs {
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.045), rgba(121, 174, 252, 0.028)),
    var(--panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.catalog-filter-panel,
.resource-filter-panel {
  border-color: rgba(66, 210, 199, 0.2);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.045), rgba(239, 189, 90, 0.026)),
    var(--panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

body.theme-light .catalog-view .category-tabs,
body.theme-light .catalog-filter-panel,
body.theme-light .resource-filter-panel {
  border-color: rgba(73, 103, 116, 0.22);
  background: #f8fbfc;
  box-shadow: 0 10px 24px rgba(28, 55, 66, 0.08);
}

.catalog-product-sections .product-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.045), rgba(121, 174, 252, 0.025)),
    var(--band);
  box-shadow: var(--shadow-card);
}

.catalog-product-sections .product-section .product-grid {
  margin-bottom: 0;
}

#products .product-card {
  min-height: 330px;
  border-color: rgba(66, 210, 199, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(66, 210, 199, 0.022)),
    var(--panel-soft);
  box-shadow: none;
}

#documentation .help-resource-grid,
#learning .help-resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

#documentation .help-resource-card,
#learning .help-resource-card {
  min-height: 248px;
  border-color: rgba(66, 210, 199, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(121, 174, 252, 0.024)),
    var(--panel-soft);
  box-shadow: none;
}

#home .product-section {
  padding: 15px;
}

#home .product-section-head {
  border-bottom-color: rgba(66, 210, 199, 0.18);
  padding-bottom: 8px;
}

.product-row {
  display: grid;
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-launch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.category-launch-card {
  position: relative;
  display: grid;
  gap: 13px;
  align-content: space-between;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: var(--radius);
  padding: 17px;
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.075), rgba(121, 174, 252, 0.04) 54%, rgba(34, 215, 96, 0.025)),
    var(--panel);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.11);
}

.category-launch-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(121, 174, 252, 0.72), rgba(34, 215, 96, 0.42));
  content: "";
  opacity: 0.72;
}

.category-launch-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.24;
}

.category-launch-card .eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
}

.category-launch-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.category-launch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.result-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 4px;
}

.result-actions button {
  min-width: min(240px, 100%);
}

.result-actions .load-more-button {
  width: auto;
  min-width: 0;
  min-height: 38px;
  align-self: center;
  border-color: rgba(66, 210, 199, 0.42);
  border-radius: 999px;
  padding: 0 18px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.13), rgba(121, 174, 252, 0.08)),
    var(--panel-strong);
  color: var(--teal);
  box-shadow: none;
}

.products-nav,
.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.two-column,
.checkout-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card,
.growth-card,
.standard-card,
.surface,
.product-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.product-card,
.growth-card,
.standard-card,
.surface {
  display: grid;
  gap: 13px;
  height: 100%;
  min-width: 0;
  width: 100%;
  padding: 17px;
}

[data-clickable-tile] {
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

[data-clickable-tile]:hover {
  border-color: rgba(66, 210, 199, 0.48);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow-card-hover), inset 0 0 0 1px rgba(66, 210, 199, 0.1);
  transform: translateY(-1px);
}

[data-clickable-tile]:focus-visible {
  border-color: var(--teal);
  outline: 2px solid rgba(66, 210, 199, 0.72);
  outline-offset: 2px;
}

[data-clickable-tile]:hover .pill,
[data-clickable-tile]:focus-visible .pill {
  opacity: 1;
}

.product-card,
.growth-card {
  min-height: 372px;
  grid-template-rows: auto minmax(2.65em, auto) minmax(3em, 3em) minmax(3em, auto) auto minmax(46px, 1fr);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
    var(--panel);
}

.product-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(66, 210, 199, 0.34);
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.13), rgba(121, 174, 252, 0.075) 48%, rgba(34, 215, 96, 0.055)),
    var(--panel);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #1239d8, #078fbd 46%, #22d760);
  content: "";
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(66, 210, 199, 0.72);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(66, 210, 199, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}

body.theme-light .product-card {
  border-color: rgba(8, 122, 118, 0.3);
  background:
    linear-gradient(145deg, rgba(223, 248, 247, 0.98), rgba(235, 247, 253, 0.98) 48%, rgba(232, 252, 240, 0.96)),
    #ffffff;
  box-shadow:
    0 14px 34px rgba(24, 47, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.theme-light .product-card:hover,
body.theme-light .product-card:focus-within {
  border-color: rgba(8, 122, 118, 0.58);
  box-shadow:
    0 18px 42px rgba(24, 47, 58, 0.16),
    0 0 0 1px rgba(8, 122, 118, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.standard-card {
  min-height: 250px;
  grid-template-rows: auto minmax(2.65em, auto) minmax(4.5em, 1fr) auto;
}

.product-card h3,
.growth-card h3,
.standard-card h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.22;
}

.product-card p,
.growth-card p,
.standard-card p,
.surface p,
.product-detail p,
.muted {
  margin: 0;
  color: var(--muted);
}

.product-card > p {
  display: -webkit-box;
  min-height: 3em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.purchase-clarity {
  border-left: 3px solid var(--teal);
  padding: 2px 0 2px 10px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.35;
}

.product-card .purchase-clarity,
.growth-card .purchase-clarity {
  display: -webkit-box;
  min-height: calc(1.35em * 3);
  max-height: calc(1.35em * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card h3,
.growth-card h3,
.competitive-edge-card h3,
.category-launch-card h3,
.standard-card h3 {
  color: var(--text);
}

.growth-card {
  align-content: stretch;
}

.standard-card {
  align-content: stretch;
}

.standard-card button {
  min-height: 36px;
  margin-top: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  padding: 0 12px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: var(--control-font-weight);
}

.growth-card button {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  padding: 0 13px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: var(--control-font-weight);
}

.product-card-actions {
  display: grid;
  align-self: end;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

#home .product-card,
#home .growth-card {
  min-height: 268px;
  border-color: rgba(66, 210, 199, 0.18);
  grid-template-rows: none;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(66, 210, 199, 0.026)),
    var(--panel-soft);
  box-shadow: none;
}

#home :is(.competitive-edge-card, .standard-card, .category-launch-card) {
  grid-template-rows: none;
  align-content: start;
  height: auto;
}

#home .product-card {
  border-color: rgba(66, 210, 199, 0.34);
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.13), rgba(121, 174, 252, 0.07) 48%, rgba(34, 215, 96, 0.05)),
    var(--panel-soft);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

#home .product-card:hover,
#home .product-card:focus-within {
  border-color: rgba(66, 210, 199, 0.72);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(66, 210, 199, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

body.theme-light #home .product-card {
  border-color: rgba(8, 122, 118, 0.3);
  background:
    linear-gradient(145deg, rgba(223, 248, 247, 0.98), rgba(235, 247, 253, 0.98) 48%, rgba(232, 252, 240, 0.96)),
    #ffffff;
  box-shadow:
    0 12px 28px rgba(24, 47, 58, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.theme-light #home .product-card:hover,
body.theme-light #home .product-card:focus-within {
  border-color: rgba(8, 122, 118, 0.58);
  box-shadow:
    0 16px 34px rgba(24, 47, 58, 0.16),
    0 0 0 1px rgba(8, 122, 118, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

#home .product-card-actions {
  gap: 7px;
  align-self: end;
  margin-top: 4px;
}

#home .product-card-actions button {
  min-height: 36px;
}

#home .category-launch-card {
  min-height: 162px;
  border-color: rgba(66, 210, 199, 0.28);
  gap: 8px;
  padding: 13px;
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.105), rgba(121, 174, 252, 0.055) 54%, rgba(34, 215, 96, 0.035)),
    var(--panel-soft);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.theme-light #home .category-launch-card {
  border-color: rgba(8, 122, 118, 0.22);
  background:
    linear-gradient(145deg, rgba(8, 122, 118, 0.075), rgba(36, 95, 168, 0.045) 56%, rgba(34, 143, 86, 0.035)),
    rgba(248, 252, 253, 0.92);
  box-shadow:
    0 12px 28px rgba(24, 47, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#home .category-launch-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#home .home-resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#home .home-resource-card {
  min-height: 214px;
  grid-template-rows: auto minmax(2.6em, auto) minmax(4.25em, 1fr) auto;
  border-color: rgba(66, 210, 199, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(239, 189, 90, 0.022)),
    var(--panel-soft);
  box-shadow: none;
}

#home .home-resource-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#home .home-resource-card button {
  align-self: end;
}

.card-meta,
.tile-head,
.drawer-head,
.smarthead-head,
.smarthead-prompts,
.detail-meta,
.basket-summary {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-card .tile-head,
.product-card .card-meta {
  flex-wrap: wrap;
  align-items: flex-start;
  min-height: 42px;
}

.product-card .pill {
  white-space: normal;
  text-align: center;
}

.tile-head,
.drawer-head,
.smarthead-head,
.basket-summary {
  justify-content: space-between;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: var(--panel-soft);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill.healthy {
  border-color: rgba(131, 214, 156, 0.42);
  background: rgba(131, 214, 156, 0.1);
  color: var(--green);
}

body.theme-light .pill.healthy {
  border-color: rgba(34, 116, 73, 0.24);
  background: rgba(34, 116, 73, 0.08);
}

.pill.warning {
  border-color: rgba(239, 189, 90, 0.42);
  background: rgba(239, 189, 90, 0.1);
  color: var(--gold);
}

body.theme-light .pill.warning {
  border-color: rgba(168, 113, 26, 0.28);
  background: rgba(168, 113, 26, 0.09);
}

.pill.danger {
  border-color: rgba(255, 122, 122, 0.48);
  background: rgba(255, 122, 122, 0.12);
  color: var(--red);
}

body.theme-light .pill.danger {
  border-color: rgba(177, 61, 70, 0.32);
  background: rgba(177, 61, 70, 0.08);
}

.pill.muted {
  border-color: var(--line-strong);
  background: var(--panel-soft);
  color: var(--muted);
}

.pill.review,
.pill.info {
  border-color: rgba(121, 174, 252, 0.44);
  background: rgba(121, 174, 252, 0.1);
  color: var(--blue);
}

body.theme-light .pill.review,
body.theme-light .pill.info {
  border-color: rgba(36, 95, 168, 0.26);
  background: rgba(36, 95, 168, 0.08);
}

.pill.money {
  border-color: rgba(66, 210, 199, 0.42);
  background: rgba(66, 210, 199, 0.1);
  color: var(--teal);
}

body.theme-light .pill.money {
  border-color: rgba(8, 122, 118, 0.26);
  background: rgba(8, 122, 118, 0.08);
}

.pill.growth {
  border-color: rgba(239, 189, 90, 0.44);
  background: rgba(239, 189, 90, 0.1);
  color: var(--gold);
}

body.theme-light .pill.growth {
  border-color: rgba(168, 113, 26, 0.28);
  background: rgba(168, 113, 26, 0.09);
}

.product-card .pill,
.standard-card .pill,
.competitive-edge-card .pill,
.category-launch-card .pill,
.help-resource-card .pill {
  gap: 7px;
  border-color: var(--line-strong);
  background: rgba(14, 21, 27, 0.78);
  color: var(--muted-strong);
}

body.theme-light .product-card .pill,
body.theme-light .standard-card .pill,
body.theme-light .competitive-edge-card .pill,
body.theme-light .category-launch-card .pill,
body.theme-light .help-resource-card .pill {
  background: rgba(255, 255, 255, 0.78);
}

.product-card .pill::before,
.standard-card .pill::before,
.competitive-edge-card .pill::before,
.category-launch-card .pill::before,
.help-resource-card .pill::before {
  display: none;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--muted);
  content: "";
}

.product-card .pill.healthy::before,
.standard-card .pill.healthy::before,
.competitive-edge-card .pill.healthy::before,
.category-launch-card .pill.healthy::before,
.help-resource-card .pill.healthy::before {
  display: inline-block;
  background: var(--green);
}

.product-card .pill.warning::before,
.product-card .pill.growth::before,
.standard-card .pill.warning::before,
.standard-card .pill.growth::before,
.competitive-edge-card .pill.warning::before,
.competitive-edge-card .pill.growth::before,
.category-launch-card .pill.warning::before,
.category-launch-card .pill.growth::before,
.help-resource-card .pill.warning::before,
.help-resource-card .pill.growth::before {
  display: inline-block;
  background: var(--gold);
}

.product-card .pill.info::before,
.product-card .pill.review::before,
.standard-card .pill.info::before,
.standard-card .pill.review::before,
.competitive-edge-card .pill.info::before,
.competitive-edge-card .pill.review::before,
.category-launch-card .pill.info::before,
.category-launch-card .pill.review::before,
.help-resource-card .pill.info::before,
.help-resource-card .pill.review::before {
  display: inline-block;
  background: var(--blue);
}

.product-card .pill.money::before,
.standard-card .pill.money::before,
.competitive-edge-card .pill.money::before,
.category-launch-card .pill.money::before,
.help-resource-card .pill.money::before {
  display: inline-block;
  background: var(--teal);
}

.product-detail {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.product-detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  gap: 20px;
}

.detail-title {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-detail-hero,
.product-detail-copy {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}

.product-detail-hero {
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel-soft));
}

.product-detail-hero .eyebrow {
  margin: 0;
}

.detail-title h1 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.16;
}

.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-detail-copy {
  display: grid;
  gap: 12px;
  background: var(--panel-soft);
}

.product-detail-copy p {
  color: var(--muted-strong);
}

.product-value-lead {
  border-left: 4px solid var(--teal);
  padding-left: 12px;
  color: var(--ink) !important;
  font-weight: 900;
}

.product-detail-actions {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.product-detail-actions button:first-child {
  border-color: rgba(66, 210, 199, 0.4);
  background: var(--interactive-strong);
}

.detail-purchase-clarity {
  border-color: var(--gold);
}

.product-outcome-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-outcome-panel,
.product-gaia-capabilities {
  border-color: rgba(66, 210, 199, 0.36);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.12), transparent 55%),
    var(--panel);
}

.gaia-capability-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.gaia-capability-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--panel-soft);
}

.gaia-capability-item span {
  display: inline-flex;
  justify-content: center;
  border: 1px solid rgba(0, 128, 128, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--teal-dark);
  background: rgba(66, 210, 199, 0.14);
  font-size: 0.76rem;
  font-weight: 950;
}

.gaia-capability-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.advisor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 16px;
  align-items: start;
}

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

.advisor-form label,
.advisor-checkbox-group {
  min-width: 0;
}

.advisor-checkbox-group,
.advisor-context p {
  margin: 0;
}

.advisor-checkbox-group {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--panel-soft);
}

.advisor-checkbox-group legend {
  padding: 0 6px;
  color: var(--muted-strong);
  font-weight: 900;
}

.advisor-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.advisor-checkbox-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--panel);
  color: var(--muted-strong);
}

.advisor-form > label:last-of-type,
.advisor-form-actions {
  grid-column: 1 / -1;
}

.advisor-form-actions,
.advisor-result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.advisor-results-block {
  margin-top: 16px;
}

.advisor-results,
.advisor-result-grid {
  display: grid;
  gap: 14px;
}

.advisor-result-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.advisor-empty,
.advisor-guidance-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.advisor-empty {
  display: grid;
  gap: 6px;
}

.advisor-guidance-note {
  display: grid;
  gap: 6px;
  border-color: rgba(239, 189, 90, 0.32);
  background:
    linear-gradient(135deg, rgba(239, 189, 90, 0.07), transparent),
    var(--panel);
}

.advisor-result-card {
  min-height: 372px;
}

.advisor-result-card h3,
.advisor-guidance-note p,
.advisor-empty p {
  margin: 0;
}

.advisor-result-card > p,
.advisor-guidance-note p,
.advisor-empty p,
.advisor-context p {
  color: var(--muted);
}

.advisor-fit-line {
  min-height: 3em;
}

.detail-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.technical-details {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: var(--panel-soft);
}

.technical-details.active {
  display: grid;
  gap: 12px;
}

.mini-panel,
.review-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--panel-soft);
}

.mini-panel strong,
.review-card strong {
  display: block;
  margin-bottom: 6px;
}

.doc-links,
.review-list,
.checklist,
.detail-list,
.audit-feed,
.request-output,
.basket-list,
.checkout-summary,
.billing-evidence-list,
.finance-report-list,
.kube-action-log,
.aws-deployment-log {
  display: grid;
  gap: 10px;
}

.doc-links a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-soft);
  color: var(--muted-strong);
}

.doc-links a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.help-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.marketing-resource-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  grid-auto-rows: 1fr;
  align-items: stretch;
  justify-content: start;
}

.doc-filter-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--panel);
  box-shadow: 0 16px 36px var(--shadow);
}

.doc-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 0.8fr) minmax(170px, 0.7fr) auto;
  gap: 10px;
  align-items: end;
}

.product-filter-form {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.product-filter-form label:first-child {
  grid-column: span 2;
}

.doc-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.doc-filter-form button {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 800;
}

.doc-filter-form button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.doc-filter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.empty-doc-results {
  min-height: 160px;
  align-content: center;
}

.help-resource-card {
  display: grid;
  gap: 11px;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--panel);
  box-shadow: 0 16px 36px var(--shadow);
}

.marketing-resource-card {
  position: relative;
  grid-template-rows: auto auto minmax(54px, 1fr);
  align-content: stretch;
  height: 100%;
  min-height: 226px;
  overflow: clip;
  border-color: var(--line-strong);
  border-radius: 8px;
  padding: 18px 18px 17px 20px;
  background:
    linear-gradient(145deg, rgba(239, 189, 90, 0.045), rgba(66, 210, 199, 0.035)),
    var(--panel);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.marketing-resource-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
}

.marketing-resource-card:hover,
.marketing-resource-card:focus-visible {
  border-color: var(--teal);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.09), transparent 48%),
    var(--panel);
  box-shadow: 0 18px 42px var(--shadow), 0 0 0 1px rgba(66, 210, 199, 0.18);
  transform: translateY(-2px);
}

#working-with-us .section-head,
#working-with-us-overview .section-head {
  position: relative;
  overflow: hidden;
  align-items: center;
  border: 1px solid rgba(25, 185, 120, 0.3);
  padding: 18px 116px 18px 26px;
  background:
    linear-gradient(135deg, rgba(7, 27, 54, 0.08), rgba(25, 185, 120, 0.08) 54%, rgba(10, 117, 139, 0.06)),
    var(--band);
}

#working-with-us .section-head > div,
#working-with-us-overview .section-head > div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#working-with-us .section-head::before,
#working-with-us-overview .section-head::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--logo-word-primary), var(--logo-word-secondary));
}

#working-with-us .section-head::after,
#working-with-us-overview .section-head::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 20px;
  width: 72px;
  height: 42px;
  border: 4px solid var(--logo-word-primary);
  border-right-color: var(--logo-word-secondary);
  border-bottom-color: var(--logo-word-secondary);
  border-radius: 34px 38px 16px 16px;
  opacity: 0.16;
  pointer-events: none;
}

#working-with-us .section-head h1,
#working-with-us-overview .section-head h1 {
  color: var(--logo-word-primary);
}

#working-with-us .section-head .eyebrow,
#working-with-us-overview .section-head .eyebrow {
  color: var(--logo-word-secondary);
}

#working-with-us .marketing-resource-card,
#working-with-us-overview .marketing-resource-card {
  border-color: rgba(25, 185, 120, 0.28);
  background:
    linear-gradient(145deg, rgba(7, 27, 54, 0.055), rgba(25, 185, 120, 0.055)),
    var(--panel);
}

#working-with-us .marketing-resource-card::before,
#working-with-us-overview .marketing-resource-card::before {
  background: linear-gradient(180deg, var(--logo-word-primary), var(--logo-word-secondary));
}

#working-with-us .marketing-resource-card:hover,
#working-with-us .marketing-resource-card:focus-visible,
#working-with-us-overview .marketing-resource-card:hover,
#working-with-us-overview .marketing-resource-card:focus-visible {
  border-color: var(--logo-word-secondary);
  box-shadow: 0 18px 42px var(--shadow), 0 0 0 1px rgba(25, 185, 120, 0.18);
}

@media (max-width: 700px) {
  #working-with-us .section-head,
  #working-with-us-overview .section-head {
    padding: 16px 18px 18px 24px;
  }

  #working-with-us .section-head::after,
  #working-with-us-overview .section-head::after {
    display: none;
  }
}

.marketing-resource-card .tile-head {
  align-items: flex-start;
}

.help-resource-card .working-status-pill {
  min-width: 0;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.help-resource-card .working-status-pill:hover,
.help-resource-card .working-status-pill:focus-visible {
  border-color: var(--teal);
  background: rgba(66, 210, 199, 0.12);
  color: var(--teal);
}

.help-resource-card h3,
.help-resource-card p {
  margin: 0;
}

.help-resource-card p {
  color: var(--muted);
}

.marketing-resource-card h3 {
  min-height: 3rem;
  font-size: clamp(1.02rem, 0.7vw + 0.86rem, 1.18rem);
  line-height: 1.22;
}

.marketing-card-copy {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted-strong);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.web-doc-body,
.web-doc-actions {
  display: grid;
  gap: 9px;
}

.web-doc-section {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-soft);
}

.web-doc-section h4 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 0.92rem;
}

.web-doc-section p {
  margin: 0;
}

.web-doc-actions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-doc-actions li {
  border-left: 3px solid var(--teal);
  padding: 7px 9px;
  background: rgba(66, 210, 199, 0.07);
  color: var(--muted-strong);
  font-weight: 750;
}

.help-resource-card a,
.help-resource-card button {
  display: inline-grid;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 800;
}

.help-resource-card a:hover,
.help-resource-card button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.help-document-page {
  display: grid;
  gap: 16px;
}

.help-document-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.help-document-toolbar button,
.related-doc-list button,
.support-channel-list button,
.support-channel-list a {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 800;
}

.support-channel-list a {
  display: inline-grid;
  align-items: center;
}

.support-channel-list button,
.support-channel-list a {
  justify-content: center;
  text-align: center;
}

.support-channel-list button:hover,
.support-channel-list a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.help-document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.marketing-document-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.65fr);
}

.help-document-main,
.help-document-aside {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 16px 36px var(--shadow);
}

.marketing-document-main {
  gap: 16px;
  border-color: var(--line-strong);
  border-top: 4px solid var(--gold);
  padding: 22px;
}

.marketing-document-hero {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.marketing-document-kicker {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marketing-document-main .help-document-lead {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.65;
}

.marketing-document-main .help-document-section {
  grid-template-columns: minmax(0, 1fr);
  border-left: 4px solid var(--teal);
  padding: 16px;
}

.marketing-document-section h2 {
  color: var(--text);
  font-size: 1.08rem;
}

.marketing-document-section p {
  line-height: 1.68;
}

.locked-help-document {
  border-color: rgba(239, 189, 90, 0.42);
  background: rgba(239, 189, 90, 0.06);
}

.help-document-lead {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.02rem;
}

.help-document-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: var(--panel-soft);
}

.section-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(66, 210, 199, 0.44);
  border-radius: 50%;
  background: rgba(66, 210, 199, 0.09);
  color: var(--teal);
  font-weight: 900;
}

.help-document-section h2,
.help-document-aside h2 {
  margin: 0;
  font-size: 1rem;
}

.help-document-section p,
.help-document-aside p {
  margin: 6px 0 0;
  color: var(--muted);
}

.help-document-aside section {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--panel-soft);
}

.reference-path p {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
}

.related-doc-list {
  display: grid;
  gap: 8px;
}

.related-doc-list button {
  display: grid;
  height: auto;
  min-height: 70px;
  align-content: center;
  gap: 4px;
  text-align: left;
}

.related-doc-list small {
  color: var(--muted);
  font-weight: 700;
}

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

.checklist li {
  border-left: 3px solid var(--teal);
  padding: 8px 10px;
  background: var(--panel-soft);
  color: var(--muted-strong);
}

.detail-list {
  margin: 0;
  padding: 0;
}

.detail-list div,
.checkout-summary article,
.billing-evidence-list article,
.finance-report-list article,
.kube-action-log article,
.aws-deployment-log article,
.audit-feed article,
.basket-item,
.chat-log article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-soft);
}

.billing-evidence-list,
.finance-report-list,
.kube-action-log,
.aws-deployment-log {
  margin-top: 12px;
}

.compact-panel-head {
  margin-bottom: 0;
}

.billing-evidence-list h3,
.finance-report-list h3,
.kube-action-log h3,
.aws-deployment-log h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.billing-evidence-list p,
.finance-report-list p,
.kube-action-log p,
.aws-deployment-log p {
  margin: 4px 0 0;
  color: var(--muted);
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-radius: var(--radius);
  padding: 2px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.035) 46%, rgba(66, 210, 199, 0));
  scroll-margin-top: calc(var(--header-offset) + 16px);
}

body.theme-light .dashboard-layout {
  background:
    linear-gradient(135deg, rgba(8, 122, 118, 0.08), rgba(36, 95, 168, 0.04) 48%, rgba(8, 122, 118, 0));
}

.dashboard-layout.reveal,
.dashboard-layout.reveal.visible {
  transform: none;
}

.dashboard-bottom-paged-to-you {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.dashboard-bottom-paged-to-you:empty,
.dashboard-bottom-paged-to-you[hidden] {
  display: none;
}

.dashboard-layout:not([data-active-panel="dashboard-overview"]) .dashboard-bottom-paged-to-you {
  display: none;
}

.dashboard-sidebar {
  position: sticky;
  top: calc(var(--header-offset) + 16px);
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: visible;
  border: 1px solid rgba(66, 210, 199, 0.2);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(66, 210, 199, 0.07), rgba(121, 174, 252, 0.035)),
    var(--panel);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

body.theme-light .dashboard-sidebar {
  border-color: rgba(8, 122, 118, 0.2);
  background:
    linear-gradient(180deg, rgba(239, 253, 250, 0.96), rgba(244, 249, 255, 0.94)),
    #ffffff;
  box-shadow: 0 18px 34px rgba(28, 55, 66, 0.1);
}

.dashboard-sidebar > strong {
  margin-bottom: 4px;
}

.dashboard-sidebar-group {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-sidebar-group + .dashboard-sidebar-group {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.dashboard-sidebar-group span {
  padding: 0 8px 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-panel button,
.dashboard-gate button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  padding: 0 10px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: var(--control-font-weight);
}

.dashboard-sidebar button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 10px 0 28px;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
}

.dashboard-sidebar button::before {
  content: "";
  position: absolute;
  left: 11px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
}

.dashboard-sidebar button.active {
  border-color: rgba(10, 117, 139, 0.34);
  background: rgba(66, 210, 199, 0.12);
  color: var(--text);
}

.dashboard-sidebar button.active::before {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(66, 210, 199, 0.13);
}

.dashboard-sidebar button.has-pending-count {
  color: var(--text);
}

.dashboard-sidebar button.has-pending-count::before {
  background: #b57908;
}

.dashboard-panel button:hover,
.dashboard-gate button:hover {
  border-color: rgba(66, 210, 199, 0.54);
  background: var(--interactive-soft);
  color: var(--text);
}

.dashboard-sidebar button:hover {
  border-color: rgba(73, 103, 116, 0.24);
  background: rgba(121, 174, 252, 0.08);
  color: var(--text);
}

.dashboard-sidebar button.active:hover {
  border-color: rgba(10, 117, 139, 0.34);
  background: rgba(66, 210, 199, 0.14);
  color: var(--text);
}

.dashboard-sidebar-group:first-child button {
  border-color: transparent;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 900;
}

body.theme-light .dashboard-sidebar-group:first-child button {
  background: transparent;
}

.dashboard-sidebar-group:first-child button::before {
  width: 6px;
  height: 6px;
  background: var(--line-strong);
  box-shadow: none;
}

.dashboard-sidebar-group:first-child button.active {
  border-color: rgba(10, 117, 139, 0.46);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.2), rgba(121, 174, 252, 0.12)),
    var(--panel-strong);
  box-shadow: inset 3px 0 0 var(--teal);
}

.dashboard-sidebar-group:first-child button.has-pending-count {
  border-color: transparent;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.dashboard-sidebar-group:first-child button.has-pending-count::before {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(177, 61, 70, 0.13);
}

.dashboard-sidebar-group:first-child button.has-pending-count.active {
  border-color: rgba(10, 117, 139, 0.46);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.2), rgba(121, 174, 252, 0.12)),
    var(--panel-strong);
  box-shadow: inset 3px 0 0 var(--teal);
}

.dashboard-content {
  display: grid;
  gap: 12px;
}

.dashboard-action-hub {
  display: grid;
  gap: 12px;
}

.dashboard-action-summary,
.dashboard-record-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.06), rgba(121, 174, 252, 0.04)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-action-summary,
body.theme-light .dashboard-record-summary {
  background:
    linear-gradient(135deg, rgba(245, 253, 251, 0.98), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

.dashboard-action-summary article,
.dashboard-record-summary article {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
}

body.theme-light .dashboard-action-summary article,
body.theme-light .dashboard-record-summary article {
  background: rgba(255, 255, 255, 0.78);
}

.dashboard-action-summary span,
.dashboard-action-summary small,
.dashboard-record-summary span,
.dashboard-record-summary small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 920;
  line-height: 1.25;
  text-transform: uppercase;
}

.dashboard-action-summary strong,
.dashboard-record-summary strong {
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1;
}

.dashboard-action-center-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.dashboard-action-center-summary > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-action-center-summary h3,
.dashboard-action-center-summary p {
  margin: 0;
}

.dashboard-action-center-summary h3 {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.2;
}

.dashboard-action-center-summary p:not(.eyebrow) {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 740;
  line-height: 1.38;
}

.dashboard-action-center-summary > strong {
  justify-self: end;
  color: var(--text);
  font-size: 2rem;
}

.dashboard-action-center-summary > span {
  grid-column: 2;
  justify-self: end;
}

.dashboard-record-summary p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 740;
  line-height: 1.38;
}

.dashboard-record-dashboard {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.dashboard-record-dashboard-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
  min-width: 0;
}

.dashboard-record-dashboard-head > div,
.dashboard-proof-box,
.dashboard-record-milestone,
.dashboard-recent-record-vault,
.dashboard-record-vault-list {
  min-width: 0;
}

.dashboard-record-dashboard-head h3,
.dashboard-record-dashboard-head p {
  margin: 0;
}

.dashboard-record-dashboard-head p:not(.eyebrow) {
  margin-top: 5px;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.42;
  text-transform: none;
}

.dashboard-record-dashboard-head .pill {
  flex: 0 0 auto;
}

.dashboard-record-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-record-kpi {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-strong);
  color: var(--text);
  text-align: left;
}

.dashboard-record-kpi:hover,
.dashboard-record-kpi:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--text);
}

.dashboard-record-kpi strong {
  font-size: 1.65rem;
}

.dashboard-proof-box,
.dashboard-record-milestone,
.dashboard-recent-record-vault {
  display: grid;
  gap: 8px;
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 10px;
  background: rgba(66, 210, 199, 0.08);
}

.dashboard-proof-box strong,
.dashboard-record-milestone strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.25;
}

.dashboard-proof-box p,
.dashboard-record-milestone p,
.dashboard-recent-record-vault p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.38;
  text-transform: none;
}

.dashboard-proof-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.dashboard-proof-chain span,
.dashboard-proof-chain b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-proof-chain span {
  border: 1px solid rgba(66, 210, 199, 0.22);
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-proof-chain b {
  color: var(--muted);
}

.dashboard-record-milestone {
  border-left-color: var(--amber);
  background: rgba(255, 183, 82, 0.09);
}

.dashboard-record-milestone h4,
.dashboard-record-vault-head h4,
.dashboard-record-proof-card h4,
.dashboard-record-proof-card p {
  margin: 0;
}

.dashboard-record-milestone h4,
.dashboard-record-vault-head h4 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.dashboard-record-vault-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.dashboard-record-proof-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-strong);
}

.dashboard-record-proof-card h4 {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.22;
}

.dashboard-record-proof-card p {
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.38;
  text-transform: none;
}

.dashboard-record-proof-card .mini-detail-list {
  margin-top: 0;
}

.dashboard-record-proof-card .mini-detail-list div {
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1fr);
}

.dashboard-panel {
  display: none;
}

.dashboard-panel.active-dashboard-panel,
.dashboard-gate {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.055), rgba(121, 174, 252, 0.028) 58%, rgba(255, 255, 255, 0)),
    var(--panel);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

body.theme-light .dashboard-panel.active-dashboard-panel,
body.theme-light .dashboard-gate {
  border-color: rgba(8, 122, 118, 0.2);
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.98), rgba(246, 250, 255, 0.98)),
    #ffffff;
  box-shadow: 0 10px 26px rgba(28, 55, 66, 0.12);
}

.dashboard-result-actions {
  align-self: center;
  padding-top: 8px;
  padding-bottom: 0;
}

.finance-report-actions {
  margin-top: 10px;
}

.manual-section-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.manual-section-list section {
  border-left: 3px solid var(--teal);
  padding: 8px 10px;
  background: var(--panel);
}

.manual-section-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.dashboard-panel-head,
.dashboard-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.dashboard-panel-account-tools {
  display: grid;
  gap: 5px;
  justify-items: end;
  align-items: center;
}

.dashboard-panel-account-tools .dashboard-scope-toggle {
  min-height: 28px;
  min-width: 128px;
  justify-self: end;
}

.dashboard-panel-head h2,
.dashboard-action-board h2,
.dashboard-attention-head h3,
.dashboard-panel h3,
.dashboard-metric strong {
  margin: 0;
}

.dashboard-metrics,
.dashboard-card-grid,
.dashboard-overview-grid {
  display: grid;
  gap: 10px;
}

.dashboard-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.dashboard-owner-reliability-shortcut {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.085), rgba(121, 174, 252, 0.075), rgba(239, 189, 90, 0.04)),
    var(--panel-soft);
}

body.theme-light .dashboard-owner-reliability-shortcut {
  border-color: rgba(10, 117, 139, 0.22);
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.98), rgba(244, 249, 255, 0.98)),
    #ffffff;
}

.dashboard-owner-reliability-shortcut h3,
.dashboard-owner-reliability-shortcut p {
  margin: 0;
}

.dashboard-owner-reliability-shortcut h3 {
  color: var(--text);
  line-height: 1.18;
}

.dashboard-owner-reliability-shortcut p {
  max-width: 76ch;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.38;
}

.dashboard-owner-reliability-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 8px;
  min-width: 0;
}

.dashboard-owner-reliability-metrics span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: var(--panel);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
}

.dashboard-owner-reliability-metrics b {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}

.dashboard-owner-reliability-shortcut button {
  align-self: stretch;
  min-width: 150px;
}

.dashboard-guide-presentation {
  display: block;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.055)),
    var(--panel-soft);
}

body.theme-light .dashboard-guide-presentation {
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.98), rgba(244, 249, 255, 0.98)),
    #ffffff;
}

.dashboard-guide-presentation > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

.dashboard-guide-presentation > summary::-webkit-details-marker {
  display: none;
}

.dashboard-guide-presentation > summary h3,
.dashboard-guide-presentation > summary p,
.dashboard-guide-slide h4,
.dashboard-guide-slide p {
  margin: 0;
}

.dashboard-guide-presentation > summary p:not(.eyebrow),
.dashboard-guide-slide p {
  max-width: 78ch;
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.38;
}

.dashboard-guide-presentation > summary::after {
  content: "Open guide";
  flex: 0 0 auto;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--panel);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.dashboard-guide-presentation[open] > summary::after {
  content: "Close guide";
}

.dashboard-guide-deck {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.dashboard-guide-slide {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--panel);
}

.dashboard-guide-slide:not(.hero) {
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
}

.dashboard-guide-slide h4 {
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.22;
}

.dashboard-guide-picture {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.18), rgba(121, 174, 252, 0.09)),
    var(--panel-soft);
}

.guide-picture-header {
  width: 48%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0.85;
}

.guide-picture-body {
  display: grid;
  grid-template-columns: 0.34fr repeat(3, 1fr);
  gap: 8px;
}

.guide-picture-nav,
.guide-picture-card {
  min-height: 92px;
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
}

.guide-picture-nav {
  background: rgba(66, 210, 199, 0.12);
}

.guide-picture-card.wide {
  grid-column: span 2;
  box-shadow: inset 4px 0 0 var(--teal);
}

.dashboard-guide-flow {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, auto));
  gap: 8px;
  align-items: center;
  justify-content: start;
  min-width: 0;
}

.dashboard-guide-flow span {
  display: grid;
  gap: 3px;
  min-width: 92px;
  border: 1px solid rgba(66, 210, 199, 0.32);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(66, 210, 199, 0.1);
  text-align: center;
}

.dashboard-guide-flow b {
  color: var(--ink);
  font-size: 1rem;
}

.dashboard-guide-flow small,
.dashboard-guide-flow i {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 850;
  font-style: normal;
}

.dashboard-guide-definition-grid,
.dashboard-guide-module-grid {
  display: grid;
  gap: 8px;
  min-width: 0;
}

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

.dashboard-guide-module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-guide-definition-grid article,
.dashboard-guide-module-grid article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-soft);
}

.dashboard-guide-definition-grid strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  line-height: 1.18;
}

.dashboard-command-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.dashboard-command-action-board {
  display: grid;
  gap: 10px;
  border-color: rgba(66, 210, 199, 0.28);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.095), rgba(121, 174, 252, 0.06)),
    var(--panel-soft);
  box-shadow: inset 4px 0 0 rgba(66, 210, 199, 0.74);
}

body.theme-light .dashboard-command-action-board {
  border-color: rgba(10, 117, 139, 0.2);
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(244, 249, 255, 0.98)),
    #ffffff;
}

.dashboard-command-action-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.dashboard-command-action-head > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-command-action-head h3,
.dashboard-command-action-head p {
  margin: 0;
}

.dashboard-command-action-head p:not(.eyebrow) {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.4;
}

.dashboard-runtime-source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(66, 210, 199, 0.32);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(66, 210, 199, 0.08);
  color: var(--ink);
}

.dashboard-runtime-source-strip.warning {
  border-color: rgba(239, 189, 90, 0.42);
  background: rgba(239, 189, 90, 0.1);
}

.dashboard-runtime-source-strip strong,
.dashboard-runtime-source-strip span {
  font-size: 0.84rem;
  line-height: 1.25;
}

.dashboard-runtime-source-strip strong {
  text-transform: uppercase;
  letter-spacing: 0;
}

.dashboard-runtime-source-strip span {
  color: var(--muted-strong);
  font-weight: 800;
}

.dashboard-aws-inventory-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.06)),
    var(--panel-soft);
}

body.theme-light .dashboard-aws-inventory-panel {
  border-color: rgba(10, 117, 139, 0.2);
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(244, 249, 255, 0.98)),
    #ffffff;
}

.dashboard-aws-inventory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.dashboard-aws-inventory-head h4,
.dashboard-aws-inventory-head p {
  margin: 0;
}

.dashboard-aws-inventory-head h4 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.24;
}

.dashboard-aws-inventory-head p:not(.eyebrow) {
  max-width: 84ch;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.38;
}

.dashboard-aws-inventory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(96px, 1fr));
  gap: 8px;
}

.dashboard-aws-inventory-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: var(--panel);
}

.dashboard-aws-inventory-grid span,
.dashboard-aws-inventory-grid small {
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

.dashboard-aws-inventory-grid strong {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}

.dashboard-aws-inventory-panel .mini-detail-list div {
  grid-template-columns: minmax(92px, 0.24fr) minmax(0, 1fr);
  gap: 7px;
  border-left: 3px solid var(--teal);
}

.dashboard-aws-inventory-panel .mini-detail-list dd {
  overflow-wrap: anywhere;
}

.dashboard-first-day-guide {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(66, 210, 199, 0.3);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.12), rgba(121, 174, 252, 0.07)),
    rgba(255, 255, 255, 0.04);
}

body.theme-light .dashboard-first-day-guide {
  background:
    linear-gradient(135deg, rgba(238, 253, 250, 0.98), rgba(245, 250, 255, 0.96)),
    #ffffff;
}

.dashboard-first-day-copy {
  display: grid;
  gap: 4px;
  max-width: 980px;
}

.dashboard-first-day-copy h3,
.dashboard-first-day-copy p {
  margin: 0;
}

.dashboard-first-day-copy h3 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
}

.dashboard-first-day-copy p,
.dashboard-first-day-next li {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 730;
  line-height: 1.38;
}

.dashboard-first-day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-first-day-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
}

body.theme-light .dashboard-first-day-grid article {
  background: rgba(255, 255, 255, 0.86);
}

.dashboard-first-day-grid span,
.dashboard-first-day-grid small,
.dashboard-first-day-next strong {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 930;
  text-transform: uppercase;
}

.dashboard-first-day-grid strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.16;
}

.dashboard-first-day-grid small {
  line-height: 1.25;
}

.dashboard-first-day-next {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(121, 174, 252, 0.16);
  padding-top: 10px;
}

.dashboard-first-day-next ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.dashboard-first-day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-first-day-actions button {
  min-height: 34px;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--panel-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
}

.dashboard-first-day-actions button:hover,
.dashboard-first-day-actions button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-executive-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(260px, 1.45fr) minmax(150px, 0.72fr) minmax(180px, 0.88fr);
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.dashboard-trust-card,
.dashboard-velocity-card,
.dashboard-executive-summary,
.dashboard-ai-snapshot {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

body.theme-light .dashboard-trust-card,
body.theme-light .dashboard-velocity-card,
body.theme-light .dashboard-executive-summary,
body.theme-light .dashboard-ai-snapshot {
  background: rgba(255, 255, 255, 0.82);
}

.dashboard-trust-card {
  border-left: 4px solid var(--teal);
}

.dashboard-trust-score,
.dashboard-ai-snapshot > div {
  display: grid;
  gap: 2px;
}

.dashboard-trust-card .trust-score-value {
  color: var(--text);
  font-size: 2rem;
  line-height: 0.95;
}

.dashboard-trust-card .trust-score-value span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.dashboard-trust-card small,
.dashboard-velocity-card small,
.dashboard-ai-snapshot small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.dashboard-trust-card dl,
.dashboard-ai-snapshot dl,
.investigation-history-card dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

.dashboard-trust-card dl div,
.dashboard-ai-snapshot dl div,
.investigation-history-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  border-top: 1px solid rgba(121, 174, 252, 0.14);
  padding-top: 5px;
}

.dashboard-trust-card dt,
.dashboard-ai-snapshot dt,
.investigation-history-card dt {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-trust-card dd,
.dashboard-ai-snapshot dd,
.investigation-history-card dd {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 920;
  text-align: right;
}

.dashboard-trust-card dt small,
.dashboard-trust-card dd small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 880;
  line-height: 1.15;
  text-transform: uppercase;
}

.dashboard-executive-summary {
  border-left: 4px solid var(--blue);
}

.dashboard-executive-summary h4,
.dashboard-recent-records h4,
.dashboard-ai-performance h4 {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.dashboard-executive-summary ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 740;
  line-height: 1.34;
}

.dashboard-velocity-card {
  border-left: 4px solid var(--gold);
}

.dashboard-velocity-card strong,
.dashboard-ai-snapshot strong {
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
}

.dashboard-velocity-card em {
  color: var(--teal-strong);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.dashboard-velocity-card .pill {
  justify-self: start;
}

.dashboard-ai-snapshot {
  border-left: 4px solid var(--blue);
}

.dashboard-ai-snapshot button,
.dashboard-recent-record-list button {
  min-height: 32px;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--panel-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  text-align: left;
}

.dashboard-ai-snapshot button:hover,
.dashboard-ai-snapshot button:focus-visible,
.dashboard-recent-record-list button:hover,
.dashboard-recent-record-list button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-command-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 10px;
  align-items: start;
}

.dashboard-action-metric-shell {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.dashboard-action-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 6px;
  padding: 8px;
  background: rgba(66, 210, 199, 0.035);
}

.dashboard-workspace-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.045)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-workspace-status {
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(245, 249, 255, 0.98)),
    #ffffff;
}

.dashboard-workspace-status-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dashboard-workspace-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  gap: 6px;
  flex: 0 0 360px;
  align-content: center;
}

.dashboard-workspace-status span,
.dashboard-workspace-status small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 930;
  text-transform: uppercase;
}

.dashboard-workspace-status strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-workspace-status p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 740;
  line-height: 1.36;
}

.dashboard-workspace-status small {
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-radius: 999px;
  padding: 6px 8px;
  text-align: center;
  line-height: 1.25;
  background: rgba(121, 174, 252, 0.08);
}

.dashboard-operational-value-board {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.06), rgba(121, 174, 252, 0.04)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-operational-value-board {
  background:
    linear-gradient(135deg, rgba(245, 253, 251, 0.98), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

.dashboard-operational-value-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.dashboard-operational-value-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dashboard-operational-value-head span,
.dashboard-operational-value-head small,
.dashboard-operational-value-grid span,
.dashboard-operational-value-grid small,
.dashboard-operational-value-trends span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 930;
  text-transform: uppercase;
}

.dashboard-operational-value-head strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.2;
}

.dashboard-operational-value-head b {
  flex: 0 0 auto;
  border: 1px solid rgba(66, 210, 199, 0.32);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(66, 210, 199, 0.1);
  color: var(--teal-strong);
  font-size: 0.72rem;
  font-weight: 930;
}

.dashboard-maturity-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-maturity-journey li {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  padding: 8px;
  background: rgba(121, 174, 252, 0.045);
}

.dashboard-maturity-journey li.complete {
  border-color: rgba(131, 214, 156, 0.28);
  background: rgba(131, 214, 156, 0.08);
}

.dashboard-maturity-journey li.active {
  border-color: rgba(66, 210, 199, 0.42);
  background: rgba(66, 210, 199, 0.12);
  box-shadow: inset 3px 0 0 var(--teal);
}

.dashboard-maturity-journey span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-maturity-journey strong {
  color: var(--text);
  font-size: 0.72rem;
  line-height: 1.18;
}

.dashboard-baseline-progress {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 6px;
  padding: 8px;
  background: rgba(66, 210, 199, 0.06);
}

.dashboard-baseline-progress > div:first-child {
  display: grid;
  gap: 2px;
}

.dashboard-baseline-progress span,
.dashboard-baseline-progress b,
.dashboard-baseline-progress strong {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-baseline-progress strong,
.dashboard-baseline-progress b {
  color: var(--text);
}

.dashboard-baseline-meter {
  position: relative;
  overflow: hidden;
  height: 10px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 999px;
  background: rgba(121, 174, 252, 0.09);
}

.dashboard-baseline-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), rgba(121, 174, 252, 0.88));
}

.dashboard-operational-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-operational-value-grid article {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
}

body.theme-light .dashboard-operational-value-grid article {
  background: rgba(255, 255, 255, 0.74);
}

.dashboard-operational-value-grid strong {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--text);
  font-size: 1.34rem;
  line-height: 1;
}

.value-trend {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(121, 174, 252, 0.28);
  border-radius: 999px;
  padding: 0 7px;
  background: rgba(121, 174, 252, 0.08);
  color: var(--blue);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 920;
  line-height: 1;
}

.dashboard-operational-value-trends {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-operational-value-trends div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(66, 210, 199, 0.06);
}

.dashboard-operational-value-trends strong {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.dashboard-operational-value-trends .dashboard-mini-trend {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  align-items: end;
  border-radius: 6px;
}

.dashboard-mini-trend .mini-trend-bars {
  grid-column: 1 / -1;
}

.dashboard-mini-trend small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-trend-bars {
  display: flex;
  gap: 3px;
  align-items: end;
  min-height: 34px;
}

.mini-trend-bars i {
  display: block;
  width: 100%;
  min-width: 5px;
  height: max(7px, var(--bar));
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, rgba(121, 174, 252, 0.88), rgba(66, 210, 199, 0.82));
}

.dashboard-stage-progress {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  padding: 8px;
  background: rgba(121, 174, 252, 0.05);
}

.dashboard-stage-progress > strong {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.2;
}

.dashboard-stage-progress span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(66, 210, 199, 0.06);
}

.dashboard-stage-progress em,
.dashboard-stage-progress b,
.dashboard-stage-progress small {
  color: var(--muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-stage-progress b {
  color: var(--text);
}

.dashboard-stage-progress small {
  grid-column: 1 / -1;
  line-height: 1.3;
  text-transform: none;
}

.dashboard-recent-records {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  padding: 9px;
  background: rgba(121, 174, 252, 0.05);
}

.dashboard-recent-records > div:first-child {
  display: grid;
  gap: 3px;
}

.dashboard-recent-record-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-recent-record-list button {
  display: grid;
  gap: 4px;
  min-height: 58px;
  align-content: start;
}

.dashboard-recent-record-list strong {
  overflow: hidden;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-recent-record-list span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-recent-record-list small {
  color: var(--teal-strong);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.2;
}

.dashboard-recent-record-empty {
  grid-column: 1 / -1;
}

body.theme-light .dashboard-action-metric-grid {
  background: rgba(245, 253, 251, 0.8);
}

.dashboard-action-metric-card {
  display: grid;
  grid-template-rows: none;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 6px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-action-metric-card {
  background: rgba(255, 255, 255, 0.88);
}

.metric-card-head,
.metric-status-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.metric-card-head small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 920;
  text-transform: uppercase;
}

.metric-status-row {
  align-items: stretch;
}

.dashboard-action-metric-card span,
.dashboard-command-ticket-head small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 920;
  text-transform: uppercase;
}

.metric-status-row span,
.metric-status-row small,
.metric-trend {
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(121, 174, 252, 0.08);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 930;
  text-transform: uppercase;
  line-height: 1.1;
}

.metric-status-row small {
  color: var(--muted);
  text-align: right;
}

.dashboard-action-metric-card strong {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.2;
}

.dashboard-action-metric-card b {
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
}

.metric-score-line {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.metric-trend-indicator {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 28px;
  height: 28px;
  max-width: 100%;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(121, 174, 252, 0.1);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.metric-trend-indicator.trend-improving,
.metric-trend-indicator.trend-strong-improvement,
.value-trend.trend-improving,
.value-trend.trend-strong-improvement {
  border-color: rgba(8, 122, 118, 0.32);
  background: rgba(66, 210, 199, 0.1);
  color: var(--teal);
}

.metric-trend-indicator.trend-declining,
.metric-trend-indicator.trend-strong-decline,
.value-trend.trend-declining,
.value-trend.trend-strong-decline {
  border-color: rgba(177, 61, 70, 0.3);
  background: rgba(177, 61, 70, 0.08);
  color: var(--red);
}

.metric-trend-indicator.trend-building-baseline,
.metric-trend-indicator.trend-insufficient-history,
.value-trend.trend-building-baseline,
.value-trend.trend-insufficient-history {
  border-color: rgba(180, 106, 0, 0.28);
  background: rgba(245, 169, 73, 0.1);
  color: var(--gold);
}

.dashboard-action-metric-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 740;
  line-height: 1.35;
}

.metric-trend {
  justify-self: start;
  border-color: rgba(66, 210, 199, 0.32);
  background: rgba(66, 210, 199, 0.1);
  color: var(--teal-strong);
}

.metric-more-info {
  justify-self: end;
  align-self: end;
  min-height: 28px;
  border: 1px solid rgba(121, 174, 252, 0.32);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--panel-strong);
  color: var(--blue);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
}

.dashboard-action-metric-tools {
  display: flex;
  justify-content: flex-end;
}

.metric-more-info:hover,
.metric-more-info:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.metric-detail-drawer {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.metric-detail-drawer-all {
  border: 1px solid rgba(66, 210, 199, 0.2);
  border-radius: 8px;
  padding: 9px;
  background: rgba(66, 210, 199, 0.045);
}

.metric-detail-block {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 7px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .metric-detail-block {
  background: rgba(255, 255, 255, 0.82);
}

.metric-detail-block-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.metric-detail-block > p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 740;
  line-height: 1.35;
}

.metric-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.metric-breakdown,
.metric-next-action {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 6px;
  padding: 7px;
  background: rgba(66, 210, 199, 0.045);
}

.metric-breakdown > strong,
.metric-next-action > strong {
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 930;
  letter-spacing: 0;
  text-transform: uppercase;
}

.metric-next-action {
  border-color: rgba(253, 185, 78, 0.26);
  background: rgba(253, 185, 78, 0.07);
}

.metric-card-section {
  align-self: start;
}

.metric-signal-list {
  display: grid;
  gap: 5px;
  margin: 0;
}

.metric-signal-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.metric-signal-list dt,
.metric-signal-list dd {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 820;
}

.metric-signal-list dd {
  color: var(--text);
  font-weight: 920;
  text-align: right;
}

.metric-explanation-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-explanation-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}

.metric-explanation-list span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 950;
}

.metric-explanation-list li.good span {
  background: rgba(66, 210, 199, 0.12);
  color: var(--teal);
}

.metric-explanation-list li.warning span {
  background: rgba(245, 169, 73, 0.13);
  color: var(--gold);
}

.metric-explanation-list p {
  margin: 0;
}

.internal-scoring-debug {
  border-color: rgba(177, 61, 70, 0.22);
  background: rgba(177, 61, 70, 0.05);
}

.dashboard-action-metric-card .mini-detail-list {
  gap: 4px;
}

.dashboard-action-metric-card .mini-detail-list div {
  grid-template-columns: minmax(78px, 0.44fr) minmax(0, 1fr);
  gap: 6px;
}

.dashboard-investigation-layer {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.075), rgba(66, 210, 199, 0.045)),
    var(--panel-soft);
}

body.theme-light .dashboard-investigation-layer {
  background:
    linear-gradient(135deg, rgba(246, 250, 255, 0.98), rgba(238, 252, 250, 0.96)),
    #ffffff;
}

.dashboard-investigation-summary {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(66, 210, 199, 0.06);
}

.dashboard-investigation-summary strong {
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.2;
}

.dashboard-investigation-summary p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 740;
  line-height: 1.42;
}

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

.dashboard-investigation-stat {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-radius: 6px;
  padding: 8px;
  background: rgba(121, 174, 252, 0.07);
}

.dashboard-investigation-stat span,
.dashboard-investigation-stat small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-investigation-stat strong {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}

.dashboard-investigation-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.dashboard-investigation-head h4,
.dashboard-investigation-head p {
  margin: 0;
}

.dashboard-investigation-head h4 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-investigation-head p:not(.eyebrow) {
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 740;
  line-height: 1.35;
}

.dashboard-investigation-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: 420px;
}

.dashboard-investigation-pills span {
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(121, 174, 252, 0.08);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 930;
  text-transform: uppercase;
}

.dashboard-investigation-queue {
  gap: 8px;
}

.dashboard-investigation-queue-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.dashboard-investigation-queue-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-investigation-queue-head h4,
.dashboard-investigation-queue-head p {
  margin: 0;
}

.dashboard-investigation-queue-head h4 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-investigation-queue-head p:not(.eyebrow) {
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 740;
  line-height: 1.35;
}

.dashboard-advanced-search {
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-radius: 6px;
  padding: 7px;
  background: rgba(121, 174, 252, 0.045);
}

body.theme-light .dashboard-advanced-search {
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-advanced-search summary {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--panel-strong);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-advanced-search summary:hover,
.dashboard-advanced-search summary:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-advanced-search[open] summary {
  margin-bottom: 8px;
}

.dashboard-investigation-list {
  display: grid;
  gap: 8px;
}

.dashboard-investigation-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 6px;
  padding: 10px;
  background: rgba(66, 210, 199, 0.045);
}

.dashboard-investigation-card-head,
.dashboard-investigation-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.dashboard-investigation-card-head {
  justify-content: space-between;
}

.dashboard-investigation-card-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr 1fr;
  gap: 8px;
}

.dashboard-investigation-card-main section {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.16);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-investigation-card-main section {
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-investigation-card h3,
.dashboard-investigation-card strong {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.18;
}

.dashboard-investigation-card p,
.dashboard-investigation-card small {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.32;
}

.dashboard-investigation-card small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-investigation-id-link,
.dashboard-investigation-card-foot button {
  min-height: 28px;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(121, 174, 252, 0.1);
  color: var(--blue);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 920;
}

.dashboard-investigation-id-link:hover,
.dashboard-investigation-id-link:focus-visible,
.dashboard-investigation-card-foot button:hover,
.dashboard-investigation-card-foot button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.investigation-type {
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(121, 174, 252, 0.08);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 930;
  text-transform: uppercase;
}

.investigation-type.type-incident {
  border-color: rgba(177, 61, 70, 0.28);
  background: rgba(177, 61, 70, 0.08);
  color: var(--red);
}

.investigation-type.type-cost {
  border-color: rgba(180, 106, 0, 0.34);
  background: rgba(245, 169, 73, 0.1);
  color: var(--gold);
}

.investigation-type.type-security {
  border-color: rgba(223, 122, 54, 0.34);
  background: rgba(223, 122, 54, 0.1);
  color: #b45b2a;
}

.investigation-type.type-outcome {
  border-color: rgba(8, 122, 118, 0.3);
  background: rgba(66, 210, 199, 0.1);
  color: var(--teal);
}

.dashboard-investigation-evidence {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 740;
  line-height: 1.32;
}

.investigation-impact {
  font-size: 1.1rem;
}

.investigation-priority {
  color: var(--red) !important;
}

.investigation-card-intelligence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.investigation-trace-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  padding: 7px;
  background: rgba(121, 174, 252, 0.045);
}

.investigation-trace-step {
  display: grid;
  gap: 2px;
  flex: 1 1 180px;
  min-width: 0;
}

.investigation-trace-step span,
.investigation-trace-step small,
.investigation-trace-step em {
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.investigation-trace-step strong {
  overflow: hidden;
  color: var(--blue);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investigation-trace-step small {
  color: var(--muted-strong);
  text-transform: none;
}

.investigation-trace-chain > b {
  display: grid;
  align-items: center;
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 1rem;
  line-height: 1;
}

.investigation-lifecycle-chain {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  background: rgba(121, 174, 252, 0.045);
  list-style: none;
}

.investigation-lifecycle-chain li {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.16);
  border-radius: 6px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .investigation-lifecycle-chain li {
  background: rgba(255, 255, 255, 0.76);
}

.investigation-lifecycle-chain span,
.investigation-lifecycle-chain small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.investigation-lifecycle-chain strong {
  overflow: hidden;
  color: var(--blue);
  font-size: 0.76rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investigation-lifecycle-chain small {
  color: var(--muted-strong);
  text-transform: none;
}

.investigation-lifecycle-chain > b {
  display: none;
}

.investigation-detail-intelligence-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(160px, 0.9fr));
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.investigation-confidence-breakdown,
.investigation-impact-card,
.investigation-history-card,
.investigation-correlation-card,
.investigation-timeline,
.investigation-runbook,
.dashboard-workspace-activity,
.dashboard-ai-performance {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 9px;
  background: rgba(121, 174, 252, 0.05);
}

body.theme-light .investigation-confidence-breakdown,
body.theme-light .investigation-impact-card,
body.theme-light .investigation-history-card,
body.theme-light .investigation-correlation-card,
body.theme-light .investigation-timeline,
body.theme-light .investigation-runbook,
body.theme-light .dashboard-workspace-activity,
body.theme-light .dashboard-ai-performance {
  background: rgba(255, 255, 255, 0.78);
}

.investigation-confidence-breakdown {
  border-left: 4px solid var(--blue);
}

.investigation-impact-card {
  border-left: 4px solid var(--gold);
}

.investigation-history-card,
.investigation-correlation-card {
  border-left: 4px solid var(--teal);
}

.investigation-confidence-breakdown > div:first-child,
.investigation-runbook > div:first-child,
.dashboard-ai-performance > div:first-child {
  display: grid;
  gap: 2px;
}

.investigation-confidence-breakdown strong,
.investigation-impact-card strong,
.investigation-history-card strong,
.investigation-correlation-card strong,
.investigation-timeline > strong,
.investigation-runbook strong {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.2;
}

.investigation-confidence-breakdown small,
.investigation-correlation-card small,
.investigation-runbook small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.confidence-row {
  display: grid;
  grid-template-columns: minmax(70px, 0.75fr) minmax(72px, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.confidence-row span,
.confidence-row b,
.investigation-impact-card span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.confidence-row i {
  position: relative;
  display: block;
  overflow: hidden;
  height: 8px;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 999px;
  background: rgba(121, 174, 252, 0.08);
}

.confidence-row i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--confidence);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  content: "";
}

.confidence-row b {
  color: var(--text);
}

.investigation-impact-card div {
  display: grid;
  grid-template-columns: minmax(86px, 0.8fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.investigation-impact-card b {
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.25;
}

.investigation-correlation-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.34;
}

.investigation-timeline ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.investigation-timeline li {
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: 7px;
  background: rgba(121, 174, 252, 0.07);
}

.investigation-timeline span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.investigation-timeline b {
  color: var(--text);
  font-size: 0.72rem;
  line-height: 1.2;
}

.investigation-runbook {
  border-left: 4px solid var(--teal);
}

.investigation-runbook .mini-detail-list div {
  grid-template-columns: minmax(132px, 0.3fr) minmax(0, 1fr);
}

.dashboard-ai-performance {
  border-left: 4px solid var(--blue);
}

.dashboard-workspace-activity {
  border-left: 4px solid var(--teal);
}

.dashboard-workspace-activity > div:first-child {
  display: grid;
  gap: 2px;
}

.dashboard-workspace-activity h4 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
}

.section-note {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.35;
}

.dashboard-ai-performance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-investigation-card-foot {
  justify-content: flex-start;
  border-top: 1px solid rgba(121, 174, 252, 0.18);
  padding-top: 7px;
}

.dashboard-investigation-card-foot span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 880;
}

.dashboard-action-filter-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 6px;
}

.dashboard-action-filter-buttons button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 6px;
  padding: 0 8px;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 880;
  text-align: center;
}

.dashboard-action-filter-buttons button:hover,
.dashboard-action-filter-buttons button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-action-filter-buttons button.active {
  border-color: rgba(10, 117, 139, 0.48);
  background: rgba(66, 210, 199, 0.12);
  color: var(--teal);
}

.dashboard-action-filter-buttons button.needs-page-response {
  border-color: rgba(255, 122, 122, 0.54);
  background: rgba(255, 122, 122, 0.12);
  color: var(--red);
}

body.theme-light .dashboard-action-filter-buttons button.needs-page-response {
  border-color: rgba(177, 61, 70, 0.34);
  background: rgba(177, 61, 70, 0.08);
}

.dashboard-command-ticket-board {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.dashboard-command-ticket-board.attention-ticket-board {
  border: 1px solid rgba(66, 210, 199, 0.2);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(131, 214, 156, 0.075), rgba(66, 210, 199, 0.055)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-command-ticket-board.attention-ticket-board {
  border-color: rgba(34, 116, 73, 0.18);
  border-left-color: var(--green);
  background:
    linear-gradient(135deg, rgba(245, 255, 249, 0.98), rgba(239, 253, 250, 0.96)),
    #ffffff;
}

.dashboard-command-ticket-board.attention-ticket-board.has-attention {
  border-left-color: var(--red);
  background:
    linear-gradient(135deg, rgba(255, 122, 122, 0.055), rgba(66, 210, 199, 0.035)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-command-ticket-board.attention-ticket-board.has-attention {
  border-color: rgba(10, 117, 139, 0.2);
  border-left-color: var(--red);
  background:
    linear-gradient(135deg, rgba(255, 249, 249, 0.98), rgba(242, 252, 250, 0.96)),
    #ffffff;
}

.dashboard-command-ticket-board.attention-ticket-board.no-attention .dashboard-card {
  border-color: rgba(131, 214, 156, 0.32);
  background:
    linear-gradient(135deg, rgba(131, 214, 156, 0.08), rgba(66, 210, 199, 0.045)),
    var(--panel-soft);
}

body.theme-light .dashboard-command-ticket-board.attention-ticket-board.no-attention .dashboard-card {
  border-color: rgba(34, 116, 73, 0.22);
  background:
    linear-gradient(135deg, rgba(247, 255, 250, 0.98), rgba(239, 253, 250, 0.96)),
    #ffffff;
}

.dashboard-command-ticket-board.attention-ticket-board.no-attention .pill.info {
  border-color: rgba(131, 214, 156, 0.42);
  background: rgba(131, 214, 156, 0.1);
  color: var(--green);
}

.dashboard-command-ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.dashboard-command-ticket-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dashboard-command-ticket-head strong {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-command-ticket-head button {
  min-height: 30px;
  border: 1px solid rgba(121, 174, 252, 0.32);
  border-radius: 6px;
  padding: 0 9px;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 860;
}

.dashboard-command-ticket-head button:hover,
.dashboard-command-ticket-head button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-command-ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}

.dashboard-paged-ticket-board {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(239, 189, 90, 0.055), rgba(66, 210, 199, 0.04)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-paged-ticket-board {
  border-color: rgba(10, 117, 139, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(241, 253, 251, 0.98)),
    #ffffff;
}

.dashboard-paged-ticket-grid {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.dashboard-paged-ticket-strip {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
}

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

.dashboard-paged-swap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 32px;
  height: 34px;
  min-width: 0;
  min-height: 34px;
  border: 1px solid rgba(121, 174, 252, 0.28);
  border-radius: 6px;
  background: var(--panel-strong);
  color: var(--muted-strong);
  font-size: 1.2rem;
  font-weight: 900;
}

.dashboard-paged-swap:hover,
.dashboard-paged-swap:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-paged-swap:disabled {
  cursor: default;
  opacity: 0.35;
}

.dashboard-paged-ticket {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
}

body.theme-light .dashboard-paged-ticket {
  background: rgba(255, 255, 255, 0.9);
}

.dashboard-paged-ticket.needs-response {
  border-color: rgba(255, 122, 122, 0.42);
  border-left: 4px solid var(--red);
  background:
    linear-gradient(135deg, rgba(255, 122, 122, 0.07), rgba(66, 210, 199, 0.035)),
    rgba(255, 255, 255, 0.045);
}

body.theme-light .dashboard-paged-ticket.needs-response {
  border-color: rgba(177, 61, 70, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 249, 249, 0.98), rgba(242, 252, 250, 0.96)),
    #ffffff;
}

.dashboard-paged-ticket.accepted {
  border-color: rgba(66, 210, 199, 0.34);
  border-left: 4px solid var(--teal);
  background: rgba(66, 210, 199, 0.08);
}

.dashboard-paged-ticket h4,
.dashboard-paged-ticket p {
  margin: 0;
}

.dashboard-paged-ticket h4 {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
}

.dashboard-paged-ticket p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.3;
}

.dashboard-page-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.dashboard-page-actions button[data-dashboard-page-response="accept"] {
  border-color: rgba(8, 122, 118, 0.42);
  background: rgba(66, 210, 199, 0.13);
  color: var(--teal);
}

.dashboard-page-actions button:disabled {
  cursor: default;
  opacity: 0.68;
}

.dashboard-page-actions button[data-dashboard-page-response="decline"] {
  border-color: rgba(255, 122, 122, 0.42);
  background: rgba(255, 122, 122, 0.1);
  color: var(--red);
}

.dashboard-page-state {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  background: var(--panel-soft);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.25;
}

.dashboard-command-ticket {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  min-height: 126px;
  border: 1px solid rgba(121, 174, 252, 0.28);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

body.theme-light .dashboard-command-ticket {
  background: rgba(255, 255, 255, 0.86);
}

.dashboard-command-ticket.needs-attention {
  border-color: rgba(255, 122, 122, 0.3);
  border-left: 4px solid var(--red);
  background:
    linear-gradient(135deg, rgba(255, 122, 122, 0.07), rgba(121, 174, 252, 0.035)),
    rgba(255, 255, 255, 0.04);
}

body.theme-light .dashboard-command-ticket.needs-attention {
  border-color: rgba(177, 61, 70, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 248, 248, 0.96), rgba(248, 251, 255, 0.94)),
    #ffffff;
}

.dashboard-command-ticket:hover,
.dashboard-command-ticket:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--text);
}

.dashboard-command-ticket .pill {
  width: 100%;
  min-height: 24px;
  justify-content: center;
  padding: 0 7px;
  font-size: 0.68rem;
}

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

.dashboard-command-ticket strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.2;
}

.dashboard-command-ticket small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 820;
  line-height: 1.25;
}

.dashboard-ticket-issue {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.2);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 6px 7px;
  background: rgba(66, 210, 199, 0.055);
  color: var(--muted-strong);
  font-style: normal;
}

body.theme-light .dashboard-ticket-issue {
  background: rgba(239, 253, 250, 0.82);
}

.dashboard-ticket-issue b {
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.dashboard-ticket-issue em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.25;
}

.ticket-detail-hero .dashboard-ticket-issue {
  margin-top: 8px;
  max-width: 820px;
}

.ticket-detail-hero .dashboard-ticket-issue em {
  -webkit-line-clamp: 3;
  font-size: 0.88rem;
  line-height: 1.35;
}

.dashboard-command-process-strip,
.dashboard-command-performance-strip {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.dashboard-command-process-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-command-step {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 82px;
  border: 1px solid rgba(121, 174, 252, 0.28);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

body.theme-light .dashboard-command-step {
  background: rgba(255, 255, 255, 0.82);
}

.dashboard-command-step:hover,
.dashboard-command-step:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--text);
}

.dashboard-command-step span,
.dashboard-command-performance-strip span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-command-step strong {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
}

.dashboard-command-step small {
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.25;
}

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

.dashboard-command-performance-strip div {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 6px;
  padding: 8px;
  background: rgba(66, 210, 199, 0.08);
}

.dashboard-command-performance-strip strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1;
}

.dashboard-command-rules {
  min-width: 0;
}

.dashboard-action-rules {
  display: block;
  min-width: 0;
  width: 100%;
}

#dashboard-decision-authority.active-dashboard-panel {
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.09), rgba(121, 174, 252, 0.055)),
    var(--panel);
}

body.theme-light #dashboard-decision-authority.active-dashboard-panel {
  background:
    linear-gradient(135deg, rgba(237, 251, 248, 0.96), rgba(242, 248, 255, 0.98)),
    #ffffff;
}

.dashboard-ownership-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.26);
  border-radius: 6px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(8, 142, 129, 0.1), rgba(20, 92, 164, 0.055)),
    var(--panel-soft);
}

body.theme-light .dashboard-ownership-strip {
  border-color: rgba(10, 117, 139, 0.22);
  background:
    linear-gradient(135deg, rgba(235, 250, 249, 0.98), rgba(245, 250, 253, 0.98)),
    #ffffff;
}

.dashboard-scope-toggle {
  justify-self: start;
  min-height: 30px;
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 6px;
  padding: 0 9px;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 840;
}

.dashboard-scope-toggle:hover,
.dashboard-scope-toggle:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-ownership-head {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.dashboard-ownership-head h3,
.dashboard-ownership-head p {
  margin: 0;
}

.dashboard-ownership-head p:not(.eyebrow),
.ownership-boundary-note {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.38;
}

.ownership-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
}

.ownership-detail-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .ownership-detail-grid div {
  background: rgba(255, 255, 255, 0.75);
}

.ownership-detail-grid dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ownership-detail-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 860;
  line-height: 1.25;
}

.ownership-approver-value {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.inline-configure-button {
  min-height: 26px;
  border: 1px solid rgba(66, 210, 199, 0.45);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(66, 210, 199, 0.12);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 920;
}

.ownership-boundary-note {
  grid-column: 1 / -1;
  margin: 0;
  border-left: 3px solid var(--blue);
  padding: 7px 9px;
  background: rgba(121, 174, 252, 0.08);
}

.dashboard-workflow-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-radius: 6px;
  padding: 7px;
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.08), rgba(66, 210, 199, 0.05)),
    var(--panel-soft);
}

body.theme-light .dashboard-workflow-strip {
  border-color: rgba(36, 95, 168, 0.2);
  background:
    linear-gradient(135deg, rgba(239, 247, 255, 0.98), rgba(237, 251, 248, 0.96)),
    #ffffff;
}

.dashboard-workflow-step {
  display: grid;
  min-width: 0;
  gap: 3px;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 5px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-workflow-step {
  background: rgba(255, 255, 255, 0.82);
}

.dashboard-workflow-step em {
  color: var(--blue);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.dashboard-workflow-step strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 920;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-command-primary,
.dashboard-queue-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  background:
    linear-gradient(135deg, rgba(8, 142, 129, 0.12), rgba(20, 92, 164, 0.08)),
    var(--panel-soft);
}

body.theme-light .dashboard-command-primary,
body.theme-light .dashboard-queue-card {
  border-color: rgba(73, 103, 116, 0.24);
  background:
    linear-gradient(135deg, rgba(228, 247, 244, 0.96), rgba(240, 247, 252, 0.96)),
    #ffffff;
}

.dashboard-command-primary {
  grid-template-columns: minmax(210px, 0.24fr) minmax(0, 1fr);
  align-content: start;
  align-items: start;
}

.dashboard-command-primary > div:first-child {
  display: grid;
  align-content: start;
  gap: 5px;
}

.dashboard-command-primary h3,
.dashboard-queue-card h3 {
  margin: 0;
}

.dashboard-command-primary p,
.dashboard-queue-card p {
  margin: 0;
  color: var(--muted-strong);
}

.dashboard-alert-simulator {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 2px;
}

.dashboard-alert-simulator button {
  min-height: 34px;
  border: 1px solid rgba(66, 210, 199, 0.42);
  border-radius: 6px;
  padding: 7px 10px;
  background: rgba(66, 210, 199, 0.08);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 920;
}

.dashboard-alert-simulator button:hover,
.dashboard-alert-simulator button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
}

.dashboard-alert-simulator button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.dashboard-issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(188px, 1fr));
  gap: 8px;
}

.dashboard-issue-card,
.queue-action-button {
  display: grid;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
}

.dashboard-issue-card {
  gap: 6px;
  align-content: start;
  min-height: 116px;
  padding: 9px;
}

body.theme-light .dashboard-issue-card,
body.theme-light .queue-action-button {
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-issue-card:hover,
.dashboard-issue-card:focus-visible,
.queue-action-button:hover,
.queue-action-button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--text);
}

.dashboard-issue-card strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
}

.connection-card,
.internal-tool-card {
  border-color: rgba(66, 210, 199, 0.28);
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.075), rgba(121, 174, 252, 0.045)),
    var(--panel);
}

.connection-card .mini-detail-list div,
.internal-tool-card .mini-detail-list div {
  border-left: 3px solid var(--teal);
}

.internal-tool-card {
  border-color: rgba(239, 189, 90, 0.28);
}

.internal-tool-card .mini-detail-list div {
  border-left-color: var(--gold);
}

body.theme-light .connection-card,
body.theme-light .internal-tool-card {
  background:
    linear-gradient(145deg, rgba(235, 250, 249, 0.92), rgba(245, 250, 253, 0.98)),
    #ffffff;
}

#dashboard-internal-tools-list {
  grid-template-columns: minmax(0, 1fr);
}

.gaia-internal-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.gaia-internal-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.gaia-internal-split > .gaia-internal-section {
  grid-column: auto;
}

.gaia-internal-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.09), rgba(121, 174, 252, 0.045) 58%, rgba(239, 189, 90, 0.04)),
    var(--panel-soft);
}

body.theme-light .gaia-internal-section {
  background:
    linear-gradient(135deg, rgba(239, 253, 251, 0.98), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

.gaia-internal-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  align-items: center;
}

.gaia-internal-section h3,
.gaia-internal-section h4,
.gaia-internal-section p {
  margin: 0;
}

.gaia-internal-section p,
.gaia-internal-section dd,
.gaia-internal-section small {
  overflow-wrap: normal;
  word-break: normal;
}

.gaia-internal-section-head,
.gaia-internal-model {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.gaia-internal-model {
  display: grid;
  justify-items: end;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel);
  text-align: right;
}

.gaia-internal-model span {
  color: var(--blue);
  font-weight: 900;
}

.gaia-internal-model strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.gaia-internal-model small {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.gaia-internal-metric-grid,
.gaia-funnel-grid,
.gaia-self-signal-grid,
.gaia-feature-signal-list,
.gaia-improvement-velocity {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.gaia-internal-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gaia-funnel-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.gaia-feature-signal-list,
.gaia-improvement-velocity {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gaia-runtime-ledger {
  gap: 14px;
}

.gaia-runtime-stage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.gaia-runtime-stage {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
}

.gaia-runtime-stage-head {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(66, 210, 199, 0.08);
}

.gaia-runtime-stage-head strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.gaia-runtime-stage-head span {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.gaia-runtime-ticket-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.gaia-runtime-ticket-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: 9px;
  background: var(--panel);
}

.gaia-runtime-ticket-card h4,
.gaia-runtime-ticket-card strong,
.gaia-runtime-ticket-card p {
  margin: 0;
}

.gaia-runtime-ticket-card h4 {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.gaia-runtime-ticket-card strong {
  color: var(--muted-strong);
  font-size: 0.78rem;
  line-height: 1.22;
}

.gaia-runtime-ticket-card p {
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.25;
}

.gaia-runtime-ticket-card .mini-detail-list div {
  grid-template-columns: minmax(68px, 0.36fr) minmax(0, 1fr);
  gap: 6px;
}

.gaia-runtime-ticket-card .mini-detail-list dt,
.gaia-runtime-ticket-card .mini-detail-list dd {
  font-size: 0.72rem;
  line-height: 1.2;
}

.gaia-runtime-ticket-card .mini-detail-list dd {
  overflow-wrap: anywhere;
}

.gaia-runtime-empty {
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.3;
}

.gaia-internal-current .gaia-self-signal-grid,
.gaia-internal-current .gaia-feature-signal-list {
  grid-template-columns: minmax(0, 1fr);
}

.gaia-internal-footnote {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.32;
}

.gaia-internal-metric,
.gaia-self-signal-card,
.gaia-feature-signal-list article,
.gaia-improvement-velocity article {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel);
}

.gaia-internal-metric {
  border-left: 4px solid var(--blue);
}

.gaia-internal-metric.tone-healthy {
  border-left-color: var(--teal);
}

.gaia-internal-metric.tone-warning {
  border-left-color: var(--gold);
}

.gaia-internal-metric span,
.gaia-funnel-counts span {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gaia-internal-metric strong {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}

.gaia-internal-metric small {
  color: var(--muted-strong);
  font-weight: 760;
  line-height: 1.25;
}

.gaia-funnel-counts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.gaia-funnel-counts span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(66, 210, 199, 0.08);
  text-align: center;
}

.gaia-funnel-counts b {
  color: var(--ink);
  font-size: 1.2rem;
}

.gaia-self-signal-card h4,
.gaia-feature-signal-list strong,
.gaia-improvement-velocity strong {
  color: var(--ink);
  line-height: 1.2;
}

.gaia-internal-disclosure {
  display: block;
}

.gaia-internal-disclosure > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  list-style: none;
  cursor: pointer;
}

.gaia-internal-disclosure > summary::-webkit-details-marker {
  display: none;
}

.gaia-internal-disclosure > summary p {
  margin-top: 3px;
  max-width: 76ch;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.34;
}

.gaia-internal-disclosure > summary::after {
  content: "Open details";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--panel);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.gaia-internal-disclosure[open] > summary::after {
  content: "Hide details";
}

.gaia-internal-tool-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 12px;
  min-width: 0;
}

.gaia-internal-tool-preview .internal-tool-card {
  min-width: 0;
}

.gaia-internal-tool-preview .internal-tool-card h3,
.gaia-internal-tool-preview .internal-tool-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.gaia-internal-tool-preview .internal-tool-card h3 {
  -webkit-line-clamp: 2;
}

.gaia-internal-tool-preview .internal-tool-card p {
  -webkit-line-clamp: 3;
}

.gaia-internal-tool-preview .mini-detail-list div {
  grid-template-columns: minmax(92px, 0.38fr) minmax(0, 1fr);
  gap: 7px;
}

.gaia-internal-tool-preview .mini-detail-list dd {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.gaia-observer-rule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gaia-observer-rule span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--panel);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.22;
}

.gaia-observer-rule b {
  color: var(--ink);
}

.gaia-observer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  min-width: 0;
}

.gaia-observer-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel);
}

.gaia-observer-grid h4 {
  color: var(--ink);
}

.gaia-observer-grid .mini-detail-list div {
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr);
}

.gaia-observer-grid .mini-detail-list dd {
  overflow-wrap: anywhere;
}

.connection-overview-card,
.connection-guide-page {
  grid-column: 1 / -1;
  border-color: rgba(66, 210, 199, 0.28);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.045)),
    var(--panel);
}

body.theme-light .connection-overview-card,
body.theme-light .connection-guide-page {
  background:
    linear-gradient(135deg, rgba(238, 253, 250, 0.98), rgba(245, 250, 255, 0.96)),
    #ffffff;
}

.connection-overview-card h3,
.connection-overview-card p,
.connection-guide-head h3,
.connection-guide-head p,
.connection-guide-section h4 {
  margin: 0;
}

.connection-overview-card p,
.connection-guide-head p,
.connection-guide-section li {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.4;
}

.connection-tile-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.connection-tile {
  min-height: 164px;
  padding: 12px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.connection-tile h3,
.connection-tile p,
.connection-tile small {
  margin: 0;
}

.connection-tile h3 {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.18;
}

.connection-tile p,
.connection-tile small {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.34;
}

.connection-tile small {
  color: var(--muted);
}

.connection-tile:hover,
.connection-tile:focus-visible {
  border-color: var(--teal);
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.13), rgba(121, 174, 252, 0.07)),
    var(--panel-strong);
  color: var(--text);
}

.connection-guide-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.connection-guide-head > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.connection-guide-head button,
.connection-guide-page .dashboard-card-actions button {
  min-height: 36px;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--panel-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
}

.connection-guide-head button:hover,
.connection-guide-head button:focus-visible,
.connection-guide-page .dashboard-card-actions button:hover,
.connection-guide-page .dashboard-card-actions button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.connection-guide-summary {
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

body.theme-light .connection-guide-summary {
  background: rgba(255, 255, 255, 0.74);
}

.connection-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.connection-guide-section {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.06);
}

body.theme-light .connection-guide-section {
  background: rgba(255, 255, 255, 0.82);
}

.connection-guide-section h4 {
  color: var(--text);
  font-size: 0.9rem;
}

.connection-guide-section ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.dashboard-issue-card span:not(.pill) {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.35;
}

.dashboard-issue-card small {
  align-self: end;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 840;
  line-height: 1.25;
}

.queue-action-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.queue-action-button {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  min-width: 0;
  border-left: 4px solid var(--teal);
  padding: 10px 11px;
}

.queue-action-button.healthy {
  border-left-color: var(--green);
}

.queue-action-button.warning {
  border-left-color: var(--gold);
}

.queue-action-button strong {
  grid-row: span 2;
  color: var(--text);
  font-size: 1.34rem;
  line-height: 1;
}

.queue-action-button span {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 920;
  line-height: 1.2;
}

.queue-action-button small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.25;
}

.queue-action-button em {
  grid-column: 2;
  color: var(--teal);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 930;
  text-transform: uppercase;
}

.approval-policy-summary {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.08), rgba(66, 210, 199, 0.05)),
    var(--panel-soft);
}

body.theme-light .approval-policy-summary {
  border-color: rgba(73, 103, 116, 0.24);
  background:
    linear-gradient(135deg, rgba(239, 247, 255, 0.98), rgba(237, 251, 248, 0.96)),
    #ffffff;
}

.dashboard-action-rules-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

.approval-queue-summary {
  grid-column: 1 / -1;
  border-left: 4px solid var(--teal);
  background: linear-gradient(135deg, rgba(66, 210, 199, 0.13), rgba(121, 174, 252, 0.08));
}

body.theme-light .approval-queue-summary {
  background: linear-gradient(135deg, rgba(66, 210, 199, 0.16), rgba(121, 174, 252, 0.1));
}

.approval-policy-summary > div:first-child {
  display: grid;
  gap: 3px;
}

.approval-policy-summary strong {
  color: var(--text);
}

.approval-policy-summary span {
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.35;
}

.approval-policy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.approval-policy-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 116px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 6px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  overflow-wrap: anywhere;
}

body.theme-light .approval-policy-card {
  background: rgba(255, 255, 255, 0.78);
}

.approval-policy-card:hover,
.approval-policy-card:focus-visible {
  border-color: var(--teal) !important;
  background: var(--interactive-soft);
  color: var(--text);
}

.approval-policy-card strong,
.approval-policy-card small,
.approval-policy-card span {
  line-height: 1.25;
}

.approval-policy-card strong {
  font-size: 0.95rem;
  line-height: 1.16;
}

.approval-policy-card span {
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.approval-policy-card small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 730;
}

.approval-policy-card em {
  align-self: end;
  color: var(--teal);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.approval-green {
  border-color: rgba(77, 201, 122, 0.58) !important;
}

.approval-yellow {
  border-color: rgba(239, 189, 90, 0.66) !important;
}

.approval-orange {
  border-color: rgba(245, 139, 76, 0.72) !important;
}

.approval-red {
  border-color: rgba(234, 94, 94, 0.78) !important;
}

.pill.approval-green {
  background: rgba(77, 201, 122, 0.12);
  color: #63d68a;
}

.pill.approval-yellow {
  background: rgba(239, 189, 90, 0.14);
  color: #efbd5a;
}

.pill.approval-orange {
  background: rgba(245, 139, 76, 0.16);
  color: #f58b4c;
}

.pill.approval-red {
  background: rgba(234, 94, 94, 0.16);
  color: #ff8585;
}

button.approval-green,
button.approval-yellow,
button.approval-orange,
button.approval-red {
  border-left-width: 4px;
}

.dashboard-queue-card .mini-detail-list {
  grid-template-columns: 1fr;
}

.dashboard-queue-card .mini-detail-list div {
  align-items: center;
  border-left-color: var(--blue);
}

.recommendation-card {
  border-color: rgba(66, 210, 199, 0.34);
}

.dashboard-recommendation-section {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(8, 142, 129, 0.07), rgba(20, 92, 164, 0.04)),
    rgba(255, 255, 255, 0.025);
}

body.theme-light .dashboard-recommendation-section {
  border-color: rgba(10, 117, 139, 0.22);
  background: #f4fbfc;
}

.dashboard-recommendation-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.dashboard-recommendation-head h3,
.dashboard-recommendation-head p {
  margin: 0;
}

.dashboard-recommendation-head p:not(.eyebrow) {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 720;
}

.dashboard-starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.compact-recommendation-card {
  gap: 8px;
  padding: 11px;
  grid-template-rows: auto auto minmax(3.2em, 1fr) auto;
}

.compact-recommendation-card h3 {
  font-size: 0.98rem;
  line-height: 1.2;
}

.compact-recommendation-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
}

.production-readiness-panel {
  min-width: 0;
}

.production-readiness-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(121, 174, 252, 0.28);
  border-radius: 6px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(18, 57, 216, 0.08), rgba(8, 142, 129, 0.06)),
    var(--panel-soft);
}

body.theme-light .production-readiness-card {
  border-color: rgba(10, 117, 139, 0.2);
  background:
    linear-gradient(135deg, rgba(238, 249, 251, 0.98), rgba(248, 252, 253, 0.98)),
    #ffffff;
}

.production-started-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.production-started-list span {
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 9px 10px;
  background: rgba(66, 210, 199, 0.08);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
}

.production-component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.production-component-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .production-component-card {
  border-color: rgba(73, 103, 116, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

.production-component-card h4,
.production-component-card p {
  margin: 0;
}

.production-component-card h4 {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.2;
}

.production-component-card p,
.production-component-card small {
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 720;
  line-height: 1.35;
}

.production-component-card small {
  color: var(--muted);
}

body.theme-light .recommendation-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 250, 0.98)),
    #ffffff;
}

.dashboard-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.dashboard-card-grid {
  align-items: start;
  grid-auto-rows: auto;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

#dashboard-business-list {
  grid-template-columns: minmax(0, 1fr);
}

#dashboard-business-list > .dashboard-record-summary,
#dashboard-business-list > .dashboard-workbench,
#dashboard-business-list > .dashboard-detail-overlay {
  grid-column: 1 / -1;
  width: 100%;
}

.dashboard-overview-grid {
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#dashboard-aws-deployment-list {
  align-items: start;
  grid-auto-rows: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-metric,
.dashboard-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.16);
  border-radius: 6px;
  padding: 9px;
  background:
    linear-gradient(180deg, rgba(66, 210, 199, 0.032), rgba(121, 174, 252, 0.024)),
    var(--panel-soft);
}

.dashboard-card .tile-head {
  min-width: 0;
  flex-wrap: wrap;
  align-items: flex-start;
}

.dashboard-card .pill {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

body.theme-light .dashboard-metric,
body.theme-light .dashboard-card {
  border-color: rgba(8, 122, 118, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 250, 0.82)),
    #ffffff;
  box-shadow: 0 8px 20px rgba(28, 55, 66, 0.055);
}

.dashboard-metric {
  color: var(--text);
  text-align: left;
}

.dashboard-metric:hover,
.dashboard-metric:focus-visible {
  border-color: var(--teal);
  background: var(--panel-soft);
  color: var(--text);
}

.dashboard-card {
  align-content: start;
  grid-template-rows: auto;
}

.dashboard-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
}

#dashboard-infrastructure-summary {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-signal-radar,
.dashboard-signal-evidence-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.09), rgba(121, 174, 252, 0.045) 52%, rgba(239, 189, 90, 0.035)),
    var(--panel-soft);
}

body.theme-light .dashboard-signal-radar,
body.theme-light .dashboard-signal-evidence-note {
  border-color: rgba(8, 122, 118, 0.2);
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.98), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

.dashboard-signal-radar.quiet {
  border-left-color: var(--green);
  background:
    linear-gradient(135deg, rgba(131, 214, 156, 0.09), rgba(66, 210, 199, 0.055)),
    var(--panel-soft);
}

body.theme-light .dashboard-signal-radar.quiet {
  border-color: rgba(34, 116, 73, 0.2);
  background:
    linear-gradient(135deg, rgba(247, 255, 250, 0.98), rgba(239, 253, 250, 0.96)),
    #ffffff;
}

.dashboard-signal-radar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.dashboard-signal-radar-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 900px;
}

.dashboard-signal-radar-head h3,
.dashboard-signal-radar-head p,
.dashboard-signal-belief p,
.dashboard-signal-evidence-note p,
.dashboard-signal-empty p {
  margin: 0;
}

.dashboard-signal-radar-head h3 {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.22;
}

.dashboard-signal-radar-head p,
.dashboard-signal-belief p,
.dashboard-signal-evidence-note p,
.dashboard-signal-empty p {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.4;
}

.dashboard-signal-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-signal-categories span {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 860;
  text-transform: uppercase;
}

.dashboard-signal-categories span.active {
  border-color: rgba(66, 210, 199, 0.36);
  background: rgba(66, 210, 199, 0.1);
  color: var(--teal);
}

.dashboard-signal-categories b {
  color: var(--text);
  font-size: 0.88rem;
}

.dashboard-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.dashboard-signal-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--panel);
}

body.theme-light .dashboard-signal-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 250, 0.86)),
    #ffffff;
}

.dashboard-signal-card.cost {
  border-left-color: var(--gold);
  background:
    linear-gradient(135deg, rgba(245, 169, 73, 0.09), rgba(66, 210, 199, 0.04)),
    var(--panel);
}

.dashboard-signal-card.security {
  border-left-color: var(--red);
  background:
    linear-gradient(135deg, rgba(177, 61, 70, 0.075), rgba(121, 174, 252, 0.04)),
    var(--panel);
}

.dashboard-signal-card.availability {
  border-left-color: var(--blue);
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.08), rgba(66, 210, 199, 0.04)),
    var(--panel);
}

.dashboard-signal-card.governance {
  border-left-color: var(--green);
  background:
    linear-gradient(135deg, rgba(30, 180, 105, 0.075), rgba(66, 210, 199, 0.04)),
    var(--panel);
}

.dashboard-signal-card-head {
  display: grid;
  gap: 7px;
}

.dashboard-signal-card-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-signal-card-head small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 860;
  line-height: 1.22;
  text-transform: uppercase;
}

.dashboard-signal-card-head strong,
.dashboard-signal-empty strong,
.dashboard-signal-evidence-note strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.22;
}

.dashboard-signal-priority-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-signal-priority-row div,
.dashboard-signal-timeline {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 7px;
  padding: 9px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.05)),
    rgba(255, 255, 255, 0.04);
}

.dashboard-signal-priority-row span,
.dashboard-signal-timeline > span,
.dashboard-signal-ticket-rule b {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 940;
  text-transform: uppercase;
}

.dashboard-signal-priority-row strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.18;
}

.dashboard-signal-timeline div {
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  border-top: 1px solid rgba(121, 174, 252, 0.16);
  padding-top: 5px;
}

.dashboard-signal-timeline b {
  color: var(--text);
  font-size: 0.72rem;
  line-height: 1.2;
}

.dashboard-signal-timeline small {
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.25;
}

.dashboard-signal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.dashboard-signal-facts div,
.dashboard-signal-belief,
.dashboard-signal-empty {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.16);
  border-radius: 6px;
  padding: 8px;
  background: rgba(66, 210, 199, 0.045);
}

.dashboard-signal-facts dt,
.dashboard-signal-belief span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 930;
  text-transform: uppercase;
}

.dashboard-signal-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.25;
}

.dashboard-signal-belief.next {
  border-color: rgba(121, 174, 252, 0.2);
  background: rgba(121, 174, 252, 0.055);
}

.dashboard-signal-lifecycle {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-signal-lifecycle li {
  min-height: 26px;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-signal-lifecycle li.complete {
  border-color: rgba(66, 210, 199, 0.34);
  background: rgba(66, 210, 199, 0.09);
  color: var(--teal);
}

.dashboard-signal-lifecycle li.current {
  border-color: rgba(239, 189, 90, 0.44);
  background: rgba(239, 189, 90, 0.1);
  color: var(--gold);
}

.dashboard-signal-details {
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-signal-details summary {
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.dashboard-signal-details .detail-list {
  margin-top: 8px;
}

.dashboard-signal-relationship {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.dashboard-signal-relationship span,
.dashboard-signal-relationship b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
}

.dashboard-signal-relationship span {
  border: 1px solid rgba(66, 210, 199, 0.22);
  padding: 5px 8px;
  background: rgba(66, 210, 199, 0.065);
  color: var(--muted-strong);
}

.dashboard-signal-relationship b {
  color: var(--teal);
}

.dashboard-signal-actions {
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.dashboard-signal-evidence-note,
.dashboard-signal-empty {
  border-left-color: var(--green);
}

.dashboard-signal-ticket-rule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.dashboard-signal-ticket-rule span {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 6px;
  padding: 8px;
  background: rgba(66, 210, 199, 0.055);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.32;
}

#dashboard-service-grid {
  grid-template-columns: minmax(0, 1fr);
}

.service-control-board {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.service-control-board-head,
.service-control-head,
.service-control-section-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.service-control-board-head {
  border: 1px solid rgba(66, 210, 199, 0.2);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.045)),
    var(--panel-soft);
}

body.theme-light .service-control-board-head {
  border-color: rgba(8, 122, 118, 0.2);
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.98), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

.service-control-board-head > div,
.service-control-head > div:first-child,
.service-control-section-head {
  min-width: 0;
}

.service-control-board-head h3,
.service-control-board-head p,
.service-control-head h3,
.service-control-head p,
.service-control-reason,
.service-control-section-head strong,
.service-control-section-head span,
.service-control-empty strong,
.service-control-empty span,
.service-control-recommendation strong,
.service-control-recommendation p,
.service-control-can-i strong,
.service-control-can-i span,
.service-control-risk-list span {
  margin: 0;
}

.service-control-board-head h3,
.service-control-head h3 {
  color: var(--text);
  line-height: 1.18;
}

.service-control-board-head h3 {
  font-size: 1.1rem;
}

.service-control-board-head p,
.service-control-head p,
.service-control-reason,
.service-control-recommendation p,
.service-control-can-i span,
.service-control-empty span,
.service-control-risk-list span {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.38;
}

.service-control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.service-control-state-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 8px 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.07), rgba(121, 174, 252, 0.045)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .service-control-state-banner {
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(246, 250, 255, 0.92)),
    #ffffff;
}

.service-control-state-banner strong {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.2;
}

.service-control-state-banner span {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-control-state-banner b {
  color: var(--teal-strong);
  font-size: 0.95rem;
  line-height: 1;
}

.service-control-focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 12px;
  align-items: start;
}

.service-control-focus,
.service-control-index {
  min-width: 0;
}

.service-control-index {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 6px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(66, 210, 199, 0.045), rgba(121, 174, 252, 0.025)),
    var(--panel-soft);
}

body.theme-light .service-control-index {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 250, 0.9)),
    #ffffff;
}

.service-control-index.collapsed {
  align-content: start;
}

.service-control-index-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.service-control-index-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.service-control-index-head strong {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.2;
}

.service-control-index-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
}

.service-control-index-head .load-more-button {
  min-height: 32px;
  padding: 6px 10px;
  white-space: nowrap;
}

.service-control-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.service-control-index-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 116px;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
}

body.theme-light .service-control-index-card {
  background: rgba(255, 255, 255, 0.82);
}

.service-control-index-card.warning {
  border-left-color: var(--gold);
}

.service-control-index-card.danger {
  border-left-color: var(--red);
}

.service-control-index-card.selected,
.service-control-index-card:hover,
.service-control-index-card:focus-visible {
  border-color: rgba(8, 142, 129, 0.42);
  background: rgba(66, 210, 199, 0.1);
}

.service-control-index-card .pill {
  justify-self: start;
}

.service-control-index-card strong {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.18;
}

.service-control-index-card small,
.service-control-index-card em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 780;
  line-height: 1.22;
}

.service-control-index-card b {
  color: var(--teal-strong);
  font-size: 0.78rem;
  line-height: 1.2;
}

.service-control-card {
  display: grid;
  gap: 11px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.2);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(66, 210, 199, 0.045), rgba(121, 174, 252, 0.025)),
    var(--panel);
}

body.theme-light .service-control-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 250, 0.9)),
    #ffffff;
  box-shadow: 0 10px 24px rgba(28, 55, 66, 0.055);
}

.service-control-card.warning {
  border-left-color: var(--gold);
}

.service-control-card.danger {
  border-left-color: var(--red);
}

.service-control-status {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 170px;
}

.service-control-status > div {
  display: grid;
  gap: 2px;
  justify-items: end;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
}

body.theme-light .service-control-status > div {
  background: rgba(255, 255, 255, 0.78);
}

.service-control-status strong {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
}

.service-control-status .service-control-change-state {
  color: var(--red);
  font-size: 1rem;
  line-height: 1.1;
}

.service-control-status .service-control-change-state.warning {
  color: var(--gold-strong);
}

.service-control-status .service-control-change-state.healthy {
  color: var(--green-strong);
}

.service-control-readiness-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.service-control-readiness-progress > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.2);
  border-radius: 6px;
  padding: 9px;
  background: rgba(66, 210, 199, 0.055);
}

body.theme-light .service-control-readiness-progress > div {
  background: rgba(245, 253, 251, 0.86);
}

.service-control-readiness-progress span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 920;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-control-readiness-progress strong {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.2;
}

.service-control-readiness-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.service-control-readiness-snapshot > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .service-control-readiness-snapshot > div {
  background: rgba(255, 255, 255, 0.76);
}

.service-control-readiness-snapshot strong {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.2;
}

.service-control-readiness-snapshot span {
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.24;
}

.service-control-readiness-snapshot span.missing {
  color: var(--red);
}

.service-control-readiness-snapshot span.available {
  color: var(--green-strong);
}

.service-control-why {
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(121, 174, 252, 0.045);
}

body.theme-light .service-control-why {
  background: rgba(246, 250, 255, 0.82);
}

.service-control-why summary {
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
}

.service-control-why .detail-list {
  margin-top: 8px;
}

.service-control-status small,
.service-control-section-head span,
.service-control-simulation span,
.service-control-restricted-list span,
.service-control-restricted-list small,
.service-control-checks li {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 860;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-control-section,
.service-control-recommendation,
.service-control-empty {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.service-control-priority-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 9px;
  align-items: start;
}

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

body.theme-light .service-control-section,
body.theme-light .service-control-recommendation,
body.theme-light .service-control-empty {
  background: rgba(255, 255, 255, 0.74);
}

.service-control-section.restricted {
  border-color: rgba(239, 72, 88, 0.18);
  background: rgba(239, 72, 88, 0.035);
}

.service-control-section-head strong {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.2;
}

.service-control-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.service-control-recommendation {
  align-content: start;
  border-left: 3px solid var(--teal);
}

.service-control-recommendation > strong,
.service-control-empty strong,
.service-control-can-i strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
}

.service-control-simulation,
.service-control-recommendation-meta {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 6px;
  padding: 8px;
  background: rgba(66, 210, 199, 0.05);
}

.service-control-simulation b,
.service-control-recommendation-meta b {
  color: var(--teal-strong);
  font-size: 0.9rem;
  line-height: 1.2;
}

.service-control-simulator {
  border-left: 3px solid var(--blue);
}

.service-control-simulator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-control-simulator-actions button {
  min-height: 32px;
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(121, 174, 252, 0.08);
  color: var(--blue-strong);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
}

.service-control-simulator-actions button.active,
.service-control-simulator-actions button:hover,
.service-control-simulator-actions button:focus-visible {
  border-color: var(--teal);
  background: rgba(66, 210, 199, 0.14);
  color: var(--teal-strong);
}

.service-control-simulation-result {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 6px;
  padding: 9px;
  background: rgba(66, 210, 199, 0.05);
}

.service-control-simulation-result > div:first-child {
  display: grid;
  gap: 3px;
}

.service-control-simulation-result span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-control-simulation-result strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.2;
}

.service-control-can-i {
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--green);
  padding-left: 8px;
}

.service-control-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.service-control-columns.compact {
  align-items: start;
}

.service-control-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-control-chip-list button,
.service-control-chip-list span,
.service-control-actions button {
  min-height: 32px;
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(121, 174, 252, 0.08);
  color: var(--blue-strong);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
}

.service-control-chip-list button:hover,
.service-control-chip-list button:focus-visible,
.service-control-actions button:hover,
.service-control-actions button:focus-visible {
  border-color: var(--teal);
  background: rgba(66, 210, 199, 0.12);
  color: var(--teal-strong);
}

.service-control-restricted-list,
.service-control-risk-list {
  display: grid;
  gap: 7px;
}

.service-control-restricted-list div,
.service-control-risk-list span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(239, 72, 88, 0.14);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
}

body.theme-light .service-control-restricted-list div,
body.theme-light .service-control-risk-list span {
  background: rgba(255, 255, 255, 0.72);
}

.service-control-restricted-list strong {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.2;
}

.service-control-map {
  display: grid;
  gap: 6px;
  margin: 0;
}

.service-control-map div {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
}

.service-control-map dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 920;
  text-transform: uppercase;
}

.service-control-map dd {
  margin: 0;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.25;
}

.service-control-history-list {
  display: grid;
  gap: 7px;
}

.service-control-history-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .service-control-history-item {
  background: rgba(255, 255, 255, 0.74);
}

.service-control-history-item strong,
.service-control-history-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-control-history-item strong {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.2;
}

.service-control-history-item small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-control-details {
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(121, 174, 252, 0.04);
}

body.theme-light .service-control-details {
  background: rgba(246, 250, 255, 0.8);
}

.service-control-details summary {
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
}

.service-control-details-body {
  display: grid;
  gap: 9px;
  margin-top: 9px;
}

.service-control-checks {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-control-checks li {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  text-transform: none;
}

.service-control-checks span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(239, 189, 90, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  flex: 0 0 auto;
}

.service-control-checks .passed span {
  background: rgba(30, 180, 105, 0.13);
  color: var(--green-strong);
}

.service-control-risks {
  border-left: 3px solid var(--teal);
}

.dashboard-action-board {
  gap: 12px;
  grid-column: 1 / -1;
  border-color: rgba(66, 210, 199, 0.28);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.055)),
    var(--panel-soft);
}

body.theme-light .dashboard-action-board {
  background:
    linear-gradient(135deg, rgba(244, 253, 252, 0.98), rgba(246, 250, 255, 0.98)),
    #ffffff;
}

.dashboard-action-board-head,
.dashboard-attention-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.dashboard-action-board-head > div:first-child,
.dashboard-attention-head > div:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.dashboard-action-board h2 {
  font-size: 1.24rem;
  line-height: 1.18;
}

.dashboard-action-board-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.dashboard-action-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(190px, 1fr);
  gap: 10px;
  align-items: stretch;
}

.dashboard-process-area,
.dashboard-performance-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-process-area,
body.theme-light .dashboard-performance-panel {
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-process-copy {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}

.dashboard-process-copy strong {
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.dashboard-process-copy span {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 730;
  line-height: 1.32;
}

.dashboard-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-process-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(3.35em, 1fr) auto;
  gap: 5px;
  min-height: 158px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.26);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
}

body.theme-light .dashboard-process-card {
  background: rgba(255, 255, 255, 0.82);
}

.dashboard-process-card:hover,
.dashboard-process-card:focus-visible,
.dashboard-process-card.active {
  border-color: rgba(10, 117, 139, 0.42);
  background: rgba(66, 210, 199, 0.12);
  color: var(--text);
}

.dashboard-process-card span,
.dashboard-process-card em,
.dashboard-performance-panel span,
.dashboard-performance-panel small {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 880;
  line-height: 1.24;
}

.dashboard-process-card span,
.dashboard-performance-panel span {
  text-transform: uppercase;
}

.dashboard-process-card strong {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.16;
}

.dashboard-process-card b {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
}

.dashboard-process-card small {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 730;
  line-height: 1.25;
}

.dashboard-process-card em {
  font-style: normal;
}

.dashboard-performance-panel {
  align-content: stretch;
}

.dashboard-performance-panel div {
  display: grid;
  gap: 2px;
  align-content: center;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}

.dashboard-performance-panel div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dashboard-performance-panel strong {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
}

.dashboard-attention-now {
  display: grid;
  gap: 10px;
}

.dashboard-attention-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}

.dashboard-attention-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
}

.dashboard-attention-controls label {
  display: grid;
  gap: 4px;
  min-width: 148px;
}

.dashboard-attention-controls span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-attention-controls select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  background: var(--panel-soft);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
}

.dashboard-attention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
  gap: 8px;
}

.dashboard-attention-card {
  gap: 6px;
  border-left: 4px solid var(--gold);
  padding: 8px;
}

.dashboard-attention-card .tile-head {
  gap: 6px;
}

.dashboard-attention-card .pill {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.7rem;
}

.dashboard-attention-card h3 {
  font-size: 0.94rem;
}

.dashboard-decision-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.dashboard-decision-row div,
.dashboard-decision-safety span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.2);
  border-radius: 6px;
  padding: 7px;
  background: rgba(121, 174, 252, 0.055);
}

body.theme-light .dashboard-decision-row div,
body.theme-light .dashboard-decision-safety span {
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-decision-row span,
.dashboard-decision-safety b {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-decision-row strong,
.dashboard-decision-safety span {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
}

.dashboard-decision-safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.dashboard-decision-safety span {
  color: var(--muted-strong);
}

.dashboard-ticket-chain-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dashboard-ticket-chain-mini span {
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(121, 174, 252, 0.06);
  color: var(--muted-strong);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
}

.dashboard-attention-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted-strong);
  font-size: 0.78rem;
}

.dashboard-attention-card .mini-detail-list {
  gap: 4px;
}

.dashboard-attention-card .mini-detail-list div {
  grid-template-columns: minmax(56px, 0.34fr) minmax(0, 1fr);
  gap: 6px;
}

.dashboard-attention-card .mini-detail-list dt,
.dashboard-attention-card .mini-detail-list dd {
  font-size: 0.72rem;
  line-height: 1.25;
}

.dashboard-attention-card .mini-detail-list dd {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted-strong);
  font-weight: 760;
}

.dashboard-attention-actions {
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 6px;
}

.dashboard-attention-actions button,
.dashboard-attention-actions a,
.dashboard-attention-head button,
.dashboard-attention-controls button,
.dashboard-workbench-toolbar button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(121, 174, 252, 0.3);
  border-radius: 6px;
  padding: 0 9px;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.dashboard-attention-actions button:hover,
.dashboard-attention-actions button:focus-visible,
.dashboard-attention-actions a:hover,
.dashboard-attention-actions a:focus-visible,
.dashboard-attention-head button:hover,
.dashboard-attention-head button:focus-visible,
.dashboard-attention-controls button:hover,
.dashboard-attention-controls button:focus-visible,
.dashboard-workbench-toolbar button:hover,
.dashboard-workbench-toolbar button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-ticket-open-link,
.dashboard-ticket-actions button[data-approval-decision="approve"] {
  border-color: rgba(74, 128, 216, 0.42);
  background: rgba(121, 174, 252, 0.14);
  color: var(--blue);
}

.dashboard-ticket-next-step,
.dashboard-ticket-action-set {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(66, 210, 199, 0.26);
  border-radius: 6px;
  padding: 10px;
  background: rgba(66, 210, 199, 0.08);
}

body.theme-light .dashboard-ticket-next-step,
body.theme-light .dashboard-ticket-action-set {
  background: rgba(232, 249, 247, 0.76);
}

.dashboard-ticket-next-step strong,
.dashboard-ticket-action-set > strong {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-ticket-next-step span {
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 740;
  line-height: 1.45;
}

.dashboard-ticket-actions {
  grid-template-columns: repeat(auto-fit, minmax(112px, max-content));
  justify-content: start;
  margin-top: 0;
}

.dashboard-ticket-action-set {
  margin-top: 2px;
  border-left: 4px solid var(--teal);
}

.dashboard-ticket-action-set .dashboard-card-actions {
  gap: 6px;
}

.dashboard-ticket-action-set .dashboard-action-button {
  min-width: 112px;
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.72rem;
  line-height: 1.15;
}

.dashboard-ticket-action-set .dashboard-action-button.tone-approve,
.dashboard-ticket-action-set .dashboard-action-button.tone-modify,
.dashboard-ticket-action-set .dashboard-action-button.tone-execute,
.dashboard-ticket-action-set .dashboard-action-button.tone-verify {
  border-color: rgba(74, 128, 216, 0.42);
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.16), rgba(66, 210, 199, 0.045)),
    var(--panel-strong);
  color: var(--blue);
}

.dashboard-ticket-action-set .dashboard-action-button.tone-review,
.dashboard-ticket-action-set .dashboard-action-button.tone-escalate,
.dashboard-ticket-action-set .dashboard-action-button.tone-schedule {
  border-color: rgba(180, 106, 0, 0.36);
  background:
    linear-gradient(135deg, rgba(245, 169, 73, 0.14), rgba(255, 255, 255, 0.04)),
    var(--panel-strong);
  color: var(--gold);
}

.dashboard-ticket-action-set .dashboard-action-button.tone-danger {
  border-color: rgba(177, 61, 70, 0.36);
  background:
    linear-gradient(135deg, rgba(177, 61, 70, 0.1), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
  color: var(--red);
}

.dashboard-ticket-action-set .dashboard-action-button.tone-record:not(.is-complete),
.dashboard-ticket-action-set .dashboard-action-button.tone-resolve:not(.is-complete) {
  border-color: rgba(121, 174, 252, 0.32);
  background: var(--panel-strong);
  color: var(--muted-strong);
}

.ticket-detail-card {
  gap: 10px;
}

.ticket-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
  gap: 10px;
  align-items: stretch;
  border: 1px solid rgba(66, 210, 199, 0.26);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.1), rgba(121, 174, 252, 0.06)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .ticket-detail-hero {
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(245, 249, 255, 0.98)),
    #ffffff;
}

.ticket-detail-hero h3,
.ticket-detail-hero p,
.ticket-detail-section h4,
.ticket-detail-section p {
  margin: 0;
}

.ticket-detail-hero h3 {
  margin-top: 8px;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.ticket-detail-hero p {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ticket-detail-status-card {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.24);
  border-left: 4px solid var(--teal);
  border-radius: 7px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

body.theme-light .ticket-detail-status-card {
  background: rgba(255, 255, 255, 0.82);
}

.ticket-detail-status-card span,
.ticket-detail-status-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-detail-status-card strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.25;
}

.ticket-detail-decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ticket-detail-decision-strip div {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-left: 3px solid var(--teal);
  border-radius: 7px;
  padding: 9px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.07), rgba(121, 174, 252, 0.045)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .ticket-detail-decision-strip div {
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(246, 250, 255, 0.92)),
    #ffffff;
}

.ticket-detail-decision-strip span,
.ticket-detail-chain small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 940;
  line-height: 1.1;
  text-transform: uppercase;
}

.ticket-detail-decision-strip strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.18;
}

.ticket-detail-decision-strip small {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.28;
}

.ticket-detail-chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 8px;
  padding: 8px;
  background: rgba(121, 174, 252, 0.045);
}

.ticket-detail-chain span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 7px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .ticket-detail-chain span {
  background: rgba(255, 255, 255, 0.82);
}

.ticket-detail-chain span.current {
  border-color: rgba(66, 210, 199, 0.44);
  background: rgba(66, 210, 199, 0.11);
}

.ticket-detail-chain b {
  color: var(--teal-strong);
  font-size: 0.72rem;
  line-height: 1;
}

.ticket-detail-chain strong {
  color: var(--text);
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-detail-chain i {
  display: none;
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ticket-detail-section {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

body.theme-light .ticket-detail-section {
  background: rgba(255, 255, 255, 0.9);
}

.ticket-detail-section.warning {
  border-left-color: var(--gold);
}

.ticket-detail-section.review {
  border-left-color: var(--gold);
}

.ticket-detail-section.healthy {
  border-left-color: var(--green);
}

.ticket-detail-section h4 {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.ticket-detail-section p {
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 730;
  line-height: 1.38;
}

.ticket-detail-section .mini-detail-list {
  gap: 5px;
}

.ticket-detail-section .mini-detail-list div {
  grid-template-columns: minmax(104px, 0.35fr) minmax(0, 1fr);
  gap: 6px;
}

.dashboard-card.locked-card {
  border-color: rgba(239, 189, 90, 0.42);
  background: var(--review-soft);
}

.dashboard-workbench {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.18);
  border-radius: 6px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.045), rgba(121, 174, 252, 0.026)),
    var(--panel-soft);
}

body.theme-light .dashboard-workbench {
  border-color: rgba(8, 122, 118, 0.18);
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.94), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

.dashboard-workbench-title {
  display: grid;
  gap: 3px;
}

.dashboard-workbench-title h3 {
  margin: 0;
}

.dashboard-workbench-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(118px, 0.72fr)) auto auto;
  gap: 8px;
  align-items: end;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-radius: 6px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(66, 210, 199, 0.04), rgba(121, 174, 252, 0.03)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-workbench-toolbar {
  border-color: rgba(8, 122, 118, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 250, 0.9)),
    #ffffff;
}

.dashboard-workbench-toolbar label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-workbench-toolbar span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 920;
  text-transform: uppercase;
}

.dashboard-workbench-toolbar input,
.dashboard-workbench-toolbar select {
  min-height: 36px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--panel-soft);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
}

.dashboard-workbench-toolbar button {
  min-height: 36px;
}

.dashboard-workbench-count,
.dashboard-overflow-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.dashboard-workbench-group {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.dashboard-workbench-group-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}

.dashboard-workbench-group-head strong {
  color: var(--text);
  font-size: 0.9rem;
}

.dashboard-workbench-group-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 840;
}

.dashboard-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  min-width: 0;
}

.dashboard-compact-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 178px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(121, 174, 252, 0.26);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 10px 10px 11px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.055), rgba(121, 174, 252, 0.035)),
    rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
}

body.theme-light .dashboard-compact-card {
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(246, 250, 255, 0.94)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(20, 74, 96, 0.055);
}

.dashboard-compact-card.tone-healthy {
  border-left-color: var(--teal);
}

.dashboard-compact-card.tone-warning {
  border-left-color: var(--danger);
}

.dashboard-compact-card.tone-info {
  border-left-color: var(--blue);
}

.dashboard-compact-card:hover,
.dashboard-compact-card:focus-visible {
  border-color: var(--teal);
  border-left-color: var(--teal-strong);
  background: var(--interactive-soft);
  color: var(--text);
  transform: translateY(-1px);
}

.dashboard-compact-card strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.2;
}

.dashboard-ticket-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.dashboard-ticket-type {
  display: inline-grid;
  min-width: 42px;
  border: 1px solid rgba(66, 210, 199, 0.34);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(66, 210, 199, 0.12);
  color: var(--teal-strong);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  place-items: center;
  text-transform: uppercase;
}

.dashboard-ticket-card-summary {
  color: var(--muted-strong);
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 730;
  line-height: 1.35;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.dashboard-ticket-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.dashboard-ticket-card-meta > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.18);
  border-radius: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .dashboard-ticket-card-meta > span {
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-ticket-card-meta em {
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 940;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.dashboard-ticket-card-meta b {
  color: var(--text);
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dashboard-compact-card small {
  align-self: end;
  border-top: 1px solid rgba(121, 174, 252, 0.2);
  padding-top: 7px;
  color: var(--teal-strong);
  font-size: 0.72rem;
  font-weight: 940;
  line-height: 1.2;
  text-transform: uppercase;
}

.billing-plan-card,
.billing-usage-card,
.billing-invoice-card,
.billing-workflow-value-card,
.billing-stripe-card,
.billing-history-card {
  border-left: 4px solid var(--teal);
}

#dashboard-billing-list {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

#dashboard-billing-list > .billing-plan-card {
  grid-column: span 4;
  min-width: min(100%, 280px);
}

#dashboard-billing-list > .billing-usage-card {
  grid-column: span 8;
}

#dashboard-billing-list > .billing-invoice-card {
  grid-column: span 7;
}

#dashboard-billing-list > .billing-workflow-value-card {
  grid-column: 1 / -1;
  border-left-color: var(--blue);
}

#dashboard-billing-list > .billing-stripe-card {
  grid-column: span 5;
}

#dashboard-billing-list > .billing-history-card,
#dashboard-billing-list > .dashboard-billing-message {
  grid-column: 1 / -1;
}

#dashboard-billing-list .dashboard-card {
  overflow-wrap: normal;
  word-break: normal;
}

#dashboard-billing-list .dashboard-card-actions {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.billing-usage-card,
.billing-invoice-card {
  grid-column: span 2;
}

.billing-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  min-width: 0;
}

.billing-usage-meter {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.28);
  border-radius: 6px;
  padding: 9px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.045), rgba(121, 174, 252, 0.035)),
    rgba(255, 255, 255, 0.035);
}

body.theme-light .billing-usage-meter {
  background:
    linear-gradient(135deg, rgba(239, 253, 250, 0.96), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

.billing-usage-meter > div,
.billing-line-list article > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  min-width: 0;
}

.billing-usage-meter strong,
.billing-line-list strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.2;
}

.billing-usage-meter span,
.billing-line-list span {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.billing-usage-meter b {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1;
}

.billing-classification {
  border: 1px solid rgba(121, 174, 252, 0.32);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(121, 174, 252, 0.11);
  color: var(--blue-strong);
}

.billing-classification.metered {
  border-color: rgba(180, 106, 0, 0.34);
  background: rgba(245, 169, 73, 0.11);
  color: var(--gold);
}

.billing-classification.quoted {
  border-color: rgba(66, 210, 199, 0.34);
  background: rgba(66, 210, 199, 0.12);
  color: var(--teal-strong);
}

.billing-classification.included {
  border-color: rgba(30, 180, 105, 0.32);
  background: rgba(30, 180, 105, 0.1);
  color: var(--green-strong);
}

.billing-usage-meter i {
  display: block;
  position: relative;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(121, 174, 252, 0.16);
}

.billing-usage-meter i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--billing-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.billing-usage-meter small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.25;
}

.billing-line-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.billing-line-list article {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(121, 174, 252, 0.22);
  border-radius: 6px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.03);
}

body.theme-light .billing-line-list article {
  background: rgba(255, 255, 255, 0.88);
}

.billing-line-list b {
  color: var(--teal-strong);
  font-size: 0.98rem;
}

.billing-line-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.dashboard-billing-message {
  grid-column: 1 / -1;
  margin: 0;
}

#dashboard-action-workbench .dashboard-compact-card {
  grid-template-rows: auto auto auto minmax(2.4em, 1fr) auto;
}

.dashboard-compact-card .dashboard-ticket-issue {
  padding: 5px 6px;
}

.dashboard-compact-card .dashboard-ticket-issue em,
.dashboard-command-ticket .dashboard-ticket-issue em {
  -webkit-line-clamp: 2;
  font-size: 0.7rem;
}

.dashboard-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  overflow: auto;
  padding: clamp(24px, 4vh, 36px) 18px;
  background: rgba(4, 16, 24, 0.52);
}

.dashboard-detail-modal {
  display: grid;
  gap: 10px;
  width: min(1280px, calc(100vw - 48px));
  max-height: calc(100vh - clamp(48px, 8vh, 72px));
  overflow: auto;
  border: 1px solid rgba(66, 210, 199, 0.34);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

body.theme-light .dashboard-detail-modal {
  background: #ffffff;
}

.dashboard-detail-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  background: inherit;
}

.dashboard-detail-head h3 {
  margin: 5px 0 0;
}

.dashboard-detail-body > .dashboard-card {
  border-color: transparent;
  padding: 0;
  background: transparent;
}

.executive-card {
  border-color: rgba(66, 210, 199, 0.34);
}

.ai-card {
  border-color: rgba(121, 174, 252, 0.34);
  background: var(--ai-soft);
}

.cost-card {
  border-color: rgba(131, 214, 156, 0.34);
}

.security-card,
.incident-card {
  border-color: rgba(239, 189, 90, 0.38);
}

.aws-deployment-card {
  align-content: start;
  overflow: hidden;
  border-color: rgba(121, 174, 252, 0.42);
  background:
    linear-gradient(145deg, rgba(121, 174, 252, 0.12), rgba(66, 210, 199, 0.07)),
    var(--panel-soft);
}

.aws-deployment-card > p,
.aws-deployment-card .mini-detail-list dd,
.aws-deployment-card .dashboard-list li {
  overflow-wrap: anywhere;
}

.aws-mode-pill {
  max-width: min(100%, 220px);
}

body.theme-light .aws-deployment-card {
  border-color: rgba(10, 117, 139, 0.3);
  background:
    linear-gradient(180deg, #ffffff 0%, #eef9fb 100%);
}

.aws-deployment-actions-card {
  grid-column: 1 / -1;
}

.aws-deployment-console {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(121, 174, 252, 0.38);
  border-radius: 6px;
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(18, 57, 216, 0.12), rgba(66, 210, 199, 0.08)),
    rgba(11, 17, 22, 0.24);
}

body.theme-light .aws-deployment-console {
  border-color: rgba(10, 117, 139, 0.26);
  background: #eef9fb;
}

.aws-deployment-console > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 850;
}

.aws-deployment-console > div:first-child span {
  color: var(--muted);
}

.aws-resource-row {
  display: grid;
  gap: 5px;
  min-width: 0;
  border-left: 3px solid var(--teal);
  padding: 8px 10px;
  background: rgba(11, 17, 22, 0.2);
}

.aws-resource-row .pill {
  justify-self: start;
}

.aws-resource-row p {
  margin: 0;
  overflow-wrap: anywhere;
}

body.theme-light .aws-resource-row {
  background: #f7fcfd;
}

.topology-card,
.automation-card,
.business-card,
.tenant-card {
  align-content: start;
}

.topology-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(66, 210, 199, 0.36);
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.11), rgba(121, 174, 252, 0.075)),
    var(--panel-soft);
}

body.theme-light #dashboard-kubernetes.active-dashboard-panel {
  border-color: rgba(10, 117, 139, 0.28);
  background:
    linear-gradient(180deg, #fbfeff 0%, #eef8fa 100%);
}

body.theme-light .topology-card {
  border-color: rgba(10, 117, 139, 0.24);
  background:
    linear-gradient(145deg, rgba(244, 253, 252, 0.98), rgba(246, 250, 255, 0.98));
}

.topology-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.06), transparent 42%, rgba(121, 174, 252, 0.045)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(66, 210, 199, 0.026) 42px 43px);
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.topology-card > * {
  position: relative;
  z-index: 1;
}

.portability-card {
  border-color: rgba(131, 214, 156, 0.34);
}

.access-card {
  align-content: start;
}

.dashboard-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-list li {
  border-left: 3px solid var(--teal);
  padding: 6px 8px;
  background: rgba(66, 210, 199, 0.08);
  color: var(--muted-strong);
  line-height: 1.35;
}

.topology-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.topology-tree {
  display: grid;
  gap: 10px;
}

.topology-tree section {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-radius: 6px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.075), rgba(121, 174, 252, 0.045)),
    rgba(11, 17, 22, 0.18);
}

body.theme-light .topology-tree section {
  border-color: rgba(10, 117, 139, 0.22);
  background:
    linear-gradient(145deg, rgba(241, 252, 251, 0.96), rgba(247, 251, 255, 0.98)),
    #ffffff;
}

.topology-tree section > strong {
  color: var(--text);
}

.kube-cluster-head,
.kube-cluster-head > div,
.kube-namespace-head,
.kube-namespace-meta,
.kube-flow,
.kube-event-stream p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.kube-cluster-head {
  justify-content: space-between;
}

.kube-cluster-head > strong {
  color: var(--teal);
  font-size: 0.92rem;
}

.kube-live-indicator {
  position: relative;
  display: inline-grid;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(131, 214, 156, 0.42);
  animation: kubePulse 1.8s ease-out infinite;
}

.kube-live-indicator::after,
.kube-pod-dot {
  display: block;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.88);
  content: "";
}

.kube-live-indicator::after {
  width: 5px;
  height: 5px;
  place-self: center;
}

.kube-signal-grid,
.kube-gauge-grid {
  display: grid;
  gap: 8px;
}

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

.kube-map-guide,
.kube-map-panel {
  border: 1px solid rgba(66, 210, 199, 0.26);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.04)),
    rgba(11, 17, 22, 0.18);
}

body.theme-light .kube-map-guide,
body.theme-light .kube-map-panel {
  border-color: rgba(10, 117, 139, 0.2);
  background:
    linear-gradient(135deg, rgba(240, 253, 251, 0.98), rgba(246, 250, 255, 0.98)),
    #ffffff;
}

.kube-map-guide {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 9px;
}

.kube-map-guide strong {
  color: var(--text);
  font-size: 0.84rem;
}

.kube-map-guide span {
  border-left: 2px solid rgba(66, 210, 199, 0.55);
  padding-left: 8px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.28;
}

.kube-resource-link {
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.kube-resource-link:hover,
.kube-resource-link:focus-visible {
  border-color: var(--teal);
  background: rgba(66, 210, 199, 0.14);
  color: var(--text);
  transform: translateY(-1px);
}

.kube-signal-grid button {
  display: grid;
  gap: 5px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  background: rgba(11, 17, 22, 0.26);
  color: var(--text);
}

body.theme-light .kube-signal-grid button {
  background: rgba(255, 255, 255, 0.72);
}

.kube-signal-grid button.warning {
  border-color: rgba(239, 189, 90, 0.45);
  background:
    linear-gradient(135deg, rgba(239, 189, 90, 0.12), transparent),
    rgba(11, 17, 22, 0.24);
}

body.theme-light .kube-signal-grid button.warning {
  background:
    linear-gradient(135deg, rgba(255, 247, 229, 0.95), rgba(247, 251, 255, 0.98)),
    #ffffff;
}

.kube-signal-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kube-signal-grid strong {
  color: var(--text);
  font-size: 1rem;
}

.kube-signal-grid small,
.kube-signal-grid em,
.kube-gauge span,
.kube-gauge small,
.kube-pod small,
.kube-namespace-meta,
.kube-event-time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.kube-signal-grid em {
  align-self: end;
  color: var(--muted-strong);
  font-style: normal;
}

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

.kube-gauge {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: rgba(11, 17, 22, 0.22);
  color: var(--text);
}

body.theme-light .kube-gauge {
  background: rgba(255, 255, 255, 0.74);
}

.kube-gauge.warning {
  border-color: rgba(239, 189, 90, 0.42);
}

.kube-gauge > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.kube-gauge strong {
  color: var(--muted-strong);
}

.kube-gauge-bar {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.kube-gauge-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--green));
  box-shadow: 0 0 16px rgba(66, 210, 199, 0.32);
}

.kube-map-panel {
  display: grid;
  gap: 9px;
  padding: 10px;
}

.kube-map-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 820;
}

.kube-map-panel-head strong {
  color: var(--text);
}

.kube-flow {
  gap: 0;
  align-items: stretch;
  overflow-x: auto;
  padding: 2px 0;
}

.kube-flow-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-items: start;
  flex: 0 0 auto;
  width: min(190px, 72vw);
  border: 1px solid rgba(66, 210, 199, 0.34);
  border-radius: 6px;
  padding: 9px;
  background: rgba(66, 210, 199, 0.09);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.kube-flow-node.source {
  color: var(--text);
}

.kube-flow-node small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.28;
}

.kube-flow-step {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(66, 210, 199, 0.18);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
}

.kube-flow-link {
  position: relative;
  flex: 0 0 28px;
  height: 2px;
  align-self: center;
  background: linear-gradient(90deg, rgba(66, 210, 199, 0.18), rgba(66, 210, 199, 0.7));
  overflow: hidden;
}

.kube-flow-link::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  content: "";
  opacity: 0.72;
  transform: translateX(-100%);
  animation: kubePacket 1.7s ease-in-out infinite;
}

.kube-namespace-lane {
  border-color: rgba(66, 210, 199, 0.22);
}

.kube-namespace-lane.warning {
  border-color: rgba(239, 189, 90, 0.32);
  background:
    linear-gradient(135deg, rgba(239, 189, 90, 0.08), rgba(66, 210, 199, 0.045)),
    rgba(11, 17, 22, 0.18);
}

body.theme-light .kube-namespace-lane.warning {
  border-color: rgba(190, 132, 18, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(241, 252, 251, 0.96)),
    #ffffff;
}

.kube-namespace-head {
  justify-content: space-between;
}

.kube-namespace-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
}

.kube-namespace-meta {
  justify-content: space-between;
  gap: 6px 12px;
}

.kube-namespace-meaning {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.38;
}

.kube-pod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 7px;
}

.kube-pod {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 8px;
  background: rgba(11, 17, 22, 0.32);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 760;
}

.kube-pod-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
}

.kube-pod.warning .kube-pod-dot {
  background: var(--gold);
  animation: kubeBlink 1.45s ease-in-out infinite;
}

.kube-event-stream {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.kube-event-stream > strong {
  color: var(--text);
  font-size: 0.86rem;
}

.kube-event-stream p {
  margin: 0;
  border-left: 3px solid var(--teal);
  padding: 7px 9px;
  background: rgba(66, 210, 199, 0.07);
  color: var(--muted-strong);
}

.kube-event-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.kube-event-dot.healthy {
  background: var(--green);
}

.kube-event-dot.warning {
  background: var(--gold);
}

.kube-resource-detail {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(66, 210, 199, 0.34);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.08), rgba(121, 174, 252, 0.045)),
    rgba(11, 17, 22, 0.22);
}

body.theme-light .kube-resource-detail {
  border-color: rgba(10, 117, 139, 0.24);
  background: #ffffff;
}

.kube-resource-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
}

.kube-resource-actions button {
  min-height: 38px;
  border: 1px solid rgba(66, 210, 199, 0.48);
  border-radius: 6px;
  padding: 0 10px;
  background: rgba(66, 210, 199, 0.12);
  color: var(--text);
  font-weight: 900;
}

.kube-resource-actions button:hover,
.kube-resource-actions button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.topology-summary-card {
  min-height: 300px;
}

.kube-action-console {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(66, 210, 199, 0.42);
  border-radius: 6px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.11), rgba(66, 210, 199, 0.08)),
    rgba(11, 17, 22, 0.24);
}

body.theme-light .kube-action-console {
  border-color: rgba(10, 117, 139, 0.28);
  background: #eef9fb;
}

.kube-action-console > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 850;
}

.kube-action-console > div:first-child span {
  color: var(--muted);
}

.kube-action-summary {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.45;
}

.kube-action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}

.kube-action-buttons button {
  min-height: 40px;
  border: 1px solid rgba(66, 210, 199, 0.58);
  border-radius: 6px;
  padding: 8px 9px;
  background: rgba(66, 210, 199, 0.16);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
}

body.theme-light .kube-action-buttons button {
  border-color: #0a758b;
  background: #0b6f84;
  color: #ffffff;
}

body.theme-light .kube-action-buttons button:hover,
body.theme-light .kube-action-buttons button:focus-visible {
  border-color: #063f4d;
  background: #064d5e;
  color: #ffffff;
}

.kube-action-buttons button:hover,
.kube-action-buttons button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--text);
}

.kube-action-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}

.kube-action-detail {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-radius: 6px;
  padding: 10px;
  background: rgba(11, 17, 22, 0.18);
}

body.theme-light .kube-action-detail {
  border-color: rgba(10, 117, 139, 0.2);
  background: #ffffff;
}

.kube-action-detail > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kube-action-detail > p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.42;
}

.kube-action-detail .mini-detail-list {
  gap: 7px;
}

@keyframes kubePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(131, 214, 156, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(131, 214, 156, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(131, 214, 156, 0);
  }
}

@keyframes kubePacket {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes kubeSurfaceSweep {
  0% {
    transform: translateX(-28%);
  }
  100% {
    transform: translateX(28%);
  }
}

@keyframes kubeBlink {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.module-access-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-access-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: rgba(11, 17, 22, 0.3);
}

.module-access-list span {
  color: var(--muted-strong);
  font-weight: 800;
}

.dashboard-metric span,
.mini-detail-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-metric strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.dashboard-metric small,
.dashboard-card p,
.mini-detail-list dd,
.billing-table p {
  color: var(--muted);
}

.mini-detail-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.mini-detail-list div {
  display: grid;
  grid-template-columns: minmax(100px, 0.34fr) minmax(0, 1fr);
  gap: 8px;
}

.mini-detail-list dd {
  margin: 0;
}

.dashboard-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.dashboard-card-actions button {
  min-height: 36px;
  border: 1px solid rgba(121, 174, 252, 0.32);
  border-radius: 6px;
  padding: 0 11px;
  background: var(--panel-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.dashboard-card-actions button:hover,
.dashboard-card-actions button:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
  color: var(--teal);
}

.dashboard-ticket-actions button[data-approval-decision="delegate"],
.dashboard-ticket-actions button[data-approval-decision="schedule"] {
  border-color: rgba(180, 106, 0, 0.34);
  background: rgba(245, 169, 73, 0.11);
  color: var(--gold);
}

.dashboard-ticket-actions button[data-approval-decision="reject"] {
  border-color: rgba(205, 89, 89, 0.36);
  background: rgba(205, 89, 89, 0.1);
  color: #b44b4b;
}

.dashboard-action-button {
  position: relative;
  overflow: hidden;
  border-color: rgba(10, 117, 139, 0.32);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.12), rgba(121, 174, 252, 0.06)),
    var(--panel-strong);
  color: var(--text);
}

.dashboard-action-button.tone-approve,
.dashboard-action-button.tone-execute {
  border-color: rgba(8, 122, 118, 0.46);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.18), rgba(8, 122, 118, 0.08)),
    var(--panel-strong);
  color: var(--teal);
}

.dashboard-action-button.tone-verify,
.dashboard-action-button.tone-modify {
  border-color: rgba(74, 128, 216, 0.42);
  background:
    linear-gradient(135deg, rgba(121, 174, 252, 0.18), rgba(66, 210, 199, 0.06)),
    var(--panel-strong);
  color: var(--blue);
}

.dashboard-action-button.tone-review,
.dashboard-action-button.tone-escalate,
.dashboard-action-button.tone-schedule {
  border-color: rgba(180, 106, 0, 0.38);
  background:
    linear-gradient(135deg, rgba(245, 169, 73, 0.16), rgba(66, 210, 199, 0.04)),
    var(--panel-strong);
  color: var(--gold);
}

.dashboard-action-button.tone-danger {
  border-color: rgba(177, 61, 70, 0.42);
  background:
    linear-gradient(135deg, rgba(177, 61, 70, 0.13), rgba(245, 169, 73, 0.035)),
    var(--panel-strong);
  color: var(--red);
}

.dashboard-action-button.tone-resolve,
.dashboard-action-button.is-complete {
  border-color: rgba(48, 139, 87, 0.46);
  background:
    linear-gradient(135deg, rgba(72, 183, 117, 0.2), rgba(66, 210, 199, 0.06)),
    var(--panel-strong);
  color: var(--green);
}

.dashboard-action-button.tone-record {
  border-color: rgba(73, 103, 116, 0.28);
  background: var(--panel-strong);
  color: var(--muted-strong);
}

.dashboard-action-button:disabled {
  cursor: default;
}

.dashboard-action-button:disabled:not(.is-complete) {
  opacity: 0.48;
  filter: saturate(0.7);
}

.dashboard-action-button.is-complete:disabled {
  opacity: 1;
}

.dashboard-action-button.is-complete::after {
  content: "done";
  position: absolute;
  right: 8px;
  top: 5px;
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lifecycle-queue-intro {
  grid-column: 1 / -1;
  border-left: 4px solid var(--gold);
}

.lifecycle-queue-card {
  border-left: 4px solid var(--teal);
}

.lifecycle-queue-actions {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 0;
}

.dashboard-outcome-banner {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(66, 210, 199, 0.32);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.12), rgba(121, 174, 252, 0.07)),
    rgba(255, 255, 255, 0.04);
}

body.theme-light .dashboard-outcome-banner {
  background:
    linear-gradient(135deg, rgba(230, 250, 247, 0.96), rgba(241, 247, 255, 0.96)),
    #ffffff;
}

.dashboard-outcome-banner strong,
.dashboard-outcome-banner span,
.dashboard-outcome-banner small {
  line-height: 1.3;
}

.dashboard-outcome-banner strong {
  color: var(--text);
  font-size: 0.9rem;
}

.dashboard-outcome-banner span {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 780;
}

.dashboard-outcome-banner small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
}

.dashboard-outcome-banner > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.billing-table {
  display: grid;
  gap: 12px;
  overflow-x: auto;
}

.billing-table table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

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

.billing-table th {
  color: var(--muted-strong);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.billing-table td {
  color: var(--text);
}

.stacked-form,
.settings-surface,
.auth-card {
  display: grid;
  gap: 12px;
}

.settings-surface {
  align-content: start;
  grid-auto-rows: max-content;
}

.account-data-panel {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--panel-soft);
}

.account-data-panel legend {
  padding: 0 5px;
  color: var(--text);
  font-weight: 920;
}

.account-data-panel p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.35;
}

.account-profile-grid,
.account-contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
}

.account-change-message {
  margin: 0;
}

.contact-preferences-layout {
  margin-top: 18px;
}

.contact-preferences-editor {
  border-color: rgba(66, 210, 199, 0.24);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.075), rgba(121, 174, 252, 0.045)),
    var(--panel);
}

.contact-preference-message {
  margin: 0;
}

.account-change-message[data-tone="success"] {
  border-color: rgba(77, 201, 122, 0.42);
  color: var(--green);
}

.contact-preference-message[data-tone="success"] {
  border-color: rgba(77, 201, 122, 0.42);
  color: var(--green);
}

.account-change-message[data-tone="error"] {
  border-color: rgba(234, 94, 94, 0.46);
  color: var(--red);
}

.contact-preference-message[data-tone="error"] {
  border-color: rgba(234, 94, 94, 0.46);
  color: var(--red);
}

.stacked-form label,
.settings-surface label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-weight: 800;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-line input {
  width: auto;
  min-height: auto;
}

.basket-drawer {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 50;
  display: grid;
  width: min(430px, calc(100vw - 32px));
  max-height: min(660px, calc(100vh - var(--header-height) - 24px));
  overflow: auto;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  box-shadow:
    0 22px 58px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.basket-drawer[aria-hidden="true"] {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
}

.basket-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background:
    linear-gradient(180deg, var(--panel-strong), var(--panel-soft));
}

.basket-item strong {
  display: block;
  margin-bottom: 3px;
}

.basket-item button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--panel-strong);
  color: var(--muted-strong);
  font-weight: 800;
}

.basket-item button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.basket-item span,
.audit-feed span,
.audit-feed small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.drawer-head .eyebrow {
  margin: 0 0 2px;
}

.purchase-drawer-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--interactive-soft);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 900;
}

.basket-summary {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.drawer-note,
.verify-message {
  color: var(--muted);
}

.account-nudge {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(239, 189, 90, 0.34);
  border-radius: 6px;
  padding: 14px;
  background: rgba(239, 189, 90, 0.08);
}

.smarthead-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(460px, calc(100vw - 44px));
  max-height: calc(100vh - 98px);
  gap: 0;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 18px 44px var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transform: translateY(calc(100% - 44px));
  transition: transform 180ms ease;
}

.smarthead-panel.hidden {
  display: none;
}

.smarthead-panel.open {
  transform: translateY(0);
}

.smarthead-panel:not(.open) {
  width: min(168px, calc(100vw - 44px));
  max-height: 44px;
  transform: none;
}

.smarthead-panel:not(.open) .smarthead-body {
  display: none;
}

.smarthead-panel:not(.open) .smarthead-tab {
  border-bottom: 0;
  border-radius: var(--radius);
  padding: 0 14px;
}

.smarthead-tab {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 0;
  background: rgba(19, 28, 36, 0.96);
  color: var(--blue);
  text-align: left;
  font-weight: 900;
}

body.theme-light .smarthead-tab {
  background: rgba(255, 255, 255, 0.96);
}

.smarthead-body {
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 142px);
  overflow: hidden;
  padding: 12px;
}

.smarthead-head strong {
  display: block;
}

.smarthead-close {
  min-height: 32px;
  border: 1px solid rgba(121, 174, 252, 0.34);
  border-radius: 6px;
  padding: 0 10px;
  background: rgba(121, 174, 252, 0.09);
  color: var(--blue);
  font-weight: 900;
}

.smarthead-close:hover,
.smarthead-close:focus-visible {
  border-color: var(--teal);
  color: var(--text);
}

.chat-log {
  display: grid;
  max-height: min(42vh, 360px);
  min-height: 224px;
  gap: 9px;
  overflow: auto;
}

.chat-log article p {
  margin: 4px 0 0;
  color: var(--muted-strong);
  white-space: pre-wrap;
}

.chat-log article.client {
  border-color: rgba(66, 210, 199, 0.42);
}

.smarthead-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.smarthead-form textarea {
  min-height: 122px;
}

.smarthead-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.madouce-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

body.authenticated-session .madouce-widget {
  right: auto;
  left: 22px;
  justify-items: start;
}

.madouce-launcher,
.madouce-panel {
  pointer-events: auto;
}

.madouce-launcher {
  order: 2;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(66, 210, 199, 0.38);
  border-radius: 50%;
  padding: 3px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.16), rgba(121, 174, 252, 0.08)),
    var(--panel-strong);
  color: var(--text);
  box-shadow: var(--shadow-popover);
}

.madouce-launcher:hover,
.madouce-launcher:focus-visible {
  border-color: var(--teal);
  background: var(--interactive-soft);
}

.madouce-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(239, 189, 90, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.26), transparent 36%),
    rgba(66, 210, 199, 0.14);
  color: var(--teal);
  font-weight: 950;
}

.madouce-panel {
  order: 1;
  display: none;
  width: min(360px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 118px));
  overflow: hidden;
  border: 1px solid rgba(66, 210, 199, 0.3);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-popover);
  backdrop-filter: blur(18px);
}

.madouce-widget.open .madouce-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.madouce-panel-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.madouce-panel-head strong {
  display: block;
}

.madouce-panel-head button,
.madouce-widget-prompts button,
.madouce-widget-form button {
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  background: var(--panel-strong);
  color: var(--text);
  font-weight: var(--control-font-weight);
}

.madouce-panel-head button {
  min-height: 34px;
  padding: 0 10px;
}

.madouce-widget-log {
  display: grid;
  min-height: 170px;
  max-height: 230px;
  gap: 9px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: rgba(6, 10, 13, 0.28);
}

body.theme-light .madouce-widget-log {
  background: rgba(255, 255, 255, 0.62);
}

.madouce-widget-log article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px;
  background: var(--panel-soft);
}

.madouce-widget-log article.client {
  border-color: rgba(66, 210, 199, 0.42);
}

.madouce-widget-log p {
  margin: 4px 0 0;
  color: var(--muted-strong);
}

.madouce-widget-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.madouce-widget-prompts button {
  min-height: 34px;
  padding: 0 10px;
}

.madouce-widget-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.madouce-widget-form textarea {
  min-height: 76px;
}

.madouce-widget-form button {
  min-height: 44px;
  padding: 0 12px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(11, 17, 22, 0.78);
  backdrop-filter: blur(16px);
}

body.theme-light .auth-modal {
  background: rgba(229, 239, 244, 0.76);
}

.auth-modal.active {
  display: grid;
}

.auth-card {
  width: 100%;
  max-width: 760px;
  max-height: min(92vh, 820px);
  overflow: auto;
  border: 1px solid rgba(66, 210, 199, 0.26);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.12), rgba(121, 174, 252, 0.06) 42%, rgba(255, 196, 82, 0.035)),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

body.theme-light .auth-card {
  box-shadow: 0 24px 80px rgba(26, 45, 55, 0.18);
}

.auth-card h2 {
  margin: 0;
  font-size: 1.62rem;
  line-height: 1.12;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
}

.auth-security-note {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(66, 210, 199, 0.24);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.07), rgba(121, 174, 252, 0.04)),
    var(--panel-soft);
}

.auth-security-note strong {
  color: var(--muted-strong);
}

.auth-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.auth-logo {
  justify-content: start;
}

.auth-identity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.38fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}

.auth-identity-copy,
.auth-boundary-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: 7px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-light .auth-identity-copy,
body.theme-light .auth-boundary-card {
  background: rgba(255, 255, 255, 0.8);
}

.auth-boundary-card {
  border-color: rgba(121, 174, 252, 0.28);
  background:
    linear-gradient(145deg, rgba(66, 210, 199, 0.11), rgba(121, 174, 252, 0.075)),
    rgba(255, 255, 255, 0.035);
}

.auth-boundary-card span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-boundary-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.auth-boundary-card p {
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 730;
  line-height: 1.35;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  background: var(--panel-soft);
}

.auth-tabs button {
  min-height: 38px;
  border-radius: 6px;
}

.auth-tabs button.active {
  border-color: rgba(66, 210, 199, 0.5);
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.22), rgba(121, 174, 252, 0.14)),
    var(--interactive-soft);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: -4px;
}

.auth-inline-actions button {
  width: auto;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 8px;
  background: transparent;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 840;
}

.auth-inline-actions button:hover {
  border-color: rgba(66, 210, 199, 0.28);
  background: rgba(66, 210, 199, 0.08);
}

.auth-message {
  display: none;
  border: 1px solid rgba(66, 210, 199, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(66, 210, 199, 0.08);
  color: var(--muted-strong);
  font-weight: 800;
}

.auth-message:not(:empty) {
  display: block;
}

.auth-message[data-tone="error"] {
  border-color: rgba(255, 196, 82, 0.48);
  background: rgba(255, 196, 82, 0.12);
  color: var(--gold);
}

.auth-message[data-tone="success"] {
  border-color: rgba(34, 215, 96, 0.42);
  background: rgba(34, 215, 96, 0.1);
  color: #8ff5ad;
}

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

.payment-setup-panel {
  display: grid;
  gap: 12px;
  margin: 2px 0;
  border: 1px solid rgba(66, 210, 199, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.07), rgba(255, 196, 82, 0.05)),
    var(--panel-soft);
}

.payment-setup-panel legend {
  padding: 0 6px;
  color: var(--text);
  font-weight: 900;
}

.payment-setup-panel p {
  color: var(--muted-strong);
  font-size: 0.86rem;
}

.payment-consent-line {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 22px;
  max-width: 1320px;
  margin: 32px auto 0;
  border: 1px solid var(--line);
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(66, 210, 199, 0.06), rgba(121, 174, 252, 0.035)),
    var(--panel);
  box-shadow: var(--shadow-card);
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-brand p {
  max-width: 620px;
  margin: 0;
}

.footer-note {
  max-width: 620px;
  color: var(--muted-strong);
  font-size: 0.85rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 14px;
}

.footer-grid section {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.footer-grid h2 {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer a,
.site-footer button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted-strong);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer button:hover {
  color: var(--teal);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

h1,
h2,
h3,
p,
strong,
li,
a,
button,
dd,
small {
  overflow-wrap: anywhere;
}

:is(
  .guest-auth-actions button,
  .account-popover button,
  .doc-filter-form button,
  .help-resource-card button,
  .help-document-toolbar button,
  .related-doc-list button,
  .support-channel-list button,
  .product-detail-actions button,
  .basket-item button
) {
  border-radius: var(--button-radius);
  font-weight: var(--control-font-weight);
  letter-spacing: 0;
}

:is(
  .guest-auth-actions button,
  .account-popover button,
  .doc-filter-form button,
  .help-resource-card button,
  .help-document-toolbar button,
  .related-doc-list button,
  .support-channel-list button,
  .product-detail-actions button,
  .basket-item button
):hover {
  background: var(--interactive-soft);
}

:is(
  .products-dropdown,
  .support-dropdown,
  .account-popover,
  .basket-drawer
) {
  box-shadow: var(--shadow-popover);
}

:is(
  .product-card,
  .growth-card,
  .standard-card,
  .surface,
  .product-detail,
  .doc-filter-panel,
  .help-resource-card,
  .help-center-card,
  .dashboard-panel.active-dashboard-panel,
  .dashboard-gate
) {
  box-shadow: var(--shadow-card);
}

@media (max-width: 1220px) {
  .topbar {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto auto auto auto;
    gap: 8px;
  }

  .search-form button {
    min-width: 58px;
  }

  .account-zone {
    grid-column: auto;
  }

  .login-status {
    min-width: 210px;
    max-width: 250px;
  }

  .login-status strong,
  .login-status small {
    max-width: 168px;
  }

  .theme-preview-control {
    min-width: 102px;
    padding-inline: 11px 12px;
  }

  .portal-main {
    padding-right: 28px;
  }

  .smarthead-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 80px);
    margin: 0;
    transform: translateY(calc(100% - 44px));
  }

  .smarthead-panel:not(.open) {
    width: min(168px, calc(100vw - 32px));
    max-height: 44px;
    transform: none;
  }

  .smarthead-tab {
    display: block;
  }

  .chat-log {
    min-height: 180px;
    max-height: min(38vh, 280px);
  }

}

@media (max-width: 900px) {
  .dashboard-detail-modal {
    width: calc(100vw - 24px);
  }

  .ticket-detail-hero,
  .ticket-detail-grid,
  .ticket-detail-decision-strip,
  .ticket-detail-chain,
  .dashboard-signal-ticket-rule {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .cloud-logo,
  .products-menu,
  .client-products-menu,
  .support-menu,
  .theme-preview-control,
  .search-form,
  .account-zone {
    grid-column: 1 / -1;
  }

  .cloud-logo {
    grid-column: 1;
    max-width: min(234px, calc(100vw - 100px));
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-form button {
    width: max-content;
  }

  .account-zone {
    justify-content: start;
  }

  .login-status {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .login-status strong,
  .login-status small {
    max-width: 250px;
  }

  .theme-preview-control {
    width: max-content;
  }

  .cart-zone {
    position: static;
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: start;
    align-self: center;
  }

  .basket-button {
    min-width: 58px;
    padding-inline: 10px;
  }

  .storefront-intro,
  .purpose-strip,
  .section-head,
  .product-section-head,
  .two-column,
  .checkout-layout,
  .advisor-layout,
  .advisor-form,
  .help-document-layout,
  .product-detail-main,
  .product-outcome-grid,
  .dashboard-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .storefront-intro {
    height: 322px;
    min-height: 322px;
    max-height: 322px;
  }

  .storefront-intro > div {
    grid-template-rows: auto minmax(3.4rem, auto) minmax(4.7rem, auto) 96px;
  }

  .purpose-actions {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .madouce-widget {
    right: 14px;
    bottom: 14px;
  }

  body.authenticated-session .madouce-widget {
    right: auto;
    left: 14px;
  }

  .madouce-widget-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-sidebar {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
    align-items: start;
  }

  .dashboard-sidebar-group + .dashboard-sidebar-group {
    border-top: 0;
    padding-top: 0;
  }

  .dashboard-command-center {
    grid-template-columns: 1fr;
  }

  .dashboard-owner-reliability-shortcut {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .dashboard-command-row {
    grid-template-columns: 1fr;
  }

  .dashboard-command-action-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-executive-grid,
  .dashboard-first-day-grid,
  .investigation-detail-intelligence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-command-process-strip,
  .dashboard-command-ticket-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .dashboard-action-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-action-summary,
  .dashboard-record-summary,
  .dashboard-record-kpi-grid,
  .dashboard-record-vault-list,
  .metric-detail-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-action-center-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-operational-value-grid,
  .dashboard-operational-value-trends,
  .dashboard-stage-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-maturity-journey,
  .investigation-lifecycle-chain {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-recent-record-list,
  .investigation-timeline ol,
  .dashboard-ai-performance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-investigation-head {
    flex-direction: column;
  }

  .dashboard-investigation-pills {
    justify-content: flex-start;
    max-width: none;
  }

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

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

  .investigation-trace-chain > b {
    justify-content: start;
    transform: rotate(0deg);
  }

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

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

  .dashboard-command-primary {
    grid-template-columns: 1fr;
  }

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

  .dashboard-action-board-layout,
  .dashboard-attention-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gaia-internal-hero,
  .gaia-internal-metric-grid,
  .gaia-funnel-grid,
  .gaia-self-signal-grid,
  .gaia-feature-signal-list,
  .gaia-runtime-stage-grid,
  .gaia-improvement-velocity,
  .gaia-internal-tool-preview,
  .gaia-observer-rule,
  .dashboard-guide-slide,
  .dashboard-guide-slide:not(.hero),
  .dashboard-guide-definition-grid,
  .dashboard-guide-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gaia-funnel-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .service-control-board-head,
  .service-control-head,
  .service-control-section-head {
    display: grid;
  }

  .service-control-status {
    justify-items: start;
    min-width: 0;
  }

  .service-control-grid,
  .service-control-focus-layout,
  .service-control-readiness-progress,
  .service-control-readiness-snapshot,
  .service-control-priority-grid,
  .service-control-priority-grid.compact,
  .service-control-recommendations,
  .service-control-columns,
  .service-control-index-grid,
  .service-control-map div {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .dashboard-ownership-strip {
    grid-template-columns: 1fr;
  }

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

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

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

  #dashboard-aws-deployment-list {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .products-dropdown {
    position: static;
    width: 100%;
    max-height: min(620px, calc(100vh - 180px));
    transform: none;
  }

  .competitive-edge-grid,
  .growth-grid,
  .market-grid,
  .category-launch-grid,
  .purpose-grid,
  .ops-demo-grid,
  .audience-grid,
  .help-resource-grid,
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-resource-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  }

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

  .products-menu.open .products-dropdown,
  .client-products-menu.open .products-dropdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .product-mega-sections {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 10px 14px;
  }

  .portal-main {
    padding: 18px 14px 52px;
  }

  .storefront-intro {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 18px;
  }

  .storefront-intro > div {
    grid-template-rows: auto;
    align-content: start;
  }

  .storefront-intro h1,
  .section-head h1 {
    font-size: 1.38rem;
  }

  .storefront-intro p,
  .purpose-copy p,
  .free-account-copy > p,
  .section-head p {
    max-width: calc(100vw - 64px);
  }

  .dashboard-issue-grid,
  .queue-action-grid,
  .ownership-detail-grid,
  .dashboard-workflow-strip,
  .dashboard-starter-grid,
  .dashboard-action-summary,
  .dashboard-record-summary,
  .dashboard-record-kpi-grid,
  .dashboard-record-vault-list,
  .dashboard-first-day-grid,
  .dashboard-action-metric-grid,
  .dashboard-executive-grid,
  .metric-detail-columns,
  .dashboard-maturity-journey,
  .dashboard-baseline-progress,
  .dashboard-operational-value-grid,
  .dashboard-operational-value-trends,
  .dashboard-stage-progress,
  .dashboard-recent-record-list,
  .dashboard-investigation-stat-grid,
  .dashboard-investigation-card-main,
  .investigation-card-intelligence-grid,
  .investigation-lifecycle-chain,
  .investigation-detail-intelligence-grid,
  .investigation-timeline ol,
  .dashboard-ai-performance-grid,
  .dashboard-command-ticket-grid,
  .waiting-attention-grid,
  .connection-guide-grid,
  .dashboard-signal-priority-row,
  .dashboard-signal-ticket-rule,
  .ticket-detail-decision-strip,
  .ticket-detail-chain,
  .gaia-internal-hero,
  .gaia-internal-metric-grid,
  .gaia-funnel-grid,
  .gaia-funnel-counts,
  .gaia-self-signal-grid,
  .gaia-feature-signal-list,
  .gaia-runtime-stage-grid,
  .gaia-improvement-velocity,
  .gaia-internal-tool-preview,
  .gaia-observer-rule,
  .gaia-observer-grid,
  .dashboard-guide-slide,
  .dashboard-guide-slide:not(.hero),
  .dashboard-guide-definition-grid,
  .dashboard-guide-module-grid,
  .dashboard-guide-flow,
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-guide-flow i {
    display: none;
  }

  .connection-guide-head {
    display: grid;
  }

  .confidence-row,
  .dashboard-decision-row,
  .dashboard-decision-safety,
  .dashboard-signal-timeline div,
  .investigation-impact-card div {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-panel-account-tools {
    justify-items: start;
  }

  .dashboard-action-center-summary > strong,
  .dashboard-action-center-summary > span {
    grid-column: auto;
    justify-self: start;
  }

  .dashboard-workspace-status {
    display: grid;
  }

  .dashboard-workspace-status-grid {
    grid-template-columns: 1fr;
    flex-basis: auto;
  }

  .dashboard-operational-value-head {
    display: grid;
  }

  .dashboard-paged-ticket-strip {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  .dashboard-paged-ticket-strip .dashboard-paged-ticket-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-aws-inventory-head {
    grid-template-columns: minmax(0, 1fr);
  }

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

  #home :is(.storefront-intro > div, .purpose-copy, .free-account-copy, .section-head > div) {
    width: min(100%, calc(100vw - 64px));
    max-width: calc(100vw - 64px);
  }

  #home :is(.storefront-intro h1, .storefront-intro p, .purpose-copy h2, .purpose-copy p, .free-account-copy h2, .free-account-copy > p, .section-head h2, .section-head p) {
    max-width: 100%;
  }

  .rotator-message {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

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

  .competitive-edge-grid,
  .growth-grid,
  .market-grid,
  .category-launch-grid,
  .purpose-grid,
  .ops-demo-grid,
  .audience-grid,
  .help-resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-detail-list div,
  .cluster-metrics div,
  .ops-demo-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .operational-record-chain i {
    display: none;
  }

  .marketing-resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc-filter-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-filter-form label:first-child {
    grid-column: auto;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-metrics,
  .dashboard-card-grid,
  .dashboard-overview-grid,
  .dashboard-command-action-grid,
  .dashboard-action-summary,
  .dashboard-record-summary,
  .dashboard-record-kpi-grid,
  .dashboard-record-vault-list,
  .dashboard-first-day-grid,
  .dashboard-action-metric-grid,
  .metric-detail-columns,
  .dashboard-action-filter-buttons,
  .dashboard-command-ticket-grid,
  .dashboard-command-process-strip,
  .dashboard-action-board-layout,
  .dashboard-process-grid,
  .dashboard-attention-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-command-action-head,
  .dashboard-command-ticket-head,
  .dashboard-attention-controls {
    display: grid;
  }

  .dashboard-workbench-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-page-actions {
    grid-template-columns: minmax(0, 1fr);
  }

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

  #dashboard-aws-deployment-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-card-actions,
  .mini-detail-list div,
  .help-document-section,
  .kube-map-guide,
  .kube-signal-grid,
  .kube-gauge-grid {
    grid-template-columns: 1fr;
  }

  .billing-usage-card,
  .billing-invoice-card {
    grid-column: auto;
  }

  #dashboard-billing-list {
    grid-template-columns: minmax(0, 1fr);
  }

  #dashboard-billing-list > .billing-plan-card,
  #dashboard-billing-list > .billing-usage-card,
  #dashboard-billing-list > .billing-invoice-card,
  #dashboard-billing-list > .billing-workflow-value-card,
  #dashboard-billing-list > .billing-stripe-card,
  #dashboard-billing-list > .billing-history-card {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .kube-cluster-head,
  .kube-namespace-head,
  .kube-namespace-meta,
  .kube-event-stream p {
    align-items: flex-start;
  }

  .account-zone,
  .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .login-status,
  .theme-preview-control {
    width: 100%;
    max-width: none;
  }

  .login-status strong,
  .login-status small {
    max-width: calc(100vw - 114px);
  }

  .product-row {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .products-dropdown {
    width: 100%;
  }

  .support-dropdown {
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 28px));
  }

  .products-menu.open .products-dropdown,
  .client-products-menu.open .products-dropdown {
    grid-template-columns: 1fr;
  }

  .product-mega-feature-grid,
  .product-mega-category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-modal {
    place-items: start;
    overflow: auto;
    padding: 14px;
  }

  .auth-card {
    padding: 18px;
  }

  .auth-identity-hero,
  .auth-tabs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .storefront-intro {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .storefront-intro > div {
    grid-template-rows: auto;
  }

  .rotator-message {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-cloud {
    animation: none;
    transition: none;
  }

  .rotator-message,
  .cloud-logo::after,
  .reveal,
  .topology-card::before,
  .kube-live-indicator,
  .kube-flow-link::after,
  .kube-pod.warning .kube-pod-dot {
    animation: none;
    transition: none;
  }
}
