/* Reports share the platform's cream, charcoal, and amber visual language. */
body[data-page="decision-reports"] {
  --report-ink: #1e293b;
  --report-muted: #64748b;
  --report-line: #e2e8f0;
  --report-paper: #ffffff;
  --report-soft: #f8fafc;
  --report-navy: #0f172a;
  --report-amber: #f59e0b;
  --report-amber-dark: #d97706;
  --report-amber-glow: rgba(245, 158, 11, 0.35);
  --report-amber-ink: #78350f;
  --report-heading: "Poppins", "Inter", "Segoe UI", sans-serif;
  --report-body: "Inter", "Segoe UI", sans-serif;
  background: #f7f5ef;
  color: var(--report-ink);
}
body[data-page="decision-reports"]::before,
body[data-page="decision-reports"]::after { display: none; }
body[data-page="decision-reports"] .reports-page {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding: 36px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  font-family: var(--report-body);
}
.reports-page *, .reports-page *::before, .reports-page *::after { box-sizing: border-box; }
.reports-page :is(button, a, input, [tabindex]):focus-visible { outline: 2px solid #f59e0b; outline-offset: 3px; }
.reports-page [hidden] { display: none !important; }
.reports-page .report-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.reports-page :is(button, a) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Clear title and cohesive amber actions matching the homepage. */
.reports-page .report-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 0 0 27px; border-bottom: 1px solid #ddd8ce; }
.reports-page .report-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #856937; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.reports-page .report-eyebrow > span:not(.report-edition-mark) { color: #a8a29e; }
.reports-page .report-edition-mark { width: 22px; height: 2.5px; background: linear-gradient(90deg, #f59e0b, #d97706); border-radius: 2px; }
.reports-page .report-header h1 { margin: 0 0 13px; color: var(--report-ink); font-family: var(--report-heading); font-size: clamp(36px, 3.7vw, 52px); font-weight: 650; line-height: 1.13; letter-spacing: -.055em; }
.reports-page .report-title-period { color: #f59e0b; }
.reports-page .report-header p { max-width: 580px; margin: 0; color: #64748b; font-size: 14px; line-height: 1.8; }
.reports-page .report-header-actions { display: flex; flex-direction: column; align-items: flex-end; flex: none; gap: 10px; }
.reports-page .report-header-location { color: #78716c; font-size: 10px; font-weight: 500; line-height: 1.7; }
.reports-page :is(.report-print-button, .report-resolution, .report-toggle, .report-clear) { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--report-line); border-radius: 11px; background: var(--report-paper); color: #334155; font: 600 12px/1.4 var(--report-body); cursor: pointer; text-decoration: none; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1); }
.reports-page .report-print-button {
  min-height: 48px;
  padding: 0 20px;
  color: #fff8ef;
  background:
    radial-gradient(circle at top right, rgba(255, 236, 204, 0.34), rgba(255, 236, 204, 0) 34%),
    linear-gradient(135deg, #ffc35c 0%, #f6a52f 54%, #dc7e13 100%);
  border: 1px solid rgba(255, 225, 176, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 226, 0.38),
    0 8px 24px -2px rgba(220, 126, 19, 0.34);
  letter-spacing: -0.01em;
}
.reports-page .report-print-button:is(:hover, :focus-visible) {
  transform: translateY(-1px);
  background:
    radial-gradient(circle at top right, rgba(255, 245, 225, 0.42), rgba(255, 236, 204, 0) 34%),
    linear-gradient(135deg, #ffd074 0%, #f9ae38 54%, #e68516 100%);
  border-color: rgba(255, 238, 206, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 226, 0.45),
    0 14px 32px -2px rgba(220, 126, 19, 0.42);
  color: #ffffff;
}
.reports-page .report-print-button:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 226, 0.25),
    0 4px 14px -2px rgba(220, 126, 19, 0.35);
}
.reports-page .report-print-button svg { width: 16px; height: 16px; stroke: currentColor; }
.reports-page .report-export-arrow { margin-left: 14px; color: rgba(255, 248, 239, 0.85); font-size: 16px; transition: transform 180ms ease, color 180ms ease; }
.reports-page .report-print-button:hover .report-export-arrow { transform: translate(2px, -2px); color: #ffffff; }
.reports-page .report-explorer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  color: #475569;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 9px;
  font: 600 12px/1.4 var(--report-body);
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 180ms ease;
}
.reports-page .report-explorer-link span { color: #94a3b8; transition: transform 180ms ease, color 180ms ease; }
.reports-page .report-explorer-link:hover {
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.5);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.14), 0 1px 2px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}
.reports-page .report-explorer-link:hover span { transform: translate(2px, -2px); color: #d97706; }
.reports-page .report-workspace { display: grid; gap: 28px; min-width: 0; }

/* A dark assessment brief and a light, interactive portfolio overview. */
.reports-page .report-overview { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: 22px; min-width: 0; }
.reports-page .report-briefing {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.08), transparent 45%),
    linear-gradient(145deg, #17212d 0%, #0d1520 100%);
  color: #f8fafc;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.reports-page .report-briefing-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #fbbf24; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.reports-page .report-briefing-kicker::before { content: ""; width: 16px; height: 2px; background: linear-gradient(90deg, #f59e0b, #d97706); border-radius: 1px; }
.reports-page .report-briefing-title { max-width: 18ch; margin: 0 0 16px; color: #f8fafc; font-family: var(--report-heading); font-size: clamp(27px, 2.4vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; text-wrap: balance; }
.reports-page .report-briefing-description { max-width: 48ch; margin: 0; color: #cbd5e1; font-size: 13px; line-height: 1.8; text-wrap: pretty; }
.reports-page .report-briefing-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; width: 100%; margin-top: 23px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.reports-page .report-briefing-meta span { color: #94a3b8; font-size: 10px; }
.reports-page .report-briefing-meta strong { display: inline-block; padding: 4px 10px; border: 1px solid rgba(245, 158, 11, 0.35); border-radius: 7px; background: rgba(245, 158, 11, 0.12); color: #fef3c7; font-size: 11px; line-height: 1.5; font-weight: 600; }
.reports-page .report-notice-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid rgba(255, 225, 176, 0.45);
  border-radius: 10px;
  background:
    radial-gradient(circle at top right, rgba(255, 236, 204, 0.28), rgba(255, 236, 204, 0) 34%),
    linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fffdf8;
  font: 600 12.5px/1.4 var(--report-body);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px rgba(217, 119, 6, 0.32);
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reports-page .report-notice-action svg { width: 15px; height: 15px; stroke: currentColor; transition: transform 180ms ease; }
.reports-page .report-notice-action:is(:hover, :focus-visible) {
  transform: translateY(-1px);
  background:
    radial-gradient(circle at top right, rgba(255, 245, 225, 0.35), rgba(255, 236, 204, 0) 34%),
    linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
  border-color: rgba(255, 235, 196, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px rgba(217, 119, 6, 0.42);
  color: #ffffff;
}
.reports-page .report-notice-action:hover svg { transform: translateX(3px); }
.reports-page .report-notice-action[aria-pressed="true"] {
  background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
  border-color: #f59e0b;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.reports-page .report-overview-panel { padding: 26px 28px; border: 1px solid var(--report-line); border-radius: 20px; background: var(--report-paper); box-shadow: 0 6px 20px #232b3705; min-width: 0; }
.reports-page .report-overview-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.reports-page .report-overview-heading h2 { margin: 0; font-family: var(--report-heading); font-size: 15px; font-weight: 600; letter-spacing: -.03em; color: #303743; }
.reports-page .report-overview-heading p { margin: 0; color: #7d8086; font-size: 11px; line-height: 1.6; }
.reports-page .report-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.reports-page .report-summary > div { position: relative; padding: 17px; border: 1px solid #e9e7e1; border-radius: 12px; background: #f7f6f2; }
.reports-page .report-summary > .report-stat-unverified { background: #fbf3e2; border-color: #eddbb6; }
.reports-page .report-summary dt { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 500; color: #545c68; }
.reports-page .report-stat-icon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 7px; color: #84724e; background: #eee4d0; }
.reports-page .report-stat-icon svg { width: 13px; height: 13px; }
.reports-page .report-stat-pass .report-stat-icon { color: #42755c; background: #e9f1eb; }
.reports-page .report-stat-conditional .report-stat-icon { color: #926227; background: #f3e9d7; }
.reports-page .report-stat-fail .report-stat-icon { color: #a7685f; background: #f4e8e4; }
.reports-page .report-summary dd { margin: 9px 0 0; font-family: "Manrope", var(--report-body); font-size: 38px; font-weight: 650; line-height: 1.1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; color: #2d3540; }
.reports-page .report-stat-unverified dd { color: #956620; }
.reports-page .report-summary small { display: block; max-width: calc(100% - 14px); margin-top: 8px; color: #747a83; font: 10px/1.6 var(--report-body); letter-spacing: 0; }
.reports-page .report-stat-action {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 12px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.reports-page .report-stat-action svg { position: absolute; right: 12px; bottom: 17px; width: 14px; height: 14px; stroke: currentColor; transition: transform 180ms ease, color 180ms ease; }
.reports-page .report-stat-action:hover { color: #d97706; background: rgba(245, 158, 11, 0.05); border-color: rgba(245, 158, 11, 0.35); }
.reports-page .report-stat-action:hover svg { transform: translateX(3px); color: #d97706; }
.reports-page .report-stat-action[aria-pressed="true"] { background: rgba(245, 158, 11, 0.08); border-color: #f59e0b; box-shadow: inset 0 0 0 1px #f59e0b; }
.reports-page .report-stat-action[aria-pressed="true"] svg { color: #d97706; }
.reports-page .report-stat-action:focus-visible { outline: 2px solid #f59e0b; outline-offset: 2px; }
.reports-page .report-distribution { padding-top: 18px; }
.reports-page .report-distribution-heading { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 10px; color: #747983; font-size: 10px; }
.reports-page .report-distribution-heading span:last-child { color: #8b8e95; }
.reports-page .report-distribution-track { display: flex; height: 6px; overflow: hidden; border-radius: 4px; background: #eeece6; }
.reports-page .report-distribution-segment { display: block; height: 100%; flex: none; background: var(--report-status-color); }
.reports-page .report-distribution-unverified { --report-status-color: #f59e0b; }
.reports-page .report-distribution-pass { --report-status-color: #10b981; }
.reports-page .report-distribution-conditional { --report-status-color: #f97316; }
.reports-page .report-distribution-fail { --report-status-color: #ef4444; }

/* The candidate register keeps data dense and actions easy to locate. */
.reports-page .report-register { min-width: 0; overflow: hidden; border: 1px solid var(--report-line); border-radius: 20px; background: #fff; scroll-margin-top: 105px; box-shadow: 0 8px 24px #25304005; }
.reports-page .report-register-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 28px 22px; }
.reports-page .report-register-title { display: flex; align-items: center; gap: 12px; }
.reports-page .report-register-head h2 { margin: 0; color: #1e293b; font-family: var(--report-heading); font-size: 23px; font-weight: 600; letter-spacing: -.04em; }
.reports-page .report-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: #fef3c7;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.reports-page .report-register-head p { margin: 7px 0 0; color: #64748b; font-size: 12px; line-height: 1.6; }
.reports-page .report-search { display: flex; align-items: center; gap: 10px; width: 300px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 10px; color: #64748b; background: #f8fafc; transition: all 180ms ease; }
.reports-page .report-search svg { width: 17px; height: 17px; flex: none; stroke: currentColor; }
.reports-page .report-search input { width: 100%; min-width: 0; height: 44px; padding: 0; color: #1e293b; border: 0; background: transparent; font: 12px var(--report-body); }
.reports-page .report-search input::placeholder { color: #94a3b8; }
.reports-page .report-search:focus-within {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
  border-color: #f59e0b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
.reports-page .report-search input:focus-visible { outline: none; }
.reports-page .report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px 18px; border-bottom: 1px solid var(--report-line); }
.reports-page .report-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px;
  border-radius: 12px;
  background: #edf1f5;
  border: 1px solid #e2e8f0;
  overflow-x: auto;
}
.reports-page .report-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #64748b;
  background: transparent;
  font: 600 12px/1.4 var(--report-body);
  white-space: nowrap;
  cursor: pointer;
  transition: all 160ms ease;
}
.reports-page .report-filter:hover { color: #1e293b; background: rgba(255, 255, 255, 0.75); }
.reports-page .report-filter span {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 6px;
  color: #64748b;
  background: #e2e8f0;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  transition: all 160ms ease;
}
.reports-page .report-filter[aria-pressed="true"] {
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.4);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(245, 158, 11, 0.08);
}
.reports-page .report-filter[aria-pressed="true"] span {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.3);
}
.reports-page .report-filter:focus-visible { outline: 2px solid #f59e0b; outline-offset: 1px; }
.reports-page .report-sort-note { color: #64748b; font-size: 10.5px; font-weight: 500; flex: none; }
.reports-page .report-scope-note { margin: 0; padding: 11px 28px; background: #fffbeb; border-top: 1px solid #fde68a; color: #92400e; font-size: 11.5px; line-height: 1.8; }
.reports-page .report-scroll-hint { display: none; }
.reports-page .report-table-scroll { position: relative; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.reports-page .report-table { width: 100%; min-width: 940px; border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 1.5; }
.reports-page .report-table :is(th, td) { padding: 18px 14px; border-bottom: 1px solid #f1f5f9; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.reports-page .report-table thead th { padding-block: 13px; color: #64748b; background: #f8fafc; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.reports-page .report-table :is(th, td):first-child { padding-left: 26px; }
.reports-page .report-table :is(th, td):last-child { padding-right: 26px; text-align: right; }
.reports-page .report-table .report-candidate-name { font-size: 13px; font-weight: 600; }
.reports-page .report-site-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.reports-page .report-site-thumb { width: 54px; height: 54px; flex: none; object-fit: cover; border-radius: 10px; background: #eceae4; }
.reports-page .report-site-copy { min-width: 0; }
.reports-page .report-site-link { color: #1e293b; text-decoration: none; line-height: 1.55; }
.reports-page .report-site-link:hover { color: #d97706; text-decoration: underline; text-underline-offset: 3px; }
.reports-page .report-candidate-location { display: block; margin-top: 6px; color: #64748b; font-size: 11px; font-weight: 400; line-height: 1.65; }
.reports-page .report-candidate-row:hover { background: #fdfbf7; }
.reports-page .report-candidate-row.is-open { background: #fef9ed; }
.reports-page .report-rank { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 7px; font: 11px var(--report-body); font-variant-numeric: tabular-nums; }
.reports-page .is-open .report-rank { border-color: #f59e0b; color: #92400e; background: #fef3c7; font-weight: 700; }
.reports-page .report-iai-value { display: inline-flex; align-items: baseline; gap: 3px; }
.reports-page .report-iai { font-family: "Manrope", var(--report-body); font-size: 22px; font-weight: 650; color: #1e293b; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.reports-page .report-iai-track { width: 42px; height: 3px; margin-top: 6px; overflow: hidden; border-radius: 3px; background: #e2e8f0; }
.reports-page .report-iai-track span { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #d97706); }
.reports-page .report-score-denominator { color: #94a3b8; font-size: 9px; font-weight: 400; letter-spacing: 0; }
.reports-page .report-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.reports-page .report-status::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex: none; }
.reports-page .report-status-pass { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.reports-page .report-status-conditional { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.reports-page .report-status-fail { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.reports-page .report-status-unverified { color: #92400e; background: #fefce8; border-color: #fef08a; }
.reports-page .report-suitability { color: #334155; font-weight: 600; font-variant-numeric: tabular-nums; }
.reports-page .report-not-assessed, .reports-page .report-evidence { color: #64748b; font-size: 12px; }
.reports-page .report-toggle {
  min-width: 84px;
  min-height: 36px;
  padding: 7px 12px;
  color: #475569;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 9px;
  font: 600 11px/1.4 var(--report-body);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 160ms ease;
}
.reports-page .report-toggle svg { width: 12px; height: 12px; stroke: currentColor; transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1); }
.reports-page .report-toggle:hover {
  color: #92400e;
  background: #fffdf7;
  border-color: #f59e0b;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}
.reports-page .report-toggle[aria-expanded="true"] {
  color: #fef3c7;
  background: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}
.reports-page .report-toggle[aria-expanded="true"] svg { transform: rotate(180deg); color: #f59e0b; }

/* Expanded records use the same dark dossier and light evidence surfaces as Home. */
.reports-page .report-details-row > td { padding: 0 !important; text-align: left !important; }
.reports-page .report-details { display: grid; grid-template-columns: minmax(0, .43fr) minmax(0, 1fr); border-top: 2px solid #f59e0b; }
.reports-page .report-detail-site { padding: 26px; background: #0f172a; min-width: 0; }
.reports-page .report-detail-image { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; background: #1e293b; }
.reports-page .report-detail-kicker { display: block; margin-bottom: 9px; color: #fbbf24; font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.reports-page .report-details h3 { margin: 0; font-family: var(--report-heading); font-size: 21px; font-weight: 600; color: #1e293b; letter-spacing: -.035em; line-height: 1.4; }
.reports-page .report-detail-site h3 { font-size: 18px; color: #f8fafc; }
.reports-page .report-detail-site .report-detail-kicker { color: #fbbf24; }
.reports-page .report-details p { margin: 8px 0 0; color: #64748b; font-size: 12px; line-height: 1.8; }
.reports-page .report-detail-site .report-detail-meta { font-size: 11px; margin-top: 8px; color: #94a3b8; }
.reports-page .report-detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.reports-page .report-detail-facts dt { color: #94a3b8; font-size: 10px; margin-bottom: 7px; }
.reports-page .report-detail-facts dd { margin: 0; color: #fbbf24; font: 600 17px "Manrope", var(--report-body); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.reports-page .report-evidence-review { padding: 27px 28px; min-width: 0; background: #ffffff; }
.reports-page .report-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.reports-page .report-resolution {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 225, 176, 0.45);
  border-radius: 9px;
  background:
    radial-gradient(circle at top right, rgba(255, 236, 204, 0.25), rgba(255, 236, 204, 0) 34%),
    linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fffdf8;
  font: 600 11.5px/1.4 var(--report-body);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 12px rgba(217, 119, 6, 0.25);
  transition: all 180ms ease;
}
.reports-page .report-resolution span { transition: transform 180ms ease; }
.reports-page .report-resolution:hover {
  transform: translateY(-1px);
  background:
    radial-gradient(circle at top right, rgba(255, 245, 225, 0.35), rgba(255, 236, 204, 0) 34%),
    linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
  border-color: rgba(255, 235, 196, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px rgba(217, 119, 6, 0.35);
  color: #ffffff;
}
.reports-page .report-resolution:hover span { transform: translateX(3px); }
.reports-page .report-checklist-note { max-width: 72ch; margin: 13px 0 16px !important; color: #64748b !important; font-size: 11px !important; }
.reports-page .report-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 23px; margin: 0; padding: 0; list-style: none; }
.reports-page .report-checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 10px; align-items: start; padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
.reports-page .report-check-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e2e8f0; border-radius: 8px; color: #64748b; background: #f8fafc; font: 10px var(--report-body); }
.reports-page .report-check-icon svg { width: 13px; height: 13px; }
.reports-page .report-check-label { color: #334155; font-size: 12px; line-height: 1.7; }
.reports-page .report-check-state { color: #d97706; font-size: 10px; line-height: 1.5; font-weight: 500; }
.reports-page .report-checklist .is-complete .report-check-state { color: #059669; }
.reports-page .report-checklist .is-complete .report-check-icon { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.reports-page .report-evidence-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0 0; }
.reports-page .report-evidence-meta dt { font-size: 10px; color: #64748b; margin-bottom: 7px; }
.reports-page .report-evidence-meta dd { margin: 0; color: #334155; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.reports-page .report-next-step { margin-top: 20px; padding: 15px 17px; border: 1px solid #fed7aa; border-left: 3px solid #f59e0b; border-radius: 0 8px 8px 0; background: #fff7ed; }
.reports-page .report-next-step .report-detail-kicker { color: #c2410c; margin-bottom: 7px; }
.reports-page .report-next-step p { margin: 0; color: #7c2d12; font-size: 11px; line-height: 1.85; }
.reports-page .report-table-footer { display: flex; justify-content: space-between; gap: 20px; padding: 17px 28px; color: #64748b; font-size: 10px; background: #fafafa; }
.reports-page .report-table-footer p { margin: 0; color: inherit; }
.reports-page .report-empty { padding: 48px 24px; text-align: center; }
.reports-page .report-empty h3 { margin: 0 0 10px; color: #1e293b; font-family: var(--report-heading); font-size: 19px; font-weight: 600; }
.reports-page .report-empty p { margin: 0 0 20px; color: #64748b; font-size: 13px; }
.reports-page .report-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid rgba(255, 225, 176, 0.45);
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 18px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  cursor: pointer;
  transition: all 180ms ease;
}
.reports-page .report-clear:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
  background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
}
.reports-page .report-method { display: flex; align-items: flex-start; gap: 13px; padding: 0 3px; }
.reports-page .report-method > svg { width: 16px; height: 16px; color: #a19278; margin-top: 2px; flex: none; }
.reports-page .report-method h2 { margin: 0 0 8px; color: #737b88; font: 600 11px var(--report-body); }
.reports-page .report-method p { max-width: 115ch; margin: 0; color: #848b94; font-size: 11px; line-height: 1.9; }

@media screen and (max-width: 1100px) {
  body[data-page="decision-reports"] .reports-page { width: calc(100% - 48px); }
  .reports-page .report-overview { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 18px; }
  .reports-page .report-briefing { padding: 28px; }
  .reports-page .report-overview-panel { padding: 24px; }
  .reports-page .report-sort-note { display: none; }
  .reports-page .report-summary > div { padding: 14px; }
  .reports-page .report-scroll-hint { display: block; margin: 0; padding: 9px 28px; border-bottom: 1px solid var(--report-line); color: #838b97; font-size: 11px; }
  .reports-page .report-details { grid-template-columns: minmax(0, .52fr) minmax(0, 1fr); }
  .reports-page .report-checklist { grid-template-columns: 1fr; }
}
@media screen and (max-width: 800px) {
  .reports-page .report-header { gap: 24px; }
  .reports-page .report-header h1 { font-size: 37px; }
  .reports-page .report-header p { font-size: 13px; }
  .reports-page .report-header-location { max-width: 180px; text-align: right; }
  .reports-page .report-overview { grid-template-columns: 1fr; }
  .reports-page .report-briefing { display: grid; grid-template-columns: 1fr auto; gap: 0 24px; padding: 28px; }
  .reports-page .report-briefing-title { grid-column: 1; font-size: 30px; max-width: none; }
  .reports-page .report-briefing-description { grid-column: 1; }
  .reports-page .report-briefing-meta { grid-column: 2; grid-row: 2 / 4; display: grid; justify-items: start; width: auto; margin: 0; padding: 0; border: 0; align-self: center; }
  .reports-page .report-notice-action { margin-top: 18px; justify-self: start; }
  .reports-page .report-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reports-page .report-summary > div { padding: 12px; }
  .reports-page .report-summary dt { font-size: 10px; gap: 6px; align-items: flex-start; min-height: 32px; }
  .reports-page .report-stat-icon { width: 20px; height: 20px; }
  .reports-page .report-stat-action svg { right: 9px; bottom: 13px; }
  .reports-page .report-summary small { font-size: 9px; line-height: 1.7; }
}
@media screen and (max-width: 700px) {
  body[data-page="decision-reports"] .reports-page { width: calc(100% - 32px); padding: 28px 0 44px; gap: 24px; }
  .reports-page .report-header { flex-direction: column; align-items: stretch; gap: 22px; padding-bottom: 24px; }
  .reports-page .report-eyebrow { font-size: 8px; gap: 8px; margin-bottom: 16px; }
  .reports-page .report-header h1 { font-size: clamp(31px, 8.3vw, 46px); }
  .reports-page .report-header p { font-size: 13px; }
  .reports-page .report-header-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px; }
  .reports-page .report-header-location { display: none; }
  .reports-page .report-print-button { min-height: 44px; font-size: 12px; padding: 0 16px; }
  .reports-page .report-export-arrow { margin-left: 8px; }
  .reports-page .report-explorer-link { min-height: 44px; font-size: 11.5px; padding: 0 14px; }
  .reports-page .report-workspace { gap: 23px; }
  .reports-page .report-overview { gap: 16px; }
  .reports-page .report-briefing { display: flex; padding: 26px 24px; border-radius: 17px; }
  .reports-page .report-briefing-kicker { margin-bottom: 17px; font-size: 9px; }
  .reports-page .report-briefing-title { font-size: 29px; margin-bottom: 14px; }
  .reports-page .report-briefing-description { font-size: 12px; }
  .reports-page .report-briefing-meta { display: flex; width: 100%; margin-top: 20px; padding-top: 17px; border-top: 1px solid #ffffff14; grid-column: auto; grid-row: auto; align-self: auto; }
  .reports-page .report-notice-action { margin-top: 17px; }
  .reports-page .report-overview-panel { padding: 21px; border-radius: 17px; }
  .reports-page .report-overview-heading { align-items: flex-start; }
  .reports-page .report-overview-heading h2 { font-size: 13px; }
  .reports-page .report-overview-heading p { text-align: right; max-width: 105px; font-size: 10px; }
  .reports-page .report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .reports-page .report-summary > div { padding: 14px 12px; }
  .reports-page .report-summary dt { font-size: 10px; min-height: 25px; align-items: center; }
  .reports-page .report-summary dd { font-size: 32px; }
  .reports-page .report-summary small { font-size: 10px; max-width: calc(100% - 10px); }
  .reports-page .report-distribution { padding-top: 17px; }
  .reports-page .report-register { border-radius: 17px; }
  .reports-page .report-register-head { align-items: stretch; flex-direction: column; gap: 18px; padding: 22px 18px 16px; }
  .reports-page .report-register-head h2 { font-size: 22px; }
  .reports-page .report-search { width: 100%; }
  .reports-page .report-search input { font-size: 16px; }
  .reports-page .report-toolbar { padding: 0 14px 15px; }
  .reports-page .report-filters { gap: 3px; }
  .reports-page .report-filter { min-height: 44px; padding-inline: 10px; font-size: 11px; gap: 5px; }
  .reports-page .report-scroll-hint { display: none; }
  .reports-page .report-scope-note { padding-inline: 18px; }
  .reports-page .report-table-scroll { overflow: visible; padding: 14px; background: #f4f2ed; }
  .reports-page .report-table { display: block; min-width: 0; width: 100%; }
  .reports-page .report-table colgroup { display: none; }
  .reports-page .report-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .reports-page .report-table tbody { display: block; margin-bottom: 14px; border: 1px solid #e4dfd5; border-radius: 13px; overflow: hidden; background: #fff; }
  .reports-page .report-table tbody:last-child { margin-bottom: 0; }
  .reports-page .report-candidate-row { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reports-page .report-table .report-candidate-row > :is(th, td) { padding: 12px 16px; border-bottom: 1px solid #eeebe5; text-align: left; }
  .reports-page .report-table .report-candidate-row > td:first-child { position: absolute; top: 18px; right: 13px; border: 0; padding: 0; }
  .reports-page .report-rank { width: 24px; height: 24px; font-size: 9px; }
  .reports-page .report-table .report-candidate-name { grid-column: 1 / -1; padding: 18px 42px 18px 16px; font-size: 13px; }
  .reports-page .report-site-identity { gap: 10px; align-items: flex-start; }
  .reports-page .report-site-thumb { width: 46px; height: 46px; border-radius: 8px; }
  .reports-page .report-candidate-location { font-size: 10px; margin-top: 5px; }
  .reports-page .report-candidate-row > td[data-label]:not(:first-child):not(:last-child)::before { content: attr(data-label); display: block; color: #8a9099; font-size: 9px; line-height: 1.6; margin-bottom: 6px; }
  .reports-page .report-iai-track { display: none; }
  .reports-page .report-not-assessed, .reports-page .report-evidence { font-size: 11px; }
  .reports-page .report-candidate-row > td:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .reports-page .report-toggle { width: 100%; min-height: 44px; justify-content: space-between; }
  .reports-page .report-details-row, .reports-page .report-details-row > td { display: block; }
  .reports-page .report-details { grid-template-columns: 1fr; }
  .reports-page .report-detail-site { padding: 22px 16px; }
  .reports-page .report-detail-image { height: 150px; }
  .reports-page .report-evidence-review { padding: 22px 16px; }
  .reports-page .report-review-head { flex-direction: column; align-items: stretch; gap: 15px; }
  .reports-page .report-review-head h3 { font-size: 22px; }
  .reports-page .report-resolution { min-height: 44px; justify-content: space-between; }
  .reports-page .report-checklist { grid-template-columns: 1fr; }
  .reports-page .report-evidence-meta { grid-template-columns: 1fr; gap: 15px; }
  .reports-page .report-next-step { padding: 14px; }
  .reports-page .report-table-footer { flex-direction: column; gap: 7px; padding: 16px 18px; }
  .reports-page .report-method p { font-size: 10px; }
}
@media screen and (max-width: 350px) {
  .reports-page .report-overview-panel { padding: 16px; }
  .reports-page .report-overview-heading { gap: 10px; }
  .reports-page .report-summary dt { font-size: 10px; }
  .reports-page .report-stat-icon { width: 18px; height: 18px; }
  .reports-page .report-stat-icon svg { width: 11px; height: 11px; }
  .reports-page .report-summary small { font-size: 9px; }
  .reports-page .report-table-scroll { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { .reports-page *, .reports-page *::before, .reports-page *::after { transition: none !important; } }

/* Keep exports compact and legible, including all evidence in the filtered scope. */
@page { size: A4; margin: 12mm; }
@media print {
  body[data-page="decision-reports"] { background: #fff; color: #111; }
  body[data-page="decision-reports"] .reports-page { width: 100%; padding: 0; gap: 18px; }
  .reports-page .report-header { padding-bottom: 16px; }
  .reports-page .report-header h1 { font-size: 26pt; color: #111; }
  .reports-page .report-title-period { color: #111; }
  .reports-page .report-header p { font-size: 10pt; color: #444; }
  .reports-page .report-eyebrow { margin-bottom: 10px; color: #555; }
  .reports-page .report-workspace { gap: 18px; }
  .reports-page .report-overview { border: 1px solid #bbb; border-radius: 5px; grid-template-columns: 1fr 1fr; gap: 0; break-inside: avoid; }
  .reports-page .report-briefing { padding: 18px; background: #f3f3f3; border: 0; border-radius: 0; box-shadow: none; }
  .reports-page .report-briefing-title { color: #111; font-size: 18pt; }
  .reports-page .report-briefing-kicker, .reports-page .report-briefing-meta span, .reports-page .report-briefing-meta strong, .reports-page .report-briefing-description { color: #444; }
  .reports-page .report-briefing-meta { display: grid; border-color: #ccc; }
  .reports-page .report-briefing-meta strong { background: none; border: 0; padding: 0; }
  .reports-page .report-briefing-description { font-size: 9pt; }
  .reports-page .report-overview-panel { padding: 14px; border: 0; border-radius: 0; box-shadow: none; }
  .reports-page .report-overview-heading { flex-direction: column; gap: 5px; margin-bottom: 8px; align-items: flex-start; }
  .reports-page .report-summary { gap: 0; }
  .reports-page .report-summary > div { padding: 10px; background: #fff; border: 0; border-radius: 0; }
  .reports-page .report-summary dt { font-size: 8pt; }
  .reports-page .report-summary dd { font-size: 24px; color: #111; }
  .reports-page .report-summary small { font-size: 7pt; color: #444; max-width: none; }
  .reports-page .report-stat-icon { display: none; }
  .reports-page .report-distribution { padding-top: 10px; }
  .reports-page .report-register { border: 0; overflow: visible; box-shadow: none; }
  .reports-page .report-register-head { padding: 8px 0 14px; }
  .reports-page .report-register-head h2 { font-size: 16pt; }
  .reports-page .report-table-scroll { overflow: visible; }
  .reports-page .report-table { min-width: 0; font-size: 9pt; }
  .reports-page .report-table :is(th, td) { padding: 10px 5px; color: #222; }
  .reports-page .report-table :is(th, td):first-child { padding-left: 0; }
  .reports-page .report-table :is(th, td):last-child { padding-right: 0; }
  .reports-page .report-table thead { display: table-header-group; }
  .reports-page .report-table tbody { break-inside: avoid; }
  .reports-page .report-details-row[hidden] { display: table-row !important; }
  .reports-page .report-details { grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); border-color: #aaa; }
  .reports-page .report-detail-site, .reports-page .report-evidence-review { padding: 12px 10px; background: #fff; }
  .reports-page .report-detail-site { padding-left: 0; }
  .reports-page .report-details h3 { font-size: 10pt; color: #111; }
  .reports-page .report-detail-site .report-detail-meta,
  .reports-page .report-detail-site .report-detail-kicker,
  .reports-page .report-detail-facts dt { color: #555; }
  .reports-page .report-detail-facts dd { font-size: 10pt; color: #222; }
  .reports-page .report-detail-facts { grid-template-columns: 1fr; gap: 12px; border-color: #ccc; }
  .reports-page .report-checklist { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .reports-page .report-checklist li { padding-block: 8px; }
  .reports-page .report-check-label, .reports-page .report-next-step p { font-size: 8pt; color: #333; }
  .reports-page .report-evidence-meta { gap: 12px; margin-top: 12px; }
  .reports-page .report-evidence-meta dd { font-size: 8pt; color: #333; }
  .reports-page .report-next-step { margin-top: 12px; padding: 10px; background: #f7f7f7; border-color: #ccc; }
  .reports-page .report-table .report-candidate-name { font-size: 9pt; }
  .reports-page .report-status { white-space: normal; font-size: 8pt; }
  .reports-page .report-score-denominator, .reports-page .report-check-state, .reports-page .report-not-assessed, .reports-page .report-evidence, .reports-page .report-candidate-location, .reports-page .report-table-footer, .reports-page .report-method p { color: #555; }
  .reports-page .report-scroll-hint, .reports-page .report-toggle, .reports-page .report-resolution, .reports-page .report-site-thumb, .reports-page .report-detail-image { display: none !important; }
  .reports-page .report-table-footer { background: #fff; padding-inline: 0; }
  .reports-page .report-method { break-inside: avoid; }
}
