:root {
  --ink: #0b1d3a;
  --muted: #607086;
  --paper: #f3f7fb;
  --card: #ffffff;
  --line: #d8e2ee;
  --teal: #087fad;
  --teal-dark: #075477;
  --teal-soft: #e0f2f9;
  --coral: #e06d5e;
  --gold: #d9a441;
  --navy: #07172f;
  --cyan: #0a91c4;
  --shadow: 0 18px 60px rgb(11 29 58 / 9%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% 3%, rgb(8 127 173 / 10%), transparent 22rem),
    linear-gradient(90deg, transparent 49.9%, rgb(11 29 58 / 2.5%) 50%, transparent 50.1%),
    var(--paper);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

.notice {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 16px;
  color: var(--teal-dark);
  border: 1px solid rgb(8 124 115 / 24%);
  border-radius: 11px;
  background: var(--teal-soft);
  font-size: 12px;
}

.notice span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: white;
  border-radius: 50%;
  background: var(--teal);
}

.notice p {
  margin: 0;
}

.topbar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(23 43 49 / 14%);
}

.brand-logo {
  display: block;
  width: 104px;
  height: 91px;
  object-fit: contain;
}

.account-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.account-nav > a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.account-nav > span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-weight: 800;
}

.account-nav form {
  margin: 0;
}

.account-nav button {
  padding: 8px 11px;
  color: var(--teal-dark);
  border: 1px solid rgb(8 127 173 / 24%);
  border-radius: 8px;
  background: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-nav button:hover {
  background: var(--teal-soft);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  position: relative;
  display: grid;
  place-content: center;
  gap: 3px;
  transform: rotate(-2deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid var(--teal);
  border-radius: 50% 50% 46% 54%;
}

.brand-mark span {
  display: block;
  height: 2px;
  background: var(--teal);
  transform: rotate(-20deg);
}

.brand-mark span:nth-child(1) { width: 13px; margin-left: 4px; }
.brand-mark span:nth-child(2) { width: 20px; }
.brand-mark span:nth-child(3) { width: 11px; margin-left: 2px; }

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  letter-spacing: -.03em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.environment-chip,
.verified-label,
.confidence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.environment-chip {
  padding: 10px 14px;
  color: var(--teal-dark);
  background: rgb(255 255 255 / 55%);
  border: 1px solid rgb(8 124 115 / 18%);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgb(8 124 115 / 12%);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 80px;
  align-items: end;
  padding: 76px 0 60px;
}

.eyebrow,
.section-label {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(45px, 5.5vw, 82px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--teal);
  font-weight: 400;
}

.hero-copy {
  max-width: 610px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.access-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 21px;
  border: 1px solid rgb(23 43 49 / 13%);
  border-radius: 15px;
  background: rgb(255 253 248 / 63%);
}

.lock-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  color: var(--teal);
  border-radius: 50%;
  background: var(--teal-soft);
  font-size: 21px;
}

.access-note strong {
  font-size: 13px;
}

.access-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.new-search {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 12px 40px rgb(23 43 49 / 6%);
}

.new-search > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.new-search > summary::-webkit-details-marker {
  display: none;
}

.new-search > summary > span {
  display: grid;
}

.new-search > summary small {
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.new-search > summary strong {
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.new-search > summary i {
  color: var(--teal);
  font-size: 23px;
  font-style: normal;
  transition: transform .2s ease;
}

.new-search[open] > summary i {
  transform: rotate(45deg);
}

.new-search > form {
  padding: 2px 22px 22px;
  border-top: 1px solid var(--line);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1.2fr .65fr 1.2fr 1fr;
  gap: 16px 14px;
  padding: 22px 0;
}

.search-form-grid > label {
  display: grid;
  align-content: start;
  gap: 7px;
}

.search-form-grid label > span,
.exclusions > label span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.search-form-grid input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #faf8f2;
  font: inherit;
  font-size: 12px;
}

.search-form-grid input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgb(8 124 115 / 10%);
}

.search-form-grid label > small {
  color: var(--muted);
  font-size: 8px;
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 49px;
}

.input-suffix small {
  position: absolute;
  top: 14px;
  right: 11px;
  color: var(--muted);
  font-size: 9px;
}

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

.notes-field span small {
  font-weight: 500;
}

.exclusions {
  grid-column: span 2;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 10px 0 0;
}

.exclusions > label {
  display: flex;
  gap: 7px;
  align-items: center;
  cursor: pointer;
}

.exclusions input {
  width: 16px;
  min-height: 16px;
  padding: 0;
  accent-color: var(--teal);
}

.new-search footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.new-search footer p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.new-search footer button,
.run-search button {
  padding: 12px 16px;
  color: white;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.new-search footer button:hover,
.run-search button:hover {
  background: #0a9287;
}

.job-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  color: white;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(100deg, rgb(255 255 255 / 3%), transparent 50%),
    linear-gradient(120deg, var(--navy), #0b2b50);
}

.run-search {
  display: grid;
  justify-items: end;
  gap: 6px;
  margin-left: auto;
}

.run-search span {
  color: rgb(255 255 255 / 55%);
  font-size: 9px;
}

.run-search button b {
  margin-left: 5px;
}

.job-strip .section-label {
  color: #83d1c5;
}

.job-strip h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.job-strip p {
  margin: 6px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
}

.job-status {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.job-status-review_required {
  color: #71510a;
  background: #fff0c7;
}

.job-status-failed {
  color: #8b3027;
  background: #fde4e0;
}

.job-strip .resume-blocked {
  max-width: 720px;
  margin-top: 12px;
  padding: 10px 12px;
  color: #8b3027;
  border-left: 3px solid #8b3027;
  background: #fde4e0;
  font-weight: 800;
}

.truth-banner {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #168bb4;
  border-left-width: 0.45rem;
  border-radius: 0.8rem;
  background: #e6f5fb;
  color: #092748;
}

.truth-banner span {
  color: #315b74;
  font-size: 0.86rem;
}

.candidate-review-panel {
  margin: 24px 0;
  padding: 28px;
  border: 1px solid rgb(217 164 65 / 45%);
  border-radius: 18px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.candidate-review-panel h2,
.candidate-review-panel h3,
.candidate-review-panel p {
  margin-top: 0;
}

.candidate-review-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.candidate-review-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.candidate-review-list header,
.candidate-review-actions {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.candidate-review-list header a {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.candidate-review-list dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.candidate-review-list dt,
.candidate-review-list label span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.candidate-review-list dd {
  margin: 4px 0 0;
}

.candidate-review-list ul {
  margin: 0;
  padding-left: 20px;
}

.candidate-review-list textarea {
  width: 100%;
  min-height: 88px;
  margin: 7px 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  resize: vertical;
}

.candidate-review-actions {
  justify-content: flex-start;
}

.candidate-review-actions button {
  padding: 11px 15px;
  color: white;
  border: 0;
  border-radius: 9px;
  background: var(--teal-dark);
  font-weight: 800;
  cursor: pointer;
}

.candidate-review-actions .reject {
  background: #8b3027;
}

.target-ring {
  width: 84px;
  height: 84px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgb(8 124 115 / 45%);
}

.target-ring strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.target-ring span {
  margin-top: 3px;
  color: rgb(255 255 255 / 62%);
  font-size: 10px;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}

.stats-grid article {
  position: relative;
  display: grid;
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid span,
.business-facts span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stats-grid strong {
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

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

.stats-grid .qualified-stat strong {
  color: var(--teal);
}

.stats-grid .selected-stat strong {
  color: var(--coral);
}

.usage-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 25px;
  align-items: center;
  margin: 20px 0 80px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 253 248 / 45%);
}

.usage-row .section-label {
  display: block;
  margin: 0 0 2px;
  font-size: 9px;
}

.usage-row strong,
.usage-row small {
  font-size: 12px;
}

.usage-row small {
  color: var(--muted);
}

.usage-meter {
  overflow: hidden;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 10px;
  background: rgb(23 43 49 / 9%);
  appearance: none;
}

.usage-meter::-webkit-progress-bar {
  border-radius: 10px;
  background: rgb(23 43 49 / 9%);
}

.usage-meter::-webkit-progress-value {
  border-radius: 10px;
  background: var(--teal);
}

.usage-meter::-moz-progress-bar {
  border-radius: 10px;
  background: var(--teal);
}

.usage-row.warning .usage-meter::-webkit-progress-value,
.usage-row.warning .usage-meter::-moz-progress-bar {
  background: var(--coral);
}

.owner-usage {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgb(8 127 173 / 24%);
  border-radius: 16px;
  background: rgb(255 255 255 / 82%);
  box-shadow: var(--shadow);
}

.owner-usage.warning {
  border-color: rgb(224 109 94 / 48%);
}

.owner-usage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  color: white;
  background: var(--navy);
}

.owner-usage-heading .section-label {
  margin-bottom: 4px;
  color: #79d7e4;
  font-size: 9px;
}

.owner-usage-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.owner-usage-heading > span {
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 100px;
  color: #c4d6e6;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.owner-usage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.owner-usage-grid > div {
  min-width: 0;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.owner-usage-grid > div:last-child {
  border-right: 0;
}

.owner-usage-grid small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.owner-usage-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.owner-usage-grid strong i {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.owner-usage-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.owner-usage-grid progress {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 5px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  background: rgb(23 43 49 / 9%);
  appearance: none;
}

.owner-usage-grid progress::-webkit-progress-bar {
  border-radius: 10px;
  background: rgb(23 43 49 / 9%);
}

.owner-usage-grid progress::-webkit-progress-value {
  border-radius: 10px;
  background: var(--teal);
}

.owner-usage-grid progress::-moz-progress-bar {
  border-radius: 10px;
  background: var(--teal);
}

.owner-usage.warning progress::-webkit-progress-value,
.owner-usage.warning progress::-moz-progress-bar {
  background: var(--coral);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.035em;
}

.verified-label {
  padding: 9px 13px;
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.verified-label i {
  font-style: normal;
}

.filters {
  display: grid;
  grid-template-columns: 1.6fr .85fr .9fr .55fr .7fr .8fr auto;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  box-shadow: 0 10px 35px rgb(23 43 49 / 5%);
}

.batch-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 3px 0;
}

.batch-controls > div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.batch-controls > div > span,
.batch-controls small {
  color: var(--muted);
  font-size: 10px;
}

.batch-controls button {
  padding: 7px 10px;
  color: var(--teal-dark);
  border: 1px solid rgb(8 124 115 / 23%);
  border-radius: 8px;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.batch-controls button:hover {
  background: var(--teal-soft);
}

.filters label {
  display: grid;
  gap: 5px;
  padding: 4px 10px;
  border-right: 1px solid var(--line);
}

.filters label span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.filters input,
.filters select {
  min-width: 0;
  width: 100%;
  padding: 4px 0;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
}

.filters button {
  align-self: stretch;
  padding: 0 19px;
  color: white;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

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

.filters button span {
  margin-left: 6px;
}

.prospect-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.prospect-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.prospect-card.is-selected {
  border-color: rgb(8 124 115 / 54%);
  box-shadow: 0 18px 60px rgb(8 124 115 / 13%);
}

.card-header {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 17px;
  align-items: center;
  padding: 28px 30px 14px;
}

.selection-form {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: -2px;
}

.selection-form small {
  color: var(--muted);
  font-size: 9px;
}

.selection-form label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.selection-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--teal);
}

.selection-form button {
  padding: 6px 9px;
  color: var(--teal-dark);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #faf8f2;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.scout-chip {
  padding: 5px 9px;
  color: #075f59;
  border-radius: 999px;
  background: #dff7f3;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.search-progress {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(7 28 54 / 72%);
  backdrop-filter: blur(5px);
}

.search-progress[hidden] {
  display: none;
}

.search-progress-card {
  width: min(520px, 100%);
  padding: 38px;
  text-align: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 28px 90px rgb(0 0 0 / 28%);
}

.search-progress-card strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.search-progress-card > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 auto 16px;
  color: var(--muted);
  line-height: 1.65;
}

.search-progress-card small {
  color: var(--teal-dark);
  font-weight: 800;
}

.search-spinner {
  width: 44px;
  height: 44px;
  display: inline-block;
  border: 4px solid var(--teal-soft);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: search-spin .8s linear infinite;
}

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

.redesign-page {
  padding-bottom: 90px;
}

.redesign-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  gap: 40px;
  align-items: end;
  margin: 56px 0 38px;
}

.redesign-hero h1 {
  margin: 4px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
  letter-spacing: -.04em;
}

.redesign-hero > div > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.redesign-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.delivery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.delivery-summary span {
  display: grid;
  gap: 3px;
  padding: 16px 12px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.delivery-summary span:last-child {
  border-right: 0;
}

.delivery-summary strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.redesign-summary span {
  display: grid;
  gap: 3px;
  padding: 16px 10px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.redesign-summary span:last-child {
  border-right: 0;
}

.redesign-summary strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

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

.redesign-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.redesign-card > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.redesign-card h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.redesign-status {
  padding: 6px 10px;
  color: var(--teal-dark);
  border-radius: 999px;
  background: var(--teal-soft);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.redesign-status-approved .redesign-status {
  color: #205c39;
  background: #dff3e6;
}

.redesign-status-changes_requested .redesign-status {
  color: #8a4315;
  background: #fae8d8;
}

.redesign-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.redesign-links a,
.redesign-links span {
  padding: 10px 13px;
  color: var(--teal-dark);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf8f2;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.redesign-links a.primary {
  color: white;
  border-color: var(--teal);
  background: var(--teal);
}

.design-summary {
  padding: 18px;
  margin-bottom: 20px;
  border-left: 3px solid var(--teal);
  background: #f7f5ef;
}

.design-summary span,
.redesign-review-form > label > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.design-summary p {
  margin: 7px 0 0;
  line-height: 1.6;
}

.redesign-employee-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.redesign-review-form {
  display: grid;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.redesign-review-form > label {
  display: grid;
  gap: 8px;
}

.redesign-review-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #faf8f2;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.approval-control {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfaf6;
}

.approval-control label {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}

.approval-control input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.approval-control small,
.review-attribution {
  color: var(--muted);
  line-height: 1.5;
}

.redesign-review-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.redesign-review-form button {
  padding: 11px 16px;
  color: white;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.redesign-review-form button.secondary {
  color: var(--teal-dark);
  background: white;
}

.redesign-pending,
.downstream-preview,
.redesign-error {
  padding: 14px;
  border-radius: 9px;
  font-size: 11px;
}

.redesign-pending {
  color: var(--muted);
  background: #f3f1eb;
}

.downstream-preview {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  color: #205c39;
  background: #e7f5ec;
}

.redesign-error {
  color: #8b2e2e;
  background: #fbe8e8;
}

.review-attribution {
  display: block;
  margin-top: 14px;
}

.redesign-empty {
  width: 100%;
}

.delivery-primary {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 16px;
  color: white;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.delivery-approvals {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.delivery-approvals label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfaf6;
}

.delivery-approvals input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.delivery-approvals span,
.delivery-approvals small {
  display: block;
}

.delivery-approvals small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .redesign-hero {
    grid-template-columns: 1fr;
  }

  .redesign-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery-summary {
    grid-template-columns: 1fr;
  }

  .delivery-summary span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .delivery-summary span:last-child {
    border-bottom: 0;
  }

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

  .redesign-summary span {
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 560px) {
  .redesign-card {
    padding: 20px;
  }

  .redesign-card > header,
  .redesign-review-form footer {
    align-items: stretch;
    flex-direction: column;
  }

  .redesign-summary {
    grid-template-columns: 1fr;
  }

  .redesign-summary span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.business-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 14px;
  background: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  box-shadow: 7px 7px 0 var(--teal-soft);
}

.business-title span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.business-title h3 {
  margin: 3px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.business-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.score {
  display: flex;
  align-items: baseline;
  min-width: 105px;
}

.score strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -.05em;
}

.score span {
  color: var(--muted);
  font-size: 11px;
}

.confidence-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px 20px 99px;
}

.sage-chip {
  margin-left: 6px;
  padding: 7px 10px;
  color: #684d13;
  border-radius: 100px;
  background: #f5ebcf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.confidence-row .evaluated {
  margin-left: auto;
}

.confidence {
  padding: 7px 10px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 9px;
}

.confidence::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.confidence.medium {
  color: #785918;
  background: #f5ebcf;
}

.confidence.medium::before {
  background: var(--gold);
}

.evaluated {
  color: var(--muted);
  font-size: 10px;
}

.business-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #faf8f2;
}

.business-facts > div {
  display: grid;
  gap: 3px;
  padding: 18px 30px;
  border-right: 1px solid var(--line);
}

.business-facts > div:last-child {
  border-right: 0;
}

.business-facts strong {
  margin-top: 3px;
  font-size: 13px;
}

.business-facts small {
  color: var(--muted);
  font-size: 10px;
}

.lighthouse-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  align-items: center;
  gap: 10px;
  margin: 24px 30px 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.lighthouse-row > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lighthouse-row > div {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  column-gap: 7px;
}

.lighthouse-row strong {
  font-size: 14px;
}

.lighthouse-row small {
  grid-column: 2;
  color: var(--muted);
  font-size: 8px;
}

.metric {
  grid-row: 1 / 3;
  width: 8px;
  height: 27px;
  border-radius: 10px;
  background: var(--coral);
}

.metric.accessibility { background: var(--gold); }
.metric.practices { background: #71959b; }
.metric.seo { background: var(--teal); }

.problems {
  padding: 26px 30px 10px;
}

.problems ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problems li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.problem-number {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
}

.problems li strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.problems li small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  text-transform: capitalize;
}

.evidence {
  margin: 4px 30px 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.evidence summary {
  display: flex;
  justify-content: space-between;
  padding: 15px 17px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.evidence summary::-webkit-details-marker { display: none; }
.evidence[open] summary i { transform: rotate(45deg); }

.evidence summary i {
  color: var(--teal);
  font-size: 17px;
  font-style: normal;
  transition: transform .2s ease;
}

.evidence-body {
  padding: 0 17px 17px;
}

.decision-reason {
  padding: 13px;
  color: var(--teal-dark);
  border-radius: 9px;
  background: var(--teal-soft);
  font-size: 11px;
  line-height: 1.55;
}

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

.evidence-item:last-child { border-bottom: 0; }

.evidence-item span {
  color: var(--teal);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.evidence-item strong {
  display: block;
  margin: 3px 0;
  font-size: 11px;
}

.evidence-item p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.notes-form {
  margin: 0 30px 25px;
}

.notes-form > label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.notes-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.notes-form textarea {
  min-height: 68px;
  resize: vertical;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: #faf8f2;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
}

.notes-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgb(8 124 115 / 10%);
}

.notes-form button {
  align-self: stretch;
  padding: 0 14px;
  color: white;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.card-footer {
  min-height: 62px;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 0 30px;
  color: white;
  background: var(--ink);
}

.card-footer a {
  color: #8fd4ca;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.card-footer a:hover {
  text-decoration: underline;
}

.card-footer .secondary-link {
  color: rgb(255 255 255 / 62%);
}

.review-id {
  margin-left: auto;
  color: rgb(255 255 255 / 35%);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.empty-state {
  padding: 80px 30px;
  text-align: center;
  border: 1px dashed #b9bcb2;
  border-radius: 18px;
  background: rgb(255 253 248 / 55%);
}

.empty-state > div {
  color: var(--teal);
  font-size: 42px;
}

.empty-state h3 {
  margin: 12px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.empty-state p {
  color: var(--muted);
  font-size: 12px;
}

.empty-state a {
  display: inline-block;
  margin-top: 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.sticky-actions {
  position: sticky;
  z-index: 10;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(720px, calc(100% - 24px));
  margin: 30px auto 0;
  padding: 14px 16px 14px 20px;
  color: white;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 15px;
  background: rgb(23 43 49 / 96%);
  box-shadow: 0 18px 55px rgb(23 43 49 / 24%);
  backdrop-filter: blur(12px);
}

.sticky-actions div {
  display: grid;
  gap: 2px;
}

.sticky-actions strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.sticky-actions div span {
  color: rgb(255 255 255 / 53%);
  font-size: 9px;
}

.sticky-actions > button {
  padding: 11px 14px;
  color: white;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.sticky-actions > button:disabled {
  color: rgb(255 255 255 / 38%);
  background: rgb(255 255 255 / 8%);
  cursor: not-allowed;
}

.confirmation-shell {
  min-height: 100vh;
}

.confirmation {
  width: min(850px, 100%);
  margin: 0 auto;
  padding: 65px 0 100px;
}

.back-link {
  display: inline-block;
  margin-bottom: 55px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.confirmation h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -.05em;
}

.confirmation-copy {
  max-width: 670px;
  margin: 18px 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.confirmation-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.confirmation-card > header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: white;
  background: var(--ink);
}

.confirmation-card > header div {
  display: grid;
  gap: 4px;
  padding: 20px 24px;
  border-right: 1px solid rgb(255 255 255 / 13%);
}

.confirmation-card > header div:last-child {
  border-right: 0;
}

.confirmation-card > header span {
  color: #83d1c5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.confirmation-card > header strong {
  font-size: 13px;
}

.confirmation-card ol {
  margin: 0;
  padding: 0 26px;
  list-style: none;
}

.confirmation-card li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.confirmation-card li > div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.confirmation-card li > div:nth-child(2) > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.confirmation-card li > div:nth-child(2) > span {
  color: var(--muted);
  font-size: 10px;
}

.ready-chip {
  padding: 7px 10px;
  color: var(--teal-dark);
  border-radius: 100px;
  background: var(--teal-soft);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirmation-card .no-selection {
  display: block;
  color: var(--muted);
  text-align: center;
}

.confirmation-card > footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #faf8f2;
}

.confirmation-card > footer p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.confirmation-card > footer button {
  padding: 13px 17px;
  color: white;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.confirmation-card > footer button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.revision-confirmation-card .exact-notes {
  padding: 22px 26px;
}

.revision-confirmation-card .exact-notes > span {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.revision-confirmation-card .exact-notes pre {
  background: #f5f7f6;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font: inherit;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 16px;
  white-space: pre-wrap;
}

.revision-flow {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 26px;
}

.revision-flow span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.revision-flow .complete,
.revision-flow .current {
  color: var(--teal);
}

.confirmation-safety {
  color: var(--muted);
  font-size: 11px;
  margin: 16px auto 0;
  max-width: 760px;
}

.site-footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 90px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.site-footer p {
  text-align: center;
}

.site-footer span:last-child {
  text-align: right;
}

@media (min-width: 900px) {
  .prospect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .search-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .stats-grid article:nth-child(3) {
    border-right: 0;
  }

  .stats-grid article:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .filters label {
    border-right: 0;
  }

  .filters button {
    min-height: 48px;
  }

  .lighthouse-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .lighthouse-row > span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 30px, 620px);
  }

  .topbar {
    min-height: 78px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 54px 0 40px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .job-strip {
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px;
  }

  .run-search {
    order: 3;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    width: 100%;
    margin-left: 0;
    padding-top: 15px;
    border-top: 1px solid rgb(255 255 255 / 13%);
  }

  .run-search button {
    justify-self: end;
  }

  .target-ring {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid article:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .stats-grid article:nth-child(even) {
    border-right: 0;
  }

  .stats-grid article:nth-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .usage-row {
    grid-template-columns: 1fr auto;
    margin-bottom: 60px;
  }

  .usage-meter {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    align-items: flex-start;
    gap: 18px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .card-header {
    grid-template-columns: auto 1fr;
    padding: 23px 20px 13px;
  }

  .selection-form {
    grid-column: 1 / -1;
  }

  .score {
    grid-column: 2;
  }

  .score strong {
    font-size: 37px;
  }

  .confidence-row {
    padding: 0 20px 18px;
  }

  .business-facts {
    grid-template-columns: 1fr;
  }

  .business-facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .business-facts > div:last-child {
    border-bottom: 0;
  }

  .lighthouse-row {
    grid-template-columns: repeat(2, 1fr);
    margin-inline: 20px;
  }

  .problems {
    padding-inline: 20px;
  }

  .evidence {
    margin-inline: 20px;
  }

  .notes-form {
    margin-inline: 20px;
  }

  .sticky-actions {
    width: calc(100% - 10px);
  }

  .card-footer {
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-block: 15px;
  }

  .review-id {
    flex-basis: 100%;
    margin-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 30px 0;
    text-align: center;
  }

  .site-footer p,
  .site-footer span:last-child {
    text-align: center;
  }

  .confirmation-card > header {
    grid-template-columns: 1fr;
  }

  .confirmation-card > header div {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
  }

  .confirmation-card > footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .environment-chip {
    padding: 8px 10px;
    font-size: 9px;
  }

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

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

  .notes-field,
  .exclusions {
    grid-column: auto;
  }

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

  .new-search footer {
    align-items: stretch;
    flex-direction: column;
  }

  .new-search footer button {
    min-height: 44px;
  }

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

  .batch-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .batch-controls > div {
    flex-wrap: wrap;
  }

  .job-strip h2 {
    font-size: 20px;
  }

  .stats-grid article {
    padding: 21px;
  }

  .section-heading {
    display: grid;
  }

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

  .notes-form button {
    min-height: 42px;
  }

  .sticky-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .sticky-actions > button {
    text-align: center;
  }

  .confirmation-card li {
    grid-template-columns: auto 1fr;
  }

  .confirmation-card .ready-chip {
    grid-column: 2;
    justify-self: start;
  }
}

/* Authentication and team access */

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgb(10 145 196 / 14%), transparent 24rem),
    #eef4fa;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(440px, 1.1fr);
  min-height: 100vh;
}

.auth-brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(42px, 6vw, 88px);
  color: white;
  background:
    radial-gradient(circle at 76% 18%, rgb(10 145 196 / 34%), transparent 18rem),
    linear-gradient(145deg, #061329, #092447 58%, #075477);
}

.auth-brand-panel::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -10rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgb(255 255 255 / 2%),
    0 0 0 10rem rgb(255 255 255 / 2%);
}

.auth-brand-panel > * {
  position: relative;
  z-index: 1;
}

.auth-brand-panel img {
  width: min(260px, 65%);
  height: auto;
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 14px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 18px 40px rgb(0 0 0 / 18%);
}

.auth-brand-panel .eyebrow {
  color: #6bd3f3;
}

.auth-brand-panel h1 {
  max-width: 660px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.auth-brand-panel p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 68%);
  font-size: 16px;
  line-height: 1.7;
}

.auth-brand-panel > small {
  color: rgb(255 255 255 / 52%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.auth-form-panel {
  display: grid;
  place-items: center;
  padding: 46px;
}

.auth-form-wrap {
  width: min(440px, 100%);
}

.auth-form-wrap h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -.04em;
}

.auth-intro {
  margin: 13px 0 31px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-error {
  margin: 0 0 20px;
  padding: 13px 15px;
  color: #882f2b;
  border: 1px solid #efc6c1;
  border-radius: 10px;
  background: #fff0ee;
  font-size: 13px;
  line-height: 1.5;
}

.auth-form,
.team-invite-form {
  display: grid;
  gap: 18px;
}

.auth-form label,
.team-invite-form label {
  display: grid;
  gap: 8px;
}

.auth-form label > span,
.team-invite-form label > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-form input,
.team-invite-form input,
.team-invite-form select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--ink);
  border: 1px solid #cbd8e7;
  border-radius: 10px;
  outline: none;
  background: white;
  font: inherit;
  font-size: 15px;
}

.auth-form input:focus,
.team-invite-form input:focus,
.team-invite-form select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgb(10 145 196 / 12%);
}

.auth-form label > small {
  color: var(--muted);
  font-size: 11px;
}

.auth-form button,
.team-invite-form button,
.auth-secondary-action {
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  color: white;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(110deg, var(--teal-dark), var(--cyan));
  box-shadow: 0 12px 28px rgb(8 127 173 / 18%);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.auth-form button:hover,
.team-invite-form button:hover,
.auth-secondary-action:hover {
  background: linear-gradient(110deg, #063c59, #087fad);
}

.auth-help {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.team-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 0 110px;
}

.team-page > h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -.05em;
}

.team-intro {
  max-width: 680px;
  margin: 17px 0 36px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.team-card,
.invitation-result {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.team-card h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.invitation-result {
  display: grid;
  gap: 7px;
  margin-bottom: 22px;
  border-color: rgb(8 127 173 / 28%);
  background: var(--teal-soft);
}

.invitation-result > span {
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.invitation-result > strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.invitation-result > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.account-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.account-list li > span {
  display: grid;
  gap: 4px;
}

.account-list small {
  color: var(--muted);
}

.account-list i {
  padding: 6px 9px;
  color: var(--teal-dark);
  border-radius: 100px;
  background: var(--teal-soft);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pending-invitations {
  margin-top: 22px;
}

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

  .auth-brand-panel {
    min-height: 470px;
  }

  .auth-brand-panel img {
    width: 190px;
  }

  .auth-form-panel {
    min-height: 640px;
  }

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

@media (max-width: 600px) {
  .auth-brand-panel {
    min-height: 390px;
    padding: 34px 25px;
  }

  .auth-brand-panel img {
    width: 130px;
  }

  .auth-brand-panel h1 {
    font-size: 38px;
  }

  .auth-brand-panel p:not(.eyebrow) {
    font-size: 13px;
  }

  .auth-form-panel {
    min-height: auto;
    padding: 58px 24px 72px;
  }

  .auth-form-wrap h2 {
    font-size: 40px;
  }

  .brand-logo {
    width: 76px;
    height: 66px;
  }

  .account-nav {
    gap: 8px;
  }

  .account-nav > a,
  .account-nav > span {
    display: none;
  }

  .team-page {
    padding-top: 48px;
  }
}

@media (max-width: 900px) {
  .owner-usage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .owner-usage-grid > div:nth-child(2) {
    border-right: 0;
  }

  .owner-usage-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .owner-usage-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .owner-usage-grid {
    grid-template-columns: 1fr;
  }

  .owner-usage-grid > div,
  .owner-usage-grid > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .owner-usage-grid > div:last-child {
    border-bottom: 0;
  }
}
