/**
 * Candidate Assessment Report — official result (v38)
 * Scoped to body.ae-report-page / .ae-report. Tokens match Phase A.
 */

.ae-report,
body.ae-report-page {
  --ae-ink: #0f172a;
  --ae-muted: #64748b;
  --ae-faint: #94a3b8;
  --ae-line: #e2e8f0;
  --ae-surface: #ffffff;
  --ae-canvas: #f8fafc;
  --ae-soft: #f1f5f9;
  --ae-primary: #2563eb;
  --ae-primary-hover: #1d4ed8;
  --ae-danger: #b91c1c;
  --ae-danger-soft: #fef2f2;
  --ae-warning: #b45309;
  --ae-warning-soft: #fffbeb;
  --ae-ok: #14532d;
  --ae-ok-soft: #dcfce7;
  --ae-mix-ok: #15803d;
  --ae-mix-danger: #b91c1c;
  --ae-time: #0f766e;
  --ae-time-soft: #ccfbf1;
  --ae-radius: 12px;
  --ae-radius-sm: 8px;
  --ae-pill: 999px;
  --ae-shadow: none;
  --ae-font: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ae-content: 900px;
}

body.ae-report-page {
  background: var(--ae-canvas) !important;
  font-family: var(--ae-font);
}

.ae-report {
  color: var(--ae-ink);
  background: var(--ae-canvas);
  font-family: var(--ae-font);
  padding: 20px 16px 40px;
  box-sizing: border-box;
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.ae-report *,
.ae-report *::before,
.ae-report *::after {
  box-sizing: border-box;
}

.ae-report-wrap {
  max-width: min(var(--ae-content), 100%);
  margin: 0 auto;
  min-width: 0;
}

.ae-report-card {
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius);
  box-shadow: var(--ae-shadow);
  padding: 24px 26px;
  margin-bottom: 20px;
}

.ae-report-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -4px 0 16px;
  padding: 0 2px;
}

.ae-report-jump a {
  font-size: 12px;
  font-weight: 500;
  color: var(--ae-muted);
  text-decoration: none;
}

.ae-report-jump a:hover,
.ae-report-jump a:focus {
  color: var(--ae-primary);
  outline: none;
}

#ae-report-score,
#ae-report-log,
#ae-report-webcam {
  scroll-margin-top: 72px;
}

.ae-report-card h2 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-muted);
}

.ae-report-timelinehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.ae-report-timelinehead h2 {
  margin: 0;
}

.ae-report-timelinehead__more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}

/* ----- Page chrome ----- */
body.ae-report-page .header-box,
body:has(.ae-report) .header-box {
  position: sticky;
  top: 0;
  z-index: 400;
  background: #fff !important;
  border-bottom: 1px solid var(--ae-line) !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 56px;
  min-width: 0 !important;
  width: 100% !important;
}

body.ae-report-page .header-box .header-content,
body:has(.ae-report) .header-box .header-content {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100% !important;
  max-width: var(--ae-content);
  min-width: 0 !important;
  min-height: 56px;
  height: auto !important;
  margin: 0 auto !important;
  padding: 8px 16px !important;
  box-sizing: border-box;
}

body.ae-report-page .header-box .header-content > [class*="col-"],
body:has(.ae-report) .header-box .header-content > [class*="col-"] {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}

body.ae-report-page .client_logo img,
body:has(.ae-report) .client_logo img {
  max-width: 148px;
  max-height: 36px;
  width: auto;
  height: auto;
}

body.ae-report-page .footerWrapper,
body:has(.ae-report) .footerWrapper,
body.ae-admin-shell.ae-report-page .footerWrapper,
body.ae-admin-shell:has(.ae-report) .footerWrapper {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
}

body.ae-report-page,
body.ae-report-page .contentWrapper,
body.ae-report-page .content-box,
body.ae-report-page .content-body,
body.ae-report-page #whole-body {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.ae-report-page {
  overflow-x: hidden;
}

.ae-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  margin: 0;
  visibility: hidden;
}

.header-content .ae-report-actions {
  visibility: visible;
}

.ae-report-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 6px 2px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ae-muted);
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.2;
}

.ae-report-btn:hover,
.ae-report-btn:focus {
  color: var(--ae-primary);
  outline: none;
}

.ae-report-btn--primary {
  color: var(--ae-primary);
}

.ae-report-btn--back::before {
  content: "←";
  margin-right: 6px;
  font-weight: 400;
}

.ae-back {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 36px;
  margin: 0;
  padding: 0 2px;
  background: none;
  border: 0;
  color: var(--ae-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}

.ae-back::before {
  content: "\2190";
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.ae-back:hover,
.ae-back:focus {
  color: var(--ae-ink);
  outline: none;
}

.ae-back--report {
  visibility: hidden;
}

.header-content .ae-back--report {
  visibility: visible;
  order: -1;
}

@media (max-width: 767px) {
  body.ae-report-page .header-box .header-content,
  body:has(.ae-report) .header-box .header-content {
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0 8px;
    padding: 8px 12px 10px !important;
  }

  body.ae-report-page .ae-admin-nav,
  body.ae-report-page .ae-admin-navtoggle,
  body.ae-report-page .ae-admin-nav__account,
  body:has(.ae-report) .ae-admin-nav,
  body:has(.ae-report) .ae-admin-navtoggle,
  body:has(.ae-report) .ae-admin-nav__account {
    display: none !important;
  }

  body.ae-report-page .ae-admin-header__brand,
  body:has(.ae-report) .ae-admin-header__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.ae-report-page .client_logo img,
  body:has(.ae-report) .client_logo img {
    max-width: 140px;
    max-height: 28px;
  }

  .ae-admin-header .ae-report-actions,
  .header-content .ae-report-actions {
    flex: 1 0 100%;
    width: 100%;
    order: 10;
    justify-content: flex-start;
    gap: 4px 16px;
    margin: 6px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid var(--ae-line);
    visibility: visible;
  }

  .header-content .ae-report-btn,
  .ae-admin-header .ae-report-btn {
    font-size: 14px;
    padding: 6px 0;
    white-space: nowrap;
  }

  .header-content .ae-back--report {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    order: -1;
  }

  .header-content .ae-back--report .ae-back__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .ae-report {
    padding: 12px 12px 28px;
  }

  .ae-report-card {
    padding: 16px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .ae-report-card h2 {
    margin-bottom: 12px;
  }

  .ae-report-banner {
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .ae-report-who__name {
    font-size: 18px;
  }

  .ae-report-who__meta {
    font-size: 12px;
  }

  .ae-report-section {
    padding: 12px 0;
  }
}

/* ----- Banner ----- */
.ae-report-banner {
  background: var(--ae-warning-soft);
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 10px 14px;
  border-radius: var(--ae-radius-sm);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
}

.ae-report-empty {
  margin: 0;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ae-muted);
}

/* ----- Identity header ----- */
.ae-report-who {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
}

.ae-report-who__main {
  flex: 1 1 220px;
  min-width: 0;
}

.ae-report-who__name {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.ae-report-who__email {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--ae-muted);
  word-break: break-word;
}

.ae-report-who__meta {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-muted);
  line-height: 1.45;
}

.ae-report-who__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 8px;
  flex: 0 0 auto;
}

.ae-report-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: var(--ae-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.ae-report-chip--ok { background: var(--ae-ok-soft); color: var(--ae-ok); }
.ae-report-chip--warn { background: var(--ae-warning-soft); color: var(--ae-warning); }
.ae-report-chip--danger { background: var(--ae-danger-soft); color: var(--ae-danger); }
.ae-report-chip--muted { background: var(--ae-soft); color: var(--ae-muted); }

a.ae-report-chip {
  text-decoration: none;
}

a.ae-report-chip:hover,
a.ae-report-chip:focus {
  text-decoration: none;
  outline: none;
  opacity: 0.85;
}

/* ----- Three rings ----- */
/* ----- Score + mix + time ----- */
.ae-report-result {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 0;
  align-items: start;
}

@media (min-width: 720px) {
  .ae-report-result {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .ae-report-result > * + * {
    border-left: 1px solid var(--ae-line);
    padding-left: 20px;
    margin-left: 20px;
  }
}

.ae-report-hero__face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.ae-report-hero__marks {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 6px;
  margin: 0;
}

.ae-report-hero__marks b {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ae-ink);
}

.ae-report-hero__marks span {
  font-size: 18px;
  font-weight: 400;
  color: var(--ae-muted);
}

.ae-report-hero__pct {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ae-primary);
}

.ae-report-hero__marks--pending b {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ae-warning);
}

.ae-report-ringbox {
  margin: 0;
  text-align: center;
}

.ae-report-ring {
  width: 140px;
  height: 140px;
  display: block;
  margin: 0 auto;
  overflow: visible;
}

canvas.ae-report-ring--flat {
  width: 152px !important;
  height: 152px !important;
  padding: 0;
  box-sizing: content-box;
}

.ae-report-ring circle {
  fill: none;
  stroke-width: 8;
}

.ae-report-ring__track {
  stroke: var(--ae-soft);
}

.ae-report-ring__fill {
  stroke: var(--ae-primary);
  stroke-linecap: round;
}

.ae-report-ring__fill--time {
  stroke: var(--ae-time);
}


.ae-report-ring__arc {
  stroke-linecap: butt;
}

.ae-report-ring__arc--ok { stroke: var(--ae-mix-ok); }
.ae-report-ring__arc--danger { stroke: var(--ae-mix-danger); }
.ae-report-ring__arc--skip { stroke: #94a3b8; }

.ae-report-ring__centre {
  font-family: var(--ae-font);
  font-size: 16px;
  font-weight: 700;
  fill: var(--ae-ink);
}

.ae-report-ring__sub {
  font-family: var(--ae-font);
  font-size: 10px;
  font-weight: 400;
  fill: var(--ae-faint);
}

.ae-report-result__title {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-muted);
}

.ae-report-result__caption {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ae-muted);
}

/* ----- Section dual-bars ----- */
.ae-report-sections {
  display: flex;
  flex-direction: column;
}

.ae-report-section {
  padding: 16px 0;
  border-bottom: 1px solid var(--ae-line);
}

.ae-report-section:first-child {
  padding-top: 0;
}

.ae-report-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ae-report-section--total {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--ae-line);
  border-bottom: none;
}

.ae-report-section--total .ae-report-section__name,
.ae-report-section--total .ae-report-section__marks {
  font-weight: 600;
}

.ae-report-section--total .ae-report-dual__got {
  background: var(--ae-muted);
}

.ae-report-section__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}

.ae-report-section__meta {
  font-weight: 400;
  color: var(--ae-muted);
  font-size: 12px;
}

.ae-report-section__name .ae-report-chip {
  font-size: 11px;
  padding: 2px 8px;
}

.ae-report-dual {
  position: relative;
  height: 8px;
  background: #cbd5e1;
  border-radius: var(--ae-pill);
  overflow: hidden;
}

.ae-report-dual__got {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(37, 99, 235, 0.4);
  border-radius: var(--ae-pill);
}

.ae-report-dual--empty {
  background: transparent;
  border: 1px dashed var(--ae-line);
  height: 10px;
}

.ae-report-section__marks {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ae-ink);
}

.ae-report-attempt {
  display: flex;
  height: 10px;
  overflow: hidden;
  border-radius: var(--ae-pill);
  background: var(--ae-soft);
}

.ae-report-attempt--empty {
  background: transparent;
  border: 1px dashed var(--ae-line);
}

.ae-report-attempt__seg {
  height: 100%;
  flex: 0 0 auto;
}

.ae-report-attempt__seg--answered { background: var(--ae-primary); }
.ae-report-attempt__seg--ok { background: var(--ae-mix-ok); }
.ae-report-attempt__seg--danger { background: var(--ae-mix-danger); }
.ae-report-attempt__seg--skip { background: #94a3b8; }
.ae-report-attempt__seg--none { background: var(--ae-line); }
.ae-report-attempt__seg--blank { background: #cbd5e1; }

/* ----- Attempt breakdown grid ----- */
.ae-report-attemptcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.ae-report-attemptcard__head h2 {
  margin: 0;
  margin-right: auto;
}

.ae-report-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ae-report-legend--centre {
  justify-content: center;
  gap: 2px 12px;
  margin-top: 4px;
}

.ae-report-legend__item {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 400;
  color: var(--ae-muted);
}

.ae-report-legend__item::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--ae-line);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .ae-report-result {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 6px;
    align-items: start;
  }

  .ae-report-result > * + * {
    border-left: 1px solid var(--ae-line);
    padding-left: 8px;
    margin-left: 0;
  }

  .ae-report-hero__face {
    min-height: 80px;
    gap: 2px;
    padding: 8px 0 0;
  }

  .ae-report-hero__marks {
    gap: 2px 4px;
  }

  .ae-report-hero__marks b {
    font-size: 22px;
  }

  .ae-report-hero__marks span {
    font-size: 13px;
  }

  .ae-report-hero__pct {
    margin: 0;
    font-size: 13px;
  }

  .ae-report-hero__marks--pending b {
    font-size: 16px;
  }

  .ae-report-ring {
    width: 80px;
    height: 80px;
  }

  .ae-report-result__title {
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .ae-report-result__caption {
    margin-top: 2px;
    font-size: 11px;
  }

  .ae-report-legend--centre {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
  }

  .ae-report-legend__item {
    font-size: 10px;
  }

  .ae-report-legend__item::before {
    margin-right: 4px;
  }
}

.ae-report-legend__item--answered::before { background: var(--ae-primary); }
.ae-report-legend__item--ok::before { background: var(--ae-mix-ok); }
.ae-report-legend__item--danger::before { background: var(--ae-mix-danger); }
.ae-report-legend__item--skip::before {
  background: transparent;
  border: 1px dashed #94a3b8;
}
.ae-report-legend__item--none::before { background: var(--ae-line); }
.ae-report-legend__item--blank::before { background: #cbd5e1; }

.ae-report-gridrow {
  padding: 14px 0;
  border-bottom: 1px solid var(--ae-line);
}

.ae-report-gridrow:first-of-type {
  padding-top: 0;
}

.ae-report-gridrow:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.ae-report-gridrow__name {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}

.ae-report-gridrow__name span {
  font-weight: 400;
  font-size: 12px;
  color: var(--ae-muted);
}

.ae-report-gridrow__stats {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--ae-muted);
  line-height: 1.45;
}

.ae-report-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.ae-report-cell {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--ae-line);
}

.ae-report-cell--answered { background: var(--ae-primary); }
.ae-report-cell--ok { background: var(--ae-mix-ok); }
.ae-report-cell--danger { background: var(--ae-mix-danger); }
.ae-report-cell--skip {
  background: transparent;
  border: 1px dashed #cbd5e1;
}
.ae-report-cell--none { background: var(--ae-line); }
.ae-report-cell--blank { background: #cbd5e1; }

.ae-report-attemptcard__foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ae-line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ae-muted);
}

.ae-report-stat {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--ae-warning);
  white-space: nowrap;
}

.ae-report-stat--warn {
  background: none;
  padding: 0;
}

a.ae-report-stat--link {
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  color: var(--ae-warning);
}

a.ae-report-stat--link:hover,
a.ae-report-stat--link:focus {
  color: var(--ae-ink);
}

.ae-report-q--focus {
  outline: 2px solid var(--ae-primary);
  outline-offset: 3px;
  scroll-margin-top: 120px;
}

/* ----- Timeline rail ----- */
.ae-report-timeline__day {
  margin: -8px 0 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ae-muted);
}

.ae-report-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
}

.ae-report-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8em, 1fr) 32px minmax(6.5em, auto);
  align-items: center;
  column-gap: 12px;
  min-height: 32px;
  padding: 8px 0 8px 28px;
  font-size: 13px;
  font-weight: 400;
}

.ae-report-timeline li:last-child {
  padding-bottom: 0;
}

.ae-report-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--ae-primary);
  box-shadow: 0 0 0 3px #dbeafe;
}

.ae-report-timeline li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: calc(50% + 7px);
  bottom: -8px;
  width: 1px;
  background: var(--ae-line);
}

.ae-report-timeline li:last-child::after {
  display: none;
}

.ae-report-timeline--snap::before {
  background: var(--ae-time);
  box-shadow: 0 0 0 3px var(--ae-time-soft);
}

.ae-report-timeline--flag::before {
  background: var(--ae-danger);
  box-shadow: 0 0 0 3px var(--ae-danger-soft);
}

.ae-report-timeline li.ae-report-timeline--alert::before {
  background: #f59e0b;
  box-shadow: 0 0 0 3px #fde68a;
}

.ae-report-timeline--alert .ae-report-timeline__label {
  color: #b45309;
}

.ae-report-timeline__media {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.ae-report-timeline__thumb {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ae-line);
  background: var(--ae-soft);
}

.ae-report-timeline li.ae-report-timeline--toggle::before {
  display: none;
}

.ae-report-timeline__morebtn {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(8em, 1fr) 32px minmax(6.5em, auto);
  align-items: center;
  column-gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.ae-report-timeline__morebtn:hover,
.ae-report-timeline__morebtn:focus {
  outline: none;
}

.ae-report-timeline__moreicon {
  position: absolute;
  left: -1px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -9px;
  border-radius: 0;
  background: none;
  color: var(--ae-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  transform-origin: 50% 50%;
  transition: transform 0.18s ease, color 0.18s ease;
}

.ae-report-timeline__morebtn:hover .ae-report-timeline__moreicon,
.ae-report-timeline__morebtn:focus .ae-report-timeline__moreicon {
  color: var(--ae-primary-hover);
  transform: scale(1.15) rotate(90deg);
}

.ae-report-timeline--toggle.is-opening .ae-report-timeline__moreicon {
  transform: scale(1.2) rotate(135deg);
}

.ae-report-timeline__moretitle {
  color: var(--ae-primary);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.ae-report-timeline__morebtn:hover .ae-report-timeline__moretitle,
.ae-report-timeline__morebtn:focus .ae-report-timeline__moretitle {
  color: var(--ae-primary-hover);
}

.ae-report-timeline--extra[hidden],
.ae-report-timeline li.ae-report-timeline--page[hidden],
.ae-report-timeline--page[hidden] {
  display: none !important;
}

.ae-report-timeline.is-open > .ae-report-timeline--page {
  display: grid !important;
}

.ae-report-timeline__expand {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--ae-primary);
  cursor: pointer;
}

.ae-report-timeline__expand:hover,
.ae-report-timeline__expand:focus {
  color: var(--ae-primary-hover);
}

.ae-report-timeline__shot {
  display: grid;
  grid-template-columns: minmax(8em, 1fr) 32px minmax(6.5em, auto);
  align-items: center;
  column-gap: 12px;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ae-report-timeline__shot img,
.ae-report-timeline__shotph {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ae-line);
  background: var(--ae-soft);
}

.ae-report-timeline__shot:hover img,
.ae-report-timeline__shot:focus img {
  border-color: var(--ae-primary);
  box-shadow: 0 0 0 2px #dbeafe;
  outline: none;
}

.ae-report-timeline__label {
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ae-ink);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ae-report-timeline__value {
  color: var(--ae-muted);
  font-size: 12px;
  font-weight: 400;
  min-width: 0;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ae-report-timeline__link {
  text-decoration: none !important;
}

.ae-report-timeline__link:hover,
.ae-report-timeline__link:focus {
  color: var(--ae-primary);
}

/* ----- Proctoring ----- */
.ae-report-proctor__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 12px;
}

.ae-report-proctor__title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
}

.ae-report-proctor__head h2 {
  margin: 0;
}

.ae-report-proctor__verdict {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.ae-report-proctor__verdict--ok { color: var(--ae-ok); }
.ae-report-proctor__verdict--warn { color: var(--ae-warning); }
.ae-report-proctor__verdict--danger { color: var(--ae-danger); }

.ae-report-proctor__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.ae-idproof {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  grid-template-areas:
    "photo heading"
    "photo review";
  gap: 8px 22px;
  align-items: center;
  margin: 0 0 18px;
}

.ae-idproof__heading {
  grid-area: heading;
  align-self: end;
  min-width: 0;
}

.ae-idproof__photo {
  grid-area: photo;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.ae-idproof__review {
  grid-area: review;
  align-self: start;
  min-width: 0;
}

.ae-idproof__frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--ae-radius);
  border: 1px solid var(--ae-line);
  background: #0f172a;
}

.ae-idproof--ok .ae-idproof__frame {
  box-shadow: 0 0 0 2px var(--ae-ok);
}

.ae-idproof--review .ae-idproof__frame {
  box-shadow: 0 0 0 2px var(--ae-warning);
}

.ae-idproof__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f172a;
}

.ae-idproof__badge,
.ae-idproof__time {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.ae-idproof__badge {
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: var(--ae-pill);
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ae-idproof__time {
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: var(--ae-pill);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.ae-idproof__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-muted);
}

.ae-idproof__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ae-ink);
  line-height: 1.2;
}

.ae-idproof__help {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ae-muted);
  max-width: 36em;
}

.ae-idproof__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ae-idproof__btn {
  border: 1px solid var(--ae-line);
  background: var(--ae-surface);
  color: var(--ae-ink);
  border-radius: var(--ae-pill);
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ae-idproof__btn:hover,
.ae-idproof__btn:focus {
  border-color: var(--ae-primary);
}

.ae-idproof__btn.is-on {
  background: var(--ae-primary);
  border-color: var(--ae-primary);
  color: #fff;
}

.ae-idproof__btn.is-warn {
  background: var(--ae-warning-soft);
  border-color: #f59e0b;
  color: var(--ae-warning);
}

.ae-idproof__btn.is-warn.is-on {
  background: var(--ae-warning);
  border-color: var(--ae-warning);
  color: #fff;
}

.ae-idproof__msg {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ae-muted);
  min-height: 1em;
}

@media (max-width: 767px) {
  .ae-idproof {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "photo"
      "review";
    gap: 10px;
  }

  .ae-idproof__heading,
  .ae-idproof__review {
    align-self: stretch;
  }

  .ae-idproof__frame {
    aspect-ratio: 16 / 10;
  }

  .ae-idproof__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ae-idproof__btn {
    min-height: 44px;
    padding: 10px 12px;
  }
}

.ae-report-film {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 4px;
}

.ae-report-more {
  flex: 1 1 0;
  min-width: 108px;
  max-width: 176px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-soft);
  font-family: inherit;
  cursor: pointer;
}

.ae-report-more__count {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ae-primary);
}

.ae-report-more__caption {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ae-muted);
}

.ae-report-more:hover,
.ae-report-more:focus {
  border-color: var(--ae-primary);
  background: #eff6ff;
  outline: none;
}

.ae-report-more.is-loading {
  cursor: default;
  opacity: 0.7;
}

.ae-report-play svg {
  flex-shrink: 0;
  pointer-events: none;
}

.ae-report-play .ae-report-play__off { display: none; }
.ae-report-play.is-playing .ae-report-play__on { display: none; }
.ae-report-play.is-playing .ae-report-play__off { display: block; }

.ae-report-proctor__title .ae-report-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  border: 0;
  border-radius: var(--ae-pill);
  background: var(--ae-primary);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.ae-report-proctor__title .ae-report-play:hover,
.ae-report-proctor__title .ae-report-play:focus {
  background: var(--ae-primary-hover);
  outline: none;
}

.ae-report-proctor__title .ae-report-play.is-playing {
  background: var(--ae-primary-hover);
}

.ae-report-proctor__title .ae-report-play svg {
  width: 12px;
  height: 12px;
}

.ae-report-play--lite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.ae-report-play--lite:hover,
.ae-report-play--lite:focus {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.ae-report-play--lite svg {
  display: block;
  width: 16px;
  height: 16px;
}

.ae-report-thumb {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 108px;
  max-width: 176px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ae-report-thumb__frame {
  position: relative;
  display: block;
}

.ae-report-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--ae-radius-sm);
  border: 1px solid var(--ae-line);
  background: var(--ae-soft);
}

.ae-report-thumb__tag {
  position: absolute;
  top: 6px;
  left: 6px;
  max-width: calc(100% - 12px);
  padding: 2px 6px;
  border-radius: var(--ae-pill);
  background: #fffbeb;
  color: #b45309;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.ae-report-thumb.is-active img {
  border-color: var(--ae-primary);
  box-shadow: 0 0 0 2px var(--ae-primary);
}

.ae-report-thumb--alert img {
  border-color: #f59e0b;
}

.ae-report-thumb--pending {
  display: none;
}

.ae-report-thumb__when,
.ae-report-thumb figcaption {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--ae-muted);
  word-break: break-word;
}

.ae-report-lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.ae-report-lightbox[hidden] {
  display: none !important;
}

.ae-report-lightbox__scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.78);
  cursor: pointer;
}

.ae-report-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(52vw, 680px);
  max-width: 92vw;
}

.ae-report-lightbox__player {
  overflow: hidden;
  background: #0f172a;
  border-radius: 12px;
}

.ae-report-lightbox__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0f172a;
}

.ae-report-lightbox__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 280ms ease;
}

.ae-report-lightbox__img.is-on {
  opacity: 1;
}

.ae-report-lightbox__screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ae-report-lightbox__bigplay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.58);
  color: #fff;
  pointer-events: none;
}

.ae-report-lightbox__bigplay svg {
  display: block;
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.ae-report-lightbox.is-playing .ae-report-lightbox__bigplay {
  display: none;
}

.ae-report-lightbox__caption {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(248, 250, 252, 0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ae-report-lightbox__close,
.ae-report-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
}

.ae-report-lightbox__close:hover,
.ae-report-lightbox__nav:hover,
.ae-report-lightbox__close:focus,
.ae-report-lightbox__nav:focus {
  background: rgba(15, 23, 42, 0.78);
  outline: none;
}

.ae-report-lightbox__close svg,
.ae-report-lightbox__nav svg {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.ae-report-lightbox__close {
  top: 10px;
  right: 10px;
}

.ae-report-lightbox__nav--prev {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.ae-report-lightbox__nav--next {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.ae-report-player {
  padding: 4px 12px 10px;
  background: #0f172a;
}

.ae-report-player__rail {
  position: relative;
  height: 16px;
  margin: 0 0 2px;
  cursor: pointer;
}

.ae-report-player__track,
.ae-report-player__fill {
  position: absolute;
  left: 0;
  top: 6px;
  height: 4px;
  border-radius: 999px;
}

.ae-report-player__track {
  right: 0;
  background: rgba(248, 250, 252, 0.16);
}

.ae-report-player__fill {
  width: 0;
  background: #2563eb;
}

.ae-report-player__knob {
  position: absolute;
  top: 3px;
  left: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #f8fafc;
}

.ae-report-player__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.ae-report-player__time,
.ae-report-player__count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
}

.ae-report-player__speed {
  flex-shrink: 0;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.12);
  color: #f8fafc;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
  cursor: pointer;
}

.ae-report-player__speed:hover,
.ae-report-player__speed:focus {
  background: rgba(248, 250, 252, 0.22);
  outline: none;
}

.ae-report-player__strip {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.ae-report-player__tick {
  flex: 0 0 48px;
  width: 48px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #1e293b;
  overflow: hidden;
  cursor: pointer;
}

.ae-report-player__tick img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ae-report-player__tick.is-on {
  border-color: #2563eb;
}

.ae-report-player__tick.is-alert {
  border-color: #f59e0b;
}

.ae-report-player__tick.is-alert.is-on {
  border-color: #2563eb;
}

@media (max-width: 767px) {
  .ae-report-lightbox__dialog {
    width: 92vw;
  }

  .ae-report-lightbox__photo {
    aspect-ratio: 4 / 3;
  }

  .ae-report-lightbox__caption {
    display: block;
    min-width: 0;
  }

  .ae-report-film {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin: 0 -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .ae-report-thumb,
  .ae-report-more {
    flex: 0 0 120px;
    max-width: 120px;
  }
}

.ae-report-powered {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: var(--ae-muted);
}

.ae-report-powered b { color: var(--ae-ink); font-weight: 500; }
.ae-report-powered b span { color: var(--ae-primary); }

.ae-report-pdfstatus {
  margin: 0 0 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ae-muted);
}

/* ----- Detailed answers: score strip, filters, question cards ----- */
.ae-report-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

@media (min-width: 720px) {
  .ae-report-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ae-report-strip > * + * {
    border-left: 1px solid var(--ae-line);
    padding-left: 16px;
  }
}

.ae-report-strip__item {
  min-width: 0;
}

.ae-report-strip__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-muted);
}

.ae-report-strip__value {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ae-ink);
}

.ae-report-strip__value span {
  font-size: 14px;
  font-weight: 400;
  color: var(--ae-muted);
}

.ae-report-sections-mini {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ae-line);
  padding-top: 12px;
}

.ae-report-sections-mini li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ae-muted);
  padding: 3px 0;
}

.ae-report-sections-mini b {
  font-weight: 500;
  color: var(--ae-ink);
}

.ae-report-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.ae-report-filters [data-filter] {
  border: 1px solid var(--ae-line);
  background: var(--ae-surface);
  color: var(--ae-muted);
  cursor: pointer;
}

.ae-report-filters [data-filter]:hover,
.ae-report-filters [data-filter]:focus {
  color: var(--ae-primary);
  border-color: #bfdbfe;
  outline: none;
}

.ae-report-filters [data-filter].is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--ae-primary);
}

.ae-report-filters__n {
  margin-left: 4px;
  font-weight: 500;
  color: var(--ae-faint);
}

.ae-report-filters [data-filter].is-active .ae-report-filters__n {
  color: var(--ae-primary);
}

.ae-report-q {
  padding: 20px 22px;
  margin-bottom: 12px;
  border-left: 4px solid var(--ae-line);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.ae-report-q--compact {
  padding: 10px 14px;
  margin-bottom: 6px;
}

.ae-report-q--compact .ae-report-q__head {
  margin-bottom: 4px;
}

.ae-report-q--compact .ae-report-q__stem {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ae-report-q--correct,
.ae-report-q--answered {
  border-left-color: var(--ae-mix-ok);
}

.ae-report-q--incorrect {
  border-left-color: var(--ae-mix-danger);
}

.ae-report-q--skipped {
  border-left-color: var(--ae-warning);
}

.ae-report-q--not_viewed {
  border-left-color: var(--ae-faint);
}

.ae-report-q__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ae-report-q__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-muted);
}

.ae-report-q__stem {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ae-ink);
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.ae-report-q__stem,
.ae-report-q__stem p,
.ae-report-q__stem div,
.ae-report-q__stem span,
.ae-report-q__stem li,
.ae-report-q__stem td,
.ae-report-q__stem th {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

.ae-report-q__stem pre {
  white-space: pre-wrap !important;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

.ae-report-q__stem table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}

.ae-report-q__stem img {
  max-width: 100%;
  height: auto;
}

.ae-report-q__stem p:last-child {
  margin-bottom: 0;
}

.ae-report-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ae-report-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--ae-radius-sm);
  border: 1px solid var(--ae-line);
  background: var(--ae-surface);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ae-ink);
}

.ae-report-opt__key {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  color: var(--ae-muted);
  background: var(--ae-soft);
}

.ae-report-opt__text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.ae-report-opt__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.ae-report-opt--ok {
  background: var(--ae-ok-soft);
  border-color: #bbf7d0;
  color: var(--ae-ink);
}

.ae-report-opt--ok .ae-report-opt__key {
  background: var(--ae-ok);
  color: #fff;
}

.ae-report-opt--bad {
  background: var(--ae-danger-soft);
  border-color: #fecaca;
  color: var(--ae-ink);
}

.ae-report-opt--bad .ae-report-opt__key {
  background: var(--ae-danger);
  color: #fff;
}

.ae-report-q__legend {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ae-muted);
}

.ae-report-q__legend b {
  font-weight: 600;
  color: var(--ae-ink);
}

.ae-report-answer {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
}

.ae-report-answer:last-child {
  margin-bottom: 0;
}

.ae-report-answer__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-muted);
  margin-bottom: 4px;
}

.ae-report-answer--ok {
  color: var(--ae-ok);
}

.ae-report-answer--bad {
  color: var(--ae-danger);
}

.ae-report-q.is-hidden {
  display: none;
}

.ae-report-filter-empty {
  margin: 8px 0 16px;
}

@media (max-width: 767px) {
  .ae-report-strip {
    gap: 12px 10px;
  }

  .ae-report-strip__value {
    font-size: 18px;
    margin-top: 4px;
  }

  .ae-report-filters {
    position: sticky;
    top: 104px;
    z-index: 50;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 -12px 12px;
    padding: 8px 12px;
    background: var(--ae-canvas);
    border-bottom: 1px solid var(--ae-line);
  }

  .ae-report-filters [data-filter] {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 4px 10px;
  }

  .ae-report-q {
    padding: 14px 12px;
    margin-bottom: 10px;
  }

  .ae-report-q__stem {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .ae-report-q--compact {
    padding: 8px 12px;
    margin-bottom: 6px;
  }

  .ae-report-q--compact .ae-report-q__stem {
    -webkit-line-clamp: 1;
  }

  .ae-report-opt {
    padding: 8px 10px;
    font-size: 13px;
    gap: 8px;
  }
}

body.ae-report-print-mode .header-box,
body.ae-report-print-mode .footerWrapper,
body.ae-report-print-mode .faq-main-header,
body.ae-report-print-mode .ae-report-actions,
body.ae-report-print-mode .ae-report-jump,
body.ae-report-print-mode .ae-back,
body.ae-report-print-mode .ae-report-play,
body.ae-report-print-mode .ae-report-more,
body.ae-report-print-mode .ae-report-lightbox {
  display: none !important;
}

body.ae-report-print-mode .ae-idproof__actions,
body.ae-report-print-mode .ae-idproof__msg {
  display: none !important;
}

body.ae-report-print-mode,
body.ae-report-print-mode .ae-report,
body.ae-report-print-mode #whole-body,
body.ae-report-print-mode .ae-report-card,
body.ae-report-print-mode .ae-report-result,
body.ae-report-print-mode .ae-report-ringbox,
body.ae-report-print-mode .ae-report-ring {
  overflow: visible !important;
}

@media print {
  .header-box,
  .footerWrapper,
  .faq-main-header,
  .ae-report-actions,
  .ae-report-jump,
  .ae-back {
    display: none !important;
  }

  .ae-report-lightbox,
  .ae-report-play,
  .ae-idproof__actions,
  .ae-idproof__msg {
    display: none !important;
  }

  body.ae-report-page,
  .ae-report {
    background: #fff !important;
    padding: 0 !important;
  }

  .ae-report-filters {
    display: none !important;
  }

  .ae-report-card,
  .ae-report-section,
  .ae-report-gridrow,
  .ae-report-hero,
  .ae-report-q {
    box-shadow: none !important;
    break-inside: avoid;
  }

  .ae-report-film {
    overflow: visible;
    flex-wrap: wrap;
  }

  .ae-report-more {
    display: none !important;
  }
}

/* ----- Results list (dashboard) — scoped, no extra JS ----- */
.ae-results {
  --ae-ink: #0f172a;
  --ae-muted: #64748b;
  --ae-faint: #94a3b8;
  --ae-line: #e2e8f0;
  --ae-surface: #ffffff;
  --ae-canvas: #f8fafc;
  --ae-soft: #f1f5f9;
  --ae-primary: #2563eb;
  --ae-primary-hover: #1d4ed8;
  --ae-danger: #b91c1c;
  --ae-danger-soft: #fef2f2;
  --ae-warning: #b45309;
  --ae-warning-soft: #fffbeb;
  --ae-ok: #14532d;
  --ae-ok-soft: #dcfce7;
  --ae-info: #1e40af;
  --ae-info-soft: #eff6ff;
  --ae-radius: 12px;
  --ae-radius-sm: 8px;
  --ae-pill: 999px;
  --ae-font: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ae-ink);
  font-family: var(--ae-font);
}

.ae-results .sub-header {
  background: transparent;
  border: 0;
  padding: 4px 0 20px;
  height: auto !important;
}

.ae-results .sub-header .ae-results-pagehead {
  display: block;
  float: none;
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.ae-results-crumb {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-muted);
  line-height: 1.3;
}

.ae-results-title,
.ae-results h1.ae-results-title {
  display: block;
  float: none;
  width: auto;
  height: auto;
  margin: 8px 0 0;
  padding: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ae-ink);
}

.ae-results-type {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ae-muted);
}

.ae-results .font-bold {
  font-weight: 500;
}

.ae-results-filters,
.ae-results #left-content.ae-results-adv {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  float: none !important;
  z-index: 2;
  width: 100% !important;
  margin: 0 !important;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ae-line);
  border-radius: 0;
  overflow: visible;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

.ae-results-adv {
  display: none;
  float: none !important;
  width: 100% !important;
  margin: 0;
}

.ae-results-adv.is-open,
.ae-results #left-content.ae-results-adv.is-open {
  display: block !important;
  position: relative !important;
  z-index: 2;
}

.ae-results-adv-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 10px 12px;
}

.ae-results-advexport {
  margin-left: auto;
}

.ae-results-advexport .ae-results-dots {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ae-line);
  background: var(--ae-surface);
}

.ae-results-dd {
  position: relative;
  z-index: 1;
}

.ae-results-dd.is-open,
.ae-results-dd:has(.accordion.active) {
  z-index: 5;
}

.ae-results-ddbtn,
.ae-results-adv .ae-f-acc.ae-results-ddbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
  color: var(--ae-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  float: none;
}

.ae-results-ddbtn:hover,
.ae-results-dd.is-open .ae-results-ddbtn,
.ae-results-adv .ae-f-acc.ae-results-ddbtn.active,
.ae-results-adv .ae-f-acc.ae-results-ddbtn:hover {
  border-color: var(--ae-primary);
  color: var(--ae-primary);
}

.ae-results-ddbtn .ae-f-title,
.ae-results-adv .ae-f-acc.ae-results-ddbtn .ae-f-title {
  flex: 1 1 auto;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.ae-results-ddcount {
  display: inline-block;
  min-width: 16px;
  margin-left: 2px;
  padding: 0 5px;
  border-radius: 8px;
  background: var(--ae-soft);
  color: var(--ae-primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.ae-results-ddchev {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: var(--ae-muted);
}

.ae-results-adv .ae-f-chev {
  flex: 0 0 12px;
  width: 12px;
  padding: 0;
}

.ae-results-ddmenu,
.ae-results-adv .ae-f-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 80;
  float: none !important;
  width: 240px !important;
  max-height: 260px;
  margin: 0;
  padding: 8px 12px;
  overflow: auto;
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}

.ae-results-dd.is-open .ae-results-ddmenu {
  display: block;
}

.ae-results-adv .ae-f-score {
  width: 260px !important;
  padding: 12px;
}

.ae-results-adv #total_score:not(.active) + #score_range_filter {
  visibility: hidden;
  pointer-events: none;
  left: -9999px !important;
  width: 1px !important;
  max-height: none;
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ae-results-adv #total_score.active + #score_range_filter {
  visibility: visible;
  pointer-events: auto;
  left: 0 !important;
  width: 260px !important;
}

.ae-results-starchip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
  box-sizing: border-box;
}

.ae-results-starchip:hover,
.ae-results-starchip:has(input:checked) {
  border-color: var(--ae-primary);
}

.ae-results-adv .ae-f-section,
.ae-results-adv .ae-f-acc,
.ae-results-adv .ae-f-panel {
  border-bottom: 0;
}

.ae-results-advbtn {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
  color: var(--ae-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.ae-results-advbtn.is-open,
.ae-results-advbtn:hover {
  border-color: var(--ae-primary);
  color: var(--ae-primary);
}

.ae-results-filters .ae-f-head,
.ae-results-filters .padding-filter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  height: auto;
  box-shadow: none;
}

.ae-results-filters .ae-f-head .font-bold,
.ae-results-filters .padding-filter-box .font-bold {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-muted);
}

.ae-results-searchbar #reset_all {
  display: inline-flex;
  align-items: center;
  height: 38px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-primary);
  text-decoration: none;
  white-space: nowrap;
}

.ae-results-searchbar #reset_all:hover {
  text-decoration: underline;
}

.ae-results-filters .ae-f-sync {
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--ae-line);
}

.ae-results-filters .ae-f-section {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ae-line);
}

.ae-results-filters .ae-f-title {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ae-ink);
}

.ae-results-filters .ae-f-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  margin: 0;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-ink);
  line-height: 1.35;
  cursor: pointer;
}

.ae-results-filters .ae-f-row input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
}

.ae-results-filters .ae-f-row span,
.ae-results-filters .ae-f-row label {
  font-weight: 400;
  color: inherit;
}

.ae-results-filters .ae-f-row.ae-f-proctor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.ae-results-filters .ae-f-row--sub {
  padding-left: 22px;
  font-size: 12px;
  color: var(--ae-muted);
}

.ae-results-filters .ae-results-starchip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
  box-sizing: border-box;
}

.ae-results-filters .ae-results-starchip:hover,
.ae-results-filters .ae-results-starchip:has(input:checked) {
  border-color: var(--ae-primary);
}

.ae-results-filters .ae-f-starred {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ae-results-filters .ae-f-starred input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ae-results-filters .ae-f-starred-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--ae-muted);
}

.ae-results-filters .ae-f-starred-icon svg {
  width: 16px;
  height: 16px;
}

.ae-results-filters .ae-f-starred-icon .ae-f-starred-on {
  display: none;
}

.ae-results-filters .ae-f-starred-icon .ae-f-starred-off {
  display: block;
}

.ae-results-filters .ae-f-starred input:checked + .ae-f-starred-icon .ae-f-starred-off {
  display: none;
}

.ae-results-filters .ae-f-starred input:checked + .ae-f-starred-icon .ae-f-starred-on {
  display: block;
}

.ae-results-filters .ae-f-acc {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  float: none;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ae-line);
  box-sizing: border-box;
}

.ae-results-filters .ae-f-acc .ae-f-title {
  flex: 1 1 auto;
  margin: 0;
}

.ae-results-filters .ae-f-chev {
  flex: 0 0 16px;
  width: 16px;
  float: none;
  padding: 0;
  color: var(--ae-muted);
  line-height: 1;
}

.ae-results-filters .ae-f-panel {
  float: none !important;
  width: 100% !important;
  margin: 0;
  padding: 4px 16px 12px;
  border-bottom: 1px solid var(--ae-line);
  box-sizing: border-box;
}

.ae-results-filters.ae-results-adv .ae-f-acc.ae-results-ddbtn {
  width: auto;
  height: 34px;
  padding: 0 10px;
  border-bottom: 1px solid var(--ae-line);
}

.ae-results-filters.ae-results-adv .ae-f-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 80;
  width: 240px !important;
  max-height: 260px;
  padding: 8px 12px;
  overflow: auto;
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.ae-results-filters.ae-results-adv .ae-f-score {
  width: 260px !important;
  padding: 12px;
}

.ae-results-filters .ae-f-score {
  padding: 8px 16px 14px;
}

.ae-results-filters .ae-f-scorehint {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ae-muted);
}

.ae-results-filters .ae-f-slider {
  padding: 6px 6px 14px;
}

.ae-results-filters .ae-f-slider .slider.slider-horizontal {
  width: 100% !important;
}

.ae-results-filters .ae-f-range {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.ae-results-filters .ae-f-rangelabel {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  min-width: 0;
  font-weight: 400;
}

.ae-results-filters .ae-f-rangelabel span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-muted);
}

.ae-results-filters .ae-f-rangedash {
  flex: 0 0 auto;
  padding-bottom: 8px;
  color: var(--ae-faint);
  font-size: 14px;
  line-height: 1;
}

.ae-results-filters #sliderValMin,
.ae-results-filters #sliderValMax {
  width: 100%;
  height: 36px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
  font-family: inherit;
  font-size: 13px;
}

.ae-results-filters .ae-f-scorebtn,
.ae-results-filters #filter_submit {
  display: block;
  float: none;
  width: 100%;
  height: 36px;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  border-radius: var(--ae-radius-sm);
  background: var(--ae-primary);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}

.ae-results-filters #filter_submit:hover {
  background: var(--ae-primary-hover);
}

.ae-results-filters .border-bottom-e8e8e8 {
  border-color: var(--ae-line) !important;
}

.ae-results #right_content {
  overflow: visible;
}

.ae-results-search {
  margin-bottom: 12px;
}

.ae-results-searchbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 12px 14px;
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius);
}

.ae-results-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  float: none;
}

.ae-results-fieldlabel {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-muted);
  line-height: 1.2;
}

.ae-results-field--query {
  flex: 1 1 280px;
  min-width: 220px;
}

.ae-results-field--date {
  flex: 0 1 168px;
  width: 168px;
}

.ae-results-field--action {
  flex: 0 0 auto;
}

.ae-results-field--reset {
  flex: 0 0 auto;
  margin-left: auto;
}

.ae-results-combo {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
  overflow: hidden;
}

.ae-results-combo:focus-within,
.ae-results-datebox:focus-within {
  border-color: var(--ae-primary);
}

.ae-results-select,
.ae-results-search #search_label {
  flex: 0 0 92px;
  width: 92px;
  height: 38px;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--ae-line);
  border-radius: 0;
  background-color: var(--ae-soft);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  color: var(--ae-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 0 26px 0 12px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.ae-results-inputwrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.ae-results-ico {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  pointer-events: none;
}

.ae-results-inputwrap .ae-results-input {
  width: 100%;
  height: 38px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0 12px 0 32px;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-ink);
}

.ae-results-datebox {
  position: relative;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
}

.ae-results-datebox .ae-results-input,
.ae-results-datebox .datepicker {
  width: 100%;
  height: 38px;
  margin: 0;
  border: 0;
  border-radius: var(--ae-radius-sm);
  padding: 0 36px 0 12px;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-ink);
}

.ae-results-cal {
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ae-muted);
  cursor: pointer;
}

.ae-results-cal svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ae-results-searchbtn,
.ae-results-search .submitButton,
.ae-results #filter_submit {
  height: 38px;
  border-radius: var(--ae-radius-sm);
  font-family: inherit;
  font-weight: 500;
}

.ae-results-searchbtn,
.ae-results-search .submitButton {
  min-width: 88px;
  padding: 0 18px;
  border: 0;
  background: var(--ae-primary);
  color: #fff;
  font-size: 13px;
}

.ae-results-searchbtn:hover,
.ae-results-search .submitButton:hover {
  background: var(--ae-primary-hover);
}

.ae-results-search input:focus,
.ae-results-search select:focus,
.ae-results-search button:focus {
  outline: none;
}

.ae-results-search input::placeholder {
  color: var(--ae-faint);
}

.ae-results-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 10px 16px;
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-bottom: 0;
  border-radius: var(--ae-radius) var(--ae-radius) 0 0;
}

.ae-results-toolbar-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.ae-results-sync,
.ae-results #execute_cron.ae-results-sync {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-surface);
  color: var(--ae-muted);
  cursor: pointer;
}

.ae-results-sync:hover,
.ae-results #execute_cron.ae-results-sync:hover {
  border-color: var(--ae-primary);
  color: var(--ae-primary);
  background: var(--ae-soft);
}

.ae-results-sync svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ae-results-pager {
  margin-left: 0;
  font-size: 13px;
  color: var(--ae-muted);
}

.ae-results-colmeta {
  display: block;
  height: 14px;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ae-muted);
  line-height: 14px;
  white-space: nowrap;
  overflow: hidden;
}

.ae-results-collabel {
  display: block;
  height: 16px;
  line-height: 16px;
  white-space: nowrap;
}

.ae-results-bulk {
  flex: 0 0 auto;
}

.ae-results-dots {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ae-muted);
  border-radius: var(--ae-radius-sm);
  line-height: 1;
}

.ae-results-dots:hover,
.ae-results-dots:focus {
  background: var(--ae-soft);
  color: var(--ae-ink);
  outline: none;
}

.ae-results-pager .pagination {
  margin: 0;
}

.ae-results-table {
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: 0 0 var(--ae-radius) var(--ae-radius);
  overflow: visible;
}

.ae-results-headrow,
.ae-results-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  border-bottom: 1px solid var(--ae-line);
  background: var(--ae-surface);
  min-height: 0;
  height: auto !important;
  float: none;
  padding: 12px 18px;
}

.ae-results-col {
  min-width: 0;
  box-sizing: border-box;
  padding-right: 0;
}

.ae-results-col--who {
  flex: 1 1 280px;
  min-width: 220px;
}

.ae-results-id {
  display: grid;
  grid-template-columns: 16px 16px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 4px;
  align-items: center;
  min-width: 0;
}

.ae-results-id-ctrl {
  grid-column: 1;
  grid-row: 1;
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ae-results-star {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 0;
  cursor: pointer;
}

.ae-results-star svg {
  display: block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.ae-results-star svg.display-none {
  display: none;
}

.ae-results-id-text {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

.ae-results-col--when {
  flex: 0 0 168px;
  width: 168px;
  min-width: 168px;
  max-width: 168px;
}

.ae-results-when {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-ink);
  line-height: 1.35;
  white-space: nowrap;
}

.ae-results-col--score {
  flex: 0 0 96px;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
}

.ae-results-col--secs {
  flex: 1 1 220px;
  min-width: 0;
  overflow: hidden;
}

.ae-results-col--act {
  flex: 0 0 52px;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ae-results-headrow {
  align-items: flex-end;
  background: var(--ae-soft);
  color: var(--ae-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ae-results-headrow .ae-results-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ae-results-headrow .ae-results-id {
  grid-template-rows: auto;
  min-height: 16px;
}

.ae-results-row:hover {
  background: var(--ae-canvas);
}

.ae-results-row:last-child {
  border-bottom: 0;
}

.ae-results-name {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-ink);
  line-height: 16px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ae-results-email {
  color: var(--ae-ink);
  text-decoration: none;
}

.ae-results-email:hover {
  color: var(--ae-primary);
  text-decoration: underline;
}

.ae-results-sub {
  grid-column: 3;
  grid-row: 2;
  margin: 0;
  font-size: 12px;
  color: var(--ae-muted);
  line-height: 1.3;
}

.ae-results-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--ae-pill);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  margin-right: 8px;
  vertical-align: middle;
}

.ae-results-chip--ok { background: var(--ae-ok-soft); color: var(--ae-ok); }
.ae-results-chip--warn { background: var(--ae-warning-soft); color: var(--ae-warning); }
.ae-results-chip--danger { background: var(--ae-danger-soft); color: var(--ae-danger); }
.ae-results-chip--muted { background: var(--ae-soft); color: var(--ae-muted); }
.ae-results-chip--info { background: var(--ae-info-soft); color: var(--ae-info); }

a.ae-results-chip {
  text-decoration: none;
}

a.ae-results-chip:hover,
a.ae-results-chip:focus {
  text-decoration: none;
  outline: none;
  opacity: 0.85;
}

.ae-results-score {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ae-ink);
  line-height: 1.3;
}

.ae-results-na {
  color: var(--ae-faint);
}

.ae-results .section_block {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: nowrap;
}

.ae-results-headrow .section_block,
.ae-results-row .section_block {
  overflow-x: auto;
  scrollbar-width: none;
}

.ae-results-headrow .section_block::-webkit-scrollbar,
.ae-results-row .section_block::-webkit-scrollbar {
  height: 0;
  display: none;
}

.ae-results-sec {
  display: inline-block;
  min-width: 72px;
  margin-right: 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ae-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.ae-results-headrow .ae-results-sec {
  color: var(--ae-muted);
  font-size: 12px;
  font-weight: 500;
  height: 16px;
  line-height: 16px;
}

.ae-results-link {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  color: var(--ae-muted);
}

.ae-results-link svg {
  fill: currentColor;
}

.ae-results-link:hover {
  color: var(--ae-primary-hover);
  text-decoration: none;
}

.ae-results-actions {
  position: relative;
  white-space: nowrap;
  padding-top: 0;
}

.ae-results-more {
  display: inline-block;
  color: var(--ae-muted);
}

.ae-results-more:hover {
  color: var(--ae-ink);
  text-decoration: none;
}

.ae-results-actions .option_dropdown-menu {
  right: 0;
  left: auto;
}

.ae-results-blank {
  padding: 28px 16px;
  text-align: center;
  color: var(--ae-muted);
  background: var(--ae-surface);
}

.ae-results .moreoptiondropdown {
  min-width: 280px;
  border-radius: var(--ae-radius-sm);
  white-space: nowrap;
}

.ae-results-sort {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  line-height: 1;
}

.ae-results-sort .arrow-up,
.ae-results-sort .arrow-down {
  display: inline-block;
  margin: 0 2px;
  vertical-align: middle;
  cursor: pointer;
}

