:root {
  --ink: #172033;
  --muted: #667085;
  --line: #d0d7e2;
  --paper: #ffffff;
  --wash: #f4f7f9;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --green: #16803c;
  --amber: #a86100;
  --red: #b42318;
  --black: #101828;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  max-width: calc(100vw - 20px);
  transform: translateY(-160%);
  padding: 10px 14px;
  color: white;
  background: var(--black);
  border-radius: 6px;
  font-weight: 800;
  overflow-wrap: anywhere;
  white-space: normal;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: static;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--teal);
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #e8eef2;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
}

.tab {
  min-height: 36px;
  padding: 0 14px;
  color: #3d4b5f;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.tab.is-active {
  color: var(--black);
  background: white;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.14);
}

.view {
  display: none;
}

.view.is-visible {
  display: block;
}

.staff-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(16, 24, 40, 0.66);
}

.staff-login-dialog {
  width: min(100%, 430px);
  padding: 28px;
  background: white;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.28);
}

.staff-login-dialog code {
  font-size: 0.92em;
}

.staff-login-dialog form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.staff-login-status {
  min-height: 24px;
  margin: 0;
  color: #9b2c2c;
  font-weight: 650;
}

.staff-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #d9e2e1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 42, 39, 0.96) 0%, rgba(9, 42, 39, 0.9) 37%, rgba(9, 42, 39, 0.34) 70%, rgba(9, 42, 39, 0.06) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.22));
}

.hero-content {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 864px;
  margin: 0;
  padding: 78px clamp(20px, 7vw, 92px);
}

.hero-content > * {
  min-width: 0;
  max-width: 100%;
}

.hero-content .eyebrow {
  color: #9fe1d8;
}

.hero-content h1 {
  color: #fff;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 14px;
  color: #e8f1ef;
  font-size: 20px;
}

.hero-disclosure {
  max-width: 620px;
  margin: 0 0 28px;
  padding-left: 12px;
  border-left: 3px solid #d89c2b;
  color: #f3f6f5;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-content .secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.hero-content .secondary:hover,
.hero-content .secondary:focus-visible {
  color: var(--teal-dark);
  background: #fff;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  color: #eaf4f2;
  list-style: none;
}

.hero-trust li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 750;
}

.hero-trust li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #9fe1d8;
  font-weight: 900;
}

.hero-actions,
.form-actions,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-band {
  color: #eaf4f2;
  background: #152b2a;
  border-top: 1px solid #294b48;
  border-bottom: 1px solid #294b48;
}

.process-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.65fr);
  gap: clamp(28px, 6vw, 82px);
  width: 100%;
  min-width: 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: 34px 20px;
}

.process-heading h2 {
  max-width: 410px;
  color: #fff;
  font-size: 24px;
}

.process-heading .eyebrow {
  color: #91d5cb;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #15312f;
  background: #a6e1d8;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 840;
}

.process-list strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.owner-help-band {
  border-bottom: 1px solid #bad6d1;
  background: #eaf6f2;
}

.owner-help-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  width: 100%;
  min-width: 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: 30px 20px;
  align-items: center;
}

.owner-help-inner h2 {
  margin: 4px 0 8px;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
}

.owner-help-inner p {
  max-width: 740px;
}

.owner-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.owner-help-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
}

.owner-help-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #c8ded9;
  color: #334155;
  font-size: 14px;
}

.sce-checker {
  width: 100%;
  color: #17233a;
  background: #edf5f4;
  border-bottom: 1px solid #c8dcd8;
}

.sce-checker-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 20px;
}

.sce-intro,
.sce-form,
.sce-form fieldset {
  min-width: 0;
}

.sce-intro h2 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  text-wrap: balance;
}

.sce-intro > p:not(.eyebrow) {
  max-width: 650px;
  color: #405066;
  font-size: 18px;
}

.sce-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 24px;
  padding: 22px 0;
  border-top: 1px solid #b6ceca;
  border-bottom: 1px solid #b6ceca;
}

.sce-amounts strong,
.sce-amounts span {
  display: block;
}

.sce-amounts strong {
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 25px;
}

.sce-amounts span {
  color: #4b586b;
  font-size: 13px;
  line-height: 1.45;
}

.sce-form {
  padding: 26px;
  background: #fff;
  border: 1px solid #b6ceca;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 55, 52, 0.1);
}

.sce-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.sce-form legend {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 850;
}

.sce-form label {
  margin-top: 8px;
  color: #27364c;
  font-size: 14px;
  font-weight: 760;
}

.sce-form select {
  width: 100%;
}

.sce-result {
  margin-top: 20px;
  padding: 16px;
  color: #153c38;
  background: #e5f4f1;
  border-left: 4px solid var(--teal);
  font-weight: 760;
  line-height: 1.5;
}

.sce-disclaimer {
  margin: 16px 0 0;
  color: #5a6678;
  font-size: 12px;
  line-height: 1.55;
}

.process-list p {
  margin: 0;
  color: #bfd2cf;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 740;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  background: white;
  border-color: #bad8d3;
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button.danger {
  color: var(--red);
}

.workspace {
  width: 100%;
  min-width: 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: 34px 20px 48px;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.panel,
.script-card,
.contractor-card,
.metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.form-panel,
.score-panel {
  padding: 22px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-copy {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--muted);
}

.request-safety-note {
  display: grid;
  gap: 3px;
  margin: 0 0 18px;
  padding: 13px 14px;
  color: #563610;
  background: #fff8e8;
  border-left: 4px solid #c37a00;
}

.request-safety-note span,
.form-support {
  font-size: 13px;
}

.form-support {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.form-support a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

.conditional-panel {
  margin: 18px 0;
  padding: 18px;
  background: #f4f8f7;
  border: 1px solid #b9d6d0;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

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

.compact-heading h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.compact-checklist {
  margin-bottom: 0;
  background: #fff;
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label,
legend {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bcc7d4;
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 4px solid #f59e0b;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 7px #7c2d12;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: #7c2d12;
}

.skip-link:focus-visible {
  transform: translateY(0);
  color: #ffffff;
  background: #101828;
}

.form-help,
.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.required-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  color: #7a2e0e;
  background: #fff4df;
  border: 1px solid #f5c872;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 820;
  vertical-align: middle;
}

.form-status {
  min-height: 28px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.form-status.is-error {
  color: var(--red);
}

.form-status.is-success {
  color: var(--green);
}

.alert {
  margin: 16px 0;
  padding: 12px 14px;
  color: #7a2e0e;
  background: #fff4df;
  border: 1px solid #f5c872;
  border-radius: 6px;
  font-weight: 680;
}

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

.alert strong {
  margin-bottom: 4px;
}

.sce-source-note {
  margin: 10px 0 0;
  color: #43576b;
  font-size: 13px;
}

.hidden {
  display: none;
}

.checklist-field {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px 14px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checklist-field legend {
  padding: 0 8px;
  color: var(--black);
  font-size: 14px;
}

.checklist-field label,
.consent-box label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 32px;
  padding: 4px 2px;
  font-weight: 650;
  cursor: pointer;
}

.checklist-field input,
.consent-box input {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  margin: 0;
  accent-color: var(--teal);
}

.checklist-field label:focus-within,
.consent-box label:focus-within {
  outline: 4px solid #f59e0b;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 7px #7c2d12;
  border-radius: 4px;
}

.consent-box {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notice-at-collection {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #edf8f6;
  border: 1px solid #9accc4;
  border-radius: 8px;
}

.notice-at-collection h3,
.notice-at-collection p {
  margin-top: 0;
}

.notice-at-collection p {
  margin-bottom: 0;
  color: #27514d;
}

.score-panel {
  position: sticky;
  top: 90px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin: 8px auto 22px;
  color: var(--teal-dark);
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(var(--teal) var(--score-progress, 0deg), #dbe5ea 0deg);
  border-radius: 50%;
}

.score-ring span {
  font-size: 54px;
  font-weight: 820;
  line-height: 1;
}

.score-ring small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.score-list {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.score-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e4eaf0;
}

.score-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
}

.score-list dd {
  margin: 0;
  text-align: right;
  font-weight: 780;
}

.mini-panel {
  padding: 14px;
  background: #edf8f6;
  border: 1px solid #b9dbd5;
  border-radius: 8px;
}

.mini-panel p {
  margin-bottom: 0;
  color: #27514d;
}

.consumer-checklist {
  margin-top: 12px;
}

.consumer-checklist ul {
  padding-left: 20px;
  color: #27514d;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.growth-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.growth-toolbar label {
  width: min(240px, 100%);
}

.input-prefix {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  background: #fff;
  border: 1px solid #bcc7d4;
  border-radius: 6px;
}

.input-prefix:focus-within {
  outline: 3px solid rgba(15, 118, 110, 0.38);
  outline-offset: 2px;
  border-color: var(--teal);
}

.input-prefix > span {
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.input-prefix input {
  border: 0;
  border-left: 1px solid #d5dde5;
  border-radius: 0 6px 6px 0;
}

.input-prefix input:focus {
  outline: 0;
}

.growth-metrics,
.growth-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

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

.bot-job-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.bot-job-list > div:last-child {
  border-bottom: 0;
}

.bot-job-list p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.privacy-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  color: #344054;
  background: #f6f8fa;
  border-left: 4px solid var(--teal);
}

.growth-metric,
.growth-card,
.growth-band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.growth-metric {
  padding: 16px;
}

.growth-metric span,
.growth-metric small {
  display: block;
}

.growth-metric span {
  font-size: 25px;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.growth-metric small {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 720;
}

.growth-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
}

.growth-band.is-blocked {
  background: #fff8eb;
  border-left-color: #c77800;
}

.growth-band h2,
.growth-card h2 {
  margin: 0;
  font-size: 18px;
}

.growth-card {
  margin-bottom: 14px;
  padding: 18px;
}

.growth-card-grid .growth-card {
  margin-bottom: 0;
}

.growth-card-grid:has(.ad-draft) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.growth-card ul,
.growth-card ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.growth-card p:last-child {
  margin-bottom: 0;
}

.approval-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #61420c;
  background: #fff0c7;
  border: 1px solid #e7bd56;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.ad-draft .approval-chip {
  margin-top: 8px;
}

.growth-table th,
.growth-table td {
  min-width: 105px;
}

.metric {
  padding: 18px;
}

.metric span {
  display: block;
  font-size: 34px;
  font-weight: 840;
  line-height: 1;
}

.metric small {
  color: var(--muted);
  font-weight: 760;
}

.toolbar {
  align-items: center;
  margin-bottom: 14px;
}

.storage-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #344054;
  background: #eef2f6;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.storage-status.is-connected {
  color: #075e45;
  background: #dcfae6;
  border-color: #a6f4c5;
}

.storage-status.is-local {
  color: #694100;
  background: #fff4d6;
  border-color: #f3c969;
}

.storage-status.is-warning {
  color: #7a2e0e;
  background: #fff4df;
  border-color: #f5c872;
}

.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #e5ebf0;
  vertical-align: top;
}

th {
  color: white;
  background: var(--black);
  font-size: 13px;
}

td {
  font-size: 14px;
}

.empty-state {
  color: var(--muted);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 790;
}

.badge.hot,
.badge.weak {
  color: #7a271a;
  background: #ffebe7;
}

.badge.warm,
.badge.b {
  color: #694100;
  background: #fff4d6;
}

.badge.cold,
.badge.a {
  color: #075e45;
  background: #dcfae6;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #24364f;
  background: #edf2f7;
  border: 1px solid #d7e0ea;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 6px;
  margin: 8px 0 6px;
}

.row-actions button {
  min-height: 30px;
  padding: 0 8px;
  color: #344054;
  background: white;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.row-actions button:hover {
  color: var(--teal-dark);
  border-color: #94c9c0;
}

.row-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

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

.contractor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.contractor-intake {
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contractor-intake summary {
  padding: 14px 2px;
  color: var(--teal-dark);
  font-weight: 800;
  cursor: pointer;
}

.contractor-create-form,
.onboarding-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 0 18px;
}

.contractor-create-form label,
.onboarding-form label,
.evidence-form label,
.retention-confirmation {
  display: grid;
  align-content: start;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 760;
}

.contractor-create-form .button,
.onboarding-form .button {
  grid-column: 1 / -1;
  justify-self: start;
}

.prescreen-summary {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

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

.contractor-card,
.script-card {
  padding: 18px;
}

.contractor-card h2,
.script-card h2 {
  margin-bottom: 6px;
  font-size: 18px;
}

.contractor-card dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.support-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.contractor-card div {
  display: grid;
  gap: 2px;
}

.contractor-card dt,
.support-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contractor-card dd,
.support-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.cslb-link {
  margin-top: 16px;
}

.prescreen-panel {
  margin-top: 16px;
  padding: 14px;
  background: #f6f8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.prescreen-heading,
.prescreen-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.prescreen-heading {
  justify-content: space-between;
}

.prescreen-checks {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: #344054;
  font-size: 13px;
}

.prescreen-checks .check-warn,
.prescreen-checks .check-block {
  color: #7a2e0e;
}

.prescreen-actions .button {
  margin-top: 12px;
}

.verification-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.verification-form label:nth-last-of-type(1),
.verification-form .button {
  grid-column: 1 / -1;
}

.verification-form .button {
  justify-self: start;
}

.onboarding-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.form-section-heading,
.onboarding-form .onboarding-summary,
.onboarding-form .check-line,
.onboarding-form label:last-of-type {
  grid-column: 1 / -1;
}

.form-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.form-section-heading h3 {
  margin: 0;
  font-size: 16px;
}

.onboarding-summary {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.check-line {
  display: flex !important;
  align-items: flex-start !important;
  grid-template-columns: none !important;
  gap: 9px !important;
}

.check-line input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 0;
}

.launch-metrics {
  margin-bottom: 14px;
}

.launch-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.launch-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.launch-block h2 {
  margin: 0;
  font-size: 22px;
}

.launch-gate-list,
.evidence-list {
  display: grid;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.launch-gate {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.4fr) auto;
  align-items: start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.launch-gate strong {
  color: #1d2939;
}

.launch-gate p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.launch-gate .badge,
.evidence-heading .badge {
  justify-self: end;
}

.evidence-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.evidence-heading h3 {
  margin: 0;
  font-size: 16px;
}

.evidence-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.evidence-form {
  display: grid;
  grid-template-columns: 150px 170px minmax(180px, 1fr) minmax(220px, 1.5fr);
  gap: 10px;
  margin-top: 12px;
}

.evidence-form .evidence-notes,
.evidence-form .button {
  grid-column: 1 / -1;
}

.evidence-form .button {
  justify-self: start;
}

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

#audit-status,
#retention-summary {
  color: #344054;
  line-height: 1.55;
}

#retention-summary ul {
  margin: 8px 0 14px;
  padding-left: 20px;
}

.retention-confirmation {
  margin: 14px 0 10px;
}

.site-footer {
  padding: 30px 28px;
  color: #d8e3e2;
  background: #152b2a;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px 36px;
  width: min(1380px, 100%);
  margin: 0 auto;
}

.footer-inner strong {
  color: #fff;
  font-size: 15px;
}

.footer-inner p {
  max-width: 720px;
  margin: 5px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-content: start;
  justify-content: flex-end;
}

.site-footer a {
  color: #b8ebe4;
  font-weight: 760;
}

.footer-fine-print {
  grid-column: 1 / -1;
  padding-top: 16px;
  color: #aabfbc;
  border-top: 1px solid #35504e;
}

@media (max-width: 1080px) {
  .request-grid {
    grid-template-columns: 1fr;
  }

  .score-panel {
    position: static;
  }

  .form-grid,
  .checklist-field,
  .script-grid,
  .growth-metrics,
  .growth-card-grid,
  .growth-card-grid:has(.ad-draft) {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .process-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 760px) {
  main,
  .view,
  .topbar > *,
  .hero,
  .hero-content,
  .process-band,
  .process-inner,
  .owner-help-band,
  .owner-help-inner,
  .workspace,
  .site-footer,
  .footer-inner {
    min-width: 0;
    max-width: 100%;
  }

  .owner-help-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 14px;
  }

  .owner-help-actions {
    justify-content: flex-start;
  }

  .owner-help-boundary {
    grid-column: auto;
  }

  .topbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px;
    backdrop-filter: none;
  }

  .brand {
    max-width: 100%;
    white-space: normal;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .tab {
    min-width: 0;
    padding: 0 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .staff-access {
    width: 100%;
  }

  .hero {
    min-height: clamp(520px, calc(100svh - 118px), 620px);
    align-items: flex-end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 38, 36, 0.14) 0%, rgba(8, 38, 36, 0.84) 47%, rgba(8, 38, 36, 0.98) 100%);
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 16px 44px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-trust {
    gap: 8px 16px;
  }

  .sce-checker-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 14px;
  }

  .sce-intro h2 {
    font-size: 34px;
  }

  .sce-amounts {
    grid-template-columns: 1fr;
  }

  .sce-form {
    padding: 20px 16px;
  }

  .workspace {
    width: 100%;
    max-width: 1380px;
    padding: 24px 12px 48px;
  }

  .request-grid,
  .request-grid > *,
  .form-panel,
  .form-grid,
  .form-grid > *,
  .conditional-panel,
  .conditional-grid,
  .conditional-grid > *,
  .checklist-field,
  .checklist-field > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .form-panel,
  .score-panel {
    padding-right: 14px;
    padding-left: 14px;
  }

  input,
  select,
  textarea,
  button {
    min-width: 0;
    max-width: 100%;
  }

  .form-grid,
  .checklist-field,
  .contractor-grid,
  .script-grid,
  .metric-grid,
  .growth-metrics,
  .growth-card-grid,
  .growth-card-grid:has(.ad-draft) {
    grid-template-columns: 1fr;
  }

  .process-inner {
    width: 100%;
    padding: 28px 14px;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-list li {
    grid-template-columns: 30px minmax(0, 1fr);
    min-width: 0;
  }

  .process-heading,
  .process-list li > div,
  .conditional-panel .section-heading,
  .footer-inner > *,
  .footer-links {
    min-width: 0;
    max-width: 100%;
  }

  .process-heading h2,
  .process-list strong,
  .process-list p,
  .conditional-panel h3,
  .conditional-panel p,
  .site-footer p,
  .site-footer a,
  .pilot-banner {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .conditional-panel {
    padding: 16px 14px;
  }

  .site-footer {
    width: 100%;
    padding: 26px 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .growth-toolbar > *,
  .growth-toolbar label {
    width: 100%;
  }

  .growth-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contractor-create-form,
  .onboarding-form,
  .evidence-form,
  .launch-operations {
    grid-template-columns: 1fr;
  }

  .launch-gate {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .launch-gate .badge,
  .evidence-heading .badge {
    justify-self: start;
  }

  .launch-block-heading,
  .evidence-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .verification-form label:nth-last-of-type(1),
  .verification-form .button,
  .contractor-create-form .button,
  .form-section-heading,
  .onboarding-form .onboarding-summary,
  .onboarding-form .check-line,
  .onboarding-form label:last-of-type,
  .onboarding-form .button,
  .evidence-form .evidence-notes,
  .evidence-form .button {
    grid-column: auto;
  }
}

@media (max-width: 320px) {
  .topbar {
    gap: 8px;
    padding: 8px;
  }

  .brand {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    font-size: 14px;
    line-height: 1.25;
  }

  .brand > span:last-child,
  .button,
  .tab,
  .staff-access {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .owner-help-inner {
    padding-right: 8px;
    padding-left: 8px;
  }

  .owner-help-inner > div,
  .owner-help-actions,
  .owner-help-actions .button,
  .owner-help-actions .text-link {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .owner-help-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .owner-help-actions .text-link {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .tabs {
    grid-template-columns: 1fr;
  }

  .tab,
  .staff-access {
    min-height: 44px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    padding: 36px 8px 32px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.06;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-disclosure {
    padding-left: 9px;
    font-size: 14px;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .sce-checker-inner {
    padding: 32px 8px;
  }

  .sce-intro h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .sce-intro > p:not(.eyebrow) {
    font-size: 16px;
  }

  .sce-form {
    padding: 16px 10px;
  }

  .hero-actions,
  .form-actions,
  .staff-login-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .form-actions .button,
  .staff-login-actions .button {
    width: 100%;
  }

  .process-inner {
    padding: 24px 8px;
  }

  .process-heading h2 {
    font-size: 20px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workspace {
    width: 100%;
    padding-right: 6px;
    padding-left: 6px;
  }

  .form-panel,
  .score-panel {
    padding-right: 9px;
    padding-left: 9px;
  }

  .conditional-panel,
  .checklist-field,
  .consent-box {
    padding-right: 9px;
    padding-left: 9px;
  }

  .score-ring {
    width: 150px;
    max-width: 100%;
    height: 150px;
  }

  .score-ring span {
    font-size: 44px;
  }

  .score-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .score-list dd {
    text-align: left;
  }

  .site-footer {
    padding: 24px 10px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pilot-banner {
    padding: 10px 8px;
    font-size: 13px;
  }
}

@media (max-width: 240px) {
  .topbar {
    padding: 6px;
  }

  .brand {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
    font-size: 13px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .tabs {
    padding: 3px;
  }

  .tab,
  .staff-access {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 13px;
  }

  .hero-content {
    padding: 28px 6px;
  }

  h1 {
    font-size: 24px;
    line-height: 1.08;
  }

  h2,
  .process-heading h2 {
    font-size: 19px;
  }

  .hero-copy,
  .conditional-panel h3 {
    font-size: 15px;
  }

  .hero-disclosure,
  .process-list p,
  .sce-disclaimer,
  .site-footer,
  .pilot-banner {
    font-size: 12px;
  }

  .process-inner,
  .workspace {
    padding-right: 4px;
    padding-left: 4px;
  }

  .form-panel,
  .score-panel,
  .conditional-panel,
  .checklist-field,
  .consent-box {
    padding-right: 7px;
    padding-left: 7px;
  }

  .button {
    padding-right: 10px;
    padding-left: 10px;
  }

  .score-ring {
    width: 132px;
    height: 132px;
  }

  .score-ring span {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
.pilot-banner {
  width: 100%;
  min-width: 0;
  padding: 12px 24px;
  max-width: 100%;
  background: #fff4cc;
  border-bottom: 2px solid #b36b00;
  color: #352100;
  text-align: center;
  font-weight: 600;
}

.pilot-banner[hidden] { display: none; }

@media (max-width: 320px) {
  .pilot-banner {
    padding: 10px 8px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
}
