:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #192b38;
  background: #f4f6f8;
  font-size: 15px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #dce3e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
}
.brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.3px;
}
.brand span {
  font-weight: 500;
  color: #6a7885;
}
.account {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 4vw 64px;
}
h1 {
  font-size: 36px;
  letter-spacing: -1px;
  margin: 0;
}
h2 {
  font-size: 21px;
  margin: 0;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
p {
  margin: 8px 0 16px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #647783;
  margin: 0 0 7px;
}
.heading,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.heading {
  margin-bottom: 24px;
}
.section-heading {
  margin-bottom: 16px;
}
.muted {
  color: #657681;
  font-size: 13px;
}
.badge {
  color: #755819;
  background: #fff0ce;
  border: 1px solid #eddbb1;
  border-radius: 30px;
  padding: 7px 13px;
  font-size: 12px;
  white-space: nowrap;
}
nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
button,
.button {
  font: inherit;
  font-size: 13px;
  border: 1px solid #cdd7df;
  padding: 10px 16px;
  border-radius: 7px;
  background: #fff;
  color: #243c4b;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  background: #e7eef4;
}
button.selected,
.button {
  background: #173e56;
  color: #fff;
  border-color: #173e56;
}
.quiet {
  padding: 6px 10px;
  background: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #499de0;
  outline-offset: 3px;
}
a {
  color: #1b608c;
}
section {
  background: #fff;
  border: 1px solid #dce3e9;
  border-radius: 10px;
  padding: 24px;
  margin: 24px 0;
}
.notice {
  padding: 13px 16px;
  background: #e9f0f5;
  border-left: 3px solid #5d89a5;
  font-size: 13px;
  color: #375266;
}
.notice p {
  margin: 5px 0;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
th {
  color: #647783;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: #f7f9fb;
}
th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8edf1;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.status {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 4px 7px;
  background: #eaf0f4;
  color: #455c6b;
}
.complete {
  background: #e2f3eb;
  color: #24644b;
}
.failed,
.incomplete {
  background: #fbe6e4;
  color: #9a332b;
}
.running {
  background: #e3effc;
  color: #245c94;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
input {
  border: 1px solid #c9d5df;
  border-radius: 6px;
  padding: 10px 12px;
  min-width: 280px;
  font: inherit;
}
.finding {
  padding: 18px 0;
  border-top: 1px solid #e3eaf0;
}
.finding p {
  margin: 4px 0;
}
#error {
  background: #fae6e3;
  color: #8c342b;
  padding: 16px;
  border-radius: 8px;
}
.login {
  max-width: 650px;
  margin: 12vh auto;
}
.login h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 44px 0 20px;
}
.login .button {
  margin: 18px 0;
}
footer {
  font-size: 12px;
  color: #78909f;
  text-align: center;
  padding: 24px;
}
button.primary {
  background: #173e56;
  color: #fff;
  border-color: #173e56;
}
button.primary:hover {
  background: #0f2f44;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 8px 0 20px;
}
.tile {
  background: #fff;
  border: 1px solid #dce3e9;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tile-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #647783;
}
.tile strong {
  font-size: 15px;
  line-height: 1.35;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}
.segmented {
  display: inline-flex;
  border: 1px solid #cdd7df;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.segmented button {
  border: 0;
  border-radius: 0;
  padding: 10px 18px;
}
.segmented button[aria-pressed='true'] {
  background: #173e56;
  color: #fff;
}
.legend {
  font-size: 13px;
  color: #657681;
  margin: 0;
}
.card {
  margin: 16px 0;
}
.card h2 + p {
  margin-top: 4px;
}
.card-muted {
  background: #f9fbfc;
}
.group {
  border: 0;
  border-top: 1px solid #e3eaf0;
  padding: 18px 0 6px;
  margin: 18px 0 0;
  min-width: 0;
}
.group legend {
  font-size: 15px;
  font-weight: 750;
  padding: 0 8px 0 0;
}
.group-intro {
  margin: 6px 0 4px;
  font-size: 13px;
  color: #657681;
}
.option,
.fact {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #eef2f5;
}
.fact {
  grid-template-columns: 1fr;
}
.option input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #173e56;
  min-width: 0;
}
.option.locked {
  color: #536471;
}
.option.locked input {
  accent-color: #8a98a4;
}
.option-body {
  min-width: 0;
}
.option-label {
  display: block;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.5;
}
label.option-label {
  cursor: pointer;
}
.option-text {
  margin: 4px 0;
  font-size: 13px;
  color: #4a5c69;
}
.option-text strong {
  color: #243c4b;
}
.fact-line {
  margin: 2px 0;
  font-size: 13px;
  font-weight: 600;
  color: #243c4b;
}
.chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2px;
  border-radius: 20px;
  padding: 2px 9px;
  vertical-align: 2px;
  white-space: nowrap;
  margin-left: 2px;
}
.chip-live {
  background: #e2f3eb;
  color: #24644b;
}
.chip-locked {
  background: #eaf0f4;
  color: #4a5c69;
}
.chip-planned {
  background: #fff0ce;
  color: #755819;
}
.chip-hint {
  background: #e3effc;
  color: #245c94;
}
.chip-service {
  background: #fff;
  border: 1px solid #cdd7df;
  color: #4a5c69;
}
.fact-line.mono {
  font-weight: 500;
  white-space: pre-wrap;
}
.review {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #173e56;
  color: #fff;
  box-shadow: 0 -6px 24px rgba(23, 62, 86, 0.25);
  z-index: 2;
}
.review-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 4vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.review ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
}
.review .muted {
  color: #c4d4df;
  margin: 8px 0 0;
}
.review-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.review .quiet {
  color: #fff;
  border-color: #5d89a5;
}
.review .primary {
  background: #fff;
  color: #173e56;
  border-color: #fff;
}
.review .primary:hover {
  background: #e7eef4;
}
body.reviewing main {
  padding-bottom: 220px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  header {
    padding: 18px;
    height: auto;
    gap: 20px;
    align-items: flex-start;
  }
  .account {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 11px;
  }
  .brand {
    font-size: 12px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  main {
    padding: 28px 16px;
  }
  section {
    padding: 18px;
  }
  .search {
    align-items: stretch;
    flex-direction: column;
  }
  input {
    min-width: 0;
    width: 100%;
  }
  .login h1 {
    font-size: 35px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .segmented {
    display: flex;
  }
  .segmented button {
    flex: 1;
  }
  .review-inner {
    flex-direction: column;
    padding: 14px 16px;
  }
  .review-actions {
    width: 100%;
  }
  .review-actions button {
    flex: 1;
  }
  body.reviewing main {
    padding-bottom: 280px;
  }
}

/* Service onboarding and assessment guidance. */
.readiness {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e8d39d;
  border-left: 4px solid #b38322;
  border-radius: 12px;
  background: #fffaf0;
}
.readiness.ready {
  background: #effaf4;
  border-color: #bddfcb;
  border-left-color: #24734b;
}
.readiness p {
  margin: 0.35rem 0 0;
  max-width: 760px;
  font-size: 0.92rem;
}
.readiness .inline-actions {
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.9rem;
}
.service-toolbar,
.scan-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}
.service-toolbar label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}
select,
textarea {
  font: inherit;
  background: white;
  color: #18233c;
  border: 1px solid #b9c5d6;
  border-radius: 7px;
  padding: 0.65rem 0.8rem;
  max-width: 100%;
}
.service-toolbar select {
  min-width: 220px;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
#service-overview {
  border: 1px solid #dce3ed;
  border-radius: 12px;
  padding: 0.5rem 1.4rem;
  background: white;
}
#service-facts .facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem 1.4rem;
}
#service-facts dt {
  grid-row: 1;
}
#service-facts dd {
  grid-row: 2;
  margin: 0;
}
.facts dt {
  color: #627087;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.facts dd {
  margin: 0.25rem 0 1rem;
  overflow-wrap: anywhere;
}
.scope-details {
  margin-top: 1rem;
  border-top: 1px solid #e7ecf3;
  padding-top: 1rem;
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: #234d7b;
}
.scope-details p {
  color: #536177;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.scan-toolbar {
  align-items: flex-start;
}
#scan-help {
  font-size: 0.85rem;
  max-width: 690px;
  margin: 0.6rem 0;
}
#dialog-error {
  color: #982c32;
  background: #fff0f0;
  padding: 0.8rem;
  border-radius: 6px;
}
dialog {
  width: min(700px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 1.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  color: #18233c;
  box-shadow: 0 24px 80px #132b4940;
}
dialog::backdrop {
  background: #14223599;
}
dialog h2 {
  margin: 0;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin: 1.2rem 0;
  gap: 0.45rem;
  font-weight: 600;
}
.form-field input {
  width: 100%;
}
.form-field textarea {
  min-height: 92px;
  resize: vertical;
}
.form-field .muted {
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.4rem 0;
}
.check-field input {
  width: 1.1rem;
  height: 1.1rem;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.3rem;
}
.planned-options {
  padding: 1.25rem 0;
}
#category-help {
  font-size: 0.92rem;
}
button:disabled {
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .readiness,
  .service-toolbar,
  .scan-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .readiness {
    padding: 1rem;
  }
  .readiness .inline-actions {
    flex-direction: row;
  }
  .service-toolbar label {
    flex-direction: column;
    align-items: stretch;
  }
  .service-toolbar select {
    width: 100%;
    min-width: 0;
  }
  #service-facts .facts {
    grid-template-columns: 1fr;
  }
  #service-facts dt,
  #service-facts dd {
    grid-row: auto;
  }
  #service-facts dd {
    margin-bottom: 0.8rem;
  }
  #service-overview {
    padding: 0.5rem 1rem;
  }
  dialog {
    padding: 1.1rem;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
}
dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  overflow: hidden;
}
#dialog-content {
  overflow-y: auto;
  padding-right: 0.4rem;
}
#dialog-progress:empty {
  display: none;
}
