:root {
  --bg: #f4f7fb;
  --panel: rgba(255,255,255,.9);
  --text: #182230;
  --muted: #667085;
  --line: #e4eaf3;
  --brand: #2563eb;
  --brand-2: #4f8cff;
  --brand-soft: #e8f0ff;
  --soft: #f6f9fe;
  --ok: #027a48;
  --warn: #175cd3;
  --danger: #b42318;
  --shadow: 0 20px 48px rgba(15,23,42,.08);
  --shadow-soft: 0 10px 24px rgba(15,23,42,.05);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.10), transparent 24%),
    radial-gradient(circle at top right, rgba(79,140,255,.10), transparent 20%),
    linear-gradient(180deg, #edf4ff 0px, #f4f7fb 280px);
}
.wrap { max-width: 1240px; margin: 0 auto; padding: 24px 18px 64px; }
.hero, .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}
.hero {
  padding: 34px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(79,140,255,.12), transparent 28%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid rgba(31,36,48,.08);
  background: rgba(255,255,255,.92);
}
h1 { margin: 16px 0 12px; font-size: 44px; line-height: 1.06; letter-spacing: -.05em; }
p { color: var(--muted); line-height: 1.8; }
.grid, .stats, .nav-grid, .form-grid, .recommend-grid, .score-grid, .summary-grid, .page-grid, .mini-grid, .hero-grid {
  display: grid;
  gap: 18px;
}
.stats { grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 22px; }
.nav-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  margin-top: 12px;
  gap: 10px;
  align-items: stretch;
}
.form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.recommend-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.score-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.summary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.page-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.mini-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.hero-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
.card { padding: 22px; }
.card h2, .card h3, .card h4 { margin: 0; }
.card-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; margin-bottom: 14px; }
.stat .k, .mini { color: var(--muted); font-size: 13px; }
.stat .v { margin-top: 8px; font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.stat .s { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.badge, .tag, .pill {
  display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; border: 1px solid #dbe7ff; background: var(--brand-soft); color: var(--brand);
}
.pill { background: var(--soft); color: #475467; border-color: var(--line); }
.field { margin-bottom: 14px; }
.choice-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.choice-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid #d8dee9;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: var(--shadow-soft);
}
.choice-chip.active {
  border-color: rgba(37,99,235,.55);
  background: linear-gradient(135deg, #dfeaff, #eef4ff);
  color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10), 0 14px 26px rgba(37,99,235,.10);
}
label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #344054; }
input, textarea, select {
  width: 100%; padding: 15px 16px; border-radius: 16px; border: 1px solid #d8dee9; background: #fff;
  color: var(--text); font-size: 14px; outline: none; resize: vertical; transition: .18s ease;
}
select {
  height: 52px;
  min-height: 52px;
  line-height: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #98a2b3 50%), linear-gradient(135deg, #98a2b3 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
input::placeholder, textarea::placeholder { color: #98a2b3; }
input:focus, textarea:focus, select:focus { border-color: rgba(37,99,235,.45); box-shadow: 0 0 0 4px rgba(37,99,235,.10); }
input[readonly].locked-input {
  background: #f6f9fe;
  color: #344054;
  border-color: #dbe4f0;
  font-weight: 700;
  cursor: default;
}
input[readonly].locked-input:focus {
  box-shadow: none;
  border-color: #dbe4f0;
}
textarea { min-height: 100px; }
.note, .field-note { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.btn-row, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-tips { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.hero-tip-card { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid #e3ebf7; box-shadow: var(--shadow-soft); }
.hero-tip-card strong { display: block; margin-bottom: 6px; font-size: 14px; }
.hero-tip-card span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 18px; border-radius: 16px;
  text-decoration: none; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; box-shadow: 0 14px 28px rgba(37,99,235,.20);
}
.btn.secondary { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost { background: rgba(255,255,255,.85); color: var(--brand); border: 1px solid #dbe7ff; box-shadow: none; }
.btn.save-primary {
  font-size: 16px;
  font-weight: 800;
  min-width: 108px;
}
.btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.save-success-note {
  margin-top: 10px;
  color: #027a48;
  font-size: 14px;
  font-weight: 700;
}
.nav-card { text-decoration: none; color: inherit; display: block; }
.nav-card .card {
  height: 100%;
  min-height: 86px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.nav-card .card h3 {
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.25;
}
.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.nav-current-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 20px rgba(37,99,235,.18);
}
.nav-card:hover .card { transform: translateY(-2px); box-shadow: var(--shadow); }
.nav-card.active .card {
  border-color: rgba(37,99,235,.48);
  background: linear-gradient(180deg, #eef4ff, #ffffff);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10), 0 18px 34px rgba(37,99,235,.10);
}
.nav-card.active .mini {
  color: var(--brand);
  font-weight: 800;
}
.nav-card.active .card h3 {
  color: var(--brand);
}
.status { margin-top: 12px; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: #f8fbff; border: 1px solid #e1ebfb; }
.status-ok { color: var(--ok); }
.status-error { color: var(--danger); }
.status-busy { color: var(--warn); }
.score-box, .summary-box, .mini-panel {
  padding: 16px; border-radius: 18px; background: #fbfcfe; border: 1px solid var(--line);
}
.form-section {
  margin-top: 18px; padding-top: 18px; border-top: 1px dashed #dbe4f0;
}
.form-section:first-of-type {
  margin-top: 0; padding-top: 0; border-top: 0;
}
.form-section-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px;
}
.form-section-title h3 { margin: 0; font-size: 18px; }
.form-section-title p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.section-divider {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.junior-score-layout {
  display: grid;
  gap: 14px;
}
.score-group {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfdff, #f7faff);
  border: 1px solid #e3ecfb;
}
.score-group-total {
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  border-color: #dbe7ff;
}
.score-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}
.score-group-head h3 {
  margin: 0;
  font-size: 16px;
}
.score-group-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.compact-grid {
  gap: 12px;
}
.junior-validation {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.junior-validation.ok {
  color: var(--ok);
  border-color: rgba(2,122,72,.18);
  background: rgba(2,122,72,.05);
}
.junior-validation.warn {
  color: #b54708;
  border-color: rgba(181,71,8,.18);
  background: rgba(181,71,8,.05);
}
.result-highlight {
  padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #f2f7ff, #f9fbff); border: 1px solid #dbe7ff;
}
.result-highlight strong { display: block; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.result-highlight .big { font-size: 28px; font-weight: 800; letter-spacing: -.04em; color: var(--text); }
.result-highlight .sub { margin-top: 6px; font-size: 13px; color: var(--muted); }
.result-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.result-summary-item { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.result-summary-item .k { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.result-summary-item .v { font-size: 16px; font-weight: 800; }
.score-box strong, .summary-box strong, .mini-panel strong { display: block; margin-bottom: 8px; }
.score-value, .score-chip { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; }
.school-card { min-height: 260px; }
.school-meta { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 10px 0 12px; }
.school-score-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.school-score-item { padding: 12px; border-radius: 16px; background: #f8fbff; border: 1px solid #e3ecfb; }
.school-score-item .k { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.school-score-item .v { font-size: 18px; font-weight: 800; }
.risk-low { color: #027a48; }
.risk-mid { color: #175cd3; }
.risk-high { color: #b54708; }
.empty-state { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.72); border: 1px dashed #cfd8e6; color: var(--muted); text-align: center; }
.full { grid-column: 1 / -1; }
.sticky { position: sticky; top: 20px; }
.section-head { margin: 30px 0 14px; }
.section-head h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.8; }
.metric-list { display: grid; gap: 12px; margin-top: 14px; }
.metric-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fbfcff; border: 1px solid var(--line); }
.metric-row span { color: var(--muted); font-size: 13px; }
.metric-row strong { font-size: 14px; }
.split-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.task-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text); }
.task-list li { line-height: 1.8; color: var(--text); }
.plan-section-label {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2f6ff, #f7f4ff);
  color: #5b6b8c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.plan-shell { display: grid; gap: 22px; }
.plan-header {
  padding: 34px 34px 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f8ff 48%, #f3f7ff 100%);
  border: 1px solid #dbe7ff;
  box-shadow: 0 24px 70px rgba(15,23,42,.08);
  position: relative;
  overflow: hidden;
}
.plan-header::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37,99,235,.14), rgba(37,99,235,0));
}
.plan-header-top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.plan-kicker { font-size: 13px; color: #6b7280; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan-title { margin: 12px 0 10px; font-size: 46px; line-height: 1.02; letter-spacing: -.06em; max-width: 12ch; }
.plan-subtitle { margin: 0; max-width: 760px; font-size: 15px; }
.plan-student-badge {
  min-width: 280px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid #dbe7ff;
  box-shadow: var(--shadow-soft);
}
.plan-student-badge strong { display: block; margin-bottom: 8px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.plan-student-badge .name { font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.plan-student-badge .sub { margin-top: 6px; color: var(--muted); }
.plan-overview {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 18px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.plan-focus {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #eff4ff, #ffffff);
  border: 1px solid #dbe7ff;
}
.plan-focus strong { display: block; margin-bottom: 10px; color: #6b7280; font-size: 13px; }
.plan-focus .big { font-size: 34px; font-weight: 800; line-height: 1.18; letter-spacing: -.05em; }
.plan-focus .sub { margin-top: 10px; color: var(--muted); font-size: 14px; }
.plan-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.plan-mini-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid #e4eaf3;
  box-shadow: var(--shadow-soft);
}
.plan-mini-card .k { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.plan-mini-card .v { font-size: 16px; font-weight: 800; line-height: 1.5; }
.plan-board { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 18px; align-items: start; }
.timeline-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,249,255,.99));
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(15,23,42,.07);
  position: relative;
}
.timeline-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px dashed rgba(37,99,235,.12);
  pointer-events: none;
}
.timeline-card > * { position: relative; z-index: 1; }
.timeline-list { display: grid; gap: 16px; margin-top: 8px; position: relative; }
.timeline-list::before {
  content: "";
  position: absolute;
  left: 84px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(37,99,235,.24), rgba(124,58,237,.18));
}
.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
}
.timeline-phase {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f0ff, #eef2ff);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(244,247,251,.95);
}
.timeline-content {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfcff, #ffffff);
  border: 1px solid #e4eaf3;
  box-shadow: 0 10px 26px rgba(15,23,42,.04);
}
.timeline-item strong { display: block; margin-bottom: 6px; font-size: 16px; }
.timeline-item div { line-height: 1.8; color: #344054; }
.plan-board .card h2,
.timeline-card h2 { font-size: 24px; letter-spacing: -.03em; }
.plan-board .card p,
.timeline-card p { font-size: 14px; }
.plan-side-grid { display: grid; gap: 18px; }
.plan-side-grid .card { min-height: 100%; }
.plan-side-grid .card,
.plan-note {
  position: relative;
  overflow: hidden;
}
.plan-side-grid .card::before,
.plan-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(37,99,235,.72), rgba(124,58,237,.42));
}
.plan-side-grid .card > *,
.plan-note > * { position: relative; z-index: 1; }
.plan-note {
  padding: 20px 20px 20px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8ef, #fff);
  border: 1px solid #fde7c2;
  line-height: 1.8;
}
.plan-note strong { display: block; margin-bottom: 8px; }
.step-tip { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #edf3ff, #f8fbff); border: 1px solid #dbe7ff; color: #1849a9; font-weight: 600; line-height: 1.8; }
.dashboard-entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.data-hub-section {
  padding: 24px;
}
.data-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.data-hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid #dbe7ff;
  background: linear-gradient(180deg, #fbfdff, #f5f9ff);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.data-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.35);
}
.data-hub-top, .data-hub-tags, .admin-action-grid, .toolbar-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.data-hub-card h3 {
  margin: 14px 0 8px;
  font-size: 24px;
  letter-spacing: -.03em;
}
.data-hub-card p {
  margin: 0;
}
.data-hub-tags {
  margin-top: 16px;
}
.admin-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.upload-dropzone {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  border: 1px dashed #bfd3ff;
  background: linear-gradient(135deg, #f7faff, #ffffff);
  cursor: pointer;
}
.upload-dropzone input {
  display: none;
}
.upload-dropzone strong {
  font-size: 15px;
}
.upload-dropzone span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.table-shell {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-top: 16px;
  background: #fff;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.data-table th {
  background: #f8fbff;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.upload-preview {
  min-height: 160px;
  padding: 16px;
  border-radius: 18px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-wrap;
}
.preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.preview-table th,
.preview-table td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  text-align: left;
}
@media (max-width: 1080px) {
  .stats, .recommend-grid, .score-grid, .summary-grid, .school-score-grid, .mini-grid, .result-summary-grid, .plan-mini-grid, .data-hub-grid, .dashboard-entry-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-grid, .hero-grid, .plan-overview, .plan-board, .admin-layout { grid-template-columns: 1fr; }
  .plan-header-top { display: grid; grid-template-columns: 1fr; }
  .plan-title { max-width: none; }
  .timeline-item { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 760px) {
  .wrap { padding: 16px 12px 44px; }
  .hero, .card { border-radius: 22px; }
  .hero { padding: 22px 18px; }
  h1 { font-size: 32px; }
  .stats, .form-grid, .recommend-grid, .score-grid, .summary-grid, .school-score-grid, .mini-grid, .hero-tips, .result-summary-grid, .plan-mini-grid, .data-hub-grid, .dashboard-entry-grid { grid-template-columns: 1fr; }
  .nav-grid {
    grid-template-columns: repeat(6, minmax(116px,1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .nav-grid::-webkit-scrollbar { height: 6px; }
  .nav-grid::-webkit-scrollbar-thumb { background: #cfd8e6; border-radius: 999px; }
  .nav-card .card { min-height: 108px; }
  .plan-title { font-size: 32px; }
  .plan-header { padding: 22px 18px; }
  .plan-student-badge { min-width: 0; }
  .timeline-list::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-phase { justify-self: center; box-shadow: 0 0 0 6px rgba(244,247,251,.95); }
  .card-head { flex-direction: column; }
  .btn-row, .hero-actions, .split-actions, .admin-action-grid, .toolbar-row { flex-direction: column; align-items: stretch; }
  .data-table { min-width: 680px; }
}
