:root {
  --bg: #f7fbff;
  --panel: #ffffff;
  --panel-alt: #eef7fb;
  --text: #14213d;
  --muted: #596875;
  --line: #dbe8f2;
  --accent: #0646a5;
  --accent-2: #d71920;
  --warn: #e48a1f;
  --bad: #d71920;
  --shadow: 0 10px 26px rgba(23, 32, 51, .10);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.site-header { background: linear-gradient(135deg, #073476, #0646a5 47%, #5cc4e5); color: #fff; padding: 1.65rem 1.2rem; }
.site-header.compact { padding: 1rem 1.2rem; }
.site-header h1 { margin: .2rem auto; max-width: 1180px; font-size: clamp(1.35rem, 2.15vw, 2.05rem); line-height: 1.16; }
.site-header p { max-width: 1180px; margin: .5rem auto 0; color: rgba(255,255,255,.86); }
.back-link { color: #fff; display: block; max-width: 1180px; margin: 0 auto .35rem; text-decoration: none; font-weight: 700; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 1.2rem auto 3rem; }
.container.narrow { width: min(940px, calc(100% - 2rem)); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.card, .intro-card, .section-card, .question, .bank-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 1rem; }
.intro-card { margin-bottom: 1rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 190px)); justify-content: center; gap: .6rem; margin: .65rem auto .15rem; }
.stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: .48rem .75rem; border-radius: 12px; min-height: 0; }
.stat strong { display: block; font-size: 1.22rem; line-height: 1.1; margin-bottom: .08rem; }
.toolbar { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
input[type="search"], select, input[type="text"] { font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.button, button { font: inherit; border: 1px solid var(--accent); background: #fff; color: var(--accent); padding: .65rem .9rem; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.button.primary, button.primary { background: var(--accent); color: #fff; }
.button.secondary, button.secondary { border-color: var(--line); color: var(--text); }
button:disabled { opacity: .55; cursor: not-allowed; }
.section-card { margin: 1rem 0; }
.section-card h2 { margin-top: 0; }
.activity-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .55rem; }
.activity-item { margin: 0; padding: 0; }
.activity { display: grid; grid-template-columns: 90px 1fr auto; gap: .8rem; align-items: center; padding: .75rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
a.activity, a.activity:visited { color: var(--text); text-decoration: none; }
a.activity:hover, a.activity:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(37,84,199,.12); }
.activity .type { text-transform: uppercase; letter-spacing: .04em; font-size: .76rem; color: var(--muted); font-weight: 800; }
.activity .name { font-weight: 800; }
.activity .desc { color: var(--muted); font-size: .92rem; }
.label-activity { margin: 1.2rem 0 .35rem; padding: .65rem .85rem; border-radius: 14px; background: var(--panel-alt); border-left: 6px solid var(--accent); font-weight: 800; }
.lesson-frame { width: 100%; min-height: 78vh; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.launch-actions { margin: 1rem 0; display: flex; gap: .75rem; flex-wrap: wrap; }
.notice { background: #fff8e6; border: 1px solid #f0c36d; color: #503200; padding: .8rem; border-radius: 14px; }
.question { margin: 1rem 0; }
.question h2 { margin: 0 0 .8rem; font-size: 1.1rem; }
.question-text { background: var(--panel-alt); border-radius: 14px; padding: .75rem; margin: .65rem 0; overflow-x: auto; }
.answers { display: grid; gap: .55rem; margin-top: .75rem; }
.answer { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; border: 1px solid var(--line); border-radius: 14px; padding: .7rem; background: #fff; }
.answer-hotspot { grid-template-columns: 1fr; cursor: pointer; min-height: 58px; }
.answer-hotspot input[type="radio"], .answer-hotspot input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.answer-hotspot:has(input:checked) { border-color: var(--accent); background: #eef4ff; box-shadow: 0 0 0 2px rgba(37,84,199,.18); }
.answer.correct { border-color: rgba(15,122,82,.45); background: #effaf4; }
.answer.incorrect { border-color: rgba(180,35,24,.45); background: #fff2f0; }
.feedback { margin-top: .7rem; padding: .75rem; border-radius: 14px; display: none; }
.feedback.show { display: block; }
.feedback.good { background: #effaf4; border: 1px solid rgba(15,122,82,.4); }
.feedback.bad { background: #fff2f0; border: 1px solid rgba(180,35,24,.4); }
.feedback.partial { background: #fff8e6; border: 1px solid #f0c36d; }
.quiz-summary { position: sticky; top: 0; z-index: 5; background: rgba(246,247,251,.96); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 18px; padding: .85rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.score-pill { padding: .45rem .75rem; border-radius: 999px; background: var(--panel-alt); font-weight: 800; }
.dd-stage { position: relative; display: inline-block; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dd-stage img { display: block; max-width: 100%; height: auto; }
.marker { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; background: var(--accent); box-shadow: 0 0 0 2px rgba(0,0,0,.3); transform: translate(-50%, -50%); pointer-events: none; }
.drop-select { position: absolute; transform: translate(-10%, -20%); min-width: 92px; padding: .35rem; border: 2px solid var(--accent); background: rgba(255,255,255,.93); }
.drag-palette { display: flex; gap: .65rem; flex-wrap: wrap; margin: .8rem 0; }
.drag-choice { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: .5rem; min-width: 120px; }
.drag-choice img { max-height: 70px; display: block; margin: .25rem 0; }
.bank-controls { display: grid; grid-template-columns: 1fr minmax(180px, 260px) auto; gap: .75rem; align-items: center; }
.bank-card { margin: .8rem 0; box-shadow: none; }
.bank-card summary { cursor: pointer; font-weight: 800; }
.badge { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .5rem; font-size: .78rem; color: var(--muted); background: #fff; }
.hidden { display: none !important; }
.footer-note { color: var(--muted); font-size: .9rem; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .activity { grid-template-columns: 1fr; }
  .bank-controls { grid-template-columns: 1fr; }
  .lesson-frame { min-height: 70vh; }
}

/* Answer-level feedback and offline AI-feedback tutor cards. */
.ai-badge { border-color: rgba(37, 84, 199, .45); color: var(--accent); }
.selected-answer-feedback { margin-top: .9rem; }
.selected-answer-feedback h3 { margin: .2rem 0 .55rem; font-size: 1rem; }
.answer-feedback { margin: .65rem 0; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.answer-feedback.empty { background: var(--panel-alt); color: var(--muted); }
.answer-feedback-title { font-weight: 800; margin-bottom: .45rem; }
.answer-feedback-body iframe { width: 100% !important; max-width: 560px; min-height: 320px; height: 320px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ai-answer-feedback { border-color: rgba(37,84,199,.28); background: #f7f9ff; }
.all-answer-feedback { margin-top: .85rem; }
.all-answer-feedback > summary { cursor: pointer; font-weight: 800; padding: .55rem .75rem; border-radius: 12px; background: var(--panel-alt); }
.ai-tutor-body { margin: 0; padding: .75rem; background: #fff; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; }
.ai-tutor-card { border: 1px solid #d8deea; border-radius: 14px; padding: .85rem; background: #fff; }
.ai-tutor-card h1 { font-size: 1rem; margin: 0 0 .55rem; }
.ai-tutor-status { padding: .55rem .7rem; border-radius: 12px; font-weight: 800; margin: .55rem 0; }
.ai-tutor-status.correct { background: #effaf4; border: 1px solid rgba(15,122,82,.4); }
.ai-tutor-status.review { background: #fff8e6; border: 1px solid #f0c36d; }
.ai-tutor-grid { display: grid; gap: .45rem; margin-top: .65rem; }
.ai-tutor-row { border-top: 1px solid #d8deea; padding-top: .45rem; }
.ai-tutor-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: #5b6578; font-weight: 800; }
.ai-tutor-note { color: #5b6578; font-size: .9rem; }


/* TEACHAID V8: quiz/test/exercise layout refinements */
.quiz-page .site-header.compact { padding: .75rem 1.2rem; }
.quiz-page .site-header.compact h1 {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  margin-top: .2rem;
  margin-bottom: .2rem;
}
.quiz-page .container.narrow {
  width: min(1120px, calc(100% - 2rem));
}
.quiz-page .intro-card {
  margin-bottom: 1rem;
}
.quiz-summary {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  backdrop-filter: none !important;
}
.quiz-info-top {
  margin-bottom: 1.2rem;
}
.quiz-actions-bottom {
  margin-top: 2rem;
  margin-bottom: 3rem;
  border: 2px solid rgba(37, 84, 199, .42);
  background: #fff;
}
.identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
  width: 100%;
}
.identity-field label {
  display: block;
  font-weight: 800;
  margin: 0 0 .25rem;
}
.identity-field input {
  width: 100%;
}
.quiz-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  width: 100%;
}
.quiz-action-note {
  width: 100%;
  margin: .15rem 0 .35rem;
}
.results-table-wrap {
  overflow-x: auto;
}
.results-table {
  width: 100%;
  border-collapse: collapse;
}
.results-table th,
.results-table td {
  border: 1px solid var(--line);
  padding: .55rem;
  text-align: left;
  vertical-align: top;
}
.results-table th {
  background: var(--panel-alt);
}


.site-header .back-link { display: none; }
.teachaid-standard-nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); box-shadow: 0 5px 18px rgba(23,32,51,.06); backdrop-filter: blur(8px); }
.teachaid-standard-nav .nav-inner { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: .5rem 0; display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.teachaid-standard-nav .nav-group { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.teachaid-standard-nav .nav-main { justify-content: flex-start; }
.teachaid-standard-nav .nav-context { justify-content: flex-start; }
.teachaid-standard-nav a { text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--accent); border-radius: 999px; padding: .42rem .7rem; font-weight: 800; font-size: .88rem; line-height: 1.15; }
.teachaid-standard-nav a.primary { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.teachaid-standard-nav .nav-spacer { display:none; }
.file-activity-page { overflow: hidden; background: #111827; }
.resource-viewer-main { position: fixed; inset: 0; width: 100vw; height: 100vh; margin: 0; padding: 0; background: #111827; display: grid; place-items: center; }
.resource-viewer-main iframe, .resource-frame-full { width: 100vw; height: 100vh; border: 0; background: white; }
.resource-viewer-main .resource-image-full { max-width: 100vw; max-height: 100vh; object-fit: contain; border: 0; border-radius: 0; background: white; }
.resource-viewer-main .resource-video-full { max-width: 100vw; max-height: 100vh; background: black; }
.resource-mini-nav { position: fixed; left: .65rem; top: .65rem; z-index: 50; opacity: .18; background: #fff; border: 1px solid var(--line); color: var(--accent); border-radius: 999px; padding: .35rem .65rem; font-size: .78rem; font-weight: 800; text-decoration: none; }
.resource-mini-nav:hover, .resource-mini-nav:focus { opacity: .98; }


/* TEACHAID V7 local result tracking */
.identity-panel { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: #f8fbff; }
.identity-panel.required { border-color: rgba(37,84,199,.45); background: #f7f9ff; }
.identity-panel label { display:block; font-weight: 800; margin-bottom:.35rem; }
.identity-panel input { width: min(100%, 420px); padding: .75rem .85rem; border:1px solid var(--line); border-radius: 12px; font: inherit; }
.identity-panel .hint { margin:.45rem 0 0; color: var(--muted); font-size:.92rem; }
.result-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top: .8rem; }
.results-table { width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.results-table th, .results-table td { border-bottom:1px solid var(--line); padding:.65rem; text-align:left; vertical-align:top; }
.results-table th { background:#f8fafc; color:#344054; font-size:.9rem; }
.results-table tr:last-child td { border-bottom:0; }
.result-dashboard-controls { display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; margin:.8rem 0 1rem; }
.result-dashboard-controls input, .result-dashboard-controls select { padding:.65rem .75rem; border:1px solid var(--line); border-radius:12px; font:inherit; }
.result-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight:800; }
.warning-box { margin: 1rem 0; padding: .85rem 1rem; border-radius: 14px; border: 1px solid #f0c36d; background: #fff8e6; }


.breadcrumb, .category-nav { max-width:1180px; margin:.35rem auto; display:flex; gap:.45rem; flex-wrap:wrap; align-items:center; }
.breadcrumb a, .category-nav a { color:inherit; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); border-radius:999px; padding:.3rem .6rem; text-decoration:none; font-weight:700; }
.course-activity-jump { display:flex; gap:.5rem; flex-wrap:wrap; margin:.75rem 0; }
.course-activity-jump a { border:1px solid var(--line); border-radius:999px; padding:.45rem .65rem; text-decoration:none; font-weight:700; background:#fff; }
.sync-status-card { border-left:6px solid var(--accent); }



/* TEACHAID V10 quiz gate, matching hot spots, and submitted-attempt lock */
.identity-gate h2 { margin-top: 0; }
.identity-grid-two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.identifier-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .65rem;
  margin: .75rem 0 1rem;
}
.identifier-display div {
  border: 1px solid var(--line);
  background: var(--panel-alt);
  border-radius: 12px;
  padding: .65rem .75rem;
}
.identifier-display strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.identifier-display span { display: block; font-weight: 800; margin-top: .15rem; }
.quiz-body-hidden { display: none; }
.attempt-identity-summary {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-alt);
  padding: .65rem .75rem;
  font-weight: 700;
}
.matching-hotspot { margin-top: .8rem; }
.matching-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: .9rem;
  align-items: start;
}
.match-hotspot {
  width: 100%;
  display: block;
  text-align: left;
  margin: .45rem 0;
  border: 2px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 14px;
  padding: .65rem .75rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15,23,42,.05);
}
.match-hotspot strong { display: block; font-size: .78rem; text-transform: uppercase; opacity: .75; }
.match-hotspot span { display: block; margin-top: .18rem; }
.match-hotspot em { display: block; margin-top: .35rem; font-size: .82rem; opacity: .8; }
.match-hotspot.selected { outline: 3px solid #111827; outline-offset: 2px; }
.match-hotspot.matched, .match-hotspot.matched-choice { font-weight: 700; }
.match-color-0 { background: #fee2e2 !important; border-color: #ef4444 !important; }
.match-color-1 { background: #ffedd5 !important; border-color: #f97316 !important; }
.match-color-2 { background: #fef9c3 !important; border-color: #eab308 !important; }
.match-color-3 { background: #dcfce7 !important; border-color: #22c55e !important; }
.match-color-4 { background: #ccfbf1 !important; border-color: #14b8a6 !important; }
.match-color-5 { background: #dbeafe !important; border-color: #3b82f6 !important; }
.match-color-6 { background: #e0e7ff !important; border-color: #6366f1 !important; }
.match-color-7 { background: #f3e8ff !important; border-color: #a855f7 !important; }
.match-color-8 { background: #fce7f3 !important; border-color: #ec4899 !important; }
.match-color-9 { background: #e5e7eb !important; border-color: #6b7280 !important; }
.quiz-submitted-locked .answer,
.quiz-submitted-locked .match-hotspot,
.quiz-submitted-locked .place-marker,
.quiz-submitted-locked .drop-select { cursor: not-allowed; }
.quiz-submitted-locked .question { border-left: 5px solid var(--accent); }


/* TEACHAID V12 assessment question-type instructions and matching hot-spot colors */
.question-instruction {
  margin: .55rem 0 .85rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  background: var(--panel-alt);
  border-radius: 12px;
  font-size: .98rem;
}
.question-instruction strong { color: var(--accent-2); }
.marker {
  background: var(--marker-fill, var(--accent)) !important;
  box-shadow: 0 0 0 3px var(--marker-ring, rgba(0,0,0,.3)), 0 2px 8px rgba(0,0,0,.28) !important;
}
.place-marker.primary {
  outline: 3px solid #111827;
  outline-offset: 2px;
  font-weight: 800;
}
.dd-stage.multiple-hotspot-matching { border-width: 2px; }

/* TEACHAID Exercise answer hot spots: used only for Type: Exercise choice questions. */
.exercise-hotspot-answers .answer-hotspot {
  grid-template-columns: 1fr;
  cursor: pointer;
  min-height: 58px;
  border-width: 2px;
}
.exercise-hotspot-answers .answer-hotspot input[type="radio"],
.exercise-hotspot-answers .answer-hotspot input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.exercise-hotspot-answers .answer-hotspot:has(input:checked) {
  border-color: var(--accent);
  background: #eef4ff;
  box-shadow: 0 0 0 2px rgba(37,84,199,.18);
}

/* TEACHAID REV05 required identity and activity gate */
.teachaid-activity-gate-backdrop,
.teachaid-lesson-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, .58);
  overflow: auto;
}
.teachaid-activity-gate-backdrop[hidden] { display: none !important; }
.teachaid-activity-gate-card {
  width: min(980px, 100%);
  background: var(--panel, #fff);
  color: var(--text, #172033);
  border: 1px solid var(--line, #d8deea);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15,23,42,.28);
  padding: 1rem;
}
.teachaid-activity-gate-card h2 { margin-top: 0; }
.activity-gate-id { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.identity-field label { display: block; font-weight: 800; margin: .45rem 0 .25rem; }
.identity-field input { width: 100%; }
.teachaid-lesson-content-locked { visibility: hidden !important; pointer-events: none !important; }
/* TEACHAID V13 Frontlearners + TEACHAID brand theme */
:root {
  --fl-blue: #0646a5;
  --fl-blue-dark: #073476;
  --fl-sky: #5cc4e5;
  --fl-green: #9ccc35;
  --fl-orange: #e48a1f;
  --teachaid-red: #d71920;
  --bg: #f7fbff;
  --panel-alt: #eef7fb;
  --text: #14213d;
  --muted: #596875;
  --line: #dbe8f2;
  --accent: var(--fl-blue);
  --accent-2: var(--teachaid-red);
  --warn: var(--fl-orange);
  --bad: var(--teachaid-red);
  --shadow: 0 10px 26px rgba(6, 70, 165, .10);
}
body {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 55%, #f7fbff 100%);
}
a { color: var(--fl-blue); }
.site-header {
  background: linear-gradient(135deg, var(--fl-blue-dark) 0%, var(--fl-blue) 47%, var(--fl-sky) 100%) !important;
  color: #fff;
  border-bottom: 6px solid var(--fl-green);
  position: relative;
  overflow: hidden;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--fl-green) 0 33%, var(--fl-sky) 33% 66%, var(--fl-orange) 66% 100%);
  pointer-events: none;
}
.brand-strip {
  max-width: 1180px;
  margin: 0 auto .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  position: relative;
  z-index: 1;
}
.brand-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  padding: .35rem .45rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.brand-logo.frontlearners { height: 50px; max-width: min(330px, 58vw); }
.brand-logo.teachaid { height: 50px; max-width: min(260px, 48vw); }
.brand-logo.round { height: 52px; width: 52px; border-radius: 999px; padding: .18rem; }
.site-header.compact .brand-strip { margin-bottom: .45rem; }
.site-header.compact .brand-logo.frontlearners { height: 34px; max-width: min(220px, 52vw); }
.site-header.compact .brand-logo.teachaid { height: 34px; max-width: min(180px, 42vw); }
.site-header.compact .brand-logo.round { height: 36px; width: 36px; }
.card, .intro-card, .section-card, .question, .bank-card {
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.button, button { border-color: var(--fl-blue); color: var(--fl-blue); }
.button.primary, button.primary { background: var(--fl-blue); color: #fff; border-color: var(--fl-blue); }
.button.primary:hover, button.primary:hover { background: var(--fl-blue-dark); }
.label-activity { border-left-color: var(--fl-orange); background: #fff8ed; }
.notice, .feedback.partial { background: #fff8ed; border-color: rgba(228,138,31,.45); }
.question-instruction { border-left-color: var(--fl-green); background: #f2fae8; }
.question-instruction strong { color: var(--teachaid-red); }
.sync-status-card { border-left-color: var(--fl-green); }
.stats .stat { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); }
.match-hotspot.selected { outline-color: var(--teachaid-red); }
.marker { background: var(--marker-fill, var(--fl-blue)) !important; }
@media (max-width: 720px) {
  .brand-strip { align-items: flex-start; }
  .brand-left { gap: .45rem; }
  .brand-logo.frontlearners { height: 38px; max-width: 72vw; }
  .brand-logo.teachaid { height: 38px; max-width: 58vw; }
  .brand-logo.round { display: none; }
}
