:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #10192b;
  color: #e6edf7;
  font-size: 14px;
  --panel: #1c293b;
  --border: #36445a;
  --muted: #9baabe;
  --accent: #28c7dc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at top right, #123357, #121b2d 75%);
  min-height: 100vh;
}
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#app > main,
#app > .layout {
  flex: 1 0 auto;
  width: 100%;
}
a {
  color: #71deeb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  background: #5547e8;
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 650;
  white-space: nowrap;
}
button:hover {
  filter: brightness(1.15);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: #25354c;
  border-color: var(--border);
}
.danger {
  background: #6c2535;
  border-color: #a23b4b;
}
.link {
  background: transparent;
  color: #84dce8;
  padding: 0.3rem;
}
.icon {
  padding: 0.45rem 0.7rem;
  font-size: 1.2rem;
}
.badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 30px;
  background: #35406e;
  color: #ccd4ff;
  font-weight: 700;
}
.credits {
  background: #154340;
  color: #3ed7ab;
}
.muted,
small {
  color: var(--muted);
}
.top {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 3vw;
  border-bottom: 1px solid var(--border);
  background: #1c2838;
  flex-wrap: wrap;
}
.brand {
  font-size: 1.5rem;
  color: #e7edf6;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.brand span {
  color: var(--accent);
}
.spacer {
  flex: 1;
}
.top nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 25px;
  padding: 35px 3vw;
  max-width: 1700px;
  margin: 0 auto;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #1c2838;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  height: max-content;
  position: sticky;
  top: 20px;
}
.sidebar a {
  color: #acb9cb;
  padding: 12px;
  border-radius: 6px;
}
.sidebar a.active {
  background: #303760;
  color: white;
  box-shadow: inset 3px 0 #8d7bff;
}
.sidebar small {
  padding: 10px;
  color: #8490a3;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.content {
  min-width: 0;
}
.panel {
  background: rgba(28, 41, 59, 0.93);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}
.panel.inset {
  background: #142031;
  padding: 18px;
  border-radius: 9px;
}
h1 {
  font-size: 1.8rem;
  letter-spacing: -0.7px;
  margin: 0 0 0.5rem;
}
h2 {
  font-size: 1.2rem;
  margin: 0 0 0.8rem;
}
h3 {
  font-size: 1rem;
  margin: 0 0 0.7rem;
}
p {
  line-height: 1.6;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.row.between {
  justify-content: space-between;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.stats {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}
.site-card {
  background: #172337;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 10px;
}
.site-card h3 {
  overflow-wrap: anywhere;
}
.site-card .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}
.site-card small {
  display: block;
  margin: 7px 0;
}
.grade {
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap;
}
.grade.good {
  color: #32d5a6;
}
.grade.warn {
  color: #ffd445;
}
.grade.bad {
  color: #ff6b75;
}
.grade.unknown {
  color: #a5b4ca;
}
.overall {
  display: inline-flex;
  border: 2px solid currentColor;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-right: 5px;
  flex-shrink: 0;
}
.category {
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
  background: #202e43;
  padding: 12px;
  color: var(--muted);
  font-weight: 400;
  min-width: 0;
}
.category .grade {
  display: block;
  margin-top: 6px;
}
.category.active {
  border-color: #9282ff;
  background: #292e50;
}
.categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0;
}
.finding {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #121f31;
  padding: 14px;
  margin: 10px 0;
}
.finding > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
}
.finding > summary:before {
  content: '›';
  font-size: 1.2rem;
  color: var(--muted);
}
.finding[open] > summary:before {
  transform: rotate(90deg);
}
.severity {
  font-size: 0.68rem;
  font-weight: 750;
}
.CRITICAL,
.HIGH,
.error {
  color: #ff7d87;
}
.MEDIUM,
.warning {
  color: #ffd04a;
}
.LOW {
  color: #79b7ff;
}
.PASS {
  color: #3cd8a8;
}
.NOT_TESTED,
.INFO {
  color: #9daec2;
}
.evidence,
pre {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #0e1726;
  border-radius: 7px;
  padding: 12px;
  max-height: 300px;
  overflow: auto;
}
.notice {
  background: #203647;
  border: 1px solid #287489;
  padding: 14px;
  border-radius: 8px;
  line-height: 1.5;
}
.notice.warning {
  background: #383426;
  border-color: #75622c;
}
.notice.error {
  background: #3b2631;
  border-color: #88404d;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 180px;
}
label {
  font-size: 0.85rem;
  color: #bdc8d8;
}
input,
textarea,
select {
  border: 1px solid #445269;
  background: #101c2d;
  color: #f1f5fb;
  border-radius: 7px;
  padding: 11px;
  width: 100%;
}
input[type='checkbox'] {
  width: 18px;
  min-width: 18px;
  accent-color: #6e65e8;
}
textarea {
  min-height: 95px;
  resize: vertical;
}
form .row {
  align-items: end;
}
form .field {
  margin-bottom: 13px;
}
.form-error {
  color: #ff8d98;
  white-space: pre-wrap;
  margin-bottom: 12px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
.history-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.87rem;
  text-align: left;
}
th {
  color: #9baabe;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 12px 9px;
  white-space: nowrap;
}
td {
  padding: 13px 9px;
  border-top: 1px solid var(--border);
  white-space: nowrap;
}
td.url {
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 170px;
}
.history-group {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.history-group summary {
  cursor: pointer;
  padding: 12px 16px;
  background: #18283d;
  display: flex;
  gap: 14px;
  align-items: center;
  list-style: none;
}
.history-group .summary-ratings {
  display: flex;
  gap: 18px;
  flex: 1;
  justify-content: end;
}
.summary-ratings small {
  font-size: 0.7rem;
  margin-right: 5px;
}
.scans-count {
  font-size: 0.7rem;
  color: #92a3bb;
  white-space: nowrap;
}
.hero {
  max-width: 1050px;
  margin: 70px auto;
  padding: 20px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -2px;
  max-width: 900px;
  margin: 20px auto;
}
.hero p {
  max-width: 640px;
  margin: 25px auto;
  color: #a6b7cc;
  font-size: 1.15rem;
}
.hero .row {
  justify-content: center;
}
.kicker {
  color: #43d0db;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}
.plans {
  max-width: 1150px;
  margin: 30px auto;
  padding: 20px;
}
.price {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 20px 0;
}
.price small {
  font-size: 0.85rem;
  font-weight: 400;
}
.footer {
  border-top: 1px solid var(--border);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 3vw;
  color: #91a2b9;
  font-size: 0.8rem;
  margin-top: 50px;
}
.footer a {
  color: #91a2b9;
}
.loading {
  padding: 70px;
  text-align: center;
  color: #b9c7d8;
}
.narrow {
  max-width: 850px;
  margin: 35px auto;
  padding: 20px;
}
.empty {
  text-align: center;
  color: #a0b0c5;
  padding: 45px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tabs button[aria-selected='true'] {
  background: #6552dc;
}
.tabs button {
  background: #26354c;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #050a16bf;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}
.modal {
  max-width: 700px;
  width: 100%;
  background: #1e2b3d;
  border: 1px solid #61718b;
  border-radius: 14px;
  padding: 25px;
  max-height: 90vh;
  overflow: auto;
}
#toast:not(:empty) {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #24444c;
  border: 1px solid #4dc1cd;
  border-radius: 9px;
  padding: 15px 22px;
  max-width: min(500px, 90vw);
  z-index: 20;
}
progress {
  width: 100%;
  height: 16px;
  accent-color: #25c7d7;
}
.break {
  overflow-wrap: anywhere;
}
.table-mini td {
  padding: 9px;
}
.legal {
  white-space: pre-wrap;
  line-height: 1.8;
}
button.copy {
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: #fff;
  color: #000;
  padding: 12px;
  z-index: 30;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 1100px) {
  .categories {
    grid-template-columns: repeat(3, 1fr);
  }
  .history-group .summary-ratings {
    gap: 10px;
  }
  .summary-ratings small {
    display: block;
  }
}
@media (max-width: 760px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 15px;
  }
  .sidebar {
    position: static;
    flex-direction: row;
    overflow: auto;
    padding: 6px;
  }
  .sidebar small {
    display: none;
  }
  .sidebar a {
    white-space: nowrap;
    padding: 10px;
  }
  .top {
    padding: 14px;
  }
  .top nav {
    gap: 10px;
  }
  .top .user-name {
    display: none;
  }
  .panel {
    padding: 18px;
  }
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .history-group summary {
    flex-wrap: wrap;
  }
  .history-group .summary-ratings {
    justify-content: start;
    flex-basis: 100%;
    gap: 15px;
  }
  .hero {
    margin: 40px auto;
  }
  .narrow {
    padding: 14px;
  }
  .row > * {
    max-width: 100%;
  }
  .site-card .actions {
    gap: 7px;
  }
  .footer {
    margin-top: 20px;
  }
  .summary-ratings small {
    font-size: 0.63rem;
  }
  .summary-ratings .grade {
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .history-group .summary-ratings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
  }
  .summary-ratings > span {
    min-width: 0;
  }
  .summary-ratings small {
    overflow-wrap: anywhere;
    display: block;
  }
}

.finding-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.finding-item > .finding {
  flex: 1;
  min-width: 0;
}
.finding-item > .copy {
  margin-top: 0.75rem;
  flex-shrink: 0;
}
.live-image {
  width: 100%;
  border: 1px solid #36445a;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .finding-item {
    display: block;
  }
  .finding-item > .copy {
    margin-top: 0;
    margin-bottom: 0.8rem;
  }
}

/* Preserve the original Thymeleaf design system while using native Worker APIs. */
:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  --panel: #1f2937;
  --border: #374151;
  --muted: #9ca3af;
  --accent: #22d3ee;
  color: #e5e7eb;
  background: #111827;
}
body {
  background: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #16213e 25%,
    #0f3460 50%,
    #1a1a2e 75%,
    #0a0e27 100%
  );
}
a {
  color: #a5b4fc;
}
button {
  border-radius: 8px;
  background: #4f46e5;
  font-weight: 600;
}
button:hover {
  filter: brightness(1.1);
}
.fas {
  width: 1.05em;
  text-align: center;
  flex-shrink: 0;
}
.cyan {
  color: #22d3ee;
}
.green,
.good {
  color: #34d399;
}
.purple {
  color: #c084fc;
}
.indigo {
  color: #818cf8;
}
.amber,
.warn {
  color: #facc15;
}
.poor {
  color: #fb923c;
}
.bad {
  color: #f87171;
}
.top {
  padding: 0;
  min-height: 72px;
  background: #1f2937;
  border-color: #374151;
  display: block;
}
.top-inner {
  max-width: 1536px;
  min-height: 72px;
  padding: 0 24px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-size: 24px;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #d1d5db;
}
.brand .fas {
  font-size: 24px;
}
.brand span {
  color: inherit;
}
.top .primary-nav {
  align-self: stretch;
  gap: 32px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 2px solid transparent;
  color: #9ca3af;
  padding: 0 2px;
}
.primary-nav a.active {
  border-bottom-color: #9ca3af;
  color: #e5e7eb;
}
.primary-nav a:hover {
  text-decoration: none;
  color: white;
}
.account-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
  font-size: 14px;
}
.account-nav .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 12px;
  padding: 4px 12px;
}
.plan-badge {
  background: #6366f126;
  color: #c7d2fe;
  border: 1px solid #818cf84d;
}
.account-nav .credits {
  font-size: 14px;
  color: #34d399;
  background: #05966930;
}
.feedback-button {
  background: #b4530933;
  color: #fbbf24;
  border: 0;
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.feedback-button .fa-coins {
  font-size: 11px;
}
.bell-button,
.logout-button {
  background: transparent;
  color: #9ca3af;
  padding: 7px 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.bell-button {
  padding: 8px;
}
.logout-button {
  font-size: 14px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 2px solid #6b7280;
  border-radius: 50%;
  background: #79695f;
  color: #e5e7eb;
  font-size: 16px;
}
.admin-link {
  background: #dc2626;
  color: white;
  padding: 9px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.admin-link:hover {
  background: #b91c1c;
  text-decoration: none;
}
.founder {
  color: #fbbf24;
  background: #92400e33;
}
.notification-wrap {
  position: relative;
}
.notification-count {
  position: absolute;
  right: 0;
  top: -3px;
  min-width: 16px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  border-radius: 20px;
  padding: 1px 4px;
}
.notification-popover {
  position: absolute;
  right: 0;
  top: 42px;
  width: 320px;
  max-width: calc(100vw - 28px);
  max-height: 420px;
  overflow: auto;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 9px;
  box-shadow: 0 16px 40px #0007;
  z-index: 50;
  padding: 14px;
}
.notification-popover article {
  padding: 12px 0;
  border-bottom: 1px solid #374151;
}
.notification-popover h3 {
  font-size: 14px;
}
.notification-popover p {
  font-size: 13px;
}
.notification-popover small {
  font-size: 11px;
}
.layout {
  max-width: 1536px;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 24px;
  padding: 48px 24px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  position: static;
  background: none;
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.nav-group {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  overflow: hidden;
}
.nav-group h2 {
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #374151;
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-group h2 .fas {
  font-size: 10px;
  color: #818cf8;
}
.nav-group nav {
  display: flex;
  flex-direction: column;
}
.sidebar .nav-group a {
  padding: 12px 16px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar .nav-group a:hover {
  background: #6366f11a;
  color: white;
  text-decoration: none;
}
.sidebar .nav-group a.active {
  background: #6366f133;
  box-shadow: inset 3px 0 #6366f1;
  color: white;
}
.sidebar .nav-group a .fas {
  width: 16px;
}
.rating-legend {
  padding: 0 16px 12px;
}
.rating-legend h2 {
  padding: 14px 0 6px;
  border: 0;
}
.rating-legend > p {
  font-size: 12px;
  line-height: 1.45;
  color: #9ca3af;
  margin: 5px 0 8px;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  font-size: 12px;
}
.legend-row > strong {
  width: 24px;
  text-align: center;
  font-size: 14px;
}
.legend-row p {
  flex: 1;
  margin: 0;
  line-height: 1.4;
}
.legend-row p span {
  color: #9ca3af;
}
.legend-row b {
  font-weight: 600;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.more-tools summary {
  font-size: 12px;
  padding: 14px 16px;
  color: #9ca3af;
}
.more-tools nav {
  border-top: 1px solid #374151;
}
.panel {
  background: #1f2937e6;
  border: 1px solid #374151;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 12px 24px #0000000d;
}
.panel.inset {
  padding: 18px;
  border-radius: 12px;
  background: #11182780;
}
h1 {
  font-size: 24px;
  letter-spacing: -0.6px;
  line-height: 1.3;
  font-weight: 750;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.5;
}
.muted,
small {
  color: #9ca3af;
}
.panel > .muted,
.page-description {
  font-size: 14px;
  margin: 8px 0 20px;
}
.page-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-title .fas {
  font-size: 24px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  margin: 0 0 18px;
}
.field label {
  font-size: 12px;
  color: #9ca3af;
}
input,
select,
textarea {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #4b5563;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #22d3ee;
  outline-offset: 1px;
}
button[type='submit'] {
  font-size: 14px;
  min-height: 44px;
}
.field {
  min-width: 0;
}
.row > .field {
  flex: 1;
  min-width: 180px;
}
.form-error {
  font-size: 13px;
}
.check {
  font-size: 14px;
}
.badge {
  font-size: 11px;
}
.notice {
  font-size: 13px;
}
.notice.warning {
  background: #eab3080d;
  border: 1px solid #eab3084d;
  color: #fde68a;
}
.notice.error {
  color: #fca5a5;
  background: #ef444414;
}
.notice.success {
  color: #6ee7b7;
  background: #0596691a;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.site-card {
  padding: 18px 16px;
  background: #11182759;
  border: 1px solid #374151;
  border-radius: 12px;
  position: relative;
}
.site-card:hover {
  border-color: #6366f180;
}
.site-card .site-heading {
  align-items: flex-start;
  flex-wrap: nowrap;
}
.site-card h3 {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 3px;
  color: #fff;
}
.site-card .site-address {
  font-size: 12px;
  color: #9ca3af;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.site-card .site-scanned {
  font-size: 11px;
  color: #6b7280;
  display: block;
  margin-top: 5px;
}
.site-card .site-heading > div {
  min-width: 0;
  flex: 1;
}
.site-card .overall {
  width: 48px;
  height: 48px;
  font-size: 17px;
  flex: 0 0 48px;
}
.site-card .site-summary {
  font-size: 12px;
  margin: 13px 0 10px;
}
.site-card .actions {
  margin-top: 12px;
  gap: 8px;
}
.site-card .actions button {
  min-height: 34px;
  padding: 7px;
  font-size: 12px;
  border: 0;
  border-radius: 5px;
}
.site-card .actions button .fas {
  margin-right: 6px;
}
.site-card .actions .scan-lite {
  background: #0891b226;
  color: #67e8f9;
}
.site-card .actions .scan-developer {
  background: #05966926;
  color: #6ee7b7;
}
.site-card .actions .scan-pro {
  background: #6366f126;
  color: #a5b4fc;
}
.site-card .actions .scan-api {
  background: #9333ea33;
  color: #d8b4fe;
}
.site-card .actions .scan-diagnostics {
  grid-column: 1/-1;
  background: #6366f126;
  color: #c7d2fe;
}
.site-card .site-tools {
  position: absolute;
  right: 8px;
  top: 8px;
  border: 0;
  background: none;
  color: #9ca3af;
  padding: 5px;
  font-size: 12px;
}
.site-card .site-report {
  font-size: 12px;
  margin: 14px 0 0;
}
.site-monitoring {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #f59e0b40;
  color: #fde68a;
  background: #f59e0b0d;
  font-size: 12px;
  line-height: 1.4;
}
.site-result {
  font-size: 10px;
  padding: 3px 5px;
  display: inline-flex;
  border: 1px solid #10b98140;
  background: #10b98114;
  color: #34d399;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 16px;
}
.site-result.warning {
  border-color: #f59e0b40;
  color: #fcd34d;
  background: #f59e0b14;
}
.site-add-form {
  padding: 16px;
  margin: 20px 0;
  background: #1118274d;
  border: 1px solid #374151;
  border-radius: 12px;
}
.site-add-form .form-error:empty {
  display: none;
}
.site-add-form .add-site-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 12px;
  align-items: end;
}
.site-add-form .field {
  margin: 0;
}
.site-add-form button {
  background: #9333ea;
  min-height: 46px;
}
.site-add-form .limit-hint {
  font-size: 12px;
  color: #9ca3af;
  margin: 10px 0 0;
}
.scan-page.mode-LITE {
  --scan-color: #22d3ee;
  --scan-background: #0891b2;
}
.scan-page.mode-DEVELOPER {
  --scan-color: #34d399;
  --scan-background: #059669;
}
.scan-page.mode-PRO {
  --scan-color: #818cf8;
  --scan-background: #4f46e5;
}
.scan-page.mode-API,
.scan-page.mode-DIAGNOSTICS {
  --scan-color: #c084fc;
  --scan-background: #7c3aed;
}
.scan-page .page-title > .fas {
  color: var(--scan-color);
}
.scan-price {
  color: var(--scan-color);
  background: color-mix(in srgb, var(--scan-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--scan-color) 25%, transparent);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 12px;
  white-space: nowrap;
}
.scan-price .fa-coins {
  font-size: 10px;
  color: #facc15;
}
.scan-coverage {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 22px;
}
.scan-coverage span {
  font-size: 11px;
  background: #37415180;
  color: #9ca3af;
  border: 1px solid #4b55634d;
  border-radius: 30px;
  padding: 3px 8px;
}
.scan-coverage span:first-child {
  color: var(--scan-color);
  background: color-mix(in srgb, var(--scan-color) 10%, transparent);
  border-color: color-mix(in srgb, var(--scan-color) 25%, transparent);
}
.scan-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 18px 0 8px;
}
.scan-toolbar .field {
  flex: 1;
  margin: 0;
}
.scan-toolbar select {
  min-height: 58px;
}
.scan-toolbar button {
  min-height: 58px;
  background: var(--scan-background);
  font-size: 18px;
  font-weight: 700;
  padding: 12px 26px;
}
.scan-toolbar button .fas {
  margin-right: 8px;
}
.scan-page .scan-options {
  margin-top: 20px;
}
.scan-page .scan-options .finding {
  background: #11182740;
}
.scan-options > summary {
  font-size: 13px;
  color: #9ca3af;
}
.trial-meter {
  border: 1px solid #22d3ee66;
  border-radius: 12px;
  background: #0891b21a;
  padding: 16px;
  margin: 18px 0;
}
.trial-meter h2 {
  font-size: 18px;
  margin: 4px 0;
}
.trial-meter p {
  font-size: 13px;
  margin: 5px 0;
}
.trial-meter meter {
  display: block;
  width: 100%;
  height: 14px;
  margin-top: 14px;
  accent-color: #22d3ee;
}
.scan-queue {
  margin-top: 24px;
}
.queue-row {
  padding: 15px 16px;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #11182780;
  margin-top: 12px;
  font-size: 14px;
}
.queue-row .status-pill {
  margin-left: auto;
}
.queue-row.failed {
  border-color: #ef44444d;
}
.upgrade-panel {
  background: #6366f10d;
  border: 1px solid #6366f14d;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.upgrade-panel h2 {
  font-size: 18px;
}
.upgrade-panel p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 0;
}
.upgrade-panel button {
  flex-shrink: 0;
}
.status-pill {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #37415180;
  color: #d1d5db;
}
.status-pill.success {
  background: #05966926;
  color: #6ee7b7;
}
.status-pill.error {
  background: #dc262626;
  color: #fca5a5;
}
.status-pill.warning {
  background: #d9770626;
  color: #fde68a;
}
.history-wrap {
  border: 1px solid #374151;
  border-radius: 9px;
}
table {
  font-size: 13px;
}
th {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #11182780;
  color: #9ca3af;
}
td {
  overflow-wrap: anywhere;
}
td .secondary {
  font-size: 12px;
  padding: 6px 10px;
}
.table-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.record-details {
  margin: 0;
}
.record-details summary {
  font-size: 12px;
  color: #a5b4fc;
}
.record-fields {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 2fr;
  gap: 9px 16px;
  font-size: 13px;
}
.record-fields dt {
  color: #9ca3af;
}
.record-fields dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin-heading {
  margin-bottom: 24px;
}
.admin-heading h1 {
  font-size: 30px;
}
.stat-card {
  padding: 22px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
}
.stat-card p {
  font-size: 13px;
  color: #9ca3af;
  margin: 0 0 10px;
}
.stat-card strong {
  font-size: 28px;
  line-height: 1;
}
.stat-card .fas {
  float: right;
  font-size: 26px;
}
.stats {
  margin-bottom: 24px;
}
.admin-content h2 {
  font-size: 20px;
  margin: 25px 0 15px;
}
.admin-toolbar {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: end;
  margin: 20px 0;
}
.admin-toolbar input {
  max-width: 340px;
}
.application-header {
  margin-bottom: 25px;
}
.application-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 24px;
}
.application-header h1 {
  font-size: 30px;
  margin-bottom: 7px;
}
.application-workspace .panel {
  padding: 24px;
}
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.section-links a {
  font-size: 13px;
  padding: 10px 14px;
  background: #6366f126;
  border: 1px solid #6366f14d;
  border-radius: 7px;
}
.page-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.page-pills a {
  padding: 7px 12px;
  border: 1px solid #4b5563;
  border-radius: 6px;
  font-size: 13px;
}
.page-pills a.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: white;
}
.landing-hero {
  max-width: 1240px;
  margin: 48px auto 24px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(79, 70, 229, 0.14);
  color: #c7d2fe;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.landing-eyebrow .fas {
  color: #818cf8;
}
.landing-hero h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.8px;
  margin: 16px 0 18px;
}
.landing-hero-copy > p {
  font-size: 19px;
  line-height: 1.55;
  color: #c3cfdf;
  max-width: 600px;
  margin: 0 0 28px;
}
.landing-hero .home-scan {
  max-width: none;
  margin: 0;
  padding: 22px 24px;
}
.landing-hero .home-scan h2 {
  font-size: 20px;
  text-align: left;
}
.landing-hero .home-scan > .muted {
  text-align: left;
  margin-bottom: 16px;
}
.landing-assurances {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 13px;
}
.landing-assurances .fas {
  color: #34d399;
  margin-right: 4px;
}
.landing-hero-art {
  margin: 0;
}
/* The artwork sits on dark navy; lighten keeps the page gradient wherever the art is darker. */
.landing-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%);
  animation: landing-float 8s ease-in-out infinite;
}
@keyframes landing-float {
  50% {
    transform: translateY(-8px);
  }
}
#scan-progress:empty {
  display: none;
}
.landing-section {
  max-width: 1240px;
  margin: 64px auto;
  padding: 0 24px;
}
.landing-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.landing-section-head.left {
  text-align: left;
  margin: 0 0 20px;
}
.landing-section-head h2 {
  font-size: 30px;
  letter-spacing: -0.6px;
  margin: 8px 0 10px;
}
.landing-section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.landing-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.landing-area.panel {
  margin: 0;
  padding: 22px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.landing-area.panel:hover {
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}
.landing-area h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 10px;
}
.landing-area-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(79, 70, 229, 0.18);
  color: #a5b4fc;
}
.landing-area p,
.landing-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.landing-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.landing-steps li.panel {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 18px 20px;
}
.landing-steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #4f46e5, #0891b2);
}
.landing-steps h3 {
  font-size: 16px;
  margin: 0 0 4px;
}
.landing-sample.panel {
  margin: 0;
  padding: 24px;
}
.landing-sample-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}
.landing-sample-head h3 {
  margin: 0;
  font-size: 18px;
}
.landing-sample-head p {
  margin: 2px 0 0;
}
.landing-sample-grades {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.landing-sample-grades li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #202e43;
  color: var(--muted);
}
.landing-cta.panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  margin-bottom: 24px;
  background: linear-gradient(120deg, rgba(79, 70, 229, 0.28), rgba(8, 145, 178, 0.18)), rgba(28, 41, 59, 0.93);
  border-color: rgba(99, 102, 241, 0.45);
}
.landing-cta h2 {
  font-size: 24px;
  margin: 0 0 6px;
}
.landing-cta p {
  margin: 0;
}
.landing-cta button {
  background: #059669;
  padding: 0.85rem 1.3rem;
}
.home-scan {
  max-width: 1024px;
  margin: 0 auto 35px;
  padding: 28px 32px;
  text-align: left;
}
.home-scan h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}
.home-scan > .muted {
  text-align: center;
  margin-bottom: 25px;
}
.home-scan .scan-toolbar {
  --scan-background: #059669;
  align-items: center;
}
.home-scan form .field {
  margin: 0;
}
.home-scan input {
  min-height: 58px;
}
@media (max-width: 1020px) {
  .landing-hero,
  .landing-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-hero-art {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
  .landing-areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.plan-card .plan-features {
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 2.2;
}
.plan-features .fas {
  font-size: 12px;
  color: #34d399;
  margin-right: 9px;
}
.plan-card.current {
  border-color: #818cf8;
}
.plan-card button {
  width: 100%;
  margin-top: 8px;
}
.plan-card .price {
  font-size: 36px;
}
.plan-card .price small {
  font-size: 14px;
}
.plans h1 {
  font-size: 32px;
}
.empty .fas {
  display: block;
  font-size: 36px;
  margin: 0 auto 16px;
  color: #6b7280;
}
.feedback-modal textarea {
  min-height: 140px;
}
.footer {
  font-size: 12px;
  border-color: #374151;
  background: #11182740;
}
.footer a {
  color: #9ca3af;
}
.notification-popover[hidden] {
  display: none;
}
@media (min-width: 1700px) {
  .layout,
  .top-inner {
    max-width: 1700px;
  }
}
@media (max-width: 1250px) {
  .account-nav {
    gap: 10px;
  }
  .top-inner {
    gap: 20px;
  }
  .account-nav .user-name {
    display: none;
  }
  .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1020px) {
  .top .primary-nav {
    gap: 18px;
  }
  .account-nav .avatar,
  .account-nav .founder {
    display: none;
  }
  .top-inner {
    gap: 16px;
    padding: 0 18px;
  }
  .layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
    padding: 32px 20px;
  }
  .panel {
    padding: 24px;
  }
  .top .brand {
    font-size: 21px;
  }
  .site-add-form .add-site-row {
    grid-template-columns: 1fr 1fr;
  }
  .site-add-form button {
    grid-column: 1/-1;
  }
  .feedback-button span {
    display: none;
  }
}
@media (max-width: 760px) {
  .top-inner {
    min-height: 66px;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 14px;
  }
  .top .brand {
    font-size: 20px;
  }
  .brand .fas {
    font-size: 22px;
  }
  .top .primary-nav {
    display: none;
  }
  .account-nav {
    gap: 9px;
    flex: 1;
  }
  .account-nav .badge {
    padding: 4px 8px;
    font-size: 10px;
  }
  .account-nav .credits {
    font-size: 11px;
  }
  .credit-word,
  .admin-link span,
  .logout-button span {
    display: none;
  }
  .admin-link {
    padding: 7px 9px;
  }
  .feedback-button {
    padding: 6px 8px;
  }
  .bell-button {
    padding: 6px 0;
  }
  .logout-button {
    padding: 6px 0;
  }
  .account-nav .plan-badge {
    display: none;
  }
  .layout {
    display: block;
    padding: 22px 14px;
  }
  .sidebar {
    position: static;
    display: block;
    overflow: visible;
    padding: 0;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .sidebar > .nav-group {
    margin-bottom: 9px;
  }
  .nav-group h2 {
    display: none;
  }
  .nav-group nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .sidebar .nav-group a {
    padding: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12px;
    gap: 6px;
  }
  .sidebar .nav-group a.active {
    box-shadow: inset 0 -3px #6366f1;
  }
  .rating-legend,
  .sidebar .more-tools {
    display: none;
  }
  .panel {
    padding: 22px 18px;
    border-radius: 13px;
  }
  .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .site-card {
    padding: 16px 12px;
  }
  .site-card .site-heading {
    gap: 9px;
  }
  .site-card .overall {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .site-card .site-scanned {
    font-size: 10px;
  }
  .site-card .actions {
    gap: 7px;
  }
  .site-card .actions button {
    font-size: 11px;
  }
  .site-card .actions button .fas {
    margin-right: 3px;
  }
  .site-card .site-result {
    font-size: 9px;
  }
  .site-add-form .add-site-row {
    grid-template-columns: 1fr;
  }
  .site-add-form .field {
    margin-bottom: 5px;
  }
  .scan-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .scan-toolbar .field {
    min-width: 0;
  }
  .scan-toolbar button {
    font-size: 16px;
    min-height: 50px;
  }
  .scan-toolbar select {
    min-height: 50px;
  }
  .home-scan .scan-toolbar {
    align-items: stretch;
  }
  .home-scan input {
    min-height: 50px;
  }
  .scan-price {
    font-size: 11px;
  }
  .upgrade-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .landing-hero {
    margin-top: 32px;
    padding: 0 14px;
    gap: 24px;
  }
  .landing-hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .landing-hero-copy > p {
    font-size: 16px;
  }
  .home-scan {
    margin: 0 14px 24px;
    padding: 22px 18px;
  }
  .landing-hero .home-scan {
    padding: 20px 16px;
  }
  .home-scan h2 {
    font-size: 21px;
  }
  .landing-section {
    margin: 44px auto;
    padding: 0 14px;
  }
  .landing-section-head h2 {
    font-size: 24px;
  }
  .landing-areas,
  .landing-sample-grades {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-cta.panel {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
  }
  .landing-cta button {
    width: 100%;
  }
  .application-header h1 {
    font-size: 24px;
  }
  .application-workspace .panel {
    padding: 20px;
  }
  .admin-heading h1 {
    font-size: 26px;
  }
  .admin-navigation nav {
    max-height: none;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .record-fields {
    grid-template-columns: 1fr;
  }
  .record-fields dd {
    margin-bottom: 9px;
  }
  .footer {
    padding: 18px 14px;
    gap: 12px;
  }
  .categories {
    gap: 8px;
  }
  .category {
    padding: 12px;
    font-size: 12px;
  }
}
@media (max-width: 530px) {
  .site-grid {
    grid-template-columns: 1fr;
  }
  .account-nav {
    gap: 8px;
  }
  .top-inner {
    gap: 7px;
  }
  .top .brand {
    font-size: 18px;
  }
  .brand .fas {
    font-size: 20px;
  }
  .account-nav .credits {
    padding: 4px 7px;
  }
  .account-nav .credits .fas {
    display: none;
  }
  .site-card {
    padding: 18px 16px;
  }
  .site-card .overall {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .site-card .actions button {
    font-size: 12px;
  }
  .site-card .site-result {
    font-size: 10px;
  }
  .site-card .site-scanned {
    font-size: 11px;
  }
  .site-card .site-address {
    max-width: 230px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.caption {
  font-size: 12px;
}
.data-list {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
}
.data-list dt {
  color: #9ca3af;
}
.data-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.action-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.app-link {
  font-size: 13px;
}
.credentials-empty {
  padding: 48px 20px;
  text-align: center;
}
.credentials-empty > .fas {
  font-size: 56px;
  color: #6b7280;
  margin-bottom: 22px;
}
.credentials-empty h2 {
  font-size: 18px;
}
.credential-card {
  padding: 18px;
  border: 1px solid #374151;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}
.credential-card p {
  margin: 0;
}
.credential-card small {
  display: block;
  margin-top: 5px;
}
.section-description {
  font-size: 14px;
  color: #9ca3af;
  margin: 8px 0 20px;
}
.legacy-notice {
  font-size: 12px;
  color: #9ca3af;
  padding: 10px 0;
}
.price small {
  font-size: 14px;
}
.app-workspace-body {
  min-width: 0;
}
.scan-options label {
  display: block;
}
.scan-options label.check {
  display: flex;
}
.status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.status-filters button {
  font-size: 12px;
  padding: 7px 11px;
}
.record-fields small {
  font-size: 12px;
}
@media (max-width: 760px) {
  .account-nav .plan-badge {
    display: inline-flex;
  }
  .top-inner {
    align-items: center;
  }
  .account-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  .top-inner .brand {
    align-self: center;
  }
  .data-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .data-list dd {
    margin-bottom: 12px;
  }
  .record-fields {
    grid-template-columns: 1fr;
  }
  .credentials-empty {
    padding: 30px 10px;
  }
}
.billing-switch {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 24px auto;
  border: 1px solid #4b5563;
  border-radius: 9px;
  overflow: hidden;
  width: max-content;
  max-width: 100%;
}
.billing-switch button {
  border-radius: 0;
  border: 0;
  font-size: 13px;
}
.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.landing-links {
  justify-content: center;
  gap: 24px;
}
.site-tree {
  list-style: none;
  font-size: 14px;
  padding: 8px 0;
  line-height: 2.2;
}
.site-tree ul {
  list-style: none;
  padding-left: 30px;
  border-left: 1px solid #4b5563;
  margin-left: 8px;
}
.site-tree .fas {
  margin-right: 8px;
  color: #a78bfa;
}
.scan-options > .check {
  margin-top: 15px;
}
.scan-options .field {
  margin: 12px 0;
}
.credential-upload input[type='file'] {
  max-width: 100%;
}
@media (max-width: 1020px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

.batch-options label.check[hidden] {
  display: none;
}
.evidence-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.queue-entry .row {
  margin-bottom: 0.5rem;
}
/* Growth: anonymous scan, monitoring, badges, tools, blog, funnel */
.scan-live h2 .spin,
.spin {
  animation: spin 1.2s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.scan-progress-bar {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #25354c;
  accent-color: var(--accent);
}
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5547e8;
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 650;
  white-space: nowrap;
}
.button-link:hover {
  text-decoration: none;
  filter: brightness(1.15);
}
.plan-card.featured {
  border-color: #5547e8;
  box-shadow: 0 0 0 1px #5547e855;
}
.plan-audience {
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0 0;
}
.plan-headline {
  font-weight: 700;
  margin: -8px 0 10px;
}
.pricing-faq {
  max-width: 820px;
  margin: 30px auto 0;
}
.pricing-faq h2 {
  margin-top: 0;
}
.monitor-panel {
  border-left: 4px solid var(--accent);
}
.monitor-panel.on {
  border-left-color: #35c98b;
}
.monitor-panel.upsell {
  border-left-color: #f0b23c;
}
.monitor-panel h2 {
  font-size: 18px;
  margin: 0 0 6px;
}
.monitor-panel p {
  margin: 0;
  color: #c3cfdf;
}
.monitor-panel .row.between {
  gap: 20px;
  align-items: center;
}
.monitor-panel .row.between > .row {
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.changes-panel {
  border-left: 4px solid #6b7a90;
}
.changes-panel.regressed {
  border-left-color: #e0526b;
}
.changes-panel.improved {
  border-left-color: #35c98b;
}
.changes-panel.mixed {
  border-left-color: #f0b23c;
}
.changes-panel h2 {
  font-size: 17px;
  margin: 0;
}
.changes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.changes-grid h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 6px;
}
.changes-grid ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.changes-grid li {
  padding: 4px 0;
  border-bottom: 1px solid #ffffff10;
}
.share-panel summary {
  display: flex;
  gap: 14px;
  align-items: baseline;
  cursor: pointer;
  list-style: none;
}
.share-panel summary::-webkit-details-marker {
  display: none;
}
.share-panel summary h2 {
  font-size: 17px;
  margin: 0;
}
.share-body {
  margin-top: 16px;
}
.share-body img {
  display: block;
  margin-bottom: 10px;
}
.share-snippets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.share-snippets textarea {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.share-snippets .field button {
  margin-top: 6px;
}
.tools .landing-section-head {
  margin-bottom: 26px;
}
.tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 28px;
}
.tool-card h2 {
  font-size: 18px;
  margin: 0 0 6px;
}
.tool-question {
  font-weight: 650;
  color: #d9e3f1;
}
.tool-cta {
  margin-top: 20px;
}
.tools .home-scan {
  margin: 0 0 20px;
}
.badge-page .landing-sample-head h1 {
  font-size: 1.6rem;
  margin: 0;
}
.badge-page .landing-sample-grades {
  margin-top: 20px;
}
.blog-index .panel h2 {
  margin: 0 0 4px;
  font-size: 20px;
}
.blog-post .prose {
  line-height: 1.75;
  font-size: 15.5px;
}
.blog-post .prose h2 {
  margin: 30px 0 10px;
  font-size: 22px;
}
.blog-post .prose h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}
.blog-post .prose p {
  margin: 0 0 16px;
}
.blog-post .prose ul,
.blog-post .prose ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.blog-post .prose li {
  margin-bottom: 6px;
}
.blog-post .prose pre {
  background: #0f1726;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  overflow: auto;
  font-size: 13px;
}
.blog-post .prose code {
  background: #0f1726;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.92em;
}
.blog-post .prose pre code {
  background: none;
  padding: 0;
}
.blog-cta {
  margin-top: 36px;
}
.landing-cta .button-link {
  flex-shrink: 0;
}
.funnel-range {
  gap: 8px;
  margin: 0 0 18px;
}
.funnel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.funnel-row {
  display: grid;
  grid-template-columns: 240px 1fr 150px;
  gap: 16px;
  align-items: center;
}
.funnel-label small,
.funnel-count small {
  display: block;
  font-size: 12px;
}
.funnel-bar {
  height: 22px;
  background: #1f2937;
  border-radius: 6px;
  overflow: hidden;
}
.funnel-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5547e8, #28c7dc);
  border-radius: 6px;
}
.funnel-count {
  text-align: right;
}
.funnel-count strong {
  font-size: 20px;
}
.funnel-tables {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.funnel-tables h3 {
  margin: 0 0 8px;
}
@media (max-width: 760px) {
  .funnel-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .funnel-count {
    text-align: left;
  }
  .monitor-panel .row.between {
    flex-direction: column;
    align-items: stretch;
  }
  .monitor-panel .row.between > .row {
    justify-content: flex-start;
  }
}
/* Report page */
.report-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 44px;
  display: grid;
  gap: 18px;
}
.content .report-page {
  max-width: none;
  padding: 0;
}
.report-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.report-head-main .kicker {
  display: block;
  margin-bottom: 10px;
}
.report-title {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0 0 16px;
}
.report-title h1 {
  font-size: 32px;
  margin: 0 0 2px;
  letter-spacing: -0.8px;
}
.report-title p {
  margin: 0;
  font-size: 13px;
}
.grade.overall.hero {
  width: 84px;
  height: 84px;
  font-size: 2.1rem;
  border-width: 3px;
  margin: 0;
  box-shadow: 0 0 0 8px currentColor;
  box-shadow: 0 0 0 10px color-mix(in srgb, currentColor 12%, transparent);
}
.report-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.report-stats .stat {
  background: #111827aa;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  color: #d9e3f1;
}
.report-stats .stat.good {
  color: #32d5a6;
  border-color: #32d5a655;
}
.report-stats .stat.warn {
  color: #ffd445;
  border-color: #ffd44555;
}
.report-stats .stat.bad {
  color: #ff6b75;
  border-color: #ff6b7555;
}
.report-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.button-link.secondary {
  background: #25354c;
  border: 1px solid var(--border);
}
.report-shot {
  margin: 0;
  border: 1px solid #4b5a73;
  border-radius: 12px;
  overflow: hidden;
  background: #0f1726;
  box-shadow: 0 18px 40px #00000066;
  aspect-ratio: 16 / 10;
}
.report-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.report-head .categories {
  margin: 22px 0 0;
}
.category {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
}
.category-label {
  font-size: 13px;
  color: #c3cfdf;
  line-height: 1.3;
}
.category .grade {
  font-size: 1.45rem;
  margin-top: 4px;
}
.category small {
  font-size: 11.5px;
  color: #8f9db2;
}
.category.active .category-label {
  color: #fff;
}
.coverage-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #28c7dc12;
  border: 1px solid #28c7dc44;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 16px 0 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d9e3f1;
}
.coverage-strip .fas {
  color: var(--accent);
  margin-top: 3px;
}
.rating-method {
  margin-top: 12px;
}
.rating-method summary {
  cursor: pointer;
  font-size: 13px;
}
.rating-method p {
  font-size: 13px;
  margin: 8px 0 0;
}
.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.cta-card .kicker {
  display: block;
  margin-bottom: 6px;
}
.cta-copy h2 {
  font-size: 20px;
}
.cta-copy p {
  color: #c3cfdf;
  max-width: 62ch;
}
.cta-perks {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  font-size: 13.5px;
  color: #d9e3f1;
}
.cta-perks li:before {
  content: '✓';
  color: #32d5a6;
  margin-right: 8px;
  font-weight: 700;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 250px;
  text-align: center;
}
.cta-actions .caption {
  margin: -2px 0 0;
}
.secondary-link {
  font-size: 13.5px;
}
.google-sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #1f2937;
  font-weight: 650;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid #d7deea;
  white-space: nowrap;
  line-height: 1.2;
}
.google-sign-in:hover {
  text-decoration: none;
  filter: brightness(0.95);
}
.google-sign-in svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.google-sign-in.large {
  padding: 0.9rem 1.3rem;
  font-size: 15px;
}
.top .google-sign-in {
  font-size: 13.5px;
}
@media (max-width: 1020px) {
  .report-head-grid {
    grid-template-columns: 1fr;
  }
  .report-shot {
    max-width: 480px;
  }
  .report-head .categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cta-card {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 600px) {
  .report-page {
    padding: 16px 12px 36px;
  }
  .report-title {
    gap: 14px;
  }
  .report-title h1 {
    font-size: 22px;
  }
  .grade.overall.hero {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
  }
  .report-head .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-perks {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    min-width: 0;
    width: 100%;
  }
}
