/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f7f3;
  color: #1c2321;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: #1f5f68;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dfe4dc;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.4fr) minmax(260px, 1fr);
  min-height: 64px;
  padding: 10px 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: #1c2321;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
}

.topbar-brand {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-brand span {
  color: #65716a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar-nav,
.topbar-actions,
.actions-row,
.decision-footer,
.decision-meta,
.section-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-nav {
  justify-content: center;
}

.topbar-nav a,
.topbar-login {
  color: #405048;
  font-size: 0.92rem;
  font-weight: 800;
}

.topbar-actions {
  justify-content: flex-end;
}

.topbar-actions form {
  margin: 0;
}

.locale-form select {
  background: #edf0eb;
  border-color: transparent;
  color: #405048;
  font-size: 0.82rem;
  font-weight: 900;
  min-height: 34px;
  padding: 6px 30px 6px 10px;
  width: auto;
}

.topbar-signout {
  color: #405048;
  font-weight: 800;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 32px;
}

.page-header,
.dashboard-hero {
  margin-bottom: 24px;
}

.page-header {
  display: grid;
  gap: 12px;
}

.dashboard-hero {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.eyebrow {
  color: #6f4f1d;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.eyebrow .pill {
  margin-left: 4px;
  text-transform: none;
}

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

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  max-width: 780px;
}

h2 {
  font-size: 1.15rem;
}

h3 {
  font-size: 1.05rem;
}

.muted {
  color: #65716a;
  max-width: 720px;
}

.flash {
  border-radius: 8px;
  margin: 0 0 18px;
  padding: 12px 14px;
}

.notice {
  background: #e5f4ec;
  color: #1d6541;
}

.alert {
  background: #fde9df;
  color: #8a351e;
}

.panel,
.decision-card,
.department-card,
.metric-tile,
.empty-state {
  background: #ffffff;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
}

.panel,
.empty-state {
  padding: 20px;
}

.decision-summary,
.next-step-panel,
.experiment-cockpit,
.result-feedback-panel,
.coo-task-panel,
.coo-handoff-panel {
  background: #ffffff;
  border: 1px solid #cddbd2;
  border-left: 4px solid #1f5f68;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.next-step-panel,
.experiment-cockpit,
.result-feedback-panel,
.coo-task-panel,
.coo-handoff-panel {
  margin-bottom: 24px;
}

.decision-summary h2,
.next-step-panel h2,
.experiment-cockpit h2,
.result-feedback-panel h2,
.coo-task-panel h2,
.coo-handoff-panel h2 {
  margin-bottom: 0;
}

.decision-summary p,
.next-step-panel p,
.result-feedback-panel p,
.coo-task-panel p,
.coo-handoff-panel p {
  margin-bottom: 0;
}

.result-feedback-panel {
  border-left-color: #2a7c4f;
}

.coo-task-panel,
.coo-handoff-panel {
  border-left-color: #6f4f1d;
}

.coo-task-form {
  display: grid;
  gap: 10px;
}

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

.handoff-grid > div {
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  padding: 14px;
}

.handoff-grid strong {
  display: block;
  margin-bottom: 6px;
}

.simple-hero {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.simple-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.marketing-hero {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.marketing-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0;
}

.marketing-control-panel {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  margin-bottom: 16px;
}

.marketing-settings-toggle {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.marketing-settings-button {
  user-select: none;
}

.marketing-settings-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 40;
}

.marketing-settings-toggle:checked ~ .marketing-settings-modal {
  display: flex;
}

.marketing-modal-backdrop {
  background: rgba(28, 35, 33, 0.52);
  inset: 0;
  position: absolute;
}

.marketing-modal-dialog {
  background: #ffffff;
  border: 1px solid #cddbd2;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(28, 35, 33, 0.24);
  max-height: calc(100vh - 40px);
  max-width: 780px;
  overflow: auto;
  padding: 20px;
  position: relative;
  width: min(100%, 780px);
}

.marketing-settings-form {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.marketing-settings-form textarea {
  min-height: 92px;
}

.marketing-control-main,
.marketing-status-stack > div,
.marketing-stat-link {
  background: #ffffff;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
}

.marketing-control-main {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

.marketing-control-main h2 {
  font-size: 1.55rem;
  margin-bottom: 4px;
}

.marketing-control-main p {
  color: #405048;
  margin-bottom: 0;
}

.marketing-status-stack {
  display: grid;
  gap: 10px;
}

.marketing-status-stack > div,
.marketing-stat-link {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.marketing-stat-link {
  color: #1c2321;
}

.marketing-stat-link:hover {
  border-color: #97c9af;
  text-decoration: none;
}

.marketing-status-stack span,
.marketing-stat-link span {
  color: #65716a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marketing-status-stack strong,
.marketing-stat-link strong {
  color: #1c2321;
  font-size: 1.35rem;
  line-height: 1.1;
}

.waiting-work-panel {
  margin-bottom: 16px;
}

.waiting-work-panel:target {
  border-color: #97c9af;
  box-shadow: 0 0 0 3px #e5f4ec;
}

.compact-approval-list article {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.pagination-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pagination-row span {
  color: #65716a;
  font-size: 0.9rem;
  font-weight: 800;
}

.approval-options-form {
  display: grid;
  gap: 18px;
}

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

.platform-choice {
  align-items: center;
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 14px;
}

.platform-choice:has(input:checked) {
  border-color: #97c9af;
  box-shadow: 0 0 0 2px #e5f4ec;
}

.platform-choice input {
  margin: 0;
  width: auto;
}

.platform-choice span {
  display: grid;
  gap: 3px;
}

.platform-choice small {
  color: #65716a;
  font-weight: 800;
}

.marketing-compact-context {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.marketing-result-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketing-result-line span {
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  color: #405048;
  font-weight: 800;
  padding: 8px 10px;
}

.flow-board {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.flow-step,
.simple-panel {
  background: #ffffff;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  padding: 18px;
}

.flow-step {
  display: grid;
  gap: 10px;
}

.flow-step > span {
  align-items: center;
  background: #edf0eb;
  border-radius: 999px;
  color: #405048;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.flow-step.done,
.flow-step.current {
  border-color: #97c9af;
}

.flow-step.current {
  box-shadow: 0 0 0 2px #e5f4ec;
}

.flow-step.next {
  border-color: #d7bd84;
}

.flow-step strong {
  font-size: 1.05rem;
}

.flow-step p,
.simple-panel p {
  color: #65716a;
  margin-bottom: 0;
}

.simple-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.generation-status-panel {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.generation-status-panel h2 {
  margin-bottom: 6px;
}

.compact-facts {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.compact-facts div {
  border-top: 1px solid #edf0eb;
  padding-top: 10px;
}

.compact-facts dt {
  color: #65716a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.compact-facts dd {
  margin: 0;
}

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

.simple-calendar > div {
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.simple-calendar p {
  color: #65716a;
  margin-bottom: 0;
}

.approval-list {
  display: grid;
  gap: 12px;
}

.approval-list article {
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.approval-list p {
  color: #405048;
  margin-bottom: 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.filter-tab {
  background: #edf0eb;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #405048;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 8px 12px;
}

.filter-tab.active {
  background: #ffffff;
  border-color: #1f5f68;
  color: #1f5f68;
}

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

.funnel-strip > div {
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  padding: 12px;
}

.funnel-strip span {
  color: #65716a;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.funnel-strip strong {
  display: block;
  font-size: 1.6rem;
  margin-top: 4px;
}

.experiment-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
}

.experiment-main,
.experiment-side {
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  padding: 16px;
}

.experiment-main h3 {
  font-size: 1.35rem;
  margin: 10px 0 16px;
}

.experiment-side {
  display: grid;
  gap: 14px;
}

.experiment-side > div {
  border-top: 1px solid #dfe4dc;
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.experiment-side > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.experiment-side span {
  color: #65716a;
  display: block;
  font-size: 0.9rem;
}

.experiment-side p {
  color: #405048;
  margin-bottom: 0;
}

.business-form,
.business-card {
  margin-bottom: 18px;
}

.decision-card,
.department-card,
.metric-tile,
.business-card {
  padding: 18px;
}

.decision-card {
  margin-bottom: 14px;
}

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

.decision-card dt {
  color: #65716a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.decision-card dd {
  margin: 0;
}

.decision-meta {
  color: #65716a;
  font-size: 0.85rem;
  justify-content: space-between;
}

.metric-strip,
.cards-grid,
.business-card-list,
.pipeline-strip {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.metric-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pipeline-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

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

.business-card {
  background: #ffffff;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: grid;
  gap: 16px;
}

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

.business-card-header h2 {
  margin-bottom: 0;
}

.business-search {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-search-row {
  justify-content: flex-end;
}

.business-search input[type="search"] {
  min-height: 34px;
  min-width: min(320px, 72vw);
  padding: 7px 10px;
}

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

.business-card-meta span {
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  color: #65716a;
  font-size: 0.85rem;
  padding: 12px;
}

.business-card-meta strong {
  color: #1c2321;
  display: block;
  font-size: 1.15rem;
}

.metric-tile span,
.department-card span {
  color: #65716a;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-tile strong {
  display: block;
  font-size: 1.5rem;
  margin-top: 8px;
}

.grid-two {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
}

.side-stack {
  display: grid;
  gap: 16px;
}

.department-list,
.event-list,
.compact-form,
.checkbox-grid,
.detail-list {
  display: grid;
  gap: 10px;
}

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

.detail-list dt {
  color: #65716a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0 0 12px;
}

.department-row {
  align-items: center;
  border-top: 1px solid #edf0eb;
  color: #1c2321;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.event-list div {
  border-top: 1px solid #edf0eb;
  padding-top: 10px;
}

.event-list a {
  font-weight: 800;
}

.event-list span {
  color: #65716a;
  display: block;
  font-size: 0.85rem;
}

.event-list p {
  color: #65716a;
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.auth-header,
.auth-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.auth-form {
  grid-template-columns: 1fr;
}

.checkbox-line {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

.checkbox-line input {
  width: auto;
}

.field-hint {
  color: #65716a;
  display: block;
  font-size: 0.82rem;
  margin-top: 6px;
}

.full {
  grid-column: 1 / -1;
}

.section-title {
  border-top: 1px solid #edf0eb;
  color: #1f5f68;
  font-weight: 800;
  padding-top: 16px;
}

label {
  color: #405048;
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

input,
select,
textarea {
  background: #ffffff;
  border: 1px solid #cbd5cf;
  border-radius: 8px;
  color: #1c2321;
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-actions {
  align-items: center;
  border-top: 1px solid #edf0eb;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
}

.primary-button,
.secondary-button,
.link-button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  text-decoration: none;
}

.primary-button {
  background: #1f5f68;
  border: 1px solid #1f5f68;
  color: #ffffff;
}

.secondary-button {
  background: #ffffff;
  border: 1px solid #aebbb4;
  color: #1c2321;
}

.link-button {
  background: transparent;
  border: 0;
  color: #1f5f68;
  min-height: auto;
  padding: 0;
}

.small {
  min-height: 34px;
  padding: 6px 10px;
}

.landing-page {
  background:
    linear-gradient(135deg, rgba(246, 247, 243, 0.98) 0%, rgba(239, 245, 241, 0.98) 42%, rgba(250, 246, 235, 0.96) 100%);
}

.landing-page .topbar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.landing-page .shell {
  max-width: 1280px;
  padding-top: 26px;
}

.landing-hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  min-height: calc(100vh - 118px);
  padding: 28px 0 54px;
}

.landing-hero-copy {
  display: grid;
  gap: 22px;
}

.landing-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 0;
  max-width: 900px;
}

.landing-lead {
  color: #405048;
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 690px;
}

.landing-actions,
.landing-proof {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-button {
  min-height: 48px;
  padding: 12px 18px;
}

.landing-proof {
  color: #65716a;
  font-size: 0.9rem;
  font-weight: 700;
}

.landing-proof span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.landing-proof span::before {
  background: #2a7c4f;
  border-radius: 999px;
  content: "";
  height: 7px;
  width: 7px;
}

.landing-product {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.product-window {
  background: #ffffff;
  border: 1px solid rgba(31, 95, 104, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(28, 35, 33, 0.14);
  overflow: hidden;
  width: min(100%, 610px);
}

.product-window-bar {
  align-items: center;
  background: #1c2321;
  display: flex;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
}

.product-window-bar span {
  background: #f6f7f3;
  border-radius: 999px;
  display: block;
  height: 9px;
  opacity: 0.65;
  width: 9px;
}

.product-snapshot {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.snapshot-header {
  align-items: end;
  background: #eff5f1;
  border: 1px solid #d5e3dc;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 18px;
}

.snapshot-header span,
.snapshot-grid span {
  color: #65716a;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.snapshot-header strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
  margin-top: 4px;
}

.snapshot-header b {
  color: #2a7c4f;
  font-size: 2.4rem;
  line-height: 1;
}

.marketing-preview-header {
  align-items: center;
}

.marketing-preview-header em {
  background: #1f5f68;
  border-radius: 999px;
  color: #ffffff;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  padding: 8px 12px;
}

.marketing-brief {
  background: #ffffff;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.marketing-brief span,
.draft-stack span {
  color: #65716a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marketing-brief p {
  color: #405048;
  font-size: 1.02rem;
  margin-bottom: 0;
}

.draft-stack {
  display: grid;
  gap: 10px;
}

.draft-stack article {
  align-items: start;
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 12px;
}

.draft-stack span {
  align-items: center;
  background: #e5f4ec;
  border-radius: 999px;
  color: #1d6541;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.draft-stack strong {
  display: block;
  margin-bottom: 4px;
}

.draft-stack p {
  color: #65716a;
  margin-bottom: 0;
}

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

.output-strip span {
  align-items: center;
  background: #1c2321;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  font-size: 0.82rem;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 8px;
  text-align: center;
}

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

.snapshot-grid article {
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.snapshot-grid strong {
  font-size: 1.05rem;
}

.snapshot-grid p,
.snapshot-flow p {
  color: #65716a;
  margin-bottom: 0;
}

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

.snapshot-flow div {
  align-items: center;
  background: #f8faf7;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 64px;
  padding: 12px;
}

.snapshot-flow span {
  align-items: center;
  background: #1f5f68;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.landing-section {
  border-top: 1px solid rgba(101, 113, 106, 0.2);
  display: grid;
  gap: 24px;
  padding: 54px 0;
}

.landing-section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.landing-section h2,
.landing-cta h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
  margin-bottom: 0;
  max-width: 800px;
}

.landing-steps,
.landing-capabilities {
  display: grid;
  gap: 14px;
}

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

.landing-steps article,
.landing-capabilities div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(205, 219, 210, 0.95);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 20px;
}

.landing-steps span {
  color: #6f4f1d;
  font-size: 0.82rem;
  font-weight: 900;
}

.landing-steps h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.landing-steps p,
.landing-capabilities p {
  color: #65716a;
  margin-bottom: 0;
}

.landing-split {
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.landing-capabilities div {
  grid-template-columns: 170px minmax(0, 1fr);
}

.landing-capabilities strong {
  color: #1f5f68;
}

.landing-cta {
  align-items: center;
  background: #1c2321;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 16px 0 54px;
  padding: 28px;
}

.landing-cta .eyebrow {
  color: #d7bd84;
}

.landing-cta h2 {
  color: #ffffff;
  max-width: 760px;
}

.landing-cta .secondary-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.pill {
  background: #edf0eb;
  border-radius: 999px;
  color: #405048;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 9px;
}

.status-pill.success {
  background: #e5f4ec;
  color: #1d6541;
}

.status-pill.attention {
  background: #fff2c8;
  color: #755a10;
}

.status-pill.danger {
  background: #fde9df;
  color: #8a351e;
}

.status-pill.muted {
  background: #edf0eb;
  color: #65716a;
}

.pill.high {
  background: #fde9df;
  color: #8a351e;
}

.pill.medium {
  background: #fff2c8;
  color: #755a10;
}

.pill.low {
  background: #e5f4ec;
  color: #1d6541;
}

.detail-panel {
  max-width: 860px;
}

pre {
  background: #1c2321;
  border-radius: 8px;
  color: #f6f7f3;
  overflow-x: auto;
  padding: 16px;
}

.workflow-steps {
  counter-reset: workflow;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.workflow-step {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  color: #65716a;
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
}

.workflow-step-number {
  align-items: center;
  background: #edf0eb;
  border-radius: 999px;
  color: #405048;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.workflow-step-label {
  font-size: 0.88rem;
  font-weight: 800;
}

.workflow-step.done,
.workflow-step.current {
  border-color: #97c9af;
  color: #1c2321;
}

.workflow-step.done .workflow-step-number,
.workflow-step.current .workflow-step-number {
  background: #e5f4ec;
  color: #1d6541;
}

.workflow-step.current {
  box-shadow: 0 0 0 2px #e5f4ec;
}

.workflow-step.blocked {
  border-color: #f3c8b8;
  color: #8a351e;
}

.workflow-step.blocked .workflow-step-number {
  background: #fde9df;
  color: #8a351e;
}

.debug-details {
  border-top: 1px solid #edf0eb;
  padding-top: 14px;
}

.debug-details summary {
  color: #1f5f68;
  cursor: pointer;
  font-weight: 800;
}

.video-preview {
  aspect-ratio: 9 / 16;
  background: #1c2321;
  border: 1px solid #dfe4dc;
  border-radius: 8px;
  display: block;
  max-height: 680px;
  max-width: 380px;
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #edf0eb;
  padding: 10px;
  text-align: left;
}

.table-note {
  color: #65716a;
  display: block;
  font-size: 0.82rem;
  margin-top: 4px;
  max-width: 360px;
}

@media (max-width: 900px) {
  .dashboard-hero,
  .landing-section-heading,
  .landing-cta,
  .simple-hero,
  .marketing-hero,
  .marketing-control-main,
  .grid-two,
  .experiment-grid,
  .handoff-grid,
  .flow-board,
  .simple-grid,
  .marketing-control-panel,
  .marketing-settings-form,
  .marketing-compact-context,
  .simple-calendar,
  .funnel-strip {
    display: block;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-window {
    width: 100%;
  }

  .landing-steps,
  .landing-split,
  .landing-capabilities {
    grid-template-columns: 1fr;
  }

  .landing-section-heading h2 {
    margin-bottom: 22px;
  }

  .landing-cta .landing-actions {
    margin-top: 22px;
  }

  .metric-strip,
  .pipeline-strip,
  .cards-grid,
  .business-card-list,
  .form-grid,
  .workflow-steps,
  .decision-card dl {
    grid-template-columns: 1fr 1fr;
  }

  .side-stack {
    margin-top: 24px;
  }

  .marketing-control-main,
  .marketing-hero,
  .marketing-control-panel,
  .waiting-work-panel,
  .marketing-compact-context {
    margin-bottom: 14px;
  }

  .marketing-status-stack,
  .compact-approval-list {
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .topbar-brand,
  .topbar-nav,
  .topbar-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .shell {
    padding: 20px;
  }

  .landing-page .shell {
    padding-top: 18px;
  }

  .landing-hero {
    gap: 28px;
    padding-bottom: 36px;
  }

  .landing-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .landing-lead {
    font-size: 1rem;
  }

  .marketing-preview-header {
    align-items: flex-start;
    gap: 12px;
  }

  .marketing-preview-header em {
    margin-top: 4px;
  }

  .landing-actions,
  .landing-actions .landing-button {
    width: 100%;
  }

  .snapshot-grid,
  .snapshot-flow,
  .output-strip,
  .landing-capabilities div {
    grid-template-columns: 1fr;
  }

  .landing-section {
    padding: 38px 0;
  }

  .landing-cta {
    padding: 22px;
  }

  .metric-strip,
  .pipeline-strip,
  .cards-grid,
  .business-card-list,
  .business-card-meta,
  .form-grid,
  .workflow-steps,
  .decision-card dl {
    grid-template-columns: 1fr;
  }

  .compact-approval-list article {
    grid-template-columns: 1fr;
  }

  .platform-choice-grid {
    grid-template-columns: 1fr;
  }
}
