:root {
  --bg: #f6f8fa;
  --surface: #fff;
  --surface-2: #f1f5f7;
  --line: #e1e7eb;
  --fg: #1e293b;
  --muted: #64748b;
  --accent: #0f766e;
  --accent-fg: #fff;
  --accent-soft: #e8f6f2;
  --radius: 14px;
  --shadow: 0 2px 6px #1e293b03;
}
body {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 99;
  background: var(--accent);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
a {
  color: var(--accent);
}
.bar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 244px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}
.bar-in {
  height: 100%;
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.brand {
  text-decoration: none;
  color: var(--fg);
  gap: 11px;
  padding: 0 7px;
}
.brand b {
  font-size: 21px;
  letter-spacing: -0.8px;
}
.brand-dot {
  display: inline !important;
  color: var(--accent);
  font-size: 23px !important;
}
.brand .brand-sub {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-top: 5px;
}
.brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  color: #fff;
  background: #0f766e;
}
.brand-mark svg {
  width: 25px;
  height: 25px;
}
.nav-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin: 46px 13px 15px;
}
.tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}
.tab {
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: left;
  position: relative;
  padding: 12px 13px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 9px;
  white-space: nowrap;
}
.tab svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.tab[aria-selected="true"] {
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
}
.tab[aria-selected="true"]:after {
  content: "";
  position: absolute;
  right: 12px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.sidebar-tip {
  padding: 18px 15px;
  background: var(--accent-soft);
  border: 1px solid #0f766e0b;
  border-radius: 12px;
  margin: 38px 4px 22px;
}
.sidebar-tip b {
  font-family: var(--display);
  font-size: 12px;
  display: block;
  margin-top: 12px;
}
.sidebar-tip p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin: 6px 0 13px;
}
.tip-icon {
  font: 600 23px var(--mono);
  color: var(--accent);
}
.tip-icon span {
  font: 11px var(--body);
  margin-left: 5px;
}
.text-link {
  border: 0;
  background: none;
  color: var(--accent);
  padding: 0;
  font-size: 11px;
  font-weight: 600;
}
.text-link span {
  margin-left: 9px;
}
.sidebar-bottom {
  margin-top: auto;
}
.institute {
  border-top: 1px solid var(--line);
  margin: 18px 8px 0;
  padding-top: 21px;
  display: flex;
  gap: 5px;
  align-items: baseline;
  flex-wrap: wrap;
}
.institute b {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 2px;
}
.institute span {
  font: 8px var(--mono);
  letter-spacing: 1.2px;
}
.institute small {
  width: 100%;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
#workspace {
  margin-left: 244px;
  min-height: 100vh;
  outline: none;
}
.workspace-top {
  height: 80px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  gap: 10px;
}
.workspace-crumb {
  color: var(--muted);
  font-size: 12px;
}
.workspace-crumb span {
  margin: 0 11px;
  opacity: 0.4;
}
.workspace-crumb b {
  color: var(--fg);
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.sync-status {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sync-status:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
}
.sync-status[data-state="saved"]:before {
  background: var(--good);
}
.sync-status[data-state="queued"]:before {
  background: var(--warn);
}
.sync-status[data-state="failed"]:before {
  background: var(--bad);
}
.icon-button {
  border: 0;
  background: none;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.top-actions .btn {
  font-size: 11px;
  padding: 9px 13px;
}
.page {
  max-width: 1400px;
  padding: 34px 38px 26px;
  gap: 24px;
}
h1 {
  font-size: 28px;
  letter-spacing: -0.7px;
  line-height: 1.24;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.1px;
}
.card {
  padding: 23px;
  border-color: var(--line);
}
.btn {
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 8px;
  min-height: 38px;
}
.btn.sm {
  font-size: 11px;
  min-height: 34px;
}
.btn.primary {
  background: #0f766e;
  color: white;
  border-color: #0f766e;
}
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}
.dashboard-heading .eyebrow {
  color: var(--accent);
  margin-bottom: 10px;
}
.dashboard-heading p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 13px;
}
.blueprint-badge {
  font-size: 10px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--surface);
  white-space: nowrap;
}
.blueprint-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.dashboard-main,
.dashboard-rail {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.baseline-card {
  background: var(--surface);
  position: relative;
  overflow: hidden;
  padding: 26px;
}
.baseline-card .baseline-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.baseline-card h2 {
  font-size: 23px;
  max-width: 410px;
  line-height: 1.28;
  margin-top: 10px;
}
.baseline-card p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 380px;
  color: var(--muted);
  margin: 11px 0 19px;
}
.baseline-ring {
  width: 118px;
  height: 118px;
  position: relative;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    var(--accent) var(--progress, 0%),
    var(--surface-2) 0
  );
}
.baseline-ring:before {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--surface);
  border-radius: 50%;
}
.baseline-ring > div {
  position: relative;
  text-align: center;
}
.baseline-ring b {
  display: block;
  font: 500 30px var(--mono);
  letter-spacing: -1px;
}
.baseline-ring span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.baseline-meta {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.baseline-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.baseline-meta svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.tiles {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 12px;
}
.tile .v {
  font-size: 23px;
  margin-top: 13px;
  letter-spacing: -0.7px;
}
.tile .l {
  margin-top: 7px;
  font-size: 10px;
}
.tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}
.tile-head svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-heading .muted {
  font-size: 10px;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.mode {
  padding: 19px;
  gap: 7px;
  border-radius: 12px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.mode:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.mode-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.mode-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mode-icon .arrow {
  width: 15px;
  height: 15px;
  stroke: var(--muted);
}
.mode h3 {
  font-size: 12px;
}
.mode p {
  font-size: 10.5px;
  line-height: 1.6;
  min-height: 34px;
}
.mode .meta {
  font-family: var(--mono);
  font-size: 9px;
  margin-top: 5px;
}
.mode.featured {
  background: var(--accent-soft);
  border-color: #c4e4dc;
}
.mode.featured .mini-badge {
  background: #fff;
  color: #0f766e;
  font-size: 8px;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 600;
}
.domain-card h3 {
  font-size: 13px;
}
.domain-card .card-sub {
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0 20px;
}
.bars {
  gap: 14px;
}
.bar-row {
  gap: 6px 10px;
}
.bar-row .name {
  font-weight: 500;
  font-size: 11px;
}
.bar-row .name small {
  font-size: 9px;
}
.bar-row .num {
  font-size: 10px;
}
.track {
  height: 6px;
}
.track .cut {
  background: #d6a64f;
  width: 1.5px;
}
.domain-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 18px;
}
.domain-legend i {
  display: block;
  width: 2px;
  height: 9px;
  background: #d6a64f;
}
.exam-facts {
  padding: 21px;
  background: #0d3d3a;
  color: #ecf7f3;
  border-color: #0d3d3a;
}
.exam-facts .eyebrow {
  color: #b0ceca;
}
.exam-facts h3 {
  margin-top: 8px;
  font-size: 16px;
}
.exam-facts .fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
  margin: 22px 0 18px;
}
.exam-facts .fact-grid b {
  display: block;
  font: 500 23px var(--mono);
  line-height: 1.2;
}
.exam-facts .fact-grid span {
  font-size: 9px;
  color: #b0ceca;
}
.exam-facts .small {
  font-size: 9px;
  color: #b0ceca;
  border-top: 1px solid #ffffff20;
  padding-top: 14px;
}
.discipline-card {
  padding: 20px;
}
.discipline-card .eyebrow {
  color: var(--accent);
}
.discipline-card h3 {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 9px;
}
.discipline-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 9px 0 14px;
  line-height: 1.65;
}
.review-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.review-card p {
  font-size: 10px;
  margin-top: 5px;
}
.review-card .row {
  gap: 6px;
}
.custom-panel {
  grid-column: 1/-1;
}
.custom-panel summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-weight: 600;
}
.custom-panel .g3 {
  grid-template-columns: 1.35fr 1fr 1fr;
}
.custom-panel label {
  font-size: 11px;
}
.resume-banner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--accent-soft);
  border: 1px solid #b4ddd3;
  border-radius: 12px;
  padding: 18px 20px;
}
.resume-banner p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.legal-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 38px 26px;
  max-width: 1400px;
  border-top: 1px solid var(--line);
  margin: 0 auto;
  color: var(--muted);
  font-size: 9px;
}
.legal-footer span {
  white-space: nowrap;
}
.legal-footer p {
  max-width: 600px;
  line-height: 1.7;
  text-align: right;
}
.exam-active #workspace {
  margin-left: 0;
}
.exam-head-in {
  max-width: 1100px;
  padding: 18px 24px;
}
.qwrap {
  max-width: 900px;
  padding: 34px 24px 40px;
  gap: 22px;
}
.stem {
  font-size: 19px;
  line-height: 1.6;
}
.opt-btn {
  padding: 18px;
  min-height: 60px;
}
.exam-active .exam {
  background: var(--bg);
}
.exam-active .qwrap > .row {
  margin-bottom: 4px;
}
.pace {
  font-size: 11px;
}
.feedback {
  line-height: 1.7;
  padding: 18px;
}
.nav-grid button {
  min-height: 40px;
}
.score-hero {
  gap: 28px;
}
.page > .card > .eyebrow {
  margin-bottom: 5px;
}
.pill {
  font-size: 10px;
}
.tbl {
  font-size: 12px;
}
.tbl th {
  font-size: 9px;
}
.rev {
  padding: 18px;
}
.confirm .box {
  max-width: 500px;
  padding: 26px;
}
.confirm .box h3 {
  font-size: 19px;
}
.confirm .box p {
  font-size: 13px;
}
.safe-list {
  display: grid;
  gap: 12px;
  line-height: 1.7;
}
.safe-list li {
  padding-left: 4px;
}
.loading-state {
  padding: 90px 20px;
  text-align: center;
}
.loading-state h1 {
  font-size: 22px;
  margin: 20px 0 10px;
}
.loading-mark {
  width: 32px;
  height: 32px;
  margin: auto;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.account-detail {
  display: grid;
  gap: 14px;
}
.account-detail input {
  width: 100%;
  padding: 10px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg);
}
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-form {
  display: grid;
  gap: 15px;
}
.admin-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}
.admin-form input,
.admin-form select {
  width: 100%;
}
.admin-form textarea {
  font-family: var(--body);
  font-size: 12px;
}
.admin-form .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.admin-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px;
}
.item-list {
  display: grid;
  gap: 8px;
}
.item-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.item-row p {
  font-size: 12px;
}
.item-row small {
  color: var(--muted);
}
.admin-preview {
  position: sticky;
  top: 25px;
  height: fit-content;
}
.admin-preview .stem {
  font-size: 15px;
}
.admin-preview .opt-preview {
  padding: 10px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.blueprint-form {
  display: grid;
  gap: 15px;
}
.blueprint-line {
  display: grid;
  grid-template-columns: 1fr 80px 150px;
  gap: 12px;
  align-items: center;
}
.admin-notice {
  font-size: 12px;
  padding: 14px;
  background: var(--warn-soft);
  border-radius: 8px;
}
.sync-banner {
  padding: 14px 18px;
  border: 1px solid var(--warn);
  background: var(--warn-soft);
  border-radius: 10px;
  font-size: 12px;
}
.document-content {
  white-space: pre-wrap;
  line-height: 1.75;
}
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ref dl {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.ref dd {
  overflow-wrap: anywhere;
  font-size: 11px;
}
.ref dt {
  font-size: 12px;
}
@media (min-width: 1500px) {
  .page {
    padding: 40px 50px;
  }
  .workspace-top {
    padding: 0 50px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .dashboard-main,
  .dashboard-rail {
    gap: 26px;
  }
  .mode {
    padding: 23px;
  }
  .mode p {
    font-size: 12px;
  }
  .mode h3 {
    font-size: 14px;
  }
  .bar-row .name {
    font-size: 12px;
  }
}
@media (max-width: 1200px) {
  .bar {
    width: 214px;
  }
  .bar-in {
    padding: 28px 14px;
  }
  .brand b {
    font-size: 19px;
  }
  .brand .brand-sub {
    font-size: 7.5px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  #workspace {
    margin-left: 214px;
  }
  .page {
    padding: 28px 26px;
  }
  .workspace-top {
    padding: 0 26px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
  }
  .dashboard-main,
  .dashboard-rail {
    gap: 18px;
  }
  .baseline-card {
    padding: 21px;
  }
  .baseline-ring {
    width: 100px;
    height: 100px;
  }
  .baseline-card .baseline-content {
    gap: 15px;
  }
  .card {
    padding: 20px;
  }
  .blueprint-badge {
    font-size: 9px;
  }
  .tile {
    padding: 14px;
  }
  .custom-panel .g3 {
    grid-template-columns: 1fr 1fr;
  }
  .baseline-card h2 {
    font-size: 21px;
  }
  .legal-footer {
    padding: 20px 26px;
  }
  .tab {
    font-size: 12px;
  }
}
@media (max-width: 1000px) {
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-rail {
    grid-template-columns: 1.2fr 1fr;
  }
  .discipline-card {
    display: none;
  }
  .baseline-card .baseline-content {
    grid-template-columns: 1fr auto;
  }
  .baseline-card p {
    max-width: 450px;
  }
  .dashboard-heading {
    align-items: flex-start;
  }
  .blueprint-badge {
    margin-top: 9px;
  }
  .admin-editor {
    grid-template-columns: 1fr;
  }
  .admin-preview {
    position: static;
  }
  .sync-status {
    display: none;
  }
  .baseline-meta {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .bar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .bar-in {
    padding: 20px 20px 12px;
    gap: 18px;
    height: auto;
  }
  .brand b {
    font-size: 22px;
  }
  .brand .brand-sub {
    font-size: 9px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .nav-label,
  .sidebar-tip,
  .sidebar-bottom {
    display: none;
  }
  .tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: auto;
    gap: 6px;
    width: auto;
    scrollbar-width: none;
  }
  .tab {
    padding: 9px 11px;
    font-size: 11px;
    gap: 7px;
  }
  .tab svg {
    width: 15px;
    height: 15px;
  }
  .tab[aria-selected="true"]:after {
    display: none;
  }
  #workspace {
    margin: 0;
  }
  .workspace-top {
    height: 55px;
    padding: 0 20px;
  }
  .workspace-crumb {
    font-size: 10px;
  }
  .top-actions {
    gap: 8px;
  }
  .top-actions .btn {
    padding: 7px 9px;
    font-size: 10px;
    min-height: 30px;
  }
  .icon-button {
    width: 26px;
  }
  .page {
    padding: 26px 20px;
    gap: 22px;
  }
  .dashboard-heading {
    display: block;
  }
  h1 {
    font-size: 27px;
  }
  .dashboard-heading p {
    font-size: 12px;
    line-height: 1.7;
  }
  .blueprint-badge {
    margin-top: 13px;
  }
  .baseline-card {
    padding: 20px;
  }
  .baseline-card h2 {
    font-size: 21px;
  }
  .baseline-card p {
    font-size: 11px;
  }
  .baseline-card .baseline-content {
    gap: 10px;
  }
  .baseline-ring {
    width: 86px;
    height: 86px;
  }
  .baseline-ring:before {
    inset: 7px;
  }
  .baseline-ring b {
    font-size: 23px;
  }
  .baseline-ring span {
    font-size: 8px;
  }
  .baseline-meta {
    font-size: 8px;
    flex-wrap: wrap;
    gap: 9px;
  }
  .tiles {
    gap: 9px;
  }
  .tile {
    padding: 12px;
  }
  .tile-head {
    font-size: 9px;
  }
  .tile-head svg {
    width: 12px;
    height: 12px;
  }
  .tile .v {
    font-size: 20px;
    margin-top: 12px;
  }
  .tile .l {
    font-size: 8px;
  }
  .practice-grid {
    gap: 10px;
  }
  .mode {
    padding: 16px;
  }
  .mode h3 {
    font-size: 12px;
  }
  .mode p {
    font-size: 10px;
  }
  .mode .meta {
    font-size: 8px;
  }
  .mode-icon svg {
    width: 19px;
    height: 19px;
  }
  .mini-badge {
    font-size: 7px !important;
  }
  .dashboard-rail {
    grid-template-columns: 1fr;
  }
  .domain-card .bars {
    gap: 16px;
  }
  .bar-row .name {
    font-size: 12px;
  }
  .bar-row .num {
    font-size: 11px;
  }
  .exam-facts .fact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .exam-facts .fact-grid b {
    font-size: 19px;
  }
  .exam-facts .fact-grid span {
    font-size: 8px;
  }
  .custom-panel .g3 {
    grid-template-columns: 1fr;
  }
  .g2 {
    grid-template-columns: 1fr;
  }
  .review-card {
    flex-wrap: wrap;
  }
  .legal-footer {
    padding: 20px;
    display: block;
    font-size: 8px;
  }
  .legal-footer p {
    margin-top: 9px;
    text-align: left;
  }
  .stem {
    font-size: 16px;
  }
  .qwrap {
    padding: 26px 18px;
  }
  .exam-head-in {
    padding: 12px 18px;
    gap: 8px;
  }
  .exam-head-in .small {
    font-size: 10px;
  }
  .timer {
    font-size: 20px;
  }
  .pace {
    font-size: 10px;
  }
  .opt-btn {
    padding: 15px;
    grid-template-columns: 20px 1fr auto;
    font-size: 13px;
  }
  .opt-btn .strike {
    font-size: 10px;
  }
  .admin-form .two-col {
    grid-template-columns: 1fr;
  }
  .blueprint-line {
    grid-template-columns: 1fr 60px;
  }
  .blueprint-line input[type="date"] {
    grid-column: 1/-1;
  }
  .resume-banner {
    padding: 16px;
    align-items: center;
  }
  .resume-banner b {
    font-size: 12px;
  }
  .resume-banner p {
    font-size: 10px;
  }
  .blueprint-badge {
    white-space: normal;
  }
  .score-hero {
    grid-template-columns: 1fr;
  }
  .confirm .box {
    padding: 22px;
  }
  .tab {
    min-height: 40px;
  }
  .btn.sm {
    min-height: 38px;
  }
  .why button {
    min-height: 35px;
  }
  .strike {
    min-width: 34px;
    min-height: 30px;
  }
  .track {
    height: 7px;
  }
  .nav-grid button {
    min-height: 40px;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10191e;
    --surface: #162329;
    --surface-2: #1e2e35;
    --line: #2b3c43;
    --fg: #e5edf0;
    --muted: #a0b3bc;
    --accent: #5ccbb8;
    --accent-soft: #183c36;
    --accent-fg: #102721;
  }
  .sidebar-tip {
    border-color: var(--line);
  }
}
:root[data-theme="dark"] {
  --bg: #10191e;
  --surface: #162329;
  --surface-2: #1e2e35;
  --line: #2b3c43;
  --fg: #e5edf0;
  --muted: #a0b3bc;
  --accent: #5ccbb8;
  --accent-soft: #183c36;
  --accent-fg: #102721;
}
:root[data-theme="dark"] .sidebar-tip {
  border-color: var(--line);
}
:root[data-theme="dark"] .mode.featured {
  border-color: #28594f;
}
:root[data-theme="dark"] .mode.featured .mini-badge {
  background: #1e4840;
  color: #9ee4d5;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.document-content {
  white-space: normal;
  line-height: 1.85;
  font-size: 13px;
}
.document-content > h2 {
  font-size: 21px;
  line-height: 1.4;
  margin: 25px 0 13px;
}
.document-content > h2:first-child {
  margin-top: 0;
}
.document-content > h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 24px 0 10px;
  color: var(--accent);
}
.document-content > p {
  margin: 10px 0 20px;
  max-width: 90ch;
}
.document-content > ul,
.document-content > ol {
  padding-left: 22px;
  margin: 14px 0 25px;
}
.document-content li {
  margin: 8px 0;
}
.document-content .tbl-wrap {
  margin: 15px 0 25px;
}
.document-content code {
  font-size: 11px;
  background: var(--surface-2);
  padding: 2px 4px;
  border-radius: 3px;
}
.blueprint-line {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) 75px 145px;
}
.blueprint-line input {
  width: 100%;
  min-width: 0;
}
.admin-toolbar label {
  font-size: 12px;
}
.admin-form input:not([type="checkbox"]) {
  min-width: 0;
}
.admin-form input[type="checkbox"] {
  width: auto;
}
.admin-preview p {
  overflow-wrap: anywhere;
}
.item-row p {
  overflow-wrap: anywhere;
}
.item-row > div {
  min-width: 0;
}
.item-row > button {
  flex: none;
}
@media (max-width: 1000px) {
  .blueprint-line {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
  .blueprint-line input[type="date"] {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  .document-content {
    font-size: 12px;
  }
  .document-content > h2 {
    font-size: 18px;
  }
  .blueprint-line {
    grid-template-columns: minmax(0, 1fr);
  }
  .blueprint-line > label {
    display: grid;
    gap: 6px;
  }
  .admin-toolbar label {
    width: 100%;
  }
  .admin-toolbar input,
  .admin-toolbar select {
    width: 100%;
  }
  .item-row {
    flex-wrap: wrap;
  }
  .card {
    max-width: 100%;
  }
}

.option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 6px;
  align-items: stretch;
}
.option-row .opt-btn {
  grid-template-columns: 28px minmax(0, 1fr);
  min-width: 0;
}
.option-row > .strike {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 10px;
  font-size: 12px;
  min-height: 55px;
}
.option-row > .strike[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--fg);
}
.option-row > .strike:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.option-row > .strike:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Certification tracks share the workspace, never their progress snapshots. */
.exam-switcher {
  display: grid;
  gap: 8px;
  margin: 20px 4px 6px;
  min-width: 0;
}
.exam-switcher .eyebrow {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.exam-switcher select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg);
  padding: 10px 8px;
}
.exam-switcher #current-track {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.tip-icon #sidebar-pace {
  font: inherit;
  display: inline;
  margin: 0;
}
.track .cut {
  left: var(--exam-cut, 66.4%) !important;
}
.bank-notice {
  margin: 0;
  border-left: 4px solid var(--warn);
  background: var(--surface);
}
.bank-notice p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 8px;
  color: var(--muted);
}
.bar-in {
  overflow-y: auto;
}
.nav-label {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .exam-switcher {
    margin: 12px 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    width: 100%;
  }
  .exam-switcher select {
    max-width: 360px;
  }
  .exam-switcher #current-track {
    grid-column: 2;
  }
  .bar-in {
    overflow-y: visible;
  }
}
@media (max-width: 450px) {
  .exam-switcher {
    grid-template-columns: 1fr;
    margin: 8px 0 12px;
  }
  .exam-switcher #current-track {
    grid-column: 1;
  }
  .exam-switcher select {
    max-width: 100%;
    font-size: 14px;
  }
  .dashboard-heading .blueprint-badge {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* A lively learning-resource accent; certification controls retain their own semantics. */
.resource-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 12px 13px;
  color: #5b21b6;
  background: #f0e9ff;
  border: 1px solid #ddd0ff;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}
.resource-nav-link svg {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.resource-nav-link small {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 400;
}
.games-hub-card {
  border-color: #d8c8ff;
  background: linear-gradient(115deg, #f4eeff, #fff8ef);
}
.games-hub-top {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.games-hub-card .eyebrow {
  color: #6d28d9;
}
.games-hub-card h2 {
  margin-top: 8px;
  color: #3b176b;
  font-size: 24px;
}
.games-hub-badge {
  padding: 7px 10px;
  border-radius: 20px;
  background: #e4d5ff;
  color: #4c1d95;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.games-hub-description {
  max-width: 70ch;
  margin-top: 13px;
  color: #493963;
  font-size: 13px;
  line-height: 1.7;
}
.games-hub-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 15px 0 18px;
  list-style: none;
}
.games-hub-benefits li {
  padding: 7px 10px;
  border-radius: 7px;
  background: #e4d5ff;
  color: #4c1d95;
  font-size: 11px;
  font-weight: 600;
}
.games-hub-benefits li:nth-child(2) {
  background: #cffafe;
  color: #155e75;
}
.games-hub-benefits li:nth-child(3) {
  background: #ffedd5;
  color: #9a3412;
}
.games-hub-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.games-hub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  background: #6d28d9;
  border-color: #6d28d9;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.games-hub-cta:hover {
  background: #5b21b6;
  border-color: #5b21b6;
  color: #fff;
}
.games-hub-note {
  color: #5b4b72;
  font-size: 10px;
  line-height: 1.7;
}
.resource-nav-link:focus-visible,
.games-hub-cta:focus-visible {
  outline: 3px solid #0891b2;
  outline-offset: 3px;
}
:root[data-theme="dark"] .games-hub-card {
  background: linear-gradient(115deg, #281c41, #33271d);
  border-color: #7254aa;
}
:root[data-theme="dark"] .resource-nav-link {
  background: #2d2048;
  border-color: #7254aa;
  color: #e9d5ff;
}
:root[data-theme="dark"] .games-hub-card h2 {
  color: #f3e8ff;
}
:root[data-theme="dark"] .games-hub-card .eyebrow {
  color: #d8b4fe;
}
:root[data-theme="dark"] .games-hub-description,
:root[data-theme="dark"] .games-hub-note {
  color: #dfd4ef;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .games-hub-card {
    background: linear-gradient(115deg, #281c41, #33271d);
    border-color: #7254aa;
  }
  :root:not([data-theme="light"]) .resource-nav-link {
    background: #2d2048;
    border-color: #7254aa;
    color: #e9d5ff;
  }
  :root:not([data-theme="light"]) .games-hub-card h2 {
    color: #f3e8ff;
  }
  :root:not([data-theme="light"]) .games-hub-card .eyebrow {
    color: #d8b4fe;
  }
  :root:not([data-theme="light"]) .games-hub-description,
  :root:not([data-theme="light"]) .games-hub-note {
    color: #dfd4ef;
  }
}
@media (max-width: 760px) {
  .resource-nav-link {
    margin-top: 0;
    align-self: flex-start;
  }
}
@media (max-width: 450px) {
  .games-hub-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .games-hub-cta {
    width: 100%;
  }
  .games-hub-note {
    font-size: 11px;
  }
}

.sso-entry {
  max-width: 760px;
  margin: 24px auto;
}
.sso-entry h1 {
  margin: 12px 0 18px;
}
.sso-entry p {
  margin: 14px 0;
  line-height: 1.7;
}
.sso-entry-actions {
  margin: 18px 0;
  gap: 12px;
}
.sso-entry-actions a,
.sso-entry-actions button {
  min-height: 44px;
}
#sso-status {
  padding: 12px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
@media (max-width: 450px) {
  .sso-entry {
    margin: 12px 0;
  }
  .sso-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
