:root {
  color-scheme: light;
  --ink: #10201a;
  --muted: #596966;
  --line: #c9cbb8;
  --blue: #18372a;
  --green: #4f6f38;
  --orange: #d9672d;
  --navy: #10201a;
  --teal: #4f6f38;
  --paper: #f3f0e7;
  --white: #fffdf7;
  --deep-chlorophyll: #10201a;
  --lab-evergreen: #18372a;
  --herb-green: #4f6f38;
  --young-moss: #8fae62;
  --specimen-paper: #f3f0e7;
  --glass-mist: #dde5d8;
  --label-line: #c9cbb8;
  --display-font: Georgia, "Times New Roman", serif;
  --interface-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--interface-font);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a {
  color: var(--blue);
}

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--label-line);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: var(--display-font);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.view-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.view-mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 6px 10px;
  white-space: nowrap;
}

.public-mode {
  border-color: var(--label-line);
  background: var(--glass-mist);
  color: var(--lab-evergreen);
}

.private-mode {
  border-color: var(--label-line);
  background: var(--white);
  color: var(--muted);
}

.view-map {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.view-map span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #d8d0bf;
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.9);
  color: #536461;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 7px 12px;
}

.view-map strong {
  color: #102a2a;
  margin-right: 4px;
}

.mode,
.small,
.privacy-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.top-nav,
.site-footer {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.top-nav .private-link,
.an-nav .private-link,
.ops-topbar nav .private-link {
  border: 1px solid #d8d0bf;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep-chlorophyll);
  padding: 8px 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 6vw;
  background: var(--white);
  flex-wrap: wrap;
}

.actually-home {
  background: #f4f0e6;
  color: #102a2a;
}

.an-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 6vw;
  border-bottom: 1px solid #d8d0bf;
  background: rgba(244, 240, 230, 0.92);
}

.an-brand {
  color: #102a2a;
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.an-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.an-nav a,
.an-footer a {
  color: #536461;
  text-decoration: none;
  font-weight: 800;
}

.an-hero {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
  padding: 8vh 6vw;
  background:
    linear-gradient(90deg, #f4f0e6 0 62%, #e7efeb 62% 100%);
}

.an-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.an-button {
  background: #10463f;
  box-shadow: 0 10px 22px rgba(16, 70, 63, 0.2);
}

.an-principles {
  display: grid;
  gap: 14px;
}

.an-principles div {
  border: 1px solid #d8d0bf;
  border-left: 6px solid #de9638;
  border-radius: 8px;
  background: #fffcf4;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(16, 42, 42, 0.08);
}

.an-principles div:nth-child(2) {
  border-left-color: #23796d;
}

.an-principles div:nth-child(3) {
  border-left-color: #2f5d86;
}

.an-principles strong,
.an-principles span {
  display: block;
}

.an-principles strong {
  font-size: 1.35rem;
}

.an-principles span {
  margin-top: 6px;
  color: #536461;
}

.an-tool-feature,
.an-catalog-note {
  margin: 0 auto;
  width: min(1120px, calc(100% - 36px));
}

.an-tool-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: center;
  padding: 68px 0;
  border-bottom: 1px solid #d8d0bf;
}

.an-tool-feature h2,
.an-catalog-note h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
}

.an-tool-feature p,
.an-catalog-note p {
  max-width: 760px;
  color: #536461;
  font-size: 1.15rem;
  line-height: 1.6;
}

.an-tool-actions {
  display: grid;
  gap: 12px;
}

.an-tool-note {
  justify-self: end;
  max-width: 300px;
  border-left: 4px solid #23796d;
  color: #536461;
  line-height: 1.4;
  padding-left: 16px;
}

.an-tool-note strong,
.an-tool-note span {
  display: block;
}

.an-tool-shelf-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.an-tool-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(96px, 1fr) auto;
  gap: 12px;
  min-height: 360px;
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: #fffcf4;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(16, 42, 42, 0.07);
}

.an-tool-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.an-tool-card h3 {
  margin: 0;
  color: #102a2a;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.an-tool-card p {
  color: #536461;
  font-size: 1rem;
  line-height: 1.5;
}

.an-tool-card .an-button {
  justify-self: start;
}

.an-catalog-note {
  padding: 64px 0 76px;
}

.hero {
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 8vh 6vw 7vh;
  background:
    linear-gradient(135deg, rgba(22, 128, 93, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

.hero-copy h1 {
  max-width: 900px;
  font-size: clamp(2.65rem, 5.8vw, 5.55rem);
  line-height: 0.98;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.hero-copy,
.hero-copy h1,
.lede {
  min-width: 0;
  overflow-wrap: break-word;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lede {
  max-width: 640px;
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--muted);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.trust-strip span {
  border: 1px solid #cfd9e6;
  border-radius: 999px;
  background: #ffffff;
  color: #28384e;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 11px;
}

.checkout {
  max-width: 720px;
  margin-top: 34px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.checkout-row {
  display: flex;
  gap: 12px;
}

.checkout-message {
  min-height: 1.3rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

input[type="email"],
input[type="file"],
input[type="text"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

button,
.downloads a,
.button-link {
  border: 0;
  border-radius: 6px;
  padding: 14px 18px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.button-link {
  display: inline-block;
  box-shadow: 0 10px 22px rgba(18, 97, 166, 0.2);
}

.secondary-link {
  display: inline-block;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 32px 0 14px;
}

.parent-shelf {
  padding: 34px 6vw;
  border-top: 1px solid #d8d0bf;
  border-bottom: 1px solid #d8d0bf;
  background: #f4f0e6;
  color: #102a2a;
}

.parent-shelf h2 {
  max-width: 900px;
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
}

.parent-shelf p:last-child {
  max-width: 780px;
  margin: 0;
  color: #536461;
  font-size: 1.12rem;
  line-height: 1.55;
}

.story-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 26px 6vw;
  background: var(--navy);
}

.story-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 22px;
}

.story-card.after {
  border-left-color: var(--green);
}

.story-card span {
  display: block;
  color: #b9c4d4;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.story-card strong {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.story-card p {
  margin: 10px 0 0;
  color: #dbe4ee;
  line-height: 1.55;
}

.story-arrow {
  display: grid;
  place-items: center;
  color: #dbe4ee;
  font-size: 2rem;
  font-weight: 900;
}

.path-section {
  padding: 72px 6vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.path-heading h2,
.use-case-section h2 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.8vw, 4.4rem);
  line-height: 1;
}

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

.path-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 14px 38px rgba(23, 32, 51, 0.06);
}

.path-card.primary-path {
  border-top: 6px solid var(--green);
  background:
    linear-gradient(135deg, rgba(22, 128, 93, 0.1), transparent 42%),
    #f3fbf7;
}

.path-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.path-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.path-card p {
  color: var(--muted);
  line-height: 1.55;
}

.path-card .button-link,
.path-card .secondary-link {
  margin-top: auto;
}

.proof-panel,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 50px rgba(23, 32, 51, 0.08);
}

.proof-panel h2,
.details h2 {
  margin-top: 0;
}

.workbook-visual {
  position: relative;
}

.mock-window {
  overflow: hidden;
  border: 1px solid #c8d4e3;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(16, 25, 43, 0.18);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: var(--white);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6b6b;
}

.window-bar span:nth-child(2) {
  background: #ffd166;
}

.window-bar span:nth-child(3) {
  background: #3ddc97;
}

.window-bar strong {
  margin-left: 8px;
  font-size: 0.9rem;
}

.mock-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 14px 0;
  background: #edf3f8;
}

.mock-tabs span {
  flex: 0 0 auto;
  border: 1px solid #cad6e4;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: var(--white);
  color: #526174;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 12px;
}

.mock-tabs .active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.mock-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(#eef3f8 1px, transparent 1px),
    linear-gradient(90deg, #eef3f8 1px, transparent 1px),
    #ffffff;
  background-size: 42px 34px;
}

.mock-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(16, 25, 43, 0.08);
}

.mock-card small,
.mock-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.mock-card strong {
  display: block;
  margin: 4px 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.1;
}

.blue-card {
  border-top: 5px solid var(--blue);
}

.green-card {
  border-top: 5px solid var(--green);
}

.mock-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.8fr 0.9fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mock-grid span {
  min-width: 0;
  border-bottom: 1px solid #e8eef5;
  padding: 10px;
  color: #344052;
  font-size: 0.86rem;
}

.mock-grid span:nth-child(-n + 4) {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.mock-grid .ok,
.mock-grid .review {
  font-weight: 800;
}

.mock-grid .ok {
  color: #137450;
}

.mock-grid .review {
  color: #a64213;
  background: #fff4e9;
}

li {
  margin: 10px 0;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 0 6vw 10vh;
}

.calm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.example-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  gap: 38px;
  align-items: center;
  padding: 72px 6vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.use-case-section {
  padding: 64px 6vw;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.use-case-grid div {
  display: flex;
  align-items: center;
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  line-height: 1.3;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.05);
}

.example-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  line-height: 1;
}

.example-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

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

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

.example-path div {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#edf3f8 1px, transparent 1px),
    linear-gradient(90deg, #edf3f8 1px, transparent 1px),
    #f7fbff;
  background-size: 38px 30px;
  padding: 20px;
}

.example-path span,
.step-label {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e8f2fb;
  color: var(--blue);
  font-weight: 900;
}

.example-path strong {
  display: block;
  margin-top: 18px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.example-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 50px rgba(23, 32, 51, 0.08);
}

.example-card span,
.example-card small {
  display: block;
}

.example-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.example-card strong {
  margin: 24px 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.example-card small {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.example-card.dirty {
  border-top: 6px solid var(--orange);
  background:
    linear-gradient(#f0f3f8 1px, transparent 1px),
    linear-gradient(90deg, #f0f3f8 1px, transparent 1px),
    #fffaf6;
  background-size: 38px 30px;
}

.example-card.clean {
  border-top: 6px solid var(--green);
  background:
    linear-gradient(135deg, rgba(22, 128, 93, 0.1), transparent 44%),
    #f4fbf8;
}

.example-lab {
  padding: 7vh 6vw;
  background:
    linear-gradient(135deg, rgba(217, 103, 45, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

.example-lab-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.example-lab-heading h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.example-lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.example-run-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

.example-run-card.dirty {
  border-top: 6px solid var(--orange);
  background:
    linear-gradient(#edf2f7 1px, transparent 1px),
    linear-gradient(90deg, #edf2f7 1px, transparent 1px),
    #fffaf6;
  background-size: 42px 32px;
}

.example-run-card.clean {
  border-top: 6px solid var(--green);
  background:
    linear-gradient(135deg, rgba(22, 128, 93, 0.08), transparent 44%),
    var(--white);
}

.example-run-card h2,
.example-direct h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.example-run-card p,
.example-direct p {
  color: var(--muted);
  line-height: 1.6;
}

.example-upload-panel {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.example-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.example-checklist li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 24px;
  border-top: 1px solid rgba(216, 222, 232, 0.9);
  color: var(--muted);
  line-height: 1.35;
}

.example-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--orange);
}

.example-result-panel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid #b8dfd0;
  border-top: 6px solid var(--green);
  border-radius: 8px;
  background: #eef8f4;
  padding: 24px 28px;
  box-shadow: 0 16px 44px rgba(22, 128, 93, 0.1);
}

.example-result-panel[hidden] {
  display: none;
}

.example-result-panel h2 {
  margin: 12px 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.example-result-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.example-direct {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px 28px;
}

.calm-steps div {
  min-height: 210px;
  padding: 34px 6vw;
  background: var(--white);
}

.calm-steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #cfd9e6;
  border-radius: 999px;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 18px;
}

.calm-steps h2,
.section-heading h2 {
  margin: 0 0 10px;
}

.calm-steps p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.6;
}

.sample-output {
  padding: 64px 6vw;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-intro {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.6;
}

.audience-band,
.before-after,
.clarity-section,
.faq-section {
  padding: 64px 6vw;
}

.fit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 22px 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}

.fit-strip span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.audience-band,
.before-after,
.clarity-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 40px;
  align-items: start;
}

.audience-band p,
.clarity-copy p,
.before-after li,
.faq-section p {
  color: var(--muted);
  line-height: 1.6;
}

.clarity-copy {
  position: sticky;
  top: 24px;
}

.clarity-copy h2,
.paid-section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  margin: 0 0 16px;
}

.gentle-list {
  max-width: 620px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.gentle-list li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.gentle-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.mini-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.free-preview-card {
  display: grid;
  gap: 8px;
  border: 1px solid #cfe0ef;
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: #f1f7ff;
  padding: 24px;
  box-shadow: 0 16px 50px rgba(23, 32, 51, 0.08);
}

.free-preview-card strong {
  font-size: 1.25rem;
}

.free-preview-card span {
  color: var(--muted);
  line-height: 1.5;
}

.mini-list ul,
.faq-grid {
  columns: 2;
}

.before-after {
  background:
    linear-gradient(90deg, rgba(217, 103, 45, 0.08), transparent 44%),
    linear-gradient(270deg, rgba(22, 128, 93, 0.08), transparent 44%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.before-after > div,
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.before-after > div:first-child {
  border-top: 5px solid var(--orange);
}

.before-after > div:last-child {
  border-top: 5px solid var(--green);
}

.clarity-section {
  background: var(--white);
}

.lead-form {
  display: grid;
  gap: 16px;
  box-shadow: 0 16px 50px rgba(23, 32, 51, 0.08);
}

.calm-form {
  align-self: start;
}

.field-grid {
  display: grid;
  gap: 8px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.checkbox-row input {
  margin-top: 4px;
}

.process-list,
.paid-summary {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.process-list div,
.paid-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
}

.process-list strong,
.process-list span,
.paid-summary strong,
.paid-summary span {
  display: block;
}

.process-list span,
.paid-summary span,
.safety-note {
  color: var(--muted);
  line-height: 1.45;
}

.safety-note {
  border-left: 4px solid var(--blue);
  background: #f1f6fb;
  margin: 0;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.faq-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

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

.faq-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

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

.output-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

.output-grid div:nth-child(1) {
  border-top: 5px solid var(--blue);
}

.output-grid div:nth-child(2) {
  border-top: 5px solid var(--teal);
}

.output-grid div:nth-child(3) {
  border-top: 5px solid var(--orange);
}

.compact-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.compact-list li {
  margin: 6px 0;
}

.privacy-band {
  border-top: 1px solid var(--line);
  padding: 44px 6vw 56px;
  background: #f3f7fb;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.privacy-band p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.6;
}

.paid-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: start;
  padding: 72px 6vw;
  background:
    linear-gradient(135deg, rgba(18, 97, 166, 0.08), transparent 38%),
    var(--paper);
}

.paid-section p {
  color: var(--muted);
  line-height: 1.6;
}

.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(23, 32, 51, 0.08);
}

.checkout-panel .checkout {
  margin-top: 0;
}

.panel {
  max-width: 760px;
  margin: 8vh auto;
}

.workflow-page {
  width: min(1080px, calc(100% - 36px));
  margin: 7vh auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
}

.workflow-hero {
  position: sticky;
  top: 28px;
}

.workflow-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.workflow-hero .lede {
  font-size: 1.15rem;
}

.workflow-steps {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.workflow-steps span {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  padding: 0 14px;
}

.workflow-steps .done {
  border-color: #b8dfd0;
  background: #eef8f4;
  color: var(--green);
}

.workflow-steps .active {
  border-color: #bed5ec;
  background: #f1f7ff;
  color: var(--blue);
}

.workflow-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

.workflow-card h2 {
  margin-top: 0;
}

.status-line {
  margin-top: 0;
  color: var(--muted);
}

.technical-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.upload-form {
  display: grid;
  gap: 16px;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.result-summary div {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 16px;
}

.result-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.result-summary strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
  text-transform: capitalize;
}

.policy-page {
  max-width: 860px;
  margin: 7vh auto;
  padding: 0 24px;
  line-height: 1.65;
}

.panel form {
  display: grid;
  gap: 16px;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.downloads .primary-download {
  background: var(--green);
  box-shadow: 0 10px 22px rgba(22, 128, 93, 0.2);
}

.notice {
  border-left: 4px solid var(--green);
  background: #eef8f4;
  padding: 14px 16px;
  margin: 18px 0;
}

.error {
  color: #b42318;
  font-weight: 700;
}

.admin {
  padding: 32px 4vw;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 24px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.admin-hero p {
  margin: 0;
  color: var(--muted);
}

.section-note {
  max-width: 760px;
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.admin-actions,
.admin-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.admin-tabs a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 850;
  padding: 9px 14px;
  text-decoration: none;
}

.admin-tabs a.active {
  border-color: var(--green);
  background: #e9f8ee;
  color: var(--green);
}

.status-panel {
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.status-panel-ok {
  border-color: #9ac7a8;
  background: #f2faf4;
}

.status-panel-warning,
.status-panel-unknown {
  border-color: #dfc27d;
  background: #fff8df;
}

.status-panel-blocked {
  border-color: #df9a7d;
  background: #fff1e8;
}

.ops-flow {
  display: grid;
  grid-template-columns: repeat(8, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.ops-flow-step {
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.ops-flow-step span,
.ops-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.ops-flow-step strong {
  display: block;
  margin-top: 14px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ops-flow-ok {
  border-left: 5px solid #2f8f55;
}

.ops-flow-warning,
.ops-flow-unknown {
  border-left: 5px solid #c18b2c;
}

.ops-flow-blocked {
  border-left: 5px solid #bd4a2f;
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.ops-metrics div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.ops-metrics strong {
  display: block;
  font-size: 2rem;
}

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

.attention-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-left: 6px solid #9aa6b2;
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.attention-card-ok {
  border-left-color: #2f8f55;
}

.attention-card-warning,
.attention-card-unknown {
  border-left-color: #c18b2c;
}

.attention-card-blocked {
  border-left-color: #bd4a2f;
}

.attention-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.attention-card h3 {
  margin: 6px 0 8px;
}

.attention-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid #cfd7e2;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.attention-card .icon-badge {
  color: var(--ink);
  font-size: 0.72rem;
}

.icon-badge-large {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 0.88rem;
}

.fix-details {
  margin-top: 4px;
}

.fix-details summary {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  border: 1px solid #b9c5d4;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 8px 13px;
  list-style: none;
}

.fix-details summary::-webkit-details-marker {
  display: none;
}

.fix-details[open] summary {
  border-color: var(--blue);
  color: var(--blue);
}

.fix-details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.fix-details-inline {
  margin: 0;
}

.fix-details-inline summary {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 0.86rem;
}

.small-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 8px 12px;
  text-decoration: none;
}

.recent-grid > div {
  min-width: 0;
}

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

.portfolio-card {
  border: 1px solid var(--line);
  border-left: 6px solid #9aa6b2;
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.portfolio-card-ok {
  border-left-color: #2f8f55;
}

.portfolio-card-warning,
.portfolio-card-unknown {
  border-left-color: #c18b2c;
}

.portfolio-card-blocked {
  border-left-color: #bd4a2f;
}

.portfolio-card-heading {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  align-items: start;
}

.portfolio-card-heading .grade-badge {
  margin-left: auto;
}

.portfolio-card-heading span,
.grade-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 6px 0 0;
  font-size: 1.5rem;
}

.portfolio-card p {
  color: var(--muted);
  line-height: 1.5;
}

.grade-badge {
  min-width: 82px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: #f8fafc;
}

.grade-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

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

.desk-grid-full {
  grid-template-columns: minmax(0, 1fr);
}

.mini-desk-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 132px;
  border: 1px solid var(--line);
  border-left: 6px solid #9aa6b2;
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.mini-desk-card-warning,
.mini-desk-card-unknown,
.mini-desk-card-watching {
  border-left-color: #c18b2c;
}

.mini-desk-card-ok,
.mini-desk-card-live {
  border-left-color: #2f8f55;
}

.mini-desk-card-blocked {
  border-left-color: #bd4a2f;
}

.mini-desk-card h3 {
  margin: 2px 0 8px;
  font-size: 1.2rem;
}

.mini-desk-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.ops-actions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 16px;
  align-items: start;
  margin: 22px 0 34px;
}

.ops-actions-grid > div,
.ops-actions-grid form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.ops-actions-grid h3 {
  margin-top: 0;
}

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

.ops-actions-grid label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.ops-actions-grid input {
  width: 100%;
  margin-bottom: 12px;
}

.ops-table td:nth-child(4),
.ops-table td:nth-child(6) {
  max-width: 360px;
}

.admin-summary {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--muted);
}

.status {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  background: #edf2f7;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-ok {
  color: #165b34;
  background: #e9f8ee;
}

.status-warning,
.status-unknown {
  color: #71510d;
  background: #fff4ca;
}

.status-blocked {
  color: #8a2c0d;
  background: #fff4e6;
}

.status-error,
.status-manual_review_required {
  color: #8a2c0d;
  background: #fff4e6;
}

.ops-app {
  background:
    linear-gradient(180deg, rgba(221, 229, 216, 0.28), transparent 290px),
    var(--specimen-paper);
  color: var(--deep-chlorophyll);
}

.ops-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px 5vw;
  border-bottom: 1px solid var(--label-line);
  background: rgba(243, 240, 231, 0.92);
  backdrop-filter: blur(14px);
}

.ops-topbar-primary {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.ops-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-chlorophyll);
  font-family: var(--display-font);
  font-weight: 800;
  text-decoration: none;
}

.ops-brand span {
  color: var(--deep-chlorophyll);
}

.ops-brand-with-mark img {
  width: min(176px, 46vw);
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.ops-topbar nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
}

.ops-topbar nav a,
.ops-topbar nav .nav-disabled,
.ops-utility-link,
.ops-text-button {
  border: 0;
  background: transparent;
  color: #536461;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
}

.ops-topbar nav a,
.ops-utility-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 8px 10px;
  white-space: nowrap;
}

.ops-topbar nav a.active,
.ops-topbar nav a:hover,
.ops-utility-link.active,
.ops-utility-link:hover {
  background: var(--glass-mist);
  color: var(--deep-chlorophyll);
}

.ops-utility-link {
  border: 1px solid #d8d0bf;
  background: #fffcf4;
}

.ops-topbar nav .nav-disabled {
  cursor: default;
  opacity: 0.45;
}

.ops-user-chip {
  border: 1px solid #d8d0bf;
  border-radius: 999px;
  background: #fffcf4;
  color: #536461;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 8px 12px;
}

.ops-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.ops-status-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 168px;
  border: 1px solid #d8d0bf;
  border-left: 8px solid #23796d;
  border-radius: 14px;
  background: #fffcf4;
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 18px 60px rgba(16, 42, 42, 0.08);
}

.ops-status-warning,
.ops-status-unknown {
  border-left-color: #de9638;
}

.ops-status-blocked {
  border-left-color: #d9672d;
}

.ops-kicker {
  margin: 0 0 10px;
  color: #23796d;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-status-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  line-height: 0.95;
}

.ops-status-card p {
  margin: 0;
  max-width: 760px;
  color: #536461;
  font-size: 1.1rem;
  line-height: 1.5;
}

.ops-status-actions {
  display: grid;
  gap: 10px;
}

.ops-status-actions a,
.ops-login-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #10463f;
  border-radius: 999px;
  background: #10463f;
  color: #ffffff;
  font-weight: 900;
  padding: 10px 16px;
  text-decoration: none;
}

.ops-status-actions a + a {
  background: transparent;
  color: #10463f;
}

.ops-lane,
.ops-login-card {
  scroll-margin-top: 220px;
  margin-top: 18px;
  border: 1px solid #d8d0bf;
  border-radius: 14px;
  background: #fffcf4;
  padding: 22px;
}

.ops-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ops-section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.ops-section-heading p {
  margin: 6px 0 0;
  color: #536461;
}

.ops-section-icon,
.ops-pill,
.ops-tool-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #cfc7b6;
  background: #f8f3e8;
  color: #102a2a;
  font-weight: 950;
}

.ops-branded-card {
  position: relative;
  overflow: hidden;
}

.ops-branded-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--tool-accent, #23796d);
}

.brand-actually-nothing {
  --tool-accent: var(--herb-green);
  --tool-soft: var(--glass-mist);
}

.brand-sheetfixer {
  --tool-accent: var(--young-moss);
  --tool-soft: #f5f6ed;
}

.brand-unscramblr {
  --tool-accent: #8db9d6;
  --tool-soft: #eef8ff;
}

.brand-activity-calendar {
  --tool-accent: var(--herb-green);
  --tool-soft: var(--glass-mist);
}

.brand-dopamine-menu {
  --tool-accent: #6f8f68;
  --tool-soft: #edf5dd;
}

.brand-hunter,
.brand-seat-sheet {
  --tool-accent: #7a8a77;
  --tool-soft: #f0f4ee;
}

.ops-section-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  font-size: 1rem;
}

.ops-pill,
.ops-tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 0.78rem;
}

.ops-tool-icon img,
.icon-badge img,
.ops-shelf-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ops-action-list,
.ops-tool-list,
.ops-activity-list {
  display: grid;
  gap: 10px;
}

.ops-action-card,
.ops-tool-row,
.ops-simple-card,
.ops-activity-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: #fffaf1;
  padding: 16px;
}

.ops-branded-card {
  background:
    linear-gradient(90deg, var(--tool-soft, transparent), transparent 42%),
    #fffaf1;
}

.ops-simple-card {
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 10px;
}

.ops-activity-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.ops-activity-clear {
  border-left: 6px solid #23796d;
}

.ops-action-warning,
.ops-action-unknown {
  border-left: 6px solid #de9638;
}

.ops-action-blocked {
  border-left: 6px solid #d9672d;
}

.ops-action-ok {
  border-left: 6px solid #23796d;
}

.ops-action-card h3,
.ops-tool-row h3,
.ops-simple-card h3,
.ops-activity-row h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.ops-action-card p,
.ops-tool-row p,
.ops-simple-card p,
.ops-activity-row p {
  margin: 0;
  color: #536461;
  line-height: 1.45;
}

.ops-action-next {
  margin-top: 8px !important;
  color: #102a2a !important;
}

.ops-blocked-by {
  margin-top: 8px !important;
}

.ops-blocked-by strong {
  color: #102a2a;
}

.ops-action-card details {
  margin-top: 10px;
}

.ops-action-card summary {
  width: fit-content;
  border: 1px solid #cfc7b6;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  padding: 7px 12px;
}

.ops-tool-row a {
  align-self: center;
  border: 1px solid #10463f;
  border-radius: 999px;
  color: #10463f;
  font-weight: 900;
  padding: 8px 12px;
  text-decoration: none;
}

.ops-inline-details {
  margin-top: 8px;
}

.ops-inline-details summary {
  color: #536461;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 900;
}

.ops-inline-details p {
  margin-top: 6px;
}

.ops-two-column,
.ops-three-column {
  display: grid;
  gap: 18px;
}

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

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

.ops-arbitrage-card {
  border-left: 6px solid #10463f;
  background:
    linear-gradient(135deg, rgba(16, 70, 63, 0.08), transparent 46%),
    #fffaf1;
}

.ops-revenue-list {
  display: grid;
  gap: 10px;
}

.ops-revenue-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(210px, 0.44fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 112px;
  border: 1px solid #d8d0bf;
  border-left: 6px solid #9aa6b2;
  border-radius: 12px;
  background: #fffaf1;
  padding: 16px;
}

.ops-revenue-live,
.ops-revenue-testing {
  border-left-color: #23796d;
}

.ops-revenue-source_gated,
.ops-revenue-compliance_gated {
  border-left-color: #d9672d;
  background:
    linear-gradient(90deg, rgba(217, 103, 45, 0.09), transparent 38%),
    #fffaf1;
}

.ops-revenue-copy {
  min-width: 0;
}

.ops-revenue-copy h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.ops-revenue-copy p {
  margin: 0;
  color: #536461;
  line-height: 1.45;
}

.ops-revenue-copy p strong {
  color: #102a2a;
}

.ops-revenue-next {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 6px;
  border-left: 1px solid #d8d0bf;
  padding-left: 14px;
}

.ops-revenue-next span {
  color: #536461;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ops-revenue-next strong {
  color: #102a2a;
  font-size: 0.92rem;
  line-height: 1.35;
}

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

.ops-check-card {
  min-height: 92px;
  border: 1px solid #d8d0bf;
  border-left: 6px solid #9aa6b2;
  border-radius: 12px;
  background: #fffaf1;
  padding: 14px;
}

.ops-check-ok {
  border-left-color: #23796d;
}

.ops-check-warning,
.ops-check-unknown {
  border-left-color: #de9638;
}

.ops-check-blocked {
  border-left-color: #d9672d;
}

.ops-check-card span,
.ops-check-card strong {
  display: block;
}

.ops-check-card span {
  color: #536461;
}

.ops-check-card strong {
  margin-top: 14px;
  text-transform: uppercase;
}

.ops-login-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px;
}

.ops-login-card {
  width: min(520px, 100%);
  margin: 0 auto;
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 253, 247, 0.92), transparent 42%),
    linear-gradient(145deg, rgba(221, 229, 216, 0.5), transparent 48%),
    var(--white);
  box-shadow: 0 28px 80px rgba(7, 16, 12, 0.08);
  padding: clamp(26px, 4vw, 40px);
}

.ops-login-mark {
  width: min(190px, 70%);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 18px 32px rgba(7, 16, 12, 0.1));
}

.ops-login-card h1 {
  margin: 0 0 12px;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ops-login-card > p {
  color: var(--muted);
  line-height: 1.5;
}

.ops-login-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.ops-login-form label {
  color: var(--lab-evergreen);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-login-form input {
  min-height: 46px;
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--deep-chlorophyll);
  font: inherit;
  padding: 10px 12px;
}

.ops-form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.ops-public-shelf {
  border: 1px solid #d8d0bf;
  border-radius: 8px;
  background: #fffcf4;
  padding: clamp(24px, 4vw, 42px);
}

.ops-public-shelf h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
}

.ops-public-shelf > p:not(.ops-kicker) {
  max-width: 620px;
  color: #536461;
  font-size: 1.08rem;
  line-height: 1.5;
}

.ops-shelf-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.ops-shelf-card {
  display: grid;
  gap: 8px;
  min-height: 160px;
  border: 1px solid #d8d0bf;
  border-radius: 14px;
  background: #fffaf1;
  color: #102a2a;
  padding: 16px;
  text-decoration: none;
}

.ops-shelf-card img {
  width: 42px;
  height: 42px;
}

.ops-shelf-card strong,
.ops-shelf-card small {
  display: block;
}

.ops-shelf-card strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.ops-shelf-card small {
  color: #536461;
  font-weight: 800;
  line-height: 1.3;
}

.ops-user-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) 130px minmax(150px, 0.7fr) auto;
  gap: 12px;
  align-items: end;
}

.ops-user-form label,
.ops-user-row form {
  display: grid;
  gap: 6px;
}

.ops-user-form span {
  font-weight: 900;
}

.ops-user-form input,
.ops-user-form select,
.ops-user-row input,
.ops-user-row select {
  min-height: 42px;
  border: 1px solid #cfc7b6;
  border-radius: 10px;
  background: #ffffff;
  color: #102a2a;
  font: inherit;
  padding: 8px 10px;
}

.ops-user-form button,
.ops-user-row button {
  min-height: 42px;
  border: 1px solid #10463f;
  border-radius: 999px;
  background: #10463f;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 8px 14px;
}

.ops-user-list {
  display: grid;
  gap: 10px;
}

.ops-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: #fffaf1;
  padding: 14px;
}

.ops-user-row h3,
.ops-user-row p {
  margin: 0;
}

.ops-user-row p {
  color: #536461;
}

.ops-user-row form {
  grid-template-columns: 110px 110px minmax(150px, 1fr) auto;
  align-items: center;
}

.showroom-mode,
.investor-mode {
  border-color: var(--label-line);
  background: var(--white);
  color: var(--muted);
}

.showroom-shell,
.investor-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.showroom-hero,
.investor-hero {
  min-height: 260px;
  display: grid;
  align-content: center;
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background:
    radial-gradient(ellipse 620px 260px at 82% 14%, rgba(111, 141, 73, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(221, 229, 216, 0.62), transparent 54%),
    var(--white);
  box-shadow: 0 24px 72px rgba(7, 16, 12, 0.06);
  padding: clamp(26px, 5vw, 54px);
}

.showroom-hero h1,
.investor-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
}

.showroom-hero p:last-child,
.investor-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.investor-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.investor-hero-meta span,
.investor-tags span {
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.68);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 7px 10px;
}

.showroom-grid,
.investor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

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

.investor-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.investor-strip article {
  min-height: 116px;
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.investor-strip span,
.investor-card-topline span,
.investor-detail-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.investor-strip strong {
  display: block;
  margin-top: 18px;
  color: var(--deep-chlorophyll);
  font-family: var(--display-font);
  font-size: 2.8rem;
  line-height: 0.9;
}

.showroom-card,
.investor-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-height: 220px;
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.investor-card {
  grid-template-columns: 1fr;
  align-content: start;
}

.investor-card-compact {
  min-height: 260px;
}

.investor-card-topline {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.investor-card-topline strong {
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: var(--specimen-paper);
  color: var(--deep-chlorophyll);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  padding: 7px 9px;
  text-transform: capitalize;
}

.showroom-card img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--specimen-paper);
  border: 1px solid var(--label-line);
}

.showroom-card h2,
.investor-card h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.showroom-card p:not(.ops-kicker),
.investor-card p,
.investor-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.investor-card h3 {
  margin-top: 4px;
}

.investor-muted {
  color: #687773 !important;
}

.investor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.investor-detail-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.investor-detail-list div {
  border-top: 1px solid var(--label-line);
  padding-top: 12px;
}

.investor-detail-list dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.investor-section {
  margin-top: 34px;
}

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

.investor-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.95;
}

.investor-open-link {
  width: fit-content;
  border: 1px solid var(--lab-evergreen);
  border-radius: 8px;
  background: var(--lab-evergreen);
  color: #ffffff;
  font-weight: 900;
  padding: 9px 14px;
  text-decoration: none;
}

.investor-boundary {
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.62);
  padding: 22px;
}

.investor-boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  margin-top: 18px;
}

.investor-boundary h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.investor-topbar {
  grid-template-columns: auto minmax(430px, 1fr) auto;
  gap: 14px;
}

.investor-topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.investor-topbar .ops-brand {
  min-width: 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 0.95;
}

.investor-topbar .ops-brand span {
  overflow-wrap: normal;
}

.investor-nav {
  justify-content: center;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
}

.investor-nav a {
  min-height: 32px !important;
  border: 1px solid transparent;
  border-radius: 8px !important;
  font-size: 0.78rem;
  padding: 6px 8px !important;
}

.investor-nav a[href="/investor/snapshot.json"] {
  border-color: var(--label-line);
  background: rgba(255, 253, 247, 0.64);
}

.investor-session-area {
  justify-content: flex-end;
}

.investor-app {
  background:
    radial-gradient(ellipse 900px 360px at 74% 0%, rgba(255, 253, 247, 0.72), transparent 68%),
    linear-gradient(180deg, rgba(221, 229, 216, 0.32), transparent 360px),
    var(--specimen-paper);
}

.investor-shell {
  width: min(1260px, calc(100% - 32px));
}

.investor-brief {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  column-gap: clamp(24px, 5vw, 78px);
  row-gap: 28px;
  align-items: end;
  align-content: center;
  min-height: 420px;
}

.investor-brief-copy {
  grid-row: 1 / span 2;
  align-self: center;
}

.investor-brief h1 {
  max-width: 1040px;
  font-size: clamp(3rem, 7vw, 7rem);
}

.investor-brief-copy p:last-child {
  max-width: 880px;
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
}

.investor-brief-panel {
  display: grid;
  gap: 10px;
  border-left: 1px solid var(--label-line);
  padding-left: 22px;
}

.investor-brief-panel span,
.investor-brief-panel small,
.investor-proof-card span,
.investor-status-row span,
.investor-proof-list dt,
.investor-source-list span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.investor-brief-panel strong {
  color: var(--deep-chlorophyll);
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1;
}

.investor-brief-panel p,
.investor-brief-panel small {
  margin: 0;
}

.investor-proof-needed {
  grid-column: 2;
  align-self: start;
}

.investor-proof-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.investor-proof-chips span,
.investor-status-row article {
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
}

.investor-proof-chips span {
  color: var(--deep-chlorophyll);
  font-weight: 850;
  padding: 8px 11px;
}

.investor-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.investor-status-row article {
  min-height: 186px;
  padding: 20px;
}

.investor-status-row ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.investor-status-row li {
  color: var(--deep-chlorophyll);
  line-height: 1.35;
}

.investor-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.investor-proof-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  min-width: 0;
  min-height: 230px;
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.investor-proof-card strong {
  color: var(--deep-chlorophyll);
  font-family: var(--display-font);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.86;
}

.investor-proof-card p,
.investor-proof-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.investor-proof-card small {
  border-top: 1px solid var(--label-line);
  padding-top: 10px;
}

.investor-loop-card {
  min-height: 430px;
}

.investor-proof-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.investor-proof-list div {
  border-top: 1px solid var(--label-line);
  padding-top: 12px;
}

.investor-proof-list dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.investor-product-card {
  grid-template-rows: auto auto minmax(84px, 1fr) auto auto;
}

.investor-card,
.investor-status-row article {
  min-width: 0;
}

.investor-card-topline {
  flex-wrap: wrap;
}

.investor-card-topline span,
.investor-card-topline strong {
  overflow-wrap: anywhere;
}

.investor-source-list {
  grid-column: 1 / -1;
  border-top: 1px solid var(--label-line);
  padding-top: 16px;
}

.investor-source-list ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.investor-source-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--deep-chlorophyll);
  font-weight: 800;
}

.investor-source-list span {
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.showroom-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.showroom-card-footer span {
  border: 1px solid var(--label-line);
  border-radius: 8px;
  background: var(--specimen-paper);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 10px;
}

.showroom-card-footer a {
  border: 1px solid var(--lab-evergreen);
  border-radius: 8px;
  background: var(--lab-evergreen);
  color: #ffffff;
  font-weight: 900;
  padding: 9px 14px;
  text-decoration: none;
}

.showroom-rules {
  margin-top: 18px;
  border: 1px solid #d8d0bf;
  border-radius: 8px;
  background: #fffcf4;
  padding: 22px;
}

.showroom-rules h2 {
  margin: 0 0 14px;
}

.showroom-rule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showroom-rule-list span {
  border: 1px solid #d8d0bf;
  border-radius: 8px;
  background: #f8f3e8;
  color: #536461;
  font-weight: 850;
  padding: 9px 12px;
}

.dopamine-app {
  background:
    linear-gradient(180deg, #fff7e3 0%, #f6edda 48%, #eaf4ee 100%);
  color: #172f2c;
}

.dopamine-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.dopamine-hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 26px;
  align-items: stretch;
  border: 1px solid #d7ccba;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(241, 174, 62, 0.24), transparent 42%),
    linear-gradient(315deg, rgba(66, 133, 116, 0.2), transparent 46%),
    #fffdf6;
  padding: clamp(24px, 5vw, 54px);
  box-shadow: 0 20px 70px rgba(23, 47, 44, 0.1);
}

.dopamine-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
}

.dopamine-hero p:last-child {
  max-width: 680px;
  margin: 0;
  color: #52635f;
  font-size: 1.08rem;
  line-height: 1.55;
}

.dopamine-hero-card {
  align-self: center;
  min-height: 230px;
  display: grid;
  align-content: center;
  gap: 12px;
  border: 1px solid #d7ccba;
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
}

.dopamine-hero-card span,
.dopamine-hero-card small {
  color: #66726f;
  font-weight: 800;
}

.dopamine-hero-card strong {
  font-size: 2rem;
  line-height: 1.05;
}

.dopamine-workbench {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  margin-top: 18px;
}

.dopamine-builder,
.dopamine-output {
  border: 1px solid #d7ccba;
  border-radius: 8px;
  background: #fffdf6;
  padding: 22px;
}

.dopamine-builder {
  display: grid;
  gap: 16px;
  align-content: start;
}

.dopamine-builder label,
.dopamine-label,
.dopamine-builder legend {
  display: block;
  color: #172f2c;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 7px;
}

.dopamine-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dopamine-presets button {
  min-height: 34px;
  border-color: #d7ccba;
  background: #ffffff;
  color: #10463f;
  padding: 7px 10px;
}

.dopamine-builder input[type="text"],
.dopamine-builder select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfc4b2;
  border-radius: 10px;
  background: #ffffff;
  color: #172f2c;
  font: inherit;
  padding: 9px 11px;
}

.dopamine-control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dopamine-builder fieldset {
  display: grid;
  gap: 8px;
  border: 1px solid #d7ccba;
  border-radius: 8px;
  margin: 0;
  padding: 14px;
}

.dopamine-builder fieldset label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: #3c4e4a;
  font-weight: 800;
}

.dopamine-builder button,
.dopamine-output button {
  min-height: 42px;
  border: 1px solid #10463f;
  border-radius: 999px;
  background: #10463f;
  color: #ffffff;
  font-weight: 900;
  padding: 9px 14px;
}

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

.dopamine-output-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1;
}

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

.dopamine-menu-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  min-height: 156px;
  border: 1px solid #d7ccba;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.dopamine-menu-item > span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f4b34e;
  color: #172f2c;
  font-weight: 950;
}

.dopamine-menu-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.dopamine-menu-item p {
  margin: 0 0 10px;
  color: #52635f;
  line-height: 1.4;
}

.dopamine-menu-item small {
  color: #7b5e21;
  font-weight: 900;
}

.dopamine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.dopamine-house-rule {
  margin-top: 14px;
  border: 1px dashed #b88b32;
  border-radius: 8px;
  background: #fff8e8;
  color: #4f3a10;
  font-weight: 900;
  padding: 12px 14px;
}

.dopamine-actions button {
  background: #ffffff;
  color: #10463f;
}

.dopamine-actions span {
  color: #52635f;
  font-weight: 800;
}

.dopamine-note {
  margin: 12px 0 0;
  color: #66726f;
  font-size: 0.88rem;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.error-cell {
  max-width: 320px;
}

@media (max-width: 900px) {
  .admin-hero,
  .ops-actions-grid,
  .portfolio-grid,
  .attention-grid,
  .recent-grid,
  .desk-grid {
    grid-template-columns: 1fr;
  }

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

  .ops-topbar,
  .ops-status-card,
  .ops-command-grid,
  .ops-two-column,
  .ops-three-column,
  .ops-check-grid,
  .ops-tool-row,
  .ops-action-card,
  .ops-login-shell,
  .ops-shelf-list,
  .showroom-grid,
  .investor-grid,
  .investor-grid-two,
  .investor-strip,
  .investor-proof-grid,
  .investor-status-row,
  .investor-boundary-grid,
  .showroom-card,
  .investor-card,
  .investor-brief,
  .dopamine-hero,
  .dopamine-workbench,
  .dopamine-menu-grid,
  .ops-user-form,
  .ops-user-row,
  .ops-user-row form {
    grid-template-columns: 1fr;
  }

  .ops-topbar {
    align-items: flex-start;
    padding: 16px;
  }

  .investor-topbar {
    grid-template-columns: 1fr;
  }

  .investor-topbar-brand,
  .investor-session-area {
    width: 100%;
  }

  .investor-nav {
    justify-content: flex-start;
  }

  .investor-brief-panel {
    border-left: 0;
    border-top: 1px solid var(--label-line);
    padding: 18px 0 0;
  }

  .investor-brief-copy,
  .investor-proof-needed {
    grid-column: auto;
    grid-row: auto;
  }

  .ops-topbar-primary {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .ops-primary-nav {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
}

.sample-report {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1.25fr);
  gap: 48px;
  align-items: start;
  padding: 7vh 6vw;
}

.sample-copy h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  margin: 0 0 18px;
}

.sample-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.report-page {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 16px 50px rgba(23, 32, 51, 0.08);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 6vw;
  }

  .mode {
    display: none;
  }

  .hero,
  .details,
  .paid-section,
  .privacy-band,
  .calm-steps,
  .output-grid,
  .path-grid,
  .use-case-grid,
  .sample-report,
  .audience-band,
  .before-after,
  .clarity-section,
  .example-section,
  .example-downloads,
  .example-path,
  .example-lab-grid,
  .story-strip,
  .an-hero,
  .an-tool-feature,
  .faq-grid,
  .workflow-page,
  .result-summary {
    grid-template-columns: 1fr;
  }

  .an-tool-note {
    justify-self: start;
  }

  .an-tool-shelf-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    gap: 28px;
  }

  .story-strip {
    gap: 12px;
  }

  .story-arrow {
    min-height: 36px;
    transform: rotate(90deg);
  }

  .hero-copy h1,
  .sample-copy h1 {
    font-size: clamp(2rem, 9.5vw, 2.35rem);
    line-height: 1;
  }

  .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
  }

  .lede {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .proof-panel,
  .mock-sheet,
  .before-after > div,
  .lead-form {
    padding: 20px;
  }

  .calm-steps div {
    min-height: auto;
    padding: 26px 6vw;
  }

  .example-section,
  .example-lab {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .example-direct {
    align-items: stretch;
    flex-direction: column;
  }

  .example-result-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .clarity-copy {
    position: static;
  }

  .workflow-page {
    margin-top: 36px;
  }

  .workflow-hero {
    position: static;
  }

  .workflow-card {
    padding: 22px;
  }

  .mock-window {
    transform: none;
    box-shadow: 0 18px 42px rgba(16, 25, 43, 0.14);
  }

  .mock-sheet {
    grid-template-columns: 1fr;
  }

  .mock-grid {
    grid-template-columns: minmax(62px, 0.9fr) minmax(96px, 1.2fr) minmax(64px, 0.8fr);
    overflow: hidden;
  }

  .mock-grid span:nth-child(4n),
  .mock-grid span:nth-child(4n + 4) {
    display: none;
  }

  .mock-grid span {
    padding: 9px 8px;
    font-size: 0.82rem;
  }

  .checkout-row {
    flex-direction: column;
  }

  button,
  .downloads a,
  .button-link {
    width: 100%;
    text-align: center;
  }

  .secondary-link {
    width: 100%;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    padding: 14px 18px;
  }

  .mini-list ul {
    columns: 1;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}

.score-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 16px;
  background: #eef8f4;
  border: 1px solid #b8dfd0;
}

.score-box strong {
  font-size: 2rem;
}

@media (max-width: 780px) {
  .hero,
  .details,
  .sample-report,
  .output-grid,
  .paid-section,
  .privacy-band,
  .calm-steps {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .an-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .an-nav {
    flex-wrap: wrap;
  }

  .checkout-row {
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}

/* Ops command desk polish */
.ops-command-desk {
  width: min(1120px, calc(100% - 32px));
  padding-top: 28px;
}

.ops-session-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ops-command-desk .ops-status-card {
  min-height: 138px;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  padding: clamp(20px, 2.4vw, 30px);
}

.ops-command-desk .ops-growth-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) minmax(128px, auto);
  border-left-color: #23796d;
  background:
    linear-gradient(135deg, rgba(35, 121, 109, 0.1), transparent 48%),
    #fffcf4;
}

.ops-command-desk .ops-status-card h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.8rem);
  line-height: 0.98;
}

.ops-command-desk .ops-status-card p {
  max-width: 680px;
  font-size: 1rem;
}

.ops-growth-progress {
  max-width: 560px;
  margin-top: 18px;
}

.ops-growth-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #536461;
  font-size: 0.86rem;
  font-weight: 900;
}

.ops-growth-progress-top strong {
  color: #10463f;
}

.ops-growth-track {
  display: block;
  width: 100%;
  height: 10px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #cfc7b6;
  border-radius: 999px;
  background: #efe8d7;
}

.ops-growth-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #23796d, #de9638);
}

.ops-growth-panel {
  align-self: stretch;
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.78);
  padding: 16px;
}

.ops-growth-panel-label {
  margin: 0 0 8px !important;
  color: #23796d !important;
  font-size: 0.76rem !important;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-growth-panel strong {
  display: block;
  color: #102a2a;
  font-size: 1rem;
  line-height: 1.35;
}

.ops-growth-panel p:last-child {
  margin-top: 10px;
  font-size: 0.9rem;
}

.ops-readout-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ops-readout-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  border: 1px solid #d8d0bf;
  border-radius: 14px;
  background: #fffcf4;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(16, 42, 42, 0.05);
}

.ops-readout-alert {
  border-color: #e6c785;
  background: #fff8e6;
}

.ops-readout-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e9f5ef;
  color: #10463f;
  font-size: 0.78rem;
  font-weight: 950;
}

.ops-readout-card strong,
.ops-readout-card span {
  display: block;
}

.ops-readout-card strong {
  color: #102a2a;
  font-size: 1.75rem;
  line-height: 1;
}

.ops-readout-card div > span {
  margin-top: 4px;
  color: #536461;
  font-size: 0.88rem;
  font-weight: 850;
}

.ops-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.ops-local-demand-center {
  background:
    linear-gradient(135deg, rgba(35, 121, 109, 0.08), transparent 44%),
    #fffcf4;
}

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

.ops-local-demand-stats article {
  min-height: 118px;
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: #fffaf1;
  padding: 16px;
}

.ops-local-demand-stats span,
.ops-local-demand-rank {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #23796d;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-local-demand-stats strong {
  display: block;
  margin-top: 10px;
  color: #102a2a;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 0.95;
}

.ops-local-demand-stats p {
  margin: 10px 0 0;
  color: #536461;
  font-size: 0.9rem;
}

.ops-sales-ops-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ops-sales-ops-band article {
  min-height: 112px;
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: #fffcf4;
  padding: 16px;
}

.ops-sales-ops-band span {
  display: block;
  color: #23796d;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-sales-ops-band strong {
  display: block;
  margin-top: 10px;
  color: #102a2a;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 0.95;
}

.ops-sales-ops-band p {
  margin: 10px 0 0;
  color: #536461;
  font-size: 0.88rem;
  line-height: 1.35;
}

.ops-local-demand-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.ops-local-demand-actions a,
.ops-local-demand-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #cfc7b6;
  border-radius: 999px;
  background: #fffaf1;
  color: #102a2a;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 8px 13px;
  text-decoration: none;
}

.ops-local-demand-actions a {
  border-color: #10463f;
  background: #10463f;
  color: #ffffff;
}

.ops-local-demand-actions a + a {
  background: #fffaf1;
  color: #10463f;
}

.ops-local-demand-actions code {
  margin-left: 6px;
  color: #10463f;
  font-size: 0.8rem;
}

.ops-local-demand-summary .ops-local-demand-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-local-demand-summary .ops-local-demand-stats article {
  min-height: 102px;
}

.ops-local-demand-summary .ops-local-demand-stats strong {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.ops-local-demand-watchlist {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ops-local-demand-footnote {
  margin: 12px 0 0;
  color: #536461;
  font-size: 0.9rem;
  font-weight: 850;
}

.ops-local-demand-priority {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #d8d0bf;
  border-left: 6px solid #23796d;
  border-radius: 12px;
  background: #fffaf1;
  padding: 14px;
}

.ops-local-demand-priority h3 {
  margin: 0;
  font-size: 1rem;
}

.ops-local-demand-priority p {
  margin: 5px 0 0;
  color: #536461;
  font-size: 0.9rem;
  line-height: 1.35;
}

.ops-local-demand-mini-metrics {
  display: grid;
  gap: 6px;
  min-width: 82px;
}

.ops-local-demand-mini-metrics span {
  border: 1px solid #d8d0bf;
  border-radius: 999px;
  background: #fffcf4;
  color: #102a2a;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 9px;
  text-align: center;
  white-space: nowrap;
}

.ops-runbook-details {
  margin-top: 14px;
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: #fffaf1;
  padding: 12px 14px;
}

.ops-runbook-details summary {
  color: #10463f;
  cursor: pointer;
  font-weight: 950;
}

.ops-runbook-details p {
  margin: 10px 0 0;
  color: #536461;
}

.ops-runbook-details code {
  color: #10463f;
  font-size: 0.88rem;
}

.ops-local-demand-table {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ops-local-demand-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(164px, auto) minmax(92px, auto);
  gap: 14px;
  align-items: start;
  border: 1px solid #d8d0bf;
  border-left: 6px solid #23796d;
  border-radius: 12px;
  background: #fffaf1;
  padding: 14px;
}

.ops-local-demand-fix_quality {
  border-left-color: #d9672d;
}

.ops-local-demand-improve_conversion {
  border-left-color: #de9638;
}

.ops-local-demand-provider_outreach,
.ops-local-demand-warm_signal {
  border-left-color: #23796d;
}

.ops-local-demand-indexed_watch {
  border-left-color: #8db9d6;
}

.ops-local-demand-rank {
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #cfc7b6;
  border-radius: 10px;
  background: #f8f3e8;
  color: #102a2a;
  letter-spacing: 0;
}

.ops-local-demand-main h3 {
  margin: 0;
  font-size: 1.05rem;
}

.ops-local-demand-main p {
  margin: 6px 0 0;
  color: #536461;
  line-height: 1.4;
}

.ops-local-demand-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(70px, 1fr));
  gap: 8px;
}

.ops-local-demand-metrics span {
  min-height: 34px;
  border: 1px solid #d8d0bf;
  border-radius: 10px;
  background: #fffcf4;
  color: #102a2a;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 10px;
  text-align: center;
}

.ops-local-demand-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.ops-local-demand-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #10463f;
  border-radius: 999px;
  color: #10463f;
  font-weight: 950;
  padding: 8px 12px;
  text-decoration: none;
}

.ops-sales-list {
  display: grid;
  gap: 10px;
}

.ops-sales-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid #d8d0bf;
  border-left: 6px solid #23796d;
  border-radius: 12px;
  background: #fffaf1;
  padding: 16px;
}

.ops-sales-empty {
  border-left-color: #8db9d6;
}

.ops-sales-row h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.ops-sales-row p {
  margin: 0;
  color: #536461;
  line-height: 1.45;
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading .ops-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.compact-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.ops-action-card {
  grid-template-columns: auto minmax(0, 1fr) minmax(112px, auto);
  align-items: center;
}

.ops-action-compact {
  grid-template-columns: auto minmax(0, 1fr);
}

.ops-more-details {
  border: 1px solid #d8d0bf;
  border-radius: 12px;
  background: #fffaf1;
  padding: 12px 14px;
}

.ops-more-details summary {
  color: #10463f;
  cursor: pointer;
  font-weight: 950;
}

.ops-more-details[open] summary {
  margin-bottom: 10px;
}

.ops-fix-details,
.ops-check-fix {
  justify-self: end;
}

.ops-fix-details summary,
.ops-check-fix summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #10463f;
  border-radius: 999px;
  background: #10463f;
  color: #ffffff;
  cursor: pointer;
  font-weight: 950;
  padding: 8px 14px;
  list-style: none;
}

.ops-fix-details summary::-webkit-details-marker,
.ops-check-fix summary::-webkit-details-marker {
  display: none;
}

.ops-fix-details[open],
.ops-check-fix[open] {
  justify-self: stretch;
}

.ops-fix-details[open] summary,
.ops-check-fix[open] summary {
  width: fit-content;
  margin-bottom: 8px;
}

.ops-fix-details p,
.ops-check-fix p {
  max-width: 320px;
  margin: 0 0 8px;
  color: #536461;
  font-size: 0.9rem;
}

.ops-fix-details a {
  color: #10463f;
  font-size: 0.9rem;
  font-weight: 900;
}

.ops-tool-row {
  grid-template-columns: auto minmax(0, 1fr) minmax(86px, auto);
  align-items: center;
  min-height: 104px;
}

.ops-tool-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ops-grade-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #cfc7b6;
  border-radius: 999px;
  background: #fffcf4;
  color: #102a2a;
  font-size: 0.86rem;
  font-weight: 950;
  padding: 7px 12px;
  white-space: nowrap;
}

.ops-muted-note {
  margin-top: 8px !important;
  font-size: 0.92rem;
}

.ops-simple-card {
  min-height: 96px;
  align-items: center;
}

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

.ops-check-card {
  min-height: 112px;
}

.ops-check-card strong {
  margin-top: 10px;
}

.ops-check-fix {
  margin-top: 12px;
}

.ops-check-fix summary {
  min-height: 34px;
  background: transparent;
  color: #10463f;
}

@media (max-width: 900px) {
  .ops-session-area,
  .ops-readout-grid,
  .ops-command-grid,
  .ops-local-demand-stats,
  .ops-sales-ops-band,
  .ops-local-demand-priority,
  .ops-local-demand-row,
  .ops-command-desk .ops-status-card,
  .ops-action-card,
  .ops-tool-row,
  .ops-revenue-row,
  .ops-check-grid {
    grid-template-columns: 1fr;
  }

  .ops-session-area {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .ops-readout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-local-demand-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-sales-ops-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-local-demand-links {
    justify-items: start;
  }

  .ops-local-demand-mini-metrics {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .ops-fix-details,
  .ops-check-fix {
    justify-self: stretch;
  }

  .ops-revenue-next {
    border-left: 0;
    border-top: 1px solid #d8d0bf;
    padding: 12px 0 0;
  }

  .ops-fix-details summary,
  .ops-check-fix summary,
  .ops-tool-row a {
    width: 100%;
  }

  .ops-tool-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .ops-topbar {
    min-height: 0;
    padding: 10px 12px;
  }

  .ops-topbar-primary {
    gap: 8px;
  }

  .view-mode-pill {
    min-height: 24px;
    font-size: 0.68rem;
    padding: 5px 8px;
  }

  .ops-brand {
    font-size: 0.98rem;
  }

  .ops-primary-nav a,
  .ops-utility-link,
  .ops-text-button {
    min-height: 30px;
    font-size: 0.78rem;
    padding: 6px 8px;
  }

  .ops-primary-nav {
    gap: 4px;
  }

  .ops-primary-nav a {
    font-size: 0.74rem;
    padding-inline: 5px;
  }

  .ops-primary-nav a[href="/ops#checks"] {
    display: none;
  }

  .ops-user-chip {
    display: none;
  }

  .ops-command-desk {
    width: min(calc(100% - 24px), 1120px);
    padding-top: 14px;
  }

  .ops-command-desk .ops-status-card {
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .ops-command-desk .ops-status-card h1 {
    font-size: 2rem;
  }

  .ops-command-desk .ops-status-card p {
    font-size: 0.92rem;
  }

  .ops-growth-progress {
    margin-top: 12px;
  }

  .ops-growth-panel {
    padding: 12px;
  }

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

  .ops-status-actions a {
    min-height: 36px;
    font-size: 0.8rem;
    padding: 7px 8px;
  }

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

  .ops-readout-card {
    min-height: 58px;
    gap: 7px;
    padding: 8px;
  }

  .ops-readout-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .ops-readout-card strong {
    font-size: 1.15rem;
  }

  .ops-readout-card div > span {
    font-size: 0.68rem;
  }

  .ops-lane {
    padding: 16px;
  }

  .compact-heading h2 {
    font-size: 1.45rem;
  }
}

/* Ops scanability icons */
.ops-readout-icon,
.ops-section-icon {
  position: relative;
  overflow: hidden;
}

.ops-readout-icon::before,
.ops-readout-icon::after,
.ops-section-icon::before,
.ops-section-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.ops-readout-card {
  border-radius: 16px;
}

.ops-readout-card strong {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  letter-spacing: 0;
}

.ops-readout-card div > span {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ops-icon-tools::before,
.ops-icon-shelf::before {
  width: 19px;
  height: 19px;
  left: 11px;
  top: 11px;
  border: 3px solid currentColor;
  border-radius: 5px;
  box-shadow: 11px 0 0 -3px currentColor, 0 11px 0 -3px currentColor, 11px 11px 0 -3px currentColor;
}

.ops-icon-build::before {
  width: 22px;
  height: 14px;
  left: 10px;
  top: 14px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.ops-icon-build::after {
  width: 16px;
  height: 3px;
  left: 18px;
  top: 30px;
  background: currentColor;
  transform: rotate(-38deg);
  transform-origin: left center;
}

.ops-icon-signals::before {
  width: 5px;
  height: 5px;
  left: 11px;
  top: 27px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 9px -8px 0 currentColor, 20px -16px 0 currentColor;
}

.ops-icon-signals::after {
  width: 27px;
  height: 18px;
  left: 12px;
  top: 14px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: skew(-22deg);
  opacity: 0.55;
}

.ops-icon-revenue::before {
  width: 24px;
  height: 18px;
  left: 9px;
  top: 14px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.ops-icon-revenue::after {
  width: 12px;
  height: 12px;
  left: 18px;
  top: 9px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: #e9f5ef;
}

.ops-icon-review::before,
.ops-icon-decision::before {
  width: 24px;
  height: 24px;
  left: 9px;
  top: 9px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.ops-icon-review::after,
.ops-icon-decision::after {
  width: 4px;
  height: 13px;
  left: 20px;
  top: 15px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 16px 0 -1px currentColor;
}

.ops-icon-checks::before {
  width: 25px;
  height: 14px;
  left: 10px;
  top: 13px;
  border-left: 5px solid currentColor;
  border-bottom: 5px solid currentColor;
  transform: rotate(-45deg);
}

.ops-readout-alert .ops-readout-icon {
  background: #fff0c7;
  color: #8a5d08;
}

.ops-action-lane {
  border-color: #d6c08c;
  background: linear-gradient(135deg, #fff8e6 0%, #fffcf4 62%);
}

.ops-action-card h3 {
  font-size: 1.26rem;
}

.ops-tool-row h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.ops-tool-row p,
.ops-simple-card p,
.ops-check-card span {
  font-size: 0.9rem;
}

.ops-check-card strong {
  font-size: 0.86rem;
}

@media (max-width: 560px) {
  .ops-readout-card strong {
    font-size: 1.15rem;
  }

  .ops-readout-card div > span {
    font-size: 0.68rem;
  }

  .ops-action-card h3 {
    font-size: 1.05rem;
  }
}

/* AN Design: private Ops command system v2 */
.ops-app {
  --ops-ink: #07100c;
  --ops-panel: #fffdf7;
  --ops-panel-warm: #f8f3e8;
  --ops-panel-alert: #fff5d8;
  --ops-line: #cfc7b6;
  --ops-line-strong: #9f9987;
  --ops-command: #10463f;
  --ops-command-dark: #071f1b;
  --ops-warning: #bd6d16;
  --ops-danger: #cf4e22;
  --ops-text-muted: #4e5e59;
  background:
    linear-gradient(90deg, rgba(16, 70, 63, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 70, 63, 0.055) 0 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(143, 174, 98, 0.18), transparent 280px),
    #ede8d9;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.ops-topbar {
  min-height: 58px;
  border-bottom-color: rgba(255, 253, 247, 0.12);
  background: rgba(7, 16, 12, 0.96);
  color: #fffdf7;
  backdrop-filter: blur(16px);
}

.ops-brand,
.ops-brand span {
  color: #fffdf7;
  font-family: var(--interface-font);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.ops-topbar .private-mode {
  border-color: rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.08);
  color: #dfe8da;
}

.ops-primary-nav {
  align-items: center;
}

.ops-primary-nav a,
.ops-utility-link,
.ops-text-button {
  color: #cbd8ce;
  border-radius: 6px;
  font-size: 0.82rem;
}

.ops-primary-nav a.active,
.ops-primary-nav a:hover,
.ops-utility-link.active,
.ops-utility-link:hover {
  background: #fffdf7;
  color: var(--ops-command-dark);
}

.ops-utility-link {
  border-color: rgba(255, 253, 247, 0.2);
  background: rgba(255, 253, 247, 0.08);
}

.ops-user-chip {
  border-color: rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.08);
  color: #dfe8da;
}

.ops-command-desk {
  width: min(1240px, calc(100% - 36px));
  padding-top: 22px;
}

.ops-command-desk .ops-growth-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px) minmax(132px, 150px);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 0;
  background:
    linear-gradient(115deg, rgba(255, 253, 247, 0.09), transparent 42%),
    linear-gradient(90deg, var(--ops-command-dark), #123b32 74%, #174d3c);
  color: #fffdf7;
  box-shadow: 0 24px 70px rgba(7, 16, 12, 0.28);
}

.ops-command-desk .ops-growth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 247, 0.055) 0 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.ops-command-desk .ops-growth-hero > * {
  position: relative;
}

.ops-kicker {
  color: #b8d2bd;
}

.ops-command-desk .ops-status-card h1 {
  color: #fffdf7;
  font-family: var(--interface-font);
  font-size: clamp(2.8rem, 6vw, 5.9rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.ops-command-desk .ops-status-card p {
  max-width: 760px;
  color: #dfe8da;
  font-size: 1rem;
}

.ops-control-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 18px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  background: rgba(255, 253, 247, 0.16);
}

.ops-control-strip span {
  display: grid;
  gap: 6px;
  min-height: 66px;
  background: rgba(7, 16, 12, 0.32);
  color: #fffdf7;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
  padding: 11px 12px;
}

.ops-control-strip strong {
  color: #b8d2bd;
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.ops-command-desk .ops-growth-progress {
  max-width: 780px;
  margin-top: 14px;
}

.ops-growth-progress-top {
  color: #dfe8da;
}

.ops-growth-progress-top strong {
  color: #fffdf7;
}

.ops-growth-track {
  height: 8px;
  border-color: rgba(255, 253, 247, 0.22);
  background: rgba(7, 16, 12, 0.48);
}

.ops-growth-track span {
  background: #b8d2bd;
}

.ops-growth-panel {
  display: grid;
  align-content: start;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 0;
  background: rgba(255, 253, 247, 0.08);
  color: #fffdf7;
}

.ops-growth-panel-label {
  color: #b8d2bd !important;
}

.ops-growth-panel strong {
  color: #fffdf7;
}

.ops-growth-panel p:last-child {
  color: #dfe8da;
}

.ops-growth-panel small {
  display: block;
  margin-top: 12px;
  color: #b8d2bd;
  font-size: 0.78rem;
  font-weight: 850;
}

.ops-next-action {
  margin-top: 10px !important;
  color: #fffdf7 !important;
}

.ops-next-action strong {
  color: #b8d2bd;
}

.ops-status-actions {
  align-content: start;
}

.ops-status-actions a,
.ops-login-form button {
  min-height: 40px;
  border-color: rgba(255, 253, 247, 0.24);
  border-radius: 0;
  background: #fffdf7;
  color: var(--ops-command-dark);
}

.ops-login-card .ops-login-form button {
  border-color: var(--ops-command-dark);
  background: var(--ops-command-dark);
  color: #fffdf7;
}

.ops-status-actions a + a {
  background: rgba(255, 253, 247, 0.08);
  color: #fffdf7;
}

.ops-approval-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 18px;
  align-items: stretch;
  border-color: #b99744;
  background: #fff8e6;
}

.ops-approval-recorded {
  border-color: #6c8e5f;
  background: #f0f7ed;
}

.ops-approval-main {
  min-width: 0;
}

.ops-approval-detail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  border: 1px solid #dccf9c;
  background: #dccf9c;
}

.ops-approval-detail div {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 78px;
  background: #fffdf7;
  overflow-wrap: anywhere;
  padding: 12px;
}

.ops-approval-detail span {
  color: #6c6044;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ops-approval-form span {
  color: #6c6044;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.4;
}

.ops-approval-detail strong {
  color: var(--ops-command-dark);
  font-size: 0.88rem;
  line-height: 1.25;
}

.ops-approval-scope,
.ops-approval-boundary {
  max-width: 860px;
  margin: 14px 0 0;
  color: var(--ops-text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.ops-approval-boundary {
  color: #5d4316;
  font-weight: 850;
}

.ops-approval-form {
  display: grid;
  align-content: start;
  gap: 10px;
  border-left: 1px solid #dccf9c;
  padding-left: 18px;
}

.ops-approval-form button {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: var(--ops-command-dark);
  color: #fffdf7;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  padding: 14px 16px;
}

.ops-approval-form button:disabled {
  background: #d0d8ca;
  color: #506053;
  cursor: default;
}

.ops-aizone-panel {
  display: grid;
  gap: 16px;
  border-color: #9fb894;
  background: #f6fbf2;
}

.ops-aizone-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: 16px;
  align-items: stretch;
}

.ops-aizone-head h3 {
  margin: 7px 0 8px;
  color: var(--ops-ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.02;
}

.ops-aizone-head p,
.ops-aizone-safety p {
  margin: 0;
  color: var(--ops-text-muted);
  line-height: 1.5;
}

.ops-aizone-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #9fb894;
  background: #e8f2e2;
  color: var(--ops-command-dark);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 7px 9px;
  text-transform: uppercase;
}

.ops-aizone-needs_attention .ops-aizone-state,
.ops-aizone-warning {
  border-color: #d6b766;
  background: #fff8e6;
  color: #5d4316;
}

.ops-aizone-paused .ops-aizone-state {
  border-color: #c8c3b7;
  background: #f0eee6;
  color: #5c625c;
}

.ops-aizone-safety {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 4px solid #6d8a5c;
  background: #fffdf7;
  padding: 13px;
}

.ops-aizone-safety span,
.ops-aizone-metrics strong,
.ops-aizone-grid h3,
.ops-aizone-run span {
  color: var(--ops-text-muted);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-aizone-safety strong {
  color: var(--ops-command-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.ops-aizone-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  border: 1px solid #cbd7c3;
  background: #cbd7c3;
}

.ops-aizone-metrics span {
  display: grid;
  gap: 7px;
  min-height: 68px;
  background: #fffdf7;
  color: var(--ops-ink);
  font-size: 0.94rem;
  font-weight: 900;
  overflow-wrap: anywhere;
  padding: 11px;
}

.ops-aizone-decision {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 1px;
  border: 1px solid #cbd7c3;
  background: #cbd7c3;
}

.ops-aizone-decision div {
  min-width: 0;
  background: #fffdf7;
  padding: 13px;
}

.ops-aizone-decision span {
  display: block;
  color: var(--ops-text-muted);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.ops-aizone-decision strong {
  display: block;
  color: var(--ops-command-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.ops-aizone-decision p {
  margin: 7px 0 0;
  color: var(--ops-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ops-aizone-warning {
  display: grid;
  gap: 6px;
  padding: 11px 13px;
}

.ops-aizone-warning p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.4;
}

.ops-aizone-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 16px;
}

.ops-aizone-grid section {
  min-width: 0;
}

.ops-aizone-grid h3 {
  margin: 0 0 9px;
}

.ops-aizone-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.ops-aizone-jobs span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #cbd7c3;
  background: #fffdf7;
  color: var(--ops-command-dark);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 9px;
}

.ops-aizone-runs {
  display: grid;
  gap: 8px;
}

.ops-aizone-run {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-left: 4px solid #9fb894;
  background: #fffdf7;
  padding: 10px;
}

.ops-aizone-run-failed {
  border-left-color: #b45309;
}

.ops-aizone-run-idle,
.ops-aizone-run-skipped {
  border-left-color: #9a9486;
}

.ops-aizone-run strong {
  display: block;
  color: var(--ops-ink);
  font-size: 0.92rem;
  line-height: 1.3;
}

.ops-aizone-run p {
  margin: 4px 0 0;
  color: var(--ops-text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ops-readout-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ops-line);
  background: var(--ops-line);
}

.ops-readout-card {
  min-height: 92px;
  border: 0;
  border-radius: 0;
  background: var(--ops-panel);
  box-shadow: none;
  padding: 14px;
}

.ops-readout-alert {
  background: var(--ops-panel-alert);
}

.ops-readout-icon,
.ops-section-icon {
  border-radius: 0;
  background: #e6eee4;
}

.ops-readout-card strong {
  color: var(--ops-ink);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 950;
}

.ops-readout-card div > span {
  color: var(--ops-text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-lane,
.ops-login-card {
  border-color: var(--ops-line);
  border-radius: 0;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 16px 46px rgba(7, 16, 12, 0.08);
}

.ops-section-heading {
  align-items: flex-start;
  border-bottom: 1px solid var(--ops-line);
  padding-bottom: 12px;
}

.ops-section-heading h2 {
  color: var(--ops-ink);
  font-family: var(--interface-font);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 950;
}

.ops-section-heading p {
  color: var(--ops-text-muted);
}

.ops-action-lane {
  border-color: #b99744;
  background: #fff8e6;
}

.ops-action-card,
.ops-tool-row,
.ops-simple-card,
.ops-activity-row,
.ops-revenue-row,
.ops-check-card,
.ops-local-demand-priority,
.ops-local-demand-stats article,
.ops-more-details,
.ops-runbook-details,
.ops-sales-row {
  border-radius: 0;
  background: var(--ops-panel);
}

.ops-action-warning,
.ops-action-unknown,
.ops-action-blocked,
.ops-action-ok,
.ops-activity-clear,
.ops-arbitrage-card,
.ops-revenue-row,
.ops-check-card,
.ops-local-demand-priority,
.ops-local-demand-row,
.ops-sales-row,
.ops-branded-card::before {
  border-left-width: 4px;
}

.ops-fix-details summary,
.ops-check-fix summary,
.ops-tool-row a,
.ops-local-demand-actions a,
.ops-local-demand-links > a {
  border-radius: 0;
}

.ops-grade-badge,
.ops-pill,
.ops-tool-icon,
.ops-local-demand-mini-metrics span {
  border-radius: 0;
}

@media (max-width: 900px) {
  .ops-command-desk .ops-growth-hero,
  .ops-control-strip,
  .ops-readout-grid {
    grid-template-columns: 1fr;
  }

  .ops-readout-grid {
    gap: 1px;
  }

  .ops-approval-panel,
  .ops-approval-detail,
  .ops-aizone-head,
  .ops-aizone-metrics,
  .ops-aizone-decision,
  .ops-aizone-grid {
    grid-template-columns: 1fr;
  }

  .ops-approval-form {
    border-left: 0;
    border-top: 1px solid #dccf9c;
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 560px) {
  .ops-topbar {
    background: var(--ops-command-dark);
  }

  .ops-command-desk {
    width: min(calc(100% - 20px), 1240px);
  }

  .ops-command-desk .ops-status-card h1 {
    font-size: 2.55rem;
  }

  .ops-control-strip span {
    min-height: 54px;
  }

  .ops-status-actions {
    grid-template-columns: 1fr;
  }
}

.lab-page-body {
  margin: 0;
  min-height: 100vh;
  background: #07100c;
  color: var(--deep-chlorophyll);
}

.lab-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 18px;
  background:
    radial-gradient(ellipse 780px 420px at 50% 45%, rgba(255, 253, 247, 0.72), rgba(255, 253, 247, 0.18) 52%, transparent 75%),
    linear-gradient(180deg, rgba(243, 240, 231, 0.06), rgba(243, 240, 231, 0.5)),
    url("/static/assets/brand/nature-blur-background.svg") center / cover no-repeat;
  isolation: isolate;
}

.lab-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 980px 520px at 50% 45%, transparent 0 56%, rgba(7, 16, 12, 0.12) 78%, rgba(7, 16, 12, 0.32) 100%),
    linear-gradient(90deg, rgba(7, 16, 12, 0.2), transparent 22%, transparent 78%, rgba(7, 16, 12, 0.2));
  pointer-events: none;
}

.lab-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle, rgba(16, 32, 26, 0.3) 0 0.55px, transparent 0.9px),
    radial-gradient(circle, rgba(79, 111, 56, 0.18) 0 0.5px, transparent 0.85px);
  background-size: 7px 7px, 13px 13px;
  pointer-events: none;
}

.lab-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lab-field path,
.lab-field line,
.lab-field circle {
  vector-effect: non-scaling-stroke;
}

.lab-card {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
}

.lab-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 42%;
  width: min(680px, 92vw);
  height: 290px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 253, 247, 0.72), rgba(255, 253, 247, 0.26) 48%, transparent 72%);
  filter: blur(18px);
}

.lab-logo {
  width: min(620px, 86vw);
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 22px 52px rgba(7, 16, 12, 0.12));
}

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

.lab-card p {
  max-width: 520px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
}

.lab-entry {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 8px;
  align-items: center;
}

.lab-entry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 180px;
  min-height: 38px;
  border: 1px solid rgba(255, 253, 247, 0.44);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.44);
  color: rgba(16, 32, 26, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 10px 28px rgba(7, 16, 12, 0.08);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  padding: 10px 16px;
}

.lab-entry a:hover {
  border-color: rgba(111, 141, 73, 0.48);
  color: var(--deep-chlorophyll);
  background: var(--white);
}

@media (max-width: 620px) {
  .lab-page {
    align-items: center;
    padding-top: 24px;
  }

  .lab-logo {
    width: min(470px, 92vw);
  }

  .lab-entry {
    left: 18px;
    right: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }

  .lab-entry a {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 10px 8px;
  }
}

@media (max-width: 390px) {
  .lab-entry {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 6px;
  }

  .lab-entry a {
    font-size: 11px;
  }
}

.local-demand-app {
  margin: 0;
  color: #15211f;
  background: #f5f3ee;
  --ld-accent: #16725f;
  --ld-accent-dark: #123f37;
  --ld-accent-soft: #e7f4ee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.local-demand-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(21, 33, 31, 0.12);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.local-demand-brand {
  display: grid;
  gap: 2px;
  color: #15211f;
  text-decoration: none;
}

.local-demand-brand span {
  font-size: 18px;
  font-weight: 850;
  line-height: 1.1;
}

.local-demand-brand small {
  color: #65716d;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.local-demand-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.local-demand-header-actions span {
  color: #65716d;
  font-size: 13px;
  font-weight: 760;
}

.local-demand-header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  background: var(--ld-accent-dark);
  color: #fffdf8;
  font-size: 14px;
  font-weight: 850;
  padding: 0 16px;
  text-decoration: none;
}

.local-demand-index,
.local-demand-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.local-demand-hero {
  padding: clamp(24px, 4vw, 40px) 0 12px;
}

.local-demand-service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
}

.local-demand-hero-copy {
  min-width: 0;
}

.local-demand-eyebrow,
.local-demand-section-label {
  margin: 0 0 12px;
  color: var(--ld-accent-dark);
  font-size: 12px;
  font-weight: 880;
  text-transform: uppercase;
  letter-spacing: 0;
}

.local-demand-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #15211f;
  font-size: clamp(40px, 6.2vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.local-demand-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: #4f5f5b;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.56;
}

.local-demand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.local-demand-primary-call,
.local-demand-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 880;
  text-decoration: none;
  padding: 0 20px;
}

.local-demand-primary-call {
  background: var(--ld-accent-dark);
  color: #fffdf8;
  box-shadow: 0 18px 36px rgba(21, 33, 31, 0.18);
}

.local-demand-secondary-link {
  border: 1px solid rgba(21, 33, 31, 0.18);
  background: #fffdf8;
  color: #243633;
}

.local-demand-call-note {
  max-width: 640px;
  color: #5d6966;
  font-size: 15px !important;
  margin-top: 14px !important;
}

.local-demand-conversion-panel {
  display: grid;
  gap: 16px;
}

.local-demand-visual {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(21, 33, 31, 0.12);
  border-radius: 8px;
  background: #fffdf8;
  padding: 14px;
  box-shadow: 0 24px 54px rgba(21, 33, 31, 0.12);
}

.local-demand-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  border-radius: 6px;
  object-fit: cover;
  background: var(--ld-accent-soft);
}

.local-demand-visual span {
  padding: 0 8px;
  color: var(--ld-accent-dark);
  font-size: 13px;
  font-weight: 860;
}

.local-demand-visual strong {
  max-width: 420px;
  padding: 0 8px;
  color: #15211f;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.06;
}

.local-demand-visual div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 8px 8px;
}

.local-demand-visual em {
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  color: #263734;
  font-size: 13px;
  font-style: normal;
  font-weight: 780;
  padding: 8px 10px;
}

.local-demand-referral-note {
  border-radius: 8px;
  margin-top: 18px;
  max-width: 680px;
  padding: 16px 18px;
  border: 1px solid rgba(21, 33, 31, 0.12);
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(21, 33, 31, 0.08);
}

.local-demand-referral-note strong {
  display: block;
  color: #15211f;
  font-size: 15px;
}

.local-demand-referral-note p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.local-demand-buyer-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 22px;
}

.local-demand-buyer-flow article {
  border: 1px solid rgba(21, 33, 31, 0.1);
  border-radius: 8px;
  background: #fffdf8;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(21, 33, 31, 0.06);
}

.local-demand-buyer-flow span {
  color: var(--ld-accent);
  font-size: 13px;
  font-weight: 900;
}

.local-demand-buyer-flow h2 {
  margin: 8px 0 12px;
  color: #15211f;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.local-demand-buyer-flow ul,
.local-demand-buyer-flow li {
  margin: 0;
  padding: 0;
}

.local-demand-buyer-flow ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.local-demand-buyer-flow li {
  color: #4f5f5b;
  font-size: 14px;
  line-height: 1.45;
}

.local-demand-buyer-flow li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--ld-accent);
}

.local-demand-grid,
.local-demand-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 70px;
}

.local-demand-card,
.local-demand-prep,
.local-demand-form {
  border: 1px solid rgba(21, 33, 31, 0.1);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 38px rgba(21, 33, 31, 0.06);
}

.local-demand-card {
  padding: 22px;
}

.local-demand-card span,
.local-demand-small {
  color: #64736f;
  font-size: 13px;
  line-height: 1.45;
}

.local-demand-card h2,
.local-demand-prep h2,
.local-demand-form h2 {
  margin: 8px 0 10px;
  color: #15211f;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

.local-demand-card p,
.local-demand-prep p {
  color: #50615e;
  line-height: 1.55;
}

.local-demand-card a {
  display: inline-flex;
  margin-top: 10px;
  color: #0b5b55;
  font-weight: 780;
  text-decoration: none;
}

.local-demand-prep,
.local-demand-form {
  padding: clamp(22px, 4vw, 34px);
}

.local-demand-checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.local-demand-checklist span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(21, 33, 31, 0.1);
  border-radius: 8px;
  background: var(--ld-accent-soft);
  color: #233b3a;
  font-weight: 700;
}

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

.local-demand-form h2,
.local-demand-form .success,
.local-demand-form .error,
.local-demand-wide,
.local-demand-consent,
.local-demand-form button,
.local-demand-small {
  grid-column: 1 / -1;
}

.local-demand-form label {
  display: grid;
  gap: 7px;
  color: #213837;
  font-size: 13px;
  font-weight: 780;
}

.local-demand-form input,
.local-demand-form select,
.local-demand-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 33, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: #15211f;
  font: inherit;
  padding: 12px;
}

.local-demand-form input:focus,
.local-demand-form select:focus,
.local-demand-form textarea:focus {
  border-color: var(--ld-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ld-accent) 18%, transparent);
  outline: none;
}

.local-demand-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #50615e;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.5;
}

.local-demand-consent input {
  width: auto;
  margin-top: 3px;
}

.local-demand-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--ld-accent-dark);
  color: #fffcf4;
  font-weight: 820;
  cursor: pointer;
}

.local-demand-mobile-call {
  display: none;
}

.local-demand-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.local-demand-call-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  width: min(640px, calc(100% - 36px));
  margin: 0 auto;
}

.local-demand-call-screen h1 {
  margin: 8px 0 12px;
  color: #102a2a;
  font-size: clamp(34px, 8vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.local-demand-call-screen .button-link,
.local-demand-call-screen .secondary-link {
  margin-top: 18px;
}

.ops-local-demand-mini {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(16, 42, 42, 0.1);
  background: #fffcf4;
}

.ops-local-demand-mini h3 {
  margin: 0 0 8px;
  color: #102a2a;
  font-size: 16px;
  line-height: 1.2;
}

.ops-local-demand-mini p {
  margin: 0 0 10px;
  color: #536461;
  font-size: 13px;
  line-height: 1.45;
}

.ops-local-demand-mini a {
  display: block;
  margin-top: 8px;
  color: #0b5b55;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.ops-textnow-review-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.ops-textnow-review-form label {
  display: grid;
  gap: 7px;
  color: #3d4945;
  font-size: 0.82rem;
  font-weight: 800;
}

.ops-textnow-review-form input,
.ops-textnow-review-form select,
.ops-textnow-review-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(22, 39, 34, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #17231f;
  font: inherit;
  font-weight: 600;
  padding: 10px 11px;
}

.ops-textnow-review-form textarea {
  resize: vertical;
}

.ops-textnow-review-notes {
  grid-column: span 2;
}

.ops-textnow-review-form button {
  align-self: end;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #183f35;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 11px 14px;
}

.ops-banner-success,
.ops-banner-warning {
  border-radius: 8px;
  font-weight: 800;
  margin: 14px 0 0;
  padding: 11px 13px;
}

.ops-banner-success {
  background: #e4f5ea;
  color: #176239;
}

.ops-banner-warning {
  background: #fff5d7;
  color: #704d00;
}

/* Human Action Desk */
.ops-human-actions .ops-growth-hero {
  border-left-color: #b99744;
}

.ops-human-actions .compact-heading {
  gap: 11px;
  margin-bottom: 13px;
  padding-bottom: 10px;
}

.ops-human-actions .compact-heading h2 {
  font-size: clamp(1.14rem, 1.8vw, 1.46rem);
  line-height: 1.08;
}

.ops-human-actions .compact-heading p {
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.38;
}

.ops-human-actions .ops-section-icon {
  width: 36px;
  height: 36px;
  border-color: #bfcbbd;
  border-radius: 10px;
  background: #eef4eb;
  color: var(--ops-command-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.74);
}

.ops-human-actions .ops-section-icon::before,
.ops-human-actions .ops-section-icon::after {
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.ops-human-actions .ops-icon-checks::before {
  width: 17px;
  height: 9px;
  left: 9px;
  top: 12px;
  border: 0;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  background: transparent;
  transform: rotate(-45deg);
}

.ops-human-actions .ops-icon-checks::after,
.ops-human-actions .ops-icon-tools::after {
  display: none;
}

.ops-human-actions .ops-icon-decision::before {
  width: 15px;
  height: 15px;
  left: 10px;
  top: 10px;
  border: 0;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.ops-human-actions .ops-icon-decision::after {
  width: 17px;
  height: 3px;
  left: 9px;
  top: 17px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: none;
}

.ops-human-actions .ops-icon-review::before {
  width: 15px;
  height: 15px;
  left: 8px;
  top: 8px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.ops-human-actions .ops-icon-review::after {
  width: 11px;
  height: 3px;
  left: 20px;
  top: 22px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.ops-human-actions .ops-icon-tools::before {
  width: 5px;
  height: 5px;
  left: 10px;
  top: 10px;
  border: 0;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 11px 0 0 currentColor, 0 11px 0 currentColor, 11px 11px 0 currentColor;
}

.ops-human-actions .ops-pill {
  width: 32px;
  height: 32px;
  border-color: #bfcbbd;
  border-radius: 9px;
  background: #eef4eb;
  color: var(--ops-command-dark);
}

.ops-human-task-first {
  width: min(1220px, calc(100% - 32px));
}

.ops-action-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
  border: 1px solid var(--ops-line);
  border-left: 5px solid var(--ops-line-strong);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 16px 46px rgba(7, 16, 12, 0.08);
  padding: 22px;
}

.ops-action-command.ops-status-warning {
  border-left-color: #b99744;
}

.ops-action-command.ops-status-blocked {
  border-left-color: var(--ops-danger);
}

.ops-action-command.ops-status-ok {
  border-left-color: var(--ops-command);
}

.ops-action-command-main h1 {
  max-width: 860px;
  margin: 6px 0 10px;
  color: var(--ops-ink);
  font-family: var(--interface-font);
  font-size: clamp(1.65rem, 2.55vw, 2.7rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}

.ops-action-command-summary {
  max-width: 820px;
  margin: 0;
  color: #31403b;
  font-size: 1.02rem;
  font-weight: 720;
  line-height: 1.48;
}

.ops-action-now-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(92px, 0.42fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--ops-line);
  background: var(--ops-line);
}

.ops-action-now-grid span {
  display: grid;
  gap: 7px;
  min-height: 70px;
  background: #fffefa;
  color: var(--ops-ink);
  font-size: 0.91rem;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding: 12px;
}

.ops-action-now-grid strong,
.ops-action-state-chip,
.ops-action-target-top span {
  color: var(--ops-text-muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-action-gate-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--ops-line);
  background: #f8f3e8;
  padding: 14px;
}

.ops-action-gate-card p {
  margin: 0;
  color: #36433e;
  font-weight: 780;
  line-height: 1.42;
}

.ops-action-state-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border: 1px solid #d6c08c;
  background: #fff8e6;
  color: #604410;
  padding: 6px 8px;
}

.ops-action-gate-card .ops-action-control-warning {
  display: block;
  min-height: auto;
  margin: 0;
  padding: 9px 10px;
}

.ops-action-utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.ops-action-utility-links a {
  min-height: 34px;
  border: 1px solid var(--ops-line);
  background: #fffdf7;
  color: var(--ops-command-dark);
  font-size: 0.78rem;
  font-weight: 920;
  padding: 8px 10px;
  text-decoration: none;
}

.ops-action-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.ops-action-page-grid .ops-human-queue {
  position: sticky;
  top: 88px;
}

.ops-action-panel-head {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ops-line);
  padding-bottom: 10px;
}

.ops-action-panel-head h2 {
  margin: 0;
  color: var(--ops-ink);
  font-family: var(--interface-font);
  font-size: 1.15rem;
  font-weight: 950;
}

.ops-action-panel-head p {
  margin: 4px 0 0;
  color: var(--ops-text-muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.ops-action-runbook {
  display: grid;
  gap: 14px;
}

.ops-action-task-block {
  border: 1px solid var(--ops-line);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 12px 34px rgba(7, 16, 12, 0.06);
  padding: 16px;
}

.ops-action-task-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.ops-action-task-heading > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid #bfcbbd;
  border-radius: 9px;
  background: #eef4eb;
  color: var(--ops-command-dark);
  font-size: 0.84rem;
  font-weight: 950;
}

.ops-action-task-heading h2 {
  margin: 0;
  color: var(--ops-ink);
  font-family: var(--interface-font);
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  font-weight: 950;
  line-height: 1.12;
}

.ops-action-task-heading p {
  margin: 4px 0 0;
  color: var(--ops-text-muted);
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.4;
}

.ops-action-target-list {
  display: grid;
  gap: 10px;
}

.ops-action-target-card {
  display: grid;
  gap: 9px;
  border: 1px solid #d7d1c2;
  background: #fffefa;
  padding: 13px;
}

.ops-action-target-top,
.ops-action-call-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
}

.ops-action-target-top a {
  color: var(--ops-command-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.ops-action-target-card h3 {
  margin: 0;
  color: var(--ops-ink);
  font-size: 1.03rem;
  line-height: 1.25;
}

.ops-action-target-card p {
  margin: 0;
  color: var(--ops-text-muted);
  line-height: 1.45;
}

.ops-action-call-line {
  justify-content: flex-start;
}

.ops-action-call-line strong {
  color: var(--ops-command-dark);
  font-size: 1.08rem;
}

.ops-action-call-line span {
  color: var(--ops-text-muted);
  font-weight: 800;
}

.ops-action-script-line {
  border-left: 3px solid #b99744;
  background: #fff8e6;
  color: #382d1c !important;
  font-weight: 780;
  padding: 10px 12px;
}

.ops-action-checklist {
  gap: 7px;
}

.ops-action-checklist li {
  color: #33413c;
  font-weight: 720;
}

.ops-action-script p {
  margin: 0;
  border-left: 3px solid var(--ops-command);
  background: #eef4eb;
  color: var(--ops-ink);
  font-size: 1.04rem;
  font-weight: 780;
  line-height: 1.48;
  padding: 12px;
}

.ops-action-stop {
  border-color: #d6b766;
  background: #fff8e6;
}

.ops-action-stop .ops-action-task-heading > span {
  border-color: #d6b766;
  background: #fff5d7;
  color: #704d00;
}

.ops-action-detail-collapse {
  margin-top: 0;
  border-color: #d9d4c5;
  background: #fffefa;
}

.ops-action-detail-collapse-body {
  margin-top: 12px;
}

.ops-human-task-first .ops-human-proof {
  margin-top: 0;
  border: 1px solid var(--ops-line);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 12px 34px rgba(7, 16, 12, 0.06);
  padding: 16px;
}

.ops-system-context {
  margin-top: 18px;
}

.ops-system-context > summary {
  cursor: pointer;
  color: var(--ops-command-dark);
  font-size: 1rem;
  font-weight: 950;
}

.ops-system-context-body {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.ops-system-context h2 {
  margin: 0 0 10px;
  color: var(--ops-ink);
  font-family: var(--interface-font);
  font-size: 1.08rem;
  font-weight: 950;
}

.ops-system-context p {
  color: var(--ops-text-muted);
  line-height: 1.45;
}

.ops-action-boundary {
  border-color: #b99744;
  background: #fff8e6;
}

.ops-action-boundary-list {
  display: grid;
  gap: 8px;
}

.ops-action-boundary-list p {
  margin: 0;
  color: #4d3920;
  font-weight: 850;
  line-height: 1.45;
}

.ops-operator-core,
.ops-strategic-escalations {
  margin-top: 18px;
}

.ops-operator-lane-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ops-operator-lane,
.ops-strategic-card,
.ops-human-action-safety article {
  border: 1px solid var(--ops-line);
  background: var(--ops-panel);
  padding: 13px;
}

.ops-operator-lane div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.ops-operator-lane span,
.ops-human-action-safety span {
  color: var(--ops-text-muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ops-operator-lane strong {
  color: var(--ops-command-dark);
  font-size: 1.35rem;
}

.ops-operator-lane p,
.ops-strategic-card p,
.ops-human-action-safety p {
  margin: 0;
  color: var(--ops-text-muted);
  line-height: 1.45;
}

.ops-operator-lane p + p,
.ops-strategic-card p + p {
  margin-top: 8px;
}

.ops-operator-lane a {
  color: var(--ops-command-dark);
  font-weight: 900;
  text-decoration: none;
}

.ops-operator-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.ops-operator-mini {
  display: grid;
  gap: 5px;
  min-height: 58px;
  border: 1px solid var(--ops-line);
  background: #fffdf7;
  color: var(--ops-ink);
  padding: 9px;
  text-decoration: none;
}

.ops-operator-mini span {
  color: var(--ops-text-muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-operator-mini strong {
  color: var(--ops-command-dark);
  font-size: 1.15rem;
}

.ops-strategic-card {
  display: grid;
  gap: 8px;
}

.ops-strategic-card h3 {
  margin: 0;
  color: var(--ops-ink);
  font-size: 1rem;
}

.ops-strategic-card summary {
  cursor: pointer;
  color: var(--ops-command-dark);
  font-weight: 950;
}

.ops-human-action-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.ops-human-queue-list,
.ops-human-proof-list,
.ops-human-branches,
.ops-human-checklist {
  display: grid;
  gap: 10px;
}

.ops-human-queue-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  border: 1px solid var(--ops-line);
  border-left: 4px solid var(--ops-line-strong);
  background: var(--ops-panel);
  color: var(--ops-ink);
  padding: 13px;
  text-decoration: none;
}

.ops-human-queue-row.active {
  border-color: var(--ops-command-dark);
  background: #eef4eb;
}

.ops-human-queue-row strong,
.ops-human-queue-row small,
.ops-human-queue-row em {
  display: block;
}

.ops-human-queue-row strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.ops-human-queue-row small {
  margin-top: 5px;
  color: var(--ops-text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
}

.ops-human-queue-row em {
  color: var(--ops-command-dark);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.ops-human-action-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 1px;
  margin-bottom: 14px;
  border: 1px solid var(--ops-line);
  background: var(--ops-line);
}

.ops-human-action-meta span {
  display: grid;
  gap: 7px;
  min-height: 72px;
  background: var(--ops-panel);
  color: var(--ops-ink);
  font-size: 0.86rem;
  font-weight: 900;
  overflow-wrap: anywhere;
  padding: 11px;
}

.ops-human-action-meta strong {
  color: var(--ops-text-muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-human-action-safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ops-human-action-safety article {
  display: grid;
  gap: 7px;
}

.ops-human-action-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ops-human-action-controls form {
  margin: 0;
}

.ops-action-primary,
.ops-human-proof-form button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: var(--ops-command-dark);
  color: #fffdf7;
  cursor: pointer;
  font-weight: 950;
  padding: 11px 15px;
}

.ops-action-primary:disabled,
.ops-human-proof-form button:disabled {
  background: #cfd8cd;
  color: #506053;
  cursor: default;
}

.ops-human-action-controls span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--ops-line);
  background: var(--ops-panel);
  color: var(--ops-text-muted);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 8px 10px;
}

.ops-human-action-controls code {
  color: var(--ops-command-dark);
  font-size: 0.82rem;
}

.ops-action-control-warning {
  border-color: #d6b766 !important;
  background: #fff8e6 !important;
  color: #5d4316 !important;
}

.ops-human-target-table {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.ops-human-target-table article,
.ops-human-branches article,
.ops-human-proof-list article,
.ops-human-script {
  border: 1px solid var(--ops-line);
  background: #fffefa;
  padding: 13px;
}

.ops-human-target-table article {
  display: grid;
  gap: 7px;
}

.ops-human-target-table div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.ops-human-target-table strong,
.ops-human-proof-list strong,
.ops-human-branches strong {
  color: var(--ops-ink);
}

.ops-human-target-table span,
.ops-human-target-table p,
.ops-human-proof-list p,
.ops-human-branches p,
.ops-human-script p {
  margin: 0;
  color: var(--ops-text-muted);
  line-height: 1.45;
}

.ops-human-target-table summary {
  cursor: pointer;
  color: var(--ops-command-dark);
  font-weight: 950;
}

.ops-human-target-table a {
  color: var(--ops-command-dark);
  font-weight: 900;
}

.ops-human-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.ops-human-split section {
  border: 1px solid var(--ops-line);
  background: var(--ops-panel);
  padding: 14px;
}

.ops-human-split h3,
.ops-human-script h3,
.ops-human-proof-history h3 {
  margin: 0 0 10px;
  color: var(--ops-ink);
  font-size: 1rem;
}

.ops-human-checklist {
  margin: 0;
  padding-left: 20px;
}

.ops-human-checklist li {
  color: var(--ops-text-muted);
  line-height: 1.45;
}

.ops-human-script {
  margin-top: 14px;
}

.ops-human-branches {
  margin-top: 12px;
}

.ops-human-branches span {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  margin-top: 8px;
  border: 1px solid #c3d0be;
  border-radius: 6px;
  background: #eef4eb;
  color: var(--ops-command-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 950;
  overflow-wrap: anywhere;
  padding: 6px 8px;
}

.ops-human-actions .ops-runbook-details {
  border-color: #d9d4c5;
}

.ops-human-actions .ops-runbook-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.ops-human-actions .ops-runbook-details summary::-webkit-details-marker {
  display: none;
}

.ops-human-actions .ops-runbook-details summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.ops-human-actions .ops-runbook-details[open] summary::before {
  transform: rotate(45deg) translateY(-2px);
}

.ops-human-proof {
  margin-top: 18px;
  border-top: 1px solid var(--ops-line);
  padding-top: 18px;
}

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

.ops-human-proof-form label {
  display: grid;
  gap: 6px;
  color: var(--ops-text-muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-human-proof-form input,
.ops-human-proof-form select,
.ops-human-proof-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--ops-line);
  background: #fffdf7;
  color: var(--ops-ink);
  font: inherit;
  letter-spacing: 0;
  padding: 9px 10px;
}

.ops-human-proof-form textarea {
  min-height: 104px;
  resize: vertical;
}

.ops-human-form-wide {
  grid-column: 1 / -1;
}

.ops-human-proof-form button {
  justify-self: start;
}

.ops-human-proof-history {
  margin-top: 18px;
}

.ops-human-proof-list article {
  display: grid;
  gap: 6px;
}

@media (max-width: 980px) {
  .ops-action-command,
  .ops-action-page-grid,
  .ops-action-now-grid,
  .ops-operator-lane-grid,
  .ops-operator-mini-grid,
  .ops-human-action-layout,
  .ops-human-action-meta,
  .ops-human-action-safety,
  .ops-human-split {
    grid-template-columns: 1fr;
  }

  .ops-action-page-grid .ops-human-queue {
    position: static;
  }
}

@media (max-width: 620px) {
  .ops-human-task-first {
    width: min(100% - 20px, 1220px);
  }

  .ops-action-command,
  .ops-action-task-block,
  .ops-human-task-first .ops-human-proof {
    padding: 14px;
  }

  .ops-action-command-main h1 {
    font-size: clamp(1.5rem, 7vw, 1.95rem);
  }

  .ops-action-target-top,
  .ops-action-call-line {
    display: grid;
    justify-content: stretch;
  }

  .ops-action-utility-links a {
    flex: 1 1 auto;
    text-align: center;
  }

  .ops-human-proof-form {
    grid-template-columns: 1fr;
  }

  .ops-human-queue-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .local-demand-service-hero,
  .local-demand-buyer-flow,
  .local-demand-grid,
  .local-demand-content,
  .local-demand-form {
    grid-template-columns: 1fr;
  }

  .local-demand-hero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .local-demand-header {
    align-items: flex-start;
  }

  .local-demand-header-actions span {
    display: none;
  }

  .local-demand-header-actions a {
    min-height: 38px;
    padding: 0 12px;
  }

  .local-demand-visual {
    min-height: 300px;
  }

  .ops-textnow-review-form {
    grid-template-columns: 1fr;
  }

  .ops-textnow-review-notes {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .local-demand-page {
    width: min(100% - 28px, 1120px);
  }

  .local-demand-header {
    padding: 12px 14px;
  }

  .local-demand-brand small {
    display: none;
  }

  .local-demand-header-actions a {
    display: none;
  }

  .local-demand-content {
    padding-bottom: 96px;
  }

  .local-demand-mobile-call {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .local-demand-mobile-call[data-visible="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .local-demand-mobile-call a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 8px;
    background: var(--ld-accent-dark);
    color: #fffdf8;
    font-size: 15px;
    font-weight: 880;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(21, 33, 31, 0.22);
  }
}
