:root {
  --ink: #0b1220;
  --muted: #46566d;
  --soft: #f4f8fc;
  --panel: #ffffff;
  --line: #d7e2ef;
  --navy: #03145f;
  --blue: #075ff2;
  --cyan: #28c9ff;
  --teal: #0e9fb6;
  --green: #0f9f78;
  --amber: #d88a16;
  --red: #d94b55;
  --violet: #3557b7;
  --porcelain: #f8fafc;
  --ice: #edf5ff;
  --shadow: 0 16px 42px rgba(19, 30, 54, 0.11);
  --radius: 8px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

@property --hero-trace-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% -8%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(139, 92, 246, 0.11), transparent 30%),
    radial-gradient(circle at 16% 38%, rgba(234, 246, 255, 0.86), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #f3f7fc 100%);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.evidence-extract-panel {
  border-color: #8fb8ff;
  background: linear-gradient(135deg, #ffffff 0%, #f1f7ff 60%, #edfdfa 100%);
}

.evidence-extract-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  align-items: stretch;
}

.evidence-extract-grid.single {
  grid-template-columns: 1fr;
}

.evidence-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.evidence-action-row .ghost,
.evidence-action-row .primary {
  min-height: 42px;
}

.evidence-extract-grid label {
  display: grid;
  gap: 10px;
  margin: 0;
}

.evidence-extract-grid label span,
.evidence-extract-output > strong {
  color: #526782;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.evidence-extract-grid textarea {
  min-height: 180px;
  resize: vertical;
  border: 1px solid #bdd3f5;
  border-radius: 18px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.evidence-extract-output {
  border: 1px solid #bdd3f5;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.evidence-extract-output p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.evidence-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.evidence-choice-grid article {
  border: 1px solid #bdd3f5;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 210px;
}

.evidence-choice-grid span {
  color: #526782;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.evidence-choice-grid strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.evidence-choice-grid p {
  margin: 0;
  color: #2b4060;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.evidence-choice-grid button {
  justify-self: start;
  margin-top: 4px;
}

.evidence-inline-note {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.evidence-inline-note span {
  color: #314968;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.evidence-inline-note textarea {
  min-height: 112px;
  width: 100%;
  resize: vertical;
  border: 1px solid #bdd3f5;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.evidence-file-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.evidence-file-picker label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #8ab8ff;
  border-radius: 999px;
  background: #fff;
  color: #075ff2;
  font-weight: 900;
  cursor: pointer;
}

.evidence-file-picker input {
  display: none;
}

.evidence-file-status {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #d7e5f7;
  border-radius: 14px;
  background: #f6faff;
  color: #172843;
  font-size: 13px;
  font-weight: 800;
}

.evidence-file-status.loaded {
  border-color: #8bd7c3;
  background: #ecfff8;
  color: #007a5b;
}

.evidence-file-status.parser_pending {
  border-color: #f0c66f;
  background: #fff9e8;
  color: #8a5a00;
}

.evidence-file-status.unsupported {
  border-color: #ffb6bf;
  background: #fff4f5;
  color: #9a1230;
}

.evidence-file-status.read_failed {
  border-color: #ff9aa8;
  background: #fff1f3;
  color: #a20f2d;
}

.parser-agent-grid {
  display: grid;
  gap: 10px;
}

.parser-agent-grid > b {
  color: #526782;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.parser-agent-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 10px;
  align-items: center;
  border: 1px solid #d7e5f7;
  border-radius: 14px;
  background: #f6faff;
  padding: 10px 12px;
}

.parser-agent-grid article span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.parser-agent-grid article strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.parser-agent-grid article small {
  color: #526782;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.parser-agent-grid article.found {
  border-color: #8bd7c3;
  background: #ecfff8;
}

.parser-agent-grid article.partial {
  border-color: #f0c66f;
  background: #fff9e8;
}

.parser-agent-grid article.missing {
  border-color: #d7e5f7;
  background: #f7fbff;
}

.client-evidence-modal {
  width: min(1120px, calc(100vw - 42px));
  max-height: 88vh;
  overflow: auto;
}

.client-evidence-modal .client-evidence-form {
  margin-top: 0;
}

.client-evidence-form {
  border: 1px solid #bcd6f8;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  padding: 18px;
  margin: 18px 0;
  box-shadow: 0 10px 30px rgba(13, 47, 100, 0.06);
}

.client-evidence-form-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.client-evidence-form-head b {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.client-evidence-form-head span {
  display: block;
  margin-top: 5px;
  color: #263b5a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.client-evidence-form-head small {
  border: 1px solid #9fdac8;
  border-radius: 999px;
  background: #edfdf7;
  color: #006e55;
  padding: 8px 12px;
  font-weight: 900;
  white-space: nowrap;
}

.client-evidence-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.client-evidence-sections section {
  border: 1px solid #d4e3f5;
  border-radius: 18px;
  background: #f8fbff;
  padding: 16px;
}

.client-evidence-sections h4 {
  margin: 0 0 12px;
  color: #075ff2;
  font-size: 16px;
  font-weight: 900;
}

.client-evidence-fields {
  display: grid;
  gap: 12px;
}

.client-evidence-fields label {
  display: grid;
  gap: 7px;
}

.client-evidence-fields span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.client-evidence-fields input {
  width: 100%;
  border: 1px solid #bdd3f5;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 800;
}

.client-evidence-fields small {
  color: #4a5f7b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.client-evidence-fields small b {
  color: #12213b;
}

.evidence-guardrail-card,
.score-impact-guide {
  border: 1px solid #b9d4f6;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef8ff 100%);
  padding: 18px;
  margin: 18px 0;
}

.evidence-guardrail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.evidence-guardrail-head h4,
.score-impact-guide h4 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.evidence-guardrail-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #243d5e;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
}

.guardrail-approval {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #80d7bd;
  border-radius: 999px;
  background: #effcf8;
  color: #053c30;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  margin-bottom: 14px;
}

.guardrail-approval input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  appearance: auto;
  accent-color: #008c70;
}

.evidence-guardrail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.evidence-guardrail-grid label {
  display: grid;
  gap: 6px;
  border: 1px solid #d3e1f4;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.evidence-guardrail-grid span,
.score-impact-grid strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.evidence-guardrail-grid small {
  color: #48617f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.evidence-guardrail-grid input,
.evidence-guardrail-grid select {
  width: 100%;
  border: 1px solid #bed4f2;
  border-radius: 10px;
  background: #f8fbff;
  color: var(--ink);
  padding: 10px 11px;
  font-size: 14px;
  font-weight: 850;
}

.evidence-guardrail-card > p {
  margin: 14px 0 0;
  color: #203b5d;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
}

.score-impact-guide {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

.score-impact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.score-impact-grid article {
  border: 1px solid #d2e1f6;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.score-impact-grid span,
.score-impact-grid em {
  display: block;
  margin-top: 6px;
  color: #4d6380;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.score-impact-grid em {
  color: #075ff2;
  font-style: normal;
}

.evidence-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evidence-fact-grid article {
  border: 1px solid #d2e1f6;
  border-radius: 14px;
  background: #f7fbff;
  padding: 12px;
}

.evidence-fact-grid article.approve {
  border-color: #61d3a9;
  background: #eefcf7;
}

.evidence-fact-grid article.validate {
  border-color: #ffd08a;
  background: #fff8ec;
}

.evidence-fact-grid article.reject {
  border-color: #ffadb4;
  background: #fff1f3;
}

.evidence-fact-grid article.use_now {
  border-color: #55d6b1;
  background: #effcf8;
}

.evidence-fact-grid article.review_first {
  border-color: #ffcf7a;
  background: #fff8ec;
}

.evidence-fact-grid article.hold_out {
  border-color: #ff9aa8;
  background: #fff1f3;
}

.evidence-fact-grid span,
.evidence-gap-list b {
  display: block;
  color: #61718a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.evidence-fact-grid span em {
  display: inline-block;
  margin-left: 7px;
  border: 1px solid #b8cff1;
  border-radius: 999px;
  background: #fff;
  color: #075ff2;
  padding: 2px 7px;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.evidence-fact-grid b {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
}

.evidence-fact-grid small {
  display: block;
  margin-top: 5px;
  color: #4f627d;
  font-weight: 800;
}

.evidence-fact-grid .evidence-issue {
  color: #9a1230;
}

.evidence-relevance-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.evidence-provenance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.evidence-provenance-strip article {
  border: 1px solid #d7e6f7;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f6fbff);
  padding: 13px;
}

.evidence-provenance-strip article.done {
  border-color: #94dcc8;
  background: #effcf8;
}

.evidence-provenance-strip article.watch {
  border-color: #ffd58a;
  background: #fff8eb;
}

.evidence-provenance-strip article.pending {
  border-color: #c8d7ea;
  background: #f7fbff;
}

.evidence-provenance-strip span {
  display: block;
  color: #526782;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.evidence-provenance-strip strong {
  display: block;
  margin-top: 5px;
  color: #07112f;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
}

.evidence-relevance-summary article {
  border: 1px solid #cfe0f6;
  border-radius: 14px;
  background: #f8fbff;
  padding: 12px;
}

.evidence-relevance-summary article.good {
  border-color: #72dab7;
  background: #effcf8;
}

.evidence-relevance-summary article.watch {
  border-color: #ffcf7a;
  background: #fff8ec;
}

.evidence-relevance-summary article.risk {
  border-color: #ff9aa8;
  background: #fff1f3;
}

.evidence-relevance-summary span {
  display: block;
  color: #6a7d98;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.evidence-relevance-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .evidence-guardrail-grid,
  .evidence-provenance-strip,
  .score-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .score-impact-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .evidence-provenance-strip {
    grid-template-columns: 1fr;
  }
}

.reconcile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.reconcile-actions button {
  border: 1px solid #b6cdf0;
  border-radius: 999px;
  background: #fff;
  color: #075ff2;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.evidence-rationale-chip {
  border: 1px solid #9edcea;
  border-radius: 14px;
  background: #eefbfe;
  color: #11344d;
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 14px;
  font-weight: 900;
}

.evidence-rationale-chip.pending {
  border-color: #ffd08a;
  background: #fff8ec;
  color: #7a4b00;
}

.evidence-gap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.evidence-gap-list b,
.evidence-risk-list b {
  flex-basis: 100%;
}

.evidence-gap-list span {
  border: 1px solid #ffd08a;
  border-radius: 999px;
  background: #fff7e7;
  color: #8a4b00;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 12px;
}

.evidence-risk-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.evidence-risk-list span {
  border: 1px solid #ff9aa8;
  border-radius: 999px;
  background: #fff1f3;
  color: #9a1230;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 12px;
}

.evidence-caveat {
  border-top: 1px solid #d8e5f7;
  padding-top: 12px;
  color: #3c506d !important;
  font-size: 13px;
}

.business-lens-selector {
  display: grid;
  gap: 8px;
  border: 1px solid #9bc8ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  padding: 16px;
  margin: 16px 0;
}

.business-lens-selector span {
  color: #526782;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.business-lens-selector select {
  border: 1px solid #bcd2f1;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  padding: 12px;
}

.business-lens-selector em {
  color: #243753;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.lens-impact-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 18px;
}

.lens-impact-panel article {
  border: 1px solid #c8dbf4;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  padding: 16px;
  min-height: 150px;
}

.lens-impact-panel span {
  display: block;
  color: #526782;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lens-impact-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.lens-impact-panel p {
  margin: 10px 0 0;
  color: #273c5d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.lens-impact-panel .lens-score-impact {
  border-color: #72d4c2;
  background: linear-gradient(135deg, #eefcf8, #ffffff);
}

.lens-impact-panel .lens-score-impact strong {
  color: #00806a;
}

.lens-impact-panel .revenue-calibration-card {
  border-color: #f0c66f;
  background: linear-gradient(135deg, #fff9e8 0%, #ffffff 76%);
}

.lens-impact-panel .revenue-calibration-card span,
.lens-impact-panel .revenue-calibration-card strong {
  color: #8a5a00;
}

.review-control-bar,
.bottom-approve-bar {
  border: 1px solid #b8d2f5;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(13, 47, 100, 0.07);
}

.review-control-bar strong,
.bottom-approve-bar strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.bottom-approve-bar span {
  display: block;
  margin-top: 5px;
  color: #293d5d;
  font-size: 15px;
  font-weight: 800;
}

.review-control-bar > div:last-child {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.review-accordion {
  border: 1px solid #b8d2f5;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(13, 47, 100, 0.07);
}

.review-accordion-head {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #ffffff, #f1f8ff);
  color: var(--ink);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 1fr auto;
  gap: 16px;
  align-items: center;
  text-align: left;
}

.review-accordion-head span {
  font-size: 22px;
  font-weight: 900;
}

.review-accordion-head small {
  color: #304765;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.review-accordion-head b {
  border: 1px solid #99c2ff;
  border-radius: 999px;
  background: #fff;
  color: #075ff2;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 900;
}

.review-accordion-body {
  padding: 16px;
}

.review-accordion-body > .validation-card {
  margin: 0;
}

.review-accordion.collapsed .review-accordion-head {
  background: linear-gradient(135deg, #ffffff, #f6fbff);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 201, 255, 0.24), transparent 28%),
    radial-gradient(circle at 72% 0%, rgba(7, 95, 242, 0.30), transparent 34%),
    linear-gradient(90deg, #020a32 0%, #061b83 54%, #041334 100%);
  box-shadow: 0 18px 44px rgba(3, 20, 95, 0.24);
  backdrop-filter: blur(18px);
}

.session-expired-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.98), rgba(239, 246, 255, 0.96));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.session-expired-banner strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
}

.session-expired-banner p {
  margin: 4px 0 0;
  color: var(--muted);
}

.brand {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.brand-mark,
.agent-avatar,
.mini-icon {
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: #fff;
}

.brand-logo {
  height: 48px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(12, 16, 46, 0.22);
}

.brand span {
  display: block;
  color: #bcd6f4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.nav button,
.ghost,
.primary,
.pill-button {
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 850;
}

.nav button {
  border: 1px solid transparent;
  padding: 0 13px;
  background: transparent;
  color: #e7def5;
  font-size: 16px;
  white-space: nowrap;
}

.nav button.active {
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 46px;
  min-width: 46px;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.mobile-nav-toggle span {
  display: block;
  width: auto;
  height: auto;
  border-radius: 999px;
  background: transparent;
  letter-spacing: 0.08em;
  transform: translateY(-2px);
}

.status-chip,
.tag,
.verdict,
.quality {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.status-chip {
  border: 1px solid #b9d4ff;
  background: #edf5ff;
  color: #155bd7;
}

.login-button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: var(--radius);
  padding: 0 15px;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
}

.account-button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.05;
}

.account-button.is-authenticated {
  align-items: center;
  padding: 0 15px;
}

.account-menu-wrap {
  position: relative;
}

.account-kicker {
  color: #5f718c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 8px;
  min-width: 245px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(9, 25, 66, 0.2);
  color: var(--ink);
}

.account-menu strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
}

.account-menu-action {
  border: 1px solid #bdd2ef;
  border-radius: 999px;
  padding: 10px 15px;
  background: #ffffff;
  color: #075ff2;
  font-weight: 900;
  font-size: 15px;
  text-align: center;
}

.logout-button {
  border: 1px solid #bdd2ef;
  border-radius: 999px;
  padding: 10px 15px;
  background: #f6f9ff;
  color: #081846;
  font-weight: 850;
  font-size: 16px;
}

.ghost.danger {
  border-color: #efb2b2;
  background: #fff5f5;
  color: #a12929;
}

.siteiq-public-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 30px auto 8px;
  max-width: 1460px;
  border-top: 1px solid #cdddf0;
  padding: 20px 4px 4px;
  color: #53667f;
  font-size: 13px;
  line-height: 1.45;
}

.siteiq-public-footer p {
  margin: 0;
  max-width: 980px;
}

.siteiq-public-footer nav {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
}

.siteiq-public-footer a {
  color: #075ff2;
  font-weight: 850;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #075ff2;
  font-weight: 850;
  text-decoration: underline;
}

.usage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #ffd187;
  border-radius: 999px;
  padding: 0 10px;
  background: #fff7e8;
  color: #9a5600;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.primary,
.ghost,
.pill-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 15px;
}

.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(35, 100, 255, 0.22);
}

.ghost,
.pill-button {
  border-color: #cad7e8;
  background: #fff;
  color: #26354d;
}

.primary.green {
  background: linear-gradient(135deg, var(--blue), #0b8bd7);
  box-shadow: 0 12px 24px rgba(36, 107, 254, 0.22);
}

.screen {
  display: none;
  padding: 26px 0 20px;
}

.screen.active {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 26px;
  align-items: start;
  min-height: clamp(620px, 74vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: clamp(34px, 4vw, 46px);
  background:
    radial-gradient(circle at 20% 20%, rgba(40, 201, 255, 0.12), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(7, 95, 242, 0.22), transparent 34%),
    linear-gradient(135deg, #06143a 0%, #082c73 56%, #0a4ea6 100%);
  box-shadow: 0 24px 64px rgba(3, 20, 95, 0.20);
}

.hero::before {
  content: "";
  position: absolute;
  left: -14%;
  top: -6%;
  width: 38%;
  height: 112%;
  background:
    linear-gradient(150deg, rgba(7, 95, 242, 0.30), rgba(40, 201, 255, 0.16) 52%, transparent 53%),
    linear-gradient(26deg, transparent 40%, rgba(40, 201, 255, 0.12) 42%, transparent 66%);
  clip-path: polygon(0 0, 80% 0, 44% 100%, 0 100%);
  opacity: 0.7;
}

.hero > section,
.hero > aside {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255,255,255,0.1);
  color: #aeeeff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 14px;
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(46px, 4.55vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.accent {
  color: #246bfe;
}

.hero-copy {
  max-width: 650px;
  color: #dbeafe;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.42;
}

.hero-actions,
.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.hero-action-row .primary,
.hero-action-row .ghost {
  min-width: 170px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
}

.proof-grid article,
.card,
.metric-card,
.agent-card,
.data-tile,
.candidate,
.voice-card,
.readout,
.map-panel,
.live-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.proof-grid article {
  padding: 18px;
}

.proof-grid span,
.section-label,
.label,
.muted-label {
  color: #334761;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.proof-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  margin-top: 10px;
}

.hero-proof-row {
  grid-column: 1 / -1;
}

.hero-signal-grid article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border-color: rgba(196, 222, 255, 0.22);
  background: rgba(255,255,255,0.09);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 18px 38px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.hero-signal-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background:
    conic-gradient(from var(--hero-trace-angle, 0deg),
      rgba(255,255,255,0.06),
      rgba(40,201,255,0.98),
      rgba(155,246,255,0.92),
      rgba(255,255,255,0.08),
      rgba(40,201,255,0.98),
      rgba(255,255,255,0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: heroProofTrace 4.8s linear infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(40, 201, 255, 0.45));
  z-index: 0;
}

.hero-signal-grid article > * {
  position: relative;
  z-index: 1;
}

@keyframes heroProofTrace {
  to { --hero-trace-angle: 360deg; }
}

.hero-signal-grid b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #075ff2, #28c9ff);
  color: #ffffff;
}

.hero-signal-grid span {
  color: #9fe9ff;
  font-size: 14px;
}

.hero-signal-grid strong {
  margin: 0;
  font-size: 24px;
}

.hero-signal-grid small {
  color: #d8e0f2;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.home-section {
  padding: 46px 0;
}

.product-demo-section {
  margin: 14px 0 8px;
  padding: clamp(38px, 5vw, 64px) clamp(16px, 4vw, 54px);
  border: 1px solid #d7e4f5;
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 18%, rgba(40, 201, 255, 0.12), transparent 30%),
    linear-gradient(145deg, #f5f9ff 0%, #ffffff 58%, #effbf7 100%);
  box-shadow: 0 22px 58px rgba(7, 52, 120, 0.10);
}

.product-demo-head {
  margin-bottom: 30px;
}

.product-demo-eyebrow {
  color: #008761;
}

.product-demo-head h2 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.product-demo-frame {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(7, 40, 92, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(3, 20, 95, 0.14);
}

.product-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 16px;
  background: #06143a;
  object-fit: contain;
}

.product-demo-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 76% 20%, rgba(40, 201, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #06143a 0%, #082c73 62%, #075ff2 100%);
  color: #ffffff;
  text-align: center;
}

.product-demo-placeholder::before,
.product-demo-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(174, 238, 255, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.product-demo-placeholder::before { width: 46%; height: 92%; left: -14%; top: 4%; }
.product-demo-placeholder::after { width: 34%; height: 68%; right: -8%; bottom: -18%; }

.product-demo-play {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 2px solid rgba(255,255,255,0.72);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 10px 28px rgba(0,0,0,0.20);
}

.product-demo-play span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
}

.product-demo-placeholder strong {
  font-size: clamp(20px, 2.2vw, 30px);
}

.product-demo-placeholder > span {
  color: #dbeafe;
  font-size: 15px;
  font-weight: 800;
}

.center-head {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.center-head.left {
  width: min(1040px, 100%);
  margin-left: 0;
  text-align: left;
}

.center-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.center-head p {
  margin: 0 auto;
  color: #2f3f55;
  font-size: 21px;
  line-height: 1.45;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d8e3f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.home-section .flow-strip {
  border-top: 5px solid var(--blue);
}

.flow-strip article {
  position: relative;
  min-height: 212px;
  padding: 24px;
  border-right: 1px solid #dbe4ef;
}

.flow-strip article:last-child {
  border-right: 0;
}

.flow-strip article::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 2;
  color: #2b3a51;
  font-weight: 900;
}

.flow-strip article:last-child::after {
  display: none;
}

.flow-icon,
.layer-number,
.failure-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eaf2ff;
  color: #145df0;
  font-weight: 950;
}

.flow-strip span {
  display: block;
  margin-top: 14px;
  color: #8291a8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-strip h3 {
  margin: 18px 0 8px;
}

.flow-strip p {
  margin: 0;
  color: #33445b;
  font-size: 16px;
  line-height: 1.45;
}

.evidence-layer-grid,
.failure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.evidence-layer-card,
.failure-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.failure-grid .failure-card {
  background: linear-gradient(180deg, #ffffff, #fff8f8);
}

.failure-grid .failure-card:nth-child(2),
.failure-grid .failure-card:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, #fff6f1);
}

.evidence-layer-card h3,
.failure-card h3 {
  margin: 4px 0 16px;
  font-size: 28px;
}

.evidence-layer-card p {
  color: #33445b;
  font-size: 18px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.check-grid span {
  color: #10233d;
  font-weight: 850;
}

.check-grid span::before {
  content: "○";
  margin-right: 8px;
  color: var(--teal);
  font-weight: 950;
}

.tone-1 { background: #f2f6ff; border-color: #b8d1ff; }
.tone-2 { background: #eef8ff; border-color: #b9e8ff; }
.tone-3 { background: #f8fbff; border-color: #cad9ef; }
.tone-4 { background: #f0f7ff; border-color: #a9cef7; }

.failure-card ul,
.committee-card ul {
  margin: 0;
  padding-left: 18px;
  color: #14243c;
  font-size: 18px;
  line-height: 1.85;
}

.failure-icon {
  width: 58px;
  height: 58px;
  border: 1px solid #ffc7cd;
  background: #fff2f3;
  color: #b42335;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.failure-card li::marker,
.committee-card li::marker {
  color: var(--blue);
}

.siteiq-proposition {
  padding-top: 54px;
}

.proposition-grid,
.output-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.proposition-grid article,
.output-card-grid article {
  border: 1px solid #cfe0f5;
  border-radius: 20px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  box-shadow: var(--shadow);
}

.proposition-grid b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #075ff2, #20b8e9);
  color: #fff;
  font-size: 20px;
}

.proposition-grid h3,
.output-card-grid h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.05;
}

.proposition-grid p,
.output-card-grid p {
  margin: 0;
  color: #263a54;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 750;
}

.output-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.output-card-grid span {
  color: #145df0;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.verdict-cta {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid #b9cdfd;
  border-radius: var(--radius);
  padding: 52px 24px;
  background: #edf4ff;
  text-align: center;
}

.verdict-cta h2 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
}

.verdict-cta p {
  max-width: 560px;
  margin: 0 auto;
  color: #52627a;
  font-size: 20px;
  line-height: 1.45;
}

.verdict-cta .hero-actions {
  justify-content: center;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.agent-system-shell {
  padding-top: 54px;
  padding-bottom: 54px;
}

.agent-system-panel {
  position: relative;
  overflow: hidden;
  width: min(1320px, 100%);
  margin: 0 auto;
  border: 1px solid #b9d4fb;
  border-radius: 28px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(40, 201, 255, 0.14), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(7, 95, 242, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,249,255,0.92));
  box-shadow: 0 28px 76px rgba(8, 38, 105, 0.16);
}

.agent-system-orbit {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 0;
  width: min(520px, 62%);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(7, 95, 242, 0.18), rgba(40, 201, 255, 0.18), transparent);
  transform: translateX(-50%);
  animation: none;
  pointer-events: none;
  opacity: 0.95;
}

.agent-system-orbit::before,
.agent-system-orbit::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -180px;
  width: 180px;
  background:
    radial-gradient(circle at 10px 50%, #0fc69d 0 4px, transparent 5px),
    radial-gradient(circle at 44px 50%, #075ff2 0 4px, transparent 5px),
    radial-gradient(circle at 78px 50%, #28c9ff 0 4px, transparent 5px),
    radial-gradient(circle at 112px 50%, #0fc69d 0 4px, transparent 5px),
    radial-gradient(circle at 146px 50%, #075ff2 0 4px, transparent 5px);
  animation: agentDotFlow 4s linear infinite;
}

.agent-system-orbit::after {
  animation-delay: 2s;
}

.agent-system-panel::before {
  content: none;
  position: absolute;
  top: 0;
  left: 6%;
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #075ff2, #28c9ff, transparent);
  animation: agentEdgeTop 2.4s linear infinite;
  pointer-events: none;
}

.agent-system-panel::after {
  content: none;
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #28c9ff, #075ff2, transparent);
  animation: agentEdgeBottom 2.4s linear infinite;
  pointer-events: none;
}

@keyframes agentEdgeTop {
  0% { opacity: 0.18; transform: translateX(-25%); }
  40% { opacity: 1; }
  100% { opacity: 0.18; transform: translateX(190%); }
}

@keyframes agentEdgeBottom {
  0% { opacity: 0.18; transform: translateX(25%); }
  40% { opacity: 1; }
  100% { opacity: 0.18; transform: translateX(-190%); }
}

@keyframes agentOrbit {
  to { transform: rotate(360deg); }
}

@keyframes agentDotFlow {
  to { transform: translateX(calc(100vw + 220px)); }
}

.agent-system-panel .home-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 0;
  margin: 0;
}

.committee-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.committee-card.amber,
.committee-card.green,
.committee-card.violet {
  border-top-color: var(--blue);
}

.agent-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.agent-topline span {
  border-radius: 999px;
  padding: 7px 10px;
  background: #f0f4fb;
  color: #53637a;
  font-size: 12px;
  font-weight: 900;
}

.committee-card h3 {
  min-height: 54px;
  margin-bottom: 8px;
  font-size: 24px;
}

.committee-card p {
  min-height: 42px;
  color: #40516a;
  font-size: 16px;
}

.committee-card .agent-avatar {
  position: relative;
  overflow: visible;
  color: transparent;
}

.committee-card .agent-avatar::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 8px;
}

.committee-card .agent-avatar::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 10px 0 0 #fff, 5px -12px 0 -1px #fff;
}

.specialist-section {
  padding-top: 26px;
  padding-bottom: 34px;
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.specialist-grid article {
  display: flex;
  flex-direction: column;
  border: 1px solid #cfe0f5;
  border-radius: 20px;
  padding: 26px;
  background:
    radial-gradient(circle at 90% 0%, rgba(40, 201, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff, #f6faff);
  box-shadow: var(--shadow);
}

.specialist-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #05146d, #0b8bd7);
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}

.specialist-grid h3 {
  margin: 18px 0 10px;
  font-size: 26px;
  line-height: 1.08;
}

.specialist-grid p {
  margin: 0;
  color: #263a54;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 750;
}

.committee-card .pill-button,
.specialist-grid .pill-button {
  align-self: flex-start;
  margin-top: auto;
  border-color: #9fc4ff;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #075ff2;
  box-shadow: 0 8px 22px rgba(7, 95, 242, 0.10);
  animation: clickablePulse 2.8s ease-in-out infinite;
}

.specialist-grid .pill-button {
  align-self: center;
  margin-top: 22px;
}

@keyframes clickablePulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 22px rgba(7, 95, 242, 0.10); }
  50% { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(7, 95, 242, 0.18); }
}

.agent-pipeline-row {
  margin: 0 auto;
  width: min(1240px, 100%);
  border: 1px solid #cdd9ea;
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.compact-decision-chain,
.proof-crosswalk-section,
.agent-intro-section {
  padding-top: 38px;
  padding-bottom: 38px;
}

.compact-decision-chain .center-head.left,
.proof-crosswalk-section .center-head.left {
  width: min(1120px, 100%);
  margin-bottom: 20px;
}

.compact-decision-chain .center-head.left,
.proof-crosswalk-section .center-head.left,
.persona-section .center-head.left {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.compact-decision-chain .center-head h2,
.proof-crosswalk-section .center-head h2 {
  max-width: 940px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(34px, 3.2vw, 48px);
}

.compact-decision-chain .center-head p {
  margin-right: auto;
  margin-left: auto;
}

.compact-decision-chain .agent-pipeline-row {
  border: 1px solid rgba(205, 226, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(77, 214, 255, 0.15), transparent 32%),
    linear-gradient(135deg, #020a32, #06269f);
  box-shadow: 0 22px 58px rgba(12, 16, 30, 0.18);
}

.compact-decision-chain .agent-pipeline-row span {
  min-height: 126px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #9fe9ff;
}

.compact-decision-chain .agent-pipeline-row span strong {
  color: #ffffff;
}

.compact-decision-chain .agent-pipeline-row span em {
  color: #dbeafe;
  font-size: 15px;
}

.agent-pipeline-row > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.agent-pipeline-row span {
  display: grid;
  gap: 5px;
  align-content: start;
  min-height: 118px;
  border-radius: var(--radius);
  background: #f0f6ff;
  color: #145df0;
  padding: 16px;
  font-size: 14px;
  font-weight: 950;
}

.agent-pipeline-row span strong {
  font-size: 18px;
}

.agent-pipeline-row span em {
  color: #53637a;
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

.source-board {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.compact-source-board {
  grid-template-columns: 300px 1fr;
  align-items: stretch;
  padding: 20px;
}

.compact-source-board .center-head {
  margin: 0;
}

.compact-source-board .center-head h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.05;
}

.compact-source-board .source-grid {
  align-self: stretch;
}

.active-case-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.active-case-card h3 {
  margin: 2px 0 0;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.source-card.high {
  border-color: #a9c6ff;
  background: linear-gradient(145deg, #ffffff, #f0f6ff);
}

.source-card.medium {
  border-color: #b9e8ff;
  background: linear-gradient(145deg, #ffffff, #eef8ff);
}

.source-card.low {
  border-color: #cbd8e8;
  background: #f8fbff;
}

.load-workspace,
.client-evidence-panel {
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.load-brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 34px;
  align-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(106, 132, 192, 0.62);
  border-radius: 22px;
  padding: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(40, 201, 255, 0.34), transparent 28%),
    radial-gradient(circle at 15% 88%, rgba(7, 95, 242, 0.32), transparent 34%),
    linear-gradient(135deg, #020a32 0%, #06269f 55%, #045dbe 100%);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  box-shadow: 0 24px 64px rgba(11, 18, 48, 0.24);
}

.load-brand-copy {
  display: block;
}

.load-brand-copy h2 {
  margin: 4px 0 14px;
  max-width: 920px;
  font-size: clamp(46px, 4.6vw, 74px);
  line-height: 1;
  letter-spacing: 0;
  color: #ffffff;
}

.load-brand-copy p {
  max-width: 820px;
  margin: 0;
  color: #d9e7ff;
  font-size: 21px;
  line-height: 1.42;
}

.load-brand-hero .section-label {
  color: #62e4ff;
}

.pincode-intel-visual {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  border: 1px solid rgba(149, 221, 235, 0.42);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 52% 50%, rgba(35, 100, 255, 0.36), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 20px 42px rgba(0,0,0,0.18);
}

.pincode-intel-visual b {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 44px;
  height: 44px;
  border: 10px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #075ff2, #28c9ff);
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 0 0 18px rgba(77, 214, 255, 0.16), 0 16px 35px rgba(25, 34, 62, 0.16);
}

.pulse-ring {
  position: absolute;
  left: 50%;
  top: 43%;
  border: 2px solid rgba(98, 228, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pulse-ring.one { width: 112px; height: 112px; }
.pulse-ring.two { width: 190px; height: 190px; }
.pulse-ring.three { width: 252px; height: 252px; }

.v-chip {
  position: absolute;
  border: 1px solid rgba(207, 231, 255, 0.54);
  border-radius: 999px;
  max-width: 176px;
  padding: 9px 13px;
  background: rgba(8, 16, 43, 0.72);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.v-chip.c1 { left: 22px; top: 24px; }
.v-chip.c2 { right: 22px; top: 32px; }
.v-chip.c3 { left: 22px; bottom: 78px; }
.v-chip.c4 { right: 22px; bottom: 78px; }

.pincode-intel-visual strong {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  min-width: 220px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #ffffff, #e9f8ff);
  color: #07112f;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.load-step-head {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.load-step-head.compact {
  margin-top: 40px;
}

.load-step-head > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), #00b48a);
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.load-step-head h3 {
  margin: 0 0 6px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0;
}

.load-step-head p {
  max-width: 980px;
  margin: 0;
  color: #1e2e47;
  font-size: 20px;
  line-height: 1.45;
}

.detect-stack {
  display: grid;
  gap: 24px;
}

.detect-main-card,
.agentic-status-card,
.site-picker-panel {
  border: 1px solid #d8e3f0;
  border-radius: 20px;
  background: #f8fbff;
  padding: 22px;
}

.detect-main-card {
  align-self: start;
}

.pincode-command {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 170px;
  gap: 14px;
  align-items: end;
}

.pincode-command button {
  min-height: 58px;
  font-size: 17px;
}

.location-entry-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8e5f5;
  border-radius: 18px;
  background: rgba(255,255,255,.76);
}

.location-entry-grid label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.location-entry-grid span {
  color: #667a95;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.location-entry-grid input {
  width: 100%;
  min-height: 52px;
}

.location-entry-grid button {
  min-height: 52px;
}

.location-entry-grid button:disabled {
  opacity: .65;
  cursor: wait;
}

.inline-spinner {
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: -2px;
  border: 3px solid #bcd6ff;
  border-top-color: #075ff2;
  border-radius: 50%;
  animation: siteiqSpin .8s linear infinite;
}

.lookup-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.lookup-status-strip div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 8px;
  border: 1px solid #e1e9f3;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.lookup-status-strip div.active {
  border-color: #86dec8;
  background: #eafbf5;
}

.lookup-status-strip b {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef3fb;
  color: #607089;
  font-weight: 950;
}

.lookup-status-strip div.active b {
  background: var(--green);
  color: #fff;
}

.lookup-status-strip.resolver-progress div.active {
  position: relative;
  overflow: hidden;
}

.lookup-status-strip.resolver-progress div.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.52) 46%, transparent 78%);
  transform: translateX(-120%);
  animation: resolverSweep 1.6s ease-in-out infinite;
}

.lookup-status-strip.resolver-progress div.active:nth-child(2)::after {
  animation-delay: .2s;
}

.lookup-status-strip.resolver-progress div.active:nth-child(3)::after {
  animation-delay: .4s;
}

.lookup-status-strip span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.lookup-status-strip em {
  color: #5d6d84;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

@keyframes resolverSweep {
  0% { transform: translateX(-120%); }
  58%, 100% { transform: translateX(120%); }
}

.agentic-status-card {
  display: grid;
  align-content: center;
  background: linear-gradient(145deg, #eef6ff, #effbf6);
}

.agentic-status-card h4 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.agentic-status-card p {
  margin: 0;
  color: #27364d;
  font-size: 17px;
  line-height: 1.45;
}

.agentic-status-card small {
  margin-top: 12px;
  color: #506078;
  font-weight: 850;
}

.agent-processing-dots {
  display: flex;
  gap: 8px;
  margin: 16px 0 4px;
}

.agent-processing-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9ab0cc;
}

.agent-processing-dots.is-running span {
  animation: siteiqPulse 0.9s infinite alternate;
}

.agent-processing-dots.is-running span:nth-child(2) {
  animation-delay: 0.15s;
}

.agent-processing-dots.is-running span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes siteiqPulse {
  from { opacity: 0.35; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-4px); }
}

.site-picker-panel {
  background: #ffffff;
}

.site-picker-controls {
  display: grid;
  grid-template-columns: 160px 190px minmax(240px, 1fr) minmax(240px, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.quick-site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.quick-site-grid button {
  display: grid;
  gap: 6px;
  border: 1px solid #d8e2ef;
  border-radius: 18px;
  padding: 18px;
  background: #f8fbff;
  color: var(--ink);
  text-align: left;
}

.quick-site-grid button:not(:disabled):hover {
  border-color: #8fb0ff;
  background: #eef4ff;
}

.quick-site-grid button.selected {
  border-color: #86dec8;
  background: #eafbf5;
}

.quick-site-grid strong {
  color: var(--blue);
  font-size: 20px;
}

.quick-site-grid span {
  font-size: 17px;
  font-weight: 950;
}

.quick-site-grid em {
  color: #607089;
  font-size: 15px;
  font-style: normal;
  font-weight: 850;
}

.selected-tray {
  border-top: 1px solid #e3ebf5;
  padding-top: 16px;
}

.selected-tray > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 10px;
}

.selected-tray > div:first-child strong {
  font-size: 18px;
}

.selected-tray .selected-site-rail button {
  grid-template-columns: auto 1fr auto auto;
}

.selected-site-rail i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #cbd8e8;
  border-radius: 50%;
  color: #607089;
  font-style: normal;
  font-weight: 950;
}

.client-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.evidence-next-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 60%, #edfdfa 100%);
}

.evidence-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 18px;
}

.evidence-next-grid.compact {
  margin-bottom: 20px;
}

.evidence-next-grid article {
  border: 1px solid #bdd3f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
}

.evidence-next-grid b {
  display: block;
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
  margin-bottom: 8px;
}

.evidence-next-grid p {
  margin: 0;
  color: #243753;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.evidence-next-cta {
  min-height: 50px;
  padding-inline: 22px;
}

.site-audit-evidence-panel .evidence-extract-panel {
  margin-top: 18px;
  box-shadow: none;
}

.capture-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border: 1px solid #9fdac8;
  border-radius: 999px;
  background: #edfdf7;
  color: #007a5b;
  padding: 7px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.captured-evidence-panel {
  border-color: #8fb8ff;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 58%, #edfdfa 100%);
}

.captured-review-grid {
  margin-top: 16px;
}

.empty-evidence-review {
  display: grid;
  gap: 10px;
  border: 1px dashed #9bc8ff;
  border-radius: 18px;
  background: #f7fbff;
  padding: 20px;
}

.empty-evidence-review strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.empty-evidence-review p {
  margin: 0;
  color: #243753;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.empty-evidence-review button {
  justify-self: start;
}

.client-evidence-card {
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  padding: 20px;
  background: #fbfdff;
}

.client-evidence-card.tone-1 { background: #f0f6ff; border-color: #b9cdfd; }
.client-evidence-card.tone-2 { background: #eefbfe; border-color: #95ddeb; }
.client-evidence-card.tone-3 { background: #f5f8ff; border-color: #c4d3f3; }
.client-evidence-card.tone-4 { background: #eff8fb; border-color: #a5dbe7; }
.client-evidence-card.tone-5 { background: #f2f6fd; border-color: #b9c8df; }
.client-evidence-card.tone-6 { background: #eef9fb; border-color: #9edcea; }

.client-evidence-title {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.client-evidence-title b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  font-size: 18px;
}

.client-evidence-title h4 {
  margin: 0 0 4px;
  font-size: 24px;
}

.client-evidence-title p {
  margin: 0;
  color: #52627a;
  font-size: 16px;
  line-height: 1.45;
}

.metric-chip-row.compact {
  margin: 16px 0;
}

.mini-upload-row {
  display: grid;
  gap: 8px;
}

.mini-upload-row label {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px dashed #a9bed8;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.mini-upload-row label:not(.loaded):hover {
  border-color: var(--blue);
  background: #f2f7ff;
  transform: translateY(-1px);
}

.mini-upload-row label.loaded {
  border-style: solid;
  border-color: #8be2cd;
  background: linear-gradient(135deg, #effbf6, #ffffff);
}

.mini-upload-row .file-state {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-upload-row .file-state i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-style: normal;
  font-size: 15px;
  line-height: 1;
}

.mini-upload-row .file-state.upload {
  border: 1px solid #b6c9e1;
  background: #f5f8fc;
}

.mini-upload-row .file-state.upload i {
  background: var(--blue);
  color: #fff;
}

.mini-upload-row .file-state.uploaded {
  border: 1px solid #8be2cd;
  background: #dff8ef;
  color: #007e61;
}

.mini-upload-row .file-state.uploaded i {
  background: var(--green);
  color: #fff;
}

.mini-upload-row em {
  color: var(--ink);
  font-style: normal;
  font-size: 16px;
  font-weight: 900;
}

.source-card-top {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
}

.source-card-top i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 65% 35%, #fff 0 14%, transparent 15%),
    linear-gradient(135deg, #03145f, #28c9ff);
  box-shadow: 0 12px 26px rgba(35, 100, 255, 0.18);
}

.source-card-top h3 {
  margin: 0;
  font-size: 24px;
}

.source-card-top strong {
  color: var(--blue);
  font-size: 24px;
  line-height: 1.05;
}

.source-card.medium .source-card-top strong {
  color: #0b6bb8;
}

.source-card.low .source-card-top strong {
  color: #46566d;
}

.source-card p {
  color: #27364d;
  font-size: 18px;
  line-height: 1.55;
}

.level-row {
  margin: 8px 0 6px;
}

.level-row span:first-child {
  border-color: #9edbc9;
  background: #eafbf5;
  color: #007e61;
}

.source-meter,
.mini-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef6;
}

.source-meter i,
.mini-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #5dd7c5);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  border-radius: 999px;
  padding: 8px 12px;
  background: #f1f5f9;
  color: #506176;
  font-size: 15px;
  font-weight: 850;
}

.detected-location-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}

.detected-location-hero.active {
  border-color: #9ec4ff;
  background: linear-gradient(135deg, #edf5ff, #f8fbff);
}

.detected-location-hero span {
  display: block;
  margin-bottom: 5px;
  color: #7b8ba4;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detected-location-hero h4 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.detected-location-hero p {
  margin: 8px 0 0;
  color: #27364d;
  font-size: 18px;
}

.detected-location-hero strong {
  color: var(--blue);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.detected-location-hero em {
  grid-column: 1 / -1;
  justify-self: start;
  border-radius: 999px;
  padding: 7px 12px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
}

.ask-siteiq-panel {
  display: grid;
  gap: 20px;
  border: 1px solid rgba(137, 166, 214, 0.55);
  border-radius: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at 8% 0%, rgba(7, 95, 242, 0.12), transparent 30%),
    radial-gradient(circle at 96% 10%, rgba(40, 201, 255, 0.14), transparent 30%),
    linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: 0 22px 54px rgba(19, 30, 54, 0.12);
}

.ask-scout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(460px, 1.7fr);
  gap: 26px;
  align-items: stretch;
}

.ask-siteiq-head {
  display: grid;
  align-content: center;
  border-radius: 20px;
  padding: 24px;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #03145f 0%, #075ff2 100%);
  background-size: 24px 24px, 24px 24px, auto;
  color: #ffffff;
}

.ask-siteiq-head .section-label {
  color: #9fe9ff;
}

.ask-siteiq-head h4 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: clamp(36px, 3.1vw, 50px);
  line-height: 1.05;
}

.ask-siteiq-head p {
  margin: 12px 0 0;
  color: #e5f1ff;
  font-size: 20px;
  line-height: 1.4;
}

.ask-command-zone {
  display: grid;
  gap: 14px;
}

.ask-preset-wrap {
  display: grid;
  gap: 10px;
  border: 1px solid #d7e5f5;
  border-radius: 18px;
  padding: 14px;
  background: #ffffff;
}

.ask-preset-wrap > strong {
  color: #24314a;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ask-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
  align-items: center;
  border: 1px solid #99b8ec;
  border-radius: 24px;
  padding: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 30px rgba(35, 100, 255, 0.08);
}

.ask-input-row input {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  outline: none;
}

.ask-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 132px;
  overflow: auto;
  padding-right: 4px;
}

.ask-preset-row button {
  border: 1px solid #cbd8e8;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #27364d;
  font-size: 16px;
  font-weight: 850;
}

.assistant-status-line {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  border: 1px solid #cfe3f7;
  border-radius: 18px;
  padding: 14px;
  background: #f8fbff;
}

.assistant-status-line strong {
  color: var(--ink);
  font-size: 17px;
}

.assistant-status-line span {
  color: #006b55;
  font-size: 16px;
  font-weight: 950;
}

.assistant-status-line .usage-chip {
  min-height: 34px;
  border-color: #b9d4ff;
  background: #edf5ff;
  color: #155bd7;
  font-size: 14px;
}

.ask-chat-panel {
  display: grid;
  gap: 16px;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  border: 1px solid #d8e6f5;
}

.chat-bubble {
  width: fit-content;
  max-width: min(980px, 100%);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(19, 30, 54, 0.07);
}

.chat-bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, #075ff2, #073a9d);
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
}

.chat-bubble.scout {
  justify-self: start;
  border: 1px solid #cbdcf0;
  background: #ffffff;
  color: var(--ink);
}

.chat-bubble.scout span {
  display: block;
  margin-bottom: 6px;
  color: #6b7d94;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-bubble.scout strong {
  display: block;
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
}

.chat-bubble.scout p {
  margin: 8px 0 0;
  color: #34455f;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
}

.ask-chat-panel.thinking .chat-bubble.scout {
  display: flex;
  gap: 8px;
  align-items: center;
}

.typing-dot {
  display: inline-block !important;
  width: 9px;
  height: 9px;
  margin: 0 !important;
  border-radius: 999px;
  background: #075ff2;
  animation: scoutTyping 1s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes scoutTyping {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

.ask-results {
  margin-top: 0;
  border: 1px solid #cbdcf0;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(19, 30, 54, 0.07);
}

.followup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 1px solid #d7e5f5;
  border-radius: 16px;
  padding: 14px;
  background: #f8fbff;
}

.followup-row strong {
  color: #24314a;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.followup-row button {
  border: 1px solid #cbd8e8;
  border-radius: 999px;
  padding: 9px 12px;
  background: #ffffff;
  color: #075ff2;
  font-size: 15px;
  font-weight: 900;
}

.ask-results-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.ask-results-head span {
  display: block;
  color: #6b7d94;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ask-results-head p {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 19px;
  font-weight: 950;
}

.scout-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scout-result-grid button {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  border: 1px solid #d8e3f0;
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  text-align: left;
  box-shadow: 0 8px 18px rgba(19, 30, 54, 0.06);
}

.scout-result-grid button:hover {
  border-color: #84a8ff;
  background: #f3f7ff;
}

.scout-result-grid strong {
  color: var(--blue);
  font-size: 24px;
}

.scout-result-grid span {
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.15;
}

.scout-result-grid em {
  color: #27364d;
  font-size: 16px;
  font-style: normal;
  line-height: 1.35;
}

.scout-result-grid small {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.scout-result-grid small b,
.scout-result-grid small i {
  display: block;
  font-style: normal;
}

.scout-result-grid small b {
  color: #52627a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scout-result-grid small i {
  margin-top: 2px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.primary.slim {
  min-height: 42px;
  margin-top: 12px;
  padding: 0 16px;
}

.ask-results-head .primary.slim {
  margin-top: 0;
  white-space: nowrap;
}

.site-select-board,
.intel-architecture,
.expert-analysis,
.consumer-in-verdict {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-select-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.site-select-head h3 {
  margin: 4px 0 6px;
  font-size: 28px;
}

.site-select-head p {
  margin: 0;
  color: #52627a;
}

.site-select-controls {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.custom-pincode-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 150px 150px minmax(220px, 0.8fr) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 16px;
  border: 1px dashed #b8c8dd;
  border-radius: var(--radius);
  padding: 16px;
  background: #f8fbff;
}

.pincode-canonical-row {
  grid-template-columns: minmax(360px, 1fr) minmax(180px, 240px) auto;
  align-items: end;
}

.load-level-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.load-level-row article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: center;
  border: 1px solid #dce7f4;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.load-level-row b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
}

.load-level-row strong {
  font-size: 18px;
}

.load-level-row p {
  grid-column: 2;
  margin: 0;
  color: #607089;
  line-height: 1.35;
}

.pincode-only input {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.resolved-location-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) repeat(3, minmax(170px, 1fr));
  gap: 14px;
  align-items: end;
  margin: 0 0 16px;
  border: 1px solid #cde8dd;
  border-radius: var(--radius);
  padding: 16px;
  background: #f0fbf7;
}

.resolved-location-card h3 {
  margin: 4px 0 0;
  font-size: 28px;
}

.resolved-location-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #466277;
  font-size: 14px;
}

.custom-pincode-row h4 {
  margin: 4px 0 6px;
  font-size: 20px;
}

.custom-pincode-row p {
  margin: 0;
  color: #607089;
}

.custom-pincode-row .pincode-match-note {
  margin-top: 8px;
  border: 1px solid #b9e8d8;
  border-radius: var(--radius);
  padding: 9px 10px;
  background: #eafbf5;
  color: #08765a;
  font-size: 13px;
  font-weight: 850;
}

.custom-pincode-row .pincode-match-note.warning {
  border-color: #ffb5bb;
  background: #fff1f2;
  color: #bc1f2b;
}

.custom-pincode-row .pincode-match-note.low {
  border-color: #ffd07a;
  background: #fff8eb;
  color: #a45b00;
}

.live-enrichment-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.live-enrichment-steps span {
  border: 1px solid #d8e2ef;
  border-radius: var(--radius);
  padding: 8px 10px;
  background: #fff;
  color: #26354d;
  font-size: 12px;
  font-weight: 900;
}

.enrichment-actions {
  display: grid;
  grid-template-columns: 82px 140px;
  gap: 8px;
}

.enrichment-actions button {
  min-height: 48px;
}

.level2-review-panel {
  margin: 0 0 16px;
  border: 1px solid #cfe0f4;
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(135deg, #ffffff, #f4fbff);
}

.level2-console-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.level2-console-grid article,
.level2-signal-table div {
  border: 1px solid #dce7f4;
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.level2-console-grid strong,
.level2-signal-table span {
  display: block;
  color: #7788a0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.level2-console-grid p {
  margin: 6px 0 0;
  color: #26354d;
  font-size: 14px;
  line-height: 1.4;
}

.level2-signal-table {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.level2-signal-table strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
}

.source-trail-grid.tight {
  margin-top: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.selected-site-rail,
.selected-mini-list {
  display: grid;
  gap: 10px;
}

.selected-site-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.selected-site-rail button,
.selected-mini-list button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #d8e2ef;
  border-radius: var(--radius);
  padding: 12px;
  background: #f8fbff;
  color: var(--ink);
  text-align: left;
}

.selected-site-rail button.active,
.selected-mini-list button.active {
  border-color: #86dec8;
  background: #eafbf5;
}

.selected-site-rail strong,
.selected-mini-list strong {
  color: var(--blue);
  font-size: 18px;
}

.selected-site-rail span,
.selected-mini-list span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  font-weight: 900;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.selected-site-rail em,
.selected-mini-list em {
  color: #607089;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.intel-architecture {
  width: min(1240px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: 0 22px 60px rgba(12, 28, 54, 0.09);
}

.intel-core-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid #b9d4ff;
  border-radius: 20px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
}

.intel-core-callout strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  background: #082c73;
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
}

.intel-core-callout span {
  color: #17263d;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
}

.intel-layer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.intel-layer-grid article {
  border: 1px solid #d8e4f2;
  border-radius: 20px;
  padding: 22px;
  background: #fff;
}

.intel-layer-grid article > div {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.intel-layer-grid b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 20px;
  box-shadow: 0 14px 26px rgba(7, 95, 242, 0.18);
}

.intel-layer-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.intel-layer-grid ul {
  margin: 0;
  padding-left: 24px;
  color: #26354b;
  font-size: 17px;
  line-height: 1.8;
}

.intel-layer-grid li::marker {
  color: var(--blue);
}

.upload-evidence-board,
.run-agents-panel,
.validation-summary,
.validation-card {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.upload-evidence-board {
  padding: 30px;
}

.upload-layer-section {
  margin-top: 24px;
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  padding: 22px;
  background: #fbfdff;
}

.upload-layer-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.upload-layer-title b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e8f0ff;
  color: var(--blue);
}

.upload-layer-title h4 {
  margin: 0;
  font-size: 24px;
}

.upload-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.upload-slot {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px dashed #cbd8e8;
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.upload-slot.loaded {
  border-style: solid;
  border-color: #99e2cc;
  background: #eefbf7;
}

.upload-slot h5 {
  margin: 0 0 4px;
  font-size: 20px;
}

.upload-slot p {
  margin: 0;
  color: #52627a;
  font-size: 16px;
  line-height: 1.45;
}

.run-agents-panel {
  text-align: center;
  background: #edf4ff;
  border-color: #b9cdfd;
}

.run-agents-panel h2 {
  margin: 6px 0 10px;
  font-size: 42px;
}

.validation-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: start;
}

.validation-summary {
  position: sticky;
  top: 96px;
}

.validation-status-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.validation-status-grid div {
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  padding: 12px;
  background: #f8fbff;
}

.validation-status-grid div.tone-good {
  border-color: #8bd9c5;
  background: #ecfbf7;
}

.validation-status-grid div.tone-watch {
  border-color: #ffd58a;
  background: #fff8eb;
}

.validation-status-grid div.tone-risk {
  border-color: #ffb5bb;
  background: #fff5f6;
}

.validation-status-grid div.tone-base {
  border-color: #b9d4ff;
  background: #f3f8ff;
}

.validation-status-grid span,
.raw-row em {
  color: #8090a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-left: 5px;
  vertical-align: middle;
}

.info-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #b9d4ff;
  border-radius: 999px;
  background: #eff6ff;
  color: #075ff2;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  padding: 0;
}

.info-popover {
  position: absolute;
  z-index: 30;
  top: 26px;
  right: -8px;
  width: min(280px, 78vw);
  border: 1px solid #b9d4ff;
  border-radius: 14px;
  padding: 12px 14px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(7, 17, 47, 0.16);
  color: #172843;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.validation-status-grid strong {
  display: block;
  margin-top: 4px;
}

.validation-main {
  display: grid;
  gap: 18px;
}

.site-select-head.compact {
  margin-bottom: 12px;
}

.raw-data-table {
  overflow: hidden;
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
}

.raw-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.15fr 1.25fr 0.9fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e5edf6;
  font-size: 17px;
}

.raw-row:last-child {
  border-bottom: 0;
}

.raw-row.header {
  background: #f4f7fb;
  color: #8090a6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.raw-row b {
  color: #0a8e68;
}

.raw-row input,
.raw-row select,
.validate-agent-grid textarea {
  width: 100%;
  border: 1px solid #d6e2f0;
  border-radius: var(--radius);
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.raw-row em small {
  display: block;
  max-height: none;
  overflow: hidden;
  margin-top: 4px;
  color: #40516a;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.benchmark-grid,
.source-trail-grid,
.validate-agent-grid,
.crosswalk-grid {
  display: grid;
  gap: 12px;
}

.benchmark-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benchmark-grid article,
.source-trail-grid article,
.crosswalk-grid article,
.validate-agent-grid article {
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfdff;
}

.benchmark-rationale {
  margin-top: 16px;
  border: 1px solid #b9cdfd;
  border-radius: var(--radius);
  padding: 16px;
  background: #edf4ff;
}

.benchmark-rationale strong {
  color: #114fd2;
  font-size: 17px;
}

.benchmark-rationale p {
  margin: 8px 0 0;
  color: #26354d;
  font-size: 16px;
  line-height: 1.55;
}

.benchmark-grid span,
.crosswalk-grid strong {
  color: #8090a6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benchmark-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 28px;
}

.benchmark-grid p {
  margin: 7px 0;
  color: #162840;
  font-weight: 850;
}

.benchmark-grid em,
.crosswalk-grid em {
  color: #607089;
  font-style: normal;
  line-height: 1.4;
}

.source-trail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-trail-grid strong {
  display: block;
  margin-bottom: 8px;
}

.source-trail-grid p {
  margin: 0;
  color: #40516a;
  font-size: 16px;
  line-height: 1.55;
}

.validate-agent-grid {
  grid-template-columns: 1fr;
}

.validate-agent-grid header {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.validate-agent-grid h4 {
  margin: 0;
  font-size: 24px;
}

.validate-agent-grid header strong {
  color: var(--blue);
  font-size: 28px;
}

.validate-agent-grid p,
.expert-card p {
  color: #26354d;
  font-size: 17px;
  line-height: 1.6;
}

.location-validation-card.warning {
  border-color: #ffb5bb;
  background: #fff8f8;
}

.scoring-trace-table {
  overflow: hidden;
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
}

.scoring-trace-row {
  display: grid;
  grid-template-columns: 120px 1.2fr 0.7fr 1.35fr 90px;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid #e5edf6;
  font-size: 15px;
}

.scoring-trace-row:last-child {
  border-bottom: 0;
}

.scoring-trace-row.header {
  background: #f4f7fb;
  color: #8090a6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scoring-trace-row span {
  color: #52627a;
  font-weight: 950;
}

.scoring-trace-row em,
.scoring-trace-row small {
  color: #40516a;
  font-style: normal;
  line-height: 1.4;
}

.scoring-trace-row b {
  justify-self: start;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eafbf5;
  color: #008761;
}

.scoring-trace-row b.warn {
  background: #fff8eb;
  color: #a45b00;
}

.scoring-trace-row b.risk {
  background: #fff1f2;
  color: var(--red);
}

.model-note {
  margin: 14px 0 0;
  border: 1px solid #ffd07a;
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff8eb;
  color: #663c00;
  font-weight: 750;
  line-height: 1.45;
}

.validate-agent-grid textarea {
  min-height: 86px;
  margin: 0 14px 14px;
  resize: vertical;
  font-weight: 650;
  line-height: 1.45;
}

.validation-note {
  color: #52627a;
  line-height: 1.5;
}

.metric-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px 54px;
}

.metric-chip-row span {
  border: 1px solid #cdd9ea;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #53637a;
  font-size: 12px;
  font-weight: 900;
}

.crosswalk-panel {
  width: min(1240px, 100%);
  margin: 0 auto;
  border: 1px solid #d8e3f0;
  border-radius: 22px;
  padding: 28px;
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: 0 20px 52px rgba(19, 30, 54, 0.1);
}

.crosswalk-panel h3 {
  margin: 4px 0 14px;
  font-size: 26px;
}

.crosswalk-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.crosswalk-grid article {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 230px;
  border: 1px solid #d8e4f2;
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}

.crosswalk-grid i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf4ff, #d6f7ff);
  color: var(--blue);
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(7, 95, 242, 0.13);
}

.crosswalk-grid span {
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.4;
}

.crosswalk-grid b {
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--ice);
  color: var(--blue);
  font-size: 18px;
  line-height: 1.4;
}

.crosswalk-grid em {
  color: #34455f;
  font-size: 17px;
  font-weight: 850;
}

.persona-section {
  padding-top: 52px;
  padding-bottom: 58px;
}

.persona-panel {
  width: min(1080px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(19, 30, 54, 0.09);
}

.persona-panel article {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
}

.persona-panel article.alt {
  background: var(--ice);
}

.persona-panel strong {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.persona-panel strong::before {
  display: none;
  content: none;
}

.persona-panel span {
  color: #111827;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.35;
}

.source-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 12px;
}

.source-pill-row span {
  border: 1px solid #cdd9ea;
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff;
  color: #53637a;
  font-size: 12px;
  font-weight: 900;
}

.source-link-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  border: 1px solid #9fc2ff;
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--blue);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.validation-layout-v2 {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  align-items: start;
}

.validation-summary-v2 {
  min-width: 0;
  border: 1px solid #c7d8ee;
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 95, 242, 0.12), transparent 34%),
    linear-gradient(145deg, #ffffff, #f5f9ff);
  box-shadow: 0 20px 52px rgba(19, 30, 54, 0.1);
}

.validation-summary-v2 h2 {
  margin: 8px 0 14px;
  color: #07112f;
  font-size: 28px;
  line-height: 1.08;
}

.reviewer-layer-callout {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  border: 1px solid #b9cff0;
  border-radius: 18px;
  padding: 16px;
  background: #f5f9ff;
}

.reviewer-layer-callout strong {
  display: block;
  color: #10245f;
  font-size: 18px;
}

.reviewer-layer-callout p {
  margin: 8px 0 0;
  color: #14324a;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
}

.reviewer-layer-callout button {
  flex: 0 0 auto;
}

.validation-main-v2 {
  min-width: 0;
  gap: 24px;
}

.validation-workflow-card {
  border: 1px solid #bed3ec;
  border-radius: 26px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 159, 182, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f6faff);
  box-shadow: 0 18px 46px rgba(19, 30, 54, 0.08);
}

.validation-workflow-head {
  margin-bottom: 18px;
  text-align: center;
}

.validation-workflow-head h3 {
  margin: 6px auto 0;
  max-width: 860px;
  color: #07112f;
  font-size: 30px;
  line-height: 1.08;
}

.validation-workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.validation-workflow-strip article {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid #c9d9ee;
  border-radius: 22px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(19, 30, 54, 0.07);
}

.validation-workflow-strip article:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #10245f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  z-index: 2;
}

.validation-workflow-strip b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, #075ff2, #0e9fb6);
  color: #fff;
  font-size: 19px;
}

.validation-workflow-strip strong {
  display: block;
  color: #07112f;
  font-size: 20px;
  line-height: 1.1;
}

.validation-workflow-strip span {
  display: block;
  grid-column: 2;
  color: #213651;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.35;
}

.validation-highlights {
  border: 1px solid #cbdcef;
  border-radius: 24px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(19, 30, 54, 0.08);
}

.validation-highlights h3 {
  margin: 0 0 14px;
  color: #07112f;
  font-size: 24px;
  line-height: 1.1;
}

.validation-highlights > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.validation-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 14px;
  padding: 12px 16px;
  color: #07112f;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
}

.validation-highlights span i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-style: normal;
  color: #ffffff;
}

.validation-highlights span b {
  font-size: 16px;
}

.validation-highlights .good {
  border: 1px solid #8bd9c5;
  background: #ecfbf7;
}

.validation-highlights .good i {
  background: #009b72;
}

.validation-highlights .watch {
  border: 1px solid #ffc45b;
  background: #fff7e8;
}

.validation-highlights .watch i {
  background: #d98200;
}

.validation-highlights .risk {
  border: 1px solid #ffadb5;
  background: #fff2f3;
}

.validation-highlights .risk i {
  background: #d93645;
}

.validation-card-v2 {
  overflow: hidden;
  border-color: #cbdcef;
  border-radius: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 201, 255, 0.08), transparent 28%),
    #ffffff;
}

.validation-card-v2 .site-select-head h3 {
  max-width: 820px;
  color: #07112f;
  font-size: 30px;
  line-height: 1.08;
}

.validation-card-intro {
  margin: -2px 0 18px;
  max-width: 980px;
  color: #1b2d49;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
}

.evidence-validation-table.grouped {
  max-width: 100%;
  overflow-x: auto;
  border-color: #cbdcef;
}

.evidence-validation-table.grouped .raw-row {
  grid-template-columns: 132px 1.08fr 138px 1.16fr 1.48fr 174px;
  min-width: 1060px;
  padding: 18px;
  font-size: 17px;
}

.evidence-validation-table.grouped .raw-row.header {
  background: #10245f;
  color: #ffffff;
  font-size: 13px;
}

.signal-category {
  align-self: center;
  border-radius: 999px;
  padding: 8px 10px;
  background: #e8f1ff;
  color: #075ff2;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.evidence-validation-table.grouped input,
.evidence-validation-table.grouped select {
  min-height: 44px;
  color: #07112f;
  font-size: 16px;
}

.evidence-validation-table.grouped em {
  color: #1b2d49;
  font-size: 14px;
}

.evidence-validation-table.grouped em b {
  display: block;
  margin-bottom: 6px;
  color: #07112f;
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.evidence-validation-table.grouped em small {
  color: #213651;
  font-size: 14px;
  font-weight: 760;
}

.source-bullets {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #172843;
  font-size: 14px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
}

.source-bullets li::marker {
  color: #075ff2;
}

.benchmark-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}

.benchmark-definition-grid article {
  border: 1px solid #cbdcef;
  border-radius: 18px;
  padding: 16px;
  background: #f7fbff;
}

.benchmark-definition-grid strong {
  display: block;
  color: #07112f;
  font-size: 17px;
  line-height: 1.15;
}

.benchmark-definition-grid p {
  margin: 8px 0 0;
  color: #172843;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.4;
}

.weight-simulator-grid {
  display: grid;
  grid-template-columns: 180px 180px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.weight-simulator-featured {
  border-color: #8ab8ff;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 95, 242, 0.13), transparent 30%),
    linear-gradient(145deg, #ffffff, #f4f8ff);
  box-shadow: 0 22px 60px rgba(7, 95, 242, 0.12);
}

.weight-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.weight-preset-row .ghost {
  border-color: #b8d2f5;
  background: #ffffff;
  color: #075ff2;
  font-size: 13px;
  font-weight: 900;
}

.weight-score-card {
  display: grid;
  align-content: center;
  border: 1px solid #cbdcef;
  border-radius: 20px;
  padding: 18px;
  background: #f6fbff;
}

.weight-score-card.adjusted {
  border-color: #8bd9c5;
  background: #ecfbf7;
}

.weight-score-card span,
.weight-score-card em {
  color: #213651;
  font-size: 15px;
  font-style: normal;
  font-weight: 850;
}

.weight-score-card strong {
  color: #07112f;
  font-size: 46px;
  line-height: 1;
}

.weight-control-list {
  display: grid;
  gap: 12px;
}

.weight-control-list label {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 64px minmax(180px, 0.7fr) 105px;
  gap: 12px;
  align-items: center;
  border: 1px solid #d6e2f0;
  border-radius: 18px;
  padding: 14px;
  background: #ffffff;
}

.weight-control-list label span b {
  display: block;
  color: #07112f;
  font-size: 17px;
}

.weight-control-list label span em,
.weight-control-list small {
  color: #263a58;
  font-size: 14px;
  font-style: normal;
  font-weight: 760;
}

.weight-control-list label > strong {
  color: #075ff2;
  font-size: 20px;
}

.weight-control-list input[type="range"] {
  accent-color: #075ff2;
}

.status-chip.warn {
  border-color: #ffcf75;
  background: #fff8eb;
  color: #9a5700;
}

.weight-warning {
  margin: 14px 0 0;
  border: 1px solid #ffc45b;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff7e8;
  color: #7a4100;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.weight-helper {
  margin: 14px 0 0;
  border: 1px solid #bfe7dc;
  border-radius: 14px;
  padding: 12px 14px;
  background: #f1fcf8;
  color: #0d6b56;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.sector-note {
  margin-top: 16px;
  border: 1px solid #c5d7f0;
  border-radius: 18px;
  padding: 16px;
  background: #f7fbff;
}

.sector-note strong {
  color: #07112f;
  font-size: 17px;
}

.sector-note p {
  margin: 8px 0 0;
  color: #1b2d49;
  font-size: 16px;
  font-weight: 740;
  line-height: 1.5;
}

.source-trail-grid-v2 article {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbdcef;
  border-radius: 20px;
  padding: 18px;
  background: #ffffff;
}

.source-trail-grid-v2 article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #075ff2;
}

.source-trail-grid-v2 article:nth-child(1) {
  background: #f7fbff;
  border-color: #b9d4ff;
}

.source-trail-grid-v2 article:nth-child(2) {
  background: #f0fbf8;
  border-color: #9addcc;
}

.source-trail-grid-v2 article:nth-child(2)::before {
  background: #009b72;
}

.source-trail-grid-v2 article:nth-child(3) {
  background: #fff9ee;
  border-color: #ffd58a;
}

.source-trail-grid-v2 article:nth-child(3)::before {
  background: #d98200;
}

.source-trail-grid-v2 article:nth-child(4) {
  background: #fff7f8;
  border-color: #ffb5bb;
}

.source-trail-grid-v2 article:nth-child(4)::before {
  background: #d93645;
}

.source-trail-grid-v2 article:nth-child(5) {
  background: #f5fbff;
  border-color: #a8dff0;
}

.source-trail-grid-v2 article:nth-child(5)::before {
  background: #0e9fb6;
}

.source-trail-grid-v2 strong {
  display: block;
  margin-bottom: 10px;
  color: #07112f;
  font-size: 19px;
}

.source-trail-grid-v2 ul {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 18px;
  color: #172843;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.35;
}

.source-trail-grid-v2 li::marker {
  color: #075ff2;
}

.source-trail-grid-v2 p {
  margin: 0;
  color: #1b2d49;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.4;
}

.benchmark-grid-v2 article {
  background: #ffffff;
}

.benchmark-grid-v2 article.tone-good {
  border-color: #8bd9c5;
  background: #ecfbf7;
}

.benchmark-grid-v2 article.tone-watch {
  border-color: #ffd58a;
  background: #fff8eb;
}

.benchmark-grid-v2 article.tone-risk {
  border-color: #ffb5bb;
  background: #fff5f6;
}

.benchmark-grid-v2 article.tone-empty {
  border-color: #d8e2f0;
  background: #f6f9fc;
}

.benchmark-grid-v2 article.tone-good strong {
  color: #008060;
}

.benchmark-grid-v2 article.tone-watch strong {
  color: #a35e00;
}

.benchmark-grid-v2 article.tone-risk strong {
  color: #c52f3c;
}

.benchmark-grid-v2 article.tone-empty strong {
  color: #53657d;
}

.business-review-log {
  border-color: #b9d4ff;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 95, 242, 0.08), transparent 28%),
    #ffffff;
}

.business-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 16px;
}

.business-feedback-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 16px;
}

.business-feedback-fields label {
  display: grid;
  gap: 8px;
  border: 1px solid #d6e2f0;
  border-radius: 16px;
  padding: 14px;
  background: #f7fbff;
}

.business-feedback-fields span {
  color: #657898;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.business-feedback-fields input,
.business-feedback-fields select {
  width: 100%;
  border: 1px solid #cbdcef;
  border-radius: 12px;
  padding: 11px 12px;
  background: #ffffff;
  color: #07112f;
  font-size: 15px;
  font-weight: 850;
}

.business-review-grid article {
  border: 1px solid #d6e2f0;
  border-radius: 18px;
  padding: 16px;
  background: #f7fbff;
}

.business-review-grid span {
  display: block;
  margin-bottom: 8px;
  color: #075ff2;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.business-review-grid p {
  margin: 0;
  color: #172843;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.42;
}

.business-review-grid small {
  display: block;
  margin-top: 10px;
  color: #657898;
  font-size: 13px;
  font-weight: 850;
}

.business-review-log > button {
  margin-top: 14px;
}

.scoring-trace-table-v2 {
  overflow-x: auto;
}

.scoring-trace-table-v2 .scoring-trace-row {
  grid-template-columns: 130px 1.3fr 0.75fr 1.35fr 100px;
  min-width: 980px;
  font-size: 16px;
}

.scoring-trace-table-v2 .scoring-trace-row.header {
  background: #10245f;
  color: #ffffff;
  font-size: 13px;
}

.scoring-trace-table-v2 strong,
.scoring-trace-table-v2 em,
.scoring-trace-table-v2 small {
  color: #172843;
  font-size: 15px;
}

.validate-agent-grid-v2 article {
  padding: 22px;
  background: #ffffff;
}

.agent-rationale-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.agent-rationale-list li {
  position: relative;
  padding-left: 28px;
  color: #172843;
  font-size: 17px;
  font-weight: 760;
  line-height: 1.45;
}

.agent-rationale-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #075ff2;
  box-shadow: 0 0 0 5px rgba(7, 95, 242, 0.11);
}

.agent-parameter-line {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.72);
  color: #172843;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.two-col-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.two-col-notes > div {
  border: 1px solid #cbdcef;
  border-radius: 18px;
  padding: 14px;
  background: #f7fbff;
}

.two-col-notes .support-note {
  border-color: #8bd9c5;
  background: #ecfbf7;
}

.two-col-notes .risk-note {
  border-color: #ffb5bb;
  background: #fff5f6;
}

.two-col-notes span {
  display: block;
  margin-bottom: 8px;
  color: #334967;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.two-col-notes strong {
  color: #07112f;
  font-size: 16px;
  line-height: 1.45;
}

.note-bullet-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #07112f;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.38;
}

.support-note .note-bullet-list li::marker {
  color: #009b72;
}

.risk-note .note-bullet-list li::marker {
  color: #d93645;
}

.peer-comment-box {
  display: block;
  margin-top: 18px;
  border: 1px solid #b9cff0;
  border-radius: 18px;
  padding: 16px;
  background: #f7fbff;
}

.peer-comment-box span {
  display: block;
  margin-bottom: 10px;
  color: #07112f;
  font-size: 17px;
  font-weight: 950;
}

.peer-comment-box textarea {
  width: 100%;
  min-height: 86px;
  border: 1px solid #cbdcef;
  border-radius: 14px;
  padding: 12px 14px;
  background: #ffffff;
  color: #07112f;
  font-size: 16px;
  font-weight: 720;
  resize: vertical;
}

.read-more-panel summary {
  cursor: pointer;
  color: #075ff2;
  font-size: 17px;
  font-weight: 950;
}

.dimension-weight-tuner {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.dimension-weight-tuner label {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 58px minmax(160px, 0.7fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #d6e2f0;
  border-radius: 14px;
  padding: 12px;
  background: #ffffff;
}

.dimension-weight-tuner b {
  display: block;
  color: #07112f;
  font-size: 16px;
}

.dimension-weight-tuner small {
  display: block;
  margin-top: 4px;
  color: #1b2d49;
  font-size: 13px;
  font-weight: 740;
  line-height: 1.35;
}

.dimension-weight-tuner strong {
  color: #075ff2;
  font-size: 18px;
}

.score-gauge-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid #89b6ff;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(7, 95, 242, 0.16), transparent 42%),
    #f7fbff;
  margin: 16px 0;
}

.decision-score-card {
  grid-template-columns: 118px minmax(0, 1fr);
  border-color: #a9c7f6;
  background:
    radial-gradient(circle at 0% 0%, rgba(7, 95, 242, 0.12), transparent 42%),
    #f7fbff;
}

.score-number-lockup {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 106px;
  min-height: 106px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #eaf3ff);
  border: 1px solid #b9d4ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.score-number-lockup strong {
  color: #07112f;
  font-size: 44px;
  line-height: 1;
}

.score-number-lockup span {
  margin-top: 4px;
  color: #51647f;
  font-size: 13px;
  font-weight: 950;
}

.decision-score-track {
  height: 12px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4edf9;
}

.decision-score-track i {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #075ff2, #0e9fb6);
}

.score-gauge {
  width: 118px;
  height: 72px;
  position: relative;
  overflow: hidden;
}

.score-gauge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 118px 118px 0 0;
  background:
    conic-gradient(from 270deg, #ff4f5e 0deg, #f4a022 58deg, #12bf88 calc(var(--score) * 1.8deg), #e7eef8 0deg);
}

.score-gauge::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 48px;
  border-radius: 82px 82px 0 0;
  background: #f7fbff;
}

.score-gauge strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  text-align: center;
  color: #07112f;
  font-size: 38px;
  line-height: 1;
  z-index: 2;
}

.score-gauge-card b {
  display: block;
  color: #07112f;
  font-size: 22px;
}

.score-gauge-card p {
  margin: 6px 0 0;
  color: #172843;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
}

.site-comparison-mini {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.site-comparison-mini > strong {
  color: #07112f;
  font-size: 16px;
}

.site-comparison-mini span {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d6e2f0;
  border-radius: 14px;
  padding: 10px 12px;
  background: #ffffff;
  color: #172843;
  font-size: 14px;
  font-weight: 850;
}

.site-comparison-mini button {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  width: 100%;
  border: 1px solid #d6e2f0;
  border-radius: 14px;
  padding: 12px 14px;
  background: #ffffff;
  color: #172843;
  text-align: left;
  cursor: pointer;
}

.site-comparison-mini button:hover {
  border-color: #8ab8ff;
  background: #f3f8ff;
}

.site-comparison-mini button b {
  grid-row: 1 / span 2;
  color: #075ff2;
  font-size: 22px;
}

.site-comparison-mini button span {
  display: block;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #07112f;
  font-size: 15px;
  line-height: 1.15;
}

.site-comparison-mini button em {
  color: #52647d;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-comparison-mini b {
  color: #075ff2;
  font-size: 18px;
}

.context-scout-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(300px, 0.95fr) minmax(420px, 1.35fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #a7c8f4;
  border-radius: 26px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff, #f4f9ff);
  box-shadow: 0 16px 42px rgba(19, 30, 54, 0.08);
}

.context-scout-panel.has-results {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.scout-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.scout-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.48), transparent 26%),
    linear-gradient(135deg, #075ff2, #0e9fb6);
  color: #ffffff;
  font-size: 19px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(7, 95, 242, 0.24);
}

.context-scout-panel h3 {
  margin: 6px 0 8px;
  color: #07112f;
  font-size: 26px;
  line-height: 1.08;
}

.context-scout-panel p {
  margin: 0;
  color: #172843;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.4;
}

.context-scout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.context-scout-actions button {
  border: 1px solid #b9cff0;
  border-radius: 999px;
  padding: 11px 15px;
  background: #f7fbff;
  color: #07112f;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.context-scout-freeform {
  display: flex;
  gap: 8px;
  width: 100%;
}

.context-scout-freeform input {
  min-width: 0;
  flex: 1;
  border: 1px solid #b9cff0;
  border-radius: 999px;
  padding: 12px 14px;
  color: #07112f;
  font-size: 15px;
  font-weight: 800;
}

.context-scout-freeform button {
  background: #075ff2;
  color: #fff;
}

.page-next-actions {
  display: flex;
  justify-content: flex-end;
  margin: 20px 8px 0;
}

.verdict-bottom-actions {
  margin: 24px 0 0;
}

.client-login-modal {
  width: min(820px, calc(100vw - 40px));
  max-width: 820px;
  padding: 34px;
  border: 1px solid rgba(185, 207, 240, 0.9);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f9ff);
}

.client-login-modal .agent-modal-hero {
  background: linear-gradient(135deg, #eef6ff, #ffffff);
}

.client-login-modal .agent-modal-hero h2 {
  font-size: 38px;
  line-height: 1.05;
}

.client-login-modal .agent-modal-hero p {
  max-width: 620px;
  color: #172843;
  font-size: 18px;
  font-weight: 760;
}

.client-login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.client-login-grid label {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #d7e5f7;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  color: #172843;
  font-size: 15px;
  font-weight: 950;
}

.client-login-grid label span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.client-login-grid label em {
  color: #52677f;
  font-style: normal;
  font-size: 13px;
}

.client-login-grid input,
.client-login-grid select {
  border: 1px solid #b9cff0;
  border-radius: 16px;
  padding: 15px 16px;
  color: #07112f;
  font-size: 17px;
  font-weight: 800;
  background: #ffffff;
}

.client-login-grid select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #075ff2 50%) calc(100% - 22px) 50% / 8px 8px no-repeat,
    linear-gradient(135deg, #ffffff, #f4f9ff);
}

.trial-access-strip {
  display: grid;
  gap: 7px;
  margin: 4px 0 22px;
  padding: 16px 18px;
  border: 1px solid #8bd7c3;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfff8, #ffffff);
  color: #07112f;
}

.trial-access-strip b {
  color: #008d68;
  font-size: 16px;
}

.trial-access-strip span {
  color: #172843;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.45;
}

.context-scout-answer {
  border: 1px solid #8ab8ff;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 95, 242, 0.12), transparent 34%),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.micro-catchment-lens {
  border-color: rgba(14, 105, 199, 0.28);
  background:
    radial-gradient(circle at 88% 8%, rgba(34, 211, 238, 0.14), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 56%, #eef7ff 100%);
}

.micro-catchment-lens .site-select-head {
  align-items: start;
  gap: 18px;
}

.micro-catchment-lens h3 {
  margin: 8px 0 0;
  max-width: 680px;
  color: #081225;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.02;
  letter-spacing: 0;
}

.micro-catchment-lens .validation-card-intro {
  max-width: 1060px;
  margin: 18px 0 22px;
  color: #172b4d;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
}

.catchment-data-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.catchment-data-badge.real {
  border: 1px solid rgba(0, 171, 132, 0.32);
  background: #e9fbf5;
  color: #00664d;
}

.catchment-data-badge.real.low {
  border-color: rgba(244, 160, 34, 0.38);
  background: #fff7e8;
  color: #945500;
}

.catchment-data-badge.demo {
  border: 1px solid rgba(244, 160, 34, 0.38);
  background: #fff7e8;
  color: #8a4b00;
}

.catchment-methodology-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  border: 1px solid rgba(7, 95, 242, 0.24);
  border-radius: 999px;
  background: #f4f9ff;
  color: #075ff2;
  cursor: help;
  font-size: 13px;
  font-weight: 950;
  vertical-align: middle;
}

.catchment-methodology-tip span {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 50;
  display: none;
  width: min(430px, 80vw);
  transform: translateX(-50%);
  border: 1px solid rgba(7, 95, 242, 0.2);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  color: #172b4d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  padding: 14px 16px;
  text-align: left;
}

.catchment-methodology-tip:hover span,
.catchment-methodology-tip:focus span {
  display: block;
}

.catchment-sparse-warning {
  margin-top: 12px;
  border: 1px solid rgba(244, 160, 34, 0.38);
  border-radius: 16px;
  background: #fff7e8;
  color: #784200;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
  padding: 12px 14px;
}

.catchment-location-control {
  min-width: min(100%, 390px);
  padding: 14px;
  border: 1px solid rgba(7, 95, 242, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.catchment-location-control label,
.catchment-toolbar-label {
  display: block;
  margin-bottom: 8px;
  color: #31476c;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catchment-location-control select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(7, 95, 242, 0.25);
  border-radius: 14px;
  background: #f8fbff;
  color: #061229;
  font-size: 17px;
  font-weight: 900;
  padding: 0 14px;
}

.catchment-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin: 8px 0 16px;
  padding: 16px;
  border: 1px solid rgba(7, 95, 242, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 249, 255, 0.92), rgba(236, 248, 255, 0.9));
}

.catchment-signal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catchment-sig-btn {
  min-height: 46px;
  border: 1px solid rgba(7, 95, 242, 0.25);
  border-radius: 999px;
  background: #ffffff;
  color: #0b1f53;
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
  padding: 10px 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.catchment-sig-btn.active {
  border-color: rgba(0, 156, 186, 0.56);
  background: linear-gradient(135deg, #075ff2, #0597b5);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(7, 95, 242, 0.22);
}

.catchment-current-label {
  max-width: 420px;
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 999px;
  background: #ecfbf7;
  color: #005a45;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  padding: 12px 16px;
  text-align: right;
}

.catchment-map-panel {
  height: 440px;
  overflow: hidden;
  border: 1px solid rgba(7, 95, 242, 0.28);
  border-radius: 24px;
  background: #eaf4ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46), 0 18px 38px rgba(15, 23, 42, 0.1);
}

.catchment-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.catchment-metric-card {
  position: relative;
  min-height: 132px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 20px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.catchment-rag-good {
  border-color: rgba(0, 171, 132, 0.42);
  background: linear-gradient(135deg, #ecfbf7, #ffffff);
}

.catchment-rag-watch {
  border-color: rgba(244, 160, 34, 0.46);
  background: linear-gradient(135deg, #fff7e8, #ffffff);
}

.catchment-rag-risk {
  border-color: rgba(220, 38, 38, 0.36);
  background: linear-gradient(135deg, #fff1f2, #ffffff);
}

.catchment-metric-label {
  color: #31476c;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catchment-metric-value {
  margin-top: 9px;
  color: #061229;
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 950;
  line-height: 1;
}

.catchment-metric-sub {
  margin-top: 8px;
  color: #213653;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.catchment-band {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #061229;
  font-size: 12px;
  font-weight: 950;
  padding: 6px 9px;
}

.catchment-narrative {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid rgba(7, 95, 242, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: #0b1f53;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  padding: 18px;
}

.catchment-narrative span {
  color: #243b60;
  font-size: 16px;
  font-weight: 750;
}

.micro-catchment-lens .leaflet-container {
  font-family: inherit;
}

.micro-catchment-lens .leaflet-control-zoom a {
  color: #0f172a;
  font-weight: 800;
}

.catchment-map-fallback {
  min-height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #0b1f53, #072d46);
}

.catchment-map-fallback strong {
  font-size: 20px;
}

.catchment-map-fallback span {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

.context-scout-panel.has-results .context-scout-answer {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.context-scout-answer strong {
  display: block;
  color: #07112f;
  font-size: 19px;
  line-height: 1.35;
}

.context-scout-answer > p {
  margin-top: 8px;
  color: #1b2d49;
  font-size: 15px;
  font-weight: 760;
}

.context-scout-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.context-scout-panel.has-results .context-scout-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.context-scout-result-card {
  position: relative;
  border: 1px solid #cbdcef;
  border-radius: 18px;
  padding: 14px;
  background: #f8fbff;
}

.context-scout-result-card > div:first-child {
  display: grid;
  grid-template-columns: 34px 72px 1fr;
  gap: 10px;
  align-items: center;
}

.context-scout-result-card span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #075ff2, #0e9fb6);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
}

.context-scout-result-card b {
  color: #075ff2;
  font-size: 17px;
}

.context-scout-result-card strong {
  color: #07112f;
  font-size: 17px;
}

.context-scout-result-card p {
  margin: 8px 0 10px;
  color: #172843;
  font-size: 14px;
  font-weight: 720;
}

.context-scout-result-card > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.context-scout-result-card em {
  border-radius: 12px;
  padding: 8px;
  background: #eef5ff;
  color: #07112f;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.context-scout-result-card small {
  display: block;
  color: #60708a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.add-scout-site {
  margin-top: 12px;
  border: 1px solid #8fc8ff;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #075ff2, #0e9fb6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(7, 95, 242, 0.16);
}

.add-scout-site.added {
  border-color: #9ce8d2;
  background: #e8fbf4;
  color: #007a5b;
  box-shadow: none;
}

.read-more-panel .dimension-list {
  margin-top: 14px;
}

.score-matrix-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.score-matrix-mini article {
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfdff;
}

.score-matrix-mini article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.score-matrix-mini h4 {
  margin: 4px 0 8px;
}

.score-matrix-mini strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
}

.score-matrix-mini p {
  margin: 10px 0 0;
  color: #607089;
  font-size: 13px;
  line-height: 1.4;
}

.verdict-switcher {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
}

.verdict-switcher label {
  min-width: 260px;
  flex: 1;
}

.verdict-switcher .ghost {
  padding: 12px 16px;
  border: 1px solid #bfd4f5;
  border-radius: 14px;
  background: #f7fbff;
  color: #075ff2;
  font-weight: 950;
}

.release-action-message {
  flex-basis: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #bfd4f5;
  border-radius: 14px;
  background: #f7fbff;
  color: #1d3557;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.verdict-detail-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.verdict-detail-actions .ghost {
  padding: 10px 14px;
  border: 1px solid #bfd4f5;
  border-radius: 14px;
  background: #f7fbff;
  color: #075ff2;
  font-weight: 950;
}

.expert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.expert-card {
  border: 1px solid #dbe5f1;
  border-radius: 22px;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 95, 242, 0.08), transparent 28%),
    #fff;
  box-shadow: 0 18px 44px rgba(15, 35, 75, 0.08);
}

.expert-card header {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.expert-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.expert-analysis .center-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  text-align: left;
  width: 100%;
  margin: 0 0 34px;
  padding: 0 4px 18px;
}

.expert-analysis .center-head h2 {
  max-width: 760px;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02;
}

.expert-analysis .center-head p {
  max-width: 900px;
  margin-left: 0;
  margin-right: 0;
  color: #172843;
  font-size: 20px;
  font-weight: 700;
}

.expert-card header p {
  margin: 2px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.agent-management-summary {
  margin: 16px 0 0;
  color: #172843;
  font-size: 20px;
  line-height: 1.42;
}

.agent-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 16px 0 0;
}

.agent-action-hint {
  color: #526987;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.agent-verdict-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0 16px;
}

.agent-verdict-notes > div {
  min-height: 112px;
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  padding: 18px;
}

.agent-verdict-notes .support-note {
  border-color: #8bd9c5;
  background: #ecfbf7;
}

.agent-verdict-notes .risk-note {
  border-color: #ffb5bb;
  background: #fff5f6;
}

.agent-verdict-notes span,
.board-comment-row > span {
  display: block;
  margin-bottom: 8px;
  color: #334967;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.agent-verdict-notes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.agent-verdict-notes li {
  color: #07112f;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.45;
}

.specialist-pill {
  align-self: start;
  padding: 10px 13px;
  border: 1px solid #b9d4ff;
  border-radius: 999px;
  background: #eef6ff;
  color: #075ff2;
  font-size: 13px;
  font-weight: 950;
}

.board-comment-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  background: #f7fbff;
}

.board-comment-row > span {
  margin: 0;
  align-self: center;
}

.board-comment-row p {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  color: #07112f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.board-comment-row b {
  display: block;
  margin-bottom: 4px;
  color: #075ff2;
}

.two-col-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.verdict-report-shell {
  margin-bottom: 32px;
  border: 1px solid #b9d1ef;
  border-radius: 28px;
  padding: 28px;
  background:
    radial-gradient(circle at 92% 0%, rgba(31, 140, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow: 0 26px 72px rgba(13, 31, 60, 0.13);
}

.verdict-report-top {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(520px, 1.25fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

.verdict-report-top h1 {
  margin: 6px 0 4px;
  color: #07112f;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.96;
}

.verdict-report-top p {
  margin: 0;
  color: #172843;
  font-size: 20px;
  line-height: 1.35;
}

.verdict-report-status-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 18px;
  color: #304768;
  font-size: 14px;
  border: 1px solid #d4e3f5;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
}

.verdict-report-status-strip strong {
  display: block;
  margin-bottom: 4px;
  color: #075ff2;
  font-size: 15px;
}

.verdict-report-status-strip span {
  display: block;
  line-height: 1.45;
}

.verdict-report-status-strip ul {
  margin: 4px 0 0;
  padding-left: 18px;
  line-height: 1.45;
}

.verdict-report-status-strip em {
  display: block;
  color: #172843;
  font-style: normal;
  font-weight: 850;
}

.verdict-report-status-strip li + li {
  margin-top: 4px;
}

.verdict-report-status-strip.is-ready {
  grid-template-columns: 1fr;
  border-color: rgba(16, 185, 129, 0.34);
  background: rgba(236, 253, 245, 0.9);
}

.verdict-executive-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(440px, 1.12fr);
  gap: 18px;
}

.verdict-hero-card,
.verdict-context-card,
.verdict-evidence-grid article,
.management-action-strip {
  border: 1px solid #d4e3f5;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.verdict-hero-card {
  padding: 26px;
  background: linear-gradient(135deg, #06184b 0%, #075ff2 58%, #0c9db4 100%);
  color: #fff;
}

.verdict-hero-card .section-label,
.verdict-hero-card p {
  color: rgba(255, 255, 255, 0.88);
}

.verdict-hero-card h2 {
  margin: 10px 0 12px;
  max-width: 560px;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.02;
}

.verdict-hero-card p {
  margin: 0;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.45;
}

.verdict-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.verdict-score-row strong {
  font-size: 88px;
  line-height: 0.85;
}

.verdict-callout {
  display: grid;
  gap: 10px;
  justify-items: end;
  max-width: 260px;
  text-align: right;
}

.verdict-callout .verdict {
  padding: 14px 22px;
  font-size: 21px;
  font-weight: 950;
}

.verdict-callout span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verdict-score-track {
  height: 14px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.verdict-score-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6b59, #f4c542 45%, #1ed4a5);
}

.verdict-hero-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.verdict-hero-insights span {
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 14px;
  padding: 10px;
  color: #ffffff;
  background: rgba(255,255,255,.13);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.verdict-context-card {
  padding: 26px;
  align-self: start;
}

.verdict-context-card h3 {
  margin: 0 0 18px;
  color: #07112f;
  font-size: 34px;
  line-height: 1.05;
}

.verdict-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.verdict-kpi-grid div {
  min-height: auto;
  padding: 16px;
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  background: #f7fbff;
}

.verdict-kpi-grid span,
.management-action-strip > span {
  display: block;
  color: #60738e;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.verdict-kpi-grid strong {
  display: block;
  margin-top: 10px;
  color: #07112f;
  font-size: 26px;
  line-height: 1.05;
}

.verdict-kpi-grid em {
  display: block;
  margin-top: 8px;
  color: #5e718c;
  font-style: normal;
  font-size: 14px;
  font-weight: 750;
}

.format-revenue-kpi {
  grid-column: span 2;
  min-height: auto;
}

.format-revenue-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.format-revenue-mini b {
  display: block;
  padding: 10px;
  border: 1px solid #cfe0f5;
  border-radius: 12px;
  background: #fff;
  color: #60738e;
  font-size: 12px;
  text-transform: uppercase;
}

.format-revenue-mini em {
  display: block;
  margin-top: 3px;
  color: #172843;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-transform: none;
}

.format-revenue-mini strong {
  margin-top: 6px;
  font-size: 18px;
}

.verdict-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.verdict-evidence-grid article {
  padding: 22px;
  align-self: start;
}

.verdict-evidence-grid p {
  display: flex;
  gap: 10px;
  margin: 14px 0 0;
  color: #07112f;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
}

.verdict-evidence-grid p b {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 999px;
  background: #e9f5ff;
  color: #075ff2;
}

.verdict-evidence-grid article:nth-child(2) p b {
  background: #fff3f3;
  color: #d93644;
}

.management-action-strip {
  display: grid;
  grid-template-columns: 210px repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border-color: #ffd299;
  background: #fff8eb;
}

.management-action-strip div {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  color: #172843;
  font-weight: 850;
}

.micro-verdict-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) repeat(2, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin: 0 0 30px;
  border: 1px solid #b9d1ef;
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
}

.micro-verdict-section h2 {
  margin: 8px 0 10px;
  color: #07112f;
  font-size: 32px;
  line-height: 1.08;
}

.micro-verdict-section p {
  margin: 0;
  color: #172843;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.42;
}

.micro-verdict-section article {
  border: 1px solid #d4e3f5;
  border-radius: 20px;
  padding: 18px;
  background: #fff;
}

.micro-verdict-section h3 {
  margin: 0 0 12px;
  color: #07112f;
  font-size: 22px;
}

.micro-verdict-section ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.micro-verdict-section li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #eef6ff;
}

.micro-verdict-section li b {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 999px;
  background: #075ff2;
  color: #fff;
}

.micro-verdict-section li span {
  color: #07112f;
  font-weight: 950;
}

.micro-verdict-section li strong {
  color: #008866;
  font-size: 18px;
}

.micro-verdict-section li em {
  grid-column: 2 / -1;
  color: #52627a;
  font-style: normal;
  font-size: 13px;
  font-weight: 850;
}

.management-action-strip b {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 999px;
  background: #075ff2;
  color: #fff;
}

.verdict-agent-bars .bar {
  margin-top: 10px;
}

.management-review-section {
  margin-top: 30px;
  border: 1px solid #b9d1ef;
  border-radius: 26px;
  padding: 26px;
  background: linear-gradient(135deg, #ffffff, #f5faff);
}

.management-review-section .center-head.compact {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  padding: 0;
  text-align: left;
}

.management-review-section .management-head {
  margin-left: 0;
  margin-right: 0;
}

.management-review-section .center-head.compact h2 {
  color: #07112f;
  font-size: 34px;
}

.management-review-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.management-review-table article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid #d4e3f5;
  border-radius: 18px;
  background: #fff;
}

.management-review-table article.go {
  border-color: #8bd9c5;
  background: #ecfbf7;
}

.management-review-table article.hold {
  border-color: #ffd999;
  background: #fff8eb;
}

.management-review-table article.review {
  border-color: #b9d4ff;
  background: #f2f7ff;
}

.management-review-table strong {
  display: block;
  color: #07112f;
  font-size: 20px;
}

.management-review-table span {
  display: inline-block;
  margin: 14px 0 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #075ff2;
  font-weight: 950;
}

.management-review-table article.go span {
  background: #dff8ef;
  color: #008866;
}

.management-review-table article.hold span {
  background: #fff0cc;
  color: #a25d00;
}

.management-review-table article.review span {
  background: #e8f1ff;
  color: #075ff2;
}

.management-review-table p {
  margin: 0;
  color: #07112f;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.management-review-table small {
  display: block;
  margin-top: 12px;
  color: #566985;
  font-size: 12px;
  font-weight: 850;
}

.management-review-table ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #263955;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.management-review-table li + li {
  margin-top: 6px;
}

.business-submit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.business-submit-row span {
  color: #405370;
  font-size: 13px;
  font-weight: 850;
}

.two-col-notes div {
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  padding: 12px;
  background: #f8fbff;
}

.two-col-notes span {
  display: block;
  margin-bottom: 6px;
  color: #8090a6;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.validate-agent-grid-v2 .two-col-notes {
  margin: 16px 0;
}

.validate-agent-grid-v2 .two-col-notes div {
  padding: 14px;
}

.validate-agent-grid-v2 .two-col-notes .support-note {
  border-color: #8bd9c5;
  background: #ecfbf7;
}

.validate-agent-grid-v2 .two-col-notes .risk-note {
  border-color: #ffb5bb;
  background: #fff5f6;
}

.validate-agent-grid-v2 .two-col-notes span {
  margin-bottom: 8px;
  color: #334967;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.validate-agent-grid-v2 .two-col-notes strong {
  color: #07112f;
  font-size: 16px;
}

.specialist-review-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #dbe5f1;
}

.specialist-review-grid {
  grid-template-columns: 1fr;
}

.specialist-review-card header p {
  margin: 8px 0 0;
  color: #172843;
  font-size: 16px;
  line-height: 1.42;
}

.specialist-footnote {
  margin: 8px 0 0;
  color: #586a83;
  font-size: 12px;
  line-height: 1.35;
}

.neutral-input-note {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #c9d9ee;
  border-radius: 16px;
  background: #f7fbff;
}

.neutral-input-note > span {
  display: block;
  margin-bottom: 8px;
  color: #334967;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.read-more-panel {
  margin-top: 14px;
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  background: #f8fbff;
}

.read-more-panel summary {
  padding: 12px 14px;
  color: var(--blue);
  font-weight: 950;
  cursor: pointer;
}

.read-more-panel p {
  margin: 0;
  padding: 0 14px 12px;
  color: #172843;
  font-weight: 750;
  line-height: 1.55;
}

.read-more-panel .dimension-list {
  margin: 0 14px 14px;
}

.consumer-in-verdict {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
}

.consumer-in-verdict h2 {
  margin: 6px 0 10px;
  font-size: 32px;
}

.sentiment-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.sentiment-kpis article {
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  padding: 12px;
  background: #f8fbff;
}

.sentiment-kpis span {
  display: block;
  color: #8090a6;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sentiment-kpis strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 26px;
}

.review-confidence-gate {
  margin-top: 14px;
  border-radius: var(--radius);
  padding: 14px;
}

.review-confidence-gate.hold {
  border: 1px solid #ffd07a;
  background: #fff8eb;
}

.review-confidence-gate.pass {
  border: 1px solid #8de6cf;
  background: #eafbf5;
}

.review-confidence-gate strong {
  color: #0d1424;
}

.review-confidence-gate p {
  margin: 6px 0 0;
  color: #40516a;
  line-height: 1.45;
}

.topic-row span.risk {
  color: var(--red);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(8px);
}

.agent-modal {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: var(--radius);
  padding: 28px;
  background: #f8fbff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid #cdd9ea;
  border-radius: 999px;
  background: #fff;
  font-size: 24px;
}

.agent-modal-hero,
.agent-modal-grid section,
.benchmark-lens {
  border: 1px solid #d8e2ef;
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}

.agent-modal-hero {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.agent-modal-hero h2 {
  margin: 8px 0;
  font-size: 34px;
}

.agent-modal-hero .eyebrow {
  border-color: #b9cdfd;
  background: #eef6ff;
  color: #075ff2;
}

.agent-modal .agent-avatar {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #05146d, #0b8bd7);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 14px 34px rgba(7, 95, 242, 0.22);
}

.agent-modal-hero p,
.agent-modal-grid p,
.benchmark-lens p {
  color: #1f314a;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 750;
}

.agent-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.agent-signal-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .agent-signal-board,
  .agent-modal-grid {
    grid-template-columns: 1fr;
  }
}

.agent-signal-board article {
  border: 1px solid #d8e2ef;
  border-radius: 18px;
  padding: 20px;
}

.agent-signal-board h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.agent-signal-board ul {
  margin: 0;
  padding-left: 20px;
  color: #14243b;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 750;
}

.agent-signal-board li + li {
  margin-top: 8px;
}

.agent-signal-board .go {
  background: #eefcf5;
  border-color: #8fe2bd;
}

.agent-signal-board .go h3 {
  color: #007a56;
}

.agent-signal-board .hold {
  background: #fff8e8;
  border-color: #f5c66a;
}

.agent-signal-board .hold h3 {
  color: #9b5200;
}

.agent-signal-board .nogo {
  background: #fff1f2;
  border-color: #ff9da6;
}

.agent-signal-board .nogo h3 {
  color: #b4232d;
}

.agent-question-board {
  border: 1px solid #d8e2ef;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
  background: #fff;
}

.agent-question-board h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.agent-question-board div {
  display: grid;
  gap: 10px;
}

.agent-question-board span {
  display: block;
  border: 1px solid #dce7f4;
  border-radius: 14px;
  padding: 14px 16px;
  background: #f8fbff;
  color: #0f1b2e;
  font-size: 18px;
  font-weight: 850;
}

.backup-engine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 860px;
  margin-top: 16px;
  border: 1px solid #b9cdfd;
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(239, 246, 255, 0.92);
}

.backup-engine.wide {
  max-width: none;
  margin: 0 0 18px;
}

.backup-engine h3 {
  margin: 4px 0 6px;
  font-size: 22px;
}

.backup-engine p {
  margin: 0;
  color: #52627a;
  line-height: 1.45;
}

.backup-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
}

.backup-signals span {
  min-height: 34px;
  border: 1px solid #c8d9ff;
  border-radius: var(--radius);
  padding: 8px 10px;
  background: #fff;
  color: #1857d9;
  font-size: 13px;
  font-weight: 900;
}

.map-panel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  padding: 26px;
  border-color: rgba(255,255,255,0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 169, 200, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(13, 18, 48, 0.84), rgba(8, 52, 74, 0.82)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 58px);
  color: #fff;
  box-shadow: none;
}

.hero-radar-panel {
  display: grid;
  align-content: start;
  min-height: 398px;
  border: 1px solid rgba(205, 226, 255, 0.20);
  background:
    radial-gradient(circle at 50% 38%, rgba(40, 201, 255, 0.16), transparent 28%),
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.hero-radar-panel .eyebrow {
  justify-self: start;
}

.map-board {
  position: relative;
  display: grid;
  place-items: center;
  height: 340px;
  margin: 10px 0 18px;
}

.hero-radar-panel .map-board {
  height: 250px;
  margin: 10px 0 8px;
}

.ring {
  position: absolute;
  border: 1px solid rgba(77, 214, 255, 0.42);
  border-radius: 999px;
}

.ring.r1 { width: 96px; height: 96px; }
.ring.r2 { width: 180px; height: 180px; }
.ring.r3 { width: 256px; height: 256px; }

.pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #ff4f2e, #ff8a1f);
  box-shadow: 0 0 0 16px rgba(255, 112, 67, 0.15), 0 24px 44px rgba(0,0,0,0.22);
}

.pin span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
}

.signal-bubble {
  position: absolute;
  min-width: 128px;
  max-width: 170px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(12, 13, 20, 0.72);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.signal-bubble small {
  display: block;
  color: #9fe9ff;
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.b1 { top: 0; left: 50%; transform: translateX(-50%); text-align: center; }
.b2 { top: 78px; right: 4px; }
.b3 { bottom: 8px; left: 18px; }
.b4 { bottom: 8px; right: 18px; }
.b5 { top: 78px; left: 4px; }

.map-stack {
  display: grid;
  gap: 12px;
}

.map-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.1);
}

.map-row strong {
  display: block;
  font-size: 21px;
}

.map-row span {
  color: #cfe3ff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-verdict-strip {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-verdict-strip div {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  text-align: center;
}

.hero-verdict-strip span {
  display: block;
  color: #9fe9ff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-verdict-strip strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.05;
}

.agent-system-panel .center-head h2 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.output-section,
.industry-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.industry-section {
  padding-top: 46px;
}

.industry-band {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
}

.industry-band h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
}

.industry-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.industry-chip-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 112px;
  border: 1px solid #dce7f4;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
}

.industry-chip-grid i {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #05146d, #0b8bd7);
  color: #fff;
  font-style: normal;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(7, 95, 242, 0.18);
}

.industry-chip-grid strong {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.industry-chip-grid span {
  display: block;
  min-width: 0;
  margin-top: 8px;
  color: #40516a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.section-head p {
  max-width: 820px;
  color: #1e2e47;
  font-size: 20px;
  line-height: 1.5;
}

.load-grid {
  display: grid;
  gap: 18px;
}

.layer {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  align-items: start;
}

.layer-title {
  position: sticky;
  top: 86px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
}

.layer-title b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: #eaf2ff;
  color: #165de7;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.data-tile {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 110px;
  padding: 16px;
  box-shadow: none;
}

.data-tile.loaded {
  border-color: #94e5cc;
  background: #effcf7;
}

.data-tile.missing {
  border-style: dashed;
}

.mini-icon {
  width: 44px;
  height: 44px;
  background: #eef4ff;
  color: #2364ff;
}

.data-tile.loaded .mini-icon {
  background: #d9f9ec;
  color: #008b65;
}

.data-tile h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.data-tile p {
  margin: 0;
  color: #52627a;
}

.quality.high {
  background: #e6fbf3;
  color: #008761;
}

.quality.med {
  background: #fff5dd;
  color: #a86100;
}

.quality.low {
  background: #fff0f1;
  color: #d23842;
}

.case-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.live-panel {
  position: sticky;
  top: 112px;
  border: 1px solid #d8e3f0;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 42px rgba(19, 30, 54, 0.08);
}

.cases-side-panel {
  align-self: start;
}

.field-stack {
  display: grid;
  gap: 16px;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: #718198;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd7e8;
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.candidate {
  display: grid;
  align-content: start;
  min-height: 500px;
  border-radius: 22px;
  padding: 26px;
  box-shadow: none;
}

.candidate.selected {
  border-color: #96d9c7;
  background: #f0fbf7;
}

.candidate h3 {
  display: -webkit-box;
  min-height: 64px;
  margin: 0 0 8px;
  font-size: 27px;
  line-height: 1.12;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.candidate p {
  font-size: 17px;
  line-height: 1.45;
}

.candidate .footer-note {
  color: #26364f;
  font-size: 15px;
}

.score-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 16px;
}

.score-line b {
  font-size: 48px;
  line-height: 1;
}

.verdict.go {
  border: 1px solid #9ce8d2;
  background: #e8fbf4;
  color: #00936b;
}

.verdict.hold {
  border: 1px solid #ffd999;
  background: #fff6e6;
  color: #b76b00;
}

.verdict.no {
  border: 1px solid #ffc3c7;
  background: #fff1f2;
  color: #dd3e49;
}

.bars {
  display: grid;
  gap: 11px;
}

.bar {
  display: grid;
  grid-template-columns: 120px 1fr 46px;
  gap: 10px;
  align-items: center;
  color: #52627a;
  font-size: 14px;
  font-weight: 900;
}

.bar i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.candidate .pill-button {
  justify-self: start;
  margin-top: 22px;
}

.finding-glossary {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(7, 95, 242, 0.08), transparent 30%),
    #fff;
  box-shadow: var(--shadow);
}

.finding-glossary::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 22px;
  width: 140px;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(12, 201, 178, 0.95) 0 4px, transparent 5px) 0 0 / 28px 8px repeat-x;
  opacity: 0.75;
  animation: glossaryPulse 1.8s linear infinite;
}

.finding-glossary h3 {
  margin: 6px 0 0;
  font-size: 34px;
  line-height: 1.08;
}

.finding-glossary-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.finding-glossary-copy p {
  max-width: 310px;
  margin: 16px 0 0;
  color: #172843;
  font-size: 18px;
  line-height: 1.4;
}

.glossary-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid #b9d4ff;
  border-radius: 999px;
  background: #eef6ff;
  color: #075ff2;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.glossary-scroll-cue span {
  width: 18px;
  height: 18px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  animation: cueDrop 1.25s ease-in-out infinite;
}

.finding-glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finding-glossary article {
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  padding: 18px;
  background: #f8fbff;
}

.finding-glossary article i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #075ff2, #0e9fb6);
  color: #fff;
  font-style: normal;
  font-weight: 950;
}

.finding-glossary strong {
  color: var(--blue);
  font-size: 20px;
}

.finding-glossary p {
  margin: 8px 0 0;
  color: #26364f;
  font-size: 16px;
  line-height: 1.45;
}

@keyframes glossaryPulse {
  from { background-position: 0 0; }
  to { background-position: 28px 0; }
}

@keyframes cueDrop {
  0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: 0.6; }
  50% { transform: translateY(3px) rotate(45deg); opacity: 1; }
}

.agent-run-trace {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.55fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 30px;
  border: 1px solid #c9d9ee;
  border-radius: 26px;
  padding: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(44, 147, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 24px 70px rgba(13, 31, 60, 0.11);
}

.agent-run-copy h3 {
  max-width: 430px;
  margin: 8px 0 0;
  color: #07112f;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.agent-run-copy p {
  margin: 16px 0 0;
  color: #172843;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 650;
}

.agent-motion-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid #bfd4ef;
  border-radius: 24px;
  padding: 26px;
  background:
    linear-gradient(rgba(7, 95, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 95, 242, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff, #eef7ff);
  background-size: 30px 30px, 30px 30px, auto;
}

.agent-run-trace > .agent-motion-stage {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

.agent-run-trace > .agent-motion-stage::before,
.agent-run-trace > .agent-motion-stage::after {
  content: none !important;
}

.motion-track {
  position: absolute;
  inset: 24px;
  pointer-events: none;
}

.motion-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(7,95,242,0.05), rgba(7,95,242,0.34), rgba(0,180,216,0.34), rgba(7,95,242,0.05));
  transform: translateY(-50%);
}

.motion-track i {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #075ff2;
  box-shadow: 0 0 0 10px rgba(7, 95, 242, 0.12), 0 0 30px rgba(7, 95, 242, 0.5);
  animation: signalPacket 3.4s linear infinite;
}

.motion-track i:nth-child(2) {
  animation-delay: 1.1s;
  background: #0e9fb6;
}

.motion-track i:nth-child(3) {
  animation-delay: 2.2s;
  background: #00a779;
}

.motion-nodes {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px;
  width: 100%;
}

.agent-run-trace .motion-nodes article {
  position: relative;
  min-width: 0;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid #c7d8ee;
  border-radius: 20px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(19, 30, 54, 0.08);
  animation: nodePulse 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.22s);
}

.agent-run-trace .motion-nodes article::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #075ff2, #00b4d8);
  opacity: 0.22;
  animation: nodeScan 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.22s);
}

.motion-nodes b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #075ff2, #0e9fb6);
  color: #ffffff;
  font-size: 19px;
  font-weight: 950;
}

.motion-nodes strong {
  display: block;
  margin-top: 14px;
  color: #07112f;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 950;
}

.motion-nodes p {
  margin: 10px 0 0;
  color: #1b2d49;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 760;
}

@media (max-width: 1180px) {
  .agent-run-trace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .motion-nodes {
    grid-template-columns: 1fr !important;
  }

  .motion-track {
    display: none;
  }
}

@keyframes signalPacket {
  0% { left: 5%; transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 95%; transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}

@keyframes nodePulse {
  0%, 100% { transform: translateY(0); border-color: #c7d8ee; }
  48% { transform: translateY(-4px); border-color: #72a7ff; }
}

@keyframes nodeScan {
  0%, 100% { opacity: 0.18; transform: scaleX(0.55); }
  48% { opacity: 0.88; transform: scaleX(1); }
}

.bar i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.run-note-card {
  border: 1px solid #d8e3f0;
  border-radius: 18px;
  padding: 16px;
  background: #f8fbff;
}

.run-note-card strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 6px;
}

.run-note-card p {
  margin: 0;
  color: #26364f;
  font-size: 15px;
  line-height: 1.45;
}

.scout-result-grid u {
  margin-top: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.agent-card {
  min-height: 270px;
  padding: 18px;
  box-shadow: none;
}

.agent-avatar {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  background: #eef4ff;
  color: #2364ff;
}

.agent-card:nth-child(2) .agent-avatar,
.agent-card:nth-child(3) .agent-avatar,
.agent-card:nth-child(4) .agent-avatar,
.agent-card:nth-child(5) .agent-avatar {
  background: #edf5ff;
  color: #155bd7;
}

.committee-card .agent-avatar {
  background: linear-gradient(135deg, #edf5ff, #eaf9ff);
  color: #155bd7;
}

.agent-card h3 {
  margin: 0 0 8px;
}

.agent-card p {
  min-height: 74px;
  color: #56667d;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.trace {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.agent-workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.agent-workspace-card {
  display: grid;
  gap: 12px;
  border: 1px solid #cdd9ea;
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.agent-workspace-card.amber { border-top-color: var(--amber); }
.agent-workspace-card.green { border-top-color: var(--green); }
.agent-workspace-card.violet { border-top-color: var(--violet); }

.agent-workspace-card h3 {
  margin: 0;
  font-size: 26px;
}

.agent-workspace-card p {
  margin: 0;
  color: #52627a;
}

.dimension-list {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.dimension-list div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #e1e8f2;
  border-radius: var(--radius);
  padding: 10px;
  background: #f8fbff;
}

.dimension-list strong {
  color: var(--blue);
}

.dimension-list small {
  display: block;
  margin-top: 4px;
  color: #718198;
  font-size: 11px;
  line-height: 1.35;
}

.trace div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
}

.verdict-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 18px;
}

.readout {
  padding: 22px;
}

.readout.dark {
  background: linear-gradient(135deg, var(--navy), #0f6675);
  color: #fff;
}

.hero-score {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
}

.hero-score strong {
  font-size: 86px;
  line-height: 0.9;
}

.gauge {
  position: relative;
  height: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4f58, #f59e0b 48%, #22c55e);
}

.gauge i {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 5px solid #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: #22c55e;
  box-shadow: 0 0 0 12px rgba(255,255,255,0.16);
}

.readout.dark p,
.readout.dark .muted-label {
  color: #d7e4f2;
}

.readout.dark .proof-grid article {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.readout.dark .proof-grid span {
  color: #52627a;
}

.readout.dark .proof-grid strong {
  color: #0d1424;
}

.management-action-title {
  margin: 22px 0 10px;
  color: #fff;
  font-size: 22px;
}

.insight-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.insight-list div {
  border-radius: var(--radius);
  padding: 13px 14px;
  background: rgba(255,255,255,0.1);
  color: #f7fbff;
  font-size: 16px;
  line-height: 1.45;
}

.evidence-table {
  display: grid;
  gap: 10px;
}

.evidence-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.voice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
}

.voice-card {
  padding: 18px;
  box-shadow: none;
}

.topic-table {
  display: grid;
  gap: 8px;
}

.topic-row {
  display: grid;
  grid-template-columns: 160px repeat(3, 1fr);
  gap: 8px;
  align-items: center;
}

.topic-row.header {
  color: #7d8ba0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-row span {
  min-height: 38px;
  border-radius: var(--radius);
  padding: 9px 10px;
  background: #f3f7fb;
  font-weight: 850;
}

.topic-row span.best {
  border: 1px solid #8de6cf;
  background: #eafbf5;
  color: #008761;
}

.topic-row span.warn {
  border: 1px solid #ffd07a;
  background: #fff8eb;
  color: #a45b00;
}

.topic-row span.risk {
  border: 1px solid #ffb5bb;
  background: #fff1f2;
  color: var(--red);
}

.risk-list {
  display: grid;
  gap: 10px;
}

.risk-list div {
  border: 1px solid #ffd0d4;
  border-radius: var(--radius);
  padding: 12px;
  background: #fff5f6;
}

.footer-note {
  margin-top: 18px;
  color: #68778e;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .hero,
  .case-layout,
  .verdict-layout,
  .voice-layout {
    grid-template-columns: 1fr;
  }

  .agent-grid,
  .candidate-grid,
  .committee-grid,
  .specialist-grid,
  .proposition-grid,
  .output-card-grid,
  .finding-glossary,
  .finding-glossary > div:last-child,
  .agent-run-trace,
  .source-grid,
  .load-brand-hero,
  .ask-scout-layout,
  .scout-result-grid,
  .agent-workspace-grid,
  .agent-pipeline-row,
  .agent-pipeline-row > div,
  .site-select-controls,
  .detect-layout,
  .pincode-command,
  .lookup-status-strip,
  .site-picker-controls,
  .quick-site-grid,
  .client-evidence-grid,
  .custom-pincode-row,
  .pincode-canonical-row,
  .load-level-row,
  .resolved-location-card,
  .level2-console-grid,
  .level2-signal-table,
  .selected-site-rail,
  .intel-layer-grid,
  .expert-grid,
  .validation-layout,
  .upload-slot-grid,
  .score-matrix-mini,
  .benchmark-grid,
  .source-trail-grid,
  .validate-agent-grid,
  .crosswalk-grid,
  .consumer-in-verdict,
  .agent-modal-grid,
  .context-scout-panel,
  .validation-workflow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-strip {
    grid-template-columns: 1fr;
  }

  .flow-strip article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #dbe4ef;
  }

  .flow-strip article::after {
    display: none;
  }

  .map-panel {
    min-height: 560px;
  }

  .context-scout-panel.has-results,
  .context-scout-panel.has-results .context-scout-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .context-scout-panel.has-results .context-scout-answer {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .hero-signal-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .output-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 10px;
  }

  .location-entry-grid {
    grid-template-columns: 1fr;
  }

  .location-entry-grid button {
    width: 100%;
  }

  .topbar,
  .section-head,
  .layer,
  .data-tile,
  .evidence-row {
    grid-template-columns: 1fr;
  }

  .topbar,
  .nav,
  .industry-band,
  .industry-chip-grid,
  .industry-chip-grid article {
    min-width: 0;
    max-width: 100%;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .nav button {
    flex: 1 1 130px;
    min-width: 0;
  }

  .status-chip {
    display: none;
  }

  .top-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    width: 100%;
  }

  .top-actions button {
    flex: 1 1 140px;
  }

  .guardrail-approval {
    width: 100%;
    white-space: normal;
  }

  .proof-grid,
  .proposition-grid,
  .output-card-grid,
  .data-grid,
  .agent-grid,
  .candidate-grid,
  .committee-grid,
  .specialist-grid,
  .finding-glossary,
  .finding-glossary > div:last-child,
  .agent-run-trace,
  .scoring-trace-row,
  .source-grid,
  .load-brand-hero,
  .ask-scout-layout,
  .scout-result-grid,
  .load-brand-copy,
  .agent-workspace-grid,
  .agent-pipeline-row,
  .agent-pipeline-row > div,
  .site-select-head,
  .site-select-controls,
  .load-step-head,
  .detect-layout,
  .pincode-command,
  .lookup-status-strip,
  .site-picker-controls,
  .quick-site-grid,
  .client-evidence-grid,
  .client-evidence-title,
  .mini-upload-row label,
  .custom-pincode-row,
  .pincode-canonical-row,
  .load-level-row,
  .resolved-location-card,
  .enrichment-actions,
  .level2-console-grid,
  .level2-signal-table,
  .selected-site-rail,
  .intel-layer-grid,
  .expert-grid,
  .validation-layout,
  .upload-slot-grid,
  .upload-slot,
  .raw-row,
  .score-matrix-mini,
  .benchmark-grid,
  .source-trail-grid,
  .validate-agent-grid,
  .crosswalk-grid,
  .persona-panel article,
  .two-col-notes,
  .consumer-in-verdict,
  .agent-modal-grid,
  .evidence-layer-grid,
  .failure-grid,
  .backup-engine,
  .active-case-card,
  .evidence-layer-card,
  .failure-card {
    grid-template-columns: 1fr;
  }

  .industry-band,
  .industry-chip-grid {
    grid-template-columns: 1fr;
  }

  .context-scout-panel.has-results,
  .context-scout-panel.has-results .context-scout-results {
    grid-template-columns: 1fr;
  }

  .context-scout-panel.has-results .context-scout-answer {
    grid-column: auto;
    grid-row: auto;
  }

  .context-scout-panel,
  .validation-workflow-strip,
  .benchmark-definition-grid,
  .context-scout-result-card > div:last-child {
    grid-template-columns: 1fr;
  }

  .validation-workflow-strip article::after {
    display: none;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy,
  .section-head p {
    font-size: 17px;
  }

  .topic-row {
    grid-template-columns: 1fr;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .topbar,
  .footer-note,
  .verdict-switcher,
  .page-next-actions,
  .verdict-bottom-actions,
  .release-action-message,
  .nav,
  .top-actions {
    display: none !important;
  }

  .shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .screen {
    display: none !important;
    padding: 0;
  }

  #verdict.screen {
    display: block !important;
  }

  .verdict-report-shell,
  .verdict-hero-card,
  .verdict-context-card,
  .verdict-evidence-grid article,
  .management-action-strip,
  .micro-verdict-section,
  .expert-card,
  .expert-analysis,
  .read-more-panel {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .verdict-report-shell {
    padding: 18px;
    border-radius: 18px;
  }

  .verdict-report-top h1 {
    font-size: 42px;
  }

  .verdict-report-top {
    grid-template-columns: 0.9fr 1.2fr;
  }

  .verdict-executive-grid {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .verdict-evidence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .management-action-strip {
    grid-template-columns: 180px repeat(3, minmax(0, 1fr));
  }

  .micro-verdict-section {
    grid-template-columns: 0.8fr 1fr 1fr;
  }

  .agent-verdict-notes,
  .two-col-notes {
    grid-template-columns: 1fr 1fr;
  }

  .board-comment-row {
    grid-template-columns: 160px 1fr 1fr;
  }

  .management-review-table {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .verdict-score-row strong {
    font-size: 64px;
  }

  .expert-card {
    margin-top: 12px;
    padding: 18px;
  }
}

/* Evidence review hardening: keep the page readable at 90-100% browser zoom. */
.validation-layout.validation-layout-v2 {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(1560px, calc(100vw - 44px));
  margin: 0 auto;
  gap: 24px;
}

.validation-layout-v2 .validation-summary-v2 {
  position: static;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  padding: 26px;
}

.validation-layout-v2 .validation-summary-v2 > .section-label,
.validation-layout-v2 .review-location-lockup {
  grid-column: 1;
}

.review-location-lockup h2 {
  margin: 4px 0 0;
  max-width: 440px;
  color: #07112f;
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.06;
}

.review-location-lockup p {
  margin: 12px 0 0;
  color: #075ff2;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

.review-location-lockup span {
  display: block;
  margin-top: 8px;
  color: #172843;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
}

.validation-layout-v2 .score-gauge-card,
.validation-layout-v2 .site-comparison-mini,
.validation-layout-v2 .validation-status-grid,
.validation-layout-v2 .reviewer-layer-callout {
  margin: 0;
}

.validation-layout-v2 .score-gauge-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 150px;
}

.validation-layout-v2 .decision-score-card {
  padding: 22px;
}

.validation-layout-v2 .validation-status-grid {
  grid-column: 3;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.validation-layout-v2 .reviewer-layer-callout {
  grid-column: 1 / -1;
}

.validation-main.validation-main-v2 {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.catchment-traffic-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catchment-traffic-stack > .validation-card,
.catchment-traffic-stack > .catchment-card,
.catchment-traffic-stack > section {
  margin: 0;
  min-width: 0;
}

.catchment-traffic-stack .visit-intensity-card {
  width: 100%;
}

.catchment-traffic-stack .catchment-card {
  width: 100%;
}

.agent-chart-insight-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 20px;
}

.agent-chart-insight-panel article {
  border: 1px solid #cfe0f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef8ff 100%);
  padding: 16px 18px;
}

.agent-chart-insight-panel span {
  display: block;
  margin-bottom: 8px;
  color: #526782;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.validation-workflow-card {
  padding: 26px;
}

.validation-workflow-strip {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
}

.validation-workflow-strip article {
  grid-template-columns: 1fr;
  min-height: 178px;
  gap: 10px;
  padding: 20px;
}

.validation-workflow-strip b {
  width: 44px;
  height: 44px;
}

.validation-workflow-strip span {
  grid-column: auto;
  font-size: 17px;
  line-height: 1.38;
}

.validation-card-v2 {
  overflow: visible;
}

.evidence-validation-table.grouped {
  overflow-x: auto;
}

.evidence-validation-table.grouped .raw-row {
  grid-template-columns:
    minmax(118px, 0.62fr)
    minmax(150px, 0.92fr)
    minmax(250px, 1.05fr)
    minmax(178px, 0.92fr)
    minmax(240px, 1.22fr)
    minmax(184px, 0.85fr);
  min-width: 0;
  gap: 14px;
  padding: 18px 18px;
  align-items: center;
}

.evidence-validation-table.grouped input,
.evidence-validation-table.grouped select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.2;
}

.evidence-validation-table.grouped select {
  padding-right: 34px;
}

.evidence-validation-table.grouped .raw-row > * {
  min-width: 0;
}

.source-bullets {
  gap: 7px;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.32;
}

.context-scout-panel {
  grid-template-columns: minmax(280px, 0.72fr) minmax(280px, 0.85fr) minmax(420px, 1.1fr);
}

.context-scout-panel.context-cases {
  margin-top: 8px;
  margin-bottom: 32px;
}

.context-scout-panel.context-cases:not(.has-results) {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 0.92fr) minmax(360px, 1fr);
  align-items: stretch;
}

.context-scout-panel.has-results {
  grid-template-columns: minmax(290px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
}

.context-scout-panel.has-results .context-scout-answer {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.context-scout-panel.has-results .context-scout-results {
  grid-template-columns: 1fr;
  gap: 12px;
}

.context-scout-result-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.25fr);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
}

.context-scout-result-card > div:first-child {
  grid-template-columns: 36px 86px minmax(0, 1fr);
}

.context-scout-result-card p {
  margin: 0;
  align-self: center;
  font-size: 15px;
  line-height: 1.35;
}

.context-scout-result-card > div:last-child {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
}

.context-scout-result-card em {
  min-height: 58px;
  display: grid;
  align-content: center;
}

.dimension-weight-total {
  border: 1px solid #8bd9c5;
  border-radius: 14px;
  padding: 10px 12px;
  background: #ecfbf7;
  color: #007a5b;
  font-size: 16px;
  font-weight: 950;
}

.dimension-weight-total.warn {
  border-color: #ffc45b;
  background: #fff7e8;
  color: #9a5700;
}

.dimension-weight-tuner label {
  grid-template-columns: minmax(260px, 1fr) 70px minmax(260px, 1fr);
  padding: 16px;
}

.dimension-weight-tuner input[type="range"] {
  width: 100%;
  min-width: 0;
  accent-color: #075ff2;
}

.source-trail-grid.source-trail-grid-v2 {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

@media (max-width: 1280px) {
  .validation-layout.validation-layout-v2 {
    max-width: calc(100vw - 28px);
  }

  .validation-layout-v2 .validation-summary-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .validation-layout-v2 .validation-summary-v2 > .section-label,
  .validation-layout-v2 .review-location-lockup,
  .validation-layout-v2 .score-gauge-card,
  .validation-layout-v2 .site-comparison-mini,
  .validation-layout-v2 .validation-status-grid,
  .validation-layout-v2 .reviewer-layer-callout,
  .validation-layout-v2 .validation-summary-v2 > button {
    grid-column: auto;
    grid-row: auto;
  }

  .validation-workflow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .context-scout-panel,
  .context-scout-panel.has-results {
    grid-template-columns: 1fr;
  }

  .context-scout-panel.has-results .context-scout-answer {
    grid-column: auto;
    grid-row: auto;
  }

  .catchment-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .nav button {
    flex: 1 1 148px;
  }

  .top-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .top-actions button {
    flex: 1 1 140px;
  }

  .validation-layout.validation-layout-v2,
  .validation-layout-v2 .validation-summary-v2,
  .validation-workflow-strip,
  .source-trail-grid.source-trail-grid-v2,
  .business-feedback-fields,
  .business-review-grid,
  .lens-impact-panel,
  .evidence-choice-grid,
  .client-evidence-sections,
  .evidence-extract-grid,
  .dimension-weight-tuner label,
  .context-scout-result-card,
  .context-scout-result-card > div:last-child {
    grid-template-columns: 1fr;
  }

  .client-evidence-form-head {
    display: grid;
  }

  .validation-card-v2 {
    padding: 18px;
  }

  .reviewer-layer-callout,
  .bottom-approve-bar,
  .review-control-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .reviewer-layer-callout button,
  .bottom-approve-bar button {
    width: 100%;
    max-width: 100%;
  }

  .siteiq-public-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .catchment-toolbar,
  .micro-catchment-lens .site-select-head,
  .catchment-metric-grid {
    grid-template-columns: 1fr;
  }

  .catchment-current-label {
    max-width: none;
    text-align: left;
  }

  .catchment-map-panel {
    height: 360px;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 38px !important;
    max-width: min(210px, 58vw);
  }

  .brand > span {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    background: rgba(2,10,50,0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  }

  .topbar.nav-open .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }

  .topbar.nav-open .top-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    height: auto;
    overflow: visible;
    pointer-events: auto;
    visibility: visible;
  }

  .nav button {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    text-align: center;
    white-space: normal;
  }

  .top-actions {
    display: none;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
  }

  .top-actions button {
    width: 100%;
    min-height: 44px;
    min-width: 0;
  }

  .account-menu-wrap {
    width: 100%;
  }

  .account-menu {
    position: static;
    margin-top: 8px;
    min-width: 0;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 8px;
  }

  .hero {
    padding: 22px;
    gap: 18px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .hero-copy {
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-verdict-strip {
    grid-template-columns: 1fr;
  }

  .hero-radar-panel {
    display: block;
    min-height: 0;
    padding: 14px;
  }

  .hero-radar-panel .eyebrow,
  .hero-radar-panel .signal-bubble,
  .hero-radar-panel .hero-verdict-strip {
    display: none;
  }

  .hero-radar-panel .map-board {
    height: 210px;
    margin: 0;
  }

  .hero-radar-panel .ring.r1 {
    width: 78px;
    height: 78px;
  }

  .hero-radar-panel .ring.r2 {
    width: 142px;
    height: 142px;
  }

  .hero-radar-panel .ring.r3 {
    width: 198px;
    height: 198px;
  }

  .hero-radar-panel .pin {
    width: 58px;
    height: 58px;
  }

  .hero-radar-panel .pin span {
    width: 20px;
    height: 20px;
  }

  .section-head,
  .review-accordion-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .section-head h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.05;
  }

  .section-head p,
  .review-accordion-head small {
    max-width: none;
    width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .review-accordion-head b {
    justify-self: stretch;
    text-align: center;
    width: 100%;
  }

  .topbar.nav-open .nav,
  .topbar.nav-open .top-actions {
    grid-template-columns: 1fr;
  }

  .verdict-switcher,
  .verdict-detail-actions {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
  }

  .verdict-switcher label,
  .verdict-switcher .ghost,
  .verdict-detail-actions .primary,
  .verdict-detail-actions .ghost {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .expert-analysis .center-head {
    grid-template-columns: 1fr;
    gap: 16px;
    min-width: 0;
  }

  .expert-analysis .center-head > div,
  .expert-analysis .center-head h2,
  .expert-analysis .center-head p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .management-action-strip {
    grid-template-columns: 1fr;
    min-width: 0;
    overflow-x: hidden;
  }

  .management-action-strip > span,
  .management-action-strip div {
    min-width: 0;
    max-width: 100%;
  }

  .management-action-strip div {
    align-items: flex-start;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .verdict-context-card,
  .verdict-hero-card,
  .verdict-report-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px;
  }

  .verdict-context-card h3 {
    font-size: clamp(24px, 8vw, 30px);
    overflow-wrap: anywhere;
  }

  .verdict-kpi-grid,
  .verdict-evidence-grid {
    grid-template-columns: 1fr;
  }

  .format-revenue-kpi {
    grid-column: auto;
  }

  .format-revenue-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-backdrop {
    align-items: flex-start;
    overflow-y: auto;
    padding: 10px;
  }

  .agent-modal,
  .client-login-modal {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    padding: 16px;
    border-radius: 22px;
  }

  .client-login-modal .agent-modal-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .client-login-modal .agent-modal-hero h2 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.05;
  }

  .client-login-modal .agent-modal-hero p {
    font-size: 15px;
    line-height: 1.45;
  }

  .client-login-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 16px 0;
  }

  .client-login-grid label {
    padding: 14px;
  }

  .client-login-grid input,
  .client-login-grid select {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .format-revenue-mini {
    grid-template-columns: 1fr;
  }
}

/* Final Scout and evidence-review polish: keep recommendation actions compact and readable. */
.context-scout-panel .context-scout-actions {
  align-items: flex-start;
}

.context-scout-panel .context-scout-actions button {
  display: inline-flex;
  justify-content: flex-start;
  text-align: left;
  width: auto;
  max-width: 100%;
  line-height: 1.2;
}

.context-scout-panel.has-results .context-scout-results {
  grid-template-columns: 1fr !important;
  gap: 12px;
}

.context-scout-result-card {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.85fr) minmax(240px, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 0;
}

.context-scout-result-card > div:first-child {
  min-width: 0;
}

.context-scout-result-card p {
  min-width: 0;
  margin: 0 !important;
}

.context-scout-result-card .context-scout-stat-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 8px;
}

.context-scout-result-card .add-scout-site {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 92px !important;
  max-width: 124px !important;
  min-height: 34px;
  height: auto !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  justify-self: end;
  align-self: center;
  grid-column: auto !important;
  border-radius: 999px;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(7, 95, 242, 0.18);
}

.context-scout-answer .scout-add-note {
  margin-top: 12px !important;
  color: #243b59;
  font-size: 14px;
  font-weight: 800;
}

.agent-score-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.agent-score-pair span {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 6px;
  border: 1px solid #c9dcf4;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f5f9ff;
  color: #07112f;
}

.agent-score-pair span.adjusted {
  border-color: #8ee3ca;
  background: #eafbf5;
}

.agent-score-pair small {
  color: #516780;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.agent-score-pair b {
  color: #075ff2;
  font-size: 17px;
}

.visit-intensity-card {
  overflow: hidden;
}

.visit-day-select {
  display: grid;
  gap: 5px;
  min-width: 170px;
}

.visit-day-select span {
  color: #60718a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visit-day-select select {
  appearance: auto;
  border: 1px solid #cbdcf2;
  border-radius: 14px;
  background: #fff;
  color: #07112f;
  font-size: 15px;
  font-weight: 900;
  padding: 11px 14px;
}

.visit-intensity-live-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 16px;
  color: #5e6774;
}

.visit-intensity-live-row strong {
  font-size: 16px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  border-radius: 7px;
  background: #df3f3c;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 6px 9px;
}

.visit-histogram {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(22px, 1fr);
  align-items: end;
  gap: 6px;
  min-height: 178px;
  padding: 26px 8px 30px;
  border-top: 1px dashed #d1d7df;
  border-bottom: 2px solid #c9d2de;
}

.visit-bar-wrap {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  justify-items: center;
  height: 150px;
  min-width: 0;
}

.visit-bar-wrap i {
  display: block;
  width: 100%;
  max-width: 34px;
  min-height: 4px;
  border-radius: 7px 7px 2px 2px;
  background: #3298a6;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.05);
}

.visit-bar-wrap i.peak {
  background: #df5b58;
}

.visit-bar-wrap span {
  margin-top: 8px;
  color: #5f6976;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.visit-intensity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.visit-intensity-summary article {
  border: 1px solid #d9e5f5;
  border-radius: 16px;
  background: #f8fbff;
  padding: 13px 14px;
}

.visit-intensity-summary span {
  display: block;
  margin-bottom: 4px;
  color: #60718a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.visit-intensity-summary strong {
  color: #07112f;
  font-size: 16px;
  font-weight: 950;
}

.visit-intensity-note {
  margin: 12px 0 0;
  color: #50627a;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.visit-intensity-empty {
  border-color: #d8e4f4;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.visit-intensity-unavailable {
  margin-top: 12px;
  border: 1px solid #d8e4f4;
  border-radius: 16px;
  background: #f8fbff;
  padding: 14px 16px;
}

.visit-intensity-unavailable strong {
  display: block;
  color: #07112f;
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 5px;
}

.visit-intensity-unavailable p {
  margin: 0;
  color: #52657d;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}

.tested-sites-memory-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #bfe8dc;
  border-radius: 18px;
  background: linear-gradient(135deg, #effcf8 0%, #f8fbff 100%);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.tested-sites-memory-card strong {
  color: #07112f;
  font-size: 16px;
  font-weight: 950;
}

.tested-sites-memory-card span {
  color: #466078;
  font-size: 14px;
  font-weight: 780;
  text-align: right;
}

.site-picker-controls.secondary-picker {
  opacity: 0.92;
}

.help-modal {
  max-width: 860px;
}

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

.help-grid article {
  border: 1px solid #d3e3ff;
  border-radius: 18px;
  background: #f8fbff;
  padding: 16px;
}

.help-grid strong,
.help-support-row strong {
  display: block;
  color: #061234;
  font-weight: 950;
  margin-bottom: 6px;
}

.help-grid p {
  color: #405777;
  font-weight: 650;
  line-height: 1.5;
  margin: 0;
}

.help-support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #dbe7fb;
  padding-top: 14px;
}

.support-ticket-modal {
  max-width: 900px;
}

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

.support-ticket-grid label {
  display: grid;
  gap: 8px;
  border: 1px solid #d3e3ff;
  border-radius: 18px;
  background: #f8fbff;
  padding: 14px;
}

.support-ticket-grid label span {
  color: #5c708e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.support-ticket-grid input,
.support-ticket-grid select,
.support-ticket-grid textarea {
  width: 100%;
  border: 1px solid #bcd1ef;
  border-radius: 14px;
  padding: 12px 13px;
  background: #ffffff;
  color: #061330;
  font: inherit;
  font-weight: 750;
}

.support-ticket-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.support-ticket-attachment em {
  color: #60738d;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.support-ticket-attachment-list {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.support-ticket-attachment-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #dbe7fb;
  border-radius: 12px;
  background: #ffffff;
  padding: 9px 11px;
  color: #061330;
  font-weight: 850;
}

.support-ticket-attachment-list span {
  color: #64748b;
  font-size: 0.85rem;
  white-space: nowrap;
}

.support-ticket-wide {
  grid-column: 1 / -1;
}

.support-ticket-status {
  border: 1px solid #8fe0ca;
  border-radius: 16px;
  background: #ecfff9;
  color: #006b54;
  padding: 12px 14px;
  font-weight: 900;
  margin-bottom: 14px;
}

.support-ticket-status-action {
  margin: 0 0 12px;
}

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

.support-faq-grid article {
  border: 1px solid #dbe7fb;
  border-radius: 16px;
  background: #ffffff;
  padding: 14px;
}

.support-faq-grid strong {
  display: block;
  color: #061234;
  font-weight: 950;
  margin-bottom: 5px;
}

.support-faq-grid p {
  color: #405777;
  font-weight: 650;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 980px) {
  .evidence-validation-table.grouped {
    overflow-x: visible;
  }

  .evidence-validation-table.grouped .raw-row.header {
    display: none;
  }

  .evidence-validation-table.grouped .raw-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px;
  }

  .evidence-validation-table.grouped .raw-row > * {
    width: 100%;
  }

  .validation-layout-v2 .validation-summary-v2,
  .catchment-traffic-stack,
  .agent-chart-insight-panel {
    grid-template-columns: 1fr;
  }

  .validation-layout-v2 .score-gauge-card,
  .validation-layout-v2 .validation-status-grid,
  .validation-layout-v2 .reviewer-layer-callout {
    grid-column: auto;
    grid-row: auto;
  }

  .context-scout-result-card {
    grid-template-columns: 1fr !important;
  }

  .context-scout-result-card .add-scout-site {
    justify-self: start;
  }

  .context-scout-result-card .context-scout-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-intensity-summary {
    grid-template-columns: 1fr;
  }

  .visit-day-select {
    width: 100%;
    min-width: 0;
  }

  .visit-day-select select {
    width: 100%;
  }

  .support-ticket-grid,
  .support-faq-grid {
    grid-template-columns: 1fr;
  }

  .visit-histogram {
    grid-auto-columns: minmax(8px, 1fr);
    gap: 2px;
    min-height: 144px;
    overflow-x: hidden;
    padding: 20px 2px 24px;
  }

  .visit-bar-wrap {
    height: 118px;
    min-width: 0;
  }

  .visit-bar-wrap i {
    max-width: 18px;
  }

  .visit-bar-wrap span {
    font-size: 9px;
  }

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

  .help-support-row {
    align-items: stretch;
    flex-direction: column;
  }
}
@keyframes siteiqSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Launch responsive hardening: keep Scout and Verdict usable on tablet/mobile. */
@media (max-width: 980px) {
  .context-scout-panel,
  .context-scout-panel.has-results,
  .context-scout-panel.has-results .context-scout-answer,
  .context-scout-answer,
  .context-scout-actions,
  .context-scout-freeform {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
  }

  .context-scout-panel.has-results {
    grid-template-columns: 1fr !important;
  }

  .context-scout-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
  }

  .context-scout-actions button,
  .context-scout-freeform input,
  .context-scout-freeform button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .verdict-switcher {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .verdict-switcher label,
  .verdict-switcher button,
  .verdict-switcher select,
  .verdict-switcher .ghost,
  .verdict-switcher .primary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .micro-verdict-section,
  .micro-verdict-section article {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .micro-verdict-section {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .context-scout-result-card {
    grid-template-columns: 1fr !important;
  }

  .context-scout-result-card .context-scout-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .context-scout-result-card .add-scout-site {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }

  .micro-verdict-section li {
    grid-template-columns: 34px 1fr !important;
  }

  .micro-verdict-section li strong {
    grid-column: 2 / -1;
  }
}

/* Launch responsive final pass: override high-specificity Scout and Verdict grids. */
@media (max-width: 980px) {
  .context-scout-panel.context-cases,
  .context-scout-panel.context-cases:not(.has-results),
  .context-scout-panel.context-cases.has-results {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .context-scout-panel.context-cases > *,
  .context-scout-panel.context-cases .context-scout-actions,
  .context-scout-panel.context-cases .context-scout-answer,
  .context-scout-panel.context-cases .context-scout-freeform,
  .context-scout-panel.context-cases .context-scout-results {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .verdict-report-top,
  .verdict-executive-grid,
  .verdict-report-grid,
  .verdict-main-grid,
  .expert-analysis,
  .expert-grid,
  .expert-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .verdict-report-top > *,
  .verdict-executive-grid > *,
  .expert-analysis > *,
  .expert-grid > *,
  .expert-card > *,
  .verdict-switcher,
  .verdict-context-card,
  .verdict-hero-card,
  .verdict-evidence-grid,
  .verdict-kpi-grid {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .verdict-score-row,
  .verdict-hero-insights,
  .agent-verdict-notes,
  .two-col-notes,
  .board-comment-row,
  .read-more-panel,
  .source-pill-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .expert-card header,
  .agent-verdict-notes,
  .two-col-notes,
  .board-comment-row,
  .source-pill-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .context-scout-panel.context-cases .context-scout-actions button,
  .context-scout-panel.context-cases .context-scout-freeform input,
  .context-scout-panel.context-cases .context-scout-freeform button,
  .verdict-switcher button,
  .verdict-switcher select,
  .verdict-switcher label,
  .verdict-score-row,
  .verdict-hero-insights,
  .expert-card,
  .expert-card > *,
  .agent-verdict-notes,
  .agent-verdict-notes > div,
  .two-col-notes,
  .two-col-notes > div,
  .board-comment-row,
  .board-comment-row > *,
  .read-more-panel,
  .source-pill-row,
  .source-pill-row span {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .verdict-score-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .verdict-callout {
    justify-items: start !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .verdict-hero-insights {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .expert-card {
    padding: 18px !important;
  }

  .expert-card header,
  .agent-verdict-notes,
  .two-col-notes,
  .board-comment-row,
  .source-pill-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .agent-avatar,
  .specialist-pill {
    justify-self: start !important;
  }
}

.decision-print-report {
  display: none;
}

/* CEO decision report print mode: dedicated CXO report layout. */
@media print {
  @page {
    size: A4 landscape;
    margin: 9mm;
  }

  html,
  body {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #061330 !important;
    overflow: visible !important;
  }

  body.sitepickr-printing-report {
    font-size: 11px !important;
    line-height: 1.32 !important;
  }

  body.sitepickr-printing-report .topbar,
  body.sitepickr-printing-report .footer-note,
  body.sitepickr-printing-report .verdict-switcher,
  body.sitepickr-printing-report .page-next-actions,
  body.sitepickr-printing-report .verdict-bottom-actions,
  body.sitepickr-printing-report .release-action-message,
  body.sitepickr-printing-report .nav,
  body.sitepickr-printing-report .top-actions,
  body.sitepickr-printing-report button,
  body.sitepickr-printing-report select,
  body.sitepickr-printing-report textarea,
  body.sitepickr-printing-report input {
    display: none !important;
  }

  body.sitepickr-printing-report .shell,
  body.sitepickr-printing-report main,
  body.sitepickr-printing-report .screen,
  body.sitepickr-printing-report #verdict {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
  }

  body.sitepickr-printing-report .screen {
    display: none !important;
  }

  body.sitepickr-printing-report #verdict.screen {
    display: block !important;
  }

  body.sitepickr-printing-report #verdict > :not(.decision-print-report) {
    display: none !important;
  }

  body.sitepickr-printing-report .decision-print-report {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #061330 !important;
    background: #ffffff !important;
  }

  body.sitepickr-printing-report .decision-print-report * {
    box-sizing: border-box !important;
  }

  body.sitepickr-printing-report .print-cover {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 8mm !important;
    padding: 8mm !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #061330 0%, #0b2c79 58%, #075ff2 100%) !important;
    break-inside: avoid !important;
  }

  body.sitepickr-printing-report .print-cover div {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body.sitepickr-printing-report .print-cover img {
    width: 150px !important;
    height: auto !important;
    display: block !important;
  }

  body.sitepickr-printing-report .print-cover p,
  body.sitepickr-printing-report .print-cover span {
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 850 !important;
  }

  body.sitepickr-printing-report .print-cover p {
    font-size: 22px !important;
    letter-spacing: .02em !important;
  }

  body.sitepickr-printing-report .print-cover span {
    border: 1px solid rgba(255,255,255,.34) !important;
    border-radius: 999px !important;
    padding: 7px 11px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
  }

  body.sitepickr-printing-report .print-title-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr) !important;
    gap: 8mm !important;
    margin: 0 0 6mm !important;
    break-inside: avoid !important;
  }

  body.sitepickr-printing-report .print-kicker {
    margin: 0 0 3mm !important;
    color: #075ff2 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
  }

  body.sitepickr-printing-report .decision-print-report h1 {
    margin: 0 0 3mm !important;
    color: #061330 !important;
    font-size: 30px !important;
    line-height: 1.05 !important;
  }

  body.sitepickr-printing-report .decision-print-report h2 {
    margin: 0 0 3mm !important;
    color: #061330 !important;
    font-size: 15px !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
  }

  body.sitepickr-printing-report .decision-print-report h3 {
    margin: 0 0 2mm !important;
    color: #061330 !important;
    font-size: 17px !important;
    line-height: 1.15 !important;
  }

  body.sitepickr-printing-report .decision-print-report p,
  body.sitepickr-printing-report .decision-print-report li,
  body.sitepickr-printing-report .decision-print-report td,
  body.sitepickr-printing-report .decision-print-report th {
    color: #172843 !important;
    font-size: 10.5px !important;
    line-height: 1.38 !important;
  }

  body.sitepickr-printing-report .print-score-card,
  body.sitepickr-printing-report .print-section {
    border: 1px solid #c7d9f1 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    break-inside: avoid !important;
  }

  body.sitepickr-printing-report .print-score-card {
    padding: 6mm !important;
    background: linear-gradient(145deg, #eef6ff, #ffffff) !important;
  }

  body.sitepickr-printing-report .print-score-card span,
  body.sitepickr-printing-report .print-summary-table span {
    display: block !important;
    color: #5a708c !important;
    font-size: 9px !important;
    font-weight: 850 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }

  body.sitepickr-printing-report .print-score-card strong {
    display: block !important;
    margin: 2mm 0 3mm !important;
    color: #061330 !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
  }

  body.sitepickr-printing-report .print-score-card b {
    display: block !important;
    color: #075ff2 !important;
    font-size: 34px !important;
    line-height: 1 !important;
  }

  body.sitepickr-printing-report .print-score-card em {
    display: block !important;
    margin-top: 1mm !important;
    color: #5a708c !important;
    font-size: 10px !important;
    font-style: normal !important;
  }

  body.sitepickr-printing-report .print-summary-table {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 0 5mm !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.sitepickr-printing-report .print-summary-table div {
    padding: 4mm !important;
    border-right: 1px solid #dbe7f6 !important;
  }

  body.sitepickr-printing-report .print-summary-table div:last-child {
    border-right: 0 !important;
  }

  body.sitepickr-printing-report .print-summary-table strong {
    display: block !important;
    margin-top: 2mm !important;
    color: #061330 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  body.sitepickr-printing-report .print-two-column {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5mm !important;
    margin: 0 0 5mm !important;
  }

  body.sitepickr-printing-report .print-section {
    padding: 5mm !important;
    margin: 0 0 5mm !important;
  }

  body.sitepickr-printing-report .print-two-column .print-section {
    margin: 0 !important;
  }

  body.sitepickr-printing-report .print-page-block {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  body.sitepickr-printing-report .print-metric-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2.5mm !important;
  }

  body.sitepickr-printing-report .print-metric-strip span {
    display: block !important;
    padding: 3mm !important;
    border: 1px solid #d7e5f6 !important;
    border-radius: 10px !important;
    background: #f7fbff !important;
    color: #172843 !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
  }

  body.sitepickr-printing-report .print-specialist-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4mm !important;
  }

  body.sitepickr-printing-report .print-specialist-grid article {
    min-width: 0 !important;
    padding: 4mm !important;
    border: 1px solid #d7e5f6 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    break-inside: avoid !important;
  }

  body.sitepickr-printing-report .print-specialist-grid article > span {
    display: inline-block !important;
    margin-bottom: 2mm !important;
    padding: 1.5mm 2.4mm !important;
    border-radius: 999px !important;
    background: #eaf2ff !important;
    color: #075ff2 !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
  }

  body.sitepickr-printing-report .print-limitation {
    border-color: #e6c57a !important;
    background: #fffaf0 !important;
  }

  body.sitepickr-printing-report .print-risk {
    border-color: #f5b8b8 !important;
    background: #fff8f8 !important;
  }

  body.sitepickr-printing-report .decision-print-report ul,
  body.sitepickr-printing-report .decision-print-report ol {
    margin: 0 !important;
    padding-left: 16px !important;
  }

  body.sitepickr-printing-report .decision-print-report li + li {
    margin-top: 1.8mm !important;
  }

  body.sitepickr-printing-report .decision-print-report table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
  }

  body.sitepickr-printing-report .decision-print-report th {
    background: #eef6ff !important;
    color: #061330 !important;
    font-weight: 850 !important;
  }

  body.sitepickr-printing-report .decision-print-report th,
  body.sitepickr-printing-report .decision-print-report td {
    padding: 2.6mm 3mm !important;
    border: 1px solid #d7e5f6 !important;
    vertical-align: top !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.sitepickr-printing-report .print-footer {
    margin-top: 6mm !important;
    padding-top: 3mm !important;
    border-top: 1px solid #dbe7f6 !important;
    color: #5a708c !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  body.sitepickr-printing-report .verdict-report-shell,
  body.sitepickr-printing-report .micro-verdict-section,
  body.sitepickr-printing-report .expert-analysis,
  body.sitepickr-printing-report .management-assessment,
  body.sitepickr-printing-report .management-review-section,
  body.sitepickr-printing-report .source-support-panel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 9mm !important;
    padding: 12px !important;
    border: 1px solid #c7d9f1 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    break-inside: avoid-page !important;
    page-break-inside: avoid !important;
  }

  body.sitepickr-printing-report .verdict-report-top,
  body.sitepickr-printing-report .verdict-executive-grid,
  body.sitepickr-printing-report .verdict-evidence-grid,
  body.sitepickr-printing-report .management-action-strip,
  body.sitepickr-printing-report .micro-verdict-section,
  body.sitepickr-printing-report .expert-analysis,
  body.sitepickr-printing-report .expert-grid,
  body.sitepickr-printing-report .agent-verdict-notes,
  body.sitepickr-printing-report .two-col-notes,
  body.sitepickr-printing-report .board-comment-row,
  body.sitepickr-printing-report .management-review-table,
  body.sitepickr-printing-report .verdict-kpi-grid,
  body.sitepickr-printing-report .format-revenue-mini {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.sitepickr-printing-report .verdict-executive-grid,
  body.sitepickr-printing-report .verdict-evidence-grid,
  body.sitepickr-printing-report .management-review-table {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.sitepickr-printing-report .verdict-report-top {
    margin-bottom: 8px !important;
  }

  body.sitepickr-printing-report .verdict-report-top h1 {
    margin: 3px 0 !important;
    color: #061330 !important;
    font-size: 30px !important;
    line-height: 1.02 !important;
  }

  body.sitepickr-printing-report .verdict-report-top p,
  body.sitepickr-printing-report p,
  body.sitepickr-printing-report li {
    color: #172843 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  body.sitepickr-printing-report .section-label {
    color: #48627f !important;
    font-size: 9px !important;
    letter-spacing: .12em !important;
  }

  body.sitepickr-printing-report .verdict-hero-card,
  body.sitepickr-printing-report .verdict-context-card,
  body.sitepickr-printing-report .verdict-evidence-grid article,
  body.sitepickr-printing-report .management-action-strip,
  body.sitepickr-printing-report .expert-card,
  body.sitepickr-printing-report .micro-verdict-section article,
  body.sitepickr-printing-report .management-review-table article,
  body.sitepickr-printing-report .read-more-panel {
    min-width: 0 !important;
    padding: 12px !important;
    border: 1px solid #d4e3f5 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    break-inside: avoid !important;
  }

  body.sitepickr-printing-report .verdict-hero-card {
    background: linear-gradient(135deg, #06184b 0%, #075ff2 100%) !important;
    color: #ffffff !important;
  }

  body.sitepickr-printing-report .verdict-hero-card h2 {
    color: #ffffff !important;
    font-size: 26px !important;
  }

  body.sitepickr-printing-report .verdict-hero-card p,
  body.sitepickr-printing-report .verdict-hero-card .section-label,
  body.sitepickr-printing-report .verdict-hero-card span {
    color: rgba(255,255,255,.9) !important;
  }

  body.sitepickr-printing-report .verdict-score-row {
    display: flex !important;
    align-items: flex-end !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  body.sitepickr-printing-report .verdict-score-row strong {
    font-size: 48px !important;
    line-height: .9 !important;
  }

  body.sitepickr-printing-report .verdict-callout {
    justify-items: start !important;
    text-align: left !important;
  }

  body.sitepickr-printing-report .verdict-callout .verdict {
    display: inline-block !important;
    padding: 7px 11px !important;
    font-size: 12px !important;
  }

  body.sitepickr-printing-report .verdict-context-card h3,
  body.sitepickr-printing-report .expert-card h3,
  body.sitepickr-printing-report .micro-verdict-section h2 {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  body.sitepickr-printing-report .verdict-kpi-grid strong,
  body.sitepickr-printing-report .format-revenue-mini strong {
    font-size: 15px !important;
  }

  body.sitepickr-printing-report details,
  body.sitepickr-printing-report details[open] {
    display: block !important;
  }

  body.sitepickr-printing-report summary {
    list-style: none !important;
  }

  body.sitepickr-printing-report summary::-webkit-details-marker {
    display: none !important;
  }

  body.sitepickr-printing-report a {
    color: #075ff2 !important;
    text-decoration: none !important;
  }
}
/* Mobile launch pass: keep the public hero focused and prevent long desktop
   presentation cards from becoming an endless scroll on small screens. */
@media (max-width: 640px) {
  .product-demo-section { padding: 30px 12px; border-radius: 22px; }
  .product-demo-frame { padding: 9px; border-radius: 18px; }
  .product-demo-video { border-radius: 13px; }
  .product-demo-placeholder { min-height: 0; border-radius: 13px; }
  .product-demo-play { width: 64px; height: 64px; }
  .product-demo-placeholder strong { font-size: 20px; }
  .product-demo-placeholder > span { font-size: 13px; }
  .hero { gap: 14px; padding: 18px; border-radius: 22px; }
  .hero-radar-panel { min-height: 146px; padding: 10px; border-radius: 18px; }
  .hero-radar-panel .map-board { height: 124px; min-height: 0; border-radius: 16px; }
  .hero-radar-panel .ring, .hero-radar-panel .signal-bubble, .hero-radar-panel .hero-verdict-strip { display: none !important; }
  .hero-radar-panel .pin { width: 54px; height: 54px; }
  .hero-radar-panel .pin span { width: 18px; height: 18px; }
  .hero-signal-grid { gap: 10px; }
  .hero-signal-grid article { min-height: 0; padding: 14px; }
  .agent-system-shell { padding-top: 28px; padding-bottom: 28px; }
  .agent-system-panel { padding: 14px; border-radius: 22px; }
  .agent-system-panel .home-section { padding: 18px 0; }
  .agent-system-panel .center-head h2 { font-size: clamp(28px, 8vw, 36px); line-height: 1.05; }
  .agent-system-panel .center-head p { font-size: 15px; line-height: 1.45; }
  .committee-card { min-height: 0; padding: 16px; }
  .committee-card h3, .specialist-grid h3 { min-height: 0; font-size: 22px; }
  .committee-card p, .specialist-grid p { min-height: 0; font-size: 15px; line-height: 1.45; }
  .agent-pipeline-row { padding: 14px; }
  .agent-pipeline-row > div { grid-template-columns: 1fr; gap: 8px; }
  .agent-pipeline-row span, .compact-decision-chain .agent-pipeline-row span { min-height: 0; padding: 13px; }
}
/* Make the access modal dismiss action unmissable on small screens. */
@media (max-width: 640px) {
  .client-login-modal .modal-close {
    z-index: 4;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: 2px solid #075ff2;
    background: #ffffff;
    color: #03145f;
    font-size: 28px;
    line-height: 1;
  }

  .agent-pipeline-row span {
    position: relative;
    grid-template-columns: 34px 1fr;
    align-items: start;
  }

  .agent-pipeline-row .pipeline-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #075ff2, #28c9ff);
    color: #ffffff;
    font-size: 16px;
    font-style: normal;
    line-height: 1;
  }

  .agent-pipeline-row span strong,
  .agent-pipeline-row span em {
    grid-column: 2;
  }

  .agent-pipeline-row span strong { grid-row: 1; }
  .agent-pipeline-row span em { grid-row: 2; }
  .agent-pipeline-row span .pipeline-icon { grid-column: 1; grid-row: 1 / span 2; }
}
