:root {
  --black: #08090b;
  --soft-black: #101114;
  --graphite: #191b1f;
  --carbon: #2b2d32;
  --ice: #f3f6fb;
  --cool-white: #f8faff;
  --silver-light: #c8d1de;
  --silver-surface: #e2e8f1;
  --silver-edge: #aeb9c8;
  --steel: #aab4c2;
  --smoke: #8b8d91;
  --mercury: #d8dde6;
  --fisher-blue: #01a9fa;
  --success: #16a34a;
  --success-strong: #059669;
  --success-soft: #dcfce7;
  --color-primary: #01a9fa;
  --color-primary-strong: #01a9fa;
  --color-on-primary: #ffffff;
  --color-accent: #059669;
  --color-background: #eef3fa;
  --color-surface: #f8faff;
  --color-muted: #f3f6fb;
  --color-muted-strong: #e2e8f1;
  --color-border: #c8d1de;
  --color-foreground: #08090b;
  --color-subtle: #191b1f;
  --color-danger: #dc2626;
  --shadow-panel: 0 10px 25px rgba(8, 9, 11, 0.075);
  --radius: 8px;
  --sidebar-width: 300px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(1, 169, 250, 0.42);
  outline-offset: 2px;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border-right: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 92% 10%, rgba(1, 169, 250, 0.22), transparent 28%),
    radial-gradient(circle at 14% 58%, rgba(1, 169, 250, 0.12), transparent 32%),
    linear-gradient(180deg, #08090b 0%, #101114 54%, #08090b 100%);
  color: var(--cool-white);
  box-shadow: inset -1px 0 0 rgba(1, 169, 250, 0.16);
}

.brand-block {
  display: grid;
  gap: 10px;
  min-height: 92px;
}

.brand-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  margin-left: -16px;
}

.eyebrow {
  margin: 0 0 3px;
  color: inherit;
  opacity: 0.72;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  color: var(--cool-white);
  font-size: 1rem;
  line-height: 1.2;
}

h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

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

.nav-item,
.primary-button,
.secondary-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.nav-item {
  justify-content: flex-start;
  width: 100%;
  padding: 10px 12px;
  border-color: rgba(200, 209, 222, 0.52);
  background: linear-gradient(180deg, #ffffff 0%, var(--silver-surface) 100%);
  color: #08090b;
  text-align: left;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.nav-item:hover,
.nav-item.is-active {
  border-color: rgba(1, 169, 250, 0.66);
  background: linear-gradient(180deg, #eaf7ff 0%, #c8d1de 100%);
  color: #08090b;
}

.nav-item.is-active {
  box-shadow: inset 4px 0 0 var(--fisher-blue), 0 8px 18px rgba(1, 169, 250, 0.18);
}

.nav-item svg {
  color: var(--fisher-blue);
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.saved-panel {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.panel-heading,
.section-heading,
.topbar,
.button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.button-row {
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 0;
}

.panel-heading h2 {
  color: var(--cool-white);
  font-size: 0.9rem;
}

.icon-button {
  width: 44px;
  padding: 0;
  border-color: rgba(200, 209, 222, 0.52);
  background: linear-gradient(180deg, #ffffff 0%, var(--silver-surface) 100%);
  color: var(--fisher-blue);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.icon-button:hover {
  border-color: rgba(1, 169, 250, 0.66);
  background: linear-gradient(180deg, #eaf7ff 0%, #c8d1de 100%);
  color: var(--fisher-blue);
}

.saved-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.saved-item {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: var(--radius);
  background: rgba(25, 27, 31, 0.7);
  color: #d8dde6;
  text-align: left;
}

.saved-item:hover,
.saved-item.is-active {
  border-color: rgba(1, 169, 250, 0.55);
  background: #191b1f;
}

.saved-item strong,
.saved-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-item span {
  color: #aab4c2;
  font-size: 0.8rem;
}

.workspace {
  min-width: 0;
  padding: 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  margin: -18px -18px 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(12px);
}

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

.topbar-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.topbar-logo {
  display: none;
  width: 210px;
  max-width: 58vw;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: var(--black);
}

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

.primary-button,
.secondary-button {
  max-width: 100%;
  padding: 9px 12px;
  font-weight: 700;
  justify-content: flex-start;
  text-align: left;
  white-space: nowrap;
}

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

.primary-button:hover {
  background: var(--cool-white);
  color: var(--fisher-blue);
}

.secondary-button {
  border-color: var(--color-border);
  background: var(--cool-white);
  color: var(--color-foreground);
}

.secondary-button:hover {
  border-color: rgba(1, 169, 250, 0.48);
  background: rgba(1, 169, 250, 0.08);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.url-launch-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(360px, 1fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(1, 169, 250, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 12%, rgba(1, 169, 250, 0.22), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(1, 169, 250, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 255, 0.82) 36%, rgba(226, 232, 241, 0.95) 100%),
    var(--silver-surface);
  box-shadow: 0 14px 32px rgba(8, 9, 11, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.url-launch-panel .eyebrow {
  color: var(--color-primary);
}

.url-launch-panel h3 {
  max-width: 520px;
  font-size: 1.15rem;
}

.url-analyzer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.url-input-label {
  font-size: 0.82rem;
}

.analysis-summary {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid rgba(1, 169, 250, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-subtle);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.launch-board {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.phase-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.phase-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 78px;
  padding: 8px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-subtle);
  cursor: pointer;
  text-align: center;
}

.phase-step::before {
  content: "";
  position: absolute;
  top: 20px;
  right: calc(50% + 24px);
  left: -50%;
  height: 2px;
  background: var(--color-border);
}

.phase-step:first-child::before {
  display: none;
}

.phase-step span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--cool-white);
  color: var(--color-subtle);
  font-size: 0.78rem;
  font-weight: 900;
}

.phase-step strong {
  color: var(--color-foreground);
  font-size: 0.82rem;
}

.phase-step small {
  font-size: 0.72rem;
  font-weight: 700;
}

.phase-step.is-complete span,
.phase-step.is-active span {
  border-color: rgba(1, 169, 250, 0.48);
  background: rgba(1, 169, 250, 0.12);
  color: var(--color-primary);
}

.phase-step.is-complete::before,
.phase-step.is-active::before {
  background: rgba(1, 169, 250, 0.48);
}

.phase-step.is-active {
  background: rgba(1, 169, 250, 0.08);
}

.phase-step.is-complete span {
  border-color: rgba(1, 169, 250, 0.48);
  background: rgba(1, 169, 250, 0.12);
  color: var(--fisher-blue);
}

.phase-step.is-complete small {
  color: var(--fisher-blue);
}

.phase-step.is-pending span {
  border-color: rgba(248, 250, 255, 0.14);
  color: var(--smoke);
}

.phase-step:hover {
  background: rgba(248, 250, 255, 0.78);
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.62fr) minmax(280px, 0.7fr);
  gap: 16px;
}

.site-preview-card,
.overview-stack,
.support-card {
  min-width: 0;
}

.site-preview-card {
  overflow: hidden;
  border: 1px solid rgba(1, 169, 250, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 18%, rgba(1, 169, 250, 0.34), transparent 30%),
    radial-gradient(circle at 18% 80%, rgba(1, 169, 250, 0.14), transparent 32%),
    linear-gradient(110deg, rgba(8, 9, 11, 0.96) 0%, rgba(16, 17, 20, 0.92) 54%, rgba(1, 169, 250, 0.2) 100%),
    var(--black);
  color: var(--mercury);
  box-shadow: 0 16px 34px rgba(8, 9, 11, 0.12), inset 0 1px 0 rgba(114, 216, 255, 0.12);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(248, 250, 255, 0.14);
}

.preview-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--silver-edge);
  border-radius: var(--radius);
  background: var(--silver-surface);
  color: #08090b;
  font-weight: 900;
}

.preview-toolbar nav {
  display: flex;
  gap: 18px;
  color: var(--mercury);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-toolbar button {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--silver-edge);
  border-radius: var(--radius);
  background: var(--silver-surface);
  color: #08090b;
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-toolbar button:hover {
  border-color: rgba(1, 169, 250, 0.55);
  background: var(--ice);
  color: #08090b;
}

.preview-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-height: 245px;
  padding: 28px 24px 20px;
}

.preview-kicker {
  margin-bottom: 10px;
  color: var(--fisher-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-content h3 {
  max-width: 620px;
  margin-bottom: 12px;
  color: var(--cool-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.04;
}

.preview-content p {
  max-width: 560px;
  color: rgba(248, 250, 255, 0.68);
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.preview-actions span {
  padding: 7px 10px;
  border: 1px solid var(--silver-edge);
  border-radius: var(--radius);
  background: var(--silver-surface);
  color: #08090b;
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-status-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: end;
  gap: 9px;
}

.preview-status-stack div {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px 10px;
  padding: 10px;
  border: 1px solid var(--silver-edge);
  border-radius: var(--radius);
  background: var(--ice);
}

.preview-status-stack span,
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.preview-status-stack strong,
.preview-status-stack small {
  grid-column: 2;
}

.preview-status-stack strong {
  color: #08090b;
  font-size: 0.82rem;
}

.preview-status-stack small {
  color: #191b1f;
  font-size: 0.74rem;
  font-weight: 800;
}

.preview-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(248, 250, 255, 0.14);
  background: rgba(248, 250, 255, 0.08);
}

.preview-footer div {
  padding: 12px 14px;
  border-right: 1px solid rgba(248, 250, 255, 0.14);
  background: var(--silver-surface);
}

.preview-footer div:last-child {
  border-right: 0;
}

.preview-footer strong,
.preview-footer span {
  display: block;
}

.preview-footer strong {
  color: var(--fisher-blue);
}

.preview-footer span {
  color: #191b1f;
  font-size: 0.76rem;
  font-weight: 700;
}

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

.metric-card,
.support-card {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.metric-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 154px;
}

.metric-card .eyebrow,
.support-card .eyebrow {
  color: var(--color-subtle);
}

.metric-card small,
.support-card small {
  color: var(--color-subtle);
  font-weight: 700;
}

.ring-chart {
  --value: 0;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: conic-gradient(var(--success) calc(var(--value) * 1%), rgba(248, 250, 255, 0.14) 0);
}

.ring-chart::before {
  content: "";
  position: absolute;
}

.ring-chart span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--cool-white);
  color: #08090b;
  font-size: 1.3rem;
  font-weight: 900;
}

.mini-line {
  width: 100%;
  height: 80px;
  grid-column: 1 / -1;
}

.mini-line svg {
  width: 100%;
  height: 100%;
  stroke-width: 4;
}

.line-fill {
  fill: rgba(22, 163, 74, 0.13);
  stroke: none;
}

.line-stroke {
  fill: none;
  stroke: var(--success);
}

.support-card {
  min-height: 324px;
}

.status-rows {
  display: grid;
  gap: 12px;
}

.status-rows div {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: start;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--color-border);
}

.status-rows div:last-child {
  border-bottom: 0;
}

.status-rows strong {
  font-size: 0.88rem;
}

.status-rows small {
  grid-column: 3;
  color: var(--fisher-blue);
  text-align: right;
}

.dot.is-good {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.dot.is-warn {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
}

.span-8 {
  grid-column: span 8;
}

.span-4 {
  grid-column: span 4;
}

.panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.compact-panel {
  align-self: start;
  display: grid;
  gap: 14px;
}

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

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

.tab-panel[data-tab-panel="brief"] .panel.span-8 {
  border-color: rgba(1, 169, 250, 0.18);
  background:
    radial-gradient(circle at 92% 8%, rgba(1, 169, 250, 0.1), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f3f6fb 48%, #e2e8f1 100%);
}

.tab-panel[data-tab-panel="brief"] .form-grid label {
  padding: 10px;
  border: 1px solid rgba(200, 209, 222, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tab-panel[data-tab-panel="brief"] .form-grid label:nth-child(4n + 2),
.tab-panel[data-tab-panel="brief"] .form-grid label:nth-child(4n + 3) {
  background: rgba(243, 246, 251, 0.82);
}

.tab-panel[data-tab-panel="brief"] .form-grid label:focus-within {
  border-color: rgba(1, 169, 250, 0.54);
  background: #ffffff;
}

.span-2 {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 6px;
  color: var(--color-foreground);
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--cool-white);
  color: var(--color-foreground);
}

input,
select {
  padding: 9px 10px;
}

textarea {
  resize: vertical;
  padding: 10px;
  line-height: 1.45;
}

.field-meta {
  color: var(--color-subtle);
  font-size: 0.78rem;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border: 1px solid rgba(22, 163, 74, 0.4);
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--success-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.score-number {
  font-size: 2rem;
  line-height: 1;
}

.score-bar {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(248, 250, 255, 0.14);
}

.score-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--success-strong), var(--success));
  transition: width 220ms ease;
}

.score-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.score-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  font-size: 0.86rem;
}

.score-item .state {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 900;
}

.score-item.is-passed .state {
  background: #dcfce7;
  color: #166534;
}

.serp-preview {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--cool-white);
}

.serp-preview .eyebrow {
  color: var(--color-subtle);
}

.serp-preview h4 {
  margin-bottom: 2px;
  color: #1a0dab;
  font-size: 1.05rem;
}

.serp-url {
  margin-bottom: 5px;
  color: #047857;
  font-size: 0.86rem;
}

.competitor-insight {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(1, 169, 250, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(1, 169, 250, 0.12), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f3f6fb 58%, #e2e8f1 100%);
  box-shadow: var(--shadow-panel);
}

.competitor-insight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.competitor-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.competitor-comparison div {
  padding: 12px;
  border: 1px solid var(--silver-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.competitor-comparison span {
  display: block;
  color: var(--smoke);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.competitor-comparison strong {
  display: block;
  margin-top: 3px;
  color: #08090b;
  font-size: 1.5rem;
  line-height: 1;
}

.competitor-url {
  display: block;
  margin: 8px 0 4px;
  color: var(--fisher-blue);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.competitor-url:hover {
  text-decoration: underline;
}

.competitor-query {
  display: block;
  color: var(--color-subtle);
  font-weight: 700;
}

.competitor-reasons {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.competitor-reasons li {
  position: relative;
  padding-left: 24px;
  color: #191b1f;
  font-weight: 700;
}

.competitor-reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.prompt-output,
.report-preview {
  min-height: 640px;
  font-size: 0.9rem;
}

.prompt-output {
  font-family: Consolas, "Fira Code", monospace;
}

.checkbox-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

.checklist {
  display: grid;
  gap: 8px;
}

.tracker-help {
  margin: -4px 0 12px;
  color: var(--color-subtle);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.task-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
}

.task-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.task-row span {
  font-size: 0.9rem;
  font-weight: 700;
}

.task-row small {
  display: block;
  color: var(--color-subtle);
  font-size: 0.78rem;
  font-weight: 600;
}

.body-copy {
  color: var(--color-subtle);
}

.report-preview {
  margin: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--ice);
}

.report-preview .client-report {
  box-shadow: none;
}

.client-report {
  max-width: 100%;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--silver-light);
  border-radius: 8px;
  background: #f3f6fb;
  color: #08090b;
  line-height: 1.5;
}

.client-report-header {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--silver-light);
}

.client-report-header img {
  display: block;
  width: 210px;
  max-width: 40%;
  height: auto;
  padding: 0;
  border-radius: 8px;
  background: #08090b;
  object-fit: contain;
  margin-left: -13px;
}

.client-report-header div {
  min-width: 0;
}

.client-report-header p {
  margin: 0 0 6px;
  color: #01a9fa;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.client-report-header h1 {
  margin: 0 0 6px;
  color: #08090b;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.client-report-header span {
  color: #8b8d91;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.client-report-summary,
.client-report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.client-report-summary div,
.client-report-grid div {
  padding: 12px;
  border: 1px solid var(--silver-light);
  border-radius: 8px;
  background: #ffffff;
}

.client-report-summary div:nth-child(even),
.client-report-grid div:nth-child(even) {
  background: #ffffff;
}

.client-report-summary span,
.client-report-grid span {
  display: block;
  color: #8b8d91;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.client-report-summary strong,
.client-report-grid strong {
  display: block;
  margin-top: 4px;
  color: #08090b;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.client-report-section {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(200, 209, 222, 0.82);
  border-radius: 8px;
  background: #ffffff;
}

.client-report-section:nth-of-type(odd) {
  background: #eef3fa;
}

.client-report-section h2 {
  margin: 0 0 10px;
  color: #08090b;
  font-size: 20px;
}

.client-report-section dl {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.client-report-section dt,
.client-report-section dd {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 209, 222, 0.58);
}

.client-report-section dt {
  color: #191b1f;
  font-weight: 800;
}

.client-report-section dd {
  margin: 0;
  color: #08090b;
  overflow-wrap: anywhere;
}

.client-report-section small {
  color: #8b8d91;
  font-weight: 700;
}

.client-report-notes {
  display: grid;
  gap: 16px;
  margin: 0;
  color: #08090b;
  font-family: Arial, Helvetica, sans-serif;
}

.ai-section {
  position: relative;
  padding: 18px;
  border: 1px solid var(--silver-light);
  border-radius: 8px;
  background: #ffffff;
  break-inside: avoid;
}

.ai-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #08090b;
  font-size: 19px;
  line-height: 1.18;
}

.ai-section-number {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(1, 169, 250, 0.12);
  color: var(--fisher-blue);
  font-size: 13px;
  font-weight: 900;
}

.ai-section h4 {
  margin: 16px 0 7px;
  color: #08090b;
  font-size: 15px;
  line-height: 1.25;
}

.ai-section p {
  margin: 0 0 10px;
  color: #191b1f;
}

.ai-section p:last-child {
  margin-bottom: 0;
}

.ai-section ul,
.ai-section ol {
  margin: 8px 0 12px;
  padding-left: 22px;
}

.ai-section blockquote {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--fisher-blue);
  border-radius: 0 8px 8px 0;
  background: #ffffff;
  color: #08090b;
  font-weight: 700;
}

.ai-section blockquote p {
  margin-bottom: 8px;
}

.ai-callout {
  border-left: 4px solid #01a9fa;
  background: #eef8ff;
}

.ai-section-summary {
  border-color: rgba(1, 169, 250, 0.38);
  background: #eef8ff;
}

.ai-section-priority {
  border-left: 4px solid var(--success);
}

.ai-section-recommendation {
  border-left: 4px solid var(--fisher-blue);
}

.ai-section-technical {
  border-left: 4px solid var(--carbon);
  background: #f3f6fb;
}

.ai-section-growth {
  border-left: 4px solid var(--silver-edge);
  background: #f3f6fb;
}

.ai-priority {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--silver-surface);
  color: var(--fisher-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-labeled-line {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--silver-light);
  border-radius: 8px;
  background: #ffffff;
}

.ai-labeled-line strong {
  color: #08090b;
}

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

.client-report-columns > div {
  min-width: 0;
}

.client-report ul {
  margin: 0;
  padding-left: 22px;
}

.client-report li {
  margin-bottom: 6px;
}

.snapshot-preview .client-report {
  box-shadow: none;
}

.snapshot-report {
  background: #f3f6fb;
}

.snapshot-cover {
  position: relative;
  overflow: hidden;
  margin: -28px -28px 24px;
  padding: 28px 28px 34px;
  background:
    radial-gradient(circle at 84% 18%, rgba(1, 169, 250, 0.42), transparent 30%),
    radial-gradient(circle at 62% 100%, rgba(114, 216, 255, 0.18), transparent 38%),
    linear-gradient(135deg, #08090b 0%, #101114 58%, #191b1f 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(114, 216, 255, 0.2), inset 0 -32px 70px rgba(1, 169, 250, 0.12);
}

.snapshot-cover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #01a9fa 0%, #72d8ff 45%, #e2e8f1 100%);
}

.snapshot-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.snapshot-logo {
  display: block;
  width: 390px;
  max-width: 60%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  margin-left: -24px;
}

.snapshot-brand-row div {
  text-align: right;
}

.snapshot-brand-row span,
.snapshot-cover-content p,
.snapshot-explainer span,
.snapshot-seo-importance > div > span,
.snapshot-cta span {
  display: block;
  color: #01a9fa;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.snapshot-brand-row strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 14px;
}

.snapshot-cover-content h1 {
  max-width: 720px;
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.snapshot-cover-content span {
  color: var(--mercury);
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.snapshot-score-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 0 0 18px;
}

.snapshot-score-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 190px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(1, 169, 250, 0.24);
  background:
    radial-gradient(circle at 70% 20%, rgba(1, 169, 250, 0.28), transparent 32%),
    linear-gradient(160deg, #08090b 0%, #101114 62%, #191b1f 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 16px 32px rgba(8, 9, 11, 0.16);
}

.snapshot-score-card span {
  display: block;
  color: #ffffff;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.snapshot-score-card small {
  display: block;
  margin-top: 8px;
  color: #01a9fa;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-score-copy {
  padding: 22px;
  border: 1px solid var(--silver-light);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.snapshot-score-copy span {
  color: var(--fisher-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-score-copy h2 {
  margin: 6px 0 10px;
  color: #08090b;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.15;
}

.snapshot-score-copy p {
  margin: 0;
  color: #191b1f;
  font-weight: 700;
}

.snapshot-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 20px;
}

.snapshot-summary div {
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(8, 9, 11, 0.045);
}

.snapshot-summary div:nth-child(even) {
  background: #ffffff;
}

.snapshot-competitor {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid rgba(1, 169, 250, 0.24);
  border-radius: 8px;
  background: #eef3fa;
  box-shadow: 0 12px 26px rgba(8, 9, 11, 0.07);
}

.snapshot-competitor-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.snapshot-competitor-header span,
.snapshot-competitor-detail span {
  display: block;
  color: var(--fisher-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-competitor-header h2 {
  margin: 5px 0 8px;
  color: #08090b;
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.14;
}

.snapshot-competitor-header p {
  margin: 0;
  color: #191b1f;
  font-weight: 700;
}

.snapshot-competitor-header a {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(1, 169, 250, 0.32);
  background: #eaf7ff;
  color: #006fa6;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.snapshot-competitor-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.snapshot-competitor-scoreboard div {
  padding: 12px;
  border: 1px solid var(--silver-light);
  border-radius: 8px;
  background: #ffffff;
}

.snapshot-competitor-scoreboard span {
  display: block;
  color: var(--smoke);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-competitor-scoreboard strong {
  display: block;
  margin-top: 4px;
  color: #08090b;
  font-size: 28px;
  line-height: 1;
}

.snapshot-competitor-detail {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}

.snapshot-competitor-detail strong {
  display: block;
  margin: 5px 0;
  color: #08090b;
  font-size: 1rem;
  line-height: 1.25;
}

.snapshot-competitor-detail small {
  color: #191b1f;
  font-weight: 700;
}

.snapshot-competitor-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.snapshot-competitor-detail li {
  position: relative;
  margin: 0;
  padding-left: 24px;
  color: #191b1f;
  font-weight: 700;
}

.snapshot-competitor-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.snapshot-explainer {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(200, 209, 222, 0.82);
  background: #ffffff;
}

.snapshot-explainer h2 {
  margin: 5px 0 0;
  color: #08090b;
  font-size: 22px;
  line-height: 1.18;
}

.snapshot-explainer p {
  margin: 0;
  color: #191b1f;
  font-weight: 700;
}

.snapshot-seo-importance {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, 0.88fr);
  gap: 18px;
  margin: 0 0 22px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(1, 169, 250, 0.2);
  background:
    radial-gradient(circle at 12% 18%, rgba(1, 169, 250, 0.18), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(1, 169, 250, 0.42), transparent 32%),
    radial-gradient(circle at 68% 96%, rgba(114, 216, 255, 0.16), transparent 36%),
    linear-gradient(145deg, #08090b 0%, #101114 62%, #191b1f 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(8, 9, 11, 0.13), inset 0 1px 0 rgba(114, 216, 255, 0.18);
}

.snapshot-seo-importance h2 {
  margin: 5px 0 10px;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 25px);
  line-height: 1.14;
}

.snapshot-seo-importance p {
  margin: 0;
  color: var(--cool-white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.52;
}

.snapshot-importance-points {
  display: grid;
  gap: 10px;
}

.snapshot-importance-points article {
  padding: 12px;
  border: 1px solid var(--silver-edge);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.snapshot-importance-points strong {
  display: block;
  color: #08090b;
  font-size: 0.95rem;
}

.snapshot-importance-points span {
  display: block;
  margin-top: 3px;
  color: #191b1f;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.snapshot-opportunity-section {
  margin-top: 18px;
}

.snapshot-opportunity-section h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

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

.snapshot-opportunities article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  min-height: 112px;
  padding: 15px;
  border: 1px solid var(--silver-edge);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(8, 9, 11, 0.045);
}

.snapshot-opportunities article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eaf7ff;
  color: var(--fisher-blue);
  box-shadow: 0 0 0 4px rgba(1, 169, 250, 0.08);
  font-weight: 900;
}

.snapshot-opportunities h3 {
  margin: 0 0 5px;
  color: #08090b;
  font-size: 1rem;
  line-height: 1.25;
}

.snapshot-opportunities p {
  margin: 0;
  color: #191b1f;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.42;
}

.snapshot-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(1, 169, 250, 0.22);
  background:
    radial-gradient(circle at 12% 20%, rgba(1, 169, 250, 0.16), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(1, 169, 250, 0.4), transparent 30%),
    radial-gradient(circle at 60% 110%, rgba(114, 216, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #08090b 0%, #101114 64%, #191b1f 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(114, 216, 255, 0.18), 0 14px 30px rgba(8, 9, 11, 0.12);
}

.snapshot-cta h2 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.snapshot-cta p {
  margin: 0;
  color: var(--cool-white);
  font-weight: 700;
}

.snapshot-cta strong,
.snapshot-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #72d8ff 0%, #01a9fa 100%);
  color: #08090b;
  box-shadow: 0 8px 18px rgba(1, 169, 250, 0.24);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.snapshot-cta-button:hover {
  filter: brightness(1.06);
}

.metric-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.metric-stack div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
}

.metric-stack span {
  color: var(--color-subtle);
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #08090b;
  color: #ffffff;
  box-shadow: var(--shadow-panel);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

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

  .nav-item {
    justify-content: flex-start;
    text-align: left;
  }

  .nav-item.is-active {
    box-shadow: inset 0 -4px 0 var(--fisher-blue), 0 8px 18px rgba(1, 169, 250, 0.18);
  }

  .saved-panel {
    max-height: 240px;
  }

  .url-launch-panel,
  .two-column,
  .dashboard-grid,
  .competitor-comparison,
  .command-grid {
    grid-template-columns: 1fr;
  }

  .span-8,
  .span-4 {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .workspace,
  .sidebar {
    padding: 12px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    margin: -12px -12px 12px;
    padding: 12px;
  }

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

  .topbar-actions button {
    flex: 1;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button-row button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .button-row .secondary-button,
  .topbar-actions .secondary-button {
    border-color: var(--silver-edge);
    background: linear-gradient(180deg, #ffffff 0%, var(--silver-surface) 100%);
    color: #08090b;
    box-shadow: 0 8px 18px rgba(8, 9, 11, 0.08);
  }

  .button-row .secondary-button svg,
  .topbar-actions .secondary-button svg {
    color: var(--fisher-blue);
  }

  .button-row .secondary-button:active,
  .topbar-actions .secondary-button:active {
    background: var(--silver-light);
  }

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

  .phase-strip,
  .preview-footer,
  .metric-card {
    grid-template-columns: 1fr;
  }

  .phase-strip {
    gap: 8px;
    padding: 8px;
  }

  .phase-step {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    min-height: 52px;
    padding: 8px 10px;
    text-align: left;
  }

  .phase-step span {
    width: 28px;
    height: 28px;
  }

  .phase-step strong {
    font-size: 0.95rem;
  }

  .phase-step small {
    justify-self: end;
    max-width: 130px;
    text-align: right;
  }

  .preview-content {
    grid-template-columns: 1fr;
  }

  .phase-step::before,
  .preview-toolbar nav {
    display: none;
  }

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

  .url-analyzer {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .competitor-insight-header {
    align-items: stretch;
    flex-direction: column;
  }

  .client-report {
    padding: 18px;
  }

  .client-report-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-report-header img {
    width: 210px;
    max-width: 100%;
    margin-left: -13px;
  }

  .client-report-summary,
  .client-report-grid,
  .snapshot-summary,
  .client-report-columns,
  .client-report-section dl {
    grid-template-columns: 1fr;
  }

  .snapshot-score-card {
    min-height: 150px;
  }

  .snapshot-cover {
    margin: -18px -18px 20px;
    padding: 22px 18px 28px;
  }

  .snapshot-brand-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
  }

  .snapshot-brand-row div {
    text-align: left;
  }

  .snapshot-logo {
    width: 390px;
    max-width: 100%;
    margin-left: -24px;
  }

  .snapshot-score-panel,
  .snapshot-competitor-header,
  .snapshot-competitor-scoreboard,
  .snapshot-competitor-detail,
  .snapshot-explainer,
  .snapshot-seo-importance,
  .snapshot-opportunities,
  .snapshot-cta {
    grid-template-columns: 1fr;
  }

  .snapshot-opportunities article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .snapshot-cta strong,
  .snapshot-cta-button {
    justify-content: center;
    width: 100%;
  }
}
