body {
  font-family: 'Noto Sans', sans-serif;
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* ===== EEGAgentBench custom styles ===== */
:root {
  --eab-blue: #4169E1;
  --eab-blue-dark: #2947b8;
  --eab-plum: #291A42;
  --eab-rasp: #C85170;
  --eab-ink: #2b2b33;
}

.hero.eab-hero {
  background: linear-gradient(135deg, #f4f7ff 0%, #eef1fb 55%, #f7f0f6 100%);
  border-bottom: 1px solid #e3e8f5;
}

.publication-title {
  color: var(--eab-ink);
  line-height: 1.15;
}
.title-gradient {
  background: linear-gradient(90deg, var(--eab-blue) 0%, var(--eab-rasp) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eab-tagline {
  color: #5a5f6d;
  font-family: 'Google Sans', sans-serif;
}

.eab-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  margin: 2.75rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid #e6ebf5;
}
.eab-stat { text-align: center; min-width: 92px; }
.eab-stat .num {
  font-family: 'Google Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--eab-blue);
  line-height: 1;
}
.eab-stat .lab {
  font-size: 0.82rem;
  color: #6b7180;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-tag {
  display: inline-block;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eab-blue);
  background: #eaf0ff;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.eab-card {
  background: #fff;
  border: 1px solid #e8ebf3;
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 2px 14px rgba(41,66,120,0.05);
  height: 100%;
}
.eab-card h4 {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  color: var(--eab-ink);
  margin-bottom: 0.4rem;
}
.eab-card .badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  margin-right: 0.4rem;
}
.badge-know { background:#E0619A; }
.badge-short { background:#3F6FE0; }
.badge-long  { background:#8A63C8; }

figure img.eab-fig {
  max-width: 100%;
  height: auto;
  border: 1px solid #e8ebf3;
  border-radius: 10px;
  background: #fff;
}
.fig-cap {
  margin-top: 0.8rem;
  font-style: italic;
  color: #616676;
  font-size: 0.92rem;
  text-align: center;
}

.eab-table-wrap { overflow-x: auto; }
.eab-table {
  font-size: 0.82rem;
  border-collapse: collapse;
  width: 100%;
}
.eab-table th, .eab-table td {
  padding: 5px 8px;
  text-align: center;
  border: 1px solid #e4e8f2;
  white-space: nowrap;
}
.eab-table thead th {
  background: #f3f6fd;
  color: var(--eab-ink);
  font-family: 'Google Sans', sans-serif;
}
.eab-table tbody tr:hover { background: #f8faff; }
.eab-table .grp {
  background: #eef2fb !important;
  text-align: left;
  font-style: italic;
  color: #7a7f8c;
  font-weight: 600;
}
.eab-table .rowname { text-align: left; font-weight: 600; }
.eab-best { color: var(--eab-blue); font-weight: 700; }
.eab-second { font-style: italic; }
.eab-top1 td { background: #fff7e6 !important; }

/* ===== Case / trajectory viewer ===== */
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.case-tab {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5a5f6d;
  background: #eef1f7;
  border: 1px solid #e0e4ee;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: all .15s;
}
.case-tab:hover { background: #e2e8f7; }
.case-tab.active {
  background: var(--eab-blue);
  color: #fff;
  border-color: var(--eab-blue);
}
.case-panel { display: none; }
.case-panel.active { display: block; }

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.case-chip {
  font-size: 0.8rem;
  background: #f0f3fa;
  border: 1px solid #e2e7f2;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  color: #3f4453;
}
.case-chip b { color: var(--eab-blue); }

.traj {
  background: #1e1b2e;
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #d9d5e8;
  overflow-x: auto;
}
.traj .io {
  color: #f0e3d1;
  border-left: 3px solid #C85170;
  padding-left: 0.7rem;
  margin-bottom: 0.5rem;
}
.traj .gt {
  color: #9aa7b8;
  border-left: 3px solid #6b7cff;
  padding-left: 0.7rem;
  margin-bottom: 1rem;
}
.traj .round {
  color: #C85170;
  font-weight: 700;
  margin-top: 0.9rem;
  border-top: 1px dashed #3a3554;
  padding-top: 0.7rem;
}
.traj .think { color: #b9a7e6; font-style: italic; display:block; margin:0.25rem 0; }
.traj .tool  { color: #63d3c8; font-weight: 700; display:block; }
.traj .res   { color: #8f97a8; display:block; margin-bottom:0.2rem; }
.traj .final {
  color: #ffd479;
  font-weight: 700;
  border-top: 1px solid #3a3554;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  display:block;
  white-space: pre-wrap;
}
.traj .score {
  color: #7ee0a0;
  font-weight: 700;
  display:block;
  margin-top: 0.4rem;
}
.traj .lbl { font-weight:700; }
.think-lbl { color:#8f7fd6; }
.tool-lbl { color:#3fb8ad; }
.res-lbl { color:#6b7180; }

.footer a.icon-link { margin: 0 0.4rem; }

/* ===== Case viewer v2 ===== */
.traj.scroll { max-height: 460px; overflow-y: auto; }
.traj.scroll::-webkit-scrollbar { width: 9px; }
.traj.scroll::-webkit-scrollbar-track { background: #2a2640; border-radius: 8px; }
.traj.scroll::-webkit-scrollbar-thumb { background: #4a4468; border-radius: 8px; }
.traj.scroll::-webkit-scrollbar-thumb:hover { background: #5d5680; }

.verdict-tabs {
  display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1rem;
}
.vtab {
  font-family: 'Google Sans', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: #5a5f6d; background: #f1f3f8; border: 1px solid #e2e6f0;
  border-radius: 999px; padding: 0.4rem 1rem; cursor: pointer; transition: all .15s;
}
.vtab:hover { background: #e6ebf6; }
.vtab.active { color: #fff; }
.verdict-tabs .vtab.active:first-child { background: #2fa46a; border-color: #2fa46a; }
.verdict-tabs .vtab.active:last-child  { background: #d0455f; border-color: #d0455f; }

.verdict-badge {
  color: #fff; font-weight: 700; font-size: 0.78rem;
  padding: 0.15rem 0.55rem; border-radius: 6px;
}

.case-context {
  background: #f6f8fd; border: 1px solid #e6ebf6; border-left: 3px solid var(--eab-blue);
  border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1rem;
  font-size: 0.86rem; color: #3f4453; white-space: pre-wrap;
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  max-height: 220px; overflow-y: auto;
}

.findings-head, .traj .findings-head {
  color: #ffd479; font-weight: 700; margin-top: 0.9rem;
  border-top: 1px solid #3a3554; padding-top: 0.7rem; display: block;
}
.traj .finding { color: #cfd3e0; display: block; margin: 0.25rem 0; padding-left: 0.3rem; }

/* QA card */
.qa-card {
  background: #fff; border: 1px solid #e8ebf3; border-radius: 12px; padding: 1.4rem 1.5rem;
}
.qa-q {
  font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--eab-ink); margin-bottom: 1.1rem;
}
.qa-opt {
  display: flex; align-items: center; gap: 0.7rem;
  border: 1px solid #e6e9f2; border-radius: 10px;
  padding: 0.7rem 0.9rem; margin-bottom: 0.6rem; background: #fbfcfe;
}
.qa-opt .qa-key {
  flex: none; width: 28px; height: 28px; line-height: 28px; text-align: center;
  border-radius: 50%; background: #eef1f7; font-weight: 700; color: #5a5f6d; font-size: 0.85rem;
}
.qa-opt .qa-text { flex: 1; color: #3f4453; }
.qa-opt .qa-tag {
  font-size: 0.68rem; font-weight: 700; padding: 0.12rem 0.5rem; border-radius: 6px; margin-left: 0.3rem;
}
.qa-tag.gold { background: #e5f6ed; color: #2fa46a; }
.qa-tag.pred { background: #eaf0ff; color: var(--eab-blue); }
.qa-opt.qa-gold { border-color: #2fa46a; background: #f2fbf6; }
.qa-opt.qa-gold .qa-key { background: #2fa46a; color: #fff; }
.qa-opt.qa-wrong { border-color: #d0455f; background: #fdf3f5; }
.qa-opt.qa-wrong .qa-key { background: #d0455f; color: #fff; }

.case-meta { justify-content: center; }

/* ===== Case viewer v3 (light theme, turn cards) ===== */
.case-body { margin-top: 0.4rem; }
.turn-list { margin-top: 0.3rem; }
.turn {
  background: #fff; border: 1px solid #e6ebf6; border-radius: 12px;
  margin-bottom: 0.75rem; overflow: hidden; box-shadow: 0 1px 6px rgba(41,66,120,0.04);
}
.turn-head {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.9rem; background: #f4f7fd; border-bottom: 1px solid #eaeef8;
}
.turn-num {
  font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: 0.75rem;
  color: var(--eab-blue); background: #e9f0ff; padding: 0.12rem 0.55rem; border-radius: 6px;
}
.turn-tool {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 0.8rem; color: #2947b8; font-weight: 600;
}
.turn-wrap { position: relative; }
.turn-wrap.collapsed { max-height: 132px; overflow: hidden; }
.turn-wrap.collapsed::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 54px;
  background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none;
}
.turn-body { padding: 0.8rem 0.95rem; }
.t-block { font-size: 0.84rem; line-height: 1.55; margin-bottom: 0.55rem; }
.t-block:last-child { margin-bottom: 0; }
.t-lbl {
  display: inline-block; font-family: 'Google Sans', sans-serif;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.1rem 0.45rem; border-radius: 5px; margin-right: 0.5rem; vertical-align: middle;
}
.t-lbl.think { background: #efe9fb; color: #7a5fc0; }
.t-lbl.call  { background: #e9f0ff; color: var(--eab-blue); }
.t-lbl.res   { background: #eef1f6; color: #6b7180; }
.t-think { color: #4a4f5e; font-style: italic; }
.t-call {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace; color: #2947b8;
  background: #f6f8fd; border-radius: 8px; padding: 0.5rem 0.6rem; word-break: break-word;
}
.t-res {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace; color: #59606e;
  background: #f7f8fb; border: 1px solid #eef1f6; border-radius: 8px; padding: 0.5rem 0.6rem;
  white-space: pre-wrap; word-break: break-word;
}
.turn-expand {
  position: absolute; right: 10px; bottom: 8px; z-index: 3;
  font-family: 'Google Sans', sans-serif; font-size: 0.72rem; font-weight: 600;
  color: var(--eab-blue); background: #fff; border: 1px solid #cdd8f5; border-radius: 999px;
  padding: 0.2rem 0.75rem; cursor: pointer; box-shadow: 0 1px 4px rgba(41,66,120,0.12);
}
.turn-expand:hover { background: #eef3ff; }
.turn-expand.up { color: #6b7180; border-color: #dde2ec; }

/* final boxes */
.final-box { border-radius: 12px; padding: 0.9rem 1.1rem; margin-top: 1rem; }
.findings-box { background: #f6f8fd; border: 1px solid #e6ebf6; border-left: 3px solid var(--eab-blue); }
.answer-box  { background: #fff9ec; border: 1px solid #f3e4c0; border-left: 3px solid #e0952f; }
.fb-title {
  font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.45rem;
}
.answer-box .fb-title { color: #b0791f; }
.findings-box .fb-title { color: var(--eab-blue); }
.findings-box ul { margin: 0.2rem 0 0 1.1rem; }
.findings-box li { color: #3f4453; font-size: 0.9rem; margin-bottom: 0.4rem; }
.fb-body {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace; font-size: 0.83rem;
  color: #6a5326; white-space: pre-wrap; word-break: break-word;
}
.score-pill {
  display: inline-block; margin-top: 0.9rem; background: #e5f6ed; color: #1f7a4d;
  font-weight: 700; font-size: 0.85rem; padding: 0.45rem 0.95rem; border-radius: 999px;
}

/* verdict badges (class-based) */
.verdict-badge { color: #fff; font-weight: 700; font-size: 0.78rem; padding: 0.15rem 0.6rem; border-radius: 6px; }
.verdict-badge.v-ok  { background: #2fa46a; }
.verdict-badge.v-bad { background: #d0455f; }
.verdict-badge.v-mid { background: #e0952f; }
.case-chip.verdict-chip { background: transparent; border: none; padding: 0; }

.verdict-tabs .vtab.active.v-ok  { background: #2fa46a; border-color: #2fa46a; color: #fff; }
.verdict-tabs .vtab.active.v-bad { background: #d0455f; border-color: #d0455f; color: #fff; }
.verdict-tabs .vtab.active.v-mid { background: #e0952f; border-color: #e0952f; color: #fff; }

.case-context { max-height: 240px; }
