:root {
  --visual-ink: #18251f;
  --visual-muted: #667169;
  --visual-cream: #f7f1e7;
  --visual-paper: #fffdf8;
  --visual-green: #214f3b;
  --visual-green-dark: #16392a;
  --visual-lime: #d6f36a;
  --visual-coral: #ff7a59;
  --visual-line: #ded8cc;
}

/* Full-bleed dark screens already provide their own bottom spacing. */
main:has(> .bearsevenscout-dashboard),
main:has(> .client-directory),
main:has(> .client-site-detail),
main:has(> .visual-import),
main:has(> .visual-check-list),
main:has(> .visual-check-details),
main:has(> .visual-check-edit),
main:has(> .browser-extension-page),
main:has(> .bearsevenscout-login) {
  padding-bottom: 0 !important;
}

main:has(> .srp-auto-page) {
  padding-bottom: 0 !important;
}

main:has(> .reporting-dashboard) {
  padding-bottom: 0 !important;
}

.bearsevenscout-shell-nav {
  min-height: 66px;
  border-bottom: 1px solid #2d3c35;
  background: rgba(12, 18, 15, .98);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
}
.bearsevenscout-shell-nav .container-fluid { max-width: 1220px; padding-inline: clamp(1rem, 3vw, 2rem); }
.bearsevenscout-shell-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-right: 2rem;
  color: #f4f1e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
.bearsevenscout-shell-nav .navbar-brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-wordmark { display: inline-flex; align-items: baseline; letter-spacing: -.045em; line-height: 1; }
.brand-wordmark > span { font-size: 1.08rem; font-weight: 770; }
.brand-wordmark > strong { margin-left: .18rem; color: #d6f36a; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; font-weight: 600; }
.bearsevenscout-shell-nav .navbar-brand:hover,
.bearsevenscout-shell-nav .navbar-brand:focus { color: #f4f1e8; }
.bearsevenscout-shell-nav .navbar-brand:hover .brand-wordmark > strong,
.bearsevenscout-shell-nav .navbar-brand:focus .brand-wordmark > strong { color: #efffa6; }
.bearsevenscout-shell-nav .nav-link,
.bearsevenscout-shell-nav .btn-link.nav-link {
  border-radius: 999px;
  padding: .48rem .78rem;
  color: #b8c2bc;
  font-size: .88rem;
  font-weight: 720;
  text-decoration: none;
}
.bearsevenscout-shell-nav .nav-link:hover,
.bearsevenscout-shell-nav .nav-link:focus,
.bearsevenscout-shell-nav .btn-link.nav-link:hover { background: #1b2922; color: #f4f1e8; }
.bearsevenscout-shell-nav .navbar-toggler { border-color: #405149; }
.bearsevenscout-shell-nav .navbar-toggler-icon { filter: invert(1) opacity(.78); }
.bearsevenscout-shell-nav .dropdown-menu {
  border: 1px solid #34463d;
  border-radius: 14px;
  padding: .5rem;
  background: #17221d;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .32);
}
.bearsevenscout-shell-nav .dropdown-item { border-radius: 9px; color: #d7ded9; }
.bearsevenscout-shell-nav .dropdown-item:hover,
.bearsevenscout-shell-nav .dropdown-item:focus { background: #263a30; color: #fff; }
.bearsevenscout-shell-nav .dropdown-divider { border-color: #34463d; }
.bearsevenscout-shell-nav .dropdown-header { color: #829087 !important; }

.footer.bearsevenscout-shell-footer {
  border-top: 1px solid #2d3c35;
  background: #0c120f;
  color: #8f9d95;
  line-height: 1.4;
}
.bearsevenscout-footer-inner {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
}
.bearsevenscout-shell-footer a { color: #cde96a; text-decoration: none; }
.bearsevenscout-shell-footer a:hover { color: #fff; }
.bearsevenscout-footer-note { color: #68776f; }

@media (max-width: 575px) {
  .bearsevenscout-shell-nav .navbar-collapse { padding: .75rem 0; }
  .bearsevenscout-footer-note { display: none; }
}

.visual-import,
.visual-check-list,
.visual-check-details {
  color: var(--visual-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.visual-import {
  position: relative;
  margin: -1rem calc(50% - 50vw) 0;
  min-height: calc(100vh - 110px);
  padding: clamp(2rem, 5vw, 5rem) max(1.25rem, calc((100vw - 1120px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(214, 243, 106, .48), transparent 23rem),
    radial-gradient(circle at 4% 38%, rgba(255, 122, 89, .12), transparent 25rem),
    var(--visual-cream);
}

.visual-import::before {
  position: absolute;
  right: -80px;
  top: 210px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(33, 79, 59, .14);
  border-radius: 48% 52% 61% 39%;
  content: "";
  transform: rotate(18deg);
}

.visual-hero {
  position: relative;
  max-width: 800px;
  margin-bottom: 2.2rem;
}

.visual-kicker,
.visual-eyebrow,
.visual-card-heading > div > span {
  color: var(--visual-green);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.visual-hero h1 {
  max-width: 760px;
  margin: .45rem 0 .8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}

.visual-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--visual-muted);
  font-size: 1.08rem;
}

.visual-waiting,
.visual-error {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 760px;
  border: 1px solid var(--visual-line);
  border-radius: 24px;
  padding: 1.4rem;
  background: rgba(255, 253, 248, .8);
  box-shadow: 0 24px 70px rgba(38, 45, 40, .08);
}

.visual-waiting[hidden],
.visual-error[hidden],
.visual-editor[hidden],
.visual-test-results[hidden] {
  display: none;
}

.visual-waiting h2,
.visual-error h2 { margin: 0 0 .2rem; font-size: 1.1rem; }
.visual-waiting p,
.visual-error p { margin: 0; color: var(--visual-muted); }

.visual-orbit,
.visual-status-icon {
  display: grid;
  flex: 0 0 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--visual-green);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.visual-orbit span {
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: var(--visual-lime);
  border-radius: 50%;
  animation: visual-spin .8s linear infinite;
}

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

.visual-editor { position: relative; }

.visual-summary-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  background: var(--visual-green);
  color: #fff;
}

.visual-summary-mark,
.destination-mark {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--visual-lime);
  color: var(--visual-green-dark);
  font-weight: 900;
}

.visual-summary-card h2 { margin: .15rem 0; font-size: 1.2rem; }
.visual-summary-card a { color: rgba(255,255,255,.72); font-size: .82rem; }
.visual-summary-card .visual-eyebrow { color: var(--visual-lime); }

.visual-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1rem;
}

.visual-card {
  position: relative;
  border: 1px solid var(--visual-line);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--visual-paper);
  box-shadow: 0 18px 55px rgba(42, 48, 44, .07);
}

.visual-step {
  position: absolute;
  right: 1.25rem;
  top: 1.15rem;
  color: rgba(33, 79, 59, .1);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.visual-card-heading { position: relative; margin-bottom: 1.2rem; }
.visual-card-heading h2 { margin: .18rem 0 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.visual-card-heading p { margin: .35rem 0 0; color: var(--visual-muted); }

.visual-field { display: block; margin-top: 1rem; }
.visual-field > span { display: block; margin-bottom: .42rem; font-weight: 750; }
.visual-field small { color: var(--visual-muted); font-weight: 400; }
.visual-field input,
.visual-field textarea,
.visual-field select {
  width: 100%;
  border: 1px solid #cbc5ba;
  border-radius: 12px;
  padding: .78rem .9rem;
  background: #fff;
  color: var(--visual-ink);
  font: inherit;
}
.visual-field input:focus,
.visual-field textarea:focus,
.visual-field select:focus { border-color: var(--visual-green); outline: 3px solid rgba(33,79,59,.12); }

.visual-choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.visual-radio,
.visual-toggle {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  border: 1px solid var(--visual-line);
  border-radius: 14px;
  padding: .8rem;
  cursor: pointer;
}
.visual-radio:has(input:checked) { border-color: var(--visual-green); background: #f0f6ed; }
.visual-radio input,
.visual-toggle input { margin-top: .18rem; accent-color: var(--visual-green); }
.visual-radio span,
.visual-toggle span { display: grid; }
.visual-radio small,
.visual-toggle small { color: var(--visual-muted); font-size: .75rem; }

.visual-destination { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; border-radius: 16px; padding: .85rem; background: #f2f4ee; }
.visual-destination > div:last-child { display: grid; }
.visual-destination small { color: var(--visual-muted); overflow-wrap: anywhere; }
.destination-mark.is-new { background: #ffe0d7; color: #8d321d; }
.visual-toggle { margin-top: .7rem; background: #fff; }

.visual-test-card { margin-top: 1rem; overflow: hidden; }
.visual-test-heading {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding-right: 5.25rem;
}

.visual-button {
  border: 0;
  border-radius: 999px;
  padding: .78rem 1.25rem;
  background: var(--visual-green);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.visual-button:hover { background: var(--visual-green-dark); transform: translateY(-1px); }
.visual-button:disabled { cursor: wait; opacity: .68; transform: none; }
.visual-button-test {
  min-width: 172px;
  background: var(--visual-coral);
  color: #241813;
  box-shadow: 0 10px 28px rgba(255, 122, 89, .18);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.visual-button-test:hover,
.visual-button-test:focus-visible {
  background: #ff967c;
  color: #160d0a;
}
.visual-button-primary { min-width: 150px; background: var(--visual-lime); color: var(--visual-green-dark); }

.visual-test-results { margin-top: 1rem; border-radius: 16px; padding: 1rem; background: #fff2ee; }
.visual-test-results.is-pass { background: #eaf5e8; }
.visual-test-results.is-warning { background: #fff7d9; }
.test-summary { display: flex; align-items: center; gap: .75rem; }
.test-summary > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--visual-coral); font-weight: 900; }
.is-pass .test-summary > span { background: var(--visual-lime); }
.is-warning .test-summary > span { background: #e5c769; }
.test-summary > div { display: grid; }
.test-summary small { color: var(--visual-muted); }
.viewport-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .55rem; margin-top: .85rem; }
.viewport-result { display: grid; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: .7rem; background: rgba(255,255,255,.68); }
.viewport-result > span { color: #9a3a24; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.viewport-result.is-pass > span { color: #23623d; }
.viewport-result.is-warning > span { color: #80620d; }
.viewport-result small { margin-top: .2rem; color: var(--visual-muted); }

.visual-details { margin: 1rem 0; border: 1px dashed #c7c0b5; border-radius: 16px; padding: .9rem 1rem; background: rgba(255,255,255,.42); }
.visual-details summary { font-weight: 800; cursor: pointer; }
.visual-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .7rem; margin-top: .9rem; }
.visual-detail-grid > div { display: grid; }
.visual-detail-grid span { color: var(--visual-muted); font-size: .72rem; text-transform: uppercase; }

.visual-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--visual-line);
  border-radius: 22px;
  padding: 1rem 1.2rem;
  background: var(--visual-paper);
  box-shadow: 0 20px 60px rgba(33, 40, 35, .1);
}
.visual-enable-toggle { border: 0; margin: 0; padding: 0; }
.visual-save-bar > div { display: flex; align-items: center; gap: 1rem; }
.visual-save-bar p { max-width: 300px; margin: 0; color: var(--visual-muted); font-size: .78rem; text-align: right; }
.visual-inline-error { margin: 1rem 0; border-radius: 12px; padding: .75rem 1rem; background: #ffe6df; color: #7b2b18; font-weight: 700; }

@media (max-width: 800px) {
  .visual-grid { grid-template-columns: 1fr; }
  .visual-test-heading,
  .visual-save-bar,
  .visual-save-bar > div { align-items: stretch; flex-direction: column; }
  .visual-save-bar p { max-width: none; text-align: left; }
  .visual-choice-row { grid-template-columns: 1fr; }
  .visual-test-heading { padding-right: 0; }
  .visual-test-card .visual-step { display: none; }
}

/* Dark treatment is deliberately scoped to the new visual-check and login screens. */
.visual-import,
.visual-check-list,
.visual-check-details,
.bearsevenscout-login {
  --visual-ink: #f4f1e8;
  --visual-muted: #aeb8b1;
  --visual-cream: #101713;
  --visual-paper: #18231e;
  --visual-green: #83a94b;
  --visual-green-dark: #0c120f;
  --visual-line: #304039;
}

.visual-import {
  background:
    radial-gradient(circle at 92% 4%, rgba(184, 222, 88, .18), transparent 24rem),
    radial-gradient(circle at 4% 38%, rgba(255, 122, 89, .1), transparent 25rem),
    #101713;
}

.visual-check-list,
.visual-check-details {
  margin: -1rem calc(50% - 50vw) 0;
  min-height: calc(100vh - 110px);
  padding: clamp(2rem, 5vw, 4rem) max(1.25rem, calc((100vw - 1120px) / 2)) 4rem;
  background:
    radial-gradient(circle at 92% 0, rgba(184, 222, 88, .12), transparent 24rem),
    #101713;
}

.visual-card,
.visual-save-bar,
.visual-check-card,
.visual-details-grid article,
.visual-waiting,
.visual-error {
  border-color: #304039;
  background: rgba(24, 35, 30, .94);
  box-shadow: 0 22px 65px rgba(0, 0, 0, .22);
}

.visual-summary-card,
.visual-extension-note { background: #223f31; }
.visual-destination { background: #111a16; }
.visual-toggle { background: #151f1a; }
.visual-radio:has(input:checked) { border-color: #b8de58; background: #223022; }
.visual-field input,
.visual-field textarea,
.visual-field select {
  border-color: #405149;
  background: #101713;
  color: #f4f1e8;
}
.visual-field input:focus,
.visual-field textarea:focus,
.visual-field select:focus { border-color: #b8de58; outline-color: rgba(184, 222, 88, .15); }
.visual-step { color: rgba(184, 222, 88, .12); }
.visual-test-results { background: #3b211b; }
.visual-test-results.is-pass { background: #1c3828; }
.visual-test-results.is-warning { background: #3a321b; }
.viewport-result { border-color: rgba(255,255,255,.1); background: rgba(5, 10, 8, .28); }
.visual-details { border-color: #405149; background: rgba(7, 12, 9, .2); }
.visual-empty-state { border-color: #405149; background: #151f1a; }
.visual-check-state,
.visual-last-test { background: #2d3933; color: #c3ccc6; }

/* Reporting */
.reporting-dashboard {
  --report-bg: #0e1511;
  --report-panel: #141f19;
  --report-panel-soft: #19271f;
  --report-line: #2d4036;
  --report-ink: #f2f0e8;
  --report-muted: #9eaca4;
  --report-lime: #d6f36a;
  --report-pass: #8fd47a;
  --report-warning: #e5c769;
  --report-fail: #ff8063;
  --report-error: #c99bf0;
  min-height: calc(100vh - 110px);
  margin: -1rem calc(50% - 50vw) 0;
  padding: clamp(2rem, 5vw, 4.5rem) max(1.25rem, calc((100vw - 1220px) / 2)) 5rem;
  color: var(--report-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 84% 2%, rgba(172, 214, 82, .13), transparent 29rem),
    radial-gradient(circle at 0 34%, rgba(255, 128, 99, .075), transparent 31rem),
    var(--report-bg);
}
.reporting-dashboard .visual-kicker { color: var(--report-lime); }
.reporting-hero { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.reporting-hero h1 { margin: .35rem 0 .45rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 5.75rem); font-weight: 500; letter-spacing: -.06em; line-height: .92; }
.reporting-hero p { max-width: 700px; margin: 0; color: var(--report-muted); font-size: 1.04rem; }
.reporting-hero-period { display: grid; min-width: 230px; border: 1px solid #3b5145; border-radius: 19px; padding: 1rem 1.1rem; background: rgba(25, 39, 31, .8); }
.reporting-hero-period span { color: var(--report-lime); font-size: .63rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.reporting-hero-period strong { margin: .12rem 0; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.reporting-hero-period small { color: var(--report-muted); }

.reporting-filters { display: grid; grid-template-columns: minmax(190px, 1.25fr) repeat(4, minmax(120px, .7fr)) auto auto; align-items: end; gap: .65rem; margin-bottom: 1rem; border: 1px solid var(--report-line); border-radius: 19px; padding: .9rem; background: rgba(20, 31, 25, .92); }
.reporting-filters label { display: grid; gap: .28rem; min-width: 0; }
.reporting-filters label > span { color: #8e9c94; font-size: .61rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.reporting-filters input,
.reporting-filters select { width: 100%; min-height: 42px; border: 1px solid #3a4d43; border-radius: 11px; padding: .6rem .7rem; background: #101813; color: var(--report-ink); font: inherit; font-size: .78rem; }
.reporting-filters input:focus,
.reporting-filters select:focus { border-color: #9fbe50; outline: 3px solid rgba(214, 243, 106, .12); }
.reporting-filters button { min-height: 42px; border: 0; border-radius: 11px; padding: .65rem 1rem; background: var(--report-lime); color: #182019; font-weight: 850; }
.reporting-filters > a { min-height: 42px; align-content: center; padding: .65rem .35rem; color: var(--report-muted); font-size: .75rem; font-weight: 750; text-align: center; text-decoration: none; }

.reporting-live { display: grid; grid-template-columns: minmax(0, 1fr) 126px minmax(280px, .65fr); align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); overflow: hidden; border: 1px solid #426047; border-radius: 28px; padding: clamp(1.2rem, 3vw, 2rem); background: linear-gradient(122deg, #1c3023, #15211a 62%); box-shadow: 0 28px 75px rgba(0, 0, 0, .2); }
.reporting-live.is-attention { border-color: #784b3c; background: linear-gradient(122deg, #38251e, #1d2019 64%); }
.reporting-live.is-waiting { border-color: #645b38; background: linear-gradient(122deg, #302b1d, #1b2119 64%); }
.reporting-live-copy > span,
.reporting-panel-heading > div > span,
.reporting-kind-panel > div > span { color: var(--report-lime); font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.reporting-live.is-attention .reporting-live-copy > span { color: #ff9d83; }
.reporting-live-copy h2 { margin: .25rem 0 .4rem; font-family: Georgia, serif; font-size: clamp(1.85rem, 4vw, 3.3rem); font-weight: 500; letter-spacing: -.035em; }
.reporting-live-copy p { margin: 0; color: var(--report-muted); }
.reporting-health-ring { --report-ring: var(--report-pass); position: relative; display: grid; width: 118px; height: 118px; place-content: center; border-radius: 50%; background: conic-gradient(var(--report-ring) calc(var(--report-health) * 1%), #2a3931 0); text-align: center; isolation: isolate; }
.reporting-live.is-attention .reporting-health-ring { --report-ring: var(--report-fail); }
.reporting-health-ring::before { position: absolute; inset: 8px; z-index: -1; border-radius: inherit; background: #152019; content: ""; }
.reporting-health-ring strong { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; line-height: 1; }
.reporting-health-ring span { margin-top: .2rem; color: var(--report-muted); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.reporting-live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.reporting-live-stats > span { display: grid; min-height: 88px; align-content: center; border-left: 1px solid rgba(255,255,255,.1); padding-left: 1rem; }
.reporting-live-stats strong { font-family: Georgia, serif; font-size: 1.9rem; font-weight: 500; }
.reporting-live-stats small { color: var(--report-muted); font-size: .67rem; }

.reporting-panel { margin-top: 1rem; border: 1px solid var(--report-line); border-radius: 24px; padding: clamp(1rem, 2.5vw, 1.5rem); background: rgba(20, 31, 25, .94); }
.reporting-attention-panel { border-color: #654537; }
.reporting-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.reporting-panel-heading > div { display: grid; }
.reporting-panel-heading h2,
.reporting-kind-panel h2 { margin: .15rem 0 0; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; letter-spacing: -.02em; }
.reporting-panel-heading > small { color: var(--report-muted); }
.reporting-all-clear { display: flex; align-items: center; gap: .85rem; margin-top: 1rem; border: 1px solid #3b6146; border-radius: 18px; padding: .9rem 1rem; background: #182b1f; }
.reporting-all-clear > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--report-pass); color: #112016; font-weight: 900; }
.reporting-all-clear > div { display: grid; }
.reporting-all-clear small { color: var(--report-muted); }

.report-run-list { border-top: 1px solid var(--report-line); }
.report-run { border-bottom: 1px solid var(--report-line); }
.report-run > summary { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 75px 20px; align-items: center; gap: .8rem; padding: .9rem .15rem; cursor: pointer; list-style: none; }
.report-run > summary::-webkit-details-marker { display: none; }
.report-run-marker { width: 8px; height: 8px; border-radius: 50%; background: var(--report-pass); box-shadow: 0 0 0 4px rgba(143, 212, 122, .08); }
.report-run.is-warning .report-run-marker { background: var(--report-warning); box-shadow: 0 0 0 4px rgba(229, 199, 105, .08); }
.report-run.is-fail .report-run-marker { background: var(--report-fail); box-shadow: 0 0 0 4px rgba(255, 128, 99, .08); }
.report-run.is-error .report-run-marker { background: var(--report-error); box-shadow: 0 0 0 4px rgba(201, 155, 240, .08); }
.report-run-heading { display: grid; min-width: 0; }
.report-run-heading strong,
.report-run-heading small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-run-heading small { color: var(--report-muted); font-size: .7rem; }
.report-run-outcome { border-radius: 999px; padding: .28rem .5rem; background: #26382e; color: #bee8b3; font-size: .61rem; font-weight: 850; text-transform: uppercase; }
.report-run.is-warning .report-run-outcome { background: #40391f; color: #efda93; }
.report-run.is-fail .report-run-outcome { background: #4c2b22; color: #ffc0af; }
.report-run.is-error .report-run-outcome { background: #382b45; color: #dfc1f4; }
.report-run > summary time { color: var(--report-muted); font-size: .68rem; text-align: right; }
.report-run-chevron { color: var(--report-muted); font-size: 1.1rem; text-align: center; transition: transform .16s ease; }
.report-run[open] .report-run-chevron { transform: rotate(180deg); }
.report-run-body { margin: 0 0 .85rem 1.15rem; border: 1px solid #33473c; border-radius: 15px; padding: 1rem; background: #101813; }
.report-run-body > p { margin: 0; color: #d6ddd8; }
.report-run-metrics { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.report-run-metrics > span { display: grid; min-width: 110px; border-radius: 11px; padding: .55rem .7rem; background: #1b2821; }
.report-run-metrics small { color: var(--report-muted); font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.report-run-metrics strong { font-size: .85rem; }
.report-run-details { display: grid; gap: .45rem; margin-top: .8rem; }
.report-run-details article { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .15rem .7rem; border-left: 2px solid #52645a; padding: .55rem .7rem; background: #16211b; }
.report-run-details article.is-attention { border-color: var(--report-fail); }
.report-run-details article > span { color: var(--report-muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.report-run-details article > strong { overflow-wrap: anywhere; font-size: .78rem; }
.report-run-details article > small { grid-column: 2; color: var(--report-muted); overflow-wrap: anywhere; }
.report-run-body footer { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: .9rem; border-top: 1px solid #29392f; padding-top: .75rem; color: var(--report-muted); font-size: .69rem; }
.report-run-body footer a { color: var(--report-lime); font-weight: 750; text-decoration: none; }
.report-run-body footer a:first-of-type { margin-left: auto; }

.reporting-insight-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, .55fr); gap: 1rem; }
.reporting-trend-panel { min-width: 0; }
.reporting-chart { display: flex; min-height: 260px; align-items: stretch; gap: clamp(3px, .55vw, 8px); overflow-x: auto; border-bottom: 1px solid #34473c; padding: 1rem .2rem 0; }
.reporting-chart-day { display: grid; min-width: 10px; flex: 1 0 10px; grid-template-rows: 220px 22px; gap: .35rem; }
.reporting-bar-track { display: flex; align-items: end; }
.reporting-bar { display: flex; width: 100%; min-height: 0; flex-direction: column-reverse; overflow: hidden; border-radius: 6px 6px 2px 2px; background: #25352c; }
.reporting-bar span { display: block; min-height: 2px; }
.reporting-bar .is-pass { background: var(--report-pass); }
.reporting-bar .is-warning { background: var(--report-warning); }
.reporting-bar .is-fail { background: var(--report-fail); }
.reporting-bar .is-error { background: var(--report-error); }
.reporting-chart-day > small { color: #74827a; font-size: .53rem; text-align: center; white-space: nowrap; writing-mode: vertical-rl; }
.reporting-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .85rem; color: var(--report-muted); font-size: .66rem; }
.reporting-legend span::before { display: inline-block; width: 7px; height: 7px; margin-right: .35rem; border-radius: 50%; background: currentColor; content: ""; }
.reporting-legend .is-pass { color: var(--report-pass); }
.reporting-legend .is-warning { color: var(--report-warning); }
.reporting-legend .is-fail { color: var(--report-fail); }
.reporting-legend .is-error { color: var(--report-error); }
.reporting-kind-panel { align-self: stretch; margin-top: 1rem; border: 1px solid var(--report-line); border-radius: 24px; padding: 1.3rem; background: linear-gradient(160deg, #1b2c22, #131d18); }
.reporting-kind-panel > div { margin-bottom: 1rem; }
.reporting-kind-panel article { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: .7rem; border-top: 1px solid #304238; padding: .85rem 0; }
.report-kind-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #2a3d31; color: var(--report-lime); font-size: .57rem; font-weight: 900; }
.reporting-kind-panel article > span:nth-child(2) { display: grid; }
.reporting-kind-panel article small { color: var(--report-muted); font-size: .66rem; }
.reporting-kind-panel article > b { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }

.report-site-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .75rem; }
.report-site-card { display: grid; min-width: 0; border: 1px solid #35493e; border-radius: 17px; padding: 1rem; background: #111a16; color: var(--report-ink); text-decoration: none; transition: transform .16s ease, border-color .16s ease; }
.report-site-card:hover { border-color: #708c52; color: var(--report-ink); transform: translateY(-2px); }
.report-site-card.is-attention { border-color: #6b4437; background: #211914; }
.report-site-state { justify-self: start; margin-bottom: .75rem; border-radius: 999px; padding: .25rem .5rem; background: #263a2c; color: #bae7ae; font-size: .6rem; font-weight: 850; text-transform: uppercase; }
.report-site-card.is-attention .report-site-state { background: #4b2a22; color: #ffb6a3; }
.report-site-card > strong { font-family: Georgia, serif; font-size: 1.2rem; }
.report-site-card > small { overflow: hidden; color: var(--report-muted); text-overflow: ellipsis; white-space: nowrap; }
.report-site-rate { height: 4px; margin: .9rem 0 .65rem; overflow: hidden; border-radius: 999px; background: #2c3932; }
.report-site-rate span { display: block; height: 100%; border-radius: inherit; background: var(--report-pass); }
.report-site-card.is-attention .report-site-rate span { background: var(--report-fail); }
.report-site-card footer { display: flex; flex-wrap: wrap; gap: .35rem .8rem; color: #849188; font-size: .62rem; }

.reporting-history-panel { margin-top: 1rem; }
.reporting-empty { display: grid; min-height: 150px; place-content: center; border: 1px dashed #3b4e44; border-radius: 16px; padding: 1.2rem; text-align: center; }
.reporting-empty span { color: var(--report-muted); }
.reporting-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 1rem; color: var(--report-muted); font-size: .75rem; }
.reporting-pagination a { color: var(--report-lime); font-weight: 800; text-decoration: none; }
.reporting-pagination a:last-child { justify-self: end; }

@media (max-width: 1050px) {
  .reporting-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reporting-search { grid-column: span 2; }
  .reporting-live { grid-template-columns: minmax(0, 1fr) 118px; }
  .reporting-live-stats { grid-column: 1 / -1; }
  .reporting-live-stats > span { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; padding-top: .7rem; padding-left: 0; }
}

@media (max-width: 780px) {
  .reporting-hero { align-items: stretch; flex-direction: column; }
  .reporting-hero-period { min-width: 0; }
  .reporting-insight-grid { grid-template-columns: 1fr; }
  .reporting-kind-panel { margin-top: 0; }
  .report-run > summary { grid-template-columns: 10px minmax(0, 1fr) auto 20px; }
  .report-run > summary time { display: none; }
}

@media (max-width: 600px) {
  .reporting-dashboard { padding-inline: .85rem; }
  .reporting-filters { grid-template-columns: 1fr 1fr; }
  .reporting-search { grid-column: 1 / -1; }
  .reporting-live { grid-template-columns: 1fr; }
  .reporting-health-ring { width: 104px; height: 104px; }
  .reporting-live-stats { grid-template-columns: 1fr; }
  .reporting-live-stats > span { min-height: 55px; }
  .reporting-panel-heading { align-items: start; flex-direction: column; }
  .report-run > summary { grid-template-columns: 10px minmax(0, 1fr) 18px; }
  .report-run-outcome { grid-column: 2; justify-self: start; }
  .report-run-chevron { grid-column: 3; grid-row: 1 / 3; }
  .report-run-body { margin-left: 0; }
  .report-run-details article { grid-template-columns: 1fr; }
  .report-run-details article > small { grid-column: 1; }
  .report-run-body footer a:first-of-type { margin-left: 0; }
}
.visual-check-state.is-enabled,
.visual-last-test.is-pass { background: #284831; color: #c8efa9; }
.visual-last-test.is-fail { background: #512a22; color: #ffc0af; }

/* Dashboard and website directory */
.bearsevenscout-dashboard,
.client-directory,
.client-site-detail,
.visual-check-edit,
.browser-extension-page {
  --visual-ink: #f4f1e8;
  --visual-muted: #aeb8b1;
  --visual-paper: #18231e;
  --visual-line: #304039;
  margin: -1rem calc(50% - 50vw) 0;
  min-height: calc(100vh - 110px);
  padding: clamp(2rem, 5vw, 4rem) max(1.25rem, calc((100vw - 1120px) / 2)) 4rem;
  color: var(--visual-ink);
  background:
    radial-gradient(circle at 92% 0, rgba(184, 222, 88, .12), transparent 25rem),
    radial-gradient(circle at 8% 62%, rgba(255, 122, 89, .06), transparent 25rem),
    #101713;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Authenticated browser extension download */
.browser-extension-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: 2rem;
}
.browser-extension-hero h1 {
  max-width: 720px;
  margin: .35rem 0 .75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}
.browser-extension-hero > div:first-child > p {
  max-width: 680px;
  margin: 0;
  color: var(--visual-muted);
  font-size: 1.02rem;
}
.browser-extension-download-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  border: 1px solid #405149;
  border-radius: 22px;
  padding: 1.1rem;
  background: rgba(24, 35, 30, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.browser-extension-download-card > div { display: grid; }
.browser-extension-download-card small { color: var(--visual-muted); overflow-wrap: anywhere; }
.browser-extension-download-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--visual-lime);
  color: #162019;
  font-size: 1.6rem;
  font-weight: 900;
}
.browser-extension-download-card .visual-button {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  margin-top: .2rem;
  text-decoration: none;
}
.browser-extension-download-card .visual-button:hover,
.browser-extension-download-card .visual-button:focus-visible {
  background: #efffa6;
  color: var(--visual-green-dark);
}
.browser-extension-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr);
  gap: 1rem;
}
.browser-extension-panel {
  border: 1px solid var(--visual-line);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: rgba(24, 35, 30, .92);
}
.browser-extension-panel-heading > span {
  color: var(--visual-lime);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.browser-extension-panel-heading h2 {
  margin: .25rem 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}
.browser-extension-steps {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.browser-extension-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  border-top: 1px solid var(--visual-line);
  padding: .95rem 0;
}
.browser-extension-steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #52645b;
  border-radius: 50%;
  color: var(--visual-lime);
  font-weight: 850;
}
.browser-extension-steps li > div { display: grid; gap: .15rem; }
.browser-extension-steps small,
.browser-extension-first-check { color: var(--visual-muted); }
.browser-extension-page code {
  border-radius: 5px;
  padding: .08rem .3rem;
  background: #0d1511;
  color: #d6f36a;
}
.browser-extension-first-check > ol {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding-left: 1.25rem;
}
.browser-extension-first-check strong { color: var(--visual-ink); }
.browser-extension-tip {
  margin-top: 1.4rem;
  border-radius: 15px;
  padding: 1rem;
  background: #223f31;
}
.browser-extension-tip p { margin: .25rem 0 0; color: #b9c8c0; font-size: .84rem; }
.browser-extension-update-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  border: 1px solid #3a4a42;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: rgba(12, 18, 15, .55);
}
.browser-extension-update-note > span {
  color: var(--visual-lime);
  font-size: 1.5rem;
}
.browser-extension-update-note p { margin: .1rem 0 0; color: var(--visual-muted); font-size: .84rem; }

@media (max-width: 850px) {
  .browser-extension-hero,
  .browser-extension-layout { grid-template-columns: 1fr; }
}

.dashboard-hero,
.client-directory-hero,
.client-site-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.dashboard-hero h1,
.client-directory-hero h1,
.client-site-hero h1,
.visual-check-edit h1 {
  margin: .35rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.dashboard-hero > div:first-child > p,
.client-directory-hero > div:first-child > p,
.visual-check-edit > header > p {
  max-width: 680px;
  margin: 0;
  color: var(--visual-muted);
}

.dashboard-create-note,
.client-directory-principle {
  display: flex;
  max-width: 330px;
  align-items: center;
  gap: .85rem;
  border: 1px solid #355143;
  border-radius: 18px;
  padding: 1rem;
  background: #1a2b23;
}

.dashboard-create-note > div,
.client-directory-principle { flex-direction: column; align-items: flex-start; }
.dashboard-create-note > div { display: flex; }
.dashboard-create-note small,
.client-directory-principle span { color: var(--visual-muted); font-size: .78rem; }
.dashboard-create-note a {
  margin-top: .25rem;
  color: var(--visual-lime);
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
}
.dashboard-note-icon { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 50%; background: #d6f36a; color: #162019; font-size: 1.4rem; }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-bottom: 1rem;
}

.dashboard-stat {
  display: grid;
  min-height: 160px;
  border: 1px solid var(--visual-line);
  border-radius: 20px;
  padding: 1.15rem;
  background: rgba(24, 35, 30, .92);
  color: var(--visual-ink);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}
.dashboard-stat:hover { border-color: #607765; color: var(--visual-ink); transform: translateY(-2px); }
.dashboard-stat > span { color: var(--visual-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-stat strong { align-self: end; font-family: Georgia, serif; font-size: 3.2rem; font-weight: 500; line-height: 1; }
.dashboard-stat small { color: var(--visual-muted); }
.dashboard-stat.is-bright { border-color: #78934b; background: #233523; }
.dashboard-stat.is-alert { border-color: #8a4c3c; background: #35221d; }

.dashboard-panel {
  border: 1px solid var(--visual-line);
  border-radius: 24px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(18, 27, 23, .9);
}
.dashboard-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.dashboard-panel-heading span { color: #b8de58; font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-panel-heading h2 { margin: .12rem 0 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.dashboard-panel-heading a,
.dashboard-check-row,
.client-directory-card a,
.visual-filter-banner a { color: #d6f36a; text-decoration: none; }
.dashboard-check-list { border-top: 1px solid var(--visual-line); }
.dashboard-check-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 20px; align-items: center; gap: .85rem; border-bottom: 1px solid #26352e; padding: 1rem .25rem; color: var(--visual-ink); }
.dashboard-check-row:hover { color: #fff; }
.dashboard-state-dot { width: 9px; height: 9px; border-radius: 50%; background: #65736b; }
.dashboard-state-dot.is-pass { background: #9ed56d; box-shadow: 0 0 0 4px rgba(158, 213, 109, .1); }
.dashboard-state-dot.is-fail { background: #ff8264; box-shadow: 0 0 0 4px rgba(255, 130, 100, .1); }
.dashboard-state-dot.is-untested { background: #d5bc6f; }
.dashboard-check-copy { display: grid; min-width: 0; }
.dashboard-check-copy small { overflow: hidden; color: var(--visual-muted); text-overflow: ellipsis; white-space: nowrap; }
.dashboard-row-state { border-radius: 999px; padding: .3rem .65rem; background: #27342e; color: #b7c1bb; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.dashboard-row-state.is-pass { background: #284831; color: #c8efa9; }
.dashboard-row-state.is-fail { background: #512a22; color: #ffc0af; }
.dashboard-row-arrow { color: #708078; }
.dashboard-empty { display: grid; border-top: 1px solid var(--visual-line); padding: 2rem .25rem; }
.dashboard-empty span { color: var(--visual-muted); }

.client-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }
.client-directory-card { border: 1px solid var(--visual-line); border-radius: 24px; padding: 1.25rem; background: rgba(24, 35, 30, .94); box-shadow: 0 24px 65px rgba(0,0,0,.16); }
.client-directory-card > header { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: .8rem; }
.client-avatar { display: grid; height: 48px; place-items: center; border-radius: 15px; background: #d6f36a; color: #172019; font-family: Georgia, serif; font-size: 1.4rem; }
.client-directory-card h2 { margin: 0; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.client-directory-card header a { display: block; overflow: hidden; color: var(--visual-muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.client-health { border-radius: 999px; padding: .3rem .6rem; background: #29362f; color: #bec8c1; font-size: .64rem; font-weight: 850; text-transform: uppercase; }
.client-health.is-pass { background: #284831; color: #c8efa9; }
.client-health.is-fail { background: #512a22; color: #ffc0af; }
.client-health.is-untested { background: #4a4025; color: #f1d98d; }
.client-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin: 1.2rem 0; }
.client-counts > div { display: grid; border-radius: 14px; padding: .8rem; background: #111a16; }
.client-counts strong { font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; }
.client-counts span { color: var(--visual-muted); font-size: .68rem; text-transform: uppercase; }
.site-checks { margin: 0 0 1.1rem; border: 1px solid #2f4138; border-radius: 17px; padding: .9rem; background: #111a16; }
.site-checks-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.site-checks-heading > div { display: grid; }
.site-checks-heading > div > span { color: #b8de58; font-size: .61rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.site-checks-heading h3 { margin: .12rem 0 0; font-family: Georgia, serif; font-size: 1rem; font-weight: 500; }
.site-checks-count { border-radius: 999px; padding: .22rem .48rem; background: #26342d; color: var(--visual-muted); font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.site-check-toggle-form { margin: 0; }
.site-check-toggle-spaced { margin-top: .7rem; }
.site-check-toggle {
  display: grid;
  width: 100%;
  grid-template-columns: 36px minmax(0, 1fr) 38px auto;
  align-items: center;
  gap: .7rem;
  border: 1px solid #34473d;
  border-radius: 13px;
  padding: .72rem;
  color: var(--visual-ink);
  background: #18231e;
  text-align: left;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.site-check-toggle:hover { border-color: #647b56; background: #1c2923; transform: translateY(-1px); }
.site-check-toggle:focus-visible { outline: 3px solid rgba(214, 243, 106, .28); outline-offset: 2px; }
.site-check-toggle.is-enabled { border-color: #779446; background: #203020; }
.site-check-icon { display: grid; height: 36px; place-items: center; border-radius: 11px; background: #27352e; color: #aab5ae; font-size: .58rem; font-weight: 900; letter-spacing: .04em; }
.site-check-toggle.is-enabled .site-check-icon { background: #d6f36a; color: #172019; }
.site-check-copy { display: grid; min-width: 0; }
.site-check-copy strong { font-size: .82rem; }
.site-check-copy small { color: var(--visual-muted); font-size: .67rem; line-height: 1.35; }
.site-check-switch { display: flex; width: 36px; height: 20px; align-items: center; border-radius: 999px; padding: 3px; background: #526159; transition: background-color .16s ease; }
.site-check-switch > span { width: 14px; height: 14px; border-radius: 50%; background: #eef1ec; transition: transform .16s ease; }
.site-check-toggle.is-enabled .site-check-switch { background: #9ac83d; }
.site-check-toggle.is-enabled .site-check-switch > span { transform: translateX(16px); }
.site-check-state { min-width: 20px; color: var(--visual-muted); font-size: .65rem; font-weight: 850; text-align: right; text-transform: uppercase; }
.site-check-toggle.is-enabled .site-check-state { color: #d6f36a; }
.site-check-result { display: grid; grid-template-columns: 9px minmax(0, 1fr); align-items: start; gap: .55rem; margin-top: .7rem; padding: 0 .2rem; }
.site-check-result > span { width: 8px; height: 8px; margin-top: .36rem; border-radius: 50%; background: #d5bc6f; }
.site-check-result.is-pass > span { background: #9ed56d; box-shadow: 0 0 0 3px rgba(158, 213, 109, .1); }
.site-check-result.is-fail > span { background: #ff8264; box-shadow: 0 0 0 3px rgba(255, 130, 100, .1); }
.site-check-result p { display: grid; margin: 0; }
.site-check-result strong { font-size: .7rem; }
.site-check-result small { color: var(--visual-muted); font-size: .65rem; line-height: 1.4; }
.client-card-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.client-directory-card footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--visual-line); padding-top: .9rem; color: var(--visual-muted); font-size: .76rem; }

.client-site-hero { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin: 1.5rem 0 2rem; }
.client-site-hero > div:first-child > a { color: #d6f36a; text-decoration: none; }
.client-site-hero-note { display: grid; max-width: 330px; border: 1px solid #355143; border-radius: 18px; padding: 1rem; background: #1a2b23; }
.client-site-hero-note span { color: var(--visual-muted); font-size: .78rem; }
.client-site-hero-note a { margin-top: .45rem; color: #d6f36a; font-size: .72rem; font-weight: 800; text-decoration: none; }
.client-manage-panel { margin-top: 1rem; border: 1px solid var(--visual-line); border-radius: 24px; padding: clamp(1rem, 3vw, 1.5rem); background: rgba(18, 27, 23, .92); }
.client-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.client-panel-heading > div { display: grid; }
.client-panel-heading > div > span { color: #b8de58; font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.client-panel-heading h2 { margin: .15rem 0 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.client-panel-heading > small,
.client-panel-intro { color: var(--visual-muted); }
.client-panel-intro { max-width: 820px; margin: .55rem 0 1rem; }
.client-site-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.client-site-check-grid form { margin: 0; }
.site-check-run-now { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; border-top: 1px solid #2c3d34; padding-top: .9rem; }
.site-check-run-now > span { display: grid; }
.site-check-run-now small { color: var(--visual-muted); }
.site-check-run-now form { margin: 0; }
.site-check-run-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; }
.client-site-check { display: grid; width: 100%; height: 100%; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: .8rem; border: 1px solid #34473d; border-radius: 16px; padding: .9rem; background: #111a16; color: var(--visual-ink); text-align: left; }
.client-site-check:hover { border-color: #647b56; background: #17241e; }
.client-site-check.is-enabled { border-color: #78934b; background: #203020; }
.client-site-check > span:nth-child(2) { display: grid; }
.client-site-check small { color: var(--visual-muted); font-size: .68rem; line-height: 1.4; }
.client-site-check b { border-radius: 999px; padding: .28rem .5rem; background: #29362f; color: var(--visual-muted); font-size: .62rem; text-transform: uppercase; }
.client-site-check.is-enabled b { background: #d6f36a; color: #172019; }
.coverage-automatic-root { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: .8rem; margin-bottom: .8rem; border: 1px solid #526b40; border-radius: 17px; padding: .9rem 1rem; background: #1e2d20; }
.coverage-automatic-root > span:nth-child(2) { display: grid; min-width: 0; }
.coverage-automatic-root small { overflow: hidden; color: var(--visual-muted); text-overflow: ellipsis; white-space: nowrap; }
.coverage-automatic-root b { border-radius: 999px; padding: .3rem .55rem; background: #d6f36a; color: #172019; font-size: .62rem; text-transform: uppercase; }
.common-page-picker { margin-bottom: .8rem; border: 1px solid #304039; border-radius: 17px; padding: 1rem; background: #111a16; }
.common-page-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.common-page-picker-heading > div { display: grid; }
.common-page-picker-heading span { color: var(--visual-muted); font-size: .76rem; }
.common-page-picker-heading a { color: #d6f36a; font-size: .75rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.common-page-choice-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem; margin-top: .85rem; }
.common-page-choice { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: .65rem; margin: 0; border: 1px solid #34473d; border-radius: 13px; padding: .75rem; background: #17211d; }
.common-page-choice > span:nth-of-type(2) { display: grid; min-width: 0; }
.common-page-choice small { overflow: hidden; color: var(--visual-muted); text-overflow: ellipsis; white-space: nowrap; }
.common-page-choice button { border: 0; border-radius: 999px; padding: .38rem .58rem; background: #2a3931; color: #cad3ce; font-size: .65rem; font-weight: 800; cursor: pointer; }
.common-page-choice.is-selected { border-color: #78934b; background: #203020; }
.common-page-choice.is-selected button { background: #d6f36a; color: #172019; }
.common-page-choice:not(.is-selected) .coverage-page-dot { background: #718078; }
.common-page-choice.is-unavailable { opacity: .55; }
.common-page-choice b { color: var(--visual-muted); font-size: .62rem; text-transform: uppercase; }
.coverage-add-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(230px, .35fr); gap: .75rem; }
.coverage-bulk-form,
.coverage-root-card,
.ignore-add-form { border: 1px solid #304039; border-radius: 17px; padding: 1rem; background: #111a16; }
.coverage-quick-stack { display: grid; gap: .75rem; }
.coverage-bulk-form label,
.ignore-add-form label { display: grid; gap: .35rem; }
.coverage-bulk-form label > span,
.ignore-add-form label > span { font-weight: 750; }
.coverage-bulk-form textarea,
.ignore-add-form textarea,
.ignore-add-form input { width: 100%; border: 1px solid #405149; border-radius: 11px; padding: .75rem; background: #18231e; color: var(--visual-ink); font: inherit; }
.coverage-bulk-form textarea:focus,
.ignore-add-form textarea:focus,
.ignore-add-form input:focus { border-color: #b8de58; outline: 3px solid rgba(184, 222, 88, .14); }
.coverage-bulk-form small,
.coverage-root-card small,
.ignore-add-form small { color: var(--visual-muted); }
.coverage-bulk-form .visual-button { margin-top: .8rem; }
.coverage-root-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-content: center; align-items: center; gap: .7rem; }
.coverage-root-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #d6f36a; color: #172019; font-size: 1.2rem; }
.coverage-root-card > span:nth-of-type(2) { display: grid; min-width: 0; }
.coverage-root-card small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coverage-root-card button,
.coverage-page-row button,
.ignore-rule-row button { border: 0; padding: .35rem 0; background: transparent; color: #d6f36a; font-weight: 800; cursor: pointer; }
.coverage-root-card button { grid-column: 2; justify-self: start; padding-inline: 0; }
.coverage-page-list,
.ignore-rule-list,
.link-issue-list { margin-top: 1rem; border-top: 1px solid var(--visual-line); }
.coverage-page-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; border-bottom: 1px solid #26352e; padding: .85rem .2rem; }
.coverage-page-row.is-paused,
.ignore-rule-row.is-paused { opacity: .56; }
.coverage-page-dot { width: 8px; height: 8px; border-radius: 50%; background: #9ed56d; }
.is-paused .coverage-page-dot { background: #718078; }
.coverage-page-copy,
.ignore-rule-row > span { display: grid; min-width: 0; }
.coverage-page-copy small { overflow: hidden; color: var(--visual-muted); text-overflow: ellipsis; white-space: nowrap; }
.coverage-page-state { border-radius: 999px; padding: .25rem .48rem; background: #27342e; color: var(--visual-muted); font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.client-panel-empty { display: grid; margin-top: 1rem; border: 1px dashed #405149; border-radius: 15px; padding: 1.2rem; }
.client-panel-empty span { color: var(--visual-muted); }
.ignore-add-form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr) auto; align-items: end; gap: .75rem; }
.ignore-rule-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #26352e; padding: .8rem .2rem; }
.ignore-rule-row small { color: var(--visual-muted); }
.link-result-panel.is-pass { border-color: #426b4e; }
.link-result-panel.is-fail { border-color: #794435; }
.link-result-panel.is-warning { border-color: #88753c; }
.captcha-evidence-list { margin: .8rem 0 1rem; border: 1px solid #5e522f; border-radius: 14px; padding: .8rem 1rem; background: #2c2819; }
.captcha-evidence-list summary { cursor: pointer; color: #f1d98d; font-weight: 800; }
.captcha-evidence-list small { display: block; margin-top: .45rem; color: var(--visual-muted); overflow-wrap: anywhere; }
.link-issue-row { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: .75rem; border-bottom: 1px solid #26352e; padding: .8rem .2rem; }
.link-issue-row > span:last-child { display: grid; min-width: 0; }
.link-issue-row strong { overflow-wrap: anywhere; }
.link-issue-row small { color: var(--visual-muted); }
.image-affected-pages { margin-top: .35rem; }
.image-affected-pages summary { color: #c9ed64; cursor: pointer; font-size: .82rem; font-weight: 750; }
.image-affected-pages a { display: block; margin-top: .25rem; color: var(--visual-muted); font-size: .8rem; overflow-wrap: anywhere; }
.link-status { border-radius: 8px; padding: .3rem; background: #512a22; color: #ffc0af; font-size: .68rem; font-weight: 900; text-align: center; }
.link-warning-list { margin-top: 1rem; border: 1px solid #50482f; border-radius: 14px; padding: .8rem; background: #2a261a; }
.link-warning-list summary { color: #f1d98d; font-weight: 800; cursor: pointer; }
.link-warning-list > div { display: grid; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.link-warning-list small { color: var(--visual-muted); }

.spellcheck-settings { overflow: hidden; }
.spellcheck-language-form { display: flex; align-items: end; gap: .8rem; border: 1px solid #3c5146; border-radius: 17px; padding: 1rem; background: linear-gradient(135deg, #18261f, #111a16); }
.spellcheck-language-form label { display: grid; flex: 1; gap: .35rem; }
.spellcheck-language-form label > span,
.spellcheck-word-form label > span { font-weight: 800; }
.spellcheck-language-form select,
.spellcheck-word-form input { width: 100%; border: 1px solid #465b50; border-radius: 11px; padding: .72rem .8rem; background: #101813; color: var(--visual-ink); font: inherit; }
.spellcheck-language-form select:focus,
.spellcheck-word-form input:focus { border-color: #b8de58; outline: 3px solid rgba(184, 222, 88, .14); }
.spellcheck-language-form small { color: var(--visual-muted); }
.spellcheck-dictionary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.spellcheck-word-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .65rem; border: 1px solid #304039; border-radius: 15px; padding: .85rem; background: #111a16; }
.spellcheck-word-form label { display: grid; gap: .35rem; }
.spellcheck-accepted-list { margin-top: .8rem; border: 1px solid #304039; border-radius: 15px; padding: .85rem 1rem; background: #111a16; }
.spellcheck-accepted-list > summary { color: #d6f36a; font-weight: 800; cursor: pointer; }
.spellcheck-accepted-list article { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-bottom: 1px solid #26352e; padding: .65rem 0; }
.spellcheck-accepted-list article:last-child { border-bottom: 0; }
.spellcheck-accepted-list article > span { display: grid; }
.spellcheck-accepted-list article small { color: var(--visual-muted); }
.spellcheck-accepted-list article button,
.spellcheck-finding-actions button { border: 0; background: transparent; color: #d6f36a; font-weight: 800; cursor: pointer; }
.spellcheck-accepted-list article.is-paused { opacity: .55; }
.spellcheck-finding-list { display: grid; gap: .75rem; margin-top: 1rem; }
.spellcheck-finding { border: 1px solid #4c4731; border-radius: 16px; padding: .9rem; background: #211f16; }
.spellcheck-finding > header { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.spellcheck-finding > header > span:nth-child(2) { display: grid; min-width: 0; }
.spellcheck-finding > header small { color: var(--visual-muted); }
.spellcheck-finding-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.spellcheck-finding-actions form { margin: 0; }
.spellcheck-finding details { margin: .7rem 0 0 3.6rem; border-top: 1px solid #3e3a2c; padding-top: .65rem; }
.spellcheck-finding details > summary { color: #d6f36a; font-weight: 750; cursor: pointer; }
.spellcheck-context { display: grid; gap: .15rem; margin-top: .6rem; border-left: 2px solid #657b43; padding-left: .75rem; }
.spellcheck-context strong { font-weight: 600; }
.spellcheck-context a,
.spellcheck-context small { color: var(--visual-muted); font-size: .75rem; overflow-wrap: anywhere; }

.common-page-add-form { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(260px, 1.3fr) auto; align-items: end; gap: .75rem; margin-top: 1rem; }
.common-page-add-form label { display: grid; gap: .35rem; }
.common-page-add-form label > span { font-weight: 750; }
.common-page-add-form input { width: 100%; border: 1px solid #405149; border-radius: 11px; padding: .75rem; background: #18231e; color: var(--visual-ink); font: inherit; }
.common-page-add-form input:focus { border-color: #b8de58; outline: 3px solid rgba(184, 222, 88, .14); }
.common-page-list { margin-top: 1rem; border-top: 1px solid var(--visual-line); }
.common-page-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; border-bottom: 1px solid #26352e; padding: .85rem .2rem; }
.common-page-row > span:nth-child(2) { display: grid; min-width: 0; }
.common-page-row small { overflow: hidden; color: var(--visual-muted); text-overflow: ellipsis; white-space: nowrap; }
.common-page-row button { border: 0; padding: .35rem 0; background: transparent; color: #d6f36a; font-weight: 800; cursor: pointer; }
.common-page-row.is-paused { opacity: .56; }

.visual-check-section { margin-top: 1.5rem; }
.visual-section-heading { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; }
.visual-section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.visual-section-heading > span,
.visual-paused-count { display: grid; min-width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #28372f; color: #d6f36a; font-size: .75rem; font-weight: 850; }
.visual-section-empty { color: var(--visual-muted); }
.visual-paused-section { margin-top: 1.2rem; border: 1px solid var(--visual-line); border-radius: 20px; padding: 1rem; background: rgba(17, 26, 22, .65); }
.visual-paused-section > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.visual-paused-section > summary::-webkit-details-marker { display: none; }
.visual-paused-section > summary > span:first-child { display: grid; }
.visual-paused-section small { color: var(--visual-muted); }
.visual-paused-section .visual-check-cards { margin-top: 1rem; }
.visual-filter-banner { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; border: 1px solid #405149; border-radius: 14px; padding: .75rem 1rem; background: #17241e; color: var(--visual-muted); }

.visual-action-bar { display: flex; flex-wrap: wrap; gap: .65rem; margin: -1rem 0 1.2rem; }
.visual-action-bar form { margin: 0; }
.visual-button-secondary { display: inline-flex; align-items: center; background: #2b3b33; text-decoration: none; }
.visual-button-secondary:hover { color: #fff; }
.visual-button-pause { background: #4b352e; }
.visual-button-resume { background: #36532c; }
.visual-flash { margin: 1rem 0; border: 1px solid; border-radius: 14px; padding: .85rem 1rem; }
.visual-flash.is-success { border-color: #426b4e; background: #1d3526; color: #caf0d2; }
.visual-flash.is-error { border-color: #794435; background: #3f241d; color: #ffc3b4; }
.visual-saved-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0; border: 1px solid #6f493f; border-radius: 16px; padding: 1rem; background: #35221d; }
.visual-saved-result.is-pass { border-color: #416149; background: #1d3324; }
.visual-saved-result.is-warning { border-color: #88753c; background: #332d1b; }
.visual-saved-result > div { display: grid; }
.visual-saved-result span { color: var(--visual-muted); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.visual-saved-result a { color: #d6f36a; font-weight: 800; text-decoration: none; white-space: nowrap; }

.visual-check-edit > header { max-width: 760px; margin: 1.5rem 0; }
.visual-edit-form { max-width: 760px; border: 1px solid var(--visual-line); border-radius: 24px; padding: clamp(1.2rem, 4vw, 2rem); background: rgba(24, 35, 30, .94); }
.visual-edit-importance { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.2rem 0 0; border: 0; padding: 0; }
.visual-edit-importance legend { grid-column: 1 / -1; margin: 0; font-size: 1rem; font-weight: 750; }
.visual-edit-target { display: grid; margin-top: 1.2rem; border-radius: 14px; padding: .9rem; background: #111a16; }
.visual-edit-target span { color: var(--visual-muted); font-size: .72rem; text-transform: uppercase; }
.visual-edit-target a { color: #d6f36a; overflow-wrap: anywhere; }
.visual-edit-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: 1.2rem; }
.visual-edit-actions > a { color: var(--visual-muted); text-decoration: none; }

@media (max-width: 850px) {
  .dashboard-hero,
  .client-directory-hero,
  .client-site-hero { align-items: stretch; flex-direction: column; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .coverage-add-grid,
  .client-site-check-grid,
  .common-page-add-form { grid-template-columns: 1fr; }
  .ignore-add-form { grid-template-columns: 1fr; }
  .spellcheck-dictionary-grid { grid-template-columns: 1fr; }
  .spellcheck-language-form { align-items: stretch; flex-direction: column; }
}

@media (max-width: 600px) {
  .dashboard-stats,
  .visual-edit-importance { grid-template-columns: 1fr; }
  .dashboard-check-row { grid-template-columns: 12px minmax(0, 1fr) 18px; }
  .dashboard-row-state { display: none; }
  .client-directory-grid { grid-template-columns: 1fr; }
  .client-directory-card > header { grid-template-columns: 44px minmax(0, 1fr); }
  .client-health { grid-column: 1 / -1; justify-self: start; }
  .site-check-toggle { grid-template-columns: 36px minmax(0, 1fr) 38px; }
  .site-check-state { display: none; }
  .client-directory-card footer { flex-direction: column; }
  .client-card-links { justify-content: flex-start; }
  .client-panel-heading { align-items: start; flex-direction: column; }
  .site-check-run-now { align-items: stretch; flex-direction: column; }
  .spellcheck-word-form,
  .spellcheck-finding > header { grid-template-columns: 1fr; }
  .spellcheck-finding-actions { justify-content: flex-start; }
  .spellcheck-finding details { margin-left: 0; }
  .site-check-run-actions { align-items: stretch; flex-direction: column; }
  .common-page-picker-heading { align-items: start; flex-direction: column; }
  .coverage-page-row { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .common-page-row { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .common-page-row .coverage-page-state { display: none; }
  .coverage-page-state { display: none; }
}
.visual-inline-error { background: #4c281f; color: #ffc4b5; }
.visual-inline-error a { color: #d6f36a; }
.visual-target-url,
.visual-diagnostics-link { color: #d6f36a; overflow-wrap: anywhere; }
.visual-diagnostics-link { display: inline-flex; margin-top: .9rem; font-weight: 800; }
.visual-diagnostics { display: grid; justify-items: start; }
.visual-diagnostics small { margin-top: .2rem; color: var(--visual-muted); }

.bearsevenscout-login {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  margin: -1rem calc(50% - 50vw) 0;
  min-height: calc(100vh - 110px);
  color: var(--visual-ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(184, 222, 88, .16), transparent 24rem),
    radial-gradient(circle at 35% 90%, rgba(255, 122, 89, .09), transparent 25rem),
    #101713;
}

.bearsevenscout-login-story,
.bearsevenscout-login-panel { display: flex; justify-content: center; flex-direction: column; padding: clamp(2rem, 7vw, 7rem); }
.bearsevenscout-login-story { position: relative; overflow: hidden; }
.bearsevenscout-login-brand { display: flex; position: relative; z-index: 1; align-items: center; gap: 1rem; width: fit-content; margin-bottom: 1.5rem; }
.bearsevenscout-login-brand img { width: clamp(88px, 10vw, 132px); height: clamp(88px, 10vw, 132px); object-fit: contain; filter: drop-shadow(0 18px 35px rgba(0, 0, 0, .22)); }
.bearsevenscout-login-brand > div { display: grid; color: #f4f1e8; font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.045em; line-height: .95; }
.bearsevenscout-login-brand span { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 780; }
.bearsevenscout-login-brand strong { color: #d6f36a; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 500; }
.bearsevenscout-login-story::after {
  position: absolute;
  right: -6rem;
  bottom: -8rem;
  width: 25rem;
  height: 25rem;
  border: 2px solid rgba(184, 222, 88, .14);
  border-radius: 43% 57% 62% 38%;
  content: "";
  transform: rotate(18deg);
}
.bearsevenscout-login-story h1 { position: relative; z-index: 1; margin: .7rem 0 1.2rem; font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.bearsevenscout-login-story > p { max-width: 620px; color: var(--visual-muted); font-size: 1.1rem; }
.bearsevenscout-login-proof { display: flex; align-items: center; gap: .9rem; max-width: 470px; margin-top: 2.5rem; border-top: 1px solid var(--visual-line); padding-top: 1.3rem; }
.bearsevenscout-login-proof > span { display: grid; flex: 0 0 46px; height: 46px; place-items: center; border-radius: 50%; background: #d6f36a; color: #162019; font-size: 1.35rem; }
.bearsevenscout-login-proof > div { display: grid; }
.bearsevenscout-login-proof small { color: var(--visual-muted); }
.bearsevenscout-login-panel { background: rgba(6, 11, 8, .35); }
.bearsevenscout-login-card { width: min(100%, 480px); margin: 0 auto; border: 1px solid var(--visual-line); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); background: rgba(24, 35, 30, .94); box-shadow: 0 30px 90px rgba(0, 0, 0, .3); }
.bearsevenscout-login-card h2 { margin: .35rem 0; font-family: Georgia, serif; font-size: 2.2rem; font-weight: 500; }
.bearsevenscout-login-card > p { margin: 0 0 1.5rem; color: var(--visual-muted); }
.bearsevenscout-login-field { display: block; margin-top: 1rem; }
.bearsevenscout-login-field > span:first-child { display: block; margin-bottom: .42rem; font-weight: 760; }
.bearsevenscout-login-field input { width: 100%; border: 1px solid #405149; border-radius: 13px; padding: .85rem 1rem; background: #101713; color: #f4f1e8; font: inherit; }
.bearsevenscout-login-field input:focus { border-color: #b8de58; outline: 3px solid rgba(184, 222, 88, .15); }
.bearsevenscout-field-error,
.bearsevenscout-login-validation { color: #ff9a80; font-size: .82rem; }
.bearsevenscout-login-validation ul { margin: .8rem 0 0; padding-left: 1.1rem; }
.bearsevenscout-remember { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--visual-muted); cursor: pointer; }
.bearsevenscout-remember input { accent-color: #b8de58; }
.bearsevenscout-login-button { width: 100%; margin-top: 1.35rem; padding: .9rem 1.25rem; }

@media (max-width: 850px) {
  .bearsevenscout-login { grid-template-columns: 1fr; }
  .bearsevenscout-login-story { padding-bottom: 1rem; }
  .bearsevenscout-login-story h1 { font-size: clamp(2.7rem, 12vw, 4.8rem); }
  .bearsevenscout-login-panel { padding-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-orbit span { animation: none; }
  .visual-button:hover { transform: none; }
}

.visual-check-list,
.visual-check-details { padding: 1.5rem 0 3rem; }
.visual-list-header,
.visual-details-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.visual-list-header h1,
.visual-details-hero h1 { margin: .35rem 0; font-family: Georgia, serif; font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.045em; }
.visual-list-header p,
.visual-details-hero p { max-width: 680px; margin: 0; color: var(--visual-muted); }
.visual-extension-note { display: grid; max-width: 280px; border-radius: 18px; padding: 1rem; background: var(--visual-green); color: #fff; }
.visual-extension-note span { color: rgba(255,255,255,.7); font-size: .82rem; }
.visual-extension-note a { margin-top: .35rem; color: var(--visual-lime); font-size: .78rem; font-weight: 760; text-decoration: none; }
.visual-empty-state { border: 1px dashed #bbb4a8; border-radius: 24px; padding: 4rem 1.5rem; background: var(--visual-cream); text-align: center; }
.visual-empty-state > span { color: var(--visual-green); font-size: 3rem; }
.visual-empty-state h2 { margin: .4rem 0; font-family: Georgia, serif; }
.visual-empty-state p { color: var(--visual-muted); }
.visual-check-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.visual-check-card { display: flex; min-height: 240px; flex-direction: column; border: 1px solid var(--visual-line); border-radius: 22px; padding: 1.25rem; background: var(--visual-paper); color: var(--visual-ink); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.visual-check-card:hover { color: var(--visual-ink); transform: translateY(-3px); box-shadow: 0 18px 50px rgba(33,40,35,.1); }
.visual-check-card-top { display: flex; justify-content: space-between; gap: .6rem; }
.visual-check-state,
.visual-last-test { border-radius: 999px; padding: .28rem .58rem; background: #ece9e2; color: #68645d; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.visual-check-state.is-enabled,
.visual-last-test.is-pass { background: #e5f3df; color: #286341; }
.visual-last-test.is-fail { background: #ffe4dc; color: #933b25; }
.visual-check-card h2 { margin: 1.2rem 0 .5rem; font-family: Georgia, serif; font-size: 1.55rem; }
.visual-check-card p { color: var(--visual-muted); }
.visual-check-card footer { display: grid; margin-top: auto; color: var(--visual-muted); font-size: .78rem; }
.visual-back-link { color: var(--visual-green); font-weight: 750; text-decoration: none; }
.visual-details-hero { align-items: center; margin-top: 1.5rem; }
.visual-details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.visual-details-grid article { display: grid; border: 1px solid var(--visual-line); border-radius: 16px; padding: 1rem; background: var(--visual-paper); }
.visual-details-grid span { color: var(--visual-muted); font-size: .72rem; text-transform: uppercase; }
.visual-details-json { margin-top: 1rem; border: 1px solid var(--visual-line); border-radius: 16px; padding: 1rem; }
.visual-details-json summary { font-weight: 800; cursor: pointer; }
.visual-details-json pre { max-height: 500px; margin: 1rem 0 0; overflow: auto; border-radius: 12px; padding: 1rem; background: #17231e; color: #e8f3eb; font-size: .74rem; }

@media (max-width: 800px) {
  .visual-list-header,
  .visual-details-hero { align-items: stretch; flex-direction: column; }
  .visual-details-grid { grid-template-columns: 1fr 1fr; }
}

.visual-check-list,
.visual-check-details {
  padding: clamp(2rem, 5vw, 4rem) max(1.25rem, calc((100vw - 1120px) / 2)) 4rem;
}
.visual-check-state,
.visual-last-test { background: #2d3933; color: #c3ccc6; }
.visual-check-state.is-enabled,
.visual-last-test.is-pass { background: #284831; color: #c8efa9; }
.visual-last-test.is-fail { background: #512a22; color: #ffc0af; }
