:root {
  --tiffany: #81d8d0;
  --tiffany-2: #a8ebe5;
  --prussian: #003153;
  --prussian-2: #06263d;
  --porcelain-blue: #0b63ce;
  --leaf: #1f7a44;
  --leaf-2: #77b255;
  --petal: #ffd7e5;
  --petal-2: #fff1f6;
  --bg: #fbf7f8;
  --surface: #ffffff;
  --surface-2: #f7fbfa;
  --ink: #182332;
  --muted: #6a7480;
  --line: rgba(0, 49, 83, 0.12);
  --accent: var(--tiffany);
  --accent-ink: var(--prussian);
  --blue: var(--prussian);
  --amber: #a86413;
  --red: #a33a31;
  --shadow: 0 24px 80px rgba(0, 49, 83, 0.1);
  --radius: 8px;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "MiSans", "Noto Sans CJK SC",
    "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui,
    sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  background:
    radial-gradient(circle at 13% 12%, rgba(255, 215, 229, 0.95), rgba(255, 215, 229, 0) 28vw),
    radial-gradient(circle at 86% 10%, rgba(129, 216, 208, 0.78), rgba(129, 216, 208, 0) 25vw),
    radial-gradient(circle at 86% 92%, rgba(31, 122, 68, 0.15), rgba(31, 122, 68, 0) 30vw),
    linear-gradient(180deg, #fff9fb 0%, #f8fbfa 46%, #f6f8fb 100%),
    var(--bg);
  color: var(--ink);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: 88px;
  right: 7vw;
  width: 118px;
  height: 118px;
  border: 22px solid rgba(11, 99, 206, 0.16);
  border-radius: 50%;
  box-shadow: -72px 86px 0 -42px rgba(31, 122, 68, 0.24);
}

body::after {
  left: 8vw;
  bottom: 10vh;
  width: 170px;
  height: 170px;
  border-radius: 44% 56% 52% 48%;
  background: rgba(129, 216, 208, 0.2);
  transform: rotate(-14deg);
}

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

.app-shell {
  display: block;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: none;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--prussian);
  color: #e9fbf9;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: var(--tiffany);
  color: var(--prussian);
  font-weight: 700;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 2px;
  color: #a8c6d0;
  font-size: 13px;
}

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

.nav-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: transparent;
  color: #d9f3f0;
  text-align: left;
  cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
  border-color: rgba(129, 216, 208, 0.5);
  background: rgba(129, 216, 208, 0.14);
}

.section-kicker,
.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.sidebar .section-kicker {
  color: #a8c6d0;
}

.project-list {
  min-height: 0;
  overflow: auto;
}

.project-item {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid rgba(129, 216, 208, 0.22);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: rgba(129, 216, 208, 0.08);
  color: #e9fbf9;
  text-align: left;
  cursor: pointer;
}

.project-item span {
  display: block;
  margin-top: 4px;
  color: #a8c6d0;
  font-size: 12px;
}

.sidebar-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
  color: #a8c6d0;
  font-size: 12px;
}

.health-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #f3b23c;
}

.health-dot.ok::before {
  background: var(--tiffany);
}

.health-dot.bad::before {
  background: #df695f;
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: min(1320px, calc(100% - clamp(44px, 8vw, 144px)));
  margin: 0 auto;
  padding: 22px 0 64px;
}

[data-view-panel] {
  display: none;
}

body[data-active-view="workspace"] [data-view-panel="workspace"],
body[data-active-view="reports"] [data-view-panel="reports"],
body[data-active-view="audit"] [data-view-panel="audit"] {
  display: block;
}

body[data-active-view="workspace"] .design-studio-map,
body[data-active-view="workspace"] .work-grid {
  display: grid;
}

body[data-active-view="workspace"] .design-studio-map,
body[data-active-view="workspace"] .flow-panel,
body[data-active-view="workspace"] .mission-panel {
  display: none !important;
}

body[data-active-view="workspace"] .section-intro,
body[data-active-view="workspace"] .mission-journey,
body[data-active-view="workspace"] .core-proof-panel,
body[data-active-view="workspace"] .team-trial-panel,
body[data-active-view="workspace"] .case-to-mission {
  display: none !important;
}

body[data-active-view="reports"] .topbar,
body[data-active-view="reports"] .mission-journey,
body[data-active-view="reports"] .section-intro,
body[data-active-view="reports"] .design-studio-map,
body[data-active-view="reports"] .mission-status,
body[data-active-view="reports"] .development-orientation,
body[data-active-view="audit"] .topbar,
body[data-active-view="audit"] .mission-journey,
body[data-active-view="audit"] .section-intro,
body[data-active-view="audit"] .design-studio-map,
body[data-active-view="audit"] .mission-status,
body[data-active-view="audit"] .audit-orientation {
  display: none !important;
}

body:not([data-active-view="reports"]) .system-diagnostics {
  display: none;
}

body[data-active-view="reports"] .system-diagnostics {
  display: none;
}

body[data-active-view="reports"] .system-diagnostics:not([open]) ~ .work-grid .native-monitor-panel {
  display: none;
}

body[data-active-view="reports"] .system-diagnostics[open] ~ .work-grid .native-monitor-panel {
  display: block;
}

body[data-active-view="reports"] .team-progress-panel,
body[data-active-view="reports"] .developer-evidence-panel,
body[data-active-view="audit"] .quality-panel,
body[data-active-view="audit"] .delivery-contract-panel {
  display: none !important;
}

body[data-active-view="reports"] .work-grid,
body[data-active-view="audit"] .work-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

body[data-active-view="reports"] .report-panel,
body[data-active-view="audit"] .feedback-panel {
  grid-column: 1 / -1;
}

body[data-active-view="reports"] .report-panel.is-hidden-until-ready {
  display: none !important;
}

body[data-active-view="reports"] #runtimeMode {
  display: none;
}

.site-nav {
  order: 1;
}

.topbar {
  order: 2;
}

.user-action-panel {
  order: 3;
}

.work-grid {
  order: 5;
}

.mission-status {
  order: 6;
}

.case-story {
  order: 4;
}

.core-proof-panel {
  order: 7;
}

.team-trial-panel {
  order: 8;
}

.case-to-mission {
  order: 9;
}

.mission-journey {
  order: 10;
}

.section-intro {
  order: 11;
}

.system-diagnostics {
  order: 12;
}

.site-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 50px rgba(0, 49, 83, 0.08);
  backdrop-filter: blur(20px);
}

.brand.compact .brand-mark {
  width: 34px;
  height: 34px;
  border-color: rgba(0, 49, 83, 0.08);
}

.brand.compact span {
  color: var(--muted);
}

.site-nav-links {
  display: flex;
  gap: 8px;
  border-radius: 8px;
  padding: 4px;
  background: rgba(0, 49, 83, 0.05);
}

.site-nav-links .nav-item {
  width: auto;
  min-height: 34px;
  border: 0;
  padding: 0 16px;
  color: var(--muted);
  text-align: center;
}

.site-nav-links .nav-item:hover,
.site-nav-links .nav-item.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 49, 83, 0.08);
}

.site-nav-meta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.language-toggle {
  min-width: 44px;
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(0, 49, 83, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--prussian);
  font-weight: 650;
}

.user-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 20px 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(223, 248, 245, 0.7)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 58px rgba(0, 49, 83, 0.08);
}

.user-action-panel[data-tone="attention"] {
  border-color: rgba(245, 161, 126, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 242, 235, 0.82)),
    rgba(255, 255, 255, 0.86);
}

.user-action-panel[data-tone="ready"] {
  border-color: rgba(129, 216, 208, 0.58);
}

.user-action-panel[data-tone="running"] {
  border-color: rgba(11, 99, 206, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(229, 244, 255, 0.84)),
    rgba(255, 255, 255, 0.86);
}

.user-action-panel h2 {
  margin: 2px 0 6px;
  color: var(--prussian);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.12;
  font-weight: 760;
}

.user-action-panel p:last-child {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.user-action-panel .button {
  white-space: nowrap;
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 20px;
  overflow: hidden;
  min-height: 300px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 48px 48px 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 252, 0.76)),
    var(--surface);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 32px 100px rgba(0, 49, 83, 0.12);
  backdrop-filter: blur(14px);
}

body[data-active-view="workspace"] .topbar {
  min-height: auto;
  margin-bottom: 14px;
  padding: clamp(16px, 2.4vw, 24px) clamp(18px, 3.4vw, 36px);
}

body[data-active-view="workspace"] .topbar h1 {
  max-width: 960px;
  margin-inline: auto;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
}

body[data-active-view="workspace"] .topbar-copy {
  max-width: 700px;
  margin: 10px auto 0;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.42;
}

body[data-active-view="workspace"] .hero-prompts {
  margin-top: 12px;
}

body[data-active-view="workspace"] .top-actions {
  margin-top: 4px;
}

body[data-active-view="workspace"] .topbar #runSampleButton {
  display: none;
}

.topbar::before {
  content: "";
  position: absolute;
  top: -172px;
  right: -116px;
  width: 400px;
  height: 400px;
  border-radius: 46% 54% 64% 36%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 215, 229, 0.88), rgba(255, 215, 229, 0.26) 42%, rgba(255, 215, 229, 0) 64%),
    radial-gradient(circle at 72% 70%, rgba(129, 216, 208, 0.65), rgba(129, 216, 208, 0) 55%);
  transform: rotate(14deg);
}

.topbar::after {
  content: "";
  position: absolute;
  left: -112px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(11, 99, 206, 0.18), rgba(11, 99, 206, 0.05) 48%, rgba(11, 99, 206, 0) 70%);
}

.hero-copy,
.top-actions {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand strong,
.panel-header strong,
.mission-journey strong {
  font-family: var(--font-sans);
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 64px;
  line-height: 1.04;
  font-weight: 680;
  letter-spacing: 0;
}

.topbar .eyebrow {
  color: var(--porcelain-blue);
}

.topbar-copy {
  max-width: 740px;
  margin: 18px 0 0;
  color: #53606c;
  font-size: 19px;
  line-height: 1.62;
  font-weight: 400;
}

.hero-prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 780px;
  margin-top: 22px;
}

.prompt-chip {
  min-height: 44px;
  border: 1px solid rgba(0, 49, 83, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 49, 83, 0.07);
}

.prompt-chip:hover {
  border-color: rgba(11, 99, 206, 0.34);
  color: var(--porcelain-blue);
}

h2 {
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 650;
}

.top-actions,
.input-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 560;
  cursor: pointer;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 49, 83, 0.14);
}

.button.primary {
  border-color: var(--prussian);
  background: var(--prussian);
  color: #ffffff;
  font-weight: 680;
}

.button.secondary {
  border-color: #9bcfd0;
  background: #eefcfb;
  color: var(--prussian);
}

.button.ghost {
  background: transparent;
}

.topbar .button {
  min-height: 48px;
  border-color: rgba(0, 49, 83, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.topbar .button.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.topbar .button.primary {
  border-color: var(--prussian);
  background: var(--prussian);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 49, 83, 0.24);
}

.topbar #newProjectButton,
.topbar #saveProjectButton {
  display: none;
}

.case-story {
  display: none;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 252, 251, 0.78)),
    var(--surface);
  box-shadow: 0 20px 64px rgba(0, 49, 83, 0.1);
  backdrop-filter: blur(16px);
}

body[data-active-view="workspace"] .case-story {
  display: grid;
}

.case-to-mission {
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  border: 1px solid rgba(129, 216, 208, 0.38);
  border-radius: var(--radius);
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(0, 49, 83, 0.94), rgba(6, 38, 61, 0.9)),
    var(--prussian);
  color: #e9fbf9;
  box-shadow: 0 18px 58px rgba(0, 49, 83, 0.16);
}

body[data-active-view="workspace"] .case-to-mission {
  display: grid;
}

.case-to-mission .eyebrow {
  color: var(--tiffany);
}

.case-to-mission h2 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.22;
  font-weight: 680;
}

.case-to-mission p:last-child {
  max-width: 780px;
  margin: 8px 0 0;
  color: #b8d8dd;
  line-height: 1.58;
}

.case-to-mission .button.primary {
  border-color: var(--tiffany);
  background: var(--tiffany);
  color: var(--prussian);
  box-shadow: none;
}

.team-trial-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 18px;
  align-items: stretch;
  margin: 0 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 246, 0.68)),
    var(--surface);
  box-shadow: 0 18px 58px rgba(0, 49, 83, 0.08);
  backdrop-filter: blur(16px);
}

body[data-active-view="workspace"] .team-trial-panel {
  display: grid;
}

.team-trial-panel h2 {
  max-width: 620px;
  color: var(--prussian);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 680;
}

.team-trial-panel p:last-child {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.trial-share-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(129, 216, 208, 0.48);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(223, 248, 245, 0.92), rgba(255, 255, 255, 0.82));
}

.trial-share-card span,
.trial-share-card small {
  color: var(--muted);
  font-size: 12px;
}

.trial-share-card strong {
  overflow-wrap: anywhere;
  color: var(--prussian);
  font-size: 15px;
  line-height: 1.42;
}

.trial-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.core-proof-panel {
  position: relative;
  display: none;
  gap: 20px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(129, 216, 208, 0.34), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 253, 252, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body[data-active-view="workspace"] .core-proof-panel {
  display: grid;
}

.core-proof-panel::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -116px;
  width: 260px;
  height: 260px;
  border: 26px solid rgba(0, 49, 83, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.core-proof-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.core-proof-header h2 {
  margin: 4px 0 8px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.core-proof-header p:last-child {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.core-proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.core-proof-card,
.core-proof-footer {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(0, 49, 83, 0.08);
}

.core-proof-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 20px;
}

.core-proof-card > span,
.core-proof-footer > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.core-proof-card > strong {
  color: var(--prussian);
  font-size: 21px;
  line-height: 1.2;
}

.core-proof-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.core-proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.core-proof-metrics div {
  min-width: 0;
  border-radius: 8px;
  padding: 10px;
  background: rgba(129, 216, 208, 0.14);
}

.core-proof-metrics b,
.core-proof-metrics small {
  display: block;
}

.core-proof-metrics b {
  color: var(--prussian);
  font-size: 20px;
  line-height: 1;
}

.core-proof-metrics small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.core-proof-footer {
  grid-column: 1 / -1;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(0, 49, 83, 0.94), rgba(0, 49, 83, 0.84)),
    var(--prussian);
}

.core-proof-footer span,
.core-proof-footer strong {
  display: block;
  color: #f7ffff;
}

.core-proof-footer strong {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.5;
}

.case-story-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.case-story-header h2 {
  max-width: 680px;
  font-size: 24px;
  line-height: 1.14;
  font-weight: 680;
}

.case-story-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

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

.case-value-card {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255, 255, 255, 0.76);
}

.case-value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--petal);
  color: var(--porcelain-blue);
  font-size: 12px;
  font-weight: 700;
}

.case-value-card:nth-child(2) span {
  background: #e8f6e9;
  color: var(--leaf);
}

.case-value-card:nth-child(3) span {
  background: #dff8f5;
  color: var(--prussian);
}

.case-value-card strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.32;
}

.case-value-card p,
.case-value-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.case-value-card p {
  margin: 10px 0 0;
}

.case-value-card ul {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.case-before {
  background:
    linear-gradient(180deg, rgba(255, 241, 246, 0.88), rgba(255, 255, 255, 0.76));
}

.case-after {
  background:
    linear-gradient(180deg, rgba(223, 248, 245, 0.92), rgba(255, 255, 255, 0.78));
}

.case-product-snapshot {
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 247, 250, 0.72));
}

.case-product-copy {
  align-self: center;
}

.case-product-copy h3 {
  margin: 0;
  color: var(--prussian);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 680;
}

.case-product-copy p:last-child {
  margin: 10px 0 0;
  color: #4d5b68;
  font-size: 14px;
  line-height: 1.55;
}

.case-screen {
  min-height: 210px;
  border: 1px solid rgba(0, 49, 83, 0.14);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 85% 10%, rgba(129, 216, 208, 0.28), rgba(129, 216, 208, 0) 36%),
    linear-gradient(180deg, #003153, #06263d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #e9fbf9;
}

.case-screen-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.case-screen-nav span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--tiffany), var(--petal));
}

.case-screen-nav strong {
  color: #ffffff;
  font-size: 17px;
}

.case-screen-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.case-screen-body div {
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.case-screen-body small {
  display: block;
  color: #9edbd8;
  font-size: 12px;
}

.case-screen-body b {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.36;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.mission-status {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 40px rgba(0, 49, 83, 0.06);
}

.status-strip div {
  min-width: 0;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.74);
}

.status-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.status-strip strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.section-intro {
  display: grid;
  justify-items: center;
  margin: 10px auto 16px;
  text-align: center;
}

.section-intro h2 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 680;
}

.section-intro p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.mission-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.journey-intro {
  grid-column: 1 / -1;
  max-width: 760px;
  padding: 0 2px 4px;
}

.journey-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.16;
  font-weight: 680;
}

.journey-intro p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.mission-journey article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 46px rgba(0, 49, 83, 0.08);
  backdrop-filter: blur(16px);
}

.mission-journey span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--petal);
  color: var(--porcelain-blue);
  font-size: 12px;
  font-weight: 680;
}

.mission-journey strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.32;
}

.mission-journey article:nth-of-type(2) span {
  background: #e6f5ff;
  color: var(--porcelain-blue);
}

.mission-journey article:nth-of-type(3) span {
  background: #e8f6e9;
  color: var(--leaf);
}

.mission-journey article:nth-of-type(4) span {
  background: #dff8f5;
  color: var(--prussian);
}

.mission-journey p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.system-diagnostics {
  margin-bottom: 18px;
  border: 1px solid rgba(0, 49, 83, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.system-diagnostics > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--prussian);
  cursor: pointer;
  list-style: none;
}

.system-diagnostics > summary::-webkit-details-marker {
  display: none;
}

.system-diagnostics > summary span {
  font-weight: 650;
}

.system-diagnostics > summary small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.system-diagnostics[open] {
  padding-bottom: 16px;
}

.system-diagnostics[open] > summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.system-diagnostics .work-status,
.system-diagnostics .alpha-gate-panel,
.system-diagnostics .hosted-runner-panel,
.system-diagnostics .operator-proof-panel {
  margin: 0 16px 16px;
  box-shadow: none;
}

.work-status,
.alpha-gate-panel,
.hosted-runner-panel {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.work-status-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

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

.work-status-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.work-status-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--prussian);
}

.work-status-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.alpha-gate-grid {
  display: grid;
  gap: 14px;
}

.alpha-gate-summary,
.hosted-runner-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.alpha-gate-summary div,
.hosted-runner-summary div {
  min-width: 0;
  padding: 11px;
  background: #fbffff;
}

.alpha-gate-summary span,
.alpha-gate-check span,
.hosted-runner-summary span,
.hosted-runner-stages span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.hosted-runner-grid {
  display: grid;
  gap: 14px;
}

.hosted-runner-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.hosted-runner-stages article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.hosted-runner-stages article.pass {
  border-color: rgba(129, 216, 208, 0.88);
}

.hosted-runner-stages article.fail {
  border-color: #efc1a2;
  background: #fffaf4;
}

.hosted-runner-stages article.pending {
  border-color: #e2d5b6;
  background: #fffdf6;
}

.hosted-runner-stages article div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hosted-runner-stages strong,
.hosted-runner-stages p,
.hosted-runner-stages small {
  overflow-wrap: anywhere;
}

.hosted-runner-stages p {
  margin: 8px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.42;
}

.hosted-runner-stages small {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.hosting-paths {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #f3fbfb;
}

.hosting-paths-header,
.hosting-paths article div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hosting-paths-header span,
.hosting-paths article span {
  color: var(--muted);
  font-size: 12px;
}

.hosting-paths article {
  min-width: 0;
  border: 1px solid #d5e7e8;
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
}

.hosting-paths article.recommended {
  border-color: rgba(129, 216, 208, 0.9);
  box-shadow: inset 3px 0 0 var(--tiffany);
}

.hosting-paths article.blocked {
  border-color: #e2d5b6;
  background: #fffdf6;
}

.hosting-paths p,
.hosting-paths li,
.hosting-paths code {
  overflow-wrap: anywhere;
}

.hosting-paths p,
.hosting-paths ul {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hosting-paths ul {
  padding-left: 18px;
}

.hosting-paths code {
  display: block;
  margin-top: 8px;
  border-radius: var(--radius);
  padding: 8px;
  background: var(--prussian);
  color: #d8fffb;
  font-size: 12px;
  line-height: 1.35;
}

.attach-checklist {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #f7ffff;
}

.attach-checklist-header,
.attach-checklist article div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.attach-checklist-header span,
.attach-checklist article span {
  color: var(--muted);
  font-size: 12px;
}

.attach-checklist article {
  min-width: 0;
  border: 1px solid #d5e7e8;
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
}

.attach-checklist article.pass {
  border-color: rgba(129, 216, 208, 0.9);
}

.attach-checklist article.pending {
  border-color: #e2d5b6;
  background: #fffdf6;
}

.attach-checklist p,
.attach-checklist code {
  overflow-wrap: anywhere;
}

.attach-checklist p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.attach-checklist code {
  display: block;
  margin-top: 8px;
  border-radius: var(--radius);
  padding: 8px;
  background: var(--prussian);
  color: #d8fffb;
  font-size: 12px;
  line-height: 1.35;
}

.hosted-runner-handoff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.hosted-runner-handoff > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.hosted-runner-handoff > .commercial-acceptance {
  border-color: rgba(129, 216, 208, 0.9);
  background: #f4fffd;
}

.hosted-runner-handoff strong,
.hosted-runner-handoff code,
.hosted-runner-handoff p,
.hosted-runner-handoff li,
.hosted-runner-handoff small {
  overflow-wrap: anywhere;
}

.hosted-runner-handoff code {
  display: block;
  margin-top: 8px;
  border-radius: var(--radius);
  padding: 8px;
  background: var(--prussian);
  color: #d8fffb;
  font-size: 12px;
  line-height: 1.35;
}

.hosted-runner-handoff p,
.hosted-runner-handoff ul {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.operator-proof-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.8fr);
  gap: 12px;
}

.operator-proof-card,
.operator-proof-result {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.operator-proof-card strong,
.operator-proof-result strong {
  display: block;
  margin-bottom: 8px;
}

.operator-proof-card p,
.operator-proof-result p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.operator-proof-card textarea {
  width: 100%;
  min-height: 170px;
  border: 1px solid #cbd3ca;
  border-radius: var(--radius);
  padding: 10px;
  background: #f7ffff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
}

.operator-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.operator-proof-metrics {
  display: grid;
  gap: 8px;
}

.operator-proof-metrics span {
  display: block;
  overflow-wrap: anywhere;
  border-radius: var(--radius);
  padding: 8px;
  background: var(--surface-2);
  color: var(--prussian);
  font-size: 12px;
}

.alpha-gate-summary strong,
.hosted-runner-summary strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--prussian);
  font-size: 13px;
}

.alpha-gate-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.alpha-gate-check {
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--tiffany);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.alpha-gate-check.fail {
  border-left-color: var(--red);
  background: #fff7f6;
}

.alpha-gate-check div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.alpha-gate-check strong {
  overflow-wrap: anywhere;
  color: var(--prussian);
}

.alpha-gate-check p,
.alpha-gate-gaps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.alpha-gate-gaps {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.alpha-gate-gaps.ready {
  background: var(--surface-2);
}

.alpha-gate-gaps strong {
  color: var(--prussian);
}

.alpha-gate-gaps ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.gap-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.gap-columns div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
}

.gap-columns span {
  color: var(--prussian);
  font-size: 12px;
  font-weight: 650;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(480px, 1fr);
  align-items: start;
  gap: 24px;
}

body[data-active-view="workspace"] .work-grid {
  --mission-col: 250px;
  --preview-col: 480px;
  --workspace-panel-height: clamp(680px, calc(100vh - 132px), 920px);
  grid-template-columns: var(--mission-col) 10px minmax(520px, 1fr) 10px var(--preview-col);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 22px;
  scroll-margin-top: 96px;
}

.design-studio-map {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mission-switcher-panel {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(250, 250, 252, 0.9), rgba(255, 255, 255, 0.76)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(0, 49, 83, 0.06);
}

body[data-active-view="workspace"] .mission-switcher-panel {
  grid-column: 1;
}

body[data-active-view="workspace"] .task-panel {
  grid-column: 3;
}

body[data-active-view="workspace"] .product-preview-panel {
  grid-column: 5;
}

body[data-active-view="workspace"] .mission-switcher-panel,
body[data-active-view="workspace"] .task-panel,
body[data-active-view="workspace"] .product-preview-panel {
  position: sticky;
  top: 104px;
  align-self: stretch;
  height: var(--workspace-panel-height);
  min-height: 0;
  max-height: var(--workspace-panel-height);
}

body[data-active-view="workspace"] .mission-switcher-panel,
body[data-active-view="workspace"] .product-preview-panel {
  overflow-y: auto;
}

.workspace-resizer {
  display: none;
}

body[data-active-view="workspace"] .workspace-resizer {
  position: sticky;
  top: 104px;
  display: block;
  align-self: stretch;
  width: 10px;
  height: var(--workspace-panel-height);
  min-height: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: col-resize;
}

body[data-active-view="workspace"] .workspace-resizer[data-resizer="mission-chat"] {
  grid-column: 2;
}

body[data-active-view="workspace"] .workspace-resizer[data-resizer="chat-preview"] {
  grid-column: 4;
}

body[data-active-view="workspace"] .workspace-resizer::before {
  content: "";
  display: block;
  width: 3px;
  height: 100%;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(0, 49, 83, 0.08);
  transition:
    width 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

body[data-active-view="workspace"] .workspace-resizer:hover::before,
body[data-active-view="workspace"] .workspace-resizer.is-dragging::before {
  width: 5px;
  background: rgba(129, 216, 208, 0.72);
  box-shadow: 0 0 0 4px rgba(129, 216, 208, 0.16);
}

body.is-resizing-workspace {
  cursor: col-resize;
  user-select: none;
}

.mission-dock-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mission-dock-header h2 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.mission-dock-header .eyebrow {
  margin-bottom: 3px;
}

.mission-dock-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px 8px;
  color: #343a42;
  font-size: 14px;
  line-height: 1.2;
}

.mission-folder-mark {
  position: relative;
  width: 17px;
  height: 12px;
  border: 1.5px solid rgba(0, 49, 83, 0.42);
  border-radius: 3px;
}

.mission-folder-mark::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 1px;
  width: 8px;
  height: 5px;
  border: 1.5px solid rgba(0, 49, 83, 0.42);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.82);
}

.compact-header {
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.compact-header h2 {
  font-size: 19px;
  line-height: 1.2;
}

.compact-button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
}

.mission-workspace-list {
  display: grid;
  gap: 3px;
}

.mission-workspace-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto 8px;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px 11px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.mission-workspace-item:hover,
.mission-workspace-item.active {
  background: rgba(0, 49, 83, 0.055);
  box-shadow: none;
}

.mission-workspace-item.active {
  background: linear-gradient(90deg, rgba(0, 49, 83, 0.08), rgba(129, 216, 208, 0.14));
}

.mission-index {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: #7b8792;
  font-size: 10px;
  font-weight: 780;
}

.mission-workspace-item.active .mission-index {
  background: rgba(129, 216, 208, 0.6);
  color: var(--prussian);
}

.mission-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mission-copy strong,
.mission-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mission-copy strong {
  color: #202833;
  font-size: 14px;
  line-height: 1.25;
}

.mission-copy small {
  color: var(--muted);
  font-size: 11px;
}

.mission-recency {
  color: #8c949d;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.mission-preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 49, 83, 0.16);
}

.mission-preview-dot.ready {
  background: var(--tiffany);
  box-shadow: 0 0 0 5px rgba(129, 216, 208, 0.16);
}

.mission-command-hint {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.62);
}

.mission-command-hint strong {
  color: var(--prussian);
  font-size: 12px;
}

.mission-command-hint span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.studio-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "index title"
    "index body";
  column-gap: 12px;
  row-gap: 2px;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 16px 48px rgba(0, 49, 83, 0.07);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.studio-step:hover,
.studio-step.active {
  border-color: rgba(129, 216, 208, 0.72);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 58px rgba(0, 49, 83, 0.1);
}

.studio-step span {
  grid-area: index;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tiffany);
  color: var(--prussian);
  font-size: 13px;
  font-weight: 700;
}

.studio-step strong {
  grid-area: title;
  align-self: end;
  color: var(--prussian);
  font-size: 15px;
  line-height: 1.28;
}

.studio-step small {
  grid-area: body;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.task-panel,
.flow-panel,
.product-preview-panel,
.mission-panel,
.runtime-panel,
.report-panel {
  border-color: rgba(255, 255, 255, 0.8);
}

.task-panel {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 215, 229, 0.22), rgba(255, 255, 255, 0) 180px),
    rgba(255, 255, 255, 0.82);
}

body[data-active-view="workspace"] .task-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.task-panel .panel-header h2 {
  max-width: 760px;
  font-size: 28px;
  line-height: 1.14;
  font-weight: 680;
}

body[data-active-view="workspace"] .task-panel .panel-header h2,
body[data-active-view="workspace"] .product-preview-panel .panel-header h2 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
}

.task-panel .panel-header {
  align-items: center;
  margin-bottom: 14px;
}

.product-chat {
  display: grid;
  gap: 12px;
}

body[data-active-view="workspace"] .product-chat {
  flex: 1;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

body[data-active-view="workspace"] .product-settings,
body[data-active-view="workspace"] .input-actions {
  display: none;
}

.chat-display-panel {
  min-height: clamp(520px, 58vh, 720px);
  max-height: clamp(560px, 68vh, 820px);
  overflow-y: auto;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(245, 253, 252, 0.76)),
    rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body[data-active-view="workspace"] .chat-display-panel {
  min-height: 0;
  max-height: none;
  height: auto;
}

.chat-thread {
  display: grid;
  gap: 12px;
}

.chat-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.chat-message > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--tiffany);
  color: var(--prussian);
  font-size: 13px;
  font-weight: 700;
}

.chat-message.user > span {
  background: var(--petal);
  color: var(--porcelain-blue);
}

.chat-message > div {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
}

.chat-message.assistant > div {
  background:
    linear-gradient(180deg, rgba(129, 216, 208, 0.16), rgba(255, 255, 255, 0.82));
}

.chat-message strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.chat-message p,
.chat-message-body p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.58;
  white-space: pre-line;
}

.chat-message-body {
  display: grid;
  gap: 8px;
  margin-top: 7px;
  color: var(--muted);
}

.chat-message-body p {
  margin: 0;
}

.chat-message-body ul,
.chat-message-body ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.chat-message-body.structured {
  gap: 12px;
}

.chat-answer-lead {
  max-width: 68ch;
  color: #526171;
  font-size: 15px;
  line-height: 1.62;
}

.chat-answer-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chat-answer-sections.compact {
  grid-template-columns: 1fr;
}

.chat-answer-sections section {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 10px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.7);
}

.chat-answer-sections strong {
  display: block;
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.35;
}

.chat-answer-sections p {
  margin-top: 7px;
  color: #5d6b79;
  font-size: 13px;
  line-height: 1.52;
  white-space: normal;
}

.compact-reply {
  gap: 12px;
}

.chat-message-details {
  border-top: 1px solid rgba(0, 49, 83, 0.08);
  padding-top: 10px;
}

.chat-message-details summary {
  color: var(--prussian);
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
}

.chat-message.thinking > div {
  border-color: rgba(129, 216, 208, 0.38);
  background:
    linear-gradient(180deg, rgba(240, 253, 251, 0.94), rgba(255, 255, 255, 0.82));
}

.chat-thinking-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #526171;
}

.chat-thinking-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--tiffany);
  animation: lovdex-thinking 1s ease-in-out infinite;
}

.chat-thinking-indicator i:nth-child(2) {
  animation-delay: 120ms;
}

.chat-thinking-indicator i:nth-child(3) {
  animation-delay: 240ms;
}

.chat-thinking-indicator p {
  margin: 0 0 0 4px;
  white-space: normal;
}

@keyframes lovdex-thinking {
  0%,
  80%,
  100% {
    opacity: 0.38;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat-turn-list {
  display: grid;
  gap: 10px;
}

.chat-turn-list:empty {
  display: none;
}

.chat-turn-list .chat-message > div {
  background: rgba(255, 255, 255, 0.72);
}

.chat-message-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-message-header strong {
  min-width: 0;
}

.chat-message-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 120ms ease;
}

.chat-message:hover .chat-message-actions,
.chat-message:focus-within .chat-message-actions {
  opacity: 1;
}

.chat-message-actions button,
.chat-edit-actions button {
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #526171;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.chat-message-actions button:hover,
.chat-edit-actions button:hover {
  border-color: rgba(129, 216, 208, 0.72);
  color: var(--prussian);
}

.chat-turn-edit {
  width: 100%;
  min-height: 120px;
  margin-top: 9px;
  border: 1px solid rgba(0, 49, 83, 0.14);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
  outline: none;
}

.chat-turn-edit:focus {
  border-color: rgba(11, 99, 206, 0.34);
  box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.08);
}

.chat-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.chat-edit-actions .primary {
  border-color: rgba(0, 49, 83, 0.18);
  background: var(--prussian);
  color: #effffe;
}

.chat-turn-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: #6c7b8c;
  font-size: 12px;
}

.chat-turn-meta span {
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(0, 49, 83, 0.06);
}

.chat-turn-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.chat-turn-options button {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.chat-turn-options button:hover {
  border-color: rgba(11, 99, 206, 0.3);
  box-shadow: 0 10px 22px rgba(0, 49, 83, 0.08);
}

.chat-turn-options button.recommended {
  border-color: rgba(129, 216, 208, 0.86);
  background: linear-gradient(180deg, rgba(223, 248, 245, 0.94), rgba(255, 255, 255, 0.84));
}

.chat-turn-options strong,
.chat-turn-options span,
.chat-turn-options small {
  display: block;
}

.chat-turn-options strong {
  color: var(--prussian);
  font-size: 12px;
  line-height: 1.35;
}

.chat-turn-options span {
  margin-top: 6px;
  color: #596776;
  font-size: 11px;
  line-height: 1.38;
}

.chat-turn-options small {
  margin-top: 8px;
  border-top: 1px solid rgba(0, 49, 83, 0.08);
  padding-top: 7px;
  color: #4f6472;
  font-size: 10px;
  line-height: 1.38;
}

.choice-message > div {
  padding: 16px;
}

.choice-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.choice-panel-header .eyebrow {
  margin-bottom: 2px;
}

.choice-helper {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.os-conversation-summary {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.os-conversation-summary p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.os-conversation-summary div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-conversation-summary span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 49, 83, 0.06);
  color: #526171;
  font-size: 12px;
  line-height: 1.35;
}

.scenario-choice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.scenario-choice-card {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.12);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.scenario-choice-card:hover {
  border-color: rgba(11, 99, 206, 0.32);
  box-shadow: 0 10px 24px rgba(0, 49, 83, 0.08);
}

.scenario-choice-card.active {
  border-color: rgba(129, 216, 208, 0.95);
  background:
    linear-gradient(180deg, rgba(223, 248, 245, 0.9), rgba(255, 255, 255, 0.84));
}

.scenario-choice-card.recommended {
  border-color: rgba(11, 99, 206, 0.24);
}

.scenario-choice-card strong {
  display: block;
  color: var(--prussian);
  font-size: 15px;
}

.scenario-choice-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.scenario-choice-meta {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  color: #596776;
  font-size: 12px;
}

.product-choices-message > div {
  padding: 16px;
}

.product-choice-groups {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.chat-confirm-button {
  justify-self: start;
  margin-top: 14px;
}

.product-choice-group {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.product-choice-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-choice-group-head strong {
  color: var(--prussian);
  font-size: 14px;
}

.product-choice-group-head span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.product-choice-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-choice-card {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.product-choice-card:hover {
  border-color: rgba(11, 99, 206, 0.28);
  box-shadow: 0 10px 24px rgba(0, 49, 83, 0.07);
}

.product-choice-card.active {
  border-color: rgba(129, 216, 208, 0.92);
  background:
    linear-gradient(180deg, rgba(223, 248, 245, 0.94), rgba(255, 255, 255, 0.82));
}

.product-choice-card strong,
.product-choice-card span {
  display: block;
}

.product-choice-card strong {
  color: var(--prussian);
  font-size: 12px;
  line-height: 1.35;
}

.product-choice-card span {
  margin-top: 6px;
  color: #596776;
  font-size: 11px;
  line-height: 1.38;
}

.os-message > div {
  padding: 16px;
}

.chat-product-os {
  display: grid;
  gap: 13px;
}

.os-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.os-panel-header .eyebrow {
  margin-bottom: 2px;
}

.os-panel-header .badge {
  max-width: 190px;
  white-space: normal;
  text-align: right;
}

.os-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 49, 83, 0.08);
}

.os-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--tiffany), rgba(11, 99, 206, 0.72));
}

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

.os-check-grid div {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.os-check-grid small,
.os-check-grid strong,
.os-check-grid p {
  display: block;
  min-width: 0;
}

.os-check-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.os-check-grid strong {
  margin-top: 5px;
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.35;
}

.os-check-grid p {
  margin: 7px 0 0;
  color: #596776;
  font-size: 12px;
  line-height: 1.42;
}

.os-partner-contract {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(129, 216, 208, 0.42);
  border-radius: 8px;
  background: rgba(240, 255, 253, 0.72);
}

.os-partner-contract div,
.os-recovery-note,
.os-memory-note {
  min-width: 0;
}

.os-partner-contract small,
.os-recovery-note small,
.os-memory-note small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.os-partner-contract strong {
  display: block;
  margin-top: 5px;
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.4;
}

.os-partner-contract p,
.os-recovery-note p,
.os-memory-note span {
  display: block;
  margin: 6px 0 0;
  color: #596776;
  font-size: 12px;
  line-height: 1.42;
}

.os-recovery-note,
.os-memory-note {
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 49, 83, 0.09);
}

.os-recovery-note {
  border-color: rgba(203, 91, 91, 0.2);
  background: rgba(255, 246, 244, 0.78);
}

.chat-composer-shell {
  display: grid;
  gap: 0;
  border: 1px solid rgba(0, 49, 83, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 255, 254, 0.9)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(0, 49, 83, 0.08);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.chat-composer-shell:focus-within,
.chat-composer-shell.drag-over {
  border-color: rgba(11, 99, 206, 0.38);
  box-shadow:
    0 0 0 4px rgba(11, 99, 206, 0.08),
    0 22px 58px rgba(0, 49, 83, 0.12);
}

.chat-composer-shell.drag-over {
  background:
    linear-gradient(180deg, rgba(226, 250, 248, 0.94), rgba(255, 255, 255, 0.94)),
    #ffffff;
}

.attachment-tray {
  display: flex;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid rgba(0, 49, 83, 0.08);
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.attachment-tray[hidden] {
  display: none;
}

.attachment-tray::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--tiffany);
}

.attachment-tray span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.chat-composer {
  display: grid;
  padding: 14px 16px 2px;
}

.chat-composer textarea {
  width: 100%;
  min-height: 66px;
  max-height: 180px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.66;
  resize: vertical;
  outline: none;
}

.chat-composer textarea:focus {
  box-shadow: none;
}

.chat-composer-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 4px 14px 12px;
}

.composer-attach-button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(0, 49, 83, 0.12);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 120ms ease,
    background 120ms ease,
    transform 120ms ease;
}

.composer-attach-button:hover {
  border-color: rgba(129, 216, 208, 0.84);
  background: rgba(232, 251, 249, 0.9);
}

.composer-attach-button:active {
  transform: translateY(1px);
}

.composer-attach-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.composer-attach-button span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--petal-2);
  color: var(--porcelain-blue);
  font-size: 21px;
  font-weight: 580;
  line-height: 1;
}

.composer-send-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: var(--prussian);
  color: #effffe;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 49, 83, 0.18);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.composer-send-button:hover {
  background: #024565;
  box-shadow: 0 16px 34px rgba(0, 49, 83, 0.22);
}

.composer-send-button:active {
  transform: translateY(1px);
}

.composer-send-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  box-shadow: none;
}

.composer-send-button.is-loading b {
  color: transparent;
}

.composer-send-button.is-loading b::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: lovdex-spin 780ms linear infinite;
}

.composer-send-button b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 21px;
  line-height: 1;
}

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

.product-settings {
  display: none;
}

.flow-panel {
  background:
    linear-gradient(180deg, rgba(129, 216, 208, 0.16), rgba(255, 255, 255, 0) 180px),
    rgba(255, 255, 255, 0.8);
}

.flow-panel,
.mission-panel,
.runtime-panel {
  box-shadow: 0 16px 48px rgba(0, 49, 83, 0.07);
}

.mission-panel {
  background:
    linear-gradient(180deg, rgba(11, 99, 206, 0.07), rgba(255, 255, 255, 0) 180px),
    rgba(255, 255, 255, 0.8);
}

.product-preview-panel {
  background:
    linear-gradient(135deg, rgba(0, 49, 83, 0.08), rgba(129, 216, 208, 0.18) 42%, rgba(255, 255, 255, 0) 76%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 64px rgba(0, 49, 83, 0.08);
}

.product-preview-panel:not(.wide) {
  align-self: start;
}

.runtime-panel {
  background:
    linear-gradient(180deg, rgba(31, 122, 68, 0.08), rgba(255, 255, 255, 0) 180px),
    rgba(255, 255, 255, 0.8);
}

.page-orientation {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 250, 0.78)),
    rgba(255, 255, 255, 0.86);
}

.development-orientation {
  order: -4;
}

.audit-orientation {
  order: -4;
}

.orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  background: rgba(0, 49, 83, 0.08);
}

.orientation-grid article {
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
}

.orientation-grid span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 6px;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.orientation-grid strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.32;
}

.orientation-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.native-monitor-panel {
  display: none;
}

.panel.wide {
  grid-column: 1 / -1;
}

.team-progress-panel {
  grid-column: 1 / -1;
  order: -2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 252, 251, 0.68)),
    rgba(255, 255, 255, 0.82);
}

.development-command-panel {
  grid-column: 1 / -1;
  order: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 252, 0.84)),
    rgba(255, 255, 255, 0.86);
}

.report-panel {
  order: 0;
}

.native-monitor-panel {
  order: 5;
}

.product-preview-panel.wide {
  grid-column: auto;
}

.mission-panel.wide,
.native-monitor-panel.wide,
.report-panel.wide {
  grid-column: 1 / -1;
}

body[data-active-view="workspace"] .mission-panel.wide {
  grid-column: auto;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.panel-actions .button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

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

.team-progress-card {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.team-progress-card.ready {
  border-color: rgba(129, 216, 208, 0.66);
  background:
    linear-gradient(180deg, rgba(223, 248, 245, 0.86), rgba(255, 255, 255, 0.78));
}

.team-progress-card.running {
  border-color: rgba(11, 99, 206, 0.22);
  background:
    linear-gradient(180deg, rgba(230, 245, 255, 0.82), rgba(255, 255, 255, 0.78));
}

.team-progress-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.team-progress-card strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 17px;
  line-height: 1.3;
}

.team-progress-card p {
  margin: 9px 0 0;
  color: #596776;
  font-size: 13px;
  line-height: 1.52;
}

.development-command {
  display: grid;
  gap: 10px;
}

.development-status-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(140px, 0.5fr));
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 16px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(246, 253, 252, 0.94), rgba(255, 255, 255, 0.84));
  box-shadow: 0 12px 28px rgba(0, 49, 83, 0.04);
}

.development-status-strip span,
.development-control-grid span,
.development-action-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.development-status-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--prussian);
  font-size: 15px;
  line-height: 1.28;
}

.development-status-strip > div {
  min-width: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.66);
}

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

.development-control-grid article,
.development-action-strip article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
}

.development-control-grid article.ready {
  border-color: rgba(129, 216, 208, 0.7);
  background: linear-gradient(180deg, rgba(225, 249, 246, 0.84), rgba(255, 255, 255, 0.76));
}

.development-control-grid article.running {
  border-color: rgba(11, 99, 206, 0.22);
  background: linear-gradient(180deg, rgba(232, 246, 255, 0.84), rgba(255, 255, 255, 0.76));
}

.development-control-grid article.blocked {
  border-color: rgba(207, 103, 82, 0.28);
  background: linear-gradient(180deg, rgba(255, 239, 235, 0.84), rgba(255, 255, 255, 0.76));
}

.development-control-grid strong,
.development-action-strip strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.38;
}

.development-control-grid p {
  margin: 6px 0 0;
  color: #5f6c78;
  font-size: 13px;
  line-height: 1.42;
}

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

.ceo-control-board,
.agent-collaboration-board,
.deliverables-board,
.multi-mission-board,
.operations-control-board,
.marketing-agent-board {
  display: grid;
  gap: 14px;
}

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

.multi-mission-summary article,
.multi-mission-row {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.multi-mission-summary article {
  padding: 14px;
}

.multi-mission-summary span,
.multi-mission-row small {
  color: #6c7b8c;
  font-size: 12px;
  line-height: 1.35;
}

.multi-mission-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--prussian);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.multi-mission-summary p {
  margin: 8px 0 0;
  color: #5f6f7f;
  font-size: 12px;
  line-height: 1.4;
}

.multi-mission-table {
  display: grid;
  gap: 10px;
}

.multi-mission-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(160px, 0.9fr) minmax(190px, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.multi-mission-row:hover,
.multi-mission-row.active {
  border-color: rgba(129, 216, 208, 0.86);
  box-shadow: 0 14px 32px rgba(0, 49, 83, 0.08);
}

.multi-mission-row.active {
  background: linear-gradient(90deg, rgba(223, 248, 245, 0.92), rgba(255, 255, 255, 0.76));
}

.multi-mission-row span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.multi-mission-row strong,
.multi-mission-row b,
.multi-mission-row small {
  overflow-wrap: anywhere;
}

.multi-mission-row strong,
.multi-mission-row b {
  color: var(--prussian);
  font-size: 14px;
  line-height: 1.35;
}

.multi-mission-row em {
  justify-self: end;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 49, 83, 0.06);
  color: #607080;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.multi-mission-row em.ready {
  background: rgba(129, 216, 208, 0.26);
  color: var(--prussian);
}

.multi-mission-row em.running {
  background: rgba(11, 99, 206, 0.1);
  color: #0b63ce;
}

.multi-mission-row em.blocked {
  background: rgba(255, 112, 112, 0.12);
  color: #b54242;
}

.ceo-control-hero,
.operations-control-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  background:
    radial-gradient(circle at 94% 8%, rgba(129, 216, 208, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(246, 253, 252, 0.98), rgba(255, 255, 255, 0.88));
  box-shadow: 0 20px 54px rgba(0, 49, 83, 0.07);
}

.ceo-control-hero span,
.operations-control-hero span,
.ceo-control-grid span,
.operations-control-grid span,
.deliverables-summary span,
.agent-boss-card span,
.agent-ceo-card span,
.marketing-agent-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.ceo-control-hero strong,
.operations-control-hero strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 28px;
  line-height: 1.15;
}

.ceo-control-hero p,
.operations-control-hero p,
.deliverables-summary p,
.marketing-agent-summary p {
  margin: 9px 0 0;
  max-width: 840px;
  color: #526170;
  line-height: 1.58;
}

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

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

.ceo-control-grid article,
.operations-control-grid article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.ceo-control-grid article.ready,
.ceo-control-grid article.completed,
.ceo-control-grid article.running,
.operations-control-grid article.running {
  border-color: rgba(129, 216, 208, 0.48);
  background:
    linear-gradient(180deg, rgba(239, 253, 251, 0.92), rgba(255, 255, 255, 0.78));
}

.ceo-control-grid article.waiting {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 251, 252, 0.76));
}

.ceo-control-grid article.blocked,
.ceo-control-grid article.fail {
  border-color: rgba(203, 101, 104, 0.34);
  background: rgba(255, 247, 246, 0.86);
}

.ceo-control-grid strong,
.operations-control-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.38;
}

.ceo-control-grid p {
  margin: 9px 0 0;
  color: #60717f;
  font-size: 13px;
  line-height: 1.48;
}

.delivery-progress-rail {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: var(--radius);
  background: rgba(0, 49, 83, 0.08);
}

.delivery-progress-rail header {
  display: grid;
  align-items: center;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(239, 253, 251, 0.94), rgba(255, 255, 255, 0.82));
}

.delivery-progress-rail header span {
  color: var(--prussian);
  font-size: 13px;
  font-weight: 820;
}

.delivery-progress-rail article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.delivery-progress-rail article > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(0, 49, 83, 0.18);
}

.delivery-progress-rail article.done > span {
  background: var(--tiffany);
  box-shadow: 0 0 0 5px rgba(129, 216, 208, 0.18);
}

.delivery-progress-rail strong,
.delivery-progress-rail small {
  display: block;
}

.delivery-progress-rail strong {
  color: var(--ink);
  font-size: 13px;
}

.delivery-progress-rail small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.operations-control-grid p {
  margin: 9px 0 0;
  color: #60717f;
  font-size: 13px;
  line-height: 1.48;
}

.operations-control-grid article.ready {
  border-color: rgba(129, 216, 208, 0.52);
  background: rgba(247, 254, 253, 0.88);
}

.operations-control-grid article.running {
  border-color: rgba(0, 49, 83, 0.16);
  background: rgba(255, 255, 255, 0.86);
}

.operations-control-grid article.blocked {
  border-color: rgba(203, 101, 104, 0.32);
  background: rgba(255, 247, 246, 0.84);
}

.agent-command-chain {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: 12px;
}

.agent-boss-card,
.agent-ceo-card,
.deliverables-summary,
.marketing-agent-summary {
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.growth-agent-dock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.growth-agent-dock article {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 22px rgba(0, 49, 83, 0.04);
}

.growth-agent-dock article:hover,
.growth-agent-dock article:focus-within {
  border-color: rgba(129, 216, 208, 0.72);
  transform: translateY(-1px);
}

.agent-dock-main {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.growth-agent-dock span,
.growth-agent-dock em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.growth-agent-dock strong {
  color: var(--prussian);
  font-size: 16px;
  line-height: 1.25;
}

.agent-dock-output {
  display: grid;
  gap: 7px;
  border-radius: 14px;
  padding: 12px;
  background: rgba(238, 252, 250, 0.62);
}

.agent-dock-output p {
  margin: 0;
  color: #60717f;
  font-size: 13px;
  line-height: 1.5;
}

.agent-output-download {
  justify-self: start;
  border: 1px solid rgba(129, 216, 208, 0.55);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--prussian);
  font: inherit;
  font-size: 12px;
  font-weight: 840;
  cursor: pointer;
}

.agent-ceo-card {
  border-color: rgba(129, 216, 208, 0.66);
  background:
    linear-gradient(135deg, rgba(232, 251, 249, 0.92), rgba(255, 255, 255, 0.82));
}

.agent-boss-card strong,
.agent-ceo-card strong {
  display: block;
  margin-top: 6px;
  color: var(--prussian);
  font-size: 18px;
}

.user-facing-agent-chain {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agent-workflow-board {
  display: grid;
  gap: 14px;
}

.agent-workflow-lane {
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 253, 252, 0.78));
}

.agent-workflow-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.agent-workflow-title strong {
  flex: none;
  color: var(--prussian);
  font-size: 17px;
}

.agent-workflow-title p {
  margin: 0;
  color: #5f6c78;
  font-size: 13px;
  line-height: 1.48;
  text-align: right;
}

.agent-workflow-lane .user-facing-agent-chain {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.agent-collaboration-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  gap: 14px;
  align-items: stretch;
}

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

.agent-lane-card,
.agent-handoff-queue,
.agent-roster-card {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.agent-lane-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 16px;
}

.agent-lane-card > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.26);
  color: var(--prussian);
  font-size: 13px;
  font-weight: 820;
}

.agent-lane-card > strong {
  color: var(--ink);
  font-size: 20px;
}

.agent-lane-card > p {
  margin: -5px 0 4px;
  color: #647281;
  font-size: 13px;
  line-height: 1.42;
}

.agent-lane-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-pill {
  display: grid;
  gap: 3px;
  max-width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(0, 49, 83, 0.06);
  color: #4f6070;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.agent-pill b {
  overflow: hidden;
  color: var(--prussian);
  font-size: 12px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-pill small {
  overflow: hidden;
  color: #647281;
  font-size: 10px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-pill.running,
.agent-pill.driving,
.agent-roster-card.working,
.agent-roster-card.driving {
  background: rgba(129, 216, 208, 0.22);
}

.agent-pill.completed,
.agent-pill.done,
.agent-roster-card.done {
  background: rgba(238, 250, 248, 0.95);
}

.agent-pill.blocked {
  background: rgba(255, 232, 230, 0.9);
}

.agent-handoff-queue {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(221, 213, 255, 0.34), transparent 36%),
    rgba(255, 255, 255, 0.82);
}

.agent-handoff-queue > strong {
  color: var(--prussian);
  font-size: 16px;
}

.agent-handoff-queue article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(0, 49, 83, 0.05);
}

.agent-handoff-queue article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--petal-2);
  color: var(--porcelain-blue);
  font-size: 12px;
  font-weight: 820;
}

.agent-handoff-queue b,
.agent-handoff-queue small {
  display: block;
}

.agent-handoff-queue b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.agent-handoff-queue small {
  margin-top: 4px;
  color: #657383;
  font-size: 12px;
}

.agent-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.agent-roster-card {
  display: grid;
  gap: 11px;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(129, 216, 208, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.82);
}

.agent-roster-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agent-roster-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.agent-roster-card em {
  flex: none;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(129, 216, 208, 0.22);
  color: var(--prussian);
  font-style: normal;
  font-size: 11px;
  font-weight: 820;
}

.agent-roster-card > strong {
  color: var(--ink);
  font-size: 20px;
}

.agent-roster-card > p {
  min-height: 48px;
  margin: 0;
  color: #5d6b79;
  font-size: 13px;
  line-height: 1.52;
}

.agent-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 49, 83, 0.08);
}

.agent-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tiffany), #99c78e, #b99df4);
}

.agent-card-actions {
  display: flex;
  gap: 8px;
}

.agent-card-actions button {
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--prussian);
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.agent-detail-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(129, 216, 208, 0.42);
  border-radius: var(--radius);
  padding: 18px;
  background:
    radial-gradient(circle at 94% 0%, rgba(129, 216, 208, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(247, 254, 253, 0.94), rgba(255, 255, 255, 0.88));
}

.agent-detail-panel > div:first-child span,
.agent-detail-grid span,
.media-api-board > div:first-child span,
.media-api-grid span,
.growth-agent-step span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.agent-detail-panel > div:first-child strong,
.media-api-board > div:first-child strong {
  display: block;
  margin-top: 6px;
  color: var(--prussian);
  font-size: 22px;
  line-height: 1.24;
}

.agent-detail-panel p,
.media-api-board > div:first-child p,
.media-api-grid p,
.growth-agent-step p {
  margin: 8px 0 0;
  color: #5c6b79;
  line-height: 1.55;
}

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

.agent-detail-grid article,
.media-api-grid article,
.growth-agent-step {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.agent-detail-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.38;
}

.agent-detail-actions {
  display: flex;
  justify-content: flex-end;
}

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

.release-overview article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 254, 253, 0.8));
}

.release-overview span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.release-overview strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 16px;
  line-height: 1.35;
}

.deliverables-summary {
  display: grid;
  grid-template-columns: minmax(120px, 0.18fr) minmax(0, 0.82fr);
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(244, 253, 252, 0.96), rgba(255, 255, 255, 0.82));
}

.deliverables-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--prussian);
  font-size: 28px;
}

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

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

.release-compact > div,
.release-artifact-list article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.release-compact > div {
  padding: 10px 12px;
}

.release-compact span,
.release-artifact-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.release-compact strong {
  display: block;
  margin-top: 4px;
  color: var(--prussian);
  font-size: 14px;
  line-height: 1.32;
}

.release-artifact-list {
  display: grid;
  gap: 6px;
}

.release-artifact-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
}

.release-artifact-list strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.release-artifact-list em {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(0, 49, 83, 0.06);
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 780;
}

.release-artifact-list article.ready em {
  background: rgba(129, 216, 208, 0.28);
  color: var(--prussian);
}

.deliverable-download {
  border: 1px solid rgba(129, 216, 208, 0.55);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--prussian);
  font: inherit;
  font-size: 12px;
  font-weight: 840;
  cursor: pointer;
}

.deliverable-download:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.deliverables-groups article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.deliverables-groups article > strong {
  display: block;
  color: var(--prussian);
  font-size: 16px;
}

.deliverables-groups ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.deliverables-groups li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #526170;
  font-size: 13px;
}

.deliverables-groups em {
  flex: none;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(0, 49, 83, 0.06);
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 760;
}

.deliverables-groups li.ready em {
  background: rgba(129, 216, 208, 0.28);
  color: var(--prussian);
}

.marketing-asset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketing-asset-grid span {
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--prussian);
  font-size: 13px;
  font-weight: 760;
}

.growth-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.growth-capability-details {
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.growth-capability-details summary {
  color: var(--prussian);
  font-weight: 780;
  cursor: pointer;
}

.growth-capability-details .growth-agent-grid {
  margin-top: 14px;
}

.growth-output-board {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 254, 253, 0.92));
}

.growth-output-board > div:first-child span,
.growth-output-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.growth-output-board > div:first-child strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 22px;
  line-height: 1.22;
}

.growth-output-board > div:first-child p,
.growth-output-grid p {
  margin: 8px 0 0;
  color: #5b6b79;
  line-height: 1.52;
}

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

.growth-output-grid article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(255, 255, 255, 0.82);
}

.growth-output-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
}

.growth-output-grid .button {
  margin-top: 12px;
}

.growth-agent-workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.growth-agent-step {
  display: grid;
  align-content: start;
  min-height: 160px;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(255, 255, 255, 0.78);
}

.growth-agent-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.24);
  color: var(--prussian);
}

.growth-agent-step strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 17px;
}

.growth-agent-step button {
  justify-self: start;
  margin-top: 12px;
  border: 1px solid rgba(129, 216, 208, 0.48);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(238, 252, 250, 0.86);
  color: var(--prussian);
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}

.media-api-board {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(221, 213, 255, 0.22), transparent 36%),
    rgba(255, 255, 255, 0.78);
}

.media-api-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.media-api-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 16px;
}

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

.growth-decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.growth-decision-strip article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(255, 255, 255, 0.82);
}

.growth-decision-strip span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.28);
  color: var(--prussian);
  font-weight: 800;
  font-size: 12px;
}

.growth-decision-strip strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 15px;
}

.growth-decision-strip p {
  margin: 7px 0 0;
  color: #60717f;
  font-size: 13px;
  line-height: 1.48;
}

.growth-agent-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(129, 216, 208, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

.growth-agent-card > div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.growth-agent-card > div > strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 20px;
}

.growth-agent-card > div > p {
  margin: 9px 0 0;
  color: #526170;
  line-height: 1.56;
}

.delivery-board-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(129, 216, 208, 0.32), transparent 32%),
    linear-gradient(135deg, rgba(244, 253, 252, 0.92), rgba(255, 255, 255, 0.84));
  box-shadow: 0 16px 42px rgba(0, 49, 83, 0.06);
}

.delivery-board-hero span,
.delivery-board-actions span,
.delivery-board-status span,
.acceptance-iteration-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.delivery-board-hero strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 26px;
  line-height: 1.15;
}

.delivery-board-hero p {
  max-width: 820px;
  margin: 9px 0 0;
  color: #526170;
  line-height: 1.58;
}

.delivery-board-status {
  min-width: 0;
  border-radius: calc(var(--radius) - 2px);
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.delivery-board-status strong {
  font-size: 20px;
}

.delivery-board-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.delivery-board-progress article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  align-items: center;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.delivery-board-progress article.done {
  border-color: rgba(129, 216, 208, 0.62);
  background: rgba(238, 252, 251, 0.82);
}

.delivery-board-progress i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.28);
  color: var(--prussian);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.delivery-board-progress strong {
  display: block;
  color: var(--prussian);
  font-size: 14px;
}

.delivery-board-progress p {
  margin: 2px 0 0;
  color: #687786;
  font-size: 12px;
}

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

.delivery-board-actions article,
.delivery-board-support article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(255, 255, 255, 0.78);
}

.delivery-board-actions article.next {
  border-color: rgba(129, 216, 208, 0.66);
  background:
    linear-gradient(180deg, rgba(226, 250, 247, 0.9), rgba(255, 255, 255, 0.78));
}

.delivery-board-actions strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 15px;
  line-height: 1.38;
}

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

.delivery-board-support article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 253, 252, 0.76));
}

.delivery-board-support span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.delivery-board-support strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.delivery-board-support p {
  margin: 8px 0 0;
  color: #60707d;
  font-size: 13px;
  line-height: 1.45;
}

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

.development-command-card {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.development-command-card.ready {
  border-color: rgba(129, 216, 208, 0.72);
  background:
    linear-gradient(180deg, rgba(226, 250, 247, 0.9), rgba(255, 255, 255, 0.78));
}

.development-command-card.running {
  border-color: rgba(11, 99, 206, 0.22);
  background:
    linear-gradient(180deg, rgba(230, 245, 255, 0.88), rgba(255, 255, 255, 0.78));
}

.development-command-card.blocked,
.development-command-card.fail {
  border-color: rgba(199, 80, 80, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 238, 238, 0.88), rgba(255, 255, 255, 0.78));
}

.development-command-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.development-command-card strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 18px;
  line-height: 1.3;
}

.development-command-card p {
  margin: 9px 0 0;
  color: #596776;
  font-size: 13px;
  line-height: 1.55;
}

.development-command-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.development-command-steps article {
  display: flex;
  gap: 10px;
  min-width: 0;
  align-items: center;
  padding: 10px;
  border-radius: calc(var(--radius) - 2px);
  color: #596776;
}

.development-command-steps article.active {
  background: rgba(129, 216, 208, 0.22);
  color: var(--prussian);
}

.development-command-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.35);
  color: var(--prussian);
  font-size: 12px;
  font-weight: 800;
}

.development-command-steps strong,
.development-command-steps p {
  display: block;
  margin: 0;
  min-width: 0;
}

.development-command-steps strong {
  font-size: 14px;
  color: var(--prussian);
}

.development-command-steps p {
  margin-top: 2px;
  font-size: 12px;
  color: #687786;
}

.development-command-note {
  border-left: 3px solid var(--tiffany);
  padding: 10px 12px;
  border-radius: 0 calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0;
  background: rgba(238, 252, 251, 0.75);
  color: #405467;
  font-size: 13px;
  line-height: 1.55;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  background: #e5f6f4;
  color: var(--prussian);
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}

.badge.quiet {
  background: rgba(0, 49, 83, 0.06);
  color: var(--muted);
}

.badge.fail {
  background: #f8dfdb;
  color: var(--red);
}

.badge.warn {
  background: #faead3;
  color: var(--amber);
}

.field,
.field-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(0, 49, 83, 0.12);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.48;
  outline: none;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(11, 99, 206, 0.42);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.1);
}

.field textarea {
  resize: vertical;
}

.stack-list,
.timeline,
.check-list,
.feedback-list,
.report-canvas {
  display: grid;
  gap: 10px;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
}

.clarification-item,
.timeline-item,
.check-item,
.feedback-item,
.report-section,
.delivery-evidence,
.native-delivery-contract {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: #fbffff;
}

.feedback-item-empty {
  color: #5d6b78;
  background:
    linear-gradient(180deg, rgba(250, 255, 254, 0.84), rgba(255, 255, 255, 0.76));
}

.feedback-guidance {
  margin: -4px 0 14px;
  color: #5f6f7d;
  font-size: 14px;
  line-height: 1.55;
}

.feedback-panel .field textarea {
  min-height: 112px;
  max-height: 190px;
}

.feedback-insight-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feedback-insight-summary article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 13px;
  background:
    linear-gradient(135deg, rgba(247, 254, 253, 0.94), rgba(255, 255, 255, 0.84));
}

.feedback-insight-summary span,
.feedback-item-header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

.feedback-insight-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--prussian);
  font-size: 15px;
}

.feedback-item {
  display: grid;
  gap: 9px;
}

.feedback-latest-list,
.feedback-history-list {
  display: grid;
  gap: 10px;
}

.feedback-history-details {
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
}

.feedback-history-details summary {
  color: var(--prussian);
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
}

.feedback-history-list {
  margin-top: 12px;
}

.feedback-item-compact {
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.feedback-item p {
  margin: 0;
  color: #334454;
  line-height: 1.52;
}

.feedback-item-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.feedback-detail {
  color: #506170;
  font-size: 13px;
}

.feedback-detail summary {
  cursor: pointer;
  color: var(--prussian);
  font-weight: 760;
}

.feedback-detail div {
  margin-top: 8px;
  line-height: 1.55;
}

.feedback-more {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.feedback-panel-focus {
  border-color: rgba(129, 216, 208, 0.78);
  box-shadow:
    0 0 0 4px rgba(129, 216, 208, 0.2),
    0 18px 48px rgba(0, 49, 83, 0.08);
}

.feedback-learning {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.learning-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.learning-chips span {
  border: 1px solid rgba(129, 216, 208, 0.42);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(236, 252, 250, 0.74);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline-item.tone-ready {
  border-color: rgba(31, 122, 68, 0.22);
  background: linear-gradient(180deg, rgba(228, 248, 238, 0.9), rgba(251, 255, 255, 0.92));
}

.acceptance-summary-panel {
  grid-column: 1 / -1;
}

.acceptance-summary {
  display: grid;
  gap: 14px;
}

.acceptance-summary.ready .acceptance-verdict {
  border-color: rgba(129, 216, 208, 0.62);
  background:
    radial-gradient(circle at 94% 8%, rgba(129, 216, 208, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(244, 253, 252, 0.96), rgba(255, 255, 255, 0.88));
}

.acceptance-summary.needs_review .acceptance-verdict {
  border-color: rgba(245, 184, 91, 0.42);
  background:
    radial-gradient(circle at 94% 8%, rgba(250, 234, 211, 0.64), transparent 34%),
    linear-gradient(135deg, rgba(255, 251, 246, 0.96), rgba(255, 255, 255, 0.88));
}

.acceptance-verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 42px rgba(0, 49, 83, 0.06);
}

.acceptance-verdict span,
.acceptance-evidence-grid span,
.acceptance-next-actions span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.acceptance-verdict strong {
  display: block;
  margin-top: 6px;
  color: var(--prussian);
  font-size: 24px;
  line-height: 1.18;
}

.acceptance-verdict p {
  margin: 8px 0 0;
  max-width: 760px;
  color: #526170;
  line-height: 1.58;
}

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

.acceptance-signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.acceptance-evidence-grid article,
.acceptance-iteration-grid article,
.acceptance-signal-strip article,
.acceptance-next-actions {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.09);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(0, 49, 83, 0.04);
}

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

.acceptance-iteration-grid article {
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.9), rgba(255, 255, 255, 0.78));
}

.acceptance-evidence-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 17px;
  line-height: 1.25;
}

.acceptance-signal-strip article {
  flex: 1 1 220px;
  padding: 12px 14px;
  background: rgba(250, 255, 254, 0.72);
  box-shadow: none;
}

.acceptance-signal-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--prussian);
  font-size: 16px;
  line-height: 1.28;
}

.acceptance-iteration-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 17px;
  line-height: 1.25;
}

.acceptance-evidence-grid p {
  margin: 8px 0 0;
  color: #5a6875;
  font-size: 13px;
  line-height: 1.5;
}

.acceptance-iteration-grid p {
  margin: 8px 0 0;
  color: #5a6875;
  font-size: 13px;
  line-height: 1.5;
}

.acceptance-next-actions ol {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #4f5f6d;
  line-height: 1.65;
}

.acceptance-next-actions li + li {
  margin-top: 5px;
}

.timeline-item.tone-running {
  border-color: rgba(238, 169, 53, 0.34);
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.92), rgba(251, 255, 255, 0.92));
}

.timeline-item.tone-fail {
  border-color: rgba(169, 70, 58, 0.26);
  background: linear-gradient(180deg, rgba(255, 238, 235, 0.92), rgba(251, 255, 255, 0.92));
}

.development-task-summary,
.mission-action-card {
  border: 1px solid rgba(129, 216, 208, 0.56);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(129, 216, 208, 0.22), rgba(255, 255, 255, 0.82) 58%),
    #fbffff;
}

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

.mission-evidence-grid .decision-gate-card,
.mission-evidence-grid .decision-log-summary {
  min-width: 0;
}

.mission-evidence-grid summary {
  min-height: 86px;
}

.mission-evidence-grid summary strong {
  font-size: 18px;
}

.development-task-summary.ready,
.mission-action-card {
  box-shadow: 0 14px 34px rgba(0, 49, 83, 0.08);
}

.mission-action-card.blocked {
  border-color: rgba(169, 70, 58, 0.28);
  background: linear-gradient(135deg, rgba(255, 238, 235, 0.92), rgba(255, 255, 255, 0.86));
}

.development-task-summary span,
.mission-action-card span {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.development-task-summary strong,
.mission-action-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

.development-task-summary p,
.mission-action-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.clarification-item {
  display: grid;
  gap: 7px;
}

.product-path {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  margin-bottom: 12px;
  background: #f8ffff;
}

.product-path-copy,
.product-path-recommendation {
  display: grid;
  gap: 6px;
}

.product-path-copy strong,
.product-path-recommendation strong {
  color: var(--prussian);
  overflow-wrap: anywhere;
}

.product-path-copy p,
.product-path-copy small,
.product-path-recommendation p,
.product-path-recommendation span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-details {
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 253, 252, 0.74));
}

.flow-details summary {
  color: var(--prussian);
  font-weight: 680;
  cursor: pointer;
}

.flow-details-body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.product-preview {
  display: grid;
  gap: 14px;
}

body[data-active-view="workspace"] .product-preview-panel {
  padding: 16px;
  background:
    radial-gradient(circle at 96% 0%, rgba(129, 216, 208, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 253, 252, 0.8));
}

body[data-active-view="workspace"] .product-preview-panel .panel-header {
  margin-bottom: 12px;
}

body[data-active-view="workspace"] .product-preview-panel .panel-header h2 {
  max-width: 24ch;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.preview-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.product-preview-panel:not(.wide) .preview-hero,
.product-preview-panel:not(.wide) .preview-columns {
  grid-template-columns: 1fr;
}

.product-preview-panel:not(.wide) .preview-product-brief {
  grid-template-columns: 1fr;
}

.product-preview-panel:not(.wide) .preview-hero {
  gap: 14px;
}

body[data-active-view="workspace"] .product-preview-panel:not(.wide) .preview-hero {
  gap: 12px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-story,
body[data-active-view="workspace"] .product-preview-panel .preview-product-brief {
  display: none;
}

body[data-active-view="workspace"] .product-preview-panel .preview-product-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-preview-panel:not(.wide) .preview-device {
  min-height: 0;
}

body[data-active-view="workspace"] .product-preview-panel:not(.wide) .preview-device {
  min-height: calc(100vh - 260px);
  border-radius: 18px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(246, 248, 250, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 24px 60px rgba(0, 49, 83, 0.12);
}

.product-preview-panel:not(.wide) .preview-live-screen {
  gap: 12px;
}

.product-preview-panel:not(.wide) .preview-product-surface {
  grid-template-columns: 1fr;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-promise,
body[data-active-view="workspace"] .product-preview-panel .preview-live-metrics,
body[data-active-view="workspace"] .product-preview-panel .preview-live-grid,
body[data-active-view="workspace"] .product-preview-panel .preview-live-footer {
  display: none;
}

body[data-active-view="workspace"] .product-preview-panel .preview-value-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-operator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-main-header {
  display: grid;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-app {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-active-view="workspace"] .product-preview-panel .preview-product-surface {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-hero {
  min-height: 230px;
  padding: clamp(22px, 3.2vw, 30px);
  border-radius: 14px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-hero strong {
  max-width: 760px;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.06;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-hero p {
  max-width: 620px;
  font-size: 14px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-modules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-real-product-lane {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-active-view="workspace"] .product-preview-panel .preview-experience-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-experience-map article {
  min-height: 118px;
  padding: 14px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-modules article {
  min-height: 120px;
  padding: 16px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-result {
  grid-column: auto;
  padding: 16px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-product-brief,
body[data-active-view="workspace"] .product-preview-panel .preview-details,
body[data-active-view="workspace"] .product-preview-panel .preview-outcome {
  display: none;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-result {
  display: grid;
  grid-column: auto;
  gap: 7px;
  padding: 14px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-result p {
  display: block;
  font-size: 12px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-result ul {
  display: grid;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-header {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr);
  border-radius: 14px;
  padding: 13px 13px 13px 76px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 253, 0.9));
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-header::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffb3c7;
  box-shadow: 16px 0 0 rgba(255, 220, 145, 0.95), 32px 0 0 rgba(129, 216, 208, 0.95);
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-logo {
  display: none;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-header strong {
  font-size: 16px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-live-app {
  max-height: none;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-hero {
  min-height: 220px;
  padding: 24px;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-hero strong {
  max-width: 92%;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-hero p {
  max-width: 88%;
  font-size: 12px;
  line-height: 1.45;
}

body[data-active-view="workspace"] .product-preview-panel .preview-surface-modules article {
  min-height: 92px;
  padding: 12px;
}

.preview-story {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 215, 229, 0.56), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 253, 252, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(0, 49, 83, 0.06);
}

.preview-hero span,
.preview-outcome span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.preview-hero strong {
  display: block;
  margin-top: 8px;
  color: var(--prussian);
  font-size: 24px;
  line-height: 1.18;
}

.preview-hero p,
.preview-outcome p {
  margin: 10px 0 0;
  color: #4d5b68;
  line-height: 1.6;
}

.preview-signals {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.preview-signals small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.preview-signals div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-signals span {
  width: auto;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(129, 216, 208, 0.18);
  color: var(--prussian);
  font-size: 12px;
  font-weight: 650;
}

.preview-device {
  min-height: 520px;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 8% 2%, rgba(129, 216, 208, 0.46), transparent 28%),
    radial-gradient(circle at 96% 8%, rgba(255, 215, 229, 0.56), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 250, 249, 0.9) 54%, rgba(255, 249, 252, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 60px rgba(0, 49, 83, 0.12);
}

.preview-device-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-device-bar {
  width: 46%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(129, 216, 208, 0.72), rgba(255, 215, 229, 0.38));
}

.preview-device-nav button {
  min-height: 28px;
  border: 1px solid rgba(129, 216, 208, 0.5);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(129, 216, 208, 0.14);
  color: #dff8f5;
  font-size: 11px;
}

.preview-live-screen {
  display: grid;
  gap: 14px;
  color: var(--ink);
}

.preview-live-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(0, 49, 83, 0.05);
}

.preview-live-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--tiffany), rgba(255, 215, 229, 0.86));
  box-shadow: 0 0 0 1px rgba(0, 49, 83, 0.08), 0 10px 20px rgba(0, 49, 83, 0.08);
}

.preview-live-header strong {
  display: block;
  color: var(--prussian);
  font-size: 20px;
  line-height: 1.2;
}

.preview-live-header small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 720;
}

.preview-live-promise {
  margin: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: #4b5b68;
  font-size: 14px;
  line-height: 1.56;
}

.preview-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-value-strip article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(239, 253, 251, 0.74));
  box-shadow: 0 10px 22px rgba(0, 49, 83, 0.04);
}

.preview-value-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.preview-value-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.28;
}

.preview-experience-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-experience-map article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(0, 49, 83, 0.05);
}

.preview-experience-map i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.32);
  color: var(--prussian);
  font-size: 11px;
  font-style: normal;
  font-weight: 780;
}

.preview-experience-map span,
.preview-live-footer span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.preview-experience-map strong {
  display: block;
  margin-top: 9px;
  color: var(--prussian);
  font-size: 17px;
  line-height: 1.18;
}

.preview-experience-map p {
  margin: 9px 0 0;
  color: #5b6a76;
  font-size: 12px;
  line-height: 1.5;
}

.preview-live-app {
  display: grid;
  grid-template-columns: minmax(92px, 0.2fr) minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 253, 252, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.preview-live-sidebar {
  display: grid;
  align-content: start;
  gap: 7px;
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 49, 83, 0.96), rgba(6, 38, 61, 0.92));
}

.preview-live-sidebar span {
  border-radius: 8px;
  padding: 7px 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.25;
}

.preview-live-sidebar span.active {
  background: rgba(129, 216, 208, 0.2);
  color: #effffe;
}

.preview-live-main {
  display: grid;
  gap: 11px;
  min-width: 0;
}

.preview-live-operator {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 8px;
}

.preview-live-operator div,
.preview-live-result {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 22px rgba(0, 49, 83, 0.04);
}

.preview-live-operator div {
  padding: 10px;
}

.preview-live-operator span,
.preview-live-result span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.preview-live-operator strong {
  display: block;
  margin-top: 5px;
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.25;
}

.preview-live-main-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.preview-live-main-header small,
.preview-live-primary > span,
.preview-live-metrics span,
.preview-live-steps span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.preview-live-main-header strong {
  display: block;
  margin-top: 4px;
  color: var(--prussian);
  font-size: 19px;
  line-height: 1.18;
}

.preview-live-main-header p {
  margin: 5px 0 0;
  color: #5b6a76;
  font-size: 12px;
  line-height: 1.45;
}

.preview-live-main-header button {
  justify-self: start;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: var(--prussian);
  color: #ffffff;
  font-size: 11px;
  font-weight: 760;
}

.preview-product-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.preview-surface-hero,
.preview-surface-modules article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(0, 49, 83, 0.04);
}

.preview-surface-hero {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(129, 216, 208, 0.34), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255, 215, 229, 0.42), transparent 36%),
    linear-gradient(135deg, rgba(0, 49, 83, 0.98), rgba(6, 38, 61, 0.94));
}

.preview-surface-hero::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 70px;
  height: 70px;
  border: 14px solid rgba(129, 216, 208, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.preview-surface-hero span {
  display: block;
  color: rgba(223, 248, 245, 0.74);
  font-size: 11px;
  font-weight: 760;
}

.preview-surface-hero strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 92%;
  margin-top: 7px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
}

.preview-surface-hero p {
  position: relative;
  z-index: 1;
  max-width: 88%;
  margin: 9px 0 0;
  color: rgba(239, 255, 254, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.preview-surface-hero button {
  position: relative;
  z-index: 1;
  min-height: 30px;
  margin-top: 13px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: var(--tiffany);
  color: var(--prussian);
  font-size: 11px;
  font-weight: 760;
}

.preview-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-action-row button {
  min-height: 32px;
  border: 1px solid rgba(0, 49, 83, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--prussian);
  font-size: 11px;
  font-weight: 760;
  box-shadow: 0 8px 18px rgba(0, 49, 83, 0.04);
}

.preview-action-row button.primary {
  border-color: transparent;
  background: var(--prussian);
  color: #ffffff;
}

.preview-surface-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-surface-modules article {
  padding: 12px;
}

.preview-surface-modules strong {
  display: block;
  color: var(--prussian);
  font-size: 12px;
  line-height: 1.25;
}

.preview-surface-modules p {
  margin: 5px 0 0;
  color: #5b6a76;
  font-size: 11px;
  line-height: 1.38;
}

.preview-real-product-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-real-product-lane article {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 253, 251, 0.72));
  box-shadow: 0 10px 22px rgba(0, 49, 83, 0.04);
}

.preview-real-product-lane span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.preview-real-product-lane ul {
  display: grid;
  gap: 6px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.preview-real-product-lane li {
  position: relative;
  padding-left: 13px;
  color: #51606e;
  font-size: 11px;
  line-height: 1.36;
}

.preview-real-product-lane li::before {
  content: "";
  position: absolute;
  top: 0.54em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tiffany);
}

.preview-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-live-metrics div,
.preview-live-steps article,
.preview-live-primary {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 22px rgba(0, 49, 83, 0.04);
}

.preview-live-metrics div {
  padding: 10px;
}

.preview-live-metrics b {
  display: block;
  margin-top: 5px;
  color: var(--prussian);
  font-size: 17px;
  line-height: 1.1;
}

.preview-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.preview-live-steps {
  display: grid;
  gap: 8px;
}

.preview-live-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  padding: 10px;
}

.preview-live-steps i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.28);
  color: var(--prussian);
  font-style: normal;
  font-size: 11px;
  font-weight: 760;
}

.preview-live-steps strong,
.preview-live-primary strong {
  display: block;
  margin-top: 4px;
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.25;
}

.preview-live-steps p,
.preview-live-primary p {
  margin: 5px 0 0;
  color: #5b6a76;
  font-size: 11px;
  line-height: 1.42;
}

.preview-live-primary {
  padding: 12px;
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 215, 229, 0.55), transparent 40%),
    rgba(255, 255, 255, 0.78);
}

.preview-live-primary div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.preview-live-primary em {
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(129, 216, 208, 0.18);
  color: var(--prussian);
  font-size: 10px;
  font-style: normal;
  font-weight: 720;
}

.preview-live-result {
  grid-column: 1 / -1;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  background:
    radial-gradient(circle at 92% 8%, rgba(129, 216, 208, 0.42), transparent 36%),
    rgba(255, 255, 255, 0.8);
}

.preview-live-result strong {
  color: var(--prussian);
  font-size: 16px;
  line-height: 1.22;
}

.preview-live-result p {
  margin: 0;
  color: #5b6a76;
  font-size: 12px;
  line-height: 1.45;
}

.preview-result-status {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(129, 216, 208, 0.22);
  color: var(--prussian);
  font-size: 11px;
  font-weight: 760;
}

.preview-live-result ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-live-result li {
  position: relative;
  padding-left: 14px;
  color: #51606e;
  font-size: 11px;
  line-height: 1.36;
}

.preview-live-result li::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tiffany);
}

.preview-surface-member-product .preview-device {
  background:
    linear-gradient(145deg, rgba(255, 246, 250, 0.98), rgba(239, 255, 254, 0.94) 52%, rgba(255, 255, 255, 0.98));
}

.preview-surface-member-product .preview-live-sidebar {
  background: linear-gradient(180deg, rgba(255, 215, 229, 0.72), rgba(129, 216, 208, 0.38));
}

.preview-surface-member-product .preview-live-sidebar span {
  color: rgba(0, 49, 83, 0.62);
}

.preview-surface-member-product .preview-live-sidebar span.active {
  background: rgba(255, 255, 255, 0.62);
  color: var(--prussian);
}

.preview-surface-member-product .preview-surface-hero {
  background:
    linear-gradient(135deg, rgba(255, 215, 229, 0.96), rgba(129, 216, 208, 0.86));
}

.preview-surface-member-product .preview-surface-hero span,
.preview-surface-member-product .preview-surface-hero p,
.preview-surface-member-product .preview-surface-hero strong {
  color: var(--prussian);
}

.preview-surface-member-product .preview-surface-hero button {
  background: var(--prussian);
  color: #ffffff;
}

.preview-surface-analytics-workspace .preview-live-app {
  background:
    linear-gradient(180deg, rgba(247, 253, 252, 0.98), rgba(255, 255, 255, 0.9));
}

.preview-surface-analytics-workspace .preview-product-surface {
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  align-items: stretch;
}

.preview-surface-analytics-workspace .preview-surface-hero {
  background:
    linear-gradient(135deg, rgba(0, 49, 83, 0.98), rgba(11, 99, 206, 0.76));
}

.preview-surface-analytics-workspace .preview-surface-modules {
  grid-template-columns: 1fr;
}

.preview-surface-analytics-workspace .preview-surface-modules article {
  border-left: 4px solid rgba(129, 216, 208, 0.88);
}

.preview-surface-expert-report .preview-device {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.96));
}

.preview-surface-expert-report .preview-surface-hero {
  background:
    linear-gradient(135deg, rgba(0, 49, 83, 0.96), rgba(255, 255, 255, 0.12));
}

.preview-surface-expert-report .preview-surface-modules article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 253, 252, 0.82));
}

.preview-surface-local-website .preview-device {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 250, 0.92) 50%, rgba(239, 255, 254, 0.92));
}

.preview-surface-local-website .preview-live-app {
  grid-template-columns: 1fr;
}

.preview-surface-local-website .preview-live-sidebar,
.preview-surface-local-website .preview-live-operator,
.preview-surface-local-website .preview-live-metrics,
.preview-surface-local-website .preview-live-grid {
  display: none;
}

.preview-surface-local-website .preview-live-main-header {
  display: none;
}

.preview-surface-local-website .preview-product-surface {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
}

.preview-surface-local-website .preview-surface-hero {
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(255, 215, 229, 0.92), rgba(129, 216, 208, 0.82));
}

.preview-surface-local-website .preview-surface-hero span,
.preview-surface-local-website .preview-surface-hero p,
.preview-surface-local-website .preview-surface-hero strong {
  color: var(--prussian);
}

.preview-surface-local-website .preview-surface-hero button {
  background: var(--prussian);
  color: #ffffff;
}

.preview-surface-local-website .preview-surface-modules {
  grid-template-columns: 1fr;
}

.preview-surface-local-website .preview-live-result {
  display: block;
  border-color: rgba(129, 216, 208, 0.34);
  background: rgba(255, 255, 255, 0.86);
}

.preview-live-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  border: 1px solid rgba(129, 216, 208, 0.42);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(129, 216, 208, 0.2), rgba(255, 255, 255, 0.72));
}

.preview-live-footer span {
  grid-column: 1 / -1;
}

.preview-live-footer strong {
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.42;
}

.preview-live-footer button {
  justify-self: start;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--prussian);
  color: #ffffff;
  font-weight: 760;
}

.preview-product-brief {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.preview-product-brief article {
  min-width: 0;
  border: 1px solid rgba(129, 216, 208, 0.38);
  border-radius: 8px;
  padding: 13px;
  background:
    linear-gradient(180deg, rgba(223, 248, 245, 0.78), rgba(255, 255, 255, 0.72));
}

.preview-product-brief span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.preview-product-brief strong {
  display: block;
  margin-top: 7px;
  color: var(--prussian);
  font-size: 14px;
  line-height: 1.45;
}

.preview-details {
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.68);
}

.preview-details summary {
  color: var(--prussian);
  font-weight: 680;
  cursor: pointer;
}

.preview-details .preview-columns {
  margin-top: 12px;
}

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

.preview-columns article,
.preview-outcome {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.preview-columns h3 {
  margin: 0 0 10px;
  color: var(--prussian);
  font-size: 15px;
}

.preview-columns ul,
.preview-columns ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.decision-control {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: #f8ffff;
}

.decision-control-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.decision-control-header strong,
.decision-control-header p,
.decision-control-header small {
  display: block;
}

.decision-control-header strong {
  margin-top: 7px;
}

.decision-control-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.decision-control-header small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.decision-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.decision-option {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.decision-option:hover,
.decision-option.selected {
  border-color: #44bbb4;
  background: #e8fbf9;
}

.decision-option span,
.decision-option strong,
.decision-option small,
.decision-option em {
  display: block;
  overflow-wrap: anywhere;
}

.decision-option span {
  color: var(--prussian);
  font-size: 13px;
  font-weight: 650;
}

.decision-option strong {
  font-size: 13px;
  line-height: 1.35;
}

.decision-option small,
.decision-option em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.clarification-item strong,
.timeline-item strong,
.check-item strong {
  display: block;
  margin-bottom: 4px;
}

.meta-line {
  color: var(--muted);
  font-size: 13px;
}

.delivery-contract {
  display: grid;
  gap: 12px;
}

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

.delivery-summary div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #f4fffe;
}

.delivery-summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.delivery-summary strong {
  display: block;
  overflow-wrap: anywhere;
}

.delivery-evidence-list {
  display: grid;
  gap: 10px;
}

.delivery-testcases {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.delivery-testcases-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--prussian);
}

.delivery-testcases-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.delivery-testcase {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(120px, 0.35fr) minmax(180px, 1fr);
  gap: 10px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 13px;
}

.delivery-testcase span,
.delivery-testcase div {
  color: var(--muted);
}

.delivery-testcase.fail strong {
  color: var(--red);
}

.delivery-evidence,
.native-delivery-contract {
  display: grid;
  gap: 7px;
}

.native-delivery-contract span {
  color: var(--muted);
  font-size: 13px;
}

.timeline-item {
  position: relative;
  padding-left: 34px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.mission-console {
  display: grid;
  gap: 12px;
}

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

.mission-summary div,
.decision-gate-card,
.agent-node {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbffff;
}

.mission-summary div {
  padding: 12px;
}

.mission-summary span,
.mission-summary small,
.agent-node span,
.agent-node small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.mission-summary strong,
.agent-node strong {
  display: block;
  margin: 4px 0;
  overflow-wrap: anywhere;
}

.mission-choice-summary {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(129, 216, 208, 0.14), rgba(255, 255, 255, 0.74));
}

details.mission-choice-summary summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

details.mission-choice-summary summary::-webkit-details-marker {
  display: none;
}

details.mission-choice-summary summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.2);
  color: var(--prussian);
  font-weight: 780;
}

details.mission-choice-summary[open] summary::after {
  content: "-";
}

details.mission-choice-summary:not([open]) .mission-choice-header,
details.mission-choice-summary:not([open]) .mission-choice-grid {
  display: none;
}

.mission-choice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mission-choice-header .eyebrow {
  margin-bottom: 2px;
}

.mission-choice-header strong {
  color: var(--prussian);
}

.mission-choice-grid,
.mission-choice-effects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mission-choice-grid article,
.mission-choice-effects div {
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.mission-choice-grid span,
.mission-choice-effects span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.mission-choice-grid strong,
.mission-choice-effects strong {
  display: block;
  margin-top: 5px;
  color: var(--prussian);
  font-size: 14px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.mission-choice-grid p {
  margin: 7px 0 0;
  color: #596776;
  font-size: 12px;
  line-height: 1.42;
}

.decision-gate-card {
  display: grid;
  gap: 12px;
  align-items: start;
  padding: 13px;
  background: #f4fffe;
}

.decision-gate-card summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.decision-gate-card summary::-webkit-details-marker {
  display: none;
}

.decision-gate-card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(129, 216, 208, 0.2);
  color: var(--prussian);
  font-weight: 780;
}

.decision-gate-card[open] summary::after {
  content: "-";
}

.decision-gate-card.blocked {
  border-color: #efc1a2;
  background: #fffaf4;
}

.decision-gate-card strong {
  display: block;
  font-size: 17px;
}

.decision-gate-card p,
.decision-gate-card ul {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.decision-gate-card ul {
  display: grid;
  gap: 5px;
  padding-left: 18px;
}

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

.agent-node {
  position: relative;
  padding: 12px 12px 12px 16px;
}

.agent-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--tiffany);
}

.agent-node.blocked {
  background: #fffaf4;
}

.agent-node.blocked::before,
.agent-node.cancelled::before {
  background: var(--amber);
}

.agent-node.queued::before,
.agent-node.running::before {
  background: #2f86c5;
}

.agent-node.completed::before {
  background: #2f9e72;
}

.native-monitor {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(420px, 0.58fr);
  gap: 14px;
}

.provider-health {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.provider-health.blocked {
  border-color: #efc1a2;
  background: #fffaf4;
}

.provider-gate-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #f4fffe;
}

.provider-gate-card.blocked {
  border-color: #efc1a2;
  background: #fffaf4;
}

.provider-gate-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.provider-gate-main strong {
  display: block;
  font-size: 16px;
}

.provider-health-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.provider-health-main strong {
  display: block;
  font-size: 16px;
}

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

.provider-health-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px;
  background: rgba(255, 255, 255, 0.72);
}

.provider-health-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.provider-health-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.provider-missing {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.provider-missing span {
  border-radius: 999px;
  padding: 5px 8px;
  background: #f8dfdb;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.provider-missing.neutral span {
  background: rgba(129, 216, 208, 0.2);
  color: var(--ink);
}

.native-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.native-ops-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.native-ops-panel.blocked {
  border-color: #efc1a2;
  background: #fffaf4;
}

.native-ops-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.native-ops-header strong {
  display: block;
  overflow-wrap: anywhere;
}

.native-ops-list {
  display: grid;
  gap: 8px;
}

.native-ops-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px;
  background: rgba(255, 255, 255, 0.72);
}

.native-ops-list article.warn {
  border-color: #efc1a2;
  background: #fffaf4;
}

.native-ops-list strong,
.native-ops-list span {
  display: block;
  overflow-wrap: anywhere;
}

.native-ops-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

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

.queue-health-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px;
  background: rgba(255, 255, 255, 0.72);
}

.queue-health-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.queue-health-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.scheduler-events {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.scheduler-events article {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: var(--radius);
  padding: 8px;
  background: rgba(129, 216, 208, 0.08);
}

.scheduler-events strong,
.scheduler-events span,
.scheduler-events small {
  display: block;
  overflow-wrap: anywhere;
}

.scheduler-events strong {
  color: var(--ink);
  font-size: 12px;
}

.scheduler-events span,
.scheduler-events small {
  color: var(--muted);
  font-size: 12px;
}

.native-task-list,
.native-task-detail {
  min-width: 0;
}

.native-task-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.native-task-card {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px;
  background: #fbffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.native-task-card:hover,
.native-task-card.active {
  border-color: #58c4bd;
  background: #e9fbf9;
}

.native-task-card .badge {
  justify-self: start;
}

.native-task-card strong,
.native-task-card small {
  display: block;
  overflow-wrap: anywhere;
}

.native-task-card small {
  color: var(--muted);
  font-size: 12px;
}

.native-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.native-detail-header h3 {
  margin-bottom: 0;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.native-lease-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.native-lease-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fbffff;
}

.native-lease-grid span,
.native-event span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.native-lease-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.native-event-stream {
  display: grid;
  gap: 8px;
}

.native-event {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 10px 30px;
  background: #fbffff;
}

.native-event::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tiffany);
}

.native-event strong {
  display: block;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}

.native-event div {
  margin-bottom: 4px;
}

.native-failure {
  margin-top: 12px;
  border: 1px solid #efb6b0;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff7f6;
}

.native-failure.compact {
  margin-top: 0;
  border-left-width: 3px;
}

.native-failure p {
  margin-bottom: 0;
  color: var(--muted);
}

.check-item {
  border-left: 4px solid var(--tiffany);
}

.check-item.fail {
  border-left-color: var(--red);
}

.report-canvas {
  padding: 0;
}

.report-canvas.empty-state {
  padding: 14px;
}

.report-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--prussian);
  color: #effffe;
}

.report-summary p {
  color: #bfe4e7;
}

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

.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbffff;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric-card strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 20px;
}

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

.bar-row {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr minmax(70px, auto);
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: #dcebed;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--tiffany);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--prussian);
  color: #effffe;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.access-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.access-modal.open {
  display: grid;
}

.access-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 49, 83, 0.42);
  backdrop-filter: blur(5px);
}

.access-card {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid rgba(129, 216, 208, 0.45);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.access-card h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.access-copy {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.access-field input {
  width: 100%;
}

.access-error {
  min-height: 20px;
  margin-top: 8px;
  color: var(--red);
  font-size: 13px;
}

.access-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.agent-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px;
}

.agent-modal.open {
  display: grid;
}

.agent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 49, 83, 0.28);
  backdrop-filter: blur(5px);
}

.agent-modal-card {
  position: relative;
  width: min(580px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  border: 1px solid rgba(129, 216, 208, 0.5);
  border-radius: var(--radius);
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(129, 216, 208, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.agent-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  cursor: pointer;
}

.agent-modal-title {
  padding-right: 42px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 860;
}

.agent-modal-body {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.agent-modal-context,
.agent-modal-answer {
  border: 1px solid rgba(0, 49, 83, 0.08);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(248, 253, 252, 0.84);
}

.agent-modal-context span,
.agent-modal-answer span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.agent-modal-context p,
.agent-modal-answer p {
  margin: 8px 0 0;
  color: #435564;
  line-height: 1.55;
}

.agent-modal-answer ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.agent-modal-answer li {
  color: #526170;
  line-height: 1.5;
}

.agent-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.agent-modal-question textarea {
  min-height: 120px;
}

@media (max-width: 1180px) {
  body[data-active-view="workspace"] .work-grid {
    grid-template-columns: 1fr;
  }

  body[data-active-view="workspace"] .mission-switcher-panel,
  body[data-active-view="workspace"] .task-panel,
  body[data-active-view="workspace"] .product-preview-panel {
    grid-column: 1;
    position: static;
    height: auto;
    max-height: none;
  }

  body[data-active-view="workspace"] .workspace-resizer {
    display: none;
  }
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .site-nav {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .site-nav-links,
  .site-nav-meta {
    justify-self: stretch;
  }

  .site-nav-meta {
    display: inline-flex;
    justify-content: flex-end;
  }

  .site-nav-meta .health-dot {
    display: none;
  }

  .status-strip,
  .mission-journey,
  .case-value-grid,
  .case-product-snapshot,
  .team-trial-panel,
  .work-grid,
  .design-studio-map,
  .work-status-grid,
  .alpha-gate-summary,
  .alpha-gate-checks,
  .operator-proof-grid,
  .hosted-runner-handoff,
  .hosted-runner-stages,
  .native-monitor,
  .native-ops-grid,
  .provider-health-grid,
  .queue-health-grid,
  .mission-summary,
  .mission-evidence-grid,
  .mission-choice-grid,
  .mission-choice-effects,
  .preview-hero,
  .preview-value-strip,
  .preview-real-product-lane,
  .preview-live-app,
  .preview-live-operator,
  .os-check-grid,
  .os-partner-contract,
  .product-choice-options,
  .team-progress-grid,
  .development-execution-hero,
  .development-control-grid,
  .development-action-strip,
  .ceo-control-grid,
  .operations-control-grid,
  .multi-mission-summary,
  .delivery-board-hero,
  .delivery-board-progress,
  .delivery-board-actions,
  .delivery-board-support,
  .growth-agent-grid,
  .growth-output-grid,
  .growth-agent-workflow,
  .media-api-grid,
  .growth-decision-strip,
  .release-overview,
  .release-compact,
  .deliverables-groups,
  .release-artifact-list article,
  .development-status-strip,
  .agent-collaboration-flow,
  .agent-lanes,
  .agent-roster-grid,
  .agent-detail-grid,
  .feedback-insight-summary,
  .development-command-grid,
  .development-command-steps,
  .multi-mission-row,
  .acceptance-evidence-grid,
  .acceptance-signal-strip,
  .agent-chain,
  .decision-options,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  body[data-active-view="workspace"] .work-grid {
    grid-template-columns: 1fr;
  }

  body[data-active-view="workspace"] .mission-switcher-panel,
  body[data-active-view="workspace"] .task-panel,
  body[data-active-view="workspace"] .product-preview-panel {
    grid-column: 1;
    position: static;
    height: auto;
    max-height: none;
  }

  body[data-active-view="workspace"] .workspace-resizer {
    display: none;
  }

  .mission-switcher-panel {
    position: static;
  }

  .case-story-header {
    display: grid;
  }

  .case-story-actions {
    justify-content: flex-start;
  }

  .case-to-mission {
    grid-template-columns: 1fr;
  }

  .agent-command-chain,
  .agent-workflow-title,
  .deliverables-summary {
    grid-template-columns: 1fr;
  }

  .agent-workflow-title {
    display: grid;
  }

  .agent-workflow-title p {
    text-align: left;
  }

  .case-to-mission .button {
    justify-self: start;
  }

  .development-task-summary,
  .mission-action-card {
    display: grid;
  }

  .development-task-summary .button,
  .mission-action-card .button {
    justify-self: start;
  }

  .case-screen-body {
    grid-template-columns: 1fr;
  }

  .panel.wide {
    grid-column: auto;
  }

  .task-panel {
    grid-row: auto;
  }

  .product-preview-panel:not(.wide) {
    position: static;
  }

  h1 {
    font-size: 56px;
    line-height: 1.06;
  }

  .section-intro h2 {
    font-size: 38px;
  }

  .task-panel .panel-header h2 {
    font-size: 30px;
  }
}

@media (max-width: 680px) {
  .mission-status,
  .mission-journey,
  .section-intro {
    display: none;
  }

  body[data-active-view="workspace"] .case-to-mission {
    display: none;
  }

  .case-value-grid {
    display: none;
  }

  .case-product-snapshot {
    grid-template-columns: 1fr;
  }

  .case-screen {
    display: none;
  }

  .core-proof-header,
  .core-proof-grid {
    grid-template-columns: 1fr;
  }

  .core-proof-header {
    display: grid;
  }

  .core-proof-header h2 {
    font-size: 28px;
  }

  .core-proof-metrics {
    grid-template-columns: 1fr;
  }

  .topbar #copyShareLinkButton {
    display: none;
  }

  .studio-step {
    min-height: 74px;
    padding: 14px;
  }

  .studio-step small {
    display: none;
  }

  .preview-columns {
    grid-template-columns: 1fr;
  }

  .preview-product-brief {
    grid-template-columns: 1fr;
  }

  body[data-active-view="workspace"] .product-preview-panel .preview-value-strip,
  body[data-active-view="workspace"] .product-preview-panel .preview-real-product-lane,
  .preview-value-strip {
    grid-template-columns: 1fr;
  }

  .chat-answer-sections {
    grid-template-columns: 1fr;
  }

  .preview-device {
    min-height: auto;
    padding: 11px;
  }

  .preview-live-app,
  .preview-live-operator,
  .preview-surface-analytics-workspace .preview-product-surface,
  .preview-surface-local-website .preview-product-surface {
    grid-template-columns: 1fr;
  }

  .preview-live-grid {
    grid-template-columns: 1fr;
  }

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

  .preview-live-metrics div {
    padding: 9px 7px;
  }

  .preview-live-metrics b {
    font-size: 15px;
  }

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

  .preview-live-primary {
    min-height: 112px;
  }

  .chat-display-panel {
    min-height: 420px;
    max-height: 62vh;
    padding: 12px;
  }

  .chat-composer textarea {
    min-height: 88px;
    max-height: 180px;
    font-size: 15px;
  }

  .chat-composer-bar {
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .composer-send-button {
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .main {
    width: min(100% - 28px, 1180px);
    padding: 14px 0 44px;
  }

  .sidebar {
    padding: 18px;
  }

  .topbar,
  .user-action-panel,
  .case-story,
  .panel-header,
  .decision-control-header {
    display: grid;
  }

  .user-action-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .user-action-panel h2 {
    font-size: 23px;
  }

  .user-action-panel .button {
    width: 100%;
  }

  body:not([data-active-view="workspace"]) .case-story {
    display: none;
  }

  body:not([data-active-view="workspace"]) .case-to-mission {
    display: none;
  }

  .case-story {
    padding: 18px;
  }

  .case-to-mission {
    padding: 18px;
  }

  .case-story-header h2 {
    font-size: 28px;
  }

  .case-to-mission h2 {
    font-size: 23px;
  }

  .case-product-copy h3 {
    font-size: 24px;
  }

  .topbar {
    min-height: auto;
    gap: 16px;
    padding: 24px 18px 20px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .topbar-copy {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-prompts {
    display: grid;
    width: 100%;
    margin-top: 16px;
  }

  .prompt-chip {
    min-height: 38px;
  }


  .site-nav {
    top: 8px;
    margin-bottom: 18px;
  }

  .site-nav-links {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: 6px;
    overflow-x: auto;
  }

  .site-nav-links .nav-item {
    min-width: max-content;
    min-height: 38px;
    padding: 0 14px;
    white-space: nowrap;
    font-size: 14px;
  }

  .site-nav-meta .language-toggle {
    width: auto;
    justify-self: start;
  }

  .field-row,
  .bar-row,
  .native-lease-grid {
    grid-template-columns: 1fr;
  }

  .top-actions,
  .input-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body[data-active-view="workspace"] .top-actions {
    display: flex;
    justify-content: center;
  }

  body[data-active-view="workspace"] .topbar .button.primary {
    width: auto;
    min-width: 190px;
    padding-inline: 22px;
    white-space: nowrap;
  }

  .button {
    width: 100%;
  }

  .access-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
