:root {
  --bg: #f3f7fd;
  --surface: #ffffff;
  --surface-soft: #f6f9ff;
  --ink: #0f1729;
  --muted: #667085;
  --line: #e1e8f2;
  --primary: #2463eb;
  --primary-dark: #1d4ed8;
  --teal: #0c9d8b;
  --amber: #d97706;
  --rose: #e0526f;
  --green: #16855f;
  --shadow: 0 16px 38px rgba(40, 67, 111, 0.08);
  --shadow-soft: 0 8px 22px rgba(40, 67, 111, 0.065);
  --shadow-tight: 0 2px 8px rgba(40, 67, 111, 0.045);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 12% 2%, rgba(64, 124, 238, 0.11), transparent 24rem),
    radial-gradient(circle at 92% 10%, rgba(106, 170, 232, 0.1), transparent 26rem),
    linear-gradient(145deg, #f9fbff 0%, #f2f7fe 48%, #f7faff 100%);
  background-attachment: fixed;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0.005em;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  padding: 24px 16px;
  border-right: 1px solid #e3eaf4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 16px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2b6cff 0%, #2563eb 46%, #0c9d8b 130%);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-list {
  display: grid;
  gap: 7px;
}

.nav-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  padding: 0 12px;
  border-radius: 9px;
  color: #4a5770;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.nav-item svg {
  width: 18px;
  height: 18px;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-dark);
  background: #eaf2ff;
}

.nav-item:hover {
  transform: translateX(2px);
}

.nav-group {
  position: relative;
  display: grid;
  gap: 4px;
}

.nav-group-toggle {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 16px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: #42536c;
  background: transparent;
  font: inherit;
  text-align: left;
}

.nav-group-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-group-toggle strong {
  font-size: 14px;
  font-weight: 720;
}

.nav-group-toggle i {
  color: #8491a4;
  font-size: 15px;
  font-style: normal;
  text-align: center;
  transition: transform 0.18s ease;
}

.nav-group-toggle:hover,
.nav-group:has(.nav-item.active) .nav-group-toggle {
  color: var(--primary-dark);
  background: linear-gradient(90deg, #eef4ff, #f4f8ff);
}

.nav-group.is-open .nav-group-toggle i {
  transform: rotate(180deg);
}

.nav-subitems {
  display: none;
  gap: 3px;
  margin-left: 20px;
  padding-left: 10px;
  border-left: 1px solid #dbe5f3;
}

.nav-group.is-open .nav-subitems {
  display: grid;
}

.nav-subitems .nav-item {
  min-height: 35px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.advisor-card {
  margin-top: auto;
  padding: 16px;
  border: 1px solid #dce7fb;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #edf6ff 100%);
}

.advisor-card .card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
}

.advisor-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.text-button {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  background: var(--primary);
}

.workspace {
  min-width: 0;
  padding: 32px 34px 48px;
}

#workspace {
  zoom: var(--workspace-zoom, 1);
}

body.workspace-zoom-dragging,
body.workspace-zoom-dragging * {
  cursor: ns-resize !important;
  user-select: none !important;
}

.workspace-zoom-hint {
  position: fixed;
  z-index: 90;
  right: 28px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 12px;
  align-items: center;
  max-width: min(420px, calc(100vw - 36px));
  padding: 11px 14px;
  border: 1px solid rgba(160, 190, 229, 0.55);
  border-radius: 11px;
  color: #334761;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(25, 50, 88, 0.17);
  backdrop-filter: blur(12px);
}

.workspace-zoom-hint span {
  color: #6b7b91;
  font-size: 10.5px;
  font-weight: 750;
}

.workspace-zoom-hint strong {
  grid-column: 2;
  grid-row: 1 / 3;
  color: #215eae;
  font-size: 18px;
  font-weight: 800;
}

.workspace-zoom-hint small {
  color: #7d899b;
  font-size: 10px;
  line-height: 1.45;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 720;
  letter-spacing: 0.055em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
  min-width: 360px;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(460px, 100%);
  height: 44px;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(219, 228, 243, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-tight);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.icon-button,
.primary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button svg,
.primary-action svg,
.ghost-action svg,
.text-button svg {
  width: 18px;
  height: 18px;
}

.primary-action {
  padding: 0 15px;
  border-color: var(--primary);
  color: #fff;
  background: #2463eb;
  box-shadow: 0 6px 16px rgba(36, 99, 235, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.primary-action:hover {
  filter: brightness(1.04);
  box-shadow: 0 9px 20px rgba(36, 99, 235, 0.24);
  transform: translateY(-1px);
}

.ghost-action {
  padding: 0 13px;
  height: 40px;
  color: #40516c;
  background: #fff;
}

.subtle {
  background: #f6f9fd;
}

.filter-band {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(220, 228, 242, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.program-filter-panel {
  display: grid;
  align-items: stretch;
  gap: 12px;
  padding: 16px;
}

.filter-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: flex-start;
  gap: 12px;
}

.filter-label {
  padding-top: 9px;
  color: #7a8798;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.filter-group {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 3px;
  border-radius: 8px;
  background: #eef3f8;
}

.filter-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sort-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sort-select {
  min-width: 150px;
  height: 38px;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  padding: 0 12px;
  color: #40516c;
  background: #fff;
  font: inherit;
  font-weight: 600;
}

.sort-hint {
  color: #8a95a8;
  font-size: 12px;
}

.segmented,
.chip {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  color: #526073;
  background: transparent;
  font-weight: 600;
}

.segmented {
  padding: 0 12px;
}

.segmented.active {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 2px 8px rgba(24, 36, 58, 0.08);
}

.chip {
  padding: 0 13px;
  border: 1px solid transparent;
  background: #f5f8fc;
}

.chip.active,
.chip:hover {
  color: var(--primary-dark);
  border-color: #c8d8ff;
  background: #ecf3ff;
}

.major-category-directory {
  margin-bottom: 18px;
}

.major-directory-title {
  margin: 0 0 12px;
  color: #1f2a3d;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.major-directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 2px;
}

.major-directory-head .major-directory-title {
  margin-bottom: 0;
}

.major-clear-btn {
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid #e1e8f2;
  border-radius: 999px;
  color: #40516c;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
}

.major-clear-btn:hover {
  color: var(--primary-dark);
  border-color: #c8d8ff;
  background: #f1f6ff;
}

.major-clear-btn.current {
  color: #7a8798;
  cursor: default;
}

.major-clear-btn.active {
  color: #b3373f;
  border-color: #ffd2d8;
  background: #fff3f4;
}

.major-clear-btn.active:hover {
  color: #fff;
  border-color: #d64550;
  background: #d64550;
}

.major-category-directory .section-title-row {
  margin-bottom: 12px;
}

.major-category-directory .section-title-row > span {
  color: #7a8798;
  font-size: 13px;
}

.major-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.major-category-card {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid rgba(37, 99, 235, 0.18);
}

.major-category-card strong {
  display: block;
  margin-bottom: 12px;
  color: #1f2a3d;
  font-size: 15px;
  font-weight: 600;
}

.major-category-card p {
  margin: 7px 0 12px;
  min-height: 38px;
  color: #7a8798;
  font-size: 13px;
  line-height: 1.45;
}

.major-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.major-chip-list button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #e1e8f2;
  border-radius: 7px;
  color: #40516c;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 500;
}

.major-chip-list button:hover {
  color: var(--primary-dark);
  border-color: #c8d8ff;
  background: #f1f6ff;
}

.major-chip-list button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #6d5ae6);
  box-shadow: 0 4px 10px rgba(60, 90, 220, 0.22);
}

.hero-grid,
.content-grid,
.lower-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.56fr) minmax(320px, 0.9fr);
  margin-bottom: 18px;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.lower-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-top: 18px;
}

.overview-panel,
.map-panel,
.main-panel,
.side-panel,
.calendar-panel {
  border: 1px solid rgba(220, 228, 242, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.overview-panel,
.main-panel,
.side-panel,
.calendar-panel {
  padding: 18px;
}

.map-panel {
  min-height: 310px;
  overflow: hidden;
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.panel-head.compact {
  margin-bottom: 14px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pipe-stage {
  min-height: 132px;
  padding: 14px;
  border: 1px solid #e2e9f5;
  border-radius: 8px;
  background: #f8fbff;
}

.pipe-stage span,
.pipe-stage small,
.metric + p {
  color: var(--muted);
}

.pipe-stage span {
  font-size: 13px;
  font-weight: 700;
}

.pipe-stage strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 34px;
  line-height: 1;
}

.pipe-stage small {
  font-size: 12px;
}

.pipe-stage.focus {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
}

.pipe-stage.focus span,
.pipe-stage.focus small {
  color: rgba(255, 255, 255, 0.82);
}

.insight-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.insight-strip > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f8fb;
}

.metric {
  font-size: 25px;
  font-weight: 900;
  color: var(--primary);
}

.metric.good {
  color: var(--green);
}

.metric.warn {
  color: var(--amber);
}

.insight-strip p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.map-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.campus-visual {
  position: relative;
  height: 228px;
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(37, 99, 235, 0.1), rgba(15, 159, 143, 0.15)),
    repeating-linear-gradient(90deg, rgba(23, 32, 51, 0.05) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(23, 32, 51, 0.045) 0 1px, transparent 1px 36px),
    #f4fbfb;
}

.campus-visual::before,
.campus-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.campus-visual::before {
  width: 156px;
  height: 156px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 32px solid rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px #d5e4f8;
}

.campus-visual::after {
  width: 34px;
  height: 34px;
  left: calc(50% - 17px);
  top: calc(50% - 17px);
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 0 0 12px rgba(37, 99, 235, 0.1);
}

.orbital-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(37, 99, 235, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 220px;
  height: 160px;
}

.ring-two {
  width: 310px;
  height: 206px;
}

.school-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(35, 63, 113, 0.2);
}

.node-a {
  left: 19%;
  top: 24%;
  background: var(--primary);
}

.node-b {
  right: 18%;
  top: 30%;
  background: var(--teal);
}

.node-c {
  right: 27%;
  bottom: 15%;
  background: var(--rose);
}

.node-d {
  left: 29%;
  bottom: 18%;
  background: var(--amber);
}

.node-e {
  left: 46%;
  top: 12%;
  background: var(--green);
}

.heat-card {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  width: min(210px, calc(100% - 32px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.heat-card strong,
.heat-card span {
  display: block;
}

.heat-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.school-table {
  display: grid;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.school-search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.school-search-meta strong {
  color: var(--ink);
  font-weight: 680;
}

.school-search-meta button {
  border: 0;
  color: var(--primary-dark);
  background: transparent;
  font-weight: 650;
  cursor: pointer;
}

.table-head,
.school-row {
  display: grid;
  grid-template-columns: minmax(258px, 1.32fr) minmax(206px, 0.92fr) minmax(92px, 0.4fr) minmax(100px, 0.42fr) minmax(120px, 0.52fr) minmax(72px, 0.3fr) minmax(132px, 0.54fr);
  align-items: center;
  gap: 12px;
  min-width: 1020px;
}

.table-head {
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.school-row {
  min-height: 92px;
  padding: 12px;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  background: #fff;
}

.school-row:hover {
  border-color: #cbdafe;
  box-shadow: 0 10px 26px rgba(43, 64, 100, 0.09);
}

.school-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.school-logo {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #334155;
  font-weight: 700;
  background: #eef2f7;
}

.school-crest {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px 14px 18px 18px;
  color: #fff;
  background: linear-gradient(145deg, #64748b, #334155);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 22px rgba(15, 23, 42, 0.12);
}

.school-crest::before {
  content: "";
  position: absolute;
  inset: 7px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px 10px 14px 14px;
}

.school-crest.has-logo {
  border-color: #d7e3f4;
  background: #fff;
}

.school-crest.has-logo::before {
  display: none;
}

.school-crest img {
  position: absolute;
  inset: 4px;
  z-index: 2;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
}

.school-crest.has-logo:not(.logo-failed) span,
.school-crest.has-logo:not(.logo-failed) em {
  opacity: 0;
}

.school-crest span {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
}

.school-crest em {
  position: absolute;
  right: 7px;
  bottom: 5px;
  z-index: 1;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  opacity: 0.86;
}

.school-crest.compact {
  width: 38px;
  height: 38px;
  border-radius: 11px 11px 14px 14px;
}

.school-crest.compact::before {
  inset: 6px 8px 13px;
  border-radius: 8px 8px 11px 11px;
}

.school-crest.compact span {
  font-size: 15px;
}

.school-crest.compact em {
  display: none;
}

.crest-elite {
  background: linear-gradient(145deg, #7c3aed, #334155);
}

.crest-tech {
  background: linear-gradient(145deg, #0f9f8f, #334155);
}

.crest-finance {
  background: linear-gradient(145deg, #d97706, #475569);
}

.crest-education {
  background: linear-gradient(145deg, #8b5cf6, #475569);
}

.crest-medical {
  background: linear-gradient(145deg, #16a34a, #334155);
}

.crest-law {
  background: linear-gradient(145deg, #be123c, #475569);
}

.crest-agri {
  background: linear-gradient(145deg, #65a30d, #334155);
}

.school-title strong,
.school-title small,
.cell-main,
.cell-sub {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-title small,
.cell-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.school-source-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  border-radius: 5px;
  color: #37638f;
  background: #eaf3fc;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 760;
  vertical-align: 2px;
}

.cell-main {
  font-size: 14px;
  font-weight: 650;
}

.program-cell .cell-main {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.45;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-plan-cell {
  display: grid;
  gap: 4px;
  justify-items: start;
  min-width: 0;
}

.rank-plan-cell .cell-sub {
  margin-top: 0;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--primary-dark);
  background: rgba(37, 99, 235, 0.09);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rank-badge.is-order {
  border-color: var(--line);
  color: #334155;
  background: var(--surface-soft);
}

.rank-badge.is-estimate {
  color: var(--amber);
  background: rgba(217, 119, 6, 0.1);
}

.rank-badge.is-absent {
  color: var(--muted);
  background: #f1f5f9;
}

.program-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 1020px;
  padding: 10px 2px 0;
}

.pagination-info {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.pagination-info strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination-controls label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
  color: var(--muted);
  font-size: 13px;
}

.pagination-controls select {
  height: 32px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  padding: 0 8px;
  color: #334155;
  background: #fff;
}

.page-btn {
  min-width: 34px;
  height: 32px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  padding: 0 10px;
  color: #40516c;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
}

.page-btn.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.page-btn:disabled {
  color: #a8b2c3;
  background: #f5f7fb;
  cursor: not-allowed;
}

.page-ellipsis {
  color: var(--muted);
  padding: 0 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.badge.risk-low {
  color: #0c6d51;
  background: #dbf4eb;
}

.badge.risk-mid {
  color: #9a5a00;
  background: #fff0cd;
}

.badge.risk-high {
  color: #b42345;
  background: #ffe4eb;
}

.row-action {
  width: fit-content;
  min-width: 58px;
  height: 34px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #f1f6ff;
  font-weight: 650;
}

.row-action.premium {
  border-color: #ffd6b8;
  color: #d75000;
  background: #fff7f1;
}

.row-action.added {
  border-color: #b8e2c6;
  color: #047857;
  background: #ecfdf5;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.right-rail {
  display: grid;
  gap: 18px;
}

.side-panel h2 {
  font-size: 18px;
}

.todo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #e8eef7;
  color: #445169;
  font-size: 14px;
  line-height: 1.45;
}

.todo:first-of-type {
  border-top: 0;
}

.todo input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--primary);
}

.todo.done span {
  color: #8a95a8;
  text-decoration: line-through;
}

.score-pill {
  display: grid;
  min-width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #e9f1ff;
  font-weight: 900;
}

.strategy-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 10px;
  padding: 13px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid #e4ebf6;
  background: #fff;
}

.strategy-card span {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.strategy-card strong {
  align-self: end;
}

.strategy-card small {
  color: var(--muted);
}

.strategy-card.rush span {
  background: var(--rose);
}

.strategy-card.stable span {
  background: var(--primary);
}

.strategy-card.safe span {
  background: var(--green);
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fff;
}

.news-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.news-item time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.news-tag {
  display: inline-grid;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #0c6d51;
  background: #dbf4eb;
  font-size: 12px;
  font-weight: 800;
}

.news-tag.accent {
  color: #9a5a00;
  background: #fff0cd;
}

.news-tag.calm {
  color: #1d4ed8;
  background: #e5efff;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  content: "";
  width: 2px;
  background: #dce6f5;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
}

.timeline-item > span {
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #a7b2c3;
  box-shadow: 0 0 0 1px #dce6f5;
}

.timeline-item.active > span {
  background: var(--primary);
}

.timeline-item strong {
  display: block;
  font-size: 14px;
}

.timeline-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.empty-state {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px dashed #c7d6ee;
  border-radius: 8px;
  color: var(--muted);
  background: #f8fbff;
  font-weight: 700;
}

.empty-state.compact {
  min-height: 74px;
  align-content: center;
  gap: 4px;
  text-align: center;
  font-weight: 500;
}

.empty-state.compact strong {
  color: #4b5a70;
  font-size: 14px;
  font-weight: 700;
}

.followed-change-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.followed-change-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e5ecf7;
  border-radius: 10px;
  background: #fbfdff;
}

.followed-change-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.followed-change-head > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.followed-change-head strong {
  color: #26324a;
  font-size: 15px;
  font-weight: 720;
}

.followed-change-head span {
  color: var(--muted);
  font-size: 12px;
}

.followed-change-news {
  display: grid;
  gap: 6px;
  padding: 8px 0 2px;
  border-top: 1px dashed #e2e9f4;
}

.followed-change-news-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
}

.followed-change-news-row em {
  padding: 1px 7px;
  border-radius: 999px;
  color: #2f5fb3;
  background: #eaf2ff;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.followed-change-news-row span {
  min-width: 0;
  overflow: hidden;
  color: #44536c;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.followed-change-news-row small {
  color: var(--muted);
  font-size: 11px;
}

.followed-change-news-row.muted span {
  color: var(--muted);
  white-space: normal;
}

.followed-change-actions {
  display: flex;
  gap: 8px;
}

[hidden] {
  display: none !important;
}

.module-panel {
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.module-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}

.module-title h2 {
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.022em;
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding: 20px;
  border: 1px solid #e3eaf4;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-tight);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.module-card.clickable,
.strategy-card,
.news-item,
.pipe-stage,
.timeline-item {
  cursor: pointer;
}

.module-card.clickable:hover,
.strategy-card:hover,
.news-item:hover {
  border-color: #c3d5fb;
  box-shadow: 0 16px 32px rgba(35, 63, 113, 0.12);
  transform: translateY(-2px);
}

.module-card strong {
  font-size: 16px;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.module-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 680;
}

.stat-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-pill {
  display: inline-grid;
  width: fit-content;
  min-height: 28px;
  place-items: center;
  justify-self: start;
  padding: 0 10px;
  border-radius: 999px;
  color: #38516f;
  background: #eef4fb;
  font-size: 12px;
  font-weight: 800;
}

.mini-table {
  display: grid;
  gap: 8px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5ecf7;
  border-radius: 8px;
  background: #fff;
}

.mini-row strong,
.mini-row small {
  display: block;
}

.mini-row small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.mini-row button,
.small-action {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #f2f7ff;
  font-weight: 800;
}

.small-action.danger {
  border-color: #ffd7d7;
  color: #b42318;
  background: #fff5f5;
}

.small-action.added {
  border-color: #b8e2c6;
  color: #047857;
  background: #ecfdf5;
}

.compare-layout,
.study-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.compare-form,
.study-control,
.compare-results,
.plan-output {
  padding: 14px;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  background: #f8fbff;
}

.compare-form,
.study-control {
  display: grid;
  gap: 12px;
}

.choice-grid {
  display: grid;
  gap: 8px;
}

.choice-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #e2eaf6;
  border-radius: 8px;
  background: #fff;
  color: #42506a;
  font-size: 13px;
  font-weight: 800;
}

.choice-pill input,
.check-row input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.score-field output {
  float: right;
  min-width: 28px;
  color: var(--primary);
  text-align: right;
}

.score-field input[type="range"] {
  padding: 0;
  accent-color: var(--primary);
}

.weakness-picker {
  display: grid;
  gap: 10px;
}

.weakness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.weakness-group {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

.weakness-group strong {
  color: #334155;
  font-size: 13px;
  font-weight: 650;
}

.weakness-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.weakness-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #e2eaf6;
  border-radius: 7px;
  padding: 0 9px;
  color: #526073;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 550;
}

.weakness-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weakness-chip.active,
.weakness-chip:hover {
  color: var(--primary-dark);
  border-color: #c8d8ff;
  background: #f1f6ff;
}

.baseline-ref {
  margin-top: 14px;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 10px;
  background: rgba(13, 110, 253, 0.035);
}
.baseline-ref summary {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0d6efd;
  user-select: none;
}
.baseline-ref .table-scroll {
  padding: 0 10px 10px;
}
.baseline-ref .detail-note {
  margin: 8px 14px 12px;
}
.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #e2eaf6;
  border-radius: 8px;
  background: #fff;
}

.result-summary h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.result-summary p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.score-bubble {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--primary), var(--teal));
}

.result-list {
  display: grid;
  gap: 10px;
}

.compare-decision {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.decision-main h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.decision-main p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.decision-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f7fafc;
}

.decision-grid article > span {
  color: var(--muted);
  font-size: 12px;
}

.decision-grid article > strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.decision-grid article > p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.compare-matrix {
  display: grid;
  gap: 1px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  background: #e4ebf6;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.25fr) 64px 76px 64px 88px minmax(104px, 0.9fr) 74px 68px;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  background: #fff;
  font-size: 13px;
}

.matrix-head {
  color: #7a8798;
  background: #f8fbff;
  font-weight: 650;
}

.matrix-row span,
.matrix-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matrix-row strong {
  color: var(--ink);
  font-weight: 680;
}

.compare-reference,
.compare-next-steps {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.compare-reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.compare-reference-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f7fafc;
}

.compare-reference-grid span,
.section-title-row > span {
  color: var(--muted);
  font-size: 12px;
}

.compare-reference-grid strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 720;
}

.compare-reference-grid p,
.compare-next-steps p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.compare-school-breakdown {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8eef7;
}

.compare-school-breakdown article {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  background: #fff;
}

.compare-school-breakdown strong,
.compare-school-breakdown span {
  display: block;
}

.compare-school-breakdown strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}

.compare-school-breakdown span {
  margin-top: 4px;
  color: var(--primary-dark);
  font-size: 12px;
}

.compare-school-breakdown ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  list-style: none;
}

.compare-next-steps h3,
.section-title-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.compare-next-steps > div {
  display: grid;
  gap: 8px;
}

.compare-next-steps > div p {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7fafc;
}

.result-card,
.plan-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e2eaf6;
  border-radius: 8px;
  background: #fff;
}

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.result-head .school-crest {
  margin-top: 1px;
}

.result-head strong,
.result-head small {
  display: block;
}

.result-head small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.score-bar,
.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef8;
}

.score-bar span,
.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--teal));
}

.result-card p,
.plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.api-plan-status {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  padding: 13px;
  border-radius: 8px;
  color: #40516c;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.api-plan-status strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}

.api-plan-status p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.api-plan-status small {
  color: #8a95a8;
  font-size: 12px;
}

.result-card footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.self-check {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #e2eaf6;
  border-radius: 8px;
  background: #fff;
  color: #40516c;
  font-size: 13px;
  font-weight: 750;
}

.check-row.done span {
  color: #8a95a8;
  text-decoration: line-through;
}

.study-today-editor {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.study-today-editor .section-title-row {
  margin-bottom: 0;
}

.study-today-editor .section-title-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 680;
}

.study-today-editor .section-title-row > span {
  color: var(--muted);
  font-size: 13px;
}

.study-today-list {
  display: grid;
  gap: 6px;
}

.study-today-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f7fafc;
}

.study-today-item label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.study-today-item input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.study-today-item span {
  min-width: 0;
  overflow: hidden;
  color: #273349;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.study-today-item button {
  border: 0;
  color: #8a95a8;
  background: transparent;
  font-size: 12px;
}

.study-today-item.done span {
  color: #8a95a8;
  text-decoration: line-through;
}

.custom-task-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto;
  gap: 10px;
  align-items: end;
}

.custom-task-form .field {
  min-width: 0;
}

.sync-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.todo-entry {
  position: relative;
  align-items: center;
}

.todo-entry label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.todo-delete {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 1px solid #e3ebf7;
  border-radius: 8px;
  color: #8b98ab;
  background: #fff;
  font-weight: 900;
}

.todo-delete:hover {
  color: #b42345;
  border-color: #ffd2dc;
  background: #fff5f7;
}

.todo-edit {
  width: 28px;
  height: 28px;
  border: 1px solid #e3ebf7;
  border-radius: 8px;
  color: #64748b;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.todo-edit:hover {
  color: var(--primary-dark);
  border-color: #c8d8ff;
  background: #f1f6ff;
}

.todo-overview-card {
  padding: 20px 22px;
}

.todo-overview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.todo-overwrite-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.todo-overwrite-toggle input {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
}

.prep-overwrite-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #dfe8f8;
  border-radius: 10px;
  color: #40516c;
  background: #f7faff;
  font-size: 13px;
  font-weight: 600;
}

.prep-overwrite-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.manual-school-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.manual-school-row input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.manual-school-row input:focus {
  border-color: #b8ccff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.todo-overview-list {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.todo-empty {
  padding: 18px 4px 6px;
  color: var(--muted);
  font-size: 13px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 40, 0.44);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(220, 228, 242, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 72px rgba(17, 25, 40, 0.26);
}

.modal-card.analysis-report-modal {
  width: min(1120px, calc(100vw - 44px));
  max-height: min(92vh, 980px);
  padding: 28px 30px 34px;
  border-radius: 16px;
}

.modal-card.analysis-report-modal > .modal-close {
  top: 18px;
  right: 18px;
}

.modal-card.analysis-report-modal #modalTitle {
  padding-right: 46px;
  font-size: 24px;
  line-height: 1.35;
}

.analysis-report-modal .analysis-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e3ebf7;
  border-radius: 8px;
  color: #657287;
  background: #f8fbff;
  font-size: 22px;
  line-height: 1;
}

.modal-copy {
  margin: 0 42px 16px 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-item {
  padding: 12px;
  border: 1px solid #e5ecf7;
  border-radius: 8px;
  background: #f8fbff;
}

.detail-item span,
.field span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.detail-item strong {
  font-size: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.field textarea {
  min-height: 94px;
  padding-top: 12px;
  resize: vertical;
}

.field .choice-pill input[type="checkbox"],
.check-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  padding: 0;
}

.choice-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-selected-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

.compare-selected-list.empty {
  background: #f7fafc;
}

.compare-selected-list.empty strong,
.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
}

.compare-selected-list.empty p,
.empty-state p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.compare-selected-head {
  display: grid;
  gap: 3px;
}

.compare-selected-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}

.compare-selected-head span,
.compare-selected-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.compare-selected-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #edf2f8;
}

.compare-selected-item > div {
  min-width: 0;
}

.compare-selected-item strong,
.compare-selected-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #b8ccff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.secondary-action {
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #40516c;
  background: #fff;
  font-weight: 720;
}

.toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(340px, calc(100vw - 32px));
}

.toast {
  padding: 12px 14px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  color: #17345c;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(35, 63, 113, 0.18);
  font-weight: 750;
}

.school-row.selected,
.pipe-stage.selected {
  border-color: #a9c2ff;
}

.timeline-item.selected > span {
  box-shadow: 0 0 0 1px #a9c2ff;
}

.utility-nav {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 228, 242, 0.72);
}

.dashboard-topbar {
  align-items: center;
  margin-bottom: 24px;
}

.greeting-block {
  display: grid;
  gap: 6px;
}

.greeting-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 720;
}

.countdown-text {
  margin: 0;
  color: #4b586d;
  font-size: 15px;
}

.next-node {
  width: fit-content;
  margin: 6px 0 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: #56637a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.next-node strong {
  color: var(--ink);
  font-weight: 650;
}

.dashboard-home {
  display: grid;
  gap: 18px;
  max-width: 1120px;
}

.dashboard-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(38, 57, 98, 0.08);
}

.today-card {
  padding: 24px;
}

.dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 650;
}

.dashboard-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 680;
}

.today-progress {
  min-width: 84px;
  text-align: right;
}

.today-progress strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 760;
}

.today-progress span {
  color: var(--muted);
  font-size: 13px;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.progress-row strong {
  color: var(--ink);
  font-weight: 720;
}

.today-track {
  margin-top: 8px;
}

.today-list {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}

.today-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  min-height: 42px;
  color: #273349;
  font-size: 15px;
  font-weight: 400;
}

.today-task-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
}

.today-task-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.today-task-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.today-task-text:hover {
  color: var(--primary-dark);
}

.today-task.expanded .today-task-text {
  white-space: normal;
  overflow: visible;
}

.today-task.expanded {
  padding: 8px 0;
  align-items: flex-start;
}

.today-task.expanded .today-task-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

.today-task-check span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-timer-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #d8e3f5;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #f2f6ff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.task-timer-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #6d5ae6);
  transform: translateY(-1px);
}

.today-task.done .today-task-text {
  color: #788397;
  text-decoration: line-through;
}

.link-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 0;
  padding: 0;
  color: var(--primary-dark);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.today-card .link-action {
  margin-top: 18px;
}

.overview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 18px;
}

.target-overview-card,
.ai-overview-card,
.change-card {
  padding: 20px;
}

.target-mix {
  display: flex;
  gap: 20px;
  margin: 18px 0 14px;
}

.target-mix div {
  min-width: 74px;
}

.target-mix strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  font-weight: 760;
}

.target-mix span,
.locked-target {
  color: var(--muted);
  font-size: 13px;
}

.locked-target {
  margin: 0 0 12px;
}

.locked-target strong {
  color: var(--ink);
  font-weight: 620;
}

.target-short-list {
  display: grid;
  gap: 4px;
}

.target-line {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 44px 34px;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.target-line .target-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.target-line strong {
  font-weight: 740;
  text-align: right;
}

.target-line em {
  display: inline-grid;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #334155;
  background: #eef2f7;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.ai-overview-card {
  display: grid;
  align-content: start;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.94) 40%),
    #fff;
}

.ai-advice-head,
.ai-advice-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ai-advice-head span {
  color: var(--muted);
  font-size: 12px;
}

.ai-overview-card p:not(.section-kicker) {
  margin: 0;
  color: #4f5d73;
  font-size: 15px;
  line-height: 1.7;
}

.ai-advice-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 4px;
}

.compact-action {
  width: fit-content;
  height: 38px;
  margin-top: 4px;
  padding-inline: 14px;
}

.change-body {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 18px 0;
}

.quota-change {
  display: grid;
  gap: 4px;
}

.quota-change span,
.quota-change em,
.impact-pill {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.quota-change strong {
  font-size: 28px;
  font-weight: 760;
}

.change-body p {
  margin: 0;
  color: #4f5d73;
  line-height: 1.7;
}

.change-body p strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.impact-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2f7;
}

.table-module {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.table-module > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.target-page-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.phase-initial {
  --target-phase: #2563eb;
  --target-phase-soft: #edf4ff;
}

.phase-retest {
  --target-phase: #7c3aed;
  --target-phase-soft: #f4efff;
}

.phase-adjustment {
  --target-phase: #0f8f82;
  --target-phase-soft: #ecfaf7;
}

.target-phase-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  color: inherit;
  background: #fff;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(36, 56, 90, 0.045);
}

.target-phase-summary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--target-phase);
  content: "";
}

.target-phase-summary:hover {
  border-color: color-mix(in srgb, var(--target-phase) 32%, #e1e8f2);
  transform: translateY(-1px);
}

.target-phase-summary.active {
  border-color: color-mix(in srgb, var(--target-phase) 42%, #d8e2ef);
  background:
    linear-gradient(135deg, var(--target-phase-soft), #fff 72%);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--target-phase) 12%, transparent);
}

.target-phase-summary span {
  grid-column: 1;
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}

.target-phase-summary strong {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--target-phase);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.target-phase-summary strong small {
  color: #8a97a8;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

.target-phase-summary em {
  grid-column: 1;
  color: var(--ink);
  font-style: normal;
  font-size: 16px;
  font-weight: 760;
}

.target-stage-boards {
  display: grid;
  gap: 18px;
}

.target-stage-board {
  padding: 20px;
  border: 1px solid #e2e9f3;
  border-radius: 14px;
  background:
    linear-gradient(180deg, var(--target-phase-soft) 0, rgba(255, 255, 255, 0) 108px),
    #fff;
  box-shadow: 0 8px 24px rgba(31, 51, 86, 0.055);
  scroll-margin-top: 76px;
}

.target-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
}

.target-stage-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.target-stage-title > span {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--target-phase);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--target-phase) 22%, transparent);
}

.target-stage-title p,
.target-stage-side p {
  margin: 0;
  color: #7d899b;
  font-size: 11px;
  line-height: 1.6;
}

.target-stage-title h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 0;
  color: #17243b;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.target-stage-title h3 em {
  color: var(--target-phase);
  font-style: normal;
  font-size: 11px;
  font-weight: 760;
}

.target-stage-side {
  display: grid;
  justify-items: end;
  gap: 8px;
  max-width: 450px;
  text-align: right;
}

.target-role-mix {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.target-role-mix span {
  padding: 4px 8px;
  border: 1px solid #e3e9f2;
  border-radius: 999px;
  color: #68768a;
  background: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.target-stage-board .target-card-grid {
  margin-bottom: 0;
}

.target-page-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.target-page-pager button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  color: #52647c;
  background: #fff;
  font-size: 11.5px;
  font-weight: 720;
}

.target-page-pager button:hover:not(:disabled) {
  border-color: #a9c5ea;
  color: var(--primary-dark);
  background: #f5f9ff;
}

.target-page-pager button:disabled {
  cursor: default;
  opacity: 0.4;
}

.target-page-pager > span {
  min-width: 140px;
  color: #7b889c;
  text-align: center;
  font-size: 11.5px;
}

.target-page-pager > span strong {
  color: #263a59;
}

.target-stage-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px dashed #d8e1ee;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
}

.target-stage-empty strong {
  color: #35455e;
  font-size: 14px;
}

.target-stage-empty p {
  margin: 5px 0 0;
  color: #8390a2;
  font-size: 12px;
  line-height: 1.65;
}

.target-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.target-school-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.target-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.target-phase-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  background: var(--target-phase-soft);
}

.target-phase-switch > span {
  color: #728097;
  font-size: 10.5px;
  font-weight: 700;
}

.target-phase-switch > div {
  display: flex;
  gap: 3px;
}

.target-phase-switch button {
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #607087;
  background: transparent;
  font-size: 10.5px;
  font-weight: 720;
}

.target-phase-switch button:hover {
  border-color: #cbd7e8;
  background: #fff;
}

.target-phase-switch button.active {
  border-color: color-mix(in srgb, var(--target-phase) 28%, #d7e0ec);
  color: var(--target-phase);
  background: #fff;
  box-shadow: 0 2px 7px rgba(32, 58, 96, 0.06);
}

.target-school-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
}

.target-school-card > p {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* 目标专业：卡片上必须写清下面三格（合适度/稳上岸/招生）是按哪个专业算的 */
.target-school-card > p.target-card-major {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: -2px 0 0;
  min-width: 0;
}

.target-school-card > p.target-card-major span {
  flex: none;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f6ef0;
  font-size: 11px;
  line-height: 1.6;
}

.target-school-card > p.target-card-major strong {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 640;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
}

.target-card-metrics div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 72px;
  padding: 10px;
  border-radius: 8px;
  background: #f7fafc;
  overflow: hidden;
}

.target-card-metrics span {
  display: block;
  color: #7a8798;
  font-size: 12px;
}

.target-card-metrics strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.3;
  overflow: hidden;
  word-break: break-word;
}

/* 招生口径类是文字型指标（如「115 行」「78 人」），用小一号字并允许两行省略 */
.target-card-metrics strong.metric-compact,
.target-card-metrics button.metric-compact {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
  padding: 0;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  font-size: 15px;
  font-weight: 640;
  line-height: 1.3;
  overflow: hidden;
  word-break: break-word;
  text-decoration: none;
}

/* 招生值可点：跳转到该院校详情的「招生计划」页核对官方口径 */
.target-card-metrics button.metric-link {
  cursor: pointer;
}

.target-card-metrics button.metric-link:hover {
  color: #2f6ef0;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
}

.target-card-metrics button.metric-link {
  border-bottom: 1px dashed #b9cdf3;
}

.target-card-note {
  min-height: 48px;
  color: #536176;
  font-size: 13px;
  line-height: 1.55;
}

.target-school-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ai-chooser-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 14px;
}

.ai-hero-note {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: #f8fbff;
}

.ai-hero-note h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 720;
}

.ai-hero-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.score-bubble.mini {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.planning-profile-page {
  display: grid;
  gap: 14px;
  max-width: 1080px;
}

.planning-profile-overview {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 13px;
  border-bottom: 1px solid #e6edf6;
}

.planning-profile-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 680;
}

.planning-profile-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a77a;
  box-shadow: 0 0 0 4px rgba(32, 167, 122, 0.1);
}

.planning-profile-overview h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 740;
}

.planning-profile-overview > p {
  margin: 0;
  padding-bottom: 2px;
  color: #526276;
  font-size: 13px;
  font-weight: 650;
}

.planning-profile-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.planning-profile-snapshot article {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #e5ebf4;
  border-radius: 10px;
  background: #f8fafc;
}

.planning-profile-snapshot span {
  color: #8290a3;
  font-size: 12px;
  font-weight: 620;
}

.planning-profile-snapshot strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.25;
}

.planning-profile-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px 14px;
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid #e6edf6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.planning-profile-form .ai-region-grid {
  grid-column: span 2;
}

.planning-profile-form .score-field.full {
  grid-column: span 2;
}

.planning-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}

.planning-profile-actions .primary-action,
.planning-profile-actions .secondary-action,
.planning-profile-actions .ghost-action {
  min-height: 40px;
}

.planning-profile-note {
  margin: -2px 0 0;
  color: #8492a6;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .planning-profile-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .planning-profile-overview {
    display: grid;
    align-items: start;
    gap: 7px;
  }

  .planning-profile-overview h3 {
    font-size: 19px;
  }

  .planning-profile-snapshot {
    gap: 8px;
  }

  .planning-profile-form {
    grid-template-columns: 1fr;
    padding: 14px 0 0;
  }

  .planning-profile-form .ai-region-grid,
  .planning-profile-form .score-field.full {
    grid-column: 1;
  }

  .planning-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .planning-profile-actions .primary-action,
  .planning-profile-actions .secondary-action,
  .planning-profile-actions .ghost-action {
    grid-column: 1;
    width: 100%;
  }
}

.account-layout,
.login-layout {
  display: grid;
  gap: 16px;
}

.account-layout.compact {
  max-width: 760px;
}

.account-hero,
.login-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #f8fbff;
}

.login-note {
  display: grid;
  align-content: center;
}

.account-hero h3,
.login-note h3,
.membership-card h3,
.benefit-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 680;
}

.account-hero p:not(.eyebrow),
.login-note p:not(.eyebrow),
.benefit-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.avatar-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  font-size: 22px;
  font-weight: 780;
}

.profile-edit-form,
.login-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.login-layout {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  align-items: stretch;
}

.login-panel,
.membership-card,
.benefit-card {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 57, 98, 0.07);
}

.login-panel {
  grid-template-columns: 1fr;
}

.login-panel h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 680;
}

.form-copy {
  margin: 4px 0 2px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-stack {
  display: grid;
  gap: 16px;
}

.register-panel .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.auth-hint-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-stats div {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
}

.account-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.account-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 740;
}

.membership-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.membership-card.active {
  box-shadow: inset 0 0 0 1px #bfd1ff, 0 12px 28px rgba(38, 57, 98, 0.07);
}

.membership-card > strong {
  font-size: 26px;
  font-weight: 760;
}

.membership-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #4f5d73;
  line-height: 1.5;
}

.benefit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.elite-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
  padding: 16px 0;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: linear-gradient(105deg, #f5f9ff, #fff 37%);
}
.elite-summary > div { min-width: 0; padding: 2px clamp(14px, 2vw, 28px); }
.elite-summary > div + div { border-inline-start: 1px solid #e2eaf2; }
.elite-summary dt { color: #576a80; font-size: 13px; }
.elite-summary dd { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; color: #213e60; font-size: 25px; font-weight: 700; line-height: 32px; font-variant-numeric: tabular-nums; }
.elite-summary small { color: #66798c; font-size: 12px; font-weight: 500; }
.elite-summary .coverage-status { align-items: center; gap: 8px; color: #23675c; font-size: 18px; }
.elite-summary .coverage-status::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #def2eb; font: bold 13px/1 sans-serif; }
@media (max-width: 720px) {
  .elite-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .elite-summary > div:nth-child(odd) { border-inline-start: 0; }
}

.premium-gate,
.analysis-report {
  display: grid;
  gap: 16px;
}

.analysis-report {
  gap: 14px;
}

.analysis-report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid #dbe6f7;
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 8%, rgba(73, 122, 221, 0.14), transparent 32%),
    linear-gradient(135deg, #f8fbff, #f3f8ff 62%, #f7fffc);
}

.analysis-report-hero h3 {
  margin: 6px 0 5px;
  color: #17263c;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.analysis-report-hero p:not(.eyebrow) {
  margin: 0;
  color: #637187;
  font-size: 13px;
  line-height: 1.65;
}

.analysis-report-score {
  display: grid;
  min-width: 110px;
  gap: 3px;
  justify-items: center;
  padding: 13px 15px;
  border: 1px solid #d6e4fa;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(45, 78, 142, 0.08);
}

.analysis-report-score > span {
  color: #77869a;
  font-size: 11px;
}

.analysis-report-score > strong {
  color: #235ed5;
  font-size: 34px;
  font-weight: 820;
  line-height: 1.05;
}

.analysis-report-score em {
  margin-top: 3px;
  font-style: normal;
}

.analysis-report-glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.analysis-report-glance span {
  display: grid;
  gap: 4px;
  min-height: 64px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid #e5ecf5;
  border-radius: 10px;
  background: #fff;
}

.analysis-report-glance small {
  color: #7d8ba0;
  font-size: 11px;
}

.analysis-report-glance strong {
  color: #25364e;
  font-size: 14px;
  font-weight: 730;
}

.analysis-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.analysis-decision-grid article {
  display: grid;
  gap: 5px;
  min-height: 112px;
  align-content: start;
  padding: 13px 14px;
  border: 1px solid #dfe8f5;
  border-radius: 11px;
  background:
    linear-gradient(150deg, rgba(242, 247, 255, 0.9), rgba(255, 255, 255, 0.96));
}

.analysis-decision-grid span {
  color: #7b899d;
  font-size: 11px;
  font-weight: 650;
}

.analysis-decision-grid strong {
  color: #233651;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.45;
}

.analysis-decision-grid p {
  margin: 0;
  color: #6d7b8f;
  font-size: 11.5px;
  line-height: 1.58;
}

.premium-lock {
  display: inline-grid;
  width: fit-content;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #d75000;
  background: #fff1df;
  font-size: 12px;
  font-weight: 720;
}

.premium-gate h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
}

.premium-gate p,
.analysis-section p {
  margin: 0;
  color: #59667a;
  line-height: 1.7;
}

.analysis-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.analysis-metric-grid div {
  display: grid;
  gap: 6px;
  min-height: 78px;
  align-content: center;
  padding: 14px;
  border: 1px solid #e7edf6;
  border-radius: 11px;
  background: #f8fafc;
}

.analysis-metric-grid span {
  color: var(--muted);
  font-size: 12px;
}

.analysis-metric-grid strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
}

.analysis-section {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  background: #fff;
}

.analysis-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
}

.analysis-action-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analysis-action-list li {
  padding: 11px 13px;
  border: 1px solid #e8eef6;
  border-radius: 9px;
  color: #536174;
  background: #f9fbfd;
  line-height: 1.65;
}

.generated-task-panel {
  display: grid;
  gap: 18px;
}

.generated-task-section {
  display: grid;
  gap: 10px;
}

.generated-task-section h3 {
  margin: 0;
  color: #101a2f;
  font-size: 18px;
  font-weight: 700;
}

.generated-task-section p {
  margin: 0;
  color: #66758a;
  line-height: 1.6;
}

.generated-task-section .analysis-action-list strong {
  margin-right: 8px;
  color: #1e63f0;
  font-weight: 700;
}

.api-analysis-box {
  border-top: 0;
  border-radius: 8px;
  padding: 14px;
  background: #f8fbff;
}

.api-analysis-box strong {
  color: var(--primary-dark);
  font-weight: 680;
}

.mode-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  background: #f5f7fb;
}

.mode-tab {
  flex: 1;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  color: #5b6576;
  background: transparent;
  font-size: 14px;
  font-weight: 680;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.mode-tab.active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 5px 14px rgba(38, 57, 98, 0.08);
}

.ai-workbench {
  display: grid;
  grid-template-columns: minmax(340px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ai-form-panel,
.ai-result-panel {
  display: grid;
  gap: 17px;
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(38, 57, 98, 0.07);
  border: 1px solid #e4ebf5;
}

.ai-result-panel {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.84), rgba(255, 255, 255, 0.98) 210px),
    #fff;
}

.ai-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 2px;
}

.ai-form-head h3 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 760;
}

.ai-form-badge,
.ai-report-mode {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #315fd0;
  background: #edf4ff;
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
}

.ai-profile-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #e5ebf4;
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.ai-profile-option.is-on {
  border-color: #cfe2ff;
  background: linear-gradient(135deg, #f5f9ff, #eef7ff);
}

.ai-profile-option.is-disabled {
  color: #8995a6;
}

.ai-profile-option-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ai-profile-option-copy strong {
  color: #24364f;
  font-size: 14px;
  font-weight: 740;
}

.ai-profile-option-copy small {
  overflow: hidden;
  color: #718096;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-width: 66px;
  min-height: 30px;
  padding: 3px 9px 3px 4px;
  border: 1px solid #d8e1ee;
  border-radius: 999px;
  color: #6b7789;
  background: #fff;
  font-size: 12px;
  font-weight: 720;
}

.ai-switch i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d9e1ec;
  box-shadow: inset 0 0 0 1px rgba(83, 104, 136, 0.06);
  transition: transform 0.18s ease, background 0.18s ease;
}

.ai-switch.is-on {
  border-color: #9fc7ff;
  color: #245bcc;
  background: #f4f8ff;
}

.ai-switch.is-on i {
  transform: translateX(2px);
  background: #3277ee;
  box-shadow: 0 4px 10px rgba(50, 119, 238, 0.28);
}

.ai-profile-link {
  flex: 0 0 auto;
  min-height: 32px;
  padding-inline: 12px;
}

.ai-region-grid.is-locked select,
.ai-form-panel input[readonly],
.ai-form-panel select:disabled {
  color: #536176;
  background: #f6f8fb;
  cursor: not-allowed;
}

.ai-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.result-summary.slim {
  border: 0;
  padding: 0 0 15px;
  border-bottom: 1px solid #e9eef6;
  background: transparent;
}

.ai-result-head h3 {
  margin-top: 3px;
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.ai-result-subtitle {
  margin: 6px 0 0;
  color: #748297;
  font-size: 12px;
  line-height: 1.55;
}

.ai-report-mode {
  color: #5b6f8f;
  background: #f1f5fa;
}

.ai-school-crest-btn {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ai-school-crest-btn:hover {
  transform: translateY(-2px);
}

.ai-school-crest-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ai-result-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #e9eef7;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.ai-pager-crest {
  display: inline-grid;
  place-items: center;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.ai-pager-crest:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.ai-pager-crest.active {
  opacity: 1;
  border-color: var(--primary);
  background: #eef4ff;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.16);
}

.ai-pager-crest .school-crest {
  width: 40px;
  height: 40px;
  font-size: 17px;
}

.ai-pager-crest .school-crest em {
  display: none;
}

.ai-pager-arrow {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #dfe7f4;
  border-radius: 50%;
  color: #5b6b84;
  background: #fff;
  font-size: 18px;
  line-height: 1;
}

.ai-pager-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.ai-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  padding: 2px 1px 9px;
  border-radius: 0;
  border-bottom: 1px solid #edf1f7;
  background: transparent;
}

.ai-result-meta span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ai-result-meta em {
  font-style: normal;
  color: #7d8ba3;
  font-size: 12px;
  padding-left: 8px;
  border-left: 1px solid #dbe3f0;
}

.ai-result-meta strong {
  color: var(--ink);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.ai-school-results {
  display: grid;
  gap: 14px;
}

.ai-school-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(248, 251, 255, 0.74), rgba(255, 255, 255, 0) 240px),
    #fff;
  box-shadow: 0 10px 26px rgba(38, 57, 98, 0.065);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ai-school-card:hover {
  border-color: #c3d5fb;
  box-shadow: 0 18px 36px rgba(43, 64, 100, 0.12);
  transform: translateY(-2px);
}

.ai-school-card.has-insight {
  border-color: #dfe8fa;
}

.ai-school-card .result-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.ai-school-card .result-head > div {
  min-width: 0;
}

.ai-school-card .result-head > div strong {
  color: #17263c;
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.015em;
}

.ai-school-card .result-head > div small {
  margin-top: 5px;
  color: #77869a;
  font-size: 12px;
  line-height: 1.45;
}

.ai-school-card p {
  margin: 0;
  color: #59667a;
  line-height: 1.6;
}

.ai-card-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.ai-card-stats span {
  display: grid;
  gap: 5px;
  min-height: 64px;
  align-content: center;
  border: 1px solid #e9eef6;
  border-radius: 11px;
  padding: 11px 13px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 12px;
}

.ai-card-stats span:first-child {
  border-color: #d7e5ff;
  background: linear-gradient(135deg, #f1f6ff, #f8fbff);
}

.ai-card-stats strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
}

.ai-card-stats span:first-child strong {
  color: #245fda;
}

.ai-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-card-tags span {
  border-radius: 999px;
  padding: 5px 11px;
  color: #475569;
  border: 1px solid #e1e9f5;
  background: #f7faff;
  font-size: 12px;
}

.ai-card-reason {
  padding: 12px 14px;
  border-left: 3px solid #6c99ef;
  border-radius: 0 9px 9px 0;
  color: #4f5f76 !important;
  background: #f8faff;
  font-size: 13px;
  line-height: 1.7 !important;
}

.ai-result-awaiting {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 32px;
  border: 1px dashed #d8e3f2;
  border-radius: 14px;
  color: #75849a;
  background: rgba(248, 250, 253, 0.78);
  text-align: center;
}

.ai-result-awaiting [data-icon] {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #336fd8;
  background: #edf4ff;
}

.ai-result-awaiting strong {
  color: #253750;
  font-size: 17px;
  font-weight: 740;
}

.ai-result-awaiting p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.ai-detail-points {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f9fe;
}

.ai-detail-points span {
  color: #526176;
  font-size: 13px;
  line-height: 1.55;
}

.ai-school-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.ai-loading {
  display: grid;
  min-height: 160px;
  place-items: center;
  gap: 12px;
  color: var(--muted);
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #e5eef8;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— AI 择校 · 地区联动选择 —— */
.ai-region-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.ai-region-grid .field {
  align-content: start;
}

.ai-region-city-field.is-idle select {
  color: #9aa6ba;
}

.ai-form-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ai-form-note svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.ai-submit {
  min-width: 168px;
}

/* —— AI 择校 · Pro 洞察（报录比 + 红黑榜） —— */
.ai-pro-preview {
  display: grid;
  gap: 11px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid #dce7f8;
  border-radius: 13px;
  background: linear-gradient(145deg, #f8fbff, #fff 70%);
}

.ai-pro-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.ai-pro-preview-head > div:first-child {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.ai-pro-preview-head p {
  margin: 0;
  color: #5e6d82;
  font-size: 12.5px;
  line-height: 1.6;
}

.ai-pro-preview-score {
  display: grid;
  min-width: 62px;
  justify-items: center;
  padding: 7px 9px;
  border: 1px solid #d8e5f9;
  border-radius: 10px;
  background: #fff;
}

.ai-pro-preview-score span,
.ai-pro-preview-score small {
  color: #7d8ba0;
  font-size: 9.5px;
}

.ai-pro-preview-score strong {
  color: #245fda;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.ai-pro-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ai-pro-preview-stats > span {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid #e6edf7;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
}

.ai-pro-preview-stats small,
.ai-pro-preview-stats em {
  color: #7d8ba0;
  font-size: 10.5px;
  font-style: normal;
}

.ai-pro-preview-stats strong {
  color: #22344c;
  font-size: 16px;
  font-weight: 760;
}

.ai-pro-preview-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.ai-pro-preview-points span {
  position: relative;
  padding: 8px 9px 8px 21px;
  border-radius: 8px;
  color: #536176;
  background: #f6f9fd;
  font-size: 11.5px;
  line-height: 1.55;
}

.ai-pro-preview-points i {
  position: absolute;
  top: 13px;
  left: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #23a375;
}

.ai-pro-preview-points .is-watch {
  background: #fffaf3;
}

.ai-pro-preview-points .is-watch i {
  background: #db9a2c;
}

.ai-pro-report {
  display: grid;
  gap: 17px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid #dbe6f6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 94% 4%, rgba(82, 126, 226, 0.11), transparent 30%),
    linear-gradient(180deg, #f9fbff, #ffffff 260px);
}

.pro-report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e7edf7;
}

.pro-report-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.pro-report-degree {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #536278;
  background: #f0f4fa;
  font-size: 11px;
  font-weight: 680;
}

.pro-report-hero h4 {
  margin: 10px 0 6px;
  color: #17253b;
  font-size: 21px;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.pro-report-hero p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.72;
}

.pro-report-score {
  display: grid;
  min-width: 94px;
  padding: 12px;
  place-items: center;
  border: 1px solid #d8e5f9;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(46, 83, 155, 0.08);
}

.pro-report-score span {
  color: #738198;
  font-size: 11px;
  font-weight: 650;
}

.pro-report-score strong {
  color: #245fda;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
}

.pro-report-score small {
  color: #9aa6b7;
  font-size: 10px;
}

.pro-report-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.pro-report-metrics article {
  display: grid;
  gap: 4px;
  min-height: 74px;
  align-content: center;
  padding: 11px 12px;
  border: 1px solid #e4ebf5;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
}

.pro-report-metrics span,
.pro-report-metrics small {
  color: #7b899d;
  font-size: 11px;
  line-height: 1.4;
}

.pro-report-metrics strong {
  color: #21324b;
  font-size: 16px;
  font-weight: 760;
}

.pro-report-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pro-signal-card {
  padding: 14px;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fff;
}

.pro-signal-card.is-positive {
  border-color: #d9eee6;
  background: #f9fffc;
}

.pro-signal-card.is-risk {
  border-color: #f0e5d4;
  background: #fffdf9;
}

.pro-signal-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.pro-signal-head > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  color: #177353;
  background: #e6f6ef;
  font-size: 14px;
  font-weight: 800;
}

.is-risk .pro-signal-head > span {
  color: #a36d12;
  background: #fdf1d9;
}

.pro-signal-head div {
  display: grid;
  gap: 2px;
}

.pro-signal-head strong {
  color: #263750;
  font-size: 13px;
  font-weight: 740;
}

.pro-signal-head small {
  color: #8895a8;
  font-size: 10.5px;
}

.pro-signal-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-signal-card li {
  position: relative;
  padding-left: 13px;
  color: #526176;
  font-size: 12.5px;
  line-height: 1.62;
}

.pro-signal-card li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2aa678;
  content: "";
}

.pro-signal-card.is-risk li::before {
  background: #db9a2c;
}

.pro-score-target,
.pro-action-plan {
  display: grid;
  gap: 11px;
  padding-top: 15px;
  border-top: 1px solid #e8eef6;
}

.pro-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pro-section-title > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #326bd5;
  background: #edf4ff;
  font-size: 10px;
  font-weight: 800;
}

.pro-section-title div {
  display: grid;
  gap: 2px;
}

.pro-section-title strong {
  color: #25364e;
  font-size: 14px;
  font-weight: 750;
}

.pro-section-title small {
  color: #8895a8;
  font-size: 11px;
}

.pro-score-target-grid,
.pro-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.pro-score-target-grid article {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f5f8fc;
}

.pro-score-target-grid span {
  color: #7a889b;
  font-size: 11px;
}

.pro-score-target-grid strong {
  color: #1d2d45;
  font-size: 18px;
  font-weight: 780;
}

.pro-score-target-grid small {
  color: #8b97a8;
  font-size: 10.5px;
}

.pro-score-target > p {
  margin: 0;
  color: #59687d;
  font-size: 12.5px;
  line-height: 1.65;
}

.pro-action-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: #fff;
}

.pro-action-grid b {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  color: #3569ca;
  background: #edf4ff;
  font-size: 10.5px;
}

.pro-action-grid p {
  margin: 0;
  color: #58677c;
  font-size: 12px;
  line-height: 1.65;
}

.pro-background {
  margin-top: 1px;
}

.ai-insight-block {
  display: grid;
  gap: 13px;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid #dbe7fa;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(239, 245, 255, 0.86), rgba(249, 251, 254, 0.94));
}

.ai-insight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pro-chip {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(99, 102, 241, 0.26);
}

.ai-verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 720;
}

.ai-verdict i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(127, 127, 127, 0.14);
}

.ai-verdict.verdict-red {
  color: #0b7a51;
  background: #e6f7ef;
}

.ai-verdict.verdict-red i {
  background: #0f9d63;
  box-shadow: 0 0 0 3px rgba(15, 157, 99, 0.15);
}

.ai-verdict.verdict-black {
  color: #b3373f;
  background: #fdecee;
}

.ai-verdict.verdict-black i {
  background: #d64550;
  box-shadow: 0 0 0 3px rgba(214, 69, 80, 0.15);
}

.ai-verdict.verdict-yellow {
  color: #9a6b06;
  background: #fdf3df;
}

.ai-verdict.verdict-yellow i {
  background: #d99a1b;
  box-shadow: 0 0 0 3px rgba(217, 154, 27, 0.16);
}

.ai-verdict.large {
  min-height: 30px;
  padding: 0 13px;
  font-size: 13px;
}

.ai-verdict-score {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.ai-insight-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ai-insight-metrics span {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e7eefb;
}

.ai-insight-metrics small {
  color: #7c8aa2;
  font-size: 11px;
}

.ai-insight-metrics strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.ai-background-answer {
  display: grid;
  gap: 5px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e8eef9;
}

.ai-background-answer strong {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 720;
}

.ai-background-answer span {
  color: #4d5b73;
  font-size: 13px;
  line-height: 1.72;
}

.ai-background-answer.emphasized {
  border-color: #d9e6fb;
  background: linear-gradient(180deg, #f2f7ff, #fbfcff);
}

.ai-insight-points {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-insight-points li {
  position: relative;
  padding-left: 14px;
  color: #4c5a72;
  font-size: 13px;
  line-height: 1.68;
}

.ai-insight-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.ai-insight-points li.point-good::before {
  background: #16a370;
}

.ai-insight-points li.point-bad::before {
  background: #d64550;
}

.ai-insight-points li.point-warn::before {
  background: #d99a1b;
}

/* —— Pro 完整报告 —— */
.reputation-panel {
  padding: 14px;
  border: 1px solid #e2eaf8;
  border-radius: 12px;
  background: #fbfcff;
}

.reputation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.reputation-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.verdict-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf6;
}

.verdict-meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f9d63, #0c9d8b 55%, #f0b429);
}

.insight-point-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-point-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px 11px;
  border-radius: 9px;
  color: #4a5870;
  font-size: 12.5px;
  line-height: 1.6;
  background: #fff;
  border: 1px solid #e9eef7;
}

.insight-point-list li strong {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 720;
}

.insight-point-list li.point-good strong {
  color: #0b7a51;
  background: #e6f7ef;
}

.insight-point-list li.point-bad strong {
  color: #b3373f;
  background: #fdecee;
}

.insight-point-list li.point-warn strong {
  color: #9a6b06;
  background: #fdf3df;
}

.data-note {
  margin: 2px 0 0;
  color: #8491a8;
  font-size: 11.5px;
  line-height: 1.55;
}

.capacity-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.capacity-chips span {
  display: grid;
  gap: 3px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f4f7fc;
}

.capacity-chips small {
  color: #7c8aa2;
  font-size: 11px;
}

.capacity-chips strong {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 720;
}

.verdict-inline {
  font-size: 12px;
}

.verdict-inline.verdict-red {
  color: #0b7a51;
  background: #e6f7ef;
  border-radius: 999px;
  padding: 2px 8px;
  width: fit-content;
}

.verdict-inline.verdict-black {
  color: #b3373f;
  background: #fdecee;
  border-radius: 999px;
  padding: 2px 8px;
  width: fit-content;
}

.verdict-inline.verdict-yellow {
  color: #9a6b06;
  background: #fdf3df;
  border-radius: 999px;
  padding: 2px 8px;
  width: fit-content;
}

.degree-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  padding: 4px;
  border-radius: 10px;
  background: #eef2f7;
}

.degree-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #5b6576;
  background: transparent;
  font-size: 13px;
  font-weight: 620;
}

.degree-switch button.active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 6px 16px rgba(38, 57, 98, 0.08);
}

.plan-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 14px 0 4px;
}

.plan-filter-field {
  display: grid;
  gap: 5px;
}

.plan-filter-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.plan-filter-field select {
  height: 38px;
  min-width: 280px;
  max-width: 360px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}

.plan-major-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 6px;
}

.plan-major-tools input {
  height: 38px;
  min-width: 0;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  outline: 0;
}

.plan-major-tools input:focus {
  border-color: #b8ccff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.plan-major-tools input::placeholder {
  color: #9aa6ba;
}

.history-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.score-trend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.score-trend-grid.rich-score-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.history-summary div,
.score-trend-grid article {
  display: grid;
  gap: 6px;
  min-height: 78px;
  align-content: center;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.history-summary span,
.history-summary em,
.score-trend-grid span,
.score-trend-grid em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.history-summary strong,
.score-trend-grid strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 720;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.history-table,
.score-history-table {
  min-width: 860px;
}

.full-score-table {
  min-width: 1180px;
}

.subject-line-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.subject-line-strip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f2f7ff, #f8fafc);
  border: 1px solid #e3ebf6;
}

.subject-line-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.subject-line-strip strong {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 720;
}

.program-roadmap {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 57, 98, 0.06);
}

.program-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.public-source-summary {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
}

.public-source-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.public-source-metrics div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

.public-source-metrics span,
.public-source-list span,
.public-source-summary footer span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.public-source-metrics strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
}

.public-source-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.public-source-list div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
}

.public-source-list strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-source-summary footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.public-source-summary footer button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid #d7e3f4;
  border-radius: 8px;
  padding: 0 10px;
  color: #2563eb;
  background: #fff;
  font-size: 13px;
  font-weight: 620;
}

.program-roadmap-grid article {
  display: grid;
  gap: 8px;
  min-height: 146px;
  align-content: start;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.program-roadmap-grid strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.program-roadmap-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.program-roadmap-grid button {
  width: fit-content;
  min-height: 32px;
  margin-top: auto;
  border: 1px solid #d7e3f4;
  border-radius: 8px;
  padding: 0 10px;
  color: #40516c;
  background: #fff;
  font-size: 13px;
  font-weight: 620;
}

.school-detail-page {
  display: grid;
  gap: 18px;
}

.back-link {
  width: fit-content;
  border: 0;
  padding: 0;
  color: #5d6b82;
  background: transparent;
  font-size: 14px;
  font-weight: 520;
}

.school-hero-detail {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  grid-template-areas:
    "emblem copy metrics"
    "brief brief brief";
  gap: 20px 22px;
  align-items: center;
  min-height: 168px;
  overflow: hidden;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.07), rgba(12, 157, 139, 0.05) 58%, rgba(255, 255, 255, 0) 100%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.school-hero-detail::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0) 68%);
  pointer-events: none;
}

.school-emblem {
  position: relative;
  z-index: 1;
  grid-area: emblem;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--primary);
  background: #fff;
  font-size: 34px;
  font-weight: 700;
  box-shadow: var(--shadow-tight);
}

.school-emblem img {
  position: absolute;
  inset: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: contain;
}

.school-emblem.has-logo:not(.logo-failed) span {
  opacity: 0;
}

.school-emblem span {
  position: relative;
  z-index: 1;
}

.school-hero-copy,
.school-hero-metrics {
  position: relative;
  z-index: 1;
}

.school-hero-copy {
  grid-area: copy;
}

.school-hero-copy h2 {
  margin: 0;
}

.school-hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.school-hero-copy h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.school-hero-level {
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--primary-dark);
  background: rgba(37, 99, 235, 0.1);
  font-size: 12.5px;
  font-weight: 640;
}

.school-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.school-hero-chips span {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  color: #334155;
  background: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  font-weight: 580;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.school-hero-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  font-weight: 620;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.school-hero-actions button:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.school-hero-actions button.followed {
  border-color: rgba(217, 119, 6, 0.4);
  color: var(--amber);
  background: rgba(217, 119, 6, 0.08);
}

.school-hero-actions button.target-action {
  border-color: transparent;
  color: #fff;
  background: var(--primary);
}

.school-hero-actions button.target-action:hover {
  color: #fff;
  background: var(--primary-dark);
}

.school-hero-actions button.target-action.added {
  border-color: rgba(22, 133, 95, 0.35);
  color: var(--green);
  background: rgba(22, 133, 95, 0.08);
}

.school-hero-metrics {
  grid-area: metrics;
  display: flex;
  gap: 10px;
  align-self: center;
}

.school-hero-metrics span {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 76px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  text-align: center;
}

.school-hero-metrics em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.school-hero-metrics strong {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
}

.school-hero-metrics .tone-risk strong {
  color: var(--rose);
}

.school-hero-metrics .tone-mid strong {
  color: var(--amber);
}

.school-hero-metrics .tone-safe strong {
  color: var(--green);
}

.school-hero-metrics .tone-line strong {
  color: var(--teal);
}

.school-hero-brief {
  grid-area: brief;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.school-hero-brief summary {
  cursor: pointer;
  color: #5d6b82;
  font-weight: 600;
  list-style: none;
}

.school-hero-brief summary::-webkit-details-marker {
  display: none;
}

.school-hero-brief summary::before {
  content: "▸ ";
  color: var(--primary);
}

.school-hero-brief[open] summary::before {
  content: "▾ ";
}

.school-hero-brief p {
  margin: 8px 0 0;
  line-height: 1.7;
}

.school-tabs {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  padding: 0 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 57, 98, 0.06);
}

.school-tabs button {
  position: relative;
  flex: 0 0 auto;
  height: 62px;
  border: 0;
  padding: 0;
  color: #5b6574;
  background: transparent;
  font-size: 17px;
  font-weight: 520;
}

.school-tabs button.active {
  color: var(--primary-dark);
  font-weight: 680;
}

.school-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--primary);
}

.school-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}

.school-detail-main,
.school-detail-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.school-detail-side {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.school-detail-side > .side-block {
  width: auto;
  max-width: 100%;
}

.detail-section,
.side-block {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 57, 98, 0.06);
}

.detail-section {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.detail-section.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.section-title-row h3,
.side-block h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 680;
}

.school-intro {
  margin: 0;
  color: #59667a;
  font-size: 15px;
  line-height: 1.8;
}

.school-intro-details {
  border-top: 1px solid #edf1f7;
}

.school-intro-details summary {
  width: fit-content;
  padding: 12px 0 2px;
  color: #2f66c7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
}

.school-intro-details p {
  margin: 8px 0 0;
  color: #59667a;
  font-size: 14px;
  line-height: 1.8;
}

.detail-subhead {
  margin: 2px 0 -4px;
  color: #374258;
  font-size: 16px;
  font-weight: 680;
}

.detail-note {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.school-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 10px;
}

.school-chip-list span {
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #e1e8f2;
  border-radius: 7px;
  color: #40516c;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 540;
  line-height: 1.4;
}

.school-chip-list a.school-chip-link {
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #d6e4ff;
  border-radius: 7px;
  color: #2f5fb3;
  background: #f2f7ff;
  font-size: 13px;
  font-weight: 580;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.school-chip-list a.school-chip-link:hover {
  color: #1b3f86;
  border-color: #9dbdf2;
  background: #e7f0ff;
}

.rating-summary {
  margin: 2px 0 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.master-point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.master-point-item {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid #e5ecf7;
  border-radius: 8px;
  color: inherit;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.master-point-item:hover,
.master-point-item:focus-visible {
  border-color: #9dbdf2;
  background: #f7fbff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
  outline: none;
}

.master-point-item:active {
  transform: translateY(1px);
}

.master-point-item strong {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.master-point-item .discipline-tag {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 999px;
  color: #7c3aed;
  background: #f3ecff;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.master-point-open {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  color: #5b7bb7;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.master-point-open svg {
  width: 13px;
  height: 13px;
}

.master-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.master-chip-btn {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid #d6e4ff;
  border-radius: 999px;
  color: #2f5fb3;
  background: #f2f7ff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.master-chip-btn:hover,
.master-chip-btn:focus-visible {
  color: #1b3f86;
  border-color: #9dbdf2;
  background: #e7f0ff;
  outline: none;
}

.master-chip-btn svg {
  width: 12px;
  height: 12px;
}

.rank-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.rank-related-list .small-action {
  height: auto;
  min-height: 34px;
  padding: 6px 11px;
  line-height: 1.4;
}

.rating-badge {
  flex: 0 0 auto;
  display: inline-grid;
  min-width: 30px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.rating-ap { background: linear-gradient(135deg, #f59e0b, #d97706); }
.rating-a { background: linear-gradient(135deg, #22c55e, #16a34a); }
.rating-am { background: linear-gradient(135deg, #10b981, #059669); }
.rating-bp { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.rating-b { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.rating-bm { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.rating-cp { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.rating-c { background: linear-gradient(135deg, #94a3b8, #64748b); }
.rating-cm { background: linear-gradient(135deg, #a8a29e, #78716c); }
.rating-na { background: #e2e8f0; color: #64748b; font-weight: 700; }

.rank-total-line {
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid #e4ecfb;
  border-radius: 8px;
  color: #3b5173;
  background: #f6f9ff;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.5;
}

.rank-grade {
  margin: 0 0 15px;
}

.rank-grade-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.rank-grade-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.rank-school-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rank-school-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #e1e8f2;
  border-radius: 999px;
  color: #40516c;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
}

button.rank-school-chip {
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
button.rank-school-chip:hover {
  border-color: #0d6efd;
  color: #0d6efd;
  background: #f2f7ff;
}

.rank-school-chip.is-home {
  color: #7c2d12;
  border-color: #fdba74;
  background: #fff7ed;
  font-weight: 700;
}

button.rank-school-chip.is-home:hover {
  border-color: #f59e0b;
  color: #9a3412;
  background: #fff7ed;
}

.rank-home-badge {
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  color: #fff;
  background: #f97316;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.rank-source-note {
  margin: 0 0 2px;
  color: #8b97ab;
  font-size: 11px;
  line-height: 1.55;
}

.overview-section {
  padding-top: 16px;
}

.overview-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.overview-pager button {
  min-height: 34px;
  border: 1px solid #e1e8f2;
  border-radius: 999px;
  padding: 0 16px;
  color: #5b6576;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.overview-pager button:hover {
  border-color: rgba(37, 99, 235, 0.42);
  color: var(--primary-dark);
}

.overview-pager button.active {
  color: #fff;
  border-color: var(--primary);
  background: linear-gradient(135deg, #3b82f6, var(--primary));
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

.overview-pager-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.overview-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed #e3ebf6;
}

.overview-page-nav button {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 7px 14px;
  color: #42546f;
  background: #fff;
  font-size: 13px;
  font-weight: 620;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.overview-page-nav button:hover:not(:disabled) {
  color: #b45309;
  border-color: #ffb27a;
  background: #fff8f3;
}

.overview-page-nav button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.overview-page-nav span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.exam-info-module {
  display: grid;
  gap: 14px;
}

.exam-hero-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(120% 180% at 92% -30%, rgba(255, 255, 255, 0.22), transparent 46%),
    linear-gradient(125deg, #0f2a6e 0%, #1e40af 58%, #6d28d9 130%);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.22);
}

.exam-hero-card .eyebrow {
  color: #c7d6ff;
}

.exam-hero-card h3 {
  margin-top: 2px;
  color: #fff;
  font-size: 22px;
}

.exam-major-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.exam-code-chip {
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 2px 8px;
  color: #1e3a8a;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.exam-major-title strong {
  color: #fff;
  font-size: 16px;
  font-weight: 720;
}

.exam-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 11px;
}

.exam-metric-card {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 92px;
  align-content: start;
  padding: 13px 14px 12px;
  border: 1px solid #e2ebf8;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.06);
}

.exam-metric-card span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5a6c8c;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1px;
}

.exam-metric-card strong {
  color: #1e2f55;
  font-size: 20px;
  font-weight: 840;
  line-height: 1.3;
  letter-spacing: 0.1px;
}

.exam-metric-card em {
  color: #8494ad;
  font-size: 11.5px;
  font-style: normal;
  line-height: 1.55;
}

.exam-subjects {
  padding: 16px 17px;
  border: 1px solid #e2ebf8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.045);
}

.exam-subjects-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.exam-subjects-head h4 {
  margin: 0;
  color: #374258;
  font-size: 15px;
  font-weight: 760;
}

.exam-subjects-head span {
  color: #8494ad;
  font-size: 12.5px;
  font-weight: 600;
}

.exam-subject-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 9px;
}

.exam-subject-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #e4ecf9;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.exam-subject-chip:hover {
  border-color: #b9cef2;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(30, 58, 138, 0.09);
}

.exam-subject-chip i {
  display: inline-grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #1e40af, #6d28d9);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 750;
}

.exam-subject-chip strong {
  min-width: 0;
  color: #26385c;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.exam-dir-group {
  display: grid;
  gap: 8px;
}

.exam-dir-group + .exam-dir-group {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed #e2ebf8;
}

.exam-dir-group .exam-dir-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  color: #1e3a8a;
  background: #eef4ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.exam-subject-raw {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px dashed #d8e4f5;
  border-radius: 10px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.55;
}

.exam-info-note {
  margin: 0;
}

.exam-filter-bar {
  margin: 2px 0 10px;
}

.exam-filter-hint {
  align-self: center;
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.55;
}

.exam-hero-meta {
  margin: 3px 0 0;
  color: #c7d6ff;
  font-size: 12.5px;
  font-weight: 550;
}

.exam-subject-code {
  display: inline-grid;
  flex: 0 0 auto;
  min-width: 37px;
  height: 23px;
  place-items: center;
  padding: 0 6px;
  border-radius: 7px;
  color: #1e3a8a;
  background: #e3ecff;
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.trend-card {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid #e5ecf7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(38, 57, 98, 0.05);
}

.trend-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.trend-head h4 {
  margin: 1px 0 2px;
  color: #1f2d49;
  font-size: 16px;
  font-weight: 750;
}

.trend-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

.trend-head .primary-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.trend-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.trend-note {
  margin: 9px 0 0;
  color: #8b97ab;
  font-size: 11px;
  line-height: 1.6;
}

.forecast-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.forecast-main,
.forecast-stat {
  display: grid;
  gap: 4px;
  min-height: 84px;
  align-content: center;
  padding: 12px 14px;
  border: 1px solid #e5ecf7;
  border-radius: 10px;
}

.forecast-stat {
  background: #f8fbff;
}

.forecast-main {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #1e40af, #6d28d9);
}

.forecast-main span,
.forecast-stat span {
  font-size: 12px;
  font-weight: 700;
}

.forecast-main span {
  color: #dbe4ff;
}

.forecast-stat span {
  color: var(--muted);
}

.forecast-main strong {
  color: #fff;
  font-size: 26px;
  font-weight: 850;
  line-height: 1.2;
}

.forecast-stat strong {
  color: #1e2f55;
  font-size: 21px;
  font-weight: 820;
  line-height: 1.25;
}

.forecast-main em,
.forecast-stat em {
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.forecast-main em {
  color: #c7d2fe;
}

.forecast-stat em {
  color: #7b8aa2;
}

.forecast-chart {
  margin: 12px 0 4px;
}

.forecast-factors {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #e5ecf7;
  border-radius: 10px;
  background: #f8fafc;
}

.forecast-factors .eyebrow {
  margin: 0 0 1px;
}

.forecast-factors span {
  position: relative;
  padding-left: 13px;
  color: #46536b;
  font-size: 12.5px;
  line-height: 1.5;
}

.forecast-factors span::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff6a00;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.contact-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e7edf6;
  border-radius: 10px;
  background: #fbfcfe;
}

.contact-item span,
.exam-info-list span,
.school-stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.contact-label {
  color: #7d8aa0 !important;
  font-size: 12px !important;
  letter-spacing: 0.04em;
}

.contact-value {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #2b3648;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 520;
  overflow-wrap: anywhere;
}

.contact-line {
  display: block;
  min-width: 0;
}

.contact-link {
  color: #2f6fed;
  text-decoration: none;
  border-bottom: 1px dashed rgba(47, 111, 237, 0.45);
}

.contact-link:hover {
  color: #1d4ed8;
  border-bottom-style: solid;
}

.contact-item strong,
.exam-info-list strong {
  min-width: 0;
  overflow: hidden;
  color: #374258;
  font-size: 14px;
  font-weight: 520;
}

.school-key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 4px 0 14px;
}

.school-key-fact {
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.school-key-fact span {
  color: #7d8aa0;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.school-key-fact strong {
  color: #1f2b3f;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 720;
}

.world-rank-item strong {
  font-size: 20px;
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.campus-shot {
  display: grid;
  min-height: 118px;
  place-items: end start;
  overflow: hidden;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 28, 45, 0.06), rgba(20, 28, 45, 0.54)),
    linear-gradient(135deg, #91c9d1, #5f879a);
}

.campus-shot.has-photo {
  position: relative;
  min-height: 150px;
  background-color: #334155;
  background-position: center;
  background-size: cover;
}

.campus-shot.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.58));
}

.campus-shot.has-photo span {
  position: relative;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(3px);
}

.campus-shot span {
  font-size: 13px;
  font-weight: 620;
}

.shot-2 {
  background:
    linear-gradient(180deg, rgba(20, 28, 45, 0.04), rgba(20, 28, 45, 0.5)),
    linear-gradient(135deg, #9ab98c, #517a74);
}

.shot-3 {
  background:
    linear-gradient(180deg, rgba(20, 28, 45, 0.04), rgba(20, 28, 45, 0.5)),
    linear-gradient(135deg, #b5a3d8, #6d749e);
}

.shot-4 {
  background:
    linear-gradient(180deg, rgba(20, 28, 45, 0.04), rgba(20, 28, 45, 0.5)),
    linear-gradient(135deg, #d2ac7a, #9b6f5b);
}

.school-stat-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.school-stat-card {
  display: grid;
  gap: 8px;
  min-height: 86px;
  align-content: center;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
}

.school-stat-card strong {
  color: #202a3d;
  font-size: 22px;
  line-height: 1;
  font-weight: 720;
}

.world-rank-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

@media (max-width: 760px) {
  .world-rank-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.world-rank-item {
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f4f7fc);
}

.world-rank-item strong {
  color: var(--primary-dark);
  font-size: 19px;
  line-height: 1;
  font-weight: 760;
}

.world-rank-item span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.exam-info-list,
.detail-checklist,
.brief-list {
  display: grid;
  gap: 10px;
}

.exam-info-list div,
.brief-item {
  display: grid;
  gap: 4px;
  min-height: 56px;
  align-content: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.exam-info-list div:last-child,
.brief-item:last-child {
  border-bottom: 0;
}

.detail-checklist button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: #334155;
  background: #f8fafc;
  text-align: left;
  font-weight: 520;
}

.detail-checklist span {
  color: #ff6a00;
}

.table-scroll {
  overflow-x: auto;
}

.admission-plan-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admission-plan-table th,
.admission-plan-table td {
  padding: 16px 13px;
  border-bottom: 1px solid #edf2f7;
  color: #3d4759;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.55;
}

.admission-plan-table th {
  color: var(--muted);
  font-weight: 620;
}

.plan-history-table {
  min-width: 1180px;
}

.plan-history-table th,
.plan-history-table td {
  padding: 11px 10px;
  line-height: 1.45;
}

.plan-history-table .plan-in-plan {
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

.plan-history-table .plan-exam-cell strong,
.plan-history-table .plan-recommend-cell strong {
  cursor: help;
  font-weight: 680;
}

.plan-history-table td.plan-exam-cell,
.plan-history-table td.plan-recommend-cell {
  white-space: nowrap;
}

.plan-history-table .plan-subject {
  width: 330px;
  min-width: 300px;
  max-width: 380px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  vertical-align: top;
}

.plan-subject-compact {
  display: grid;
  gap: 2px;
}

.plan-subject-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.plan-subject-line em {
  flex: 0 0 auto;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.plan-subject-line span {
  min-width: 0;
  color: #64748b;
}

.plan-history-table .plan-dir-line {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.plan-history-table .plan-dir-line em {
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.plan-est-mark {
  display: inline-block;
  margin-left: 5px;
  border-radius: 999px;
  padding: 1px 6px;
  color: #b45309;
  background: #fffbeb;
  font-size: 10px;
  font-weight: 700;
}

.plan-na {
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
}

.subject-avg {
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
  cursor: help;
}

.subject-avg sup {
  margin-left: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #0f766e;
}

.retest-link {
  display: inline-block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  text-decoration: none;
}

.retest-link:hover,
.retest-link:focus {
  color: #ffffff;
  background: #1d4ed8;
  text-decoration: none;
}

.retest-link.retest-pdf {
  color: #be185d;
  background: #fdf2f8;
}

.retest-link.retest-pdf:hover,
.retest-link.retest-pdf:focus {
  color: #ffffff;
  background: #be185d;
}

.source-tag {
  display: inline-block;
  max-width: 220px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.source-tag.source-official {
  color: #047857;
  background: #ecfdf5;
}

.source-tag.source-archive {
  color: #1d4ed8;
  background: #eff6ff;
}

.source-tag.source-estimated {
  color: #b45309;
  background: #fffbeb;
}

.admission-plan-table td:nth-child(2) {
  color: var(--ink);
  font-weight: 560;
}

.announcement-list {
  display: grid;
  gap: 10px;
}

.announcement-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px auto;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
}

.announcement-item span,
.announcement-item small,
.brief-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.announcement-item strong,
.brief-item strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 560;
}

.announcement-item .title-link,
.brief-item .title-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.announcement-item .title-link:hover,
.brief-item .title-link:hover {
  color: var(--primary);
}

.announcement-item em {
  display: inline-grid;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #8a4a00;
  background: #fff1d6;
  font-style: normal;
  font-size: 12px;
  font-weight: 620;
}

.announcement-item button,
.brief-item button {
  min-height: 34px;
  border: 1px solid #ffd6b8;
  border-radius: 8px;
  padding: 0 12px;
  color: #d75000;
  background: #fff7f1;
  font-weight: 620;
}

.brief-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.announcement-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.ann-search-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 380px);
  min-height: 40px;
  padding: 6px 8px 6px 14px;
  border: 1px solid #dbe6f3;
  border-radius: 999px;
  background: #fff;
}

.ann-search-wrap span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.ann-search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.announcement-pagination {
  min-width: 0;
  margin-top: 14px;
}

.announcement-count {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 13px;
}

.brief-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.brief-open {
  color: var(--primary);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.brief-open:hover {
  text-decoration: underline;
}

.tutor-module {
  display: grid;
  gap: 14px;
}

.tutor-source {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tutor-official {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.tutor-official-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #dbe6f3;
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.tutor-official-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.tutor-official-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tutor-official-card em {
  color: var(--primary);
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
}

.tutor-official-card:hover {
  border-color: var(--primary);
}

.tutor-college-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.tutor-college-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #dbe6f3;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 560;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tutor-college-chip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.tutor-college-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tutor-note {
  margin: 4px 2px 0;
  color: var(--muted);
  font-size: 12px;
}

.side-block {
  display: grid;
  gap: 14px;
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
  padding: 18px;
}

.side-block p {
  margin: 0;
  color: #59667a;
  line-height: 1.65;
}

.ai-side-block {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.94) 46%),
    #fff;
}

.recommend-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.recommend-school {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid #e7edf6;
  border-radius: 10px;
  color: inherit;
  background: #fff;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}

.recommend-school:hover {
  border-color: #bfd3f5;
  box-shadow: 0 8px 18px rgba(43, 75, 128, 0.09);
  transform: translateY(-1px);
}

.recommend-school:active {
  transform: scale(0.985);
}

.recommend-school:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.recommend-school span:last-child {
  min-width: 0;
}

.recommend-school strong,
.recommend-school small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-school strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 560;
}

.recommend-school small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .sidebar {
    align-items: center;
    padding-inline: 12px;
  }

  .brand span:last-child,
  .nav-item {
    font-size: 0;
  }

  .brand {
    width: 100%;
    justify-content: center;
    padding: 0 0 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-item {
    width: 48px;
    justify-content: center;
    padding: 0;
  }

  .nav-group-toggle {
    display: grid;
    width: 48px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .nav-group-toggle strong,
  .nav-group-toggle i {
    display: none;
  }

  .nav-subitems {
    position: absolute;
    z-index: 35;
    top: 0;
    left: 58px;
    display: none;
    width: 156px;
    margin: 0;
    padding: 7px;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(28, 52, 86, 0.16);
  }

  .nav-group.is-open .nav-subitems {
    display: grid;
  }

  .nav-subitems .nav-item {
    width: 100%;
    justify-content: flex-start;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .advisor-card {
    display: none;
  }

  .content-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .right-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-home {
    max-width: none;
  }

  .public-source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-detail-layout {
    grid-template-columns: 1fr;
  }

  .school-detail-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .master-point-grid {
    grid-template-columns: 1fr;
  }

  .major-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .target-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weakness-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
  }

  .brand {
    padding: 0;
    flex: 0 0 auto;
  }

  .nav-list {
    display: flex;
    min-width: max-content;
  }

  .utility-nav {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    min-width: max-content;
  }

  .workspace {
    padding: 18px;
  }

  h1 {
    font-size: 36px;
  }

  .greeting-title {
    font-size: 28px;
  }

  .topbar,
  .top-actions {
    display: grid;
    min-width: 0;
  }

  .top-actions {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .dashboard-topbar .top-actions {
    grid-template-columns: 1fr;
  }

  .primary-action {
    grid-column: 1 / -1;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .pipeline,
  .insight-strip,
  .right-rail {
    grid-template-columns: 1fr;
  }

  .overview-row,
  .change-body,
  .ai-workbench,
  .ai-chooser-layout,
  .login-layout,
  .profile-edit-form,
  .register-panel .form-grid,
  .account-stats,
  .auth-status-grid,
  .major-category-grid,
  .target-card-grid,
  .decision-grid,
  .compare-reference-grid,
  .compare-school-breakdown article,
  .compare-school-breakdown ul,
  .custom-task-form,
  .weakness-grid,
  .detail-section.split,
  .contact-grid,
  .public-source-metrics,
  .public-source-list,
  .program-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .public-source-summary footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-matrix {
    overflow-x: auto;
  }

  .matrix-head,
  .matrix-row {
    min-width: 860px;
  }

  .school-hero-detail {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "emblem copy"
      "metrics metrics"
      "brief brief";
    gap: 18px;
  }

  .school-emblem {
    width: 82px;
    height: 82px;
    border-radius: 16px;
    font-size: 30px;
  }

  .school-hero-copy h2 {
    font-size: 28px;
  }

  .school-hero-metrics {
    align-self: auto;
    flex-wrap: wrap;
  }

  .campus-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-panel {
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .workspace {
    padding: 14px;
  }

  h1 {
    font-size: 30px;
  }

  .greeting-title {
    font-size: 26px;
  }

  .dashboard-topbar {
    gap: 16px;
  }

  .today-card,
  .target-overview-card,
  .ai-overview-card,
  .change-card {
    padding: 16px;
  }

  .today-task {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .today-task .task-timer-btn {
    justify-self: start;
  }

  .target-mix,
  .target-page-summary {
    flex-wrap: wrap;
  }

  .dashboard-card-head {
    display: grid;
  }

  .account-hero,
  .benefit-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-band {
    align-items: stretch;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .filter-label {
    padding-top: 0;
  }

  .filter-group {
    width: 100%;
  }

  .filter-options {
    flex-wrap: nowrap;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-options::-webkit-scrollbar {
    display: none;
  }

  .filter-options .chip {
    flex: 0 0 auto;
  }

  .sort-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sort-select {
    width: 100%;
  }

  .segmented {
    flex: 1;
  }

  .panel-head {
    display: grid;
  }

  .module-title,
  .module-actions,
  .detail-grid,
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .module-grid,
  .module-grid.two,
  .compare-layout,
  .study-layout,
  .plan-grid,
  .target-card-grid,
  .decision-grid,
  .custom-task-form,
  .membership-grid,
  .benefit-grid,
  .ai-card-stats,
  .history-summary,
  .score-trend-grid,
  .score-trend-grid.rich-score-summary,
  .subject-line-strip,
  .school-detail-side,
  .campus-gallery,
  .school-stat-row,
  .analysis-metric-grid {
    grid-template-columns: 1fr;
  }

  .plan-filter-field {
    width: 100%;
  }

  .plan-filter-field select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .school-hero-detail {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "emblem"
      "copy"
      "metrics"
      "brief";
    padding: 18px;
  }

  .school-hero-copy {
    min-width: 0;
  }

  .school-hero-metrics,
  .school-hero-actions {
    display: grid;
  }

  .school-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-hero-actions .school-official-link {
    justify-content: center;
  }

  .school-hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .school-hero-metrics span {
    min-width: 0;
    padding: 8px 6px;
  }

  .school-tabs {
    gap: 22px;
    padding-inline: 16px;
  }

  .school-tabs button {
    height: 56px;
    font-size: 16px;
  }

  .detail-section {
    padding: 18px;
  }

  .school-table {
    gap: 12px;
  }

  .program-pagination {
    display: grid;
    min-width: 0;
    gap: 10px;
  }

  .pagination-controls {
    justify-content: flex-start;
  }

  .table-head {
    display: none;
  }

  .school-row {
    min-width: 0;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px 12px;
  }

  .school-title,
  .school-row > div:nth-child(2),
  .school-row > div:nth-child(3),
  .school-row > div:nth-child(4),
  .rank-plan-cell,
  .row-actions {
    grid-column: 1 / -1;
  }

  .school-title {
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f8;
  }

  .school-row > div:nth-child(3)::before {
    content: "学硕均分 ";
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .school-row > div:nth-child(4)::before {
    content: "专硕均分 ";
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .risk-cell {
    justify-self: start;
  }

  .study-today-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .study-today-item .task-timer-btn {
    grid-column: 2;
    justify-self: end;
  }

  .study-today-item > button:last-child {
    grid-column: 1 / 2;
    justify-self: start;
  }

  .row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .row-action {
    width: 100%;
    justify-self: stretch;
  }

  .news-item {
    grid-template-columns: 1fr auto;
  }

  .news-tag {
    width: fit-content;
  }

  .news-item strong {
    grid-column: 1 / -1;
    white-space: normal;
  }
}

/* —— 去除不影响操作的辅助说明，降低视觉噪声 —— */
.entry-progress-note,
.planning-profile-note,
.recommend-note,
.ai-form-note,
.ai-result-subtitle,
.detail-note,
.target-card-note,
.daily-hero-copy > p,
.daily-target-visual > p,
.daily-week-card > p,
.daily-insight-row,
.retest-tools-head > span,
.retest-page-switch button em,
.adjx-page-switch button small,
.adjx-ai-section .adjx-section-head > span,
.adjx-form-head > span,
.adjx-ai-form > small,
.adjx-ai-disclaimer,
.adjx-official-portal > div:nth-child(2) > span {
  display: none !important;
}

.tt-study-banner {
  min-height: 62px;
  padding-block: 12px;
}

.tt-study-banner p,
.tt-ai-head p:not(.eyebrow) {
  display: none;
}

.tt-ai-head {
  align-items: center;
}

.tt-ai-head h3 {
  margin: 3px 0 0;
}

.retest-page-switch button {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 68px;
}

.retest-page-switch button strong {
  margin-top: 0;
}

.adjx-page-switch button {
  min-height: 62px;
}

.daily-hero {
  gap: 12px;
}

.daily-card-heading {
  margin-bottom: 2px;
}

@media (max-width: 720px) {
  .exam-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam-subject-chips {
    grid-template-columns: 1fr;
  }

  .forecast-summary-grid {
    grid-template-columns: 1fr;
  }

  .overview-pager-count {
    margin-left: 0;
    width: 100%;
  }

  .overview-page-nav {
    flex-wrap: wrap;
  }
}

/* ====================================================
   课表与 AI 智能排课
   ==================================================== */
.tt-study-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px dashed #b9cdf5;
  border-radius: 10px;
  background: linear-gradient(135deg, #f3f8ff, #f8fbff);
}

.tt-study-banner.has-tt {
  border-style: solid;
  border-color: #d8e6ff;
  background: linear-gradient(135deg, #eef5ff, #f9fcff);
}

.tt-study-banner strong {
  color: #24406f;
  font-size: 14px;
  font-weight: 800;
}

.tt-study-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.tt-study-banner button {
  flex: 0 0 auto;
}

.tt-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.tt-control,
.tt-ai-card,
.tt-week-card,
.tt-plan-result {
  padding: 14px;
  border: 1px solid #e4ebf6;
  border-radius: 10px;
  background: #f8fbff;
}

.tt-control {
  display: grid;
  gap: 12px;
}

.tt-control-head {
  display: grid;
  gap: 8px;
}

.tt-sub {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.tt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tt-toolbar .small-action {
  font-size: 12px;
}

.tt-week-filter {
  margin-top: 2px;
}

.tt-course-list-wrap {
  display: grid;
  gap: 8px;
}

.tt-course-list {
  display: grid;
  gap: 8px;
  max-height: 330px;
  overflow: auto;
  padding-right: 2px;
}

.tt-course-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid #e5ecf7;
  border-radius: 8px;
  background: #fff;
}

.tt-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(20, 30, 50, 0.08);
}

.tt-course-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tt-course-meta strong {
  color: #2a3750;
  font-size: 13px;
  font-weight: 800;
}

.tt-course-meta span,
.tt-course-meta small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.tt-course-meta small {
  width: fit-content;
  padding: 0 6px;
  border-radius: 999px;
  color: #5a6980;
  background: #eef3fa;
  font-weight: 700;
}

.tt-delete-btn {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #b42318;
  background: #fff1f0;
  cursor: pointer;
}

.tt-delete-btn svg {
  width: 14px;
  height: 14px;
}

.tt-tip {
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  background: #eef4fb;
  font-size: 11px;
  line-height: 1.7;
}

.tt-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.tt-ai-card {
  background: linear-gradient(135deg, #ffffff, #f6faff);
}

.tt-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tt-ai-head h3 {
  margin: 2px 0 0;
  color: #21314d;
  font-size: 17px;
  line-height: 1.3;
}

.tt-ai-head p:not(.eyebrow) {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.score-bubble.small {
  width: 52px;
  height: 52px;
  font-size: 15px;
}

.tt-ai-controls {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #dbe5f2;
}

.tt-ai-controls .primary-action {
  white-space: nowrap;
}

.tt-week-card {
  background: #fff;
}

.tt-week-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tt-week-head h3 {
  margin: 2px 0 0;
  color: #22314d;
  font-size: 16px;
}

.tt-legend {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.tt-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tt-legend i {
  display: inline-block;
  width: 14px;
  height: 10px;
  border-radius: 3px;
}

.tt-legend-course {
  background: #cfe0ff;
  box-shadow: inset 0 0 0 1px rgba(30, 50, 90, 0.12);
}

.tt-legend-study {
  background: linear-gradient(135deg, #4f7ee8, #7a5ee8);
}

.tt-grid-wrap {
  overflow-x: auto;
}

.tt-grid {
  width: 100%;
  min-width: 760px;
  border-spacing: 4px;
  border-collapse: separate;
}

.tt-grid th,
.tt-grid td {
  vertical-align: top;
}

.tt-grid th {
  color: #40506b;
  font-weight: 800;
  text-align: left;
}

.tt-grid .tt-time-head {
  width: 86px;
  min-width: 86px;
  padding: 8px 6px;
}

.tt-grid .tt-time-head span,
.tt-grid .tt-day-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.tt-grid .tt-day-head {
  padding: 8px 6px;
  text-align: center;
}

.tt-grid .tt-day-head span {
  color: #2f5fb3;
  font-weight: 800;
}

.tt-grid td.tt-cell {
  height: 68px;
  padding: 0;
  border-radius: 7px;
}

.tt-grid td.tt-free {
  background: #f3f7fc;
  box-shadow: inset 0 0 0 1px rgba(213, 225, 241, 0.8);
}

.tt-grid td.tt-course {
  box-shadow: inset 0 0 0 1px rgba(25, 40, 70, 0.07);
}

.tt-course-box,
.tt-study-box {
  position: relative;
  display: grid;
  gap: 2px;
  height: 100%;
  min-height: 62px;
  padding: 8px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.tt-course-box strong,
.tt-study-box strong {
  color: #24314b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.tt-course-box span,
.tt-study-box span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: rgba(28, 40, 66, 0.68);
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-study-box {
  color: #fff;
  background: linear-gradient(135deg, #4f7ee8, #7a5ee8);
  box-shadow: 0 2px 8px rgba(70, 100, 220, 0.25);
}

.tt-study-box strong,
.tt-study-box span {
  color: #fff;
}

.tt-empty-plan {
  display: grid;
  min-height: 84px;
  place-items: center;
  gap: 4px;
  border: 1px dashed #c7d6ee;
  border-radius: 10px;
  color: var(--muted);
  background: #f8fbff;
  text-align: center;
  padding: 12px;
}

.tt-empty-plan strong {
  color: #4b5a70;
  font-size: 14px;
}

.tt-empty-plan p {
  margin: 0;
  font-size: 12px;
}

.tt-plan-result {
  background: #fbfdff;
}

.tt-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tt-plan-head h3 {
  margin: 2px 0 0;
  color: #1f2f4c;
  font-size: 16px;
}

.tt-advice {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 3px solid #5b8def;
  border-radius: 0 8px 8px 0;
  color: #43536c;
  background: #eef5ff;
  font-size: 13px;
  line-height: 1.65;
}

.tt-day-plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tt-day-plan {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e5ecf7;
  border-radius: 8px;
  background: #fff;
}

.tt-day-plan h4 {
  margin: 0 0 2px;
  color: #33445f;
  font-size: 13px;
}

.tt-day-row {
  display: grid;
  grid-template-columns: 84px auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px dashed #edf2f8;
}

.tt-day-row time {
  color: #5b6b84;
  font-size: 11px;
  font-weight: 800;
}

.tt-subject-tag {
  width: fit-content;
  padding: 1px 8px;
  border-radius: 999px;
  color: #38516f;
  background: #eef4fb;
  font-size: 11px;
  font-weight: 800;
}

.tt-subject-tag.math {
  color: #8a4b0f;
  background: #fff1dc;
}

.tt-subject-tag.english {
  color: #1f5c8a;
  background: #e2f2fd;
}

.tt-subject-tag.politics {
  color: #9a2d4b;
  background: #fde8ef;
}

.tt-subject-tag.professional {
  color: #4b3a8f;
  background: #ece7ff;
}

.tt-subject-tag.review,
.tt-subject-tag.custom {
  color: #176b4d;
  background: #e2f6ec;
}

.tt-day-row p {
  min-width: 0;
  margin: 0;
  color: #44536c;
  font-size: 12px;
  line-height: 1.45;
}

.tt-day-row em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.tt-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.tt-import-mode {
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
}

.tt-import-mode > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tt-step {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #e2eaf6;
  border-radius: 10px;
  background: #fff;
}

.tt-step legend {
  padding: 0 6px;
  color: #2f5fb3;
  font-size: 13px;
  font-weight: 800;
}

.tt-portal-host {
  display: grid;
}

.tt-portal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #f2f8ff;
}

.tt-portal-card.muted {
  gap: 8px;
  background: #f8fafc;
}

.tt-portal-card.muted .tt-no-portal {
  color: #7a8798;
  font-size: 12px;
  white-space: nowrap;
}

.tt-portal-card.muted {
  border-style: dashed;
  border-color: #d6deea;
  background: #f8fafc;
}

.tt-portal-card strong {
  color: #24406f;
  font-size: 13px;
  font-weight: 800;
}

.tt-portal-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.tt-portal-card .tt-open-portal {
  flex: 0 0 auto;
  height: auto;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.tt-school-picker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.tt-school-picker input {
  min-width: 0;
}

.tt-school-clear {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8b96a7;
  background: #fff;
  cursor: pointer;
}

.tt-school-clear svg {
  width: 15px;
  height: 15px;
}

.tt-school-suggest {
  position: absolute;
  z-index: 30;
  right: 0;
  left: 0;
  max-height: 260px;
  overflow: auto;
  margin-top: 2px;
  padding: 5px;
  border: 1px solid #d8e3f3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 48, 96, 0.18);
}

.tt-school-suggest[hidden] {
  display: none;
}

.tt-school-option {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: #33445f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.tt-school-option:hover,
.tt-school-option:focus-visible {
  color: #1b3f86;
  background: #eef5ff;
  outline: none;
}

.tt-school-suggest-empty {
  padding: 10px 8px;
  color: #7a8798;
  font-size: 12px;
  text-align: center;
}

.tt-step-tip {
  margin: 0;
  padding: 7px 9px;
  border-radius: 7px;
  color: #7a5420;
  background: #fff6e8;
  font-size: 11px;
  line-height: 1.6;
}

.tt-format-demo {
  margin: 4px 0 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #eef4fb;
}

.tt-format-demo p {
  margin: 2px 0;
  color: #5a6980;
  font-size: 12px;
  line-height: 1.6;
}

.tt-time-chip {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 7px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #4f7ee8, #7a5ee8);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  vertical-align: 1px;
}

@media (max-width: 1180px) {
  .tt-layout {
    grid-template-columns: 1fr;
  }

  .tt-course-list {
    max-height: 220px;
  }
}

@media (max-width: 860px) {
  .tt-study-banner,
  .tt-ai-head,
  .tt-plan-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tt-ai-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tt-ai-controls .primary-action {
    justify-self: start;
  }

  .tt-day-plan-list {
    grid-template-columns: 1fr;
  }

  .tt-day-row {
    grid-template-columns: 76px auto 1fr;
  }

  .tt-day-row em {
    grid-column: 3;
  }
}

/* ============ 课表界面 v2 优化 ============ */
.tt-school-select-btn {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  color: #24406f;
  background: #f2f7ff;
  font: inherit;
  cursor: pointer;
}

.tt-school-select-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.tt-school-select-btn svg:last-child {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #7f96bd;
}

.tt-school-select-btn strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-school-select-btn:hover,
.tt-school-select-btn:focus-visible {
  border-color: #9dbdf2;
  background: #e7f0ff;
  outline: none;
}

.tt-quick-schools {
  grid-column: 1 / -1;
}

.tt-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tt-index-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.tt-index-bar button {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  padding: 0 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.tt-index-bar button:hover,
.tt-index-bar button:focus-visible {
  color: #1b3f86;
  background: #eef5ff;
  outline: none;
}

.tt-index-bar button.active {
  color: #fff;
  background: linear-gradient(135deg, #4f7ee8, #7a5ee8);
}

.tt-school-list-wrap {
  display: grid;
  gap: 6px;
}

.tt-index-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tt-school-results {
  display: grid;
  max-height: 280px;
  gap: 5px;
  overflow: auto;
  padding: 2px;
  border: 1px solid #e5ecf7;
  border-radius: 10px;
  background: #f8fbff;
}

.tt-pick-result {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  color: #33445f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.tt-pick-result:hover,
.tt-pick-result:focus-visible {
  color: #1b3f86;
  background: #eef5ff;
  outline: none;
}

.tt-pick-result em {
  flex: 0 0 auto;
  padding: 1px 7px;
  border-radius: 999px;
  color: #1b6b4a;
  background: #e2f6ec;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.tt-quick-school {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #dce7f6;
  border-radius: 8px;
  color: #33445f;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.tt-quick-school:hover,
.tt-quick-school:focus-visible {
  color: #1b3f86;
  border-color: #9dbdf2;
  background: #eef5ff;
  outline: none;
}

.tt-grid {
  min-width: 860px;
}

.tt-grid .tt-time-head {
  width: 104px;
  min-width: 104px;
}

.tt-grid td.tt-cell {
  height: 92px;
}

.tt-course-box,
.tt-study-box {
  min-height: 86px;
  padding: 8px 10px;
}

.tt-course-box strong,
.tt-study-box strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0.2px;
  line-height: 1.3;
  text-overflow: ellipsis;
  word-break: break-word;
}

.tt-course-box span,
.tt-study-box span {
  font-size: 11px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-study-box .tt-ai-chip {
  position: absolute;
  top: 3px;
  right: 5px;
  padding: 1px 5px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(17, 24, 53, 0.3);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.6px;
}

.tt-block-btn {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.tt-course:hover .tt-course-box,
.tt-course-box:hover {
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.tt-study:hover .tt-study-box,
.tt-study-box:hover {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(80, 90, 220, 0.5);
  transform: translateY(-1px);
}

.tt-study-box {
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.tt-course-row {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tt-course-row:hover,
.tt-course-row:focus-visible {
  border-color: #9dbdf2;
  background: #f7fbff;
  outline: none;
}

.tt-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tt-detail-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #e5ecf7;
  border-radius: 8px;
  background: #f8fbff;
}

.tt-detail-item.full {
  grid-column: 1 / -1;
}

.tt-detail-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.tt-detail-item strong {
  color: #26324a;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

@media (max-width: 860px) {
  .tt-quick-grid {
    grid-template-columns: 1fr;
  }

  .tt-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ 课表简洁高级感 + 当日大字详情 ============ */
.tt-day-card {
  padding: 18px;
  border: 1px solid rgba(218, 227, 242, 0.9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(35, 63, 113, 0.06);
}

.tt-day-card .tt-day-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.tt-day-card .tt-day-head h3 {
  margin: 2px 0 0;
  color: #16233f;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0.2px;
}

.tt-day-tabs {
  display: flex;
  gap: 4px;
  margin: 14px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f8;
}

.tt-day-tabs button {
  min-width: 52px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #7a8798;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.tt-day-tabs button:hover {
  color: #1b3f86;
  background: #eef5ff;
}

.tt-day-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #4f7ee8, #7a5ee8);
  box-shadow: 0 4px 12px rgba(90, 110, 225, 0.32);
}

.tt-big-list {
  display: grid;
  gap: 10px;
}

.tt-big-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f8fbff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.tt-big-row:hover,
.tt-big-row:focus-visible {
  border-color: #cfdcf5;
  box-shadow: 0 8px 20px rgba(35, 63, 113, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.tt-big-row time {
  color: #33486f;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.tt-big-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tt-big-row strong {
  overflow: hidden;
  color: #16233f;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.tt-big-row span {
  color: #7a8798;
  font-size: 13px;
}

.tt-big-row.ai {
  background: linear-gradient(135deg, #f2f6ff, #f7f4ff);
}

.tt-big-row.ai strong {
  color: #2c2f6e;
}

.tt-big-tag {
  padding: 3px 10px;
  border-radius: 999px;
  color: #5b6b84;
  background: #eef3fa;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.tt-big-row.ai .tt-big-tag {
  color: #4b3a8f;
  background: #ece7ff;
}

.tt-big-empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px dashed #d7e1ef;
  border-radius: 14px;
  color: #8b96a7;
  font-size: 18px;
  font-weight: 700;
  background: #fbfdff;
}

.tt-day-card .tt-plan-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf2f8;
}

@media (max-width: 720px) {
  .tt-day-card .tt-day-head {
    flex-direction: column;
  }

  .tt-day-card .tt-day-head h3 {
    font-size: 20px;
  }

  .tt-day-tabs {
    overflow-x: auto;
  }

  .tt-big-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .tt-big-tag {
    display: none;
  }

  .tt-big-row strong {
    font-size: 16px;
  }
}

/* ============ 课表 v4：格子等大固定 + 长课程名自适应缩字 + 字体精修 ============ */
.tt-grid {
  table-layout: fixed;
}

.tt-grid .tt-time-head {
  width: 104px;
  min-width: 104px;
}

.tt-grid td.tt-cell {
  height: 92px;
  overflow: hidden;
  padding: 0;
  vertical-align: middle;
}

.tt-course-box,
.tt-study-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 5px 8px;
  overflow: hidden;
  text-align: center;
  font-family: "Inter", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

.tt-block-btn {
  padding: 0;
}

.tt-course-box strong,
.tt-study-box strong {
  display: -webkit-box;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.18;
  text-overflow: ellipsis;
  word-break: break-word;
}

.tt-course-box strong {
  color: #1d2b45;
}

.tt-course-box strong.tt-name-xxl { font-size: 21px; }
.tt-course-box strong.tt-name-xl { font-size: 19px; }
.tt-course-box strong.tt-name-lg { font-size: 16px; }
.tt-course-box strong.tt-name-md { font-size: 13.5px; }
.tt-course-box strong.tt-name-sm { font-size: 12px; }

.tt-course-box span.tt-course-people {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: rgba(27, 40, 66, 0.76);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.tt-course-box small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: rgba(27, 40, 66, 0.56);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-study-box {
  color: #fff;
  background: linear-gradient(135deg, #4f7ee8, #7a5ee8);
  box-shadow: 0 2px 8px rgba(70, 100, 220, 0.25);
}

.tt-study-box strong,
.tt-study-box span,
.tt-study-box small {
  color: #fff;
}

.tt-study-box span {
  font-size: 11px;
}

.tt-study-box .tt-ai-chip {
  position: absolute;
  top: 3px;
  right: 5px;
  padding: 1px 6px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(17, 24, 53, 0.28);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.6px;
}

.tt-course-box {
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.tt-course:hover .tt-course-box,
.tt-course-box:hover {
  filter: saturate(1.05);
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.32), 0 3px 10px rgba(50, 80, 160, 0.12);
  transform: translateY(-1px);
}

/* 课表表头与节次列：更大更清晰的字号与留白 */
.tt-grid .tt-time-head,
.tt-grid .tt-day-head {
  vertical-align: middle;
}

.tt-grid .tt-time-head strong {
  display: block;
  color: #33405a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.tt-grid .tt-time-head span {
  margin-top: 3px;
  color: #6a7689;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.tt-grid .tt-day-head {
  padding: 9px 4px;
}

.tt-grid .tt-day-head strong {
  display: block;
  color: #24314b;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.4px;
}

.tt-grid .tt-day-head span {
  margin-top: 3px;
  color: #2f5fb3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* 同一时段的多个课程/安排：上下堆叠展示，互不遮挡、不会丢课 */
.tt-cell-stack-host {
  padding: 0 !important;
}

.tt-cell-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 2px;
}

.tt-cell-stack .tt-course-box,
.tt-cell-stack .tt-study-box {
  flex: 1 1 0;
  min-height: 0;
  padding: 3px 4px;
  border-radius: 6px;
  gap: 2px;
}

.tt-cell-stack .tt-course-box strong,
.tt-cell-stack .tt-study-box strong {
  font-size: 13px;
  line-height: 1.2;
}

.tt-cell-stack .tt-course-box span.tt-course-people {
  font-size: 10px;
  line-height: 1.25;
}

.tt-cell-stack .tt-course-box small {
  display: block;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

/* 课程名未被 OCR 识别到时的占位格子：保留教师/教室，提示点击补充课程名 */
.tt-course-missing {
  box-shadow: inset 0 0 0 1.5px rgba(217, 119, 6, 0.45);
}

.tt-course-missing strong {
  color: #8a5a00;
}

.tt-constraints-field {
  grid-column: 1 / -1;
}

.tt-plan-note {
  margin: 0 0 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #4b3a8f;
  background: #f1edff;
  font-size: 12px;
  line-height: 1.55;
}

.tt-ocr-status {
  margin-top: 2px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #2456a6;
  background: #eaf2ff;
  font-size: 12px;
  line-height: 1.55;
}

.tt-ocr-status[hidden] {
  display: none;
}

.tt-big-row span {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tt-big-row.tt-subj-politics {
  border-left: 4px solid #e0684f;
}

.tt-big-row.tt-subj-english {
  border-left: 4px solid #2f8f83;
}

.tt-big-row.tt-subj-math {
  border-left: 4px solid #4263c9;
}

.tt-big-row.tt-subj-professional {
  border-left: 4px solid #7a5ee8;
}

.tt-big-row.tt-subj-review {
  border-left: 4px solid #d9a62e;
}

.tt-big-row.tt-subj-politics time {
  color: #a5432f;
}

.tt-big-row.tt-subj-english time {
  color: #206a60;
}

.tt-big-row.tt-subj-math time {
  color: #2c4b9e;
}

.tt-big-row.tt-subj-professional time {
  color: #5f41c4;
}

/* 教务入口卡片 */
.tt-portal-card {
  align-items: center;
}

.tt-portal-card .tt-portal-info {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
}

.tt-portal-card .tt-portal-info strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #24406f;
  font-size: 14px;
  font-weight: 850;
}

.tt-portal-card .tt-portal-info strong em {
  padding: 1px 7px;
  border-radius: 999px;
  color: #2456a6;
  background: #e0ecff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.tt-portal-card .tt-portal-info strong b {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(30, 120, 86, 0.2);
  border-radius: 999px;
  color: #1e7856;
  background: rgba(30, 120, 86, 0.08);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
  vertical-align: middle;
}

.tt-portal-card .tt-portal-info p {
  margin: 2px 0 0;
  color: #5f7189;
  font-size: 12px;
  line-height: 1.55;
}

.tt-portal-card.muted {
  flex-wrap: wrap;
}

.tt-porter-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border: 1px solid #d9e5f7;
  border-radius: 12px;
  background: #f7faff;
}

.tt-porter-guide div {
  min-width: 0;
}

.tt-porter-guide strong {
  display: block;
  color: #24406f;
  font-size: 12px;
}

.tt-porter-guide p {
  margin: 3px 0 0;
  color: #63748b;
  font-size: 11px;
  line-height: 1.55;
}

.tt-porter-guide p.tt-porter-install {
  color: #7c8ca2;
  font-size: 10px;
}

.tt-porter-guide > span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #6b788a;
  background: #eaf0f8;
  font-size: 10px;
  font-weight: 700;
}

.tt-porter-guide > span.ready {
  color: #16724f;
  background: #dcf4e9;
}

.tt-portal-card.muted .tt-no-portal {
  white-space: normal;
  text-align: right;
}

.tt-open-portal {
  flex: 0 0 auto;
}

/* 导入引导与一键粘贴 */
.tt-guide-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d9e5f7;
  border-radius: 10px;
  background: #f3f8ff;
}

.tt-guide-text {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.tt-guide-text strong {
  color: #263a5c;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.tt-guide-text span {
  color: #728198;
  font-size: 11px;
  line-height: 1.55;
}

.tt-paste-btn {
  flex: 0 0 auto;
}

/* 选校结果：选择按钮 + 官网入口 */
.tt-pick-result {
  min-height: 40px;
  padding: 2px;
  gap: 6px;
}

.tt-pick-apply {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: #33445f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.tt-pick-apply span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-pick-apply:hover,
.tt-pick-apply:focus-visible {
  color: #1b3f86;
  background: #e2edff;
  outline: none;
}

.tt-pick-result:hover .tt-pick-apply {
  color: #1b3f86;
  background: #eef5ff;
}

.tt-pick-portal {
  display: inline-grid;
  flex: 0 0 auto;
  min-height: 30px;
  place-items: center;
  padding: 0 9px;
  border-radius: 7px;
  color: #2456a6;
  background: #e0ecff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.tt-pick-portal:hover {
  color: #173f8a;
  background: #cfe0ff;
}

@media (max-width: 680px) {
  .tt-portal-card {
    align-items: stretch;
    flex-direction: column;
  }

  .tt-portal-card .tt-open-portal {
    width: 100%;
  }

  .tt-portal-card.muted {
    align-items: flex-start;
  }

  .tt-portal-card.muted .tt-no-portal {
    text-align: left;
  }

  .tt-guide-row {
    align-items: stretch;
    flex-direction: column;
  }

  .tt-paste-btn {
    width: 100%;
  }

  .tt-pick-result {
    flex-wrap: wrap;
  }
}

/* ---------- 学习计划 · 板块化配置 ---------- */
@media (min-width: 921px) {
  .study-layout {
    grid-template-columns: minmax(370px, 440px) minmax(0, 1fr);
  }
}

.study-control {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.study-base-card,
.study-option-card,
.plan-output {
  border: 1px solid rgba(216, 226, 242, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(38, 57, 98, 0.05);
}

.study-base-card {
  padding: 16px;
}

.study-base-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.study-base-grid .field {
  margin: 0;
}

.study-base-grid .study-wide {
  grid-column: 1 / -1;
}

.study-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.study-option-card:has(textarea[name="customDescription"]) {
  grid-column: 1 / -1;
  border-color: rgba(139, 92, 246, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.07), transparent 9rem),
    rgba(255, 255, 255, 0.96);
}

.study-custom-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.study-option-card {
  padding: 15px 16px 16px;
}

.study-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.study-option-head h4 {
  margin: 0;
  color: #1b2a4a;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: 0.01em;
}

.study-option-toggle {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-left: auto;
  border: 1px solid #e0e8f5;
  border-radius: 8px;
  color: #64748b;
  background: #fff;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.study-option-card.collapsed .study-option-toggle {
  transform: rotate(-90deg);
}

.study-option-body {
  padding-top: 13px;
}

.study-option-body[hidden] {
  display: none;
}

.study-option-card.off {
  opacity: 0.62;
  background: rgba(255, 255, 255, 0.68);
}

.switch-control {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  cursor: pointer;
}

.switch-control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d4ddec;
  transition: background 0.2s ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(38, 57, 98, 0.3);
  transition: transform 0.2s ease;
}

.switch-control input:checked + .switch-track {
  background: linear-gradient(90deg, #2563eb, #4f7ee8);
}

.switch-control input:checked + .switch-track::after {
  transform: translateX(18px);
}

.switch-control input:focus-visible + .switch-track {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.24);
}

.study-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.study-score-row {
  display: grid;
  gap: 9px;
  padding: 11px 0 7px;
  border-top: 1px dashed #e3ebf7;
}

.study-score-row:first-child {
  padding-top: 2px;
  border-top: 0;
}

.study-score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.study-score-head > strong {
  color: #1c2a4a;
  font-size: 15px;
  font-weight: 760;
}

.study-subject-name {
  min-width: 0;
  flex: 1;
  padding: 3px 2px;
  border: 0;
  border-bottom: 1px solid #d8e2f1;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 760;
}

.study-subject-name:focus {
  border-bottom-color: var(--primary);
  outline: none;
}

.study-full-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.study-full-field input {
  width: 64px;
  padding: 5px 7px;
  border: 1px solid #d8e2f1;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
  text-align: center;
}

.study-full-note {
  padding: 4px 9px;
  border-radius: 999px;
  color: #46608f;
  background: #eef4ff;
  font-size: 12.5px;
  font-weight: 650;
}

.study-meter {
  display: grid;
  grid-template-columns: 52px 82px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.study-meter > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.study-meter output {
  color: var(--primary-dark);
  font-size: 13.5px;
  font-weight: 780;
  text-align: right;
}

.study-meter input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--primary);
}

.study-control .modal-actions {
  display: grid;
  padding: 2px 0 0;
}

.study-control .modal-actions .primary-action {
  min-height: 46px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 780;
}

.study-control .field span {
  color: #52607a;
  font-size: 13px;
  font-weight: 700;
}

.plan-output {
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.plan-output .result-summary {
  border: 1px solid #e6edf8;
  border-radius: 15px;
  background: linear-gradient(135deg, #f2f7ff, #f9fbfe);
}

.plan-output .result-summary h3 {
  font-size: 20px;
  font-weight: 800;
}

.stage-focus {
  display: block;
  margin-top: 9px;
  color: #3b4f72;
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1.5;
}

.plan-output .api-plan-status {
  border: 1px solid #e6edf8;
  border-radius: 15px;
}

.plan-output .api-plan-status strong {
  font-size: 15px;
  font-weight: 780;
}

.plan-output .api-plan-status p {
  font-size: 13.5px;
  line-height: 1.6;
}

.plan-output .plan-card {
  border: 1px solid #e6edf8;
  border-radius: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan-output .plan-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.plan-output .plan-card strong {
  color: #1c2a4a;
  font-size: 15px;
  font-weight: 780;
}

.plan-output .plan-card p {
  font-size: 13.5px;
  line-height: 1.6;
}

.plan-output .check-row {
  border: 1px solid #e6edf8;
  border-radius: 13px;
  font-size: 13.5px;
}

.study-today-editor {
  border: 1px solid #e6edf8;
  border-radius: 15px;
}

.self-check-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.self-check-head h4 {
  margin: 0;
  color: #1c2a4a;
  font-size: 15px;
  font-weight: 780;
}

.text-action {
  padding: 5px 10px;
  border: 1px solid #d8e2f1;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.study-page {
  margin: 0 auto;
}

.study-page.config {
  max-width: 880px;
}

.study-page.plan {
  max-width: 1120px;
}

.study-control .study-page-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.study-control .study-page-actions .primary-action {
  flex: 1;
}

.study-plan-output {
  display: grid;
  gap: 14px;
}

.study-plan-toolbar {
  display: grid;
  gap: 12px;
}

.study-plan-toolbar .result-summary {
  margin: 0;
}

.study-plan-tools {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.study-plan-tools .primary-action,
.study-plan-tools .secondary-action {
  min-height: 42px;
  border-radius: 11px;
  font-weight: 760;
}

@media (max-width: 760px) {
  .study-base-grid,
  .study-pair-grid,
  .study-options-grid {
    grid-template-columns: 1fr;
  }

  .study-meter {
    grid-template-columns: 44px 76px minmax(0, 1fr);
  }

  .study-page-actions,
  .study-plan-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .study-control .study-page-actions .primary-action {
    flex: auto;
  }
}

/* ---------- 学习计划 · 去长框紧凑排版 ---------- */
.study-page.config {
  max-width: 1080px;
}

.study-control {
  gap: 0;
}

.study-base-card {
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid #e9eef6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.study-base-grid {
  gap: 12px 18px;
}

.study-options-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
}

.study-option-card,
.study-option-card:has(textarea[name="customDescription"]) {
  padding: 15px 0 16px;
  border: 0;
  border-top: 1px solid #edf1f7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.study-options-grid .study-option-card:nth-child(-n + 3) {
  border-top: 0;
}

.study-option-card:has(textarea[name="customDescription"]) {
  grid-column: 1 / -1;
}

.study-option-card.off {
  background: transparent;
}

.study-option-head {
  gap: 10px;
}

.study-option-head h4 {
  font-size: 15px;
}

.study-option-toggle {
  width: 26px;
  height: 26px;
  border-color: transparent;
  background: transparent;
}

.study-option-body {
  padding-top: 11px;
}

.study-custom-hint {
  margin-top: 5px;
}

.study-control .modal-actions {
  padding: 18px 0 0;
  border-top: 1px solid #e9eef6;
}

.study-control .study-page-actions .primary-action {
  flex: 0 1 280px;
}

.plan-output,
.plan-output .result-summary.slim,
.plan-output .api-plan-status,
.study-focus-block,
.study-today-editor {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.plan-output {
  padding: 0;
}

.plan-output .result-summary.slim {
  padding: 0 0 16px;
  border-bottom: 1px solid #e7edf6;
}

.plan-output .api-plan-status {
  margin: 0;
  padding: 12px 0 12px 14px;
  border-left: 2px solid #b9cdf4;
}

.plan-output .plan-grid {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 4px 0;
}

.plan-output .plan-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-areas:
    "status title"
    "status copy";
  gap: 4px 18px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.plan-output .plan-card:hover {
  box-shadow: none;
  transform: none;
}

.plan-output .plan-card .stat-pill {
  grid-area: status;
  align-self: start;
  justify-self: start;
}

.plan-output .plan-card strong {
  grid-area: title;
}

.plan-output .plan-card p {
  grid-area: copy;
  margin: 0;
}

.study-focus-block {
  padding: 18px 0 20px;
  border-top: 1px solid #e7edf6;
}

.study-focus-grid {
  gap: 24px;
}

.study-focus-card {
  padding: 0 0 0 13px;
  border: 0;
  border-left: 2px solid #d9d0fa;
  border-radius: 0;
  background: transparent;
}

.plan-output .self-check {
  gap: 0;
}

.plan-output .check-row {
  min-height: 40px;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid #edf1f7;
  border-radius: 0;
  background: transparent;
}

.plan-output .study-today-editor {
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid #e7edf6;
}

.plan-output .study-today-list {
  gap: 0;
}

.plan-output .study-today-item {
  padding: 10px 0;
  border-bottom: 1px solid #edf1f7;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 980px) {
  .study-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

  .study-options-grid .study-option-card:nth-child(-n + 3) {
    border-top: 1px solid #edf1f7;
  }

  .study-options-grid .study-option-card:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .study-options-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .study-options-grid .study-option-card:nth-child(-n + 3) {
    border-top: 1px solid #edf1f7;
  }

  .study-options-grid .study-option-card:first-child {
    border-top: 0;
  }

  .plan-output .plan-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .study-focus-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .study-control .study-page-actions .primary-action {
    flex: auto;
  }
}

/* ---------- 课表导入弹窗（官网截图 / 文本） ---------- */
#modalShell:has(.tt-import-dialog) .modal-card {
  width: min(880px, 100%);
  padding: 24px;
  border-radius: 18px;
}

.tt-import-form {
  display: grid;
  gap: 14px;
}

.tt-import-dialog .tt-step {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid #e3ebf7;
  border-radius: 16px;
  background: #fbfdff;
}

.tt-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tt-step-head h4 {
  margin: 0;
  color: #1b2a4a;
  font-size: 15px;
  font-weight: 800;
}

.tt-kbd {
  padding: 4px 9px;
  border: 1px solid #cfdcf2;
  border-radius: 7px;
  color: #43537a;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
  box-shadow: inset 0 -2px 0 rgba(37, 99, 235, 0.08);
}

.tt-import-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.tt-dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 196px;
  align-content: center;
  padding: 24px 18px;
  border: 1.5px dashed #b7cdf2;
  border-radius: 14px;
  background: #f5f9ff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.tt-dropzone:hover {
  border-color: var(--primary);
  background: #eef5ff;
}

.tt-dropzone.tt-drop-dragging {
  border-color: var(--primary);
  background: #e7f0ff;
  transform: scale(1.01);
}

.tt-dropzone .tt-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tt-drop-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 3px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, #2563eb, #0f9f8f);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.tt-dropzone strong {
  color: #1c2a4a;
  font-size: 15px;
  font-weight: 780;
}

.tt-drop-hint {
  color: #7d8ca6;
  font-size: 12px;
  line-height: 1.5;
}

.tt-shot-preview {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid #e3ebf7;
  border-radius: 14px;
  background: #fff;
}

.tt-shot-preview img {
  display: block;
  width: 100%;
  max-height: 236px;
  border-radius: 10px;
  object-fit: contain;
  background: #f1f5fb;
}

.tt-shot-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.tt-shot-meta strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-shot-meta .text-action {
  flex: 0 0 auto;
}

.tt-import-dialog .tt-guide-row {
  padding: 0;
  border: 0;
  background: transparent;
}

.tt-import-dialog .tt-guide-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.tt-upload-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e3ebf7;
  border-radius: 10px;
  color: var(--muted);
  background: #fff;
  font-size: 12.5px;
  font-weight: 650;
}

.tt-upload-text input {
  width: 220px;
  max-width: 100%;
  font-size: 12px;
}

.tt-import-dialog .tt-paste-btn {
  min-height: 36px;
  padding: 0 13px;
  font-size: 13px;
}

.tt-import-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tt-import-mode .choice-pill {
  flex: 1;
  min-width: 150px;
}

.tt-import-dialog .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 860px) {
  .tt-import-main {
    grid-template-columns: 1fr;
  }
}

/* ---------- 课表识别结果校对（WakeUp 式：先逐格校对，再写入课表） ---------- */
#modalShell:has(.tt-review) .modal-card {
  width: min(1180px, 100%);
  max-height: min(92vh, 860px);
  padding: 22px 24px;
  border-radius: 18px;
}

.tt-review {
  display: grid;
  gap: 14px;
}

.tt-review > *,
.tt-review-top > * {
  min-width: 0;
}

.tt-review-top {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: start;
}

.tt-review-figure {
  display: grid;
  gap: 6px;
  min-height: 160px;
  padding: 10px;
  border: 1px solid #e3ebf7;
  border-radius: 12px;
  background: #f8fbff;
}

.tt-review-figure img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.tt-review-figure > span {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.tt-review-figure-empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px dashed #cbdaf2;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-size: 12.5px;
}

.tt-review-guide {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 4px 2px;
}

.tt-review-badge {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  color: #25447e;
  background: #e8f0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tt-review-guide p {
  margin: 0;
  color: #42516b;
  font-size: 13px;
  line-height: 1.65;
}

.tt-review-guide .tt-review-summary-text {
  padding: 8px 11px;
  border: 1px solid #e4ebf6;
  border-radius: 9px;
  color: #203055;
  background: #f6f9fe;
  font-size: 12.5px;
  font-weight: 700;
}

.tt-review-guide .tt-review-warn {
  padding: 8px 11px;
  border: 1px solid #f3d5a5;
  border-radius: 9px;
  color: #7a4a08;
  background: #fff6e6;
  font-size: 12.5px;
  font-weight: 650;
}

.tt-review-table-scroll {
  max-height: 44vh;
  overflow: auto;
  border: 1px solid #e3ebf7;
  border-radius: 12px;
  background: #fff;
}

.tt-review-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 12.5px;
}

.tt-review-table th,
.tt-review-table td {
  padding: 6px 7px;
  border-bottom: 1px solid #edf2fa;
  text-align: left;
  vertical-align: middle;
}

.tt-review-table th:first-child {
  width: 46px;
}

.tt-review-table th:nth-child(2) {
  width: 84px;
}

.tt-review-table th:nth-child(3) {
  width: 220px;
}

.tt-review-table th:nth-child(5),
.tt-review-table th:nth-child(6) {
  width: 132px;
}

.tt-review-table th:nth-child(7) {
  width: 92px;
}

.tt-review-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #5b6b88;
  background: #eef3fb;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.tt-review-table tbody tr:last-child td {
  border-bottom: 0;
}

.tt-review-table select,
.tt-review-table input {
  box-sizing: border-box;
  width: 100%;
  min-height: 30px;
  padding: 4px 7px;
  border: 1px solid #d9e3f2;
  border-radius: 7px;
  color: #26334d;
  background: #fff;
  font-size: 12.5px;
  outline: none;
}

.tt-review-table select:focus,
.tt-review-table input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.tt-review-table .tt-review-slot-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 5px;
}

.tt-review-table .tt-review-op-cell {
  text-align: center;
}

.tt-review-table .tt-review-del {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  border: 1px solid #f0cfcf;
  border-radius: 7px;
  color: #b42318;
  background: #fff7f5;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.tt-review-table .tt-review-del:hover {
  border-color: #e3a3a3;
  background: #ffece9;
}

.tt-review-row.tt-review-need td {
  background: #fff8ee;
}

.tt-review-row.tt-review-need .tt-review-name {
  border-color: #e9a13b;
  background: #fffdf7;
}

.tt-review-name[data-review-flag]::placeholder {
  color: #c77713;
  font-weight: 700;
}

.tt-review-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.tt-review-actions .secondary-action {
  margin-right: auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  font-weight: 750;
}

.tt-review-actions .primary-action {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .tt-review-top {
    grid-template-columns: 1fr;
  }

  .tt-review-figure img {
    max-height: 220px;
  }
}

/* AI 择校新组件响应式 */
@media (max-width: 920px) {
  .ai-workbench {
    grid-template-columns: 1fr;
  }

  .analysis-report-glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-report-modal .analysis-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-report-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pro-report-split {
    grid-template-columns: 1fr;
  }

  .ai-form-note {
    margin-left: 0;
    width: 100%;
  }

  .capacity-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-insight-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .modal-shell {
    padding: 10px;
  }

  .modal-card.analysis-report-modal {
    width: calc(100vw - 20px);
    max-height: 94vh;
    padding: 18px 14px 24px;
    border-radius: 14px;
  }

  .modal-card.analysis-report-modal #modalTitle {
    padding-right: 42px;
    font-size: 20px;
  }

  .ai-form-panel,
  .ai-result-panel {
    padding: 16px;
  }

  .ai-profile-option-copy small {
    white-space: normal;
  }

  .ai-result-head {
    display: grid;
    gap: 9px;
  }

  .ai-result-head h3 {
    font-size: 21px;
  }

  .ai-report-mode {
    justify-self: start;
  }

  .ai-school-card {
    padding: 16px;
  }

  .ai-school-card .result-head {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .ai-school-card .result-head > .badge {
    grid-column: 2;
    justify-self: start;
  }

  .ai-school-card .result-head > div strong {
    font-size: 19px;
  }

  .ai-pro-report {
    padding: 14px;
  }

  .ai-pro-preview-head {
    grid-template-columns: 1fr;
  }

  .ai-pro-preview-score {
    grid-template-columns: auto auto auto;
    justify-content: start;
    justify-items: start;
    gap: 5px;
    min-width: 0;
    padding: 7px 10px;
  }

  .ai-pro-preview-score small {
    align-self: end;
    padding-bottom: 2px;
  }

  .ai-pro-preview-stats {
    grid-template-columns: 1fr 1fr;
  }

  .ai-pro-preview-stats > span:last-child {
    grid-column: 1 / -1;
  }

  .ai-pro-preview-points {
    grid-template-columns: 1fr;
  }

  .analysis-report-hero {
    grid-template-columns: 1fr;
    padding: 17px;
  }

  .analysis-report-hero h3 {
    font-size: 23px;
  }

  .analysis-report-score {
    grid-template-columns: auto auto auto;
    justify-content: start;
    justify-items: start;
    gap: 7px;
    min-width: 0;
    padding: 9px 12px;
  }

  .analysis-report-score > strong {
    font-size: 25px;
  }

  .analysis-report-score em {
    align-self: center;
    margin-top: 0;
  }

  .analysis-decision-grid {
    grid-template-columns: 1fr;
  }

  .pro-report-hero {
    grid-template-columns: 1fr;
  }

  .pro-report-hero h4 {
    font-size: 18px;
  }

  .pro-report-score {
    grid-template-columns: auto auto auto;
    justify-content: start;
    gap: 6px;
    min-width: 0;
    justify-items: start;
    padding: 9px 12px;
  }

  .pro-report-score strong {
    font-size: 24px;
  }

  .pro-report-score small {
    align-self: end;
    padding-bottom: 3px;
  }

  .pro-report-metrics,
  .pro-score-target-grid,
  .pro-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pro-action-grid article:last-child,
  .pro-score-target-grid article:last-child {
    grid-column: 1 / -1;
  }

  .ai-region-grid {
    grid-template-columns: 1fr;
  }

  .ai-card-stats,
  .ai-insight-metrics,
  .capacity-chips {
    grid-template-columns: 1fr 1fr;
  }

  .reputation-head {
    flex-direction: column;
  }

  .ai-verdict-score {
    margin-left: 0;
  }
}

/* —— 整体质感收口：统一圆角、描边与阴影层级 —— */
.dashboard-card {
  border: 1px solid rgba(224, 232, 244, 0.9);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(38, 57, 98, 0.08);
}

.modal-card {
  border: 1px solid #e2e9f6;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(23, 32, 51, 0.26);
}

.target-school-card,
.strategy-card,
.timeline-item,
.result-summary,
.compare-decision,
.news-item {
  border-radius: 14px;
}

.target-school-card,
.news-item {
  border: 1px solid #e4ecf7;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.target-school-card:hover,
.news-item:hover {
  border-color: #c3d5fb;
  box-shadow: 0 18px 34px rgba(38, 57, 98, 0.12);
  transform: translateY(-2px);
}

.school-stat-card,
.analysis-metric-grid div,
.target-card-metrics div,
.detail-item {
  border: 1px solid #e6edf7;
}

.small-action.premium {
  color: #5b21b6;
  border-color: #ddd1f5;
  background: #f7f3ff;
}

.small-action.premium:hover {
  color: #fff;
  border-color: #6d28d9;
  background: #6d28d9;
}

@media (max-width: 760px) {
  .plan-major-tools {
    grid-template-columns: 1fr;
  }

  .school-row.lite-row {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .school-row.lite-row .school-title,
  .school-row.lite-row .meta-cell,
  .school-row.lite-row .row-actions {
    grid-column: 1 / -1;
  }

  .school-row.lite-row .school-title {
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f8;
  }

  .table-head.lite-head {
    display: none;
  }

  .program-pagination.lite-pagination {
    min-width: 0;
  }
}

/* 院校专业 · 未选专业时的精简列表模式 */
.table-head.lite-head,
.school-row.lite-row {
  grid-template-columns: minmax(250px, 1.3fr) minmax(180px, 0.85fr) minmax(150px, 0.7fr);
  min-width: 760px;
}

.school-row.lite-row {
  min-height: 82px;
}

.meta-cell {
  min-width: 0;
}

.rank-cell-lite {
  display: grid;
  align-content: center;
  justify-items: start;
}

.rank-cell-lite .rank-number {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.rank-cell-lite .cell-sub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #5b6b84;
  background: #f0f5fd;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.program-pagination.lite-pagination {
  min-width: 760px;
}

.empty-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid #c8d8ff;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #eef4ff;
  font-weight: 700;
}

.empty-action:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.school-row.lite-row > div:nth-child(3)::before {
  content: "";
}

/* —— 总览：今日计划 + 右侧鼓励语 —— */
.today-plan-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.encourage-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px 24px 18px 14px;
  border: 1px solid rgba(221, 229, 243, 0.92);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 94% 2%, rgba(30, 64, 175, 0.05), transparent 10rem),
    radial-gradient(ellipse at 2% 100%, rgba(12, 157, 139, 0.045), transparent 11rem),
    #ffffff;
  box-shadow: 0 12px 26px rgba(38, 57, 98, 0.07);
}

.encourage-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(43, 108, 255, 0.16), rgba(12, 157, 139, 0.12), transparent);
  pointer-events: none;
  opacity: 0.7;
}

.encourage-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.encourage-lines {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.encourage-line {
  flex: 0 0 auto;
  color: #26242f;
  font-family: "STKaiti", "KaiTi", "FZKai-Z03S", "STZhongsong", "Noto Serif SC", serif;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.encourage-footer {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 2px;
  flex: 0 0 auto;
  margin-bottom: 1px;
}

.encourage-source {
  margin: 0;
  color: rgba(40, 42, 52, 0.52);
  font-family: "STKaiti", "KaiTi", "STZhongsong", "Noto Serif SC", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.45;
}

.ink-seal {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  color: #fdf6ec;
  background: #c14336;
  font-family: "STKaiti", "KaiTi", "STZhongsong", serif;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(253, 246, 236, 0.32), 0 3px 8px rgba(160, 55, 45, 0.22);
  transform: rotate(-4deg);
}

@media (max-width: 760px) {
  .encourage-line {
    font-size: 29px;
  }

  .encourage-card {
    padding: 16px 18px;
  }

  .encourage-inner {
    gap: 2px;
  }
}

/* —— 院校对比 · 分页结果 —— */
.compare-results {
  display: grid;
  align-content: start;
  gap: 14px;
}

.compare-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: #f0f4fb;
}

.compare-tab-nav button {
  min-height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  color: #5b6b84;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.compare-tab-nav button.active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 5px 14px rgba(38, 57, 98, 0.1);
}

.compare-tab-content {
  display: grid;
  gap: 14px;
}

.compare-school-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-school-profile {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e3ebf7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(38, 57, 98, 0.05);
}

.compare-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.compare-fact-grid div {
  display: grid;
  gap: 3px;
  min-height: 48px;
  align-content: center;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f7f9fd;
}

.compare-fact-grid span {
  color: #7c8aa2;
  font-size: 11px;
}

.compare-fact-grid strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.compare-school-profile footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 920px) {
  .compare-school-grid {
    grid-template-columns: 1fr;
  }
}

/* —— 课表：三行结构与品牌色适配 —— */
.tt-grid td.tt-cell {
  height: 110px;
}

.tt-course-box {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-content: center;
  align-items: center;
  justify-items: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  box-shadow: 0 3px 9px rgba(38, 57, 98, 0.06);
}

.tt-course-box strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.25;
  -webkit-line-clamp: unset;
}

.tt-course-box .tt-course-people {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(25, 40, 70, 0.78);
  -webkit-line-clamp: unset;
}

.tt-course-box small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(25, 40, 70, 0.62);
}

.tt-course-box strong.tt-name-xxl { font-size: 20px; }
.tt-course-box strong.tt-name-xl { font-size: 18px; }
.tt-course-box strong.tt-name-lg { font-size: 15px; }
.tt-course-box strong.tt-name-md { font-size: 13px; }
.tt-course-box strong.tt-name-sm { font-size: 11.5px; }

.tt-study-box {
  background: linear-gradient(135deg, #2563eb 0%, #2f6be8 52%, #0c9d8b 135%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.22);
}

.tt-study-box strong,
.tt-study-box span,
.tt-study-box small {
  color: #fff;
}

.tt-legend-study {
  background: linear-gradient(135deg, #2563eb, #0c9d8b);
}

.tt-legend-course {
  background: #dce9ff;
}

.tt-big-row.tt-subj-professional {
  border-left-color: #0c9d8b;
}

/* —— 课表两页切换（课表 / 当日计划） —— */
.tt-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: #eef3fa;
  width: fit-content;
}

.tt-page-nav button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  color: #5b6b84;
  background: transparent;
  font-size: 13px;
  font-weight: 720;
}

.tt-page-nav button.active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 5px 14px rgba(38, 57, 98, 0.12);
}

.tt-page-body {
  min-width: 0;
}

/* —— 学习计划 · 重点补强 —— */
.study-focus-block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e4defa;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.08), transparent 12rem),
    #fff;
}

.study-focus-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.study-focus-head h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 780;
}

.study-focus-head > span {
  color: var(--muted);
  font-size: 12px;
}

.study-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.study-focus-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #ece7fb;
  border-radius: 12px;
  background: #fbfaff;
}

.study-focus-subject {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.study-focus-subject strong {
  font-size: 16px;
  font-weight: 780;
}

.study-focus-action {
  margin: 0;
  color: #4b5068;
  font-size: 13px;
  line-height: 1.7;
}

.study-focus-hour {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  border-top: 1px dashed #e7e0f7;
  color: var(--muted);
  font-size: 12px;
}

.study-focus-hour strong {
  color: #4f46e5;
  font-size: 14px;
}

/* —— 院校对比 · 两大页与高级感 —— */
.compare-layout:has(.compare-top-nav) {
  grid-template-columns: 1fr;
  gap: 14px;
}

.compare-top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  border-radius: 14px;
  background: #eef2f9;
}

.compare-top-nav button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: #5b6b84;
  background: transparent;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.compare-top-nav button.active {
  color: #fff;
  background: linear-gradient(135deg, #1f2f5c, #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.compare-top-nav button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.compare-top-body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.compare-results .result-summary h3,
.compare-results .compare-decision h3,
.compare-school-profile strong {
  letter-spacing: -0.01em;
}

.compare-school-profile strong {
  color: #16213a;
  font-weight: 820;
}

@media (max-width: 760px) {
  .study-focus-grid {
    grid-template-columns: 1fr;
  }

  .compare-top-nav {
    width: 100%;
  }

  .compare-top-nav button {
    flex: 1;
  }
}

/* —— 院校对比 · 紧凑总表与 AI 总结 —— */
.compare-compact-table {
  display: grid;
  gap: 6px;
  min-width: 980px;
}

.compact-head,
.compact-row {
  display: grid;
  grid-template-columns: minmax(182px, 1.4fr) 72px 71px 83px 96px 96px 114px 52px 100px;
  gap: 10px;
  align-items: center;
}

.compact-head {
  padding: 0 12px;
  color: #7c8aa2;
  font-size: 11.5px;
  font-weight: 700;
}

.compact-row {
  padding: 10px 12px;
  border: 1px solid #e6edf8;
  border-radius: 12px;
  background: #fff;
  color: #3d4a63;
  font-size: 12.5px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.compact-row:hover {
  border-color: #c3d5fb;
  box-shadow: 0 8px 18px rgba(38, 57, 98, 0.08);
}

.compact-school {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.compact-school strong,
.compact-school small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-school strong {
  color: #16213a;
  font-size: 14px;
  font-weight: 800;
}

.compact-school small {
  margin-top: 3px;
  color: #7c8aa2;
  font-size: 11px;
}

.compact-row .gap-ok {
  color: #0b7a51;
  font-weight: 800;
}

.compact-row .gap-risk {
  color: #c2413d;
  font-weight: 800;
}

.compact-open {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid #dfe7f4;
  border-radius: 50%;
  color: #5b6b84;
  background: #fff;
  font-size: 15px;
}

.compact-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.compact-target {
  padding: 0 8px;
  height: 26px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #f1f6ff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.compact-target.added {
  border-color: #b8e2c6;
  color: #047857;
  background: #ecfdf5;
}

.compact-target:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.compare-ai-summary {
  display: grid;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid #e2eaf8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05), transparent 16rem),
    radial-gradient(circle at 0% 100%, rgba(12, 157, 139, 0.04), transparent 16rem),
    #fff;
  box-shadow: 0 14px 34px rgba(38, 57, 98, 0.08);
}

.summary-lead h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 820;
  letter-spacing: -0.01em;
  color: #131c30;
}

.summary-lead {
  padding-bottom: 16px;
  border-bottom: 1px solid #e9eef7;
}

.summary-paragraph {
  margin: 12px 0 0;
  color: #4b5870;
  font-size: 15px;
  line-height: 1.9;
  padding: 12px 16px;
  border-left: 3px solid rgba(37, 99, 235, 0.28);
  background: rgba(37, 99, 235, 0.035);
  border-radius: 0 10px 10px 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.summary-grid article {
  display: grid;
  gap: 7px;
  padding: 15px 16px;
  border: 1px solid #e7edf8;
  border-top: 3px solid var(--primary);
  border-radius: 12px;
  background: #fbfcff;
  box-shadow: 0 6px 16px rgba(38, 57, 98, 0.05);
}

.summary-grid article:nth-child(2) {
  border-top-color: #0c9d8b;
}

.summary-grid article:nth-child(3) {
  border-top-color: #d97706;
}

.summary-grid article span {
  color: #7c8aa2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.summary-grid article strong {
  color: #16213a;
  font-size: 17px;
  font-weight: 850;
}

.summary-grid article p {
  margin: 0;
  color: #536176;
  font-size: 12.5px;
  line-height: 1.7;
}

.summary-grid article .summary-facts {
  color: #2451b7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.summary-section h4 {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
  color: #16213a;
  font-size: 16px;
  font-weight: 820;
  letter-spacing: 0.01em;
}

.summary-section p {
  margin: 7px 0;
  color: #4c5a72;
  font-size: 13.5px;
  line-height: 1.85;
}

.summary-section ol {
  margin: 0;
  padding-left: 20px;
  color: #4c5a72;
  font-size: 13.5px;
  line-height: 1.9;
}

@media (max-width: 920px) {
  .compare-compact-table {
    overflow-x: auto;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* —— 今日计划快捷删除 —— */
.today-task-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin-left: auto;
}

.today-task-delete {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid #e6e3e3;
  border-radius: 50%;
  color: #9aa6ba;
  background: #fff;
  font-size: 15px;
  line-height: 1;
}

.today-task-delete:hover {
  color: #b42318;
  border-color: #ffd7d7;
  background: #fff5f5;
}

/* —— 课表当日计划快捷删除 —— */
.tt-big-row-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 6px;
}

.tt-big-delete {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #e7e2e2;
  border-radius: 50%;
  color: #8a95a8;
  background: #fff;
  font-size: 15px;
}

.tt-big-delete:hover {
  color: #b42318;
  border-color: #ffd7d7;
  background: #fff5f5;
}

/* —— AI 排课色彩降噪 —— */
.tt-course-box {
  border: 1px solid rgba(58, 78, 120, 0.12);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.15));
  box-shadow: none;
}

.tt-cell-stack {
  display: grid;
  gap: 3px;
  height: 100%;
}

.tt-cell-stack .tt-course-box,
.tt-cell-stack .tt-study-box {
  min-height: 0;
  border-radius: 7px;
}

.tt-study-box {
  background: linear-gradient(135deg, #e7efff 0%, #e4f8f1 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: none;
}

.tt-study-box strong,
.tt-study-box span,
.tt-study-box small {
  color: #2451b7;
}

.tt-study-box .tt-ai-chip {
  color: #2451b7;
  background: rgba(37, 99, 235, 0.1);
}

.tt-legend-study {
  background: linear-gradient(135deg, #dbe8ff, #dcf5ec);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.tt-legend-course {
  background: #eef4ff;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

@media (max-width: 560px) {
  .today-task-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* —— 卡片拖拽操作感 —— */
[data-drag-today],
[data-drag-todo] {
  cursor: grab;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

[data-drag-today]:active,
[data-drag-todo]:active {
  cursor: grabbing;
}

[data-drag-today].drag-source,
[data-drag-todo].drag-source {
  opacity: 0.45;
}

[data-drag-today].drag-over,
[data-drag-todo].drag-over {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18), 0 10px 22px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.today-task:hover,
.todo-entry:hover,
.dashboard-card:not(.encourage-card):hover {
  box-shadow: 0 10px 22px rgba(38, 57, 98, 0.08);
}

.dashboard-card,
.module-card,
.plan-card,
.result-card {
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.module-card:hover {
  transform: translateY(-2px);
}

/* 全局可点框体的按下反馈（接近左侧导航的点击手感） */
.dashboard-card,
.module-card,
.ai-school-card,
.school-row,
.target-school-card,
.plan-card,
.result-card,
.compare-school-profile,
.compare-compact-table .compact-row,
.today-task,
.todo-entry,
.tt-course-box,
.tt-big-row-wrap,
.study-option-card,
.advice-list > li,
.priority-card,
.next-step-card,
.summary-grid article {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dashboard-card:active,
.module-card:active,
.ai-school-card:active,
.school-row:active,
.target-school-card:active,
.plan-card:active,
.result-card:active,
.compare-school-profile:active,
.compare-compact-table .compact-row:active,
.today-task:active,
.todo-entry:active,
.tt-course-box:active,
.tt-big-row-wrap:active,
.study-option-card:active,
.advice-list > li:active,
.priority-card:active,
.next-step-card:active,
.summary-grid article:active {
  transform: scale(0.992);
  transition-duration: 0.06s;
}

.today-task:not(.expanded):hover .today-task-text,
.todo-entry:hover label span {
  color: var(--primary-dark);
}

/* —— AI 总结/下一步 · 计划式分条 —— */
.advice-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: advice;
}

.advice-list > li {
  counter-increment: advice;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 13px;
  border: 1px solid #e7edf8;
  border-radius: 11px;
  background: #f8fafd;
  color: #3f4c66;
  font-size: 13.5px;
  line-height: 1.75;
}

.advice-list > li::before {
  content: counter(advice);
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0c9d8b);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.advice-list strong {
  color: #16213a;
  font-weight: 780;
}

.summary-section > p {
  padding: 9px 12px;
  border-radius: 10px;
  background: #f8fafd;
  border: 1px solid #edf1f8;
}

.compare-next-steps .advice-list {
  margin: 6px 0 14px;
}

.next-step-cards {
  display: grid;
  gap: 8px;
  margin: 4px 0 14px;
}

.next-step-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #e8eef8;
  border-radius: 12px;
  background: #fff;
}

.next-step-index {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0c9d8b);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
}

.next-step-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.next-step-head strong {
  color: #16213a;
  font-size: 14.5px;
  font-weight: 820;
}

.next-step-head em {
  color: #7c8aa2;
  font-size: 11.5px;
  font-style: normal;
}

.next-step-points {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-step-points li {
  position: relative;
  padding-left: 13px;
  color: #4c5a72;
  font-size: 12.5px;
  line-height: 1.6;
}

.next-step-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7aa5ff;
}

.priority-cards {
  display: grid;
  gap: 8px;
}

.priority-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 9px 12px;
  border: 1px solid #e9eef7;
  border-radius: 12px;
  background: #fbfcff;
}

.priority-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.priority-seq {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0c9d8b);
  font-size: 12px;
  font-weight: 800;
}

.priority-head strong {
  color: #16213a;
  font-size: 14px;
  font-weight: 820;
}

.priority-head em {
  color: #7c8aa2;
  font-size: 11px;
  font-style: normal;
}

.priority-points {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-points li {
  position: relative;
  padding-left: 13px;
  color: #4c5a72;
  font-size: 12px;
  line-height: 1.6;
}

.priority-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ea0f5;
}

/* —— 专注计时弹层 —— */
.focus-board {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px 8px 4px;
}

@media (max-height: 760px) {
  .modal-shell.focus-immersive .modal-card {
    min-height: auto;
    padding: 16px 18px;
  }

  .focus-clock {
    font-size: 58px;
  }

  .focus-board {
    gap: 6px;
    padding-top: 4px;
  }

  .focus-quote-panel {
    padding: 10px 12px;
  }
}

.focus-task-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  width: min(560px, 100%);
  padding: 7px 14px;
  border-radius: 999px;
  color: #3f4f6b;
  background: #f1f5fc;
  font-size: 13px;
}

.focus-task-line strong {
  overflow: visible;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
  min-width: 0;
}

.focus-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #22b573;
  box-shadow: 0 0 0 4px rgba(34, 181, 115, 0.16);
  animation: focusPulse 1.8s ease-in-out infinite;
}

.focus-done .focus-dot {
  background: #d99a1b;
  box-shadow: 0 0 0 4px rgba(217, 154, 27, 0.18);
  animation: none;
}

@keyframes focusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.focus-clock-wrap {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.focus-clock {
  color: var(--ink);
  font-size: 84px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #2563eb 10%, #7c3aed 55%, #0c9d8b 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.focus-done .focus-clock {
  background: linear-gradient(135deg, #d97706, #e0526f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.focus-clock-label {
  color: var(--muted);
  font-size: 12px;
}

.focus-quote-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(520px, 100%);
  padding: 14px 18px;
  border-top: 1px solid #eef1f7;
  border-bottom: 1px solid #eef1f7;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.18s ease;
}

.focus-quote-panel:hover {
  background: rgba(37, 99, 235, 0.035);
}

.focus-quote-mark {
  position: absolute;
  top: 4px;
  left: 10px;
  color: rgba(37, 99, 235, 0.18);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 44px;
  line-height: 1;
}

.focus-quote-panel p {
  margin: 0;
  color: #344054;
  font-family: "STKaiti", "KaiTi", "STZhongsong", "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  max-width: 100%;
  text-align: center;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.focus-quote-source {
  color: #8a94a8;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.focus-quote-switch {
  margin-top: 2px;
  color: rgba(37, 99, 235, 0.55);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.focus-quote-panel:hover .focus-quote-switch {
  opacity: 1;
  color: var(--primary);
}

.focus-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 760px) {
  .today-plan-split {
    grid-template-columns: 1fr;
  }

  .focus-clock {
    font-size: 64px;
  }

  .encourage-card {
    min-height: 210px;
  }
}

/* —— 专注模式：沉浸式锁定弹层 —— */
body.focus-lock {
  overflow: hidden;
}

.modal-shell.focus-immersive {
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-shell.focus-immersive .modal-backdrop {
  background: rgba(8, 13, 25, 0.78);
  backdrop-filter: blur(16px) saturate(0.9);
}

.modal-shell.focus-immersive .modal-card {
  display: grid;
  place-items: center;
  width: min(720px, 100%);
  max-height: min(92vh, 860px);
  min-height: min(80vh, 620px);
  padding: 26px 28px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(10, 16, 30, 0.35);
}

.modal-shell.focus-immersive .modal-card > .eyebrow {
  display: none;
}

.modal-shell.focus-immersive .modal-card h2 {
  font-size: 15px;
  color: #7c8aa2;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

.modal-shell.focus-immersive .focus-board {
  width: min(640px, 100%);
}

.focus-clock-wrap {
  position: relative;
}

.focus-clock-wrap::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.035) 58%, transparent 72%);
  animation: focusBreath 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes focusBreath {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* —— 课表 v6：无黑框 + 高级柔色 —— */
.tt-week-card {
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(38, 57, 98, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tt-grid td.tt-cell {
  box-shadow: none;
  background: rgba(247, 250, 254, 0.75);
}

.tt-grid td.tt-free {
  box-shadow: none;
  background: rgba(248, 251, 255, 0.6);
}

.tt-grid .tt-day-head,
.tt-grid .tt-time-head {
  border: 0;
  color: #2451b7;
}

.tt-course-box {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(230, 236, 247, 0.95);
  border-radius: 10px;
  box-shadow:
    inset 3px 0 0 var(--box-accent, #7aa2ff),
    0 4px 14px var(--box-accent-soft, rgba(122, 162, 255, 0.10));
  backdrop-filter: blur(3px);
}

.tt-cell-stack .tt-course-box,
.tt-cell-stack .tt-study-box {
  border-width: 1px;
}

.tt-study-box {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(226, 239, 255, 0.6), rgba(224, 248, 243, 0.5));
  border: 1px solid rgba(122, 162, 255, 0.12);
  box-shadow:
    0 3px 12px rgba(122, 162, 255, 0.06);
}

/* ============ 课表 v7：WakeUp 式清新晶体淡彩（整块同色填充，无左侧色条/无分层） ============ */
.tt-week-card {
  border: 1px solid rgba(116, 146, 206, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 255, 0.93));
  box-shadow: 0 20px 44px -26px rgba(44, 78, 143, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.tt-grid {
  border-spacing: 5px;
}

.tt-grid th,
.tt-grid td {
  border: 0;
}

.tt-grid .tt-time-head {
  width: 106px;
  min-width: 106px;
  padding: 8px 6px;
  text-align: center;
  background: transparent;
}

.tt-grid .tt-time-head strong {
  color: #44536e;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.tt-grid .tt-time-head span {
  color: #93a0b4;
  font-size: 10.5px;
  font-weight: 600;
}

.tt-grid .tt-day-head {
  padding: 7px 4px 9px;
  text-align: center;
  background: transparent;
}

.tt-grid .tt-day-head strong {
  color: #23334f;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.5px;
}

.tt-grid .tt-day-head .tt-today {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #6b9bf2, #8f7fe8);
  box-shadow: 0 4px 10px -4px rgba(91, 122, 225, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.tt-grid td.tt-cell {
  height: 94px;
  padding: 0;
  border-radius: 12px;
  background: rgba(247, 250, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  overflow: hidden;
  vertical-align: middle;
}

.tt-grid td.tt-course,
.tt-grid td.tt-study {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.tt-grid td.tt-free {
  background: rgba(240, 246, 254, 0.46);
  box-shadow: none;
}

/* 课程块：整块同色淡彩填充 + 同色细描边 + 顶部微光，杜绝左侧色条造成的“两层”观感 */
.tt-course-box {
  border-radius: 12px;
  background-clip: padding-box;
  box-shadow:
    0 10px 22px -14px rgba(48, 84, 150, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.tt-course-box strong {
  color: #1c2a47;
  letter-spacing: 0.4px;
}

.tt-course-box .tt-course-people {
  color: rgba(28, 42, 71, 0.72);
}

.tt-course-box small {
  color: rgba(28, 42, 71, 0.52);
}

.tt-course-box.tt-course-missing {
  box-shadow:
    0 10px 20px -16px rgba(206, 139, 37, 0.38),
    inset 0 0 0 1px rgba(216, 141, 34, 0.24);
}

.tt-course-box.tt-course-missing strong {
  color: #7a4a00;
}

.tt-course:hover .tt-course-box,
.tt-course-box:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.015);
  box-shadow:
    0 16px 28px -16px rgba(48, 84, 150, 0.36),
    0 0 0 1.5px var(--box-accent, #6b9bf2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  outline: none;
}

.tt-course-box:active {
  transform: translateY(0) scale(0.99);
}

/* AI 学习块：刻意比课程块更浅一档，带磨砂感与 AI 小标 */
.tt-study-box {
  border-radius: 12px;
  box-shadow:
    0 10px 22px -16px rgba(98, 122, 198, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tt-study-box strong,
.tt-study-box span,
.tt-study-box small {
  color: #26334f;
}

.tt-study-box span {
  color: rgba(38, 51, 79, 0.72);
}

.tt-study-box .tt-ai-chip {
  top: 4px;
  right: 6px;
  padding: 1px 7px;
  border: 1px solid rgba(130, 112, 220, 0.24);
  border-radius: 999px;
  color: #5a4da8;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px -3px rgba(100, 90, 190, 0.25);
  font-size: 9px;
  font-weight: 800;
}

.tt-study:hover .tt-study-box,
.tt-study-box:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px -16px rgba(98, 122, 198, 0.42),
    0 0 0 1.5px var(--box-accent, #8fa2d9),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  outline: none;
}

/* 同一格多课时的小号堆叠卡，圆角与留白随尺寸收小 */
.tt-cell-stack .tt-course-box,
.tt-cell-stack .tt-study-box {
  border-radius: 9px;
  box-shadow:
    0 6px 14px -10px rgba(48, 84, 150, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.tt-cell-stack .tt-study-box .tt-ai-chip {
  top: 2px;
  right: 3px;
  padding: 0 5px;
  font-size: 8px;
}

/* ============ 院校专业：完整录入进度（实时统计） ============ */
.entry-progress-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid #e6edf7;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
  box-shadow: 0 14px 30px -18px rgba(44, 78, 143, 0.22);
}

.entry-progress-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.entry-progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.entry-progress-head .section-kicker {
  margin: 0 0 4px;
}

.entry-progress-head h3 {
  margin: 0;
  color: #1d2b45;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0.2px;
}

.entry-progress-head h3 strong {
  color: #4f6ef2;
  font-size: 26px;
  font-weight: 850;
}

.entry-progress-pct {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #4f6ef2;
  background: rgba(97, 125, 240, 0.12);
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

.entry-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2fb;
  box-shadow: inset 0 1px 2px rgba(38, 57, 98, 0.08);
}

.entry-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7aa2f5, #6b6ef0 55%, #9a7bf0);
  box-shadow: 0 2px 8px rgba(95, 105, 235, 0.35);
  transition: width 0.5s ease;
}

.entry-progress-note {
  margin: 0;
  color: #8a97ab;
  font-size: 12px;
  line-height: 1.5;
}

.entry-progress-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.entry-progress-tag {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #e6edf7;
  border-radius: 11px;
  color: #67758b;
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
}

.entry-progress-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6b9bf2;
  box-shadow: 0 0 0 3px rgba(107, 155, 242, 0.16);
}

.entry-progress-tag strong {
  color: #23334f;
  font-size: 14px;
  font-weight: 820;
}

.entry-progress-tag strong em {
  color: #a2adbd;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 960px) {
  .entry-progress-card {
    grid-template-columns: 1fr;
  }
}

/* ============ 登录：验证码为主 + 密码/找回密码备选 ============ */
.login-main-col {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.login-panel[hidden] {
  display: none;
}

.code-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.code-send-btn {
  min-width: 116px;
  white-space: nowrap;
}

.code-send-btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.auth-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin-top: 2px;
}

.auth-switch-link {
  padding: 0;
  border: 0;
  color: #4f6ef2;
  background: transparent;
  font-size: 12.5px;
  font-weight: 720;
  cursor: pointer;
}

.auth-switch-link:hover {
  color: #3349c4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== 顶栏实时时间 + 关键节点（2026-09 优化） ===== */
.greeting-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.live-clock {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #3349c4, #6d5bd0);
  box-shadow: 0 6px 16px rgba(51, 73, 196, 0.22);
}

.countdown-text {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.countdown-text strong {
  color: #3349c4;
  font-size: 17px;
  font-weight: 760;
}

.next-node {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  margin: 8px 0 0;
  padding: 7px 8px 7px 14px;
  border: 1px solid rgba(51, 73, 196, 0.18);
  border-radius: 999px;
  color: #56637a;
  background: linear-gradient(135deg, #f6f8ff, #ffffff);
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(51, 73, 196, 0.10);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.next-node:hover {
  transform: translateY(-1px);
  border-color: rgba(51, 73, 196, 0.42);
  box-shadow: 0 10px 22px rgba(51, 73, 196, 0.16);
}

.next-node:focus-visible {
  outline: 2px solid rgba(51, 73, 196, 0.55);
  outline-offset: 2px;
}

.next-node .nn-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8a94a6;
}

.next-node strong {
  font-size: 14px;
  font-weight: 720;
  color: #1d2b4f;
}

.next-node em {
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  color: #e0483e;
}

.next-node b {
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  background: #3349c4;
}

/* ===== 关键节点弹窗 ===== */
.key-node-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #25378c, #3349c4 58%, #6d5bd0);
  box-shadow: 0 10px 24px rgba(51, 73, 196, 0.20);
}

.key-node-summary span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.key-node-summary strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.key-node-list {
  display: grid;
  gap: 10px;
}

.key-node-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5eaf3;
  border-radius: 12px;
  background: #fff;
}

.key-node-item time {
  min-width: 92px;
  color: #3349c4;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.key-node-item strong {
  color: #1d2b4f;
  font-size: 15px;
  font-weight: 700;
}

.key-node-item p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 12px;
}

.key-node-status {
  padding: 4px 10px;
  border-radius: 999px;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  background: #eef2f7;
  white-space: nowrap;
}

.key-node-item.is-today {
  border-color: rgba(34, 197, 94, 0.45);
}

.key-node-item.is-today .key-node-status {
  color: #15803d;
  background: #dcfce7;
}

.key-node-item.is-done {
  opacity: 0.55;
}

.key-node-item.is-done .key-node-status {
  color: #94a3b8;
  background: #f1f5f9;
}

.key-node-item.is-upcoming .key-node-status {
  color: #3349c4;
  background: #eef2ff;
}

.modal-foot-note {
  margin-top: 12px;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

/* ================= 登录弹层：蓝白插画 + 双方式登录 + 画像引导 + AI 报告 ================= */
.auth-shell {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 22px;
}

.auth-shell[hidden] {
  display: none;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(37, 99, 235, 0.22), transparent 22rem),
    radial-gradient(circle at 84% 82%, rgba(12, 157, 139, 0.12), transparent 20rem),
    rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(14px) saturate(1.1);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 42px 110px rgba(11, 21, 48, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(214, 224, 242, 0.95);
  border-radius: 50%;
  color: #5c6a83;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(29, 52, 102, 0.10);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.auth-close:hover {
  transform: rotate(90deg) scale(1.04);
  border-color: #b9c9f2;
  color: #3349c4;
}

.auth-card-inner {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(460px, 1.08fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  height: min(94vh, 820px);
  max-height: min(94vh, 820px);
}

.auth-card-inner.auth-frame-onboarding,
.auth-card-inner.auth-frame-report {
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
}

body.auth-lock {
  overflow: hidden;
}

/* ---------- 左侧蓝白插画 ---------- */
.auth-art {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  padding: 34px 32px 30px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.18), transparent 11rem),
    radial-gradient(circle at 88% 86%, rgba(125, 211, 252, 0.24), transparent 14rem),
    linear-gradient(155deg, #172a78 0%, #2147c8 44%, #2563eb 76%, #2f8fe0 118%);
}

.auth-art::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 40% 30%, #000 0%, transparent 72%);
}

.auth-art-onboarding {
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.16), transparent 12rem),
    radial-gradient(circle at 92% 80%, rgba(45, 212, 191, 0.28), transparent 13rem),
    linear-gradient(150deg, #123a7c 0%, #1e5fd8 52%, #1582c9 120%);
}

.auth-art-report {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.18), transparent 10rem),
    radial-gradient(circle at 16% 88%, rgba(99, 102, 241, 0.32), transparent 14rem),
    linear-gradient(155deg, #101e57 0%, #2749c8 48%, #5b5fd7 100%);
}

.auth-art-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
}

.auth-art-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #2247c8;
  background: #fff;
  box-shadow: 0 12px 26px rgba(4, 17, 62, 0.22);
  font-size: 20px;
  font-weight: 850;
}

.auth-art-head strong,
.auth-art-head small {
  display: block;
}

.auth-art-head strong {
  font-size: 17px;
  letter-spacing: 0.01em;
}

.auth-art-head small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
}

.auth-art-scene {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 320px;
}

.auth-art-waves {
  position: absolute;
  inset: auto -30px -30px;
  width: calc(100% + 60px);
  height: 320px;
}

.auth-art-quote {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Noto Serif SC", "Songti SC", STSong, "Microsoft YaHei", serif;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.auth-journey {
  position: absolute;
  left: 34px;
  top: 44px;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 176px;
  padding-left: 2px;
}

.auth-journey::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  border-left: 2px dashed rgba(255, 255, 255, 0.42);
}

.journey-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(5px);
}

.journey-node i {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: #2147c8;
  background: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(4, 17, 62, 0.18);
}

.journey-node b {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.journey-node.done {
  background: rgba(255, 255, 255, 0.22);
}

.journey-node.flag {
  background: rgba(255, 255, 255, 0.24);
}

.journey-node.flag i {
  color: #fff;
  background: #f59e0b;
}

.auth-float-chip {
  position: absolute;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px rgba(4, 17, 62, 0.18);
  font-size: 12px;
  font-weight: 750;
}

.auth-float-chip.chip-top {
  right: 4px;
  top: 24px;
}

.auth-float-chip.chip-mid {
  right: -2px;
  top: 132px;
}

.auth-float-chip.chip-bottom {
  right: 10px;
  bottom: 30px;
}

.auth-plane {
  position: absolute;
  right: 18px;
  top: 52px;
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 14px 18px rgba(6, 25, 82, 0.30));
  transform: rotate(-4deg);
  animation: auth-plane-float 3.2s ease-in-out infinite;
}

@keyframes auth-plane-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}

/* onboarding 左侧 */
.onboard-scene {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.onboard-step-line {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 4px;
}

.onboard-step-line::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  border-left: 2px dashed rgba(255, 255, 255, 0.38);
}

.ob-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.ob-step i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  font-style: normal;
  font-weight: 800;
}

.ob-step i svg {
  width: 16px;
  height: 16px;
}

.ob-step b {
  font-size: 13px;
  font-weight: 700;
}

.ob-step.done i {
  border-color: transparent;
  color: #155e4b;
  background: #b6f4dd;
}

.ob-step.active i {
  border-color: transparent;
  color: #2147c8;
  background: #fff;
  box-shadow: 0 10px 22px rgba(4, 17, 62, 0.22);
}

.ob-step.active b {
  font-size: 15px;
}

.onboard-art-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.mini-pill {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 650;
}

/* report 左侧 */
.report-scene {
  display: grid;
  place-items: center;
  align-content: center;
}

.report-seal {
  position: relative;
  z-index: 2;
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border-radius: 38px;
  color: #2647c8;
  background: linear-gradient(145deg, #ffffff 0%, #d9e8ff 100%);
  box-shadow: 0 28px 60px rgba(3, 12, 55, 0.32), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(-4deg);
  animation: auth-seal-float 4s ease-in-out infinite;
}

.report-seal svg {
  width: 52px;
  height: 52px;
}

@keyframes auth-seal-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-9px); }
}

.report-ring {
  position: absolute;
  border: 1.5px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.report-ring.ring-a {
  width: 210px;
  height: 210px;
}

.report-ring.ring-b {
  width: 286px;
  height: 286px;
  opacity: 0.6;
}

.report-art-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: space-around;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
}

.report-art-line span::before {
  content: "·";
  margin-right: 6px;
}

/* ---------- 右侧内容 ---------- */
.auth-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 42px 44px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05), transparent 18rem),
    #fff;
}

.auth-head {
  margin-bottom: 20px;
}

.auth-head.compact {
  margin-bottom: 16px;
}

.auth-head h2 {
  margin: 0;
  color: #16203a;
  font-family: "Noto Serif SC", "Songti SC", STSong, "Microsoft YaHei", serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.auth-head > p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid #e5eaf6;
  border-radius: 13px;
  background: #f3f6fd;
}

.auth-tab {
  height: 40px;
  border: 0;
  border-radius: 10px;
  color: #6b7890;
  background: transparent;
  font-size: 13.5px;
  font-weight: 750;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.auth-tab:hover {
  color: #3349c4;
}

.auth-tab.active {
  color: #1d3fae;
  background: #fff;
  box-shadow: 0 6px 16px rgba(29, 63, 174, 0.12);
}

.auth-panels {
  margin-top: 16px;
}

.auth-content .auth-panel {
  padding: 18px;
  border: 1px solid #e7ecf8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 48, 96, 0.07);
}

.auth-panel[hidden] {
  display: none;
}

.auth-panel-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  color: #1c2947;
  font-size: 15px;
  font-weight: 800;
}

.auth-panel-title svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.auth-field {
  margin-top: 12px;
}

.auth-field input {
  min-height: 46px;
  border-radius: 11px;
  background: #fbfcff;
}

.auth-field input:focus {
  background: #fff;
}

.auth-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(120deg, #1d4ed8 0%, #2563eb 54%, #2f8fe0 120%);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.auth-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: saturate(1.06);
}

.auth-cta:active {
  transform: translateY(0);
}

.auth-cta:disabled {
  cursor: not-allowed;
  filter: grayscale(0.45);
  opacity: 0.62;
  box-shadow: none;
}

.auth-cta svg {
  width: 18px;
  height: 18px;
}

.auth-secure-tip {
  color: #9aa6ba;
  font-size: 12px;
  font-weight: 600;
}

.auth-foot-note {
  margin: 14px 0 0;
  color: #98a4b8;
  font-size: 12px;
  line-height: 1.7;
}

/* onboarding 表单 */
.auth-content-onboarding {
  padding-top: 32px;
}

.auth-onboard-form {
  display: grid;
  gap: 18px;
}

.onboard-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.onboard-group-head h3 {
  margin: 0;
  color: #1d2945;
  font-size: 14px;
  font-weight: 800;
}

.onboard-group-head span {
  color: #9aa5b8;
  font-size: 12px;
}

.auth-pick-grid {
  display: grid;
  gap: 9px;
}

.stage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.year-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 64px;
  padding: 10px 36px 10px 12px;
  border: 1px solid #e1e8f6;
  border-radius: 12px;
  color: #3d4a64;
  background: #fbfcff;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.auth-pick:hover {
  transform: translateY(-1px);
  border-color: #b8ccff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.auth-pick.selected {
  border-color: #2563eb;
  color: #1d3fae;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.10), 0 10px 24px rgba(37, 99, 235, 0.12);
}

.pick-num {
  font-size: 14px;
  font-weight: 800;
}

.pick-sub {
  color: #8591a7;
  font-size: 11.5px;
  line-height: 1.4;
}

.auth-pick.selected .pick-sub {
  color: #5c719e;
}

.chip-pick {
  align-items: center;
  text-align: center;
  padding: 10px 8px;
}

.chip-pick .pick-sub {
  margin-top: 2px;
}

.status-pick {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  min-height: 82px;
  padding-top: 13px;
}

.pick-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  color: #4f6ef2;
  background: #eef3ff;
}

.pick-icon svg {
  width: 17px;
  height: 17px;
}

.pick-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pick-main strong {
  color: #26344f;
  font-size: 13.5px;
  font-weight: 800;
}

.pick-main small {
  color: #8a96aa;
  font-size: 11.5px;
  line-height: 1.45;
}

.pick-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid #d7dfef;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.auth-pick.selected .pick-check {
  border-color: #2563eb;
  color: #fff;
  background: #2563eb;
}

.onboard-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px dashed #c6d7ff;
  border-radius: 12px;
  color: #2d4a9b;
  background: #f5f8ff;
}

.onboard-summary > span {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: #3349c4;
  font-size: 11px;
  font-weight: 700;
}

.onboard-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.auth-actions .auth-cta {
  width: auto;
  min-width: 236px;
  margin-top: 0;
}

.auth-skip {
  padding: 8px 10px;
  border: 0;
  color: #8a96aa;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}

.auth-skip:hover {
  color: #3349c4;
}

.auth-loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

.auth-cta.is-loading {
  cursor: wait;
  opacity: 0.9;
}

/* 报告 */
.report-head {
  margin-bottom: 16px;
}

.report-head h2 {
  font-size: 24px;
}

.report-quote {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 0;
  color: #1e3a8a;
  font-family: "Noto Serif SC", "Songti SC", STSong, "Microsoft YaHei", serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.7;
}

.report-quote em {
  color: #8d9ab1;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.report-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.report-summary-row > span {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid #e8edf9;
  border-radius: 11px;
  background: #f8faff;
}

.report-summary-row b {
  color: #8a96aa;
  font-size: 10.5px;
  font-weight: 750;
}

.report-summary-row em {
  overflow: hidden;
  color: #22314e;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-block {
  padding: 16px;
  border: 1px solid #e8edf9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(29, 48, 96, 0.05);
}

.report-block + .report-block {
  margin-top: 14px;
}

.report-block-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.report-block-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #2f8fe0);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.report-block-icon svg {
  width: 19px;
  height: 19px;
}

.report-block-head h3 {
  margin: 0;
  color: #1b2742;
  font-size: 15px;
  font-weight: 850;
}

.report-block-head p {
  margin: 3px 0 0;
  color: #8b97ab;
  font-size: 12px;
}

.report-lead {
  margin: 12px 0 14px;
  padding-left: 13px;
  border-left: 3px solid #93b4ff;
  color: #43506a;
  font-size: 13px;
  line-height: 1.75;
}

.auth-priority-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-priority-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 12px 13px;
  border: 1px solid #eef1f8;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbfcff, #f7faff);
}

.prio-badge {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #2563eb;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.prio-body {
  min-width: 0;
}

.prio-body > strong {
  display: block;
  color: #24314e;
  font-size: 13.5px;
  font-weight: 820;
  line-height: 1.45;
}

.prio-body > p {
  margin: 5px 0 0;
  color: #5b6880;
  font-size: 12px;
  line-height: 1.7;
}

.prio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
}

.prio-meta span {
  color: #8b96aa;
  font-size: 11px;
  line-height: 1.5;
}

.prio-meta em {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  color: #2d6de0;
  background: #eaf1ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.auth-usage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.usage-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: flex-start;
  padding: 11px;
  border-radius: 12px;
  background: #f7f9ff;
}

.usage-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #4f6ef2;
  background: #eaf0ff;
}

.usage-icon svg {
  width: 16px;
  height: 16px;
}

.usage-item strong {
  display: block;
  color: #27344f;
  font-size: 12.5px;
  font-weight: 820;
}

.usage-item p {
  margin: 4px 0 0;
  color: #7b879c;
  font-size: 11.5px;
  line-height: 1.6;
}

.report-actions {
  margin-top: 18px;
}

.auth-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #dfe6f5;
  border-radius: 12px;
  color: #5a6881;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}

.auth-ghost svg {
  width: 16px;
  height: 16px;
}

.auth-ghost:hover {
  border-color: #b8c9f2;
  color: #3349c4;
}

.onboard-cta-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3f7ff, #f8fbff);
}

.onboard-cta-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #2f8fe0);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.onboard-cta-icon svg {
  width: 20px;
  height: 20px;
}

.onboard-cta-card > div:nth-child(2) {
  min-width: 0;
}

.onboard-cta-card strong {
  display: block;
  color: #1e2c4c;
  font-size: 15px;
}

.onboard-cta-card p:not(.eyebrow) {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .auth-card-inner,
  .auth-card-inner.auth-frame-onboarding,
  .auth-card-inner.auth-frame-report {
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  }

  .auth-content {
    padding: 34px 26px 24px;
  }

  .auth-art {
    padding-left: 24px;
    padding-right: 22px;
  }

  .auth-float-chip {
    display: none;
  }

  .report-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .auth-shell {
    padding: 0;
  }

  .auth-card {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .auth-card-inner,
  .auth-card-inner.auth-frame-onboarding,
  .auth-card-inner.auth-frame-report {
    display: block;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .auth-art {
    display: none;
  }

  .auth-content {
    min-height: 100%;
    overflow-y: auto;
    padding: 48px 22px 30px;
  }

  .auth-close {
    top: 12px;
    right: 12px;
  }

  .stage-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .auth-usage-grid {
    grid-template-columns: 1fr;
  }

  .onboard-cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .auth-head h2 {
    font-size: 23px;
  }

  .year-grid {
    grid-template-columns: 1fr;
  }

  .auth-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .auth-actions .auth-cta {
    width: 100%;
  }

  .auth-skip {
    align-self: center;
  }

  .auth-foot-note {
    text-align: center;
  }
}

/* ================= 登录弹窗二次收敛：更空、更少、更精致 ================= */
.auth-card {
  width: min(980px, 100%);
  border-radius: 28px;
  box-shadow: 0 46px 120px rgba(10, 20, 48, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.auth-frame-login {
  grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1.1fr);
}

/* —— 左：只留一条干净的路线 —— */
.auth-frame-login .auth-art {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.14), transparent 10rem),
    radial-gradient(circle at 12% 88%, rgba(103, 232, 249, 0.16), transparent 13rem),
    linear-gradient(162deg, #13275e 0%, #1b3f9e 38%, #2152d6 74%, #2b6fe8 118%);
}

.auth-frame-login .auth-art::before {
  display: none;
}

.auth-frame-login .auth-art-head {
  opacity: 0.96;
}

.auth-frame-login .auth-art-scene {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
}

.auth-frame-login .auth-plane {
  position: absolute;
  top: 34px;
  right: 26px;
  width: 46px;
  height: 46px;
  opacity: 0.96;
  animation: auth-plane-float 3.4s ease-in-out infinite;
}

.auth-frame-login .auth-journey {
  position: relative;
  left: auto;
  top: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  width: min(220px, 82%);
  margin: 22px auto 26px;
  padding: 0;
}

.auth-frame-login .auth-journey::before {
  left: 18px;
  top: 26px;
  bottom: 26px;
  border-left: 1px dashed rgba(255, 255, 255, 0.36);
}

.auth-frame-login .journey-node {
  width: auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.auth-frame-login .journey-node i {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.auth-frame-login .journey-node.done i,
.auth-frame-login .journey-node.flag i {
  border-color: #fff;
  color: #173a9e;
  background: #fff;
  box-shadow: 0 10px 24px rgba(3, 12, 48, 0.22);
}

.auth-frame-login .journey-node b {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.auth-frame-login .auth-art-quote {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  letter-spacing: 0.06em;
}

/* —— 右：表单直接落在画布上，去掉多余卡片与标题 —— */
.auth-frame-login .auth-content {
  padding: 54px 58px 36px;
  background: #fff;
}

.auth-frame-login .auth-head {
  margin-bottom: 26px;
}

.auth-frame-login .auth-head .eyebrow {
  margin-bottom: 10px;
  color: #6b7a99;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.auth-frame-login .auth-head h2 {
  font-size: 29px;
}

.auth-frame-login .auth-head > p:last-child {
  margin-top: 10px;
  font-size: 13px;
}

.auth-frame-login .auth-tabs {
  max-width: 360px;
  padding: 4px;
  border: 1px solid #edf1f8;
  border-radius: 13px;
  background: #f5f7fb;
  box-shadow: none;
}

.auth-frame-login .auth-tab {
  height: 42px;
  border-radius: 10px;
  color: #7c889d;
  font-size: 13.5px;
  font-weight: 720;
}

.auth-frame-login .auth-tab.active {
  color: #1f4ed8;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 78, 216, 0.10);
}

.auth-frame-login .auth-panels {
  margin-top: 22px;
}

.auth-frame-login .auth-content .auth-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-frame-login .form-copy {
  margin: 0 0 20px;
  color: #7b879c;
  font-size: 13px;
  line-height: 1.7;
}

.auth-frame-login .auth-field {
  margin-top: 16px;
}

.auth-frame-login .auth-field > span {
  margin-bottom: 8px;
  color: #4d5a72;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.auth-frame-login .auth-field input {
  min-height: 52px;
  border: 1px solid #dde5f3;
  border-radius: 12px;
  padding: 0 16px;
  color: #1d2945;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-frame-login .auth-field input::placeholder {
  color: #aab4c6;
}

.auth-frame-login .auth-field input:hover {
  border-color: #b9c9ee;
}

.auth-frame-login .auth-field input:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.auth-frame-login .code-input-row {
  align-items: stretch;
}

.auth-frame-login .code-send-btn {
  min-width: 124px;
  min-height: 52px;
  border: 1px solid #d9e2f4;
  border-radius: 12px;
  color: #2557d6;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.auth-frame-login .code-send-btn:disabled {
  border-color: #e3e8f2;
  color: #93a0b6;
  background: #f6f8fc;
}

.auth-frame-login .auth-cta {
  min-height: 52px;
  margin-top: 24px;
  border-radius: 14px;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.auth-frame-login .auth-switch-row {
  align-items: center;
  margin-top: 14px;
}

.auth-frame-login .auth-switch-link {
  color: #4f6ef2;
  font-size: 13px;
}

.auth-frame-login .auth-secure-tip {
  color: #9aa6ba;
  font-size: 12px;
}

.auth-frame-login .auth-foot-note {
  margin-top: 20px;
  color: #a2adbf;
  font-size: 11.5px;
  text-align: center;
}

.auth-close {
  top: 18px;
  right: 18px;
}

@media (max-width: 980px) {
  .auth-frame-login .auth-content {
    padding: 42px 34px 30px;
  }
}

@media (max-width: 820px) {
  .auth-frame-login .auth-content {
    padding: 48px 24px 32px;
  }

  .auth-frame-login .auth-tabs {
    max-width: none;
  }

  .auth-frame-login .auth-head h2 {
    font-size: 25px;
  }
}

/* ================= 登录界面第三版：扫码模块 + 高级配色 + 克制插画 ================= */
/* —— 左侧：山峦线稿 + 竖排短句，去掉卡通感 —— */
.auth-frame-login .auth-art {
  background:
    radial-gradient(circle at 82% 14%, rgba(129, 148, 255, 0.24), transparent 14rem),
    radial-gradient(circle at 6% 96%, rgba(56, 189, 248, 0.10), transparent 15rem),
    linear-gradient(162deg, #0a1030 0%, #131d4e 40%, #22327f 76%, #2c4ab8 116%);
}

.auth-frame-login .login-scene {
  position: relative;
}

.art-moon-rings {
  position: absolute;
  top: 34px;
  right: 26px;
  width: 168px;
  height: 168px;
  opacity: 0.92;
}

.art-ridges {
  position: absolute;
  right: -12px;
  bottom: -6px;
  left: -12px;
  width: calc(100% + 24px);
  height: 74%;
  opacity: 0.72;
}

.auth-login-couplet {
  position: absolute;
  top: 158px;
  left: 44px;
  z-index: 2;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.couplet-col {
  color: rgba(255, 255, 255, 0.94);
  font-family: "Noto Serif SC", "Songti SC", STSong, "KaiTi", "Microsoft YaHei", serif;
  font-size: 25px;
  font-weight: 620;
  line-height: 1.42;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-shadow: 0 2px 22px rgba(4, 10, 42, 0.35);
}

.couplet-seal {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  margin-top: 12px;
  border-radius: 5px;
  color: #fff;
  background: #d5454b;
  box-shadow: 0 8px 18px rgba(122, 20, 28, 0.30);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 15px;
  font-weight: 800;
}

.auth-frame-login .auth-art-quote {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 36px 30px;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Noto Serif SC", "Songti SC", STSong, "Microsoft YaHei", serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.34em;
  line-height: 1.6;
}

/* —— 右侧：与左侧呼应的靛蓝系，三栏登录方式 —— */
.auth-frame-login .auth-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

.auth-frame-login .auth-tab {
  padding: 0 6px;
  font-size: 13px;
}

.auth-frame-login .auth-tab.active {
  color: #273f9e;
}

.auth-frame-login .auth-field input:focus {
  border-color: #3a54d8;
  box-shadow: 0 0 0 4px rgba(58, 84, 216, 0.10);
}

.auth-frame-login .code-send-btn {
  color: #314cc8;
}

.auth-frame-login .auth-switch-link {
  color: #435bc8;
}

.auth-frame-login .auth-cta {
  background: linear-gradient(120deg, #182a68 0%, #2f4bd6 58%, #4b62e8 122%);
  box-shadow: 0 16px 32px rgba(47, 75, 214, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.auth-frame-login .auth-cta:hover {
  box-shadow: 0 20px 40px rgba(47, 75, 214, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* —— 扫码登录 —— */
.auth-frame-login .auth-scan-panel {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.scan-login-card {
  display: grid;
  gap: 0;
}

.scan-login-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 4px;
}

.scan-logo {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #06b95c, #0d9f4e);
  box-shadow: 0 10px 22px rgba(6, 185, 92, 0.22);
}

.scan-logo i {
  font-style: normal;
  font-size: 19px;
  font-weight: 800;
}

.scan-login-head div {
  text-align: left;
}

.scan-login-head strong {
  display: block;
  color: #1c2948;
  font-size: 15px;
  font-weight: 820;
}

.scan-login-head p {
  margin: 3px 0 0;
  color: #8a96aa;
  font-size: 11.5px;
}

.auth-qr-stage {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 18px;
}

.auth-qr-card {
  position: relative;
  width: 184px;
  height: 184px;
  padding: 7px;
  border: 1px solid #e6ebf6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(29, 48, 96, 0.10);
}

.auth-qr-svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.auth-qr-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
}

.auth-qr-card.has-image {
  padding: 7px;
}

/* 状态未就绪时把二维码压暗，明确「现在扫也没用」 */
.auth-qr-card.is-stale .auth-qr-svg,
.auth-qr-card.is-stale .auth-qr-img {
  opacity: 0.35;
  filter: grayscale(0.4);
}

.scan-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.qr-center-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #162a6b, #2f4bd6);
  box-shadow: 0 10px 24px rgba(23, 42, 106, 0.28);
  font-size: 18px;
  font-weight: 850;
  transform: translate(-50%, -50%);
}

.scan-ready {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #4a5873;
  font-size: 12.5px;
  font-weight: 720;
}

.scan-ready i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0aa15a;
  box-shadow: 0 0 0 4px rgba(10, 161, 90, 0.12);
}

/* 等待扫码时呼吸提示；已扫描/已授权时由 JS 去掉 is-busy */
.scan-ready.is-busy i {
  animation: scanPulse 1.6s ease-in-out infinite;
}

@keyframes scanPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(10, 161, 90, 0.12);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(10, 161, 90, 0.05);
  }
}

.scan-tip {
  margin: 10px auto 0;
  max-width: 320px;
  color: #8591a6;
  font-size: 12px;
  line-height: 1.75;
}

.scan-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: #8792a8;
  background: #f4f6fa;
  font-size: 11px;
  font-weight: 650;
}

.scan-notice::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa6ba;
}

/* ===== AI 排课：周次视图独立成块并与本周课表对齐（2026-09） ===== */
.tt-week-head {
  align-items: center;
}

.tt-week-tools,
.tt-day-tools {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.tt-week-tools .tt-week-filter,
.tt-day-tools .tt-week-filter {
  margin: 0;
  min-width: 158px;
}

.tt-week-tools .tt-week-filter select,
.tt-day-tools .tt-week-filter select {
  min-width: 158px;
}

.tt-week-tools .tt-legend {
  align-self: center;
  padding-bottom: 4px;
}

.tt-day-tools .stat-pill {
  align-self: center;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .tt-week-head,
  .tt-day-card .tt-day-head {
    align-items: flex-start;
  }

  .tt-week-tools,
  .tt-day-tools {
    justify-content: flex-start;
  }

  .tt-day-card .tt-day-head {
    flex-direction: column;
  }
}

/* ===== AI 排课：上（课表管理/AI调配）下（周次视图+本周课表）两段布局（2026-09） ===== */
.tt-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.tt-zone {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.tt-side-frame {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e4ebf6;
  border-radius: 12px;
  background: #f8fbff;
}

.tt-side-frame .tt-frame-head {
  display: grid;
  gap: 2px;
}

.tt-side-frame .tt-frame-head h3 {
  margin: 0;
  color: #22314d;
  font-size: 16px;
}

.tt-side-frame .tt-week-filter {
  margin: 0;
}

.tt-side-frame .tt-week-filter select {
  width: 100%;
}

.tt-side-frame .tt-course-list-wrap {
  padding-top: 2px;
}

.tt-zone-top .tt-control,
.tt-zone-top .tt-ai-card,
.tt-zone-week .tt-side-frame,
.tt-zone-week .tt-page-body .tt-week-card {
  min-width: 0;
}

@media (max-width: 1180px) {
  .tt-zone {
    grid-template-columns: 1fr;
  }
}

/* ===== AI 择校：右上角加入/取消对比（2026-09） ===== */
.ai-compare-toolbar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-compare-toolbar .ghost-action {
  margin: 0;
}

.ai-compare-toggle.is-added {
  color: #b3261e;
  border-color: rgba(179, 38, 30, 0.35);
  background: #fdeceb;
}

.ai-compare-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.school-official-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(37, 99, 235, 0.32);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.school-official-link:hover {
  background: rgba(37, 99, 235, 0.16);
  color: #1e40af;
}

/* ===== 每日 AI 总结（2026-09） ===== */
.daily-hero {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1e4fd8, #2563eb 55%, #0c9d8b);
  box-shadow: var(--shadow-soft);
}

.daily-hero.idle {
  background: linear-gradient(135deg, #44506b, #64718a);
}

.daily-hero.warm {
  background: linear-gradient(135deg, #2563eb, #4f7dfb 60%, #0c9d8b);
}

.daily-hero.good {
  background: linear-gradient(135deg, #1e4fd8, #2563eb 50%, #0c9d8b);
}

.daily-hero.clear {
  background: linear-gradient(135deg, #0c9d8b, #14b8a6 45%, #d97706);
}

.daily-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.daily-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.daily-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.daily-hero h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 720;
}

.daily-hero > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.62;
}

.daily-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  overflow: hidden;
}

.daily-progress-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #fff;
  transition: width 0.32s ease;
}

.daily-hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.daily-boost {
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  line-height: 1.55;
}

.daily-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.daily-split + .daily-card,
.daily-card + .daily-tip {
  margin-top: 14px;
}

.daily-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.daily-card > strong {
  font-size: 17px;
  line-height: 1.4;
}

.daily-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.daily-advice-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  line-height: 1.62;
}

.daily-stage-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.62;
}

.daily-stage-list li {
  position: relative;
  padding-left: 22px;
}

.daily-stage-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
  content: "◆";
  font-size: 11px;
  line-height: 1.8;
}

.daily-proof {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.daily-proof-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.daily-proof ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.daily-honest {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.07);
}

.daily-honest-tag {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

.daily-honest p {
  margin: 0;
  line-height: 1.65;
}

.daily-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.daily-tip-tag {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.daily-tip p {
  margin: 0;
  line-height: 1.65;
}

.daily-tip-source {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.daily-hero {
  gap: 14px;
  padding: 20px 22px;
}

.daily-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.daily-hero-copy {
  display: grid;
  gap: 7px;
}

.daily-hero-copy h3 {
  max-width: 800px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.daily-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.55;
}

.daily-progress-ring {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  place-items: center;
}

.daily-progress-ring::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#fff var(--daily-progress), rgba(255, 255, 255, 0.2) 0);
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%);
  mask: radial-gradient(circle, transparent 55%, #000 57%);
  content: "";
}

.daily-progress-ring > span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1px;
}

.daily-progress-ring strong {
  color: #fff;
  font-size: 22px;
  font-weight: 820;
  line-height: 1.1;
}

.daily-progress-ring small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.daily-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.daily-kpi-strip > span {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
}

.daily-kpi-strip b {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.daily-kpi-strip small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.daily-proof.daily-proof-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 6px 0 0;
  background: transparent;
}

.daily-proof-chips > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.daily-proof-chips > div span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  line-height: 1.4;
}

.daily-visual-grid,
.daily-action-grid,
.daily-insight-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.daily-visual-grid .daily-card,
.daily-action-grid .daily-card {
  min-height: 220px;
  gap: 12px;
  padding: 18px;
}

.daily-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.daily-card-heading strong {
  overflow: hidden;
  color: #243750;
  font-size: 14px;
  font-weight: 740;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-score-compare {
  display: grid;
  gap: 10px;
}

.daily-score-compare > div {
  display: grid;
  grid-template-columns: 42px 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.daily-score-compare span {
  color: #748198;
  font-size: 11px;
}

.daily-score-compare strong {
  color: #20324c;
  font-size: 17px;
  font-weight: 780;
}

.daily-score-compare i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef6;
}

.daily-score-compare i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b8def, #2f6ef0);
}

.daily-score-compare > div:last-child i b {
  background: linear-gradient(90deg, #21b58b, #0e9c7c);
}

.daily-gap-chip {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 730;
}

.daily-gap-chip.is-safe {
  color: #147355;
  background: #e8f7f1;
}

.daily-gap-chip.is-risk {
  color: #b26a14;
  background: #fff3df;
}

.daily-card > p,
.daily-week-card > p {
  color: #728096;
  font-size: 12px;
  line-height: 1.55;
}

.daily-week-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  align-items: end;
  min-height: 100px;
  padding-top: 4px;
}

.daily-week-chart > span {
  display: grid;
  grid-template-rows: 78px auto;
  gap: 5px;
  justify-items: center;
}

.daily-week-chart > span > i {
  display: flex;
  width: 100%;
  max-width: 18px;
  height: 100%;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 5px 5px 2px 2px;
  background: #edf1f7;
}

.daily-week-chart i b {
  display: block;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, #62aaf0, #2f6ef0);
}

.daily-week-chart .is-empty i {
  background: #f3f5f8;
}

.daily-week-chart small {
  color: #7c899b;
  font-size: 9px;
  white-space: nowrap;
}

.daily-visual-empty {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px dashed #dbe4ef;
  border-radius: 9px;
  color: #8492a6;
  background: #fafbfd;
  font-size: 12px;
}

.daily-focus-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-focus-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid #edf1f6;
  border-radius: 9px;
  background: #fafbfd;
}

.daily-focus-list i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: #2d67d5;
  background: #edf4ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.daily-focus-list span {
  color: #3f5068;
  font-size: 12px;
  line-height: 1.5;
}

.daily-action-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-action-list li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f8fafc;
}

.daily-action-check {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 6px;
  color: #1c8a68;
  background: #e9f7f1;
  font-size: 11px;
  font-weight: 800;
}

.daily-action-list p {
  margin: 0;
  color: #526176;
  font-size: 12px;
  line-height: 1.55;
}

.daily-sharp-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(190px, auto);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  margin-top: 14px;
  padding: 24px 26px;
  border: 1px solid #dbe5f1;
  border-radius: 15px;
  background:
    radial-gradient(circle at 92% 0%, rgba(83, 138, 201, 0.11), transparent 18rem),
    linear-gradient(135deg, #f8fbff, #fff);
  box-shadow: 0 7px 20px rgba(38, 68, 105, 0.05);
}

.daily-sharp-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2f6fbd, #5aa4cf);
  content: "";
}

.daily-sharp-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #285f9f, #4d93c8);
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
  box-shadow: 0 9px 19px rgba(44, 103, 166, 0.18);
}

.daily-sharp-copy {
  display: grid;
  gap: 7px;
}

.daily-sharp-copy > span {
  color: #3672ae;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.daily-sharp-copy blockquote {
  display: grid;
  gap: 7px;
  max-width: 850px;
  margin: 0;
  color: #1d3853;
  letter-spacing: -0.015em;
}

.daily-sharp-copy blockquote strong {
  color: #172f49;
  font-size: 24px;
  font-weight: 820;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.daily-sharp-copy blockquote em {
  color: #526b84;
  font-size: 16px;
  font-style: normal;
  font-weight: 560;
  line-height: 1.7;
}

.daily-sharp-context {
  display: grid;
  min-width: 230px;
  justify-items: start;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #dce7f3;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
  text-align: left;
}

.daily-sharp-context strong {
  color: #234663;
  font-size: 14px;
}

.daily-sharp-context span {
  color: #647b91;
  font-size: 12px;
}

.daily-insight-row {
  margin-bottom: 2px;
}

.daily-insight-row .daily-honest,
.daily-insight-row .daily-tip {
  min-height: 62px;
  margin-top: 0;
  padding: 13px 15px;
}

.daily-insight-row p {
  overflow: hidden;
  color: #647287;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .daily-hero-main {
    grid-template-columns: 1fr;
  }

  .daily-progress-ring {
    width: 82px;
    height: 82px;
  }

  .daily-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-visual-grid,
  .daily-action-grid,
  .daily-insight-row,
  .daily-sharp-card {
    grid-template-columns: 1fr;
  }

  .daily-sharp-card {
    justify-items: start;
    padding: 20px;
  }

  .daily-sharp-copy blockquote strong {
    font-size: 21px;
  }

  .daily-sharp-copy blockquote em {
    font-size: 15px;
  }

  .daily-sharp-context {
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .daily-visual-grid .daily-card,
  .daily-action-grid .daily-card {
    min-height: 0;
  }

  .daily-week-chart > span {
    grid-template-rows: 64px auto;
  }
}

.difficulty-note {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  background: rgba(217, 119, 6, 0.06);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

.verdict-reason,
.ai-verdict-reason {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ===== 会员中心 · 套餐与额度（2026-09） ===== */
.membership-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.membership-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.membership-card > strong {
  font-size: 26px;
  font-weight: 740;
}

.membership-monthly-equivalent {
  color: var(--muted);
  font-size: 12.5px;
  font-style: normal;
}

.membership-unit-price {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-style: normal;
  justify-self: start;
}

.membership-credit-main {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(12, 157, 139, 0.08));
}

.membership-credit-main > strong {
  font-size: 34px;
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.membership-credit-main > div {
  display: grid;
  gap: 4px;
}

.membership-credit-main span {
  font-size: 13.5px;
  font-weight: 600;
}

.membership-credit-main em {
  color: var(--muted);
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.55;
  max-width: 62ch;
}

.membership-credit-main.is-low {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(224, 82, 111, 0.08));
}

.membership-daily-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12.5px;
}

.membership-daily-chip.is-empty {
  background: rgba(217, 119, 6, 0.1);
  color: var(--amber);
}

.membership-quota-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.membership-card .primary-action[disabled],
.membership-card .secondary-action[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.membership-loading {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.membership-quota-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.membership-quota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.membership-quota-row {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.membership-quota-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
}

.membership-quota-head strong {
  font-variant-numeric: tabular-nums;
}

.membership-quota-track {
  height: 6px;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.membership-quota-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.membership-quota-row.is-empty .membership-quota-track span {
  background: var(--amber);
}

.membership-quota-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.membership-credit-chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 157, 139, 0.1);
  color: var(--teal);
  font-size: 13px;
}

.membership-expire {
  color: var(--muted);
  font-size: 13px;
}

.membership-quota-note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.ai-quota-badge {
  margin-right: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
}

.ai-quota-badge.is-empty {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.08);
  color: var(--amber);
}

.quota-modal p {
  margin: 0 0 10px;
  line-height: 1.65;
}

.quota-modal-note {
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .daily-split {
    grid-template-columns: 1fr;
  }

  .daily-hero {
    padding: 18px;
  }

  .daily-hero h3 {
    font-size: 20px;
  }
}

/* 法律与政策：用户协议 / 隐私政策 / 付费说明（微信审核也会看这里） */
.app-legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 22px 4px 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 34, 46, 0.08);
  color: var(--text-muted, #7b8394);
  font-size: 12.5px;
}

.app-legal-footer a {
  color: var(--text-muted, #7b8394);
  text-decoration: none;
  border-bottom: 1px dashed rgba(28, 34, 46, 0.22);
  padding-bottom: 1px;
}

.app-legal-footer a:hover {
  color: var(--accent, #2b6cff);
  border-bottom-color: var(--accent, #2b6cff);
}

.membership-bind-card {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.membership-bind-code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 22px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--accent, #2b6cff);
}

.membership-bind-hint {
  color: var(--text-muted, #7b8394);
  font-size: 12.5px;
}

/* —— 基础板块：考研调剂作战手册 —— */
.adj-guide {
  display: grid;
  gap: 20px;
  color: #17233b;
}

.adj-guide h3,
.adj-guide h4,
.adj-guide p {
  margin-top: 0;
}

.adj-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 26px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(101, 142, 210, 0.34);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 91% 2%, rgba(50, 208, 176, 0.28), transparent 36%),
    radial-gradient(circle at 18% 122%, rgba(91, 142, 255, 0.55), transparent 42%),
    linear-gradient(128deg, #12284f 0%, #17427c 58%, #156b73 125%);
  box-shadow: 0 24px 48px rgba(20, 49, 92, 0.2);
}

.adj-hero::after {
  position: absolute;
  right: -78px;
  bottom: -116px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.035), 0 0 0 86px rgba(255, 255, 255, 0.025);
  content: "";
}

.adj-hero-copy,
.adj-hero-board {
  position: relative;
  z-index: 1;
}

.adj-kicker {
  margin-bottom: 9px;
  color: #5c77a7;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.adj-hero .adj-kicker {
  color: #9fc9ff;
}

.adj-hero h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.adj-hero-copy > p:not(.adj-kicker) {
  max-width: 680px;
  margin-bottom: 22px;
  color: rgba(235, 244, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.8;
}

.adj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.adj-primary-btn,
.adj-ghost-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.adj-primary-btn {
  border: 1px solid #fff;
  color: #14345e;
  background: #fff;
  box-shadow: 0 10px 24px rgba(4, 20, 48, 0.22);
}

.adj-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(4, 20, 48, 0.3);
}

.adj-primary-btn.full {
  width: 100%;
  margin-top: 4px;
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.adj-ghost-link {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.adj-ghost-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.adj-hero-board {
  display: grid;
  align-content: center;
  gap: 10px;
}

.adj-hero-board > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(8px);
}

.adj-hero-board strong {
  grid-row: 1 / 3;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.adj-hero-board span {
  color: #eaf4ff;
  font-size: 14px;
  font-weight: 800;
}

.adj-hero-board small {
  color: rgba(225, 239, 255, 0.62);
  font-size: 11.5px;
}

.adj-jump {
  position: sticky;
  z-index: 8;
  top: 10px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 9px;
  border: 1px solid #dfe8f6;
  border-radius: 13px;
  background: rgba(249, 252, 255, 0.94);
  box-shadow: 0 10px 24px rgba(36, 62, 105, 0.08);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.adj-jump::-webkit-scrollbar {
  display: none;
}

.adj-jump button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #5b6982;
  background: transparent;
  font-size: 12px;
  font-weight: 760;
}

.adj-jump button:hover,
.adj-jump button.active {
  border-color: #cbdcf9;
  color: var(--primary-dark);
  background: #eef4ff;
}

.adj-policy-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid #f1d9a9;
  border-radius: 12px;
  color: #735018;
  background: #fffbef;
}

.adj-policy-note strong {
  padding: 3px 8px;
  border-radius: 999px;
  color: #805600;
  background: #fff0c5;
  font-size: 11.5px;
  white-space: nowrap;
}

.adj-policy-note p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
}

.adj-section {
  scroll-margin-top: 72px;
  padding: 24px;
  border: 1px solid #e3eaf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(32, 56, 95, 0.055);
}

.adj-section-head,
.adj-subhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.adj-section-head {
  margin-bottom: 18px;
}

.adj-section-head h3 {
  margin: 0;
  color: #16233b;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.adj-section-head > p {
  max-width: 480px;
  margin: 21px 0 0;
  color: #6b7890;
  font-size: 12.5px;
  line-height: 1.7;
}

.adj-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.adj-rule-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 220px;
  gap: 8px;
  overflow: hidden;
  padding: 17px;
  border: 1px solid #e2eaf6;
  border-radius: 13px;
  background: linear-gradient(155deg, #fff 0%, #f8faff 100%);
}

.adj-rule-number {
  position: absolute;
  right: 10px;
  top: 3px;
  color: rgba(37, 99, 235, 0.08);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.adj-rule-card > span {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #355987;
  background: #edf4ff;
  font-size: 10.5px;
  font-weight: 850;
}

.adj-rule-card h4 {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: #1e2d47;
  font-size: 15px;
  line-height: 1.4;
}

.adj-rule-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #69778f;
  font-size: 12px;
  line-height: 1.7;
}

.adj-fast-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f5f8fd;
}

.adj-fast-check > strong {
  margin-right: 3px;
  color: #223a5d;
  font-size: 12px;
}

.adj-fast-check > span {
  padding: 5px 9px;
  border: 1px solid #dce6f5;
  border-radius: 999px;
  color: #53627c;
  background: #fff;
  font-size: 11px;
}

.adj-fast-check > button {
  margin-left: auto;
}

.adj-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.adj-time-card {
  position: relative;
  min-height: 190px;
  padding: 16px;
  border: 1px solid #e2ebf7;
  border-radius: 13px;
  background: #fafcff;
}

.adj-time-card:not(:nth-child(4n))::after {
  position: absolute;
  right: -10px;
  top: 30px;
  width: 10px;
  height: 1px;
  background: #cbd9ed;
  content: "";
}

.adj-time-index {
  position: absolute;
  right: 12px;
  top: 10px;
  color: #b7c5d9;
  font-size: 10px;
  font-weight: 800;
}

.adj-time-window {
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #04776c;
  background: #e7f9f3;
  font-size: 10.5px;
  font-weight: 850;
}

.adj-time-card h4 {
  margin-bottom: 9px;
  color: #1d2c46;
  font-size: 14px;
}

.adj-time-card ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 16px;
  color: #68768d;
  font-size: 11.5px;
  line-height: 1.55;
}

.adj-two-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.adj-two-note-grid article {
  padding: 14px 16px;
  border-left: 3px solid #7ba7ee;
  border-radius: 4px 11px 11px 4px;
  background: #f5f8fe;
}

.adj-two-note-grid span {
  color: #6f7f98;
  font-size: 10.5px;
  font-weight: 800;
}

.adj-two-note-grid strong {
  display: block;
  margin: 4px 0 5px;
  color: #22344f;
  font-size: 13.5px;
}

.adj-two-note-grid p {
  margin: 0;
  color: #65738b;
  font-size: 12px;
  line-height: 1.65;
}

.adj-progress-copy {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  text-align: right;
}

.adj-progress-copy strong {
  color: #1f3557;
  font-size: 22px;
}

.adj-progress-copy span {
  color: #78869c;
  font-size: 11px;
}

.adj-progress-track {
  height: 7px;
  overflow: hidden;
  margin: -4px 0 16px;
  border-radius: 999px;
  background: #e9eff8;
}

.adj-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0c9d8b);
  transition: width 0.24s ease;
}

.adj-workflow-list {
  display: grid;
  gap: 8px;
}

.adj-workflow-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 13px;
  border: 1px solid #e4ebf6;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.adj-workflow-step:hover {
  border-color: #c9dbf7;
  background: #fbfdff;
}

.adj-workflow-step.is-done {
  border-color: #cceadb;
  background: #f7fdf9;
}

.adj-step-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #cedced;
  border-radius: 50%;
  color: #4c6382;
  background: #f7faff;
  font-size: 11px;
  font-weight: 850;
}

.adj-workflow-step.is-done .adj-step-toggle {
  border-color: #84cda9;
  color: #fff;
  background: #1d9a6c;
  font-size: 17px;
}

.adj-step-copy {
  display: grid;
  gap: 5px;
}

.adj-step-copy > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adj-step-copy > div span {
  padding: 3px 7px;
  border-radius: 5px;
  color: #32618e;
  background: #edf4ff;
  font-size: 10px;
  font-weight: 800;
}

.adj-step-copy h4 {
  margin: 0;
  color: #1e2f4a;
  font-size: 14px;
}

.adj-step-copy p,
.adj-step-copy small {
  margin: 0;
  color: #68778e;
  font-size: 12px;
  line-height: 1.62;
}

.adj-step-copy small {
  color: #8a6b2c;
}

.adj-pool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.65fr);
  gap: 14px;
}

.adj-score-table {
  overflow: hidden;
  border: 1px solid #e1e9f5;
  border-radius: 13px;
}

.adj-score-head,
.adj-score-row {
  display: grid;
  grid-template-columns: 110px 70px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.adj-score-head {
  padding: 10px 13px;
  color: #6b7b93;
  background: #f1f5fb;
  font-size: 10.5px;
  font-weight: 800;
}

.adj-score-row {
  padding: 12px 13px;
  border-top: 1px solid #edf1f7;
}

.adj-score-row > strong {
  color: #223653;
  font-size: 12.5px;
}

.adj-score-row > span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 850;
}

.adj-score-row p,
.adj-score-row small {
  margin: 0;
  color: #506078;
  font-size: 11.5px;
  line-height: 1.55;
}

.adj-score-row small {
  display: block;
  margin-top: 3px;
  color: #9a6a25;
  font-size: 10.5px;
}

.adj-score-footnote {
  margin: 0;
  padding: 10px 13px;
  border-top: 1px solid #edf1f7;
  color: #7a879b;
  background: #fbfcfe;
  font-size: 10.5px;
  line-height: 1.55;
}

.adj-pool-side {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 15px;
  border: 1px solid #dce8f7;
  border-radius: 13px;
  background: linear-gradient(155deg, #f8fbff, #f2f8f7);
}

.adj-bucket {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
}

.adj-bucket > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #4673b5;
  font-size: 13px;
  font-weight: 900;
}

.adj-bucket:nth-of-type(3) > span {
  background: #0d8f83;
}

.adj-bucket:nth-of-type(4) > span {
  background: #7d6a45;
}

.adj-bucket strong {
  color: #22334f;
  font-size: 12px;
}

.adj-bucket p {
  margin: 1px 0 0;
  color: #6b7a90;
  font-size: 10.5px;
  line-height: 1.4;
}

.adj-target-panel {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #e2eaf6;
  border-radius: 13px;
  background: #fafcff;
}

.adj-subhead {
  align-items: center;
  margin-bottom: 12px;
}

.adj-subhead .adj-kicker {
  margin-bottom: 4px;
}

.adj-subhead h4 {
  margin: 0;
  color: #21334f;
  font-size: 15px;
}

.adj-target-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.adj-target-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e1e9f5;
  border-radius: 10px;
  background: #fff;
}

.adj-target-item strong {
  color: #22314c;
  font-size: 12px;
}

.adj-target-item p {
  overflow: hidden;
  margin: 2px 0 0;
  color: #76849a;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adj-empty-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px dashed #cbd9ea;
  border-radius: 10px;
}

.adj-empty-note strong {
  color: #263a59;
  font-size: 13px;
}

.adj-empty-note p {
  margin: 3px 0 0;
  color: #748298;
  font-size: 11.5px;
}

.adj-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.adj-material-grid article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e4ebf6;
  border-radius: 10px;
  background: #fcfdff;
}

.adj-material-grid article > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: #476589;
  background: #edf3fb;
  font-size: 10px;
  font-weight: 850;
}

.adj-material-grid strong {
  color: #243651;
  font-size: 12.5px;
}

.adj-material-grid p {
  margin: 3px 0 0;
  color: #738197;
  font-size: 10.8px;
  line-height: 1.55;
}

.adj-material-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 11px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f9fe;
}

.adj-material-tip strong {
  flex: 0 0 auto;
  color: #2e4f76;
  font-size: 11.5px;
}

.adj-material-tip p {
  margin: 0;
  color: #6d7b90;
  font-size: 11.5px;
  line-height: 1.6;
}

.adj-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.adj-template-grid article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 180px;
  padding: 15px;
  border: 1px solid #e1e9f4;
  border-radius: 12px;
  background: linear-gradient(150deg, #fff, #f8fbff);
}

.adj-template-grid article > span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 5px;
  color: #23645f;
  background: #e9f8f4;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.adj-template-grid h4 {
  margin: 3px 0 0;
  color: #22324d;
  font-size: 14px;
}

.adj-template-grid p {
  margin: 0;
  color: #6c7b91;
  font-size: 11.5px;
  line-height: 1.65;
}

.adj-template-grid article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.adj-template-text {
  max-height: 52vh;
  overflow: auto;
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  color: #304157;
  background: #f8fafc;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.adj-seven-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.adj-seven-days article {
  min-height: 150px;
  padding: 13px 11px;
  border: 1px solid #e2eaf6;
  border-radius: 10px;
  background: #fbfdff;
}

.adj-seven-days article > span {
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.adj-seven-days strong {
  display: block;
  margin: 8px 0 5px;
  color: #233650;
  font-size: 12.5px;
}

.adj-seven-days p {
  margin: 0;
  color: #718097;
  font-size: 10.5px;
  line-height: 1.6;
}

.adj-question-bank {
  margin-top: 14px;
  padding-top: 15px;
  border-top: 1px solid #edf1f7;
}

.adj-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.adj-question-grid details,
.adj-faq-list details {
  border: 1px solid #e4ebf5;
  border-radius: 9px;
  background: #fff;
}

.adj-question-grid summary,
.adj-faq-list summary {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 12px;
  color: #2b3d58;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.adj-question-grid summary::-webkit-details-marker,
.adj-faq-list summary::-webkit-details-marker {
  display: none;
}

.adj-question-grid summary span,
.adj-faq-list summary span {
  flex: 0 0 auto;
  color: #7f91a9;
  font-size: 9.5px;
  font-weight: 850;
}

.adj-question-grid details[open],
.adj-faq-list details[open] {
  border-color: #c8daf5;
  background: #fbfdff;
}

.adj-question-grid details p,
.adj-faq-list details p {
  margin: 0;
  padding: 0 12px 12px 38px;
  color: #66768d;
  font-size: 11.5px;
  line-height: 1.72;
}

.adj-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.adj-scenario-grid article {
  min-height: 190px;
  padding: 16px;
  border: 1px solid #e2e9f4;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff, #fafcff);
}

.adj-scenario-grid article > span {
  color: #a5b4c9;
  font-size: 10px;
  font-weight: 850;
}

.adj-scenario-grid h4 {
  margin: 7px 0 7px;
  color: #23344f;
  font-size: 14px;
}

.adj-scenario-grid p,
.adj-scenario-grid small {
  margin: 0;
  color: #68778d;
  font-size: 11.5px;
  line-height: 1.68;
}

.adj-scenario-grid small {
  display: block;
  margin-top: 9px;
  color: #93651c;
}

.adj-risk-box {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px;
}

.adj-risk-alert {
  align-self: start;
  padding: 17px;
  border: 1px solid #f0c7cc;
  border-radius: 12px;
  background: #fff7f7;
}

.adj-risk-alert strong {
  display: block;
  margin-bottom: 8px;
  color: #a42e3d;
  font-size: 14px;
  line-height: 1.5;
}

.adj-risk-alert p {
  margin: 0;
  color: #89565d;
  font-size: 11.5px;
  line-height: 1.72;
}

.adj-risk-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  margin: 0;
  padding: 12px 12px 12px 34px;
  border: 1px solid #e5ebf5;
  border-radius: 12px;
  background: #fbfcfe;
  color: #5e6d84;
  font-size: 11.5px;
  line-height: 1.58;
}

.adj-risk-list li::marker {
  color: #c75b68;
  font-weight: 850;
}

.adj-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.adj-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.adj-source-grid a {
  display: grid;
  align-content: start;
  min-height: 120px;
  padding: 14px;
  border: 1px solid #dfe8f5;
  border-radius: 11px;
  background: #fafcff;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.adj-source-grid a:hover {
  border-color: #acd0ff;
  transform: translateY(-2px);
}

.adj-source-grid strong {
  color: #24466e;
  font-size: 12.5px;
}

.adj-source-grid p {
  margin: 6px 0 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.58;
}

.adj-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(120deg, #173560, #0e716f);
}

.adj-final-cta .adj-kicker {
  margin-bottom: 4px;
  color: #92d9d2;
}

.adj-final-cta h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
}

.adj-final-cta p:not(.adj-kicker) {
  margin: 0;
  color: rgba(237, 250, 255, 0.74);
  font-size: 11.5px;
}

.adj-final-cta .adj-primary-btn {
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .adj-rule-grid,
  .adj-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adj-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adj-seven-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .adj-hero,
  .adj-pool-layout,
  .adj-risk-box {
    grid-template-columns: 1fr;
  }

  .adj-hero {
    padding: 26px;
  }

  .adj-hero-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .adj-hero-board > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 13px;
  }

  .adj-hero-board strong {
    grid-row: auto;
    font-size: 27px;
  }

  .adj-timeline,
  .adj-target-list,
  .adj-material-grid,
  .adj-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adj-time-card:not(:nth-child(4n))::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .adj-section {
    padding: 17px;
  }

  .adj-section-head,
  .adj-subhead,
  .adj-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .adj-section-head > p {
    max-width: none;
    margin-top: 0;
  }

  .adj-progress-copy {
    text-align: left;
  }

  .adj-hero-board,
  .adj-rule-grid,
  .adj-timeline,
  .adj-two-note-grid,
  .adj-target-list,
  .adj-material-grid,
  .adj-template-grid,
  .adj-seven-days,
  .adj-question-grid,
  .adj-scenario-grid,
  .adj-risk-list,
  .adj-faq-list,
  .adj-source-grid {
    grid-template-columns: 1fr;
  }

  .adj-workflow-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
  }

  .adj-step-toggle {
    width: 34px;
    height: 34px;
  }

  .adj-score-head,
  .adj-score-row {
    grid-template-columns: 90px 54px minmax(0, 1fr);
    gap: 6px;
  }

  .adj-fast-check > button {
    width: 100%;
    margin-left: 0;
  }

  .adj-final-cta .adj-primary-btn {
    width: 100%;
  }
}

/* —— 考研调剂 2.0：AI 优先 + 紧凑官方库 —— */
.adjx-guide {
  display: grid;
  gap: 16px;
}

.adjx-guide h3,
.adjx-guide h4,
.adjx-guide p {
  margin-top: 0;
}

.adjx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 142px;
  padding: 27px 30px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(117, 220, 205, 0.2), transparent 36%),
    linear-gradient(120deg, #416f92 0%, #4b83a7 56%, #5ca3a1 120%);
}

.adjx-hero p {
  margin-bottom: 6px;
  color: #9fc9ff;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.adjx-hero h3 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(25px, 2.8vw, 35px);
  letter-spacing: -0.03em;
}

.adjx-hero > div > span {
  color: rgba(235, 245, 255, 0.78);
  font-size: 12px;
  line-height: 1.65;
}

.adjx-hero-metrics {
  display: flex;
  gap: 11px;
}

.adjx-hero-metrics div {
  display: grid;
  align-content: center;
  min-width: 122px;
  min-height: 88px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.adjx-hero-metrics strong,
.adjx-hero-metrics small {
  display: block;
}

.adjx-hero-metrics strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.adjx-hero-metrics small {
  color: rgba(247, 252, 255, 0.9);
  font-size: 11.5px;
  font-weight: 650;
}

.adjx-hero-metrics .is-new {
  border-color: rgba(255, 238, 178, 0.42);
  background: rgba(255, 245, 205, 0.18);
}

.adjx-page-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adjx-page-switch button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 17px;
  border: 1px solid #dce6f3;
  border-radius: 13px;
  color: #31425b;
  background: #fff;
  text-align: left;
  box-shadow: 0 5px 16px rgba(31, 54, 91, 0.045);
}

.adjx-page-switch button > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #5d7391;
  background: #eef3f9;
  font-size: 11px;
  font-weight: 850;
}

.adjx-page-switch button strong,
.adjx-page-switch button small {
  display: block;
}

.adjx-page-switch button strong {
  color: #1f2e47;
  font-size: 16px;
}

.adjx-page-switch button small {
  margin-top: 3px;
  color: #7f8ca0;
  font-size: 10.5px;
  line-height: 1.5;
}

.adjx-page-switch button:hover,
.adjx-page-switch button.active {
  border-color: #a9c7ed;
  background: linear-gradient(135deg, #edf5ff, #fff 72%);
  box-shadow: 0 8px 20px rgba(38, 83, 151, 0.09);
}

.adjx-page-switch button.active > span {
  color: #fff;
  background: #3771b9;
}

.adjx-ai-section,
.adjx-section {
  scroll-margin-top: 22px;
  padding: 20px;
  border: 1px solid #e1e9f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(32, 56, 95, 0.05);
}

.adjx-ai-section {
  border-color: #bcd3f4;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.1);
}

.adjx-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}

.adjx-section-head p {
  margin-bottom: 4px;
  color: #5a76a2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.adjx-section-head h3 {
  margin: 0;
  color: #17233a;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.adjx-section-head > span {
  max-width: 460px;
  margin-top: 6px;
  color: #718096;
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

.adjx-section-head > a {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--primary-dark);
  font-size: 11.5px;
  font-weight: 800;
}

.adjx-ai-layout {
  display: grid;
  grid-template-columns: minmax(245px, 0.72fr) minmax(0, 1.65fr);
  gap: 14px;
}

.adjx-ai-form {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px;
  border: 1px solid #dce7f6;
  border-radius: 12px;
  background: linear-gradient(155deg, #f8fbff, #f4f8fd);
}

.adjx-form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.adjx-form-head strong {
  color: #203653;
  font-size: 14px;
}

.adjx-form-head span {
  color: #8a97aa;
  font-size: 10.5px;
}

.adjx-field {
  display: grid;
  gap: 4px;
}

.adjx-field > span {
  color: #596981;
  font-size: 11.5px;
  font-weight: 750;
}

.adjx-field input,
.adjx-field select,
.adjx-search input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #ccd9eb;
  border-radius: 8px;
  color: #223653;
  background: #fff;
  font-size: 12.5px;
  outline: none;
}

.adjx-field input:focus,
.adjx-field select:focus,
.adjx-search input:focus {
  border-color: #7da8ec;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}

.adjx-field.score > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 6px;
}

.adjx-check {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #52647e;
  font-size: 11.5px;
}

.adjx-check input {
  width: 14px;
  height: 14px;
}

.adjx-run {
  min-height: 39px;
  margin-top: 2px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(110deg, #2563eb, #0c9d8b);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 9px 20px rgba(37, 99, 235, 0.2);
}

.adjx-run:hover {
  filter: brightness(1.04);
}

.adjx-ai-form > small {
  color: #8b97a9;
  font-size: 9.5px;
  line-height: 1.5;
}

.adjx-ai-output {
  min-width: 0;
}

.adjx-ai-summary {
  display: grid;
  gap: 3px;
  margin-bottom: 9px;
  padding: 11px 13px;
  border: 1px solid #cfe2f9;
  border-radius: 10px;
  background: #f2f8ff;
}

.adjx-ai-summary > span {
  color: #2d62a3;
  font-size: 9.5px;
  font-weight: 850;
}

.adjx-ai-summary strong {
  color: #18375a;
  font-size: 14px;
}

.adjx-ai-summary p {
  margin: 0;
  color: #6b7a91;
  font-size: 11.5px;
  line-height: 1.5;
}

.adjx-pick-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.adjx-pick {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 18px;
  border: 1px solid #e0e8f4;
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(248, 251, 255, 0.75), rgba(255, 255, 255, 0) 210px),
    #fff;
  box-shadow: 0 10px 25px rgba(38, 57, 98, 0.055);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}

.adjx-pick.is-lead {
  border-color: #bfd6f5;
  background: linear-gradient(155deg, #fff, #f8fbff);
}

.adjx-pick[data-action] {
  cursor: pointer;
}

.adjx-pick[data-action]:hover {
  border-color: #b9d0f2;
  box-shadow: 0 16px 32px rgba(38, 57, 98, 0.11);
  transform: translateY(-2px);
}

.adjx-pick[data-action]:active {
  transform: scale(0.988);
}

.adjx-pick-top {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.adjx-pick-top > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #416da7;
  font-size: 11px;
  font-weight: 900;
}

.adjx-pick.is-lead:nth-child(1) .adjx-pick-top > span {
  background: #2563eb;
}

.adjx-pick.is-lead:nth-child(2) .adjx-pick-top > span {
  background: #0c9384;
}

.adjx-pick-top strong,
.adjx-pick-top small {
  display: block;
}

.adjx-pick-school {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.adjx-pick-school > div {
  min-width: 0;
}

.adjx-pick-school .school-crest {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.adjx-pick-top strong {
  color: #1f3350;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
}

.adjx-pick-top small {
  margin-top: 3px;
  color: #7d8b9f;
  font-size: 12px;
}

.adjx-pick-top em {
  padding: 5px 9px;
  border-radius: 7px;
  color: #8c5d12;
  background: #fff4db;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.adjx-pick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adjx-pick-meta span {
  padding: 4px 8px;
  border-radius: 7px;
  color: #53657f;
  background: #f0f4fa;
  font-size: 12px;
}

.adjx-pick-meta .adjx-difficulty {
  color: #8a5b16;
  background: #fff4dd;
  font-weight: 850;
}

.adjx-pick-program {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #5f6f85;
  font-size: 10px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.adjx-pick-block {
  display: grid;
  gap: 5px;
}

.adjx-pick-block b {
  color: #354d6c;
  font-size: 13px;
}

.adjx-pick-block p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #5f6f85;
  font-size: 13.5px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.adjx-pick-block ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 14px;
  color: #52637b;
  font-size: 13px;
  line-height: 1.62;
}

.adjx-pick-block.caution {
  padding-top: 8px;
  border-top: 1px dashed #e3e9f2;
}

.adjx-pick-block.caution p {
  display: block;
  overflow: visible;
  color: #8a652a;
  -webkit-line-clamp: unset;
}

.adjx-pick-block.caution p strong {
  display: block;
  margin-bottom: 2px;
  color: #4e3b25;
  font-size: 13px;
}

.adjx-caution {
  display: block;
  padding-top: 5px;
  border-top: 1px dashed #e3e9f2;
  color: #8a652a;
  font-size: 10px;
  line-height: 1.45;
}

.adjx-pick footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: auto;
}

.adjx-pick footer a {
  color: #315b8e;
  font-size: 12.5px;
  font-weight: 800;
}

.adjx-pick footer > span {
  margin-right: auto;
  color: #8995a7;
  font-size: 11.5px;
}

.adjx-pick footer .small-action {
  height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.adjx-school-info {
  order: -1;
  color: #245fda;
  background: #f3f7ff;
}

.adjx-ai-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.adjx-ai-pager button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dbe5f2;
  border-radius: 9px;
  color: #415673;
  background: #fff;
  font-size: 12.5px;
  font-weight: 680;
}

.adjx-ai-pager button:disabled {
  opacity: 0.38;
  cursor: default;
}

.adjx-ai-pager span {
  color: #738197;
  font-size: 12px;
}

.adjx-ai-pager span strong {
  color: #20334d;
  font-size: 14px;
}

.adjx-ai-disclaimer {
  margin: 9px 0 0;
  color: #7d8a9c;
  font-size: 10.5px;
  line-height: 1.5;
}

.adjx-empty,
.adjx-inline-empty {
  padding: 16px;
  border: 1px dashed #ccd9eb;
  border-radius: 10px;
  color: #738197;
  background: #fafcff;
  font-size: 11px;
  text-align: center;
}

.adjx-target-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid #edf1f7;
}

.adjx-target-inline > span {
  flex: 0 0 auto;
  color: #5b6c84;
  font-size: 10px;
  font-weight: 800;
}

.adjx-target-strip {
  display: flex;
  flex: 1;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.adjx-target-strip::-webkit-scrollbar {
  display: none;
}

.adjx-target-strip > span {
  display: grid;
  flex: 0 0 auto;
  gap: 1px;
  padding: 6px 9px;
  border: 1px solid #e0e8f4;
  border-radius: 8px;
  color: #31465f;
  font-size: 9.5px;
  font-weight: 800;
}

.adjx-target-strip small {
  color: #8490a2;
  font-size: 8px;
  font-weight: 500;
}

.adjx-library-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 10px;
  align-items: start;
}

.adjx-filter-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #f5f8fc;
}

.adjx-filter-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.adjx-filter-row > strong {
  padding-top: 9px;
  color: #6d7d91;
  font-size: 12.5px;
  font-weight: 750;
}

.adjx-filter-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adjx-filter-row button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #53647b;
  background: #eef2f7;
  font-size: 12.5px;
  font-weight: 720;
}

.adjx-filter-row button span {
  color: #8996a8;
  font-size: 10px;
}

.adjx-filter-row button:hover,
.adjx-filter-row button.active {
  border-color: #b8d2f3;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.08);
}

.adjx-filter-row .adjx-search {
  width: min(100%, 520px);
  display: grid;
  flex-wrap: nowrap;
  grid-template-columns: minmax(0, 1fr) auto;
}

.adjx-filter-row .adjx-search input {
  height: 40px;
  font-size: 12.5px;
}

.adjx-filter-row .adjx-search .primary-action {
  min-width: 76px;
  height: 40px;
}

.adjx-major-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 3px 0 12px;
}

.adjx-major-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adjx-major-head strong {
  color: #17243b;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.adjx-major-current {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #dce6f2;
  border-radius: 999px;
  color: #64758c;
  background: #f7f9fc;
  font-size: 10px;
  font-weight: 700;
}

.adjx-major-current:hover,
.adjx-major-current.active {
  border-color: #b7d0f0;
  color: var(--primary-dark);
  background: #edf4ff;
}

.adjx-major-head small {
  color: #8592a4;
  font-size: 10.5px;
}

.adjx-major-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.adjx-major-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 15px 14px 14px;
  border: 1px solid #dde7f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(37, 73, 130, 0.035);
}

.adjx-major-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #c9daef;
  content: "";
}

.adjx-major-card h4 {
  margin: 1px 0 11px;
  color: #1c2a42;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.adjx-major-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adjx-major-card button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #e0e6ee;
  border-radius: 7px;
  color: #33445d;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
}

.adjx-major-card button:hover,
.adjx-major-card button.active {
  border-color: #aac9ee;
  color: var(--primary-dark);
  background: #edf4ff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.08);
}

.adjx-category-note {
  margin: 0 0 10px;
  color: #8894a5;
  font-size: 11px;
}

.adjx-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.adjx-filter-chips button {
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid #dee7f3;
  border-radius: 7px;
  color: #5b6b82;
  background: #fff;
  font-size: 9.5px;
  font-weight: 750;
}

.adjx-filter-chips button:hover,
.adjx-filter-chips button.active {
  border-color: #b9d1f4;
  color: var(--primary-dark);
  background: #edf4ff;
}

.adjx-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.adjx-search .small-action {
  min-width: 50px;
  height: 34px;
}

.adjx-library-count {
  margin: 12px 0 8px;
  color: #7a8799;
  font-size: 11.5px;
}

.adjx-library-count strong {
  color: #2e5079;
}

.adjx-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 8px 0;
}

.adjx-pager button {
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  color: #5b6b83;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
}

.adjx-pager-ellipsis {
  display: inline-flex;
  min-width: 24px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #8b98aa;
  font-size: 12px;
}

.adjx-pager button:hover:not(:disabled),
.adjx-pager button.active {
  border-color: #97bdee;
  color: #fff;
  background: #3c73b7;
}

.adjx-pager button:disabled {
  cursor: default;
  opacity: 0.42;
}

.adjx-difficulty-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #f0e2c6;
  border-radius: 8px;
  background: #fffbf1;
}

.adjx-difficulty-legend strong {
  color: #74521d;
  font-size: 9px;
}

.adjx-difficulty-legend span {
  padding: 2px 6px;
  border-radius: 4px;
  color: #8b641f;
  background: #fff1d3;
  font-size: 8px;
  font-weight: 750;
}

.adjx-difficulty-legend small {
  margin-left: auto;
  color: #97866b;
  font-size: 8.5px;
}

.adjx-school-list {
  display: grid;
  gap: 9px;
}

.adjx-school-card {
  border: 1.5px solid #d5e0ed;
  border-radius: 11px;
  background: #fff;
}

.adjx-school-card[open] {
  border-color: #c1d7f4;
}

.adjx-school-card > summary {
  display: grid;
  grid-template-columns: minmax(160px, 0.78fr) minmax(0, 1.55fr) 105px minmax(150px, 0.7fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.adjx-school-card > summary::-webkit-details-marker {
  display: none;
}

.adjx-school-card > summary:hover {
  background: #fbfdff;
}

.adjx-school-name strong,
.adjx-school-name span {
  display: block;
}

.adjx-school-name strong {
  color: #21344f;
  font-size: 14px;
}

.adjx-school-name span {
  margin-top: 4px;
  color: #7a879b;
  font-size: 10.5px;
}

.adjx-school-name em {
  width: fit-content;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 4px;
  color: #1e6b5c;
  background: #eaf8f2;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
}

.adjx-school-flow {
  min-width: 0;
}

.adjx-school-flow p {
  overflow: hidden;
  margin: 0 0 7px;
  color: #607087;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adjx-school-flow div {
  display: flex;
  gap: 4px;
}

.adjx-school-flow div span {
  padding: 3px 7px;
  border-radius: 4px;
  color: #4b678a;
  background: #eff4fa;
  font-size: 9.5px;
}

.adjx-school-count {
  display: grid;
  gap: 2px;
  text-align: right;
}

.adjx-school-difficulty {
  display: grid;
  gap: 2px;
  text-align: center;
}

.adjx-school-difficulty > span {
  color: #8d97a7;
  font-size: 9.5px;
}

.adjx-school-difficulty > strong {
  color: #8a5c18;
  font-size: 11px;
}

.adjx-school-difficulty > small {
  color: #d2932e;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.adjx-school-count strong {
  overflow: hidden;
  color: #244d75;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adjx-school-count small {
  color: #8794a6;
  font-size: 9.5px;
}

.adjx-school-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #edf1f7;
  background: #fbfcfe;
}

.adjx-school-detail h4 {
  margin: 0 0 6px;
  color: #2a3f5b;
  font-size: 12.5px;
}

.adjx-condition-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.adjx-condition-head h4 {
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 820;
}

.adjx-condition-head p {
  margin: 0;
  color: #5f7289;
  font-size: 11.5px;
  line-height: 1.6;
}

.adjx-condition-head > span {
  flex: none;
  padding: 3px 7px;
  border: 1px solid #d8e4f4;
  border-radius: 999px;
  color: #386ba8;
  background: #f2f7fd;
  font-size: 9px;
  font-weight: 780;
}

.adjx-program-picker {
  display: grid;
  flex: 0 0 178px;
  gap: 3px;
  color: #526981;
  font-size: 10px;
  font-weight: 750;
}

.adjx-program-picker select {
  width: 100%;
  height: 39px;
  padding: 0 28px 0 9px;
  border: 1.5px solid #bccde0;
  border-radius: 7px;
  outline: 0;
  color: #1f3855;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
}

.adjx-program-picker select:focus {
  border-color: #79a8e7;
  box-shadow: 0 0 0 3px rgba(55, 113, 185, 0.09);
}

.adjx-condition-list {
  display: grid;
  gap: 6px;
}

.adjx-condition-row {
  display: grid;
  grid-template-columns: minmax(105px, 0.31fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border: 1.5px solid #d2ddea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(36, 62, 94, 0.035);
}

.adjx-condition-row > div {
  display: grid;
  justify-items: start;
  gap: 4px;
}

.adjx-condition-row strong {
  color: #1d3958;
  font-size: 14px;
  line-height: 1.45;
}

.adjx-condition-row em {
  padding: 2px 6px;
  border-radius: 4px;
  color: #576a81;
  background: #edf3f9;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 750;
}

.adjx-condition-row em.is-explicit {
  color: #176b5d;
  background: #e8f7f1;
}

.adjx-condition-row p {
  margin: 0;
  color: #405872;
  font-size: 12.5px;
  line-height: 1.72;
}

.adjx-shared-conditions {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #e6ebf3;
}

.adjx-shared-conditions summary {
  width: fit-content;
  color: #405b78;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 760;
}

.adjx-shared-conditions ul {
  margin-top: 7px;
}

.adjx-shared-conditions h5 {
  margin: 0 0 5px;
  color: #566a83;
  font-size: 10px;
}

.adjx-school-detail ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 15px;
  color: #5e6e85;
  font-size: 11.5px;
  line-height: 1.55;
}

.adjx-school-source {
  display: grid;
  align-content: start;
  gap: 5px;
}

.adjx-school-source > span {
  color: #8b97a8;
  font-size: 8.5px;
}

.adjx-school-source > a {
  color: #285d9c;
  font-size: 9.5px;
  font-weight: 750;
  line-height: 1.45;
}

.adjx-school-source > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.adjx-school-source .small-action {
  height: 25px;
  padding: 0 7px;
  font-size: 9px;
}

.adjx-exec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.adjx-exec-grid article {
  padding: 12px;
  border: 1px solid #e1e9f5;
  border-radius: 9px;
  background: #fafcff;
}

.adjx-exec-grid h4 {
  margin: 0 0 7px;
  color: #2b4261;
  font-size: 11.5px;
}

.adjx-exec-grid ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 14px;
  color: #66758b;
  font-size: 9.5px;
  line-height: 1.45;
}

.adjx-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.adjx-timeline div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 1px 7px;
  align-items: center;
  padding: 9px;
  border-radius: 8px;
  background: #f3f7fc;
}

.adjx-timeline span {
  grid-row: 1 / 3;
  color: #9aabc1;
  font-size: 9px;
  font-weight: 850;
}

.adjx-timeline strong {
  color: #355273;
  font-size: 9.5px;
}

.adjx-timeline p {
  margin: 0;
  color: #718096;
  font-size: 8.8px;
  line-height: 1.4;
}

.adjx-tools > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.adjx-tools > div > button {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid #dfe8f5;
  border-radius: 9px;
  text-align: left;
  background: #fbfdff;
}

.adjx-tools > div > button:hover {
  border-color: #bdd4f3;
  background: #f5f9ff;
}

.adjx-tools > div > button strong {
  color: #284665;
  font-size: 10.5px;
}

.adjx-tools > div > button span {
  color: #7b899c;
  font-size: 8.5px;
}

.adjx-tools > p {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-radius: 8px;
  color: #815d28;
  background: #fffaee;
  font-size: 9.5px;
  line-height: 1.55;
}

.adjx-template-text {
  max-height: 52vh;
  overflow: auto;
  margin: 14px 0 18px;
  padding: 15px;
  border: 1px solid #dfe7f3;
  border-radius: 9px;
  color: #304157;
  background: #f8fafc;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .adjx-ai-layout {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  }

  .adjx-school-card > summary {
    grid-template-columns: minmax(145px, 0.8fr) minmax(0, 1.4fr) 92px minmax(120px, 0.7fr);
  }

  .adjx-major-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .adjx-hero,
  .adjx-ai-layout,
  .adjx-library-tools {
    grid-template-columns: 1fr;
  }

  .adjx-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adjx-pick-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adjx-exec-grid,
  .adjx-timeline,
  .adjx-tools > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adjx-major-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .adjx-ai-section,
  .adjx-section {
    padding: 15px;
  }

  .adjx-hero {
    padding: 19px;
  }

  .adjx-hero-metrics div {
    min-width: 0;
    min-height: 78px;
    padding: 12px;
  }

  .adjx-section-head,
  .adjx-target-inline {
    align-items: stretch;
    flex-direction: column;
  }

  .adjx-section-head > span {
    margin-top: 0;
    text-align: left;
  }

  .adjx-pick-list,
  .adjx-exec-grid,
  .adjx-timeline,
  .adjx-tools > div {
    grid-template-columns: 1fr;
  }

  .adjx-major-groups {
    grid-template-columns: 1fr;
  }

  .adjx-filter-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .adjx-filter-row > strong {
    padding-top: 0;
  }

  .adjx-filter-row .adjx-search {
    width: 100%;
  }

  .adjx-major-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .adjx-school-card > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
  }

  .adjx-school-flow {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .adjx-school-difficulty {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  .adjx-school-count {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .adjx-school-detail {
    grid-template-columns: 1fr;
  }

  .adjx-condition-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .adjx-condition-head {
    flex-direction: column;
  }

  .adjx-program-picker {
    width: 100%;
    flex-basis: auto;
  }

  .adjx-difficulty-legend small {
    flex-basis: 100%;
    margin-left: 0;
  }
}

@media (max-width: 920px) {
  .target-stage-head {
    flex-direction: column;
    gap: 12px;
  }

  .target-stage-side {
    justify-items: start;
    max-width: none;
    text-align: left;
  }

  .target-role-mix {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .target-page-summary {
    grid-template-columns: 1fr;
  }

  .adjx-page-switch {
    grid-template-columns: 1fr;
  }

  .target-stage-board {
    padding: 15px;
  }

  .target-stage-empty {
    align-items: flex-start;
    flex-direction: column;
  }

  .target-phase-switch {
    align-items: flex-start;
    flex-direction: column;
  }

  .target-phase-switch > div {
    width: 100%;
  }

  .target-phase-switch button {
    flex: 1;
  }
}

/* —— 考研复试工作台 —— */
.retest-guide {
  display: grid;
  gap: 18px;
  color: #1b2940;
}

.retest-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 30px;
  overflow: hidden;
  padding: 32px;
  border-radius: 19px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(95, 212, 195, 0.24), transparent 31%),
    radial-gradient(circle at 14% 118%, rgba(114, 96, 220, 0.32), transparent 38%),
    linear-gradient(125deg, #13233f, #25335f 56%, #1e5a68);
  box-shadow: 0 22px 46px rgba(19, 37, 67, 0.2);
}

.retest-hero::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.025), 0 0 0 84px rgba(255, 255, 255, 0.018);
  content: "";
}

.retest-hero > div {
  position: relative;
  z-index: 1;
}

.retest-hero p {
  margin: 0 0 9px;
  color: #9bc8ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.retest-hero h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.retest-hero > div > span {
  display: block;
  max-width: 720px;
  color: rgba(236, 245, 255, 0.78);
  font-size: 13px;
  line-height: 1.75;
}

.retest-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.retest-hero-actions .primary-action {
  background: #fff;
  color: #214368;
}

.retest-hero-actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.retest-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: center;
  gap: 8px;
}

.retest-hero-metrics div {
  min-width: 0;
  padding: 14px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.retest-hero-metrics strong,
.retest-hero-metrics span {
  display: block;
}

.retest-hero-metrics strong {
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.retest-hero-metrics span {
  margin-top: 6px;
  color: rgba(233, 244, 255, 0.68);
  font-size: 10px;
}

.retest-page-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.retest-page-switch button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 13px 15px;
  border: 1px solid #dde6f2;
  border-radius: 12px;
  color: #30425b;
  background: #fff;
  text-align: left;
  box-shadow: 0 5px 15px rgba(30, 53, 87, 0.04);
}

.retest-page-switch button > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  color: #667b99;
  background: #eef3f9;
  font-size: 10.5px;
  font-weight: 850;
}

.retest-page-switch button small,
.retest-page-switch button strong,
.retest-page-switch button em {
  display: block;
}

.retest-page-switch button small {
  color: #8794a7;
  font-size: 9.5px;
  font-style: normal;
}

.retest-page-switch button strong {
  margin-top: 1px;
  color: #1f3049;
  font-size: 15px;
}

.retest-page-switch button em {
  margin-top: 2px;
  color: #7b899d;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
}

.retest-page-switch button:hover,
.retest-page-switch button.active {
  border-color: #a8c4ea;
  background: linear-gradient(140deg, #edf5ff, #fff 72%);
  box-shadow: 0 8px 20px rgba(37, 78, 137, 0.09);
}

.retest-page-switch button.active > span {
  color: #fff;
  background: #326cb0;
}

.retest-page-body {
  display: grid;
  gap: 16px;
}

.retest-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.55fr);
  gap: 14px;
}

.retest-timeline-card,
.retest-focus-card,
.retest-rule-section,
.retest-school-page,
.retest-checklist-card,
.retest-question-card,
.retest-expression-card,
.retest-official-links {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e1e8f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(31, 53, 88, 0.05);
}

.retest-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.retest-section-head p {
  margin: 0 0 4px;
  color: #71829a;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.retest-section-head h3 {
  margin: 0;
  color: #182840;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.retest-section-head > span {
  max-width: 390px;
  color: #8793a5;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: right;
}

.retest-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.retest-timeline > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 9px;
  min-height: 126px;
  padding: 13px;
  border: 1px solid #e5ebf4;
  border-radius: 10px;
  background: #f9fbfe;
}

.retest-timeline > div > span {
  display: grid;
  grid-row: 1 / 4;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  color: #2d69ad;
  background: #eaf2fd;
  font-size: 9px;
  font-weight: 850;
}

.retest-timeline time {
  color: #2a68ae;
  font-size: 10px;
  font-weight: 800;
}

.retest-timeline strong {
  color: #22334c;
  font-size: 13px;
}

.retest-timeline p {
  margin: 3px 0 0;
  color: #778599;
  font-size: 10.5px;
  line-height: 1.55;
}

.retest-focus-card {
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    linear-gradient(155deg, rgba(59, 130, 246, 0.08), rgba(20, 184, 166, 0.05) 62%, #fff 100%);
}

.retest-focus-card > p:first-child {
  margin: 0;
  color: #647991;
  font-size: 11px;
  font-weight: 800;
}

.retest-focus-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.retest-focus-number strong {
  color: #184e8e;
  font-size: 42px;
  line-height: 1;
}

.retest-focus-number span {
  color: #63758b;
  font-size: 11px;
}

.retest-focus-card > p:not(:first-child) {
  margin: 0;
  color: #66778d;
  font-size: 11.5px;
  line-height: 1.65;
}

.retest-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 2px 0 5px;
}

.retest-focus-tags span {
  padding: 4px 7px;
  border-radius: 999px;
  color: #4d6682;
  background: rgba(255, 255, 255, 0.84);
  font-size: 9.5px;
}

.retest-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.retest-rule-grid article {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 16px;
  border: 1px solid #e3eaf4;
  border-radius: 11px;
  background: linear-gradient(150deg, #fff, #f8fbff);
}

.retest-rule-grid article > span {
  position: absolute;
  right: 10px;
  top: 4px;
  color: rgba(43, 100, 174, 0.08);
  font-size: 43px;
  font-weight: 900;
}

.retest-rule-grid h4 {
  position: relative;
  margin: 8px 0 6px;
  color: #263952;
  font-size: 14px;
}

.retest-rule-grid p {
  position: relative;
  margin: 0;
  color: #718096;
  font-size: 10.5px;
  line-height: 1.62;
}

.retest-source-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border: 1px solid #cfe0f4;
  border-radius: 13px;
  background: #f5f9ff;
}

.retest-source-band p,
.retest-source-band strong,
.retest-source-band span {
  display: block;
}

.retest-source-band p {
  margin: 0;
  color: #2e6cab;
  font-size: 10px;
  font-weight: 850;
}

.retest-source-band strong {
  margin-top: 4px;
  color: #223b5b;
  font-size: 13px;
}

.retest-source-band span {
  margin-top: 4px;
  color: #748499;
  font-size: 10.5px;
}

.retest-source-band > a {
  flex: none;
  color: #2d68a8;
  font-size: 11.5px;
  font-weight: 750;
  text-decoration: none;
}

.retest-school-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.retest-school-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 17px;
  border: 1px solid #e1e9f3;
  border-radius: 12px;
  background: linear-gradient(155deg, #fff, #f8fbff);
}

.retest-school-card > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
}

.retest-school-card > header .school-crest {
  width: 45px;
  height: 45px;
}

.retest-school-card > header strong,
.retest-school-card > header span,
.retest-school-card > header small {
  display: block;
}

.retest-school-card > header strong {
  color: #1f3049;
  font-size: 16px;
}

.retest-school-card > header span {
  margin-top: 2px;
  color: #718197;
  font-size: 10.5px;
}

.retest-school-card > header small {
  margin-top: 4px;
  color: #3b6090;
  font-size: 10.5px;
}

.retest-school-stage {
  padding: 4px 8px;
  border-radius: 999px;
  color: #6f4bc3 !important;
  background: #f2edff;
  font-size: 9.5px !important;
  font-weight: 800;
}

.retest-school-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.retest-school-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f3f7fc;
}

.retest-school-metrics span,
.retest-school-metrics strong {
  display: block;
}

.retest-school-metrics span {
  color: #8290a4;
  font-size: 9.5px;
}

.retest-school-metrics strong {
  margin-top: 3px;
  color: #2c405b;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-school-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fffdf5;
}

.retest-school-note span {
  padding: 2px 6px;
  border-radius: 999px;
  color: #8a641e;
  background: #fff0c8;
  font-size: 9px;
  font-weight: 800;
}

.retest-school-note p {
  margin: 0;
  color: #72674f;
  font-size: 10px;
  line-height: 1.5;
}

.retest-school-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.retest-school-card footer .small-action.primary {
  border-color: #9fc1ea;
  color: #275e9e;
  background: #edf5ff;
}

.retest-empty-panel {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 28px;
  border: 1px dashed #d6e1ee;
  border-radius: 12px;
  background: #f9fbfe;
}

.retest-empty-panel strong {
  color: #2b3f59;
  font-size: 17px;
}

.retest-empty-panel p {
  max-width: 700px;
  margin: 0;
  color: #7d8a9d;
  font-size: 11.5px;
  line-height: 1.7;
}

.retest-candidate-panel {
  display: grid;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e8edf5;
}

.retest-candidate-panel > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.retest-candidate-panel > header strong {
  color: #2b3e57;
  font-size: 13px;
}

.retest-candidate-panel > header span {
  color: #8591a3;
  font-size: 10px;
}

.retest-candidate-panel > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.retest-candidate-panel button {
  display: grid;
  gap: 2px;
  padding: 11px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  color: #32465f;
  background: #fff;
  text-align: left;
}

.retest-candidate-panel button small {
  color: #7f8da0;
  font-size: 9.5px;
}

.retest-candidate-panel button em {
  margin-top: 3px;
  color: #2f6aa9;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
}

.retest-prep-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
}

.retest-checklist-card .retest-section-head > strong {
  color: #2d6cae;
  font-size: 20px;
}

.retest-progress {
  height: 7px;
  overflow: hidden;
  margin: -3px 0 13px;
  border-radius: 999px;
  background: #eaf0f7;
}

.retest-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d70bc, #25a8a0);
}

.retest-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.retest-checklist button {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 11px;
  border: 1px solid #e1e8f2;
  border-radius: 9px;
  color: #33465e;
  background: #fbfcfe;
  text-align: left;
}

.retest-checklist button > i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid #c9d6e7;
  border-radius: 7px;
  color: #fff;
  background: #fff;
  font-style: normal;
  font-size: 11px;
}

.retest-checklist button small,
.retest-checklist button strong,
.retest-checklist button em {
  display: block;
}

.retest-checklist button small {
  color: #8995a5;
  font-size: 9px;
  font-style: normal;
}

.retest-checklist button strong {
  margin-top: 1px;
  color: #31445d;
  font-size: 11.5px;
}

.retest-checklist button em {
  margin-top: 3px;
  color: #7b899b;
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.45;
}

.retest-checklist button.done {
  border-color: #bfe0da;
  background: #f5fffc;
}

.retest-checklist button.done > i {
  border-color: #30a891;
  background: #30a891;
}

.retest-checklist button.done strong {
  color: #4c766f;
  text-decoration: line-through;
}

.retest-training-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.retest-question-card {
  background:
    radial-gradient(circle at 100% 0, rgba(123, 98, 220, 0.11), transparent 38%),
    linear-gradient(150deg, #fff, #f8f7ff);
}

.retest-question-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.retest-question-card header span {
  color: #6750af;
  font-size: 10px;
  font-weight: 850;
}

.retest-question-card header em {
  color: #8a859f;
  font-size: 9.5px;
  font-style: normal;
}

.retest-question-card h3 {
  margin: 16px 0 9px;
  color: #263550;
  font-size: 18px;
  line-height: 1.55;
}

.retest-question-card p {
  margin: 0 0 16px;
  color: #737e91;
  font-size: 10.5px;
  line-height: 1.65;
}

.retest-expression-card {
  display: grid;
  gap: 8px;
}

.retest-expression-card > p {
  margin: 0 0 2px;
  color: #33475f;
  font-size: 13px;
  font-weight: 800;
}

.retest-expression-card > div {
  display: grid;
  grid-template-columns: 25px 88px minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
}

.retest-expression-card > div > span {
  color: #4380bd;
  font-size: 9px;
  font-weight: 850;
}

.retest-expression-card > div strong {
  color: #32465e;
  font-size: 10.5px;
}

.retest-expression-card > div em {
  color: #7c899b;
  font-size: 9.5px;
  font-style: normal;
}

.retest-official-links header p {
  margin: 0 0 4px;
  color: #71829a;
  font-size: 10px;
  font-weight: 850;
}

.retest-official-links header h3 {
  margin: 0 0 13px;
  color: #253750;
  font-size: 18px;
}

.retest-official-links > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.retest-official-links a,
.retest-official-links button {
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid #e0e7f2;
  border-radius: 9px;
  color: #2d405a;
  background: #fbfcfe;
  text-align: left;
  text-decoration: none;
}

.retest-official-links a:hover,
.retest-official-links button:hover {
  border-color: #b5cce9;
  background: #f3f8fe;
}

.retest-official-links strong {
  font-size: 11.5px;
}

.retest-official-links span {
  color: #7d8a9d;
  font-size: 9.5px;
}

.retest-catalog-page {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e1e8f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(31, 53, 88, 0.05);
}

.retest-catalog-page,
.modal-card.retest-detail-modal {
  color: #223650;
  font-family: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.modal-card.retest-detail-modal h2 {
  color: #172a43;
  font-size: 28px;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.modal-card.retest-detail-modal .modal-copy {
  color: #53677f;
  font-size: 12.5px;
  font-weight: 520;
}

.retest-catalog-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(230px, 0.9fr) 135px auto;
  gap: 7px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e2e9f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 53, 88, 0.045);
}

.retest-catalog-filters label {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  min-width: 0;
  padding: 0 11px;
  border: 1px solid #e0e7f1;
  border-radius: 8px;
  background: #f8fafc;
}

.retest-catalog-filters label > span {
  flex: none;
  color: #60748c;
  font-size: 14px;
}

.retest-catalog-filters input,
.retest-catalog-filters select {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #263b55;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 580;
}

.retest-catalog-filters input:focus,
.retest-catalog-filters select:focus {
  box-shadow: none;
}

.retest-catalog-filters label:focus-within {
  border-color: #8fb7e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(55, 113, 185, 0.08);
}

.retest-catalog-major-wrap {
  position: relative;
  min-width: 0;
}

.retest-catalog-major-wrap .retest-catalog-major {
  width: 100%;
}

.retest-major-menu-toggle {
  flex: 0 0 auto;
  width: 25px;
  height: 29px;
  padding: 0;
  border: 0;
  color: #55718e;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.retest-major-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  min-width: 470px;
  overflow: hidden;
  border: 1px solid #cad9ea;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(27, 52, 84, 0.18);
}

.retest-catalog-major-wrap:focus-within .retest-major-menu {
  display: block;
}

.retest-major-menu > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e5ecf5;
  background: #f7faff;
}

.retest-major-menu > header strong {
  color: #263f5c;
  font-size: 12.5px;
}

.retest-major-menu > header span {
  color: #6d7f94;
  font-size: 10px;
}

.retest-major-menu > header button {
  height: 27px;
  padding: 0 9px;
  border: 1px solid #d4e1ef;
  border-radius: 6px;
  color: #2f68a6;
  background: #fff;
  font-size: 10px;
  font-weight: 720;
}

.retest-major-category-list {
  max-height: 430px;
  overflow: auto;
  padding: 7px;
}

.retest-major-category-node {
  border-bottom: 1px solid #edf1f7;
}

.retest-major-category-node:last-child {
  border-bottom: 0;
}

.retest-major-category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 5px;
}

.retest-major-category-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  color: #263f5b;
  background: transparent;
  text-align: left;
}

.retest-major-category-main:hover,
.retest-major-category-main.active {
  background: #edf5ff;
}

.retest-major-category-main strong {
  font-size: 13px;
}

.retest-major-category-main span {
  color: #74859a;
  font-size: 9.5px;
}

.retest-major-category-expand {
  border: 0;
  border-radius: 7px;
  color: #6e8299;
  background: transparent;
  font-size: 16px;
  transition: transform 0.18s ease;
}

.retest-major-category-node.is-expanded .retest-major-category-expand {
  transform: rotate(180deg);
}

.retest-major-subcategories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 3px 8px 9px;
}

.retest-major-subcategories[hidden] {
  display: none;
}

.retest-major-subcategories button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e0e8f2;
  border-radius: 7px;
  color: #344e6b;
  background: #fbfcfe;
  text-align: left;
}

.retest-major-subcategories button:hover,
.retest-major-subcategories button.active {
  border-color: #a9c8eb;
  background: #f1f7ff;
}

.retest-major-subcategories button strong {
  overflow: hidden;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-major-subcategories button small {
  flex: none;
  color: #77879a;
  font-size: 8.5px;
}

.retest-catalog-region {
  padding-right: 7px !important;
}

.retest-catalog-actions {
  display: flex;
  gap: 5px;
}

.retest-catalog-actions .compact-action {
  min-width: 58px;
  height: 40px;
  margin: 0;
  padding-inline: 12px;
  font-size: 11.5px;
}

.retest-catalog-table {
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid #e2e9f2;
  border-radius: 11px;
}

.retest-catalog-table-head,
.retest-catalog-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) minmax(150px, 0.7fr) minmax(245px, 0.9fr);
  gap: 12px;
  align-items: center;
}

.retest-catalog-table-head {
  padding: 11px 14px;
  color: #5e7188;
  background: #f3f7fc;
  font-size: 11.5px;
  font-weight: 850;
}

.retest-catalog-row {
  padding: 14px;
  border-top: 1px solid #e9eef6;
}

.retest-catalog-row:hover {
  background: #fbfdff;
}

.retest-catalog-row > div:not(.retest-catalog-school):not(.retest-catalog-docs):not(.retest-catalog-row-actions) strong,
.retest-catalog-row > div:not(.retest-catalog-school):not(.retest-catalog-docs):not(.retest-catalog-row-actions) small {
  display: block;
}

.retest-catalog-row > div:not(.retest-catalog-school):not(.retest-catalog-docs):not(.retest-catalog-row-actions) strong {
  color: #243b56;
  font-size: 13px;
  line-height: 1.4;
}

.retest-catalog-row > div:not(.retest-catalog-school):not(.retest-catalog-docs):not(.retest-catalog-row-actions) small {
  margin-top: 3px;
  color: #62748b;
  font-size: 10.5px;
  line-height: 1.35;
}

.retest-catalog-school {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.retest-catalog-school .school-crest {
  width: 34px;
  height: 34px;
}

.retest-catalog-school strong,
.retest-catalog-school small {
  display: block;
}

.retest-catalog-school strong {
  color: #203650;
  font-size: 14px;
}

.retest-catalog-school small {
  margin-top: 3px;
  color: #66788f;
  font-size: 10.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-catalog-school em {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #2d68a8;
  background: #eaf3fd;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 760;
}

.retest-catalog-docs {
  min-width: 0;
}

.retest-catalog-docs strong {
  color: #2c68ab;
  font-size: 14px;
}

.retest-catalog-docs small {
  display: block;
  margin-top: 1px;
  color: #8491a3;
  font-size: 8.5px;
}

.retest-catalog-docs em {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #58718c;
  font-size: 8.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-catalog-focus {
  min-width: 0;
}

.retest-catalog-focus strong {
  display: -webkit-box !important;
  overflow: hidden;
  color: #4c5c73 !important;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.retest-catalog-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.retest-catalog-row-actions .small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding-inline: 9px;
  font-size: 10.5px;
  text-decoration: none;
}

.retest-catalog-meta {
  margin-top: 9px;
  color: #60738a;
  font-size: 11px;
}

.retest-catalog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.retest-catalog-pager button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #dce5f1;
  border-radius: 7px;
  color: #52647c;
  background: #fff;
  font-size: 9.5px;
  font-weight: 720;
}

.retest-catalog-pager button:hover:not(:disabled) {
  border-color: #a8c5e9;
  color: #2e69a8;
}

.retest-catalog-pager button:disabled {
  opacity: 0.4;
}

.retest-catalog-pager span {
  color: #7b899b;
  font-size: 9.5px;
}

.retest-modal-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.retest-modal-summary div {
  min-width: 0;
  padding: 11px;
  border-radius: 9px;
  background: #f3f7fc;
}

.retest-modal-summary span,
.retest-modal-summary strong {
  display: block;
}

.retest-modal-summary span {
  color: #65788f;
  font-size: 10.5px;
  font-weight: 650;
}

.retest-modal-summary strong {
  margin-top: 4px;
  color: #213a57;
  font-size: 16px;
  font-weight: 780;
}

.retest-modal-section {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e2e9f3;
  border-radius: 9px;
}

.retest-modal-section h3 {
  margin: 0 0 7px;
  color: #203954;
  font-size: 14px;
  font-weight: 780;
}

.retest-modal-section p,
.retest-modal-section li {
  color: #51657d;
  font-size: 11.5px;
  line-height: 1.65;
}

.retest-modal-section p {
  margin: 0;
}

.retest-modal-section ol,
.retest-modal-section ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.retest-modal-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.retest-profile-estimate-note {
  margin-bottom: 9px !important;
  padding: 8px 10px;
  border: 1px solid #eadfbd;
  border-radius: 7px;
  color: #7b622d !important;
  background: #fffbef;
  font-size: 10.5px !important;
  line-height: 1.6 !important;
}

.retest-modal-rules p {
  padding: 9px;
  border-radius: 7px;
  background: #f8fafc;
}

.retest-modal-rules span {
  display: block;
  margin-bottom: 3px;
  color: #8390a2;
  font-size: 9px;
  font-weight: 750;
}

.retest-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.retest-modal-links a {
  padding: 7px 9px;
  border: 1px solid #d9e6f4;
  border-radius: 7px;
  color: #2e68a7;
  background: #f5f9ff;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.retest-analysis-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.retest-analysis-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.retest-analysis-title h3 {
  margin-bottom: 3px;
}

.retest-analysis-title p {
  color: #60748b;
  font-size: 10.5px;
}

.retest-analysis-title > span {
  flex: none;
  margin-top: 1px;
  padding: 3px 8px;
  border: 1px solid #d6e5f5;
  border-radius: 999px;
  color: #356aa8;
  background: #f1f7fe;
  font-size: 9.5px;
  font-weight: 780;
}

.retest-detail-controls {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 9px;
  align-items: stretch;
}

.retest-major-select {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 9px;
  border: 1.5px solid #cbd9e9;
  border-radius: 9px;
  background: #f8fbff;
}

.retest-major-select > span {
  color: #526a83;
  font-size: 11px;
  font-weight: 760;
}

.retest-major-select select {
  width: 100%;
  min-width: 0;
  height: 39px;
  padding: 0 28px 0 9px;
  border: 1.5px solid #b9cce0;
  border-radius: 7px;
  outline: 0;
  color: #1f3855;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.retest-major-select select:focus {
  border-color: #78a7e3;
  box-shadow: 0 0 0 3px rgba(55, 113, 185, 0.09);
}

.retest-year-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.retest-year-switch button {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 59px;
  padding: 8px 10px;
  border: 1.5px solid #cfdbe8;
  border-radius: 8px;
  color: #5d7188;
  background: #f8fafc;
  text-align: left;
}

.retest-year-switch button strong,
.retest-year-switch button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-year-switch button strong {
  color: #314a67;
  font-size: 12px;
}

.retest-year-switch button span {
  color: #687b91;
  font-size: 10.5px;
}

.retest-year-switch button.active {
  border-color: #7eabe2;
  color: #245a98;
  background: #eef6ff;
  box-shadow: inset 0 0 0 1px rgba(55, 113, 185, 0.12);
}

.retest-year-switch button.active strong,
.retest-year-switch button.active span {
  color: #245a98;
}

.retest-analysis-summary {
  margin-top: 9px;
}

.retest-selected-major {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #dfe7f2;
  border-radius: 9px;
  background: #fff;
}

.retest-selected-major > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 9px 11px;
  background: #f5f9fe;
}

.retest-selected-major > header div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.retest-selected-major > header span {
  color: #647a93;
  font-size: 9.5px;
}

.retest-selected-major > header strong {
  color: #203a58;
  font-size: 12px;
}

.retest-selected-major > header em {
  flex: none;
  padding: 3px 7px;
  border-radius: 5px;
  color: #356caa;
  background: #e7f1fd;
  font-size: 9px;
  font-style: normal;
  font-weight: 760;
}

.modal-card.retest-detail-modal {
  width: min(1040px, 100%);
  max-height: min(91vh, 900px);
}

.retest-analysis-summary > div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f4f7fb;
}

.retest-analysis-summary span,
.retest-analysis-summary strong,
.retest-analysis-summary small {
  display: block;
}

.retest-analysis-summary span {
  color: #587089;
  font-size: 11px;
  font-weight: 650;
}

.retest-analysis-summary strong {
  margin-top: 4px;
  color: #203955;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.retest-analysis-summary small {
  margin-top: 2px;
  color: #657a92;
  font-size: 10px;
  line-height: 1.4;
}

.retest-analysis-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 9px;
  padding: 10px;
  border: 1px solid #e4e0f4;
  border-radius: 8px;
  background: #faf8ff;
}

.retest-analysis-note strong {
  color: #6954a4;
  font-size: 10.5px;
}

.retest-analysis-note p {
  margin: 0;
  color: #5f5a6e;
  font-size: 10px;
  line-height: 1.6;
}

.retest-analysis-table-wrap {
  max-height: 390px;
  overflow: auto;
  margin-top: 0;
  border: 1px solid #e1e8f2;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.retest-year-groups {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.retest-year-group {
  overflow: hidden;
  border: 1px solid #dfe7f2;
  border-radius: 9px;
  background: #fff;
}

.retest-year-group > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 0 12px;
  color: #2c415d;
  background: #f7faff;
  cursor: pointer;
  list-style: none;
}

.retest-year-group > summary::-webkit-details-marker {
  display: none;
}

.retest-year-group > summary strong {
  font-size: 14px;
}

.retest-year-group > summary span {
  flex: 1;
  color: #60748d;
  font-size: 10.5px;
}

.retest-year-group > summary em {
  color: #2f69a7;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.retest-year-group[open] > summary em {
  font-size: 0;
}

.retest-year-group[open] > summary em::after {
  font-size: 10px;
  content: "收起";
}

.retest-analysis-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.retest-analysis-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 8px;
  color: #435b75;
  background: #f3f7fc;
  font-size: 12px;
  font-weight: 820;
  text-align: left;
  white-space: nowrap;
}

.retest-analysis-table td {
  padding: 11px 9px;
  border-top: 1px solid #e9eef5;
  color: #2f465f;
  font-weight: 560;
  line-height: 1.45;
}

.retest-analysis-table td:nth-child(2),
.retest-analysis-table td:nth-child(3),
.retest-analysis-table td:nth-child(4),
.retest-analysis-table td:nth-child(5),
.retest-analysis-table td:nth-child(6),
.retest-analysis-table td:nth-child(7) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.retest-analysis-table td small {
  display: block;
  margin-top: 2px;
  color: #687b90;
  font-size: 10px;
  white-space: normal;
}

.retest-analysis-table tr.is-estimated td {
  background: #fffcf5;
}

.retest-analysis-table small.retest-estimate-tag {
  display: inline-block;
  width: fit-content;
  margin-top: 3px;
  padding: 1px 5px;
  border-radius: 4px;
  color: #8a621f;
  background: #fff1d7;
  font-size: 9px;
  font-style: normal;
  font-weight: 760;
}

.retest-analysis-table small.retest-legacy-tag {
  display: inline-block;
  width: fit-content;
  margin-top: 3px;
  padding: 1px 5px;
  border-radius: 4px;
  color: #32679e;
  background: #eaf3fd;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.retest-analysis-table .retest-college-row th {
  position: static;
  padding: 9px 10px;
  border-top: 1px solid #dfe7f2;
  color: #2f4866;
  background: #eef4fb;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}

.retest-analysis-table .retest-college-row th span {
  margin-left: 7px;
  color: #6f8094;
  font-size: 9.5px;
  font-weight: 600;
}

.retest-estimate-note {
  margin: 8px 0 0;
  color: #6e7e92;
  font-size: 10.5px;
  line-height: 1.55;
}

.retest-interview-meter {
  height: 7px;
  overflow: hidden;
  margin: 8px 0 10px;
  border-radius: 999px;
  background: #eeeafb;
}

.retest-interview-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8c6ddd, #4b8bc7);
}

@media (max-width: 1100px) {
  .retest-overview-grid,
  .retest-prep-layout {
    grid-template-columns: 1fr;
  }

  .retest-candidate-panel > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .retest-hero {
    grid-template-columns: 1fr;
  }

  .retest-hero-metrics {
    max-width: 560px;
  }

  .retest-timeline,
  .retest-rule-grid,
  .retest-official-links > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-school-grid {
    grid-template-columns: 1fr;
  }

  .retest-page-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-catalog-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 130px auto;
  }

  .retest-catalog-search,
  .retest-catalog-major,
  .retest-catalog-major-wrap,
  .retest-catalog-actions {
    grid-column: auto;
  }

  .retest-catalog-table-head {
    display: none;
  }

  .retest-catalog-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-catalog-school,
  .retest-catalog-docs,
  .retest-catalog-row-actions {
    grid-column: 1 / -1;
  }

  .retest-modal-summary,
  .retest-modal-rules,
  .retest-analysis-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .retest-hero {
    padding: 20px;
  }

  .retest-hero-metrics,
  .retest-page-switch,
  .retest-timeline,
  .retest-rule-grid,
  .retest-checklist,
  .retest-candidate-panel > div,
  .retest-official-links > div {
    grid-template-columns: 1fr;
  }

  .retest-catalog-page {
    padding: 15px;
  }

  .retest-catalog-filters,
  .retest-catalog-row {
    grid-template-columns: 1fr;
  }

  .retest-catalog-row > div,
  .retest-catalog-search,
  .retest-catalog-major,
  .retest-catalog-major-wrap,
  .retest-catalog-region,
  .retest-catalog-actions {
    grid-column: auto;
  }

  .retest-catalog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .retest-major-menu {
    min-width: 100%;
    max-width: calc(100vw - 44px);
  }

  .retest-major-menu > header {
    grid-template-columns: 1fr auto;
  }

  .retest-major-menu > header span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .retest-major-subcategories {
    grid-template-columns: 1fr;
  }

  .retest-modal-summary,
  .retest-modal-rules,
  .retest-analysis-summary {
    grid-template-columns: 1fr;
  }

  .retest-detail-controls {
    grid-template-columns: 1fr;
  }

  .retest-year-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .retest-analysis-note {
    grid-template-columns: 1fr;
  }

  .modal-card.retest-detail-modal {
    width: 100%;
    max-height: 92vh;
    padding: 16px;
  }

  .retest-section-head,
  .retest-source-band,
  .retest-candidate-panel > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .retest-section-head > span {
    text-align: left;
  }

  .retest-school-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.retest-school-workspace {
  display: grid;
  grid-template-columns: minmax(225px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.retest-school-rail {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #f7faff;
}

.retest-school-rail > div:first-child {
  display: grid;
  gap: 2px;
  padding: 7px 7px 10px;
  border-bottom: 1px solid #e1e8f2;
}

.retest-school-rail > div:first-child strong {
  color: #2e425d;
  font-size: 12.5px;
}

.retest-school-rail > div:first-child span {
  color: #8491a4;
  font-size: 9.5px;
}

.retest-school-rail > button {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #2e425d;
  background: transparent;
  text-align: left;
}

.retest-school-rail > button .school-crest {
  width: 35px;
  height: 35px;
}

.retest-school-rail > button span span,
.retest-school-rail > button span strong,
.retest-school-rail > button span small,
.retest-school-rail > button span em {
  display: block;
}

.retest-school-rail > button span strong {
  color: #2b3e58;
  font-size: 11.5px;
}

.retest-school-rail > button span small {
  margin-top: 2px;
  color: #8490a2;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-school-rail > button span em {
  margin-top: 3px;
  color: #2d70ad;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 750;
}

.retest-school-rail > button:hover,
.retest-school-rail > button.active {
  border-color: #c5d9f2;
  background: #fff;
  box-shadow: 0 4px 12px rgba(41, 75, 121, 0.07);
}

.retest-school-dossier {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #dfe8f3;
  border-radius: 13px;
  background: linear-gradient(150deg, #fff, #fcfdff);
}

.retest-dossier-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.retest-dossier-head .school-crest {
  width: 54px;
  height: 54px;
}

.retest-dossier-head > div:nth-child(2) strong,
.retest-dossier-head > div:nth-child(2) span,
.retest-dossier-head > div:nth-child(2) small {
  display: block;
}

.retest-dossier-head > div:nth-child(2) strong {
  color: #1d2e46;
  font-size: 20px;
}

.retest-dossier-head > div:nth-child(2) span {
  margin-top: 2px;
  color: #78879a;
  font-size: 10.5px;
}

.retest-dossier-head > div:nth-child(2) small {
  margin-top: 4px;
  color: #2f649d;
  font-size: 10.5px;
}

.retest-dossier-status {
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.retest-dossier-status span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #6c4fbd;
  background: #f2edff;
  font-size: 9.5px;
  font-weight: 800;
}

.retest-dossier-status em {
  color: #8492a4;
  font-size: 9.5px;
  font-style: normal;
}

.retest-dossier-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.retest-dossier-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 9px;
  background: #f3f7fc;
}

.retest-dossier-metrics span,
.retest-dossier-metrics strong {
  display: block;
}

.retest-dossier-metrics span {
  color: #8290a4;
  font-size: 9.5px;
}

.retest-dossier-metrics strong {
  margin-top: 3px;
  color: #263b57;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-program-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid #e5dff7;
  border-radius: 9px;
  background: #faf8ff;
}

.retest-program-note > span {
  align-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  color: #6651a0;
  background: #eee8fb;
  font-size: 9px;
  font-weight: 850;
}

.retest-program-note p {
  margin: 0;
  color: #5c6072;
  font-size: 10.5px;
  line-height: 1.65;
}

.retest-rule-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.retest-rule-facts > div {
  display: grid;
  gap: 3px;
  min-height: 84px;
  padding: 11px;
  border: 1px solid #e5ebf3;
  border-radius: 9px;
  background: #fbfcfe;
}

.retest-rule-facts span {
  color: #8491a3;
  font-size: 9px;
}

.retest-rule-facts strong {
  color: #30445f;
  font-size: 11.5px;
  line-height: 1.5;
}

.retest-rule-facts small {
  color: #7b8899;
  font-size: 9.5px;
  line-height: 1.45;
}

.retest-dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.retest-dossier-grid section {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e4eaf3;
  border-radius: 9px;
  background: #fff;
}

.retest-dossier-grid h4 {
  margin: 0 0 8px;
  color: #2e425d;
  font-size: 11.5px;
}

.retest-dossier-grid ol,
.retest-dossier-grid ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #6e7d91;
  font-size: 9.5px;
  line-height: 1.55;
}

.retest-dossier-grid li::marker {
  color: #5387c3;
  font-weight: 800;
}

.retest-official-links-compact {
  display: grid;
  gap: 5px;
}

.retest-official-links-compact a {
  padding: 6px 8px;
  border-radius: 6px;
  color: #2f68a6;
  background: #f3f8ff;
  font-size: 9.5px;
  font-weight: 700;
  text-decoration: none;
}

.retest-no-link {
  color: #8994a5;
  font-size: 9.5px;
  line-height: 1.5;
}

.retest-contact-list {
  padding-left: 0 !important;
  list-style: none;
}

.retest-contact-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 7px;
}

.retest-contact-list span {
  color: #8a95a6;
}

.retest-contact-list strong {
  color: #53657d;
  font-size: 9.5px;
  font-weight: 650;
}

@media (max-width: 1100px) {
  .retest-school-workspace {
    grid-template-columns: 1fr;
  }

  .retest-school-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-school-rail > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .retest-school-rail,
  .retest-dossier-metrics,
  .retest-rule-facts,
  .retest-dossier-grid {
    grid-template-columns: 1fr;
  }

  .retest-dossier-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .retest-dossier-status {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  .retest-program-note {
    grid-template-columns: 1fr;
  }
}

.adjustment-detail-overview {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.adjustment-summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.adjustment-summary-metrics article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  min-height: 128px;
  padding: 16px;
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  background: linear-gradient(145deg, #fbfdff, #f4f8fd);
}

.adjustment-summary-metrics article > span {
  color: #61718a;
  font-size: 12.5px;
  font-weight: 800;
}

.adjustment-summary-metrics article > strong {
  color: #172238;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.adjustment-summary-metrics article > em {
  margin-top: auto;
  color: #8290a5;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.adjustment-year-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adjustment-year-list b {
  padding: 4px 8px;
  border: 1px solid #d8e5f8;
  border-radius: 7px;
  color: #214a80;
  background: #edf5ff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.adjustment-quota-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dce8f6;
  border-left: 4px solid #5b8fd6;
  border-radius: 12px;
  background: #f5f9ff;
}

.adjustment-quota-panel > div {
  display: grid;
  gap: 5px;
}

.adjustment-quota-panel span {
  color: #314d70;
  font-size: 13px;
  font-weight: 850;
}

.adjustment-quota-panel em {
  color: #7b8ca3;
  font-size: 11.5px;
  font-style: normal;
}

.adjustment-quota-panel > strong {
  color: #233650;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .adjustment-summary-metrics,
  .adjustment-quota-panel {
    grid-template-columns: 1fr;
  }

  .adjustment-summary-metrics article {
    min-height: 0;
  }
}

.adjustment-detail-records {
  display: grid;
  gap: 9px;
}

.adjustment-detail-record {
  overflow: hidden;
  border: 1.5px solid #d8e3f0;
  border-radius: 10px;
  background: #fff;
}

.adjustment-detail-record.is-empty {
  border-style: dashed;
  border-color: #dfe6ef;
}

.adjustment-detail-record.is-empty > summary {
  background: #fafbfd;
}

.adjustment-missing-year {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  border-top: 1px solid #edf1f6;
  color: #69788c;
  font-size: 12px;
  line-height: 1.6;
}

.adjustment-missing-year strong {
  color: #394b64;
  font-size: 13.5px;
}

.adjustment-missing-year p {
  margin: 0;
}

.adjustment-missing-year a {
  width: fit-content;
  color: #356eae;
  font-weight: 760;
}

.adjustment-detail-record > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 13px;
  color: #38516d;
  background: #f6f9fd;
  cursor: pointer;
  list-style: none;
}

.adjustment-detail-record > summary::-webkit-details-marker {
  display: none;
}

.adjustment-detail-record > summary > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.adjustment-detail-record > summary strong {
  color: #213b58;
  font-size: 13.5px;
}

.adjustment-detail-record > summary em {
  padding: 2px 6px;
  border-radius: 4px;
  color: #58708b;
  background: #eaf1f8;
  font-size: 9.5px;
  font-style: normal;
}

.adjustment-detail-record > summary > span:nth-child(2) {
  flex: 1;
  color: #61758c;
  font-size: 11px;
  text-align: right;
}

.adjustment-detail-record > summary b {
  color: #2f69a7;
  font-size: 10.5px;
  font-weight: 750;
}

.adjustment-detail-record[open] > summary b {
  font-size: 0;
}

.adjustment-detail-record[open] > summary b::after {
  content: "收起";
  font-size: 10.5px;
}

.adjustment-detail-record-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border-top: 1px solid #e7edf5;
}

.adjustment-record-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 10px;
  align-items: start;
}

.adjustment-detail-block {
  min-width: 0;
}

.adjustment-detail-block h4 {
  margin: 0 0 7px;
  color: #334e6c;
  font-size: 12px;
}

.adjustment-record-data-note {
  margin: 0 0 9px;
  color: #74869b;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.55;
}

.adjustment-record-data-note.verified {
  color: #23735f;
}

.adjustment-detail-block .school-chip-list span.is-missing {
  color: #7c8ca1;
  border-style: dashed;
  background: #f8fafc;
}

.adjustment-detail-block ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: #4f647d;
  font-size: 11.5px;
  line-height: 1.65;
}

.adjustment-detail-block ul li.is-missing {
  color: #7c8ca1;
  list-style: none;
}

.adjustment-detail-block.source {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 10px;
  border-radius: 8px;
  background: #f7faff;
}

.adjustment-detail-block.requirements {
  padding: 11px 13px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fff;
}

.adjustment-detail-block.requirements ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
}

.adjustment-detail-block.source span {
  color: #74859a;
  font-size: 10.5px;
}

.adjustment-detail-block.source a {
  color: #2c64a2;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .adjustment-detail-record > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .adjustment-detail-record > summary > span:nth-child(2) {
    text-align: left;
  }

  .adjustment-detail-record-body {
    grid-template-columns: 1fr;
  }

  .adjustment-record-summary {
    grid-template-columns: 1fr;
  }

  .adjustment-detail-block.requirements ul {
    grid-template-columns: 1fr;
  }
}

/* —— 院校对比 · 紧凑配置与三项核心建议 —— */
.compare-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 16px 14px;
  padding: 20px;
  border-color: #e3eaf5;
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.82), rgba(248, 252, 251, 0.9)),
    #f8fbff;
}

.compare-form > .ai-region-grid {
  grid-column: span 2;
  gap: 14px;
  min-width: 0;
}

.compare-form > .field.full:not(.ai-region-grid):not(.score-field),
.compare-form > .compare-selected-list,
.compare-form > .modal-actions {
  grid-column: 1 / -1;
}

.compare-form > .score-field {
  grid-column: auto;
  padding: 12px 14px;
  border: 1px solid #e0e8f4;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.compare-form > .score-field input[type="range"] {
  min-height: 26px;
}

.compare-form > .field > span {
  color: #40516c;
  font-size: 12.5px;
  font-weight: 820;
}

.compare-form .choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-form .choice-pill {
  min-height: 42px;
  padding: 9px 12px;
  border-color: #e1e9f4;
  font-size: 13px;
  font-weight: 760;
}

.compare-form .manual-school-row {
  max-width: 720px;
}

.compare-form .compare-selected-list {
  padding: 14px;
  border: 1px solid #e4ecf7;
}

.compare-form .modal-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.compare-core-advice {
  padding: 20px;
  border: 1px solid #e3eaf5;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.compare-core-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.compare-core-heading h3 {
  margin: 4px 0 0;
  color: #14213b;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.compare-core-heading > span {
  padding-bottom: 3px;
  color: #6f7f96;
  font-size: 13px;
  font-weight: 760;
}

.compare-core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compare-core-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #dde7f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(35, 64, 112, 0.07);
}

.compare-core-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.compare-core-card.stage::after {
  background: rgba(13, 148, 136, 0.09);
}

.compare-core-card.plan::after {
  background: rgba(124, 58, 237, 0.08);
}

.compare-core-topic {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.compare-core-topic span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2456d8, #378be8);
  font-size: 13px;
  font-weight: 900;
}

.compare-core-card.stage .compare-core-topic span {
  background: linear-gradient(135deg, #087f75, #19a99a);
}

.compare-core-card.plan .compare-core-topic span {
  background: linear-gradient(135deg, #6846c7, #8c6ae2);
}

.compare-core-topic strong {
  color: #34445d;
  font-size: 15px;
  font-weight: 900;
}

.compare-core-card h4 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #13203a;
  font-size: clamp(21px, 1.65vw, 25px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.compare-core-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #35455f;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.65;
}

.compare-core-action {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 12px 13px;
  border-radius: 11px;
  background: #f2f6fd;
}

.compare-core-card.stage .compare-core-action {
  background: #effaf8;
}

.compare-core-card.plan .compare-core-action {
  background: #f5f2fd;
}

.compare-core-action span {
  color: #5c6c84;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.compare-core-action strong {
  color: #253652;
  font-size: 14px;
  font-weight: 830;
  line-height: 1.6;
}

.compare-core-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 2px;
}

.compare-core-footer p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 720;
}

@media (max-width: 1100px) {
  .compare-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-form > .ai-region-grid {
    grid-column: 1 / -1;
  }

  .compare-form > .score-field {
    grid-column: 1 / -1;
  }

  .compare-form .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-core-grid {
    grid-template-columns: 1fr;
  }

  .compare-core-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .compare-form,
  .compare-form > .ai-region-grid,
  .compare-form .choice-grid,
  .compare-core-grid {
    grid-template-columns: 1fr;
  }

  .compare-form > .ai-region-grid,
  .compare-form > .score-field {
    grid-column: 1;
  }

  .compare-form .manual-school-row {
    grid-template-columns: 1fr;
  }

  .compare-core-heading,
  .compare-core-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-core-card {
    padding: 16px;
  }

  .compare-core-footer .primary-action {
    width: 100%;
  }
}

/* —— 考研复试 · 紧凑清晰版 —— */
.retest-guide {
  gap: 12px;
}

.retest-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid #dce8f5;
  border-radius: 16px;
  color: #1b2b43;
  background:
    radial-gradient(circle at 90% 0%, rgba(65, 143, 222, 0.1), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f3f8ff 100%);
  box-shadow: 0 10px 28px rgba(42, 72, 112, 0.07);
}

.retest-hero::after {
  right: -54px;
  bottom: -120px;
  width: 230px;
  height: 230px;
  border-color: rgba(48, 108, 177, 0.1);
  box-shadow: 0 0 0 34px rgba(48, 108, 177, 0.025), 0 0 0 68px rgba(48, 108, 177, 0.018);
}

.retest-hero p {
  margin-bottom: 7px;
  color: #316fae;
  font-size: 11px;
}

.retest-hero h2 {
  margin-bottom: 8px;
  color: #17243b;
  font-size: clamp(27px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.retest-hero > div > span {
  max-width: 680px;
  color: #63758d;
  font-size: 13px;
  line-height: 1.65;
}

.retest-hero-actions {
  margin-top: 14px;
}

.retest-hero-actions .primary-action {
  color: #fff;
  background: #2c67ad;
}

.retest-hero-actions .secondary-action {
  border-color: #cfdded;
  color: #355575;
  background: #fff;
}

.retest-hero-metrics {
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  align-self: stretch;
  gap: 8px;
}

.retest-hero-metrics div {
  display: grid;
  align-content: center;
  padding: 12px 14px;
  border-color: #dce8f5;
  background: rgba(255, 255, 255, 0.82);
}

.retest-hero-metrics strong {
  color: #235388;
  font-size: 23px;
  font-weight: 900;
}

.retest-hero-metrics span {
  margin-top: 5px;
  color: #75859a;
  font-size: 10.5px;
}

.retest-page-switch {
  gap: 7px;
}

.retest-page-switch button {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: none;
}

.retest-page-switch button > span {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  color: #5f7390;
  background: #edf3fa;
  font-size: 9.5px;
}

.retest-page-switch button strong {
  margin: 0;
  color: #253750;
  font-size: 14px;
  font-weight: 850;
}

.retest-page-switch button em {
  margin-top: 2px;
  color: #7e8ca0;
  font-size: 10.5px;
}

.retest-page-switch button:hover,
.retest-page-switch button.active {
  border-color: #b5cced;
  background: #f4f8ff;
  box-shadow: inset 0 0 0 1px rgba(47, 104, 176, 0.04);
}

.retest-page-switch button.active > span {
  background: #2e69ad;
}

.retest-page-body {
  gap: 12px;
}

.retest-overview-grid {
  grid-template-columns: minmax(0, 1fr);
}

.retest-timeline-card,
.retest-rule-section,
.retest-school-page,
.retest-checklist-card,
.retest-question-card,
.retest-expression-card,
.retest-official-links {
  padding: 17px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(31, 53, 88, 0.045);
}

.retest-section-head {
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.retest-section-head p {
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.retest-section-head h3 {
  font-size: 19px;
  font-weight: 850;
}

.retest-section-head > span {
  font-size: 10.5px;
}

.retest-overview-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.retest-overview-summary span {
  padding: 4px 8px;
  border: 1px solid #dce7f5;
  border-radius: 999px;
  color: #506a88;
  background: #f5f9fe;
  font-size: 10px;
  font-weight: 750;
}

.retest-timeline {
  gap: 7px;
}

.retest-timeline > div {
  min-height: 104px;
  padding: 11px;
  border-color: #e6edf6;
  background: #fbfcfe;
}

.retest-timeline strong {
  font-size: 13px;
  line-height: 1.35;
}

.retest-timeline p {
  color: #7a889c;
  font-size: 11px;
  line-height: 1.5;
}

.retest-rule-grid {
  gap: 7px;
}

.retest-rule-grid article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 9px;
  min-height: 0;
  padding: 12px;
}

.retest-rule-grid article > span {
  position: static;
  grid-row: 1 / 3;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: #3469a4;
  background: #eaf2fc;
  font-size: 9.5px;
  font-weight: 850;
}

.retest-rule-grid h4 {
  grid-column: 2;
  margin: 0;
  font-size: 13.5px;
  font-weight: 820;
}

.retest-rule-grid p {
  grid-column: 2;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
}

.retest-source-band {
  padding: 13px 16px;
}

.retest-source-band p {
  margin-bottom: 3px;
}

.retest-source-band strong {
  font-size: 12.5px;
}

.retest-source-band span {
  display: none;
}

.retest-checklist {
  gap: 6px;
}

.retest-checklist button {
  min-height: 62px;
  padding: 9px 10px;
}

.retest-checklist button strong {
  font-size: 12.5px;
}

.retest-checklist button em {
  font-size: 10.5px;
  line-height: 1.42;
}

.retest-question-card h3 {
  font-size: 17px;
}

.retest-expression-card > div {
  padding: 8px 10px;
}

@media (max-width: 900px) {
  .retest-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .retest-page-switch,
  .retest-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .retest-guide {
    gap: 10px;
  }

  .retest-hero {
    padding: 18px;
    border-radius: 14px;
  }

  .retest-hero h2 {
    font-size: 26px;
  }

  .retest-hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .retest-hero-metrics div {
    padding: 10px;
  }

  .retest-page-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-page-switch button {
    min-height: 54px;
    padding: 9px 10px;
  }

  .retest-overview-summary {
    justify-content: flex-start;
  }

  .retest-timeline,
  .retest-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-timeline > div {
    grid-template-columns: 25px minmax(0, 1fr);
    min-height: 0;
    padding: 9px;
  }

  .retest-timeline > div > span {
    width: 23px;
    height: 23px;
  }

  .retest-timeline strong {
    font-size: 12px;
  }

  .retest-timeline p {
    font-size: 10px;
  }

  .retest-section-head {
    align-items: flex-start;
  }

  .retest-section-head > span {
    display: none;
  }

  .retest-source-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .retest-preview-layout,
  .retest-prep-layout {
    grid-template-columns: 1fr;
  }

  .retest-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-checklist button {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
  }

  .retest-checklist button > i {
    width: 20px;
    height: 20px;
  }

  .retest-checklist button em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* —— 总览顶部信息与考试倒计时 —— */
.dashboard-topbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(204, 218, 236, 0.8);
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 12%, rgba(89, 153, 219, 0.12), transparent 31%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.9));
  box-shadow: 0 12px 30px rgba(45, 73, 112, 0.08);
}

.dashboard-topbar::before {
  position: absolute;
  top: -70px;
  right: 18%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(57, 104, 167, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(57, 104, 167, 0.018);
  content: "";
}

.dashboard-topbar .greeting-block,
.dashboard-topbar .top-actions {
  position: relative;
  z-index: 1;
}

.dashboard-topbar .greeting-block {
  gap: 8px;
}

.dashboard-topbar .greeting-line {
  gap: 10px;
}

.dashboard-topbar .greeting-title {
  color: #18253b;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.dashboard-topbar .live-clock {
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #d8e0f4;
  color: #4e5c75;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
  font-size: 11.5px;
  font-weight: 720;
}

.dashboard-topbar .live-clock::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #31a36f;
  box-shadow: 0 0 0 3px rgba(49, 163, 111, 0.12);
  content: "";
}

.dashboard-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-topbar .countdown-text {
  margin: 0;
  padding: 0;
  color: #59677d;
  font-size: 13.5px;
  font-weight: 650;
}

.dashboard-topbar .countdown-text strong {
  color: #2e5fc0;
  font-size: 16px;
  font-weight: 900;
}

.dashboard-topbar .countdown-date {
  margin-left: 3px;
  padding: 3px 7px;
  border-radius: 6px;
  color: #7a5a2d;
  background: #fff5de;
  font-size: 10.5px;
  font-weight: 780;
}

.dashboard-topbar .next-node {
  min-height: 32px;
  margin: 0;
  padding: 4px 6px 4px 11px;
  border-color: #d9e2f1;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.dashboard-topbar .next-node .nn-label {
  color: #718097;
  font-size: 10.5px;
}

.dashboard-topbar .next-node strong {
  font-size: 12.5px;
  font-weight: 820;
}

.dashboard-topbar .next-node em {
  color: #d65b42;
  font-size: 11px;
}

.dashboard-topbar .next-node b {
  padding: 4px 9px;
  font-size: 10.5px;
  background: #385c9e;
}

.dashboard-topbar .top-actions {
  align-self: center;
  width: 100%;
  min-width: 0;
}

.dashboard-topbar .search-box {
  width: 100%;
  height: 46px;
  border-color: #d9e2ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 18px rgba(46, 72, 110, 0.06);
}

.dashboard-topbar .search-box input {
  font-size: 13px;
}

@media (max-width: 900px) {
  .dashboard-topbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-topbar .top-actions {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .dashboard-topbar {
    gap: 12px;
    padding: 16px;
    border-radius: 15px;
  }

  .dashboard-topbar .greeting-title {
    font-size: 26px;
  }

  .dashboard-topbar .live-clock {
    padding: 5px 8px;
    font-size: 10.5px;
  }

  .dashboard-status-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .dashboard-topbar .next-node {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-topbar .next-node b {
    margin-left: auto;
  }

  .dashboard-topbar .search-box {
    height: 44px;
  }
}

/* 复试分析统一覆盖 2023—2026 四个年度 */
.retest-year-switch {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .retest-year-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2023 调剂全院校索引：无公开公告记录不伪装成调剂样本 */
.adjx-coverage-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e1e8f2;
  border-radius: 11px;
  background: #fff;
}

.adjx-coverage-school {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.adjx-coverage-school strong,
.adjx-coverage-school span,
.adjx-coverage-school em {
  display: block;
}

.adjx-coverage-school strong {
  color: #24364e;
  font-size: 14px;
  font-weight: 820;
}

.adjx-coverage-school span {
  margin-top: 3px;
  color: #7a899c;
  font-size: 11px;
}

.adjx-coverage-school em {
  width: fit-content;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #8a6a38;
  background: #fff7e8;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 760;
}

.adjx-coverage-card > p {
  margin: 0;
  color: #718096;
  font-size: 11.5px;
  line-height: 1.6;
}

.adjx-coverage-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.adjx-coverage-actions a {
  color: #3c67a0;
  font-size: 11px;
  font-weight: 760;
}

@media (max-width: 760px) {
  .adjx-coverage-card {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .adjx-coverage-actions {
    justify-content: flex-start;
  }
}

/* ---------- 学习计划 · 最终无长框覆盖 ---------- */
#modulePanel:has(.study-page) {
  padding: 10px 4px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#modulePanel:has(.study-page) .tt-study-banner {
  padding: 10px 0 14px;
  border: 0;
  border-bottom: 1px solid #e7edf6;
  border-radius: 0;
  background: transparent;
}

.study-page .study-focus-block,
.study-page .study-focus-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.study-page .study-focus-block {
  padding: 18px 0 20px;
  border-top: 1px solid #e7edf6;
}

.study-page .study-focus-card {
  padding: 0 0 0 13px;
  border-left: 2px solid #d9d0fa;
}

.study-page .study-focus-hour {
  border-top-color: #ece8f7;
}

/* ---------- 复试 / 调剂：可读性提升与全尺寸适配 ---------- */
.retest-guide,
.adjx-guide {
  --rf-body: #45576d;
  --rf-meta: #5d6f84;
  --rf-muted: #708096;
}

.topbar :is(.live-clock, .countdown-date, .nn-label),
.topbar .next-node :is(em, b) {
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-topbar .next-node .nn-label,
.dashboard-topbar .next-node :is(em, b) {
  font-size: 12px;
  line-height: 1.45;
}

.retest-guide :is(p, li),
.adjx-guide :is(p, li),
.retest-detail-modal :is(p, li) {
  color: var(--rf-body);
  font-size: 13px;
  line-height: 1.68;
}

.retest-guide :is(small, time),
.adjx-guide small,
.retest-detail-modal small {
  color: var(--rf-meta);
  font-size: 12px !important;
  line-height: 1.55;
}

.retest-guide span,
.adjx-guide span,
.retest-detail-modal span {
  font-size: 12px !important;
  line-height: 1.5;
}

.retest-guide em,
.adjx-guide em,
.retest-detail-modal em {
  font-size: 12px !important;
  line-height: 1.5;
}

.retest-guide :is(.small-action, .compact-action),
.adjx-guide :is(.small-action, .compact-action) {
  min-height: 34px;
  padding-right: 11px;
  padding-left: 11px;
  font-size: 12px !important;
  line-height: 1.35;
}

.retest-guide a,
.adjx-guide a {
  font-size: 12px !important;
  line-height: 1.5;
}

.retest-guide button,
.adjx-guide button {
  font-size: 12px !important;
  line-height: 1.4;
}

.retest-hero > div > span {
  color: #536a83;
  font-size: 13.5px;
  line-height: 1.72;
}

.retest-hero-metrics span {
  color: #61758d;
  font-size: 12px;
}

.retest-page-switch button > span {
  font-size: 12px;
}

.retest-page-switch button small,
.retest-page-switch button em {
  color: #617187;
  font-size: 12px;
  line-height: 1.5;
}

.retest-section-head p,
.adjx-section-head p {
  color: #536b88;
  font-size: 12px;
}

.retest-section-head > span,
.adjx-section-head > span {
  color: #62748a;
  font-size: 12px;
  line-height: 1.6;
}

.retest-timeline time {
  font-size: 12px;
}

.retest-guide .retest-timeline > div > span,
.retest-guide .retest-rule-grid article > span {
  font-size: 12px;
}

.retest-timeline strong {
  font-size: 14px;
  line-height: 1.45;
}

.retest-timeline p,
.retest-rule-grid p {
  color: #596b80;
  font-size: 13px;
  line-height: 1.62;
}

.retest-rule-grid h4 {
  font-size: 14.5px;
  line-height: 1.45;
}

.retest-source-band strong {
  font-size: 13px;
  line-height: 1.6;
}

.retest-school-name span,
.retest-school-name small,
.retest-school-metrics span,
.retest-school-note span,
.retest-candidate-panel button small {
  color: #607287;
  font-size: 12px;
}

.retest-school-note p,
.retest-school-card > header small {
  color: #52657a;
}

.retest-guide :is(.retest-dossier-head strong, .retest-dossier-head small),
.retest-guide .retest-school-rail > button span strong,
.retest-guide :is(.retest-rule-facts strong, .retest-rule-facts small),
.retest-guide :is(.retest-dossier-grid h4, .retest-dossier-grid strong),
.retest-guide .retest-contact-list strong {
  font-size: 12.5px !important;
  line-height: 1.55;
}

.retest-guide :is(.retest-dossier-grid h4, .retest-contact-list span) {
  color: #52667e;
  font-size: 12.5px !important;
}

.retest-guide :is(.retest-official-links header p, .retest-official-links strong) {
  font-size: 12.5px !important;
  line-height: 1.55;
}

.retest-guide .retest-official-links-compact strong {
  font-size: 12px !important;
}

.retest-contact-list li {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
}

.retest-contact-list strong {
  overflow-wrap: anywhere;
}

.retest-guide :is(.retest-question-card strong, .retest-expression-card strong) {
  font-size: 12.5px !important;
  line-height: 1.5;
}

.retest-catalog-filters label > span,
.retest-major-select > span {
  color: #4e637d;
  font-size: 12px;
}

.retest-catalog-filters input,
.retest-catalog-filters select,
.retest-major-select select {
  min-height: 42px;
  font-size: 13px;
}

.retest-catalog-table-head,
.retest-catalog-row {
  font-size: 12.5px;
}

.retest-catalog-row small,
.retest-catalog-school small,
.retest-catalog-docs small,
.retest-catalog-meta {
  color: #607287;
  font-size: 12px;
  line-height: 1.5;
}

.retest-catalog-school em,
.retest-catalog-docs em {
  font-size: 12px;
}

.retest-catalog-pager button {
  min-height: 38px;
  font-size: 12px;
}

.retest-modal-section :is(p, li),
.retest-modal-rules p,
.retest-estimate-note,
.retest-analysis-note p {
  color: #4b5e75;
  font-size: 12.5px;
  line-height: 1.7;
}

.retest-analysis-table td small,
.retest-analysis-table small:is(.retest-estimate-tag, .retest-legacy-tag) {
  font-size: 11px;
  line-height: 1.45;
}

.adjx-hero > div > span,
.adjx-hero-metrics small {
  font-size: 12px;
  line-height: 1.55;
}

.adjx-page-switch button > span {
  font-size: 12px;
}

.adjx-page-switch button small {
  color: #607287;
  font-size: 12px;
  line-height: 1.55;
}

.adjx-ai-form > small,
.adjx-ai-disclaimer {
  color: #63758b;
  font-size: 12px;
  line-height: 1.6;
}

.adjx-guide .adjx-inline-empty {
  font-size: 12px;
}

.adjx-ai-summary > span,
.adjx-pick-top small,
.adjx-pick-top em,
.adjx-pick-meta span,
.adjx-pick footer > span,
.adjx-target-strip > span,
.adjx-target-strip small,
.adjx-major-current,
.adjx-major-head small,
.adjx-category-note,
.adjx-filter-chips button {
  color: #5d7087;
  font-size: 12px;
  line-height: 1.45;
}

.adjx-form-head span,
.adjx-field > span,
.adjx-check {
  font-size: 12px;
}

.adjx-field input,
.adjx-field select,
.adjx-search input,
.adjx-filter-row .adjx-search input {
  min-height: 40px;
  font-size: 13px;
}

.adjx-run {
  min-height: 42px;
  font-size: 13px;
}

.adjx-pick-top strong {
  font-size: 18px;
  line-height: 1.45;
}

.adjx-pick-program,
.adjx-pick-block p,
.adjx-pick-block ul,
.adjx-caution {
  color: #53667e;
  font-size: 13.5px;
  line-height: 1.65;
}

.adjx-pick-block b,
.adjx-pick-block.caution p strong {
  font-size: 13px;
}

.adjx-filter-row button,
.adjx-major-card button,
.adjx-pager button {
  min-height: 38px;
  font-size: 12.5px;
}

.adjx-filter-row button span {
  font-size: 12px;
}

.adjx-library-count {
  color: #5f7187;
  font-size: 12px;
  line-height: 1.55;
}

.adjx-difficulty-legend {
  gap: 7px;
  padding: 10px 12px;
}

.adjx-difficulty-legend strong,
.adjx-difficulty-legend span,
.adjx-difficulty-legend small {
  font-size: 12px;
  line-height: 1.5;
}

.adjx-difficulty-legend small {
  color: #76684f;
}

.adjx-school-card > summary {
  gap: 14px;
  padding: 16px 18px;
}

.adjx-school-name strong {
  font-size: 15.5px;
  line-height: 1.45;
}

.adjx-school-name span,
.adjx-school-name em,
.adjx-school-flow div span,
.adjx-school-difficulty > span,
.adjx-school-difficulty > small,
.adjx-school-count small {
  color: #5e7188;
  font-size: 12px;
  line-height: 1.45;
}

.adjx-school-flow p {
  color: #4e6279;
  font-size: 13px;
  line-height: 1.6;
}

.adjx-school-flow div {
  flex-wrap: wrap;
}

.adjx-school-difficulty > strong,
.adjx-school-count strong {
  font-size: 12.5px;
  line-height: 1.45;
}

.adjx-condition-head p,
.adjx-condition-row p,
.adjx-school-detail ul,
.adjx-shared-conditions ul {
  color: #455a72;
  font-size: 12.5px;
  line-height: 1.72;
}

.adjx-program-picker {
  font-size: 12px;
}

.adjx-condition-row strong {
  font-size: 14.5px;
}

.adjx-condition-row em,
.adjx-condition-head > span,
.adjx-shared-conditions summary,
.adjx-shared-conditions h5,
.adjx-school-source > span,
.adjx-school-source > a {
  font-size: 12px;
  line-height: 1.5;
}

.adjx-school-source .small-action {
  min-height: 34px;
  font-size: 12px;
}

.adjx-exec-grid h4 {
  font-size: 13px;
}

.adjx-exec-grid ul,
.adjx-timeline p,
.adjx-tools > div > button span,
.adjx-tools > p {
  color: #52667e;
  font-size: 12px;
  line-height: 1.6;
}

.adjx-timeline strong,
.adjx-tools > div > button strong {
  font-size: 12.5px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .retest-page-switch,
  .retest-timeline,
  .retest-rule-grid,
  .retest-official-links > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adjx-major-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .retest-guide,
  .adjx-guide {
    gap: 12px;
  }

  .retest-hero,
  .adjx-hero,
  .retest-timeline-card,
  .retest-rule-section,
  .retest-school-page,
  .retest-checklist-card,
  .retest-question-card,
  .retest-expression-card,
  .retest-official-links,
  .adjx-section,
  .adjx-ai-section {
    padding: 16px;
  }

  .retest-hero h2 {
    font-size: 27px;
    line-height: 1.25;
  }

  .retest-hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .retest-hero-metrics div {
    padding: 11px 9px;
  }

  .retest-hero-metrics strong {
    font-size: 26px;
  }

  .retest-page-switch,
  .retest-timeline,
  .retest-rule-grid,
  .retest-checklist,
  .retest-candidate-panel > div,
  .retest-official-links > div,
  .retest-school-rail,
  .retest-dossier-metrics,
  .retest-rule-facts,
  .retest-dossier-grid {
    grid-template-columns: 1fr;
  }

  .retest-page-switch button {
    min-height: 68px;
    padding: 12px 13px;
  }

  .retest-page-switch button em {
    font-size: 12px;
  }

  .retest-section-head > span {
    display: block;
    max-width: none;
    font-size: 12px;
    text-align: left;
  }

  .retest-timeline > div {
    min-height: 0;
    padding: 13px;
  }

  .retest-timeline > div > span {
    width: 28px;
    height: 28px;
  }

  .retest-rule-grid article {
    min-height: 0;
    padding: 14px;
  }

  .retest-rule-grid article > span {
    width: 30px;
    height: 30px;
  }

  .retest-source-band {
    padding: 14px;
  }

  .retest-catalog-actions,
  .retest-catalog-filters {
    gap: 10px;
  }

  .retest-catalog-actions .compact-action {
    min-height: 40px;
    font-size: 12px;
  }

  .retest-catalog-row {
    gap: 12px;
    padding: 14px;
  }

  .retest-catalog-pager {
    gap: 7px;
  }

  .retest-catalog-pager button {
    min-width: 40px;
  }

  .retest-guide :is(.small-action, .compact-action),
  .adjx-guide :is(.small-action, .compact-action) {
    min-height: 40px;
    font-size: 12.5px;
  }

  .adjx-hero {
    padding: 18px;
  }

  .adjx-hero h3 {
    font-size: 25px;
    line-height: 1.3;
  }

  .adjx-hero-metrics {
    gap: 9px;
  }

  .adjx-hero-metrics div {
    min-height: 88px;
    padding: 13px;
  }

  .adjx-hero-metrics strong {
    font-size: 28px;
  }

  .adjx-page-switch {
    grid-template-columns: 1fr;
  }

  .adjx-page-switch button {
    min-height: 70px;
    padding: 12px 14px;
  }

  .adjx-section-head {
    gap: 8px;
    margin-bottom: 14px;
  }

  .adjx-section-head h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  .adjx-filter-panel {
    gap: 14px;
    padding: 14px;
  }

  .adjx-filter-row {
    gap: 8px;
  }

  .adjx-filter-row button,
  .adjx-major-card button {
    min-height: 40px;
    padding: 7px 12px;
    font-size: 12.5px;
  }

  .adjx-major-groups,
  .adjx-pick-list,
  .adjx-exec-grid,
  .adjx-timeline,
  .adjx-tools > div {
    grid-template-columns: 1fr;
  }

  .adjx-major-card {
    padding: 15px;
  }

  .adjx-major-card h4 {
    font-size: 16px;
  }

  .adjx-difficulty-legend {
    align-items: flex-start;
  }

  .adjx-difficulty-legend small {
    flex-basis: 100%;
    margin-left: 0;
    line-height: 1.6;
  }

  .adjx-school-card > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 15px;
  }

  .adjx-school-name strong {
    font-size: 16px;
  }

  .adjx-school-name span {
    margin-top: 3px;
  }

  .adjx-school-name em {
    margin-top: 5px;
    padding: 4px 7px;
  }

  .adjx-school-flow {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .adjx-school-flow p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 8px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .adjx-school-flow div span {
    padding: 4px 7px;
  }

  .adjx-school-difficulty {
    grid-column: 2;
    grid-row: 1;
  }

  .adjx-school-count {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 3px;
    padding-top: 4px;
    border-top: 1px solid #edf2f8;
    text-align: left;
  }

  .adjx-school-count strong {
    white-space: normal;
    overflow: visible;
  }

  .adjx-school-detail {
    padding: 14px;
  }

  .adjx-condition-head {
    gap: 8px;
  }

  .adjx-condition-row {
    padding: 12px;
  }

  .adjx-condition-row p,
  .adjx-school-detail ul,
  .adjx-shared-conditions ul {
    font-size: 13px;
  }

  .adjx-program-picker select {
    min-height: 44px;
  }

  .adjx-school-source > a {
    display: block;
    padding: 5px 0;
  }

  .adjx-school-source .small-action {
    min-height: 40px;
  }

  .retest-contact-list li {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 7px 0;
    border-top: 1px solid #e7edf5;
  }

  .retest-contact-list li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .adjx-pager {
    gap: 6px;
  }

  .adjx-pager button {
    min-width: 38px;
    height: 38px;
  }

  .adjx-exec-grid article,
  .adjx-timeline div,
  .adjx-tools > div > button {
    padding: 13px;
  }
}

@media (max-width: 430px) {
  .retest-hero h2 {
    font-size: 25px;
  }

  .retest-hero-actions > * {
    flex: 1 1 100%;
  }

  .retest-hero-metrics span {
    font-size: 12px;
    line-height: 1.35;
  }

  .adjx-hero h3 {
    font-size: 23px;
  }

  .adjx-school-card > summary {
    gap: 7px 9px;
  }

  .adjx-school-name strong {
    font-size: 15px;
  }
}

/* ---------- 调剂地区树与个性化即用工具 ---------- */
.adjx-field-region {
  position: relative;
}

.adjx-region-picker {
  position: relative;
  width: 100%;
}

.adjx-region-picker > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-height: 42px;
  padding: 8px 34px 8px 11px;
  border: 1px solid #ccd9eb;
  border-radius: 8px;
  color: #223653;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.adjx-region-picker > summary::-webkit-details-marker,
.adjx-region-group > summary::-webkit-details-marker {
  display: none;
}

.adjx-region-picker > summary::after {
  position: absolute;
  right: 12px;
  color: #60738c;
  font-size: 16px;
  content: "⌄";
}

.adjx-region-picker[open] > summary {
  border-color: #79a8e7;
  box-shadow: 0 0 0 3px rgba(55, 113, 185, 0.09);
}

.adjx-region-picker > summary .adjx-region-value {
  color: #1f3855;
  font-size: 13px;
  font-weight: 780;
}

.adjx-region-picker > summary small {
  overflow: hidden;
  color: #6a7b91;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adjx-region-picker > summary b {
  display: none;
}

.adjx-region-menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 6px);
  left: 0;
  width: min(420px, calc(100vw - 48px));
  max-height: min(420px, 62vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #ccdaeb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(27, 51, 86, 0.2);
}

.adjx-region-all,
.adjx-region-options button {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #2f425c;
  background: #f7f9fc;
  text-align: left;
}

.adjx-region-all strong,
.adjx-region-all small,
.adjx-region-options button strong,
.adjx-region-options button small {
  display: block;
}

.adjx-region-all strong,
.adjx-region-options button strong {
  font-size: 12.5px;
}

.adjx-region-all small,
.adjx-region-options button small {
  margin-top: 2px;
  color: #78879a;
  font-size: 12px;
}

.adjx-region-all:hover,
.adjx-region-all.active,
.adjx-region-options button:hover,
.adjx-region-options button.active {
  border-color: #b9d2f2;
  color: #205fa8;
  background: #eef5ff;
}

.adjx-region-group {
  margin-top: 6px;
  border: 1px solid #e0e8f3;
  border-radius: 10px;
  background: #fff;
}

.adjx-region-group > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 43px;
  padding: 8px 10px;
  border-radius: inherit;
  cursor: pointer;
  list-style: none;
}

.adjx-region-group[open] > summary {
  border-bottom: 1px solid #e8eef6;
  border-radius: 10px 10px 0 0;
  background: #f4f8fd;
}

.adjx-region-group > summary strong {
  color: #253a55;
  font-size: 12.5px;
}

.adjx-region-group > summary small {
  overflow: hidden;
  color: #73849a;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adjx-region-group > summary em {
  color: #4d75a6;
  font-size: 12px;
  font-style: normal;
}

.adjx-region-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
}

.adjx-region-options button:first-child {
  grid-column: 1 / -1;
  background: #f5f9ff;
}

.modal-card.adjustment-tool-modal-card {
  width: min(1060px, 100%);
  max-height: min(92vh, 920px);
}

.adjustment-tool-modal-card .modal-copy {
  max-width: 780px;
}

.adjx-tool-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #d7e5f6;
  border-radius: 10px;
  color: #4e657f;
  background: #f5f9fe;
}

.adjx-tool-note strong {
  color: #24517d;
  font-size: 13px;
}

.adjx-tool-note span {
  color: #697b91;
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.adjx-tool-modal {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: start;
}

.adjx-tool-note,
.adjx-tool-copy-actions {
  grid-column: 1 / -1;
}

.adjx-tool-form {
  display: grid;
  gap: 12px;
}

.adjx-tool-group {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #dfe8f4;
  border-radius: 11px;
  background: #fbfdff;
}

.adjx-tool-group legend {
  padding: 0 6px;
  color: #294764;
  font-size: 13px;
  font-weight: 820;
}

.adjx-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.adjx-tool-field {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.adjx-tool-field.wide {
  grid-column: 1 / -1;
}

.adjx-tool-field > span {
  color: #52657d;
  font-size: 12px;
  font-weight: 720;
}

.adjx-tool-field :is(input, textarea) {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #cddaea;
  border-radius: 8px;
  color: #223653;
  background: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  outline: 0;
}

.adjx-tool-field textarea {
  min-height: 76px;
  resize: vertical;
}

.adjx-tool-field :is(input, textarea):focus {
  border-color: #76a6e6;
  box-shadow: 0 0 0 3px rgba(55, 113, 185, 0.09);
}

.adjx-tool-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.adjx-tool-output {
  position: sticky;
  top: 0;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d7e3f2;
  border-radius: 12px;
  background: linear-gradient(155deg, #fff, #f8fbff);
}

.adjx-tool-output > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.adjx-tool-output > header span,
.adjx-tool-output > header strong {
  display: block;
}

.adjx-tool-output > header span {
  color: #4070a6;
  font-size: 12px;
  font-weight: 800;
}

.adjx-tool-output > header strong {
  margin-top: 2px;
  color: #213a56;
  font-size: 16px;
}

.adjx-tool-output > header small {
  color: #708097;
  font-size: 12px;
}

.adjx-tool-subject {
  display: grid;
  gap: 3px;
  margin: 11px 0;
  padding: 10px 11px;
  border: 1px solid #dfe9f5;
  border-radius: 8px;
  background: #fff;
}

.adjx-tool-subject span {
  color: #718198;
  font-size: 12px;
}

.adjx-tool-subject strong {
  color: #264666;
  font-size: 12.5px;
  line-height: 1.55;
}

.adjx-tool-output .adjx-template-text {
  max-height: 56vh;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
}

.adjx-tool-copy-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 900px) {
  .adjx-tool-modal {
    grid-template-columns: 1fr;
  }

  .adjx-tool-output {
    position: static;
  }

  .adjx-tool-output .adjx-template-text {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .modal-card.adjustment-tool-modal-card {
    width: 100%;
    max-height: 94vh;
    padding: 16px;
  }

  .adjx-tool-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .adjx-tool-note span {
    text-align: left;
  }

  .adjx-tool-grid {
    grid-template-columns: 1fr;
  }

  .adjx-tool-field {
    grid-column: 1 / -1;
  }

  .adjx-region-picker > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .adjx-region-picker > summary small {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .adjx-region-picker > summary b {
    display: block;
    color: #5077a5;
    font-size: 12px;
    font-weight: 700;
  }

  .adjx-region-menu {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 7px;
    box-shadow: 0 8px 24px rgba(27, 51, 86, 0.11);
  }

  .adjx-region-options {
    grid-template-columns: 1fr;
  }

  .adjx-region-options button:first-child {
    grid-column: auto;
  }

  .adjx-region-group > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .adjx-region-group > summary small {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .adjx-tool-form-actions,
  .adjx-tool-copy-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .adjx-tool-form-actions > *,
  .adjx-tool-copy-actions > * {
    width: 100%;
    min-height: 42px;
  }
}

/* ---------- 调剂执行清单：四阶段流程 ---------- */
.adjx-execution-intro {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: -2px 0 14px;
  padding: 10px 12px;
  border-left: 3px solid #3f79bd;
  border-radius: 0 8px 8px 0;
  color: #52677f;
  background: #f5f9fe;
}

.adjx-execution-intro strong {
  flex: 0 0 auto;
  color: #25496e;
  font-size: 12.5px;
}

.adjx-execution-intro span {
  color: #61748b;
  font-size: 12px;
  line-height: 1.55;
}

.adjx-execution-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.adjx-execution-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
}

.adjx-execution-marker {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding-left: 12px;
}

.adjx-execution-marker span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3e72ae;
  font-size: 11px;
  font-weight: 850;
}

.adjx-execution-marker i {
  position: relative;
  flex: 1;
  height: 1px;
  background: #cddaeb;
}

.adjx-execution-marker i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid #aebfd4;
  border-right: 1px solid #aebfd4;
  content: "";
  transform: rotate(45deg);
}

.adjx-execution-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-width: 0;
  padding: 14px;
  border: 1px solid #dce6f2;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff, #f9fbfe);
}

.adjx-execution-body > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.adjx-execution-body > header small,
.adjx-execution-body > header h4 {
  display: block;
}

.adjx-execution-body > header small {
  color: #3870ab;
  font-size: 12px;
  font-weight: 760;
}

.adjx-execution-body > header h4 {
  margin: 3px 0 0;
  color: #243b56;
  font-size: 15.5px;
  line-height: 1.45;
}

.adjx-execution-body > header em {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  color: #516e8e;
  background: #edf3fa;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.adjx-execution-body > p {
  margin: 9px 0 10px;
  color: #586b81;
  font-size: 12.5px;
  line-height: 1.65;
}

.adjx-execution-body > ol {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: #40556e;
  font-size: 12.5px;
  line-height: 1.65;
}

.adjx-execution-body > ol li::marker {
  color: #3f76b2;
  font-weight: 850;
}

.adjx-execution-body > footer {
  display: grid;
  gap: 3px;
  margin-top: 13px;
  padding: 9px 10px;
  border: 1px solid #d7e8df;
  border-radius: 8px;
  background: #f2faf6;
}

.adjx-execution-body > footer span {
  color: #39735b;
  font-size: 12px;
  font-weight: 760;
}

.adjx-execution-body > footer strong {
  color: #285944;
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .adjx-execution-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .adjx-execution-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .adjx-execution-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .adjx-execution-marker {
    height: 27px;
    padding-left: 8px;
  }

  .adjx-execution-marker i {
    display: none;
  }

  .adjx-execution-body {
    padding: 14px;
  }

  .adjx-execution-body > header {
    gap: 8px;
  }

  .adjx-execution-body > header h4 {
    font-size: 16px;
  }

  .adjx-execution-body > p,
  .adjx-execution-body > ol {
    font-size: 13px;
  }

  .adjx-execution-body > footer span,
  .adjx-execution-body > footer strong {
    font-size: 12px;
  }
}

/* ---------- AI 复试模拟面试 ---------- */
.retest-mock-interview {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d9e5f5;
  border-radius: 14px;
  background:
    radial-gradient(circle at 96% 0, rgba(87, 116, 211, 0.1), transparent 32%),
    linear-gradient(150deg, #fff, #f8faff);
  box-shadow: 0 8px 24px rgba(31, 53, 88, 0.06);
}

.retest-mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.retest-mock-head p,
.retest-mock-head h3 {
  margin: 0;
}

.retest-mock-head p {
  margin-bottom: 4px;
  color: #506f9b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.retest-mock-head h3 {
  color: #1e304a;
  font-size: 23px;
  line-height: 1.35;
}

.retest-mock-head > span,
.retest-mock-head-actions > span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #d6e1ef;
  border-radius: 999px;
  color: #5f7187;
  background: #f3f7fb;
  font-size: 12px;
  font-weight: 750;
}

.retest-mock-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.retest-mock-head-actions .text-action {
  font-size: 12px;
  white-space: nowrap;
}

.retest-mock-head > span.is-ai,
.retest-mock-head-actions > span.is-ai {
  border-color: #c8d9f8;
  color: #295b9a;
  background: #edf4ff;
}

.retest-interview-setup {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
}

.retest-interview-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.retest-interview-fields label,
.retest-answer-form label {
  display: grid;
  gap: 5px;
}

.retest-interview-fields label > span,
.retest-answer-form label > span {
  color: #52657d;
  font-size: 12px;
  font-weight: 750;
}

.retest-interview-fields :is(select, input),
.retest-interview-setup textarea,
.retest-answer-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #ccd9e9;
  border-radius: 8px;
  color: #243a55;
  background: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  outline: 0;
}

.retest-interview-setup textarea,
.retest-answer-form textarea {
  resize: vertical;
}

.retest-interview-fields :is(select, input):focus,
.retest-interview-setup textarea:focus,
.retest-answer-form textarea:focus {
  border-color: #7ca9e6;
  box-shadow: 0 0 0 3px rgba(55, 113, 185, 0.09);
}

.retest-material-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.retest-material-head strong,
.retest-material-head small {
  display: block;
}

.retest-material-head strong {
  color: #304a68;
  font-size: 12.5px;
}

.retest-material-head small {
  margin-top: 2px;
  color: #73849a;
  font-size: 12px;
  line-height: 1.5;
}

.retest-material-upload {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #c9d9ec;
  border-radius: 8px;
  color: #2c5f98;
  background: #f4f8fe;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.retest-material-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.retest-round-config {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 11px;
  border: 1px solid #e0e7f1;
  border-radius: 9px;
  background: #f8fafc;
}

.retest-round-config label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.retest-round-config label > span {
  color: #4d627b;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.retest-round-config select {
  min-height: 36px;
  padding: 0 28px 0 9px;
  border: 1px solid #cbd8e7;
  border-radius: 7px;
  color: #27425f;
  background: #fff;
  font: inherit;
  font-size: 12.5px;
}

.retest-round-config > div {
  min-width: 0;
  text-align: right;
}

.retest-round-config strong,
.retest-round-config small {
  display: block;
}

.retest-round-config strong {
  color: #365f8d;
  font-size: 12px;
}

.retest-round-config small {
  margin-top: 2px;
  color: #73849a;
  font-size: 12px;
  line-height: 1.45;
}

.retest-interview-awaiting {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 16px;
  border: 1px dashed #cbd9e9;
  border-radius: 11px;
  background: #f8fbff;
}

.retest-interview-awaiting > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #5576a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.retest-interview-awaiting strong {
  color: #29445f;
  font-size: 14px;
}

.retest-interview-awaiting p {
  margin: 4px 0 0;
  color: #5f738a;
  font-size: 13px;
  line-height: 1.65;
}

.retest-interview-setup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.retest-interview-setup-footer > span {
  color: #697b91;
  font-size: 12px;
  line-height: 1.5;
}

.retest-interview-setup-footer > .compact-action {
  margin-left: auto;
}

.retest-interview-status {
  padding: 9px 11px;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  color: #50667f;
  background: #f7faff;
  font-size: 12px;
  line-height: 1.55;
}

.retest-interview-status.is-busy {
  border-color: #c5d8f3;
  color: #315d91;
  background: #edf5ff;
}

.retest-interview-loading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 16px;
  border: 1px solid #d7e4f4;
  border-radius: 11px;
  background: #f8fbff;
}

.retest-interview-loading > span {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  border: 3px solid #c9dbf1;
  border-top-color: #3f79bd;
  border-radius: 50%;
  animation: retest-spin 0.8s linear infinite;
}

.retest-interview-loading strong {
  color: #284a6d;
  font-size: 13px;
}

.retest-interview-loading small {
  color: #718298;
  font-size: 12px;
}

@keyframes retest-spin {
  to { transform: rotate(360deg); }
}

.retest-ai-question {
  margin: 0;
}

.retest-question-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.retest-question-context span,
.retest-question-context strong {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.retest-question-context span {
  color: #506a8b;
  background: #eef4fb;
}

.retest-question-context strong {
  color: #2f649c;
  background: #eaf3ff;
}

.retest-question-basis {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 9px 0 15px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #5f7187;
  background: #f4f7fb;
  font-size: 12px;
  line-height: 1.55;
}

.retest-question-basis span {
  flex: 0 0 auto;
  color: #395c84;
  font-weight: 800;
}

.retest-answer-form {
  display: grid;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px solid #e4eaf3;
}

.retest-answer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.retest-answer-meta span {
  color: #73849a;
  font-size: 12px;
  line-height: 1.5;
}

.retest-answer-meta > .compact-action {
  margin-left: auto;
}

.retest-interview-feedback {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8e6f3;
  border-radius: 11px;
  background: #fff;
}

.retest-interview-feedback > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.retest-interview-feedback > header span,
.retest-interview-feedback > header strong {
  display: block;
}

.retest-interview-feedback > header span {
  color: #4370a4;
  font-size: 12px;
  font-weight: 800;
}

.retest-interview-feedback > header strong {
  margin-top: 2px;
  color: #293f59;
  font-size: 14px;
}

.retest-interview-feedback > header > b {
  color: #2e6ca9;
  font-size: 27px;
  line-height: 1;
}

.retest-interview-feedback > header > b small {
  color: #718297;
  font-size: 12px;
}

.retest-feedback-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.retest-feedback-columns section {
  padding: 11px;
  border: 1px solid #e1eaf4;
  border-radius: 9px;
  background: #fafcff;
}

.retest-feedback-columns h4 {
  margin: 0 0 7px;
  color: #314b68;
  font-size: 13px;
}

.retest-feedback-columns ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #4d627a;
  font-size: 12.5px;
  line-height: 1.65;
}

.retest-interview-feedback blockquote {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #7a6bc2;
  border-radius: 0 8px 8px 0;
  background: #f7f5ff;
}

.retest-interview-feedback blockquote span {
  color: #6c5ca6;
  font-size: 12px;
  font-weight: 800;
}

.retest-interview-feedback blockquote strong {
  color: #40375f;
  font-size: 13px;
  line-height: 1.6;
}

.retest-feedback-outline {
  display: grid;
  gap: 5px;
}

.retest-feedback-outline > span {
  color: #4c6078;
  font-size: 12px;
  font-weight: 800;
}

.retest-feedback-outline ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.retest-feedback-outline li {
  padding: 5px 8px;
  border-radius: 999px;
  color: #3f5d7b;
  background: #eef4fb;
  font-size: 12px;
}

.retest-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5ebf3;
}

.retest-mock-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 12px;
}

.retest-mock-empty > span {
  color: #4f7198;
  font-size: 12px;
  font-weight: 800;
}

.retest-mock-empty h3 {
  margin: 0;
  color: #253b56;
  font-size: 20px;
}

.retest-mock-empty p {
  margin: 0 0 5px;
  color: #607389;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .retest-mock-interview {
    padding: 15px;
  }

  .retest-mock-head {
    flex-direction: column;
    gap: 8px;
  }

  .retest-mock-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .retest-mock-head h3 {
    font-size: 21px;
  }

  .retest-interview-fields,
  .retest-feedback-columns {
    grid-template-columns: 1fr;
  }

  .retest-material-head,
  .retest-round-config,
  .retest-interview-setup-footer,
  .retest-answer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .retest-round-config label {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .retest-round-config select {
    width: 100%;
    min-height: 42px;
  }

  .retest-round-config > div {
    text-align: left;
  }

  .retest-material-upload {
    width: 100%;
  }

  .retest-interview-setup-footer .compact-action,
  .retest-answer-meta .compact-action {
    width: 100%;
  }

  .retest-question-actions .compact-action {
    flex: 1 1 calc(50% - 4px);
  }
}

/* ---------- AI 模拟面试：聊天式问答与复盘文档 ---------- */
.retest-interview-config {
  border: 1px solid #dce6f3;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
}

.retest-interview-config > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 10px 13px;
  border-radius: inherit;
  color: #314c6b;
  cursor: pointer;
  list-style: none;
}

.retest-interview-config > summary::-webkit-details-marker {
  display: none;
}

.retest-interview-config[open] > summary {
  border-bottom: 1px solid #e2eaf4;
  border-radius: 11px 11px 0 0;
  background: #f6f9fd;
}

.retest-interview-config > summary span {
  color: #3b6595;
  font-size: 12px;
  font-weight: 820;
}

.retest-interview-config > summary strong {
  overflow: hidden;
  color: #273e59;
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-interview-config > summary em {
  color: #55779d;
  font-size: 12px;
  font-style: normal;
}

.retest-interview-config .retest-interview-setup {
  border: 0;
  border-radius: 0 0 11px 11px;
}

.retest-chat-stream {
  display: grid;
  gap: 18px;
  padding: 16px;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background:
    linear-gradient(rgba(248, 251, 255, 0.92), rgba(249, 251, 254, 0.92)),
    radial-gradient(circle at 90% 0, rgba(92, 118, 190, 0.11), transparent 30%);
}

.retest-chat-intro,
.retest-chat-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.retest-chat-intro > i,
.retest-chat-line > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #406fae;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.retest-chat-intro > div {
  padding: 10px 12px;
  border: 1px solid #d9e5f4;
  border-radius: 2px 11px 11px 11px;
  background: #fff;
}

.retest-chat-intro span {
  display: block;
  color: #34669d;
  font-size: 12px;
  font-weight: 800;
}

.retest-chat-intro p {
  margin: 4px 0 0;
  color: #52677f;
  font-size: 13px;
  line-height: 1.65;
}

.retest-chat-turn {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #dbe4ef;
}

.retest-chat-turn:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.retest-chat-line.is-user {
  grid-template-columns: minmax(0, 1fr) 34px;
  justify-content: end;
}

.retest-chat-line.is-user > i {
  grid-column: 2;
  color: #315f8d;
  background: #dceafa;
}

.retest-chat-line.is-user .retest-chat-bubble {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.retest-chat-bubble {
  width: fit-content;
  max-width: min(86%, 920px);
  padding: 12px 14px;
  border: 1px solid #dbe5f1;
  border-radius: 3px 12px 12px 12px;
  background: #fff;
}

.retest-chat-line.is-user .retest-chat-bubble {
  border-color: #cbdff4;
  border-radius: 12px 3px 12px 12px;
  background: #edf5ff;
}

.retest-chat-bubble > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.retest-chat-bubble > header span {
  color: #526fa0;
  font-size: 12px;
  font-weight: 820;
}

.retest-chat-bubble > header em {
  color: #7b8aa0;
  font-size: 12px;
  font-style: normal;
}

.retest-chat-bubble h4 {
  margin: 10px 0 7px;
  color: #263b55;
  font-size: 17px;
  line-height: 1.6;
}

.retest-chat-bubble p {
  margin: 0;
  color: #586b81;
  font-size: 13px;
  line-height: 1.68;
  white-space: pre-wrap;
}

.retest-chat-bubble > small {
  display: block;
  margin-top: 8px;
  color: #6e8095;
  font-size: 12px;
}

.retest-chat-line.is-user .retest-chat-bubble > span {
  display: block;
  margin-bottom: 5px;
  color: #4674a4;
  font-size: 12px;
  font-weight: 800;
}

.retest-chat-composer {
  display: grid;
  gap: 8px;
  margin-left: 44px;
  padding: 12px;
  border: 1px solid #cfdeef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(40, 70, 105, 0.05);
}

.retest-chat-composer label {
  display: grid;
  gap: 5px;
}

.retest-chat-composer label > span {
  color: #455f7d;
  font-size: 12px;
  font-weight: 750;
}

.retest-chat-composer textarea {
  width: 100%;
  min-height: 108px;
  padding: 10px 11px;
  border: 1px solid #ccd9e9;
  border-radius: 8px;
  color: #263b55;
  background: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.65;
  outline: 0;
  resize: vertical;
}

.retest-chat-composer textarea:focus {
  border-color: #76a5e2;
  box-shadow: 0 0 0 3px rgba(55, 113, 185, 0.09);
}

.retest-chat-composer > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.retest-chat-composer > div small {
  color: #708197;
  font-size: 12px;
  line-height: 1.5;
}

.retest-chat-feedback {
  width: min(92%, 940px);
  border-color: #d9d5ef;
  background: linear-gradient(150deg, #fff, #faf9ff);
}

.retest-chat-feedback > header b {
  color: #6652ab;
  font-size: 24px;
  line-height: 1;
}

.retest-chat-feedback > header b small {
  color: #7d7598;
  font-size: 12px;
}

.retest-chat-feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.retest-chat-feedback-grid section {
  padding: 10px;
  border: 1px solid #e4e5f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.retest-chat-feedback-grid strong {
  color: #3f526d;
  font-size: 12.5px;
}

.retest-chat-feedback-grid ul {
  display: grid;
  gap: 4px;
  margin: 6px 0 0;
  padding-left: 17px;
  color: #50647c;
  font-size: 12.5px;
  line-height: 1.6;
}

.retest-chat-feedback blockquote {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-left: 3px solid #7d6cc4;
  border-radius: 0 8px 8px 0;
  color: #494264;
  background: #f5f2ff;
  font-size: 13px;
  line-height: 1.6;
}

.retest-chat-feedback blockquote span {
  display: block;
  margin-bottom: 3px;
  color: #6d60a2;
  font-size: 12px;
  font-weight: 800;
}

.retest-reference-answer {
  margin-top: 10px;
  border-top: 1px solid #e4e1f0;
  padding-top: 9px;
}

.retest-reference-answer > summary {
  color: #4e6292;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 760;
}

.retest-reference-answer ol {
  margin: 8px 0;
  padding-left: 19px;
  color: #53647a;
  font-size: 12.5px;
  line-height: 1.6;
}

.retest-reference-answer > p {
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  color: #364d68;
  background: #f6f8fc;
  font-size: 13px;
  line-height: 1.75;
}

.retest-chat-controls,
.retest-interview-export-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: 44px;
}

.retest-interview-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #cfe1f4;
  border-radius: 13px;
  background:
    radial-gradient(circle at 95% 0, rgba(62, 141, 166, 0.12), transparent 32%),
    linear-gradient(145deg, #fff, #f2f9ff);
}

.retest-interview-summary > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.retest-interview-summary > header span,
.retest-interview-summary > header h4 {
  display: block;
}

.retest-interview-summary > header span {
  color: #36769a;
  font-size: 12px;
  font-weight: 850;
}

.retest-interview-summary > header h4 {
  margin: 3px 0 0;
  color: #213c58;
  font-size: 19px;
}

.retest-interview-summary > header > b {
  color: #287d94;
  font-size: 31px;
  line-height: 1;
}

.retest-interview-summary > header > b small {
  display: block;
  margin-top: 4px;
  color: #687f94;
  font-size: 11.5px;
  font-weight: 650;
}

.retest-interview-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.retest-interview-summary-stats div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dce8f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.retest-interview-summary-stats span,
.retest-interview-summary-stats strong {
  display: block;
}

.retest-interview-summary-stats span {
  color: #718399;
  font-size: 12px;
}

.retest-interview-summary-stats strong {
  margin-top: 3px;
  color: #2c4865;
  font-size: 12.5px;
  line-height: 1.5;
}

.retest-interview-summary > p {
  margin: 0;
  color: #50667f;
  font-size: 12.5px;
  line-height: 1.65;
}

.retest-interview-final-advice {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e0e7f1;
  border-radius: 9px;
  background: #fff;
}

.retest-interview-final-advice h4 {
  margin: 0;
  color: #2e4965;
  font-size: 14px;
}

.retest-interview-final-advice ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #4f647c;
  font-size: 12.5px;
  line-height: 1.65;
}

.retest-interview-final-advice li::marker {
  color: #3e76b2;
  font-weight: 850;
}

@media (max-width: 760px) {
  .retest-chat-stream {
    padding: 12px;
  }

  .retest-chat-intro,
  .retest-chat-line {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }

  .retest-chat-intro > i,
  .retest-chat-line > i {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  .retest-chat-line.is-user {
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .retest-chat-bubble,
  .retest-chat-feedback {
    width: auto;
    max-width: 100%;
  }

  .retest-chat-bubble h4 {
    font-size: 16px;
  }

  .retest-chat-composer,
  .retest-chat-controls {
    margin-left: 0;
  }

  .retest-chat-composer > div {
    align-items: stretch;
    flex-direction: column;
  }

  .retest-chat-composer > div .compact-action {
    width: 100%;
  }

  .retest-chat-feedback-grid,
  .retest-interview-summary-stats {
    grid-template-columns: 1fr;
  }

  .retest-chat-controls .compact-action,
  .retest-interview-export-actions .compact-action {
    flex: 1 1 100%;
    width: 100%;
  }

  .retest-interview-config > summary {
    grid-template-columns: 1fr auto;
  }

  .retest-interview-config > summary strong {
    grid-column: 1 / -1;
    grid-row: 2;
    white-space: normal;
  }
}

/* ---------- 模拟面试说明、参考回答与独立材料页 ---------- */
.retest-page-switch {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.retest-ai-review-badge {
  display: inline-flex;
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #5f4eb3;
  background: #eeeaff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  vertical-align: middle;
}

.retest-minute-guide {
  display: grid;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid #dfe5f4;
  border-radius: 12px;
  background: linear-gradient(150deg, #fbfaff, #fff);
}

.retest-minute-guide > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.retest-minute-guide > header span,
.retest-minute-guide > header h4 {
  display: block;
}

.retest-minute-guide > header span {
  color: #6552b1;
  font-size: 12px;
  font-weight: 820;
}

.retest-minute-guide > header h4 {
  margin: 2px 0 0;
  color: #263650;
  font-size: 16px;
}

.retest-minute-guide > header p {
  margin: 0;
  color: #63768d;
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.retest-minute-guide > header p b {
  color: #386fae;
  font-weight: 820;
}

.retest-minute-guide > header small {
  color: #677991;
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.retest-minute-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.retest-minute-steps > div {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 2px 8px;
  padding: 10px;
  border: 1px solid #e0e5f3;
  border-radius: 9px;
  background: #fff;
}

.retest-minute-steps b {
  grid-row: 1 / 3;
  align-self: center;
  color: #386fae;
  font-size: 12px;
}

.retest-minute-steps strong {
  color: #314760;
  font-size: 13px;
}

.retest-minute-steps span {
  color: #687a91;
  font-size: 12px;
  line-height: 1.5;
}

.retest-minute-reference {
  border-top: 1px solid #e3e5f0;
  padding-top: 10px;
}

.retest-minute-reference > summary {
  color: #554799;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
}

.retest-minute-reference > p {
  margin: 10px 0;
  padding: 12px 13px;
  border: 1px solid #e2def2;
  border-radius: 9px;
  color: #3c4f69;
  background: #fff;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.retest-minute-reference > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.retest-minute-reference > footer > span {
  color: #6c7c92;
  font-size: 12px;
  line-height: 1.5;
}

.retest-materials-page {
  display: grid;
  gap: 14px;
}

.retest-materials-page .retest-checklist-card {
  width: 100%;
}

@media (max-width: 1100px) {
  .retest-page-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .retest-minute-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .retest-page-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .retest-page-switch {
    grid-template-columns: 1fr;
  }

  .retest-minute-guide {
    padding: 12px;
  }

  .retest-minute-guide > header,
  .retest-minute-reference > footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .retest-minute-guide > header p {
    text-align: left;
  }

  .retest-minute-steps {
    grid-template-columns: 1fr;
  }

  .retest-minute-reference .compact-action {
    width: 100%;
    min-height: 40px;
  }
}

/* ---------- Offerbiu 式复试工作区与简历版式 ---------- */
#modulePanel:has(.retest-guide) {
  padding: 18px;
  border: 1px solid #dbe6f3;
  border-radius: 16px;
  background: #edf3fa;
  box-shadow: none;
}

.retest-guide {
  color: #1f2f45;
  line-height: 1.55;
}

.retest-guide > section,
.retest-guide > nav,
.retest-guide .retest-page-body > section {
  background-color: #fff;
}

.retest-mock-interview,
.retest-timeline-card,
.retest-rule-section,
.retest-school-page,
.retest-checklist-card,
.retest-question-card,
.retest-expression-card,
.retest-official-links {
  border-color: #dde7f2;
  background-color: #fff;
  box-shadow: 0 4px 14px rgba(41, 70, 105, 0.035);
}

.retest-guide h2,
.retest-guide h3,
.retest-guide h4 {
  letter-spacing: -0.015em;
}

.retest-guide p,
.retest-guide li {
  line-height: 1.62;
}

.modal-card.resume-generator-modal {
  background: #edf3fa;
  border-color: #d9e5f2;
}

.resume-builder {
  gap: 16px;
}

.resume-builder-form,
.resume-output-panel {
  border-color: #dce6f2;
  background: #fff;
  box-shadow: 0 4px 14px rgba(42, 68, 102, 0.04);
}

.resume-builder-form {
  gap: 12px;
}

.resume-form-grid {
  gap: 10px 12px;
}

.resume-form-grid .field span {
  margin-bottom: 5px;
  color: #465a73;
  font-size: 12px;
  line-height: 1.45;
}

.resume-form-grid :is(input, select, textarea) {
  min-height: 40px;
  font-size: 13px;
  line-height: 1.55;
}

.resume-form-grid textarea {
  min-height: 70px;
}

.resume-builder-actions span {
  font-size: 12px;
  line-height: 1.5;
}

.resume-output-panel {
  gap: 12px;
  background: #fff;
}

.resume-output-head .eyebrow {
  color: #3f6ea8;
  font-size: 11px;
}

.resume-output-head h3 {
  font-size: 18px;
  line-height: 1.4;
}

.resume-preview-empty {
  min-height: 420px;
  background: #fff;
}

.resume-sheet {
  line-height: 1.62;
}

.resume-sheet-head {
  padding-bottom: 15px;
}

.resume-sheet-head p {
  font-size: 11.5px;
}

.resume-sheet-head h2 {
  margin-top: 6px;
  font-size: 27px;
  line-height: 1.25;
}

.resume-sheet-head span,
.resume-sheet-head address {
  font-size: 12px;
  line-height: 1.65;
}

.resume-sheet-section {
  gap: 7px;
  padding: 14px 0;
}

.resume-sheet-section h3 {
  font-size: 14.5px;
  line-height: 1.45;
}

.resume-sheet-section p,
.resume-sheet-section ul {
  font-size: 13px;
  line-height: 1.68;
}

@media (max-width: 760px) {
  #modulePanel:has(.retest-guide) {
    padding: 10px;
    border-radius: 13px;
  }
}

/* —— 复试 / 调剂简历生成器 —— */
.modal-card.resume-generator-modal {
  width: min(1180px, calc(100vw - 44px));
  max-height: min(93vh, 980px);
  padding: 26px 28px 32px;
  border-radius: 16px;
}

.resume-builder {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.resume-builder-form,
.resume-output-panel {
  padding: 18px;
  border: 1px solid #e4ebf5;
  border-radius: 14px;
  background: #fff;
}

.resume-builder-form {
  display: grid;
  gap: 14px;
}

.resume-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.resume-form-grid .field.full {
  grid-column: 1 / -1;
}

.resume-form-grid textarea {
  min-height: 74px;
  resize: vertical;
  line-height: 1.55;
}

.resume-builder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.resume-builder-actions span {
  color: #8492a6;
  font-size: 11.5px;
}

.resume-output-panel {
  display: grid;
  gap: 13px;
  background: #f7f9fc;
}

.resume-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resume-output-head h3 {
  margin: 3px 0 0;
  color: #20334d;
  font-size: 20px;
  font-weight: 760;
}

.resume-output-head > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.resume-preview-empty {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px dashed #ccd9ea;
  border-radius: 12px;
  color: #7c8ba0;
  background: repeating-linear-gradient(0deg, #fff, #fff 27px, #f4f7fb 28px);
  text-align: center;
}

.resume-preview-empty span {
  color: #50627a;
  font-size: 15px;
  font-weight: 700;
}

.resume-preview-empty small {
  font-size: 12px;
}

.resume-sheet {
  padding: 30px 32px;
  border: 1px solid #dfe7f2;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 57, 98, 0.075);
}

.resume-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 17px;
  border-bottom: 2px solid #2f6ef0;
}

.resume-sheet-head p {
  margin: 0;
  color: #2f6ef0;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.resume-sheet-head h2 {
  margin: 7px 0 4px;
  color: #17263c;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.resume-sheet-head span,
.resume-sheet-head address {
  color: #526176;
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}

.resume-sheet-head address {
  max-width: 250px;
  text-align: right;
}

.resume-sheet-section {
  display: grid;
  gap: 8px;
  padding: 15px 0;
  border-bottom: 1px solid #e8edf4;
}

.resume-sheet-section h3 {
  margin: 0;
  color: #1f3551;
  font-size: 15px;
  font-weight: 760;
}

.resume-sheet-section p,
.resume-sheet-section ul {
  margin: 0;
  color: #45566d;
  font-size: 13px;
  line-height: 1.7;
}

.resume-sheet-section ul {
  padding-left: 18px;
}

.resume-sheet-section li + li {
  margin-top: 4px;
}

.resume-sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  color: #98a2b2;
  font-size: 10.5px;
}

@media (max-width: 900px) {
  .resume-builder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .modal-card.resume-generator-modal {
    width: calc(100vw - 20px);
    padding: 18px 14px 24px;
  }

  .resume-form-grid {
    grid-template-columns: 1fr;
  }

  .resume-form-grid .field.full {
    grid-column: 1;
  }

  .resume-output-head,
  .resume-sheet-head,
  .resume-sheet-foot {
    flex-direction: column;
  }

  .resume-sheet {
    padding: 22px 18px;
  }

  .resume-sheet-head address {
    max-width: none;
    text-align: left;
  }
}

/* —— 全局框体交互反馈 —— */
:is(
  .dashboard-card,
  .module-card,
  .side-block,
  .target-school-card,
  .result-card,
  .plan-card,
  .school-row,
  .school-hero-detail,
  .detail-section,
  .compare-school-profile,
  .compare-compact-table .compact-row,
  .recommend-school,
  .planning-profile-snapshot article,
  .planning-profile-form .field,
  .account-hero,
  .membership-card,
  .benefit-card,
  .today-task,
  .todo-entry,
  .summary-grid article,
  .priority-card,
  .next-step-card,
  .study-option-card,
  .ai-school-card,
  .ai-profile-option,
  .ai-pro-preview,
  .pro-report-metrics article,
  .pro-signal-card,
  .pro-score-target-grid article,
  .pro-action-grid article,
  .analysis-report-glance span,
  .analysis-decision-grid article,
  .analysis-metric-grid div,
  .analysis-section,
  .capacity-chips span,
  .insight-point-list li,
  .adjx-pick,
  .adjx-major-card,
  .adjx-coverage-card,
  .adjx-execution-stage,
  .adjx-tools > div > button,
  .adjx-tools > div > a,
  .retest-school-card,
  .retest-timeline-card,
  .retest-focus-card,
  .retest-school-page,
  .retest-checklist-card,
  .retest-question-card,
  .retest-expression-card,
  .retest-school-rail > button,
  .retest-catalog-row,
  .retest-mock-interview,
  .retest-interview-awaiting
) {
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

:is(
  .dashboard-card,
  .module-card,
  .side-block,
  .target-school-card,
  .result-card,
  .plan-card,
  .school-row,
  .school-hero-detail,
  .detail-section,
  .compare-school-profile,
  .compare-compact-table .compact-row,
  .recommend-school,
  .planning-profile-snapshot article,
  .account-hero,
  .membership-card,
  .benefit-card,
  .today-task,
  .todo-entry,
  .summary-grid article,
  .priority-card,
  .next-step-card,
  .study-option-card,
  .ai-school-card,
  .ai-profile-option,
  .ai-pro-preview,
  .pro-report-metrics article,
  .pro-signal-card,
  .pro-score-target-grid article,
  .pro-action-grid article,
  .analysis-report-glance span,
  .analysis-decision-grid article,
  .analysis-metric-grid div,
  .analysis-section,
  .capacity-chips span,
  .insight-point-list li,
  .adjx-pick,
  .adjx-major-card,
  .adjx-coverage-card,
  .adjx-execution-stage,
  .adjx-tools > div > button,
  .adjx-tools > div > a,
  .retest-school-card,
  .retest-timeline-card,
  .retest-focus-card,
  .retest-school-page,
  .retest-checklist-card,
  .retest-question-card,
  .retest-expression-card,
  .retest-school-rail > button,
  .retest-catalog-row,
  .retest-mock-interview,
  .retest-interview-awaiting
):hover {
  border-color: #bfd3f1;
  box-shadow: 0 12px 26px rgba(38, 57, 98, 0.1);
  transform: translateY(-1px);
}

:is(
  .dashboard-card,
  .module-card,
  .side-block,
  .target-school-card,
  .result-card,
  .plan-card,
  .school-row,
  .school-hero-detail,
  .detail-section,
  .compare-school-profile,
  .compare-compact-table .compact-row,
  .recommend-school,
  .planning-profile-snapshot article,
  .account-hero,
  .membership-card,
  .benefit-card,
  .today-task,
  .todo-entry,
  .summary-grid article,
  .priority-card,
  .next-step-card,
  .study-option-card,
  .ai-school-card,
  .ai-profile-option,
  .ai-pro-preview,
  .pro-report-metrics article,
  .pro-signal-card,
  .pro-score-target-grid article,
  .pro-action-grid article,
  .analysis-report-glance span,
  .analysis-decision-grid article,
  .analysis-metric-grid div,
  .analysis-section,
  .capacity-chips span,
  .insight-point-list li,
  .adjx-pick,
  .adjx-major-card,
  .adjx-coverage-card,
  .adjx-execution-stage,
  .adjx-tools > div > button,
  .adjx-tools > div > a,
  .retest-school-card,
  .retest-timeline-card,
  .retest-focus-card,
  .retest-school-page,
  .retest-checklist-card,
  .retest-question-card,
  .retest-expression-card,
  .retest-school-rail > button,
  .retest-catalog-row
):active {
  transform: scale(0.994);
  box-shadow: 0 5px 12px rgba(38, 57, 98, 0.08);
  transition-duration: 0.06s;
}

:is(
  .side-block,
  .detail-section,
  .planning-profile-form .field,
  .ai-school-card,
  .ai-profile-option,
  .analysis-section,
  .adjx-pick,
  .retest-school-card,
  .retest-catalog-row,
  .retest-mock-interview
):focus-within {
  border-color: #a9c6ef;
  box-shadow: 0 0 0 3px rgba(61, 115, 218, 0.1), 0 10px 24px rgba(38, 57, 98, 0.08);
}

/* —— 统一办公式排版节奏 —— */
h1,
h2,
h3,
h4,
.module-title h2,
.section-title-row h3 {
  font-optical-sizing: auto;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.module-actions {
  gap: 10px;
}

.module-actions .ghost-action {
  min-height: 40px;
}

.side-block {
  gap: 16px;
  padding: 20px;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
}

.side-block h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.detail-section {
  gap: 20px;
  padding: 26px;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
}

.school-detail-layout {
  gap: 22px;
}

.ai-form-panel,
.ai-result-panel {
  gap: 19px;
  padding: 24px;
}

.ai-form-head h3,
.ai-result-head h3 {
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.form-grid,
.resume-form-grid {
  gap: 14px;
}

.primary-action,
.secondary-action,
.ghost-action,
.small-action {
  letter-spacing: 0.01em;
}

.small-action {
  min-height: 34px;
  font-weight: 680;
}

.planning-profile-snapshot article {
  min-height: 82px;
  padding: 14px 16px;
}

.planning-profile-snapshot strong {
  font-size: 18px;
  font-weight: 720;
}

.daily-card-heading strong {
  font-weight: 700;
}

::placeholder {
  color: #98a3b3;
  opacity: 1;
}

/* Final cascade: keep the retest workspace airy and every content surface white. */
.modal-card.resume-generator-modal .resume-builder-form,
.modal-card.resume-generator-modal .resume-output-panel {
  border-color: #dce6f2;
  background: #fff;
  box-shadow: 0 4px 14px rgba(42, 68, 102, 0.04);
}

.modal-card.resume-generator-modal .resume-builder-form {
  gap: 12px;
}

.modal-card.resume-generator-modal .resume-builder-actions span,
.modal-card.resume-generator-modal .resume-output-head .eyebrow,
.modal-card.resume-generator-modal .resume-sheet-head p,
.modal-card.resume-generator-modal .resume-sheet-foot {
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Offerbiu 式蓝色导航与复试阅读节奏 ---------- */
.sidebar {
  border-right-color: #d5e3f7;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.9), transparent 15rem),
    linear-gradient(180deg, #edf4ff 0%, #e8f0fc 100%);
  backdrop-filter: blur(18px) saturate(1.18);
}

.brand {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(195, 214, 239, 0.68);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.utility-nav {
  border-top-color: rgba(195, 214, 239, 0.82);
}

@media (min-width: 1181px) {
  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 13px;
    line-height: 1.5;
  }

  .nav-list {
    gap: 8px;
  }

  .nav-item,
  .nav-group-toggle {
    min-height: 46px;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 15px;
    line-height: 1.45;
  }

  .nav-group-toggle strong {
    font-size: 15px;
    line-height: 1.45;
  }

  .nav-item.active {
    border-color: #d4e2f6;
    color: #245ca5;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 5px 14px rgba(49, 86, 135, 0.07);
  }

  .nav-group-toggle:hover,
  .nav-group:has(.nav-item.active) .nav-group-toggle {
    background: rgba(255, 255, 255, 0.62);
  }

  .nav-subitems .nav-item {
    min-height: 38px;
    font-size: 13.5px;
    line-height: 1.5;
  }
}

#modulePanel:has(.retest-guide) {
  padding: 22px;
  background: #eaf2fb;
}

.retest-guide {
  gap: 24px;
  line-height: 1.68;
}

.retest-guide :is(p, li) {
  font-size: 14px !important;
  line-height: 1.78 !important;
}

.retest-guide :is(small, time) {
  font-size: 13px !important;
  line-height: 1.62 !important;
}

.retest-guide :is(span, em, a, button) {
  font-size: 13px !important;
  line-height: 1.55;
}

.retest-guide :is(h2, h3, h4) {
  line-height: 1.34;
}

.retest-hero {
  padding: 36px;
}

.retest-hero > div > span {
  font-size: 14.5px !important;
  line-height: 1.76 !important;
}

.retest-page-switch {
  gap: 11px;
}

.retest-page-switch button {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  min-height: 82px;
  padding: 15px 16px;
  border-radius: 13px;
  background: #fff;
}

.retest-page-switch button > span {
  width: 34px;
  height: 34px;
  font-size: 12px !important;
}

.retest-page-switch button strong {
  font-size: 15px !important;
  line-height: 1.45;
}

.retest-page-switch button em {
  margin-top: 4px;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.retest-page-body {
  gap: 18px;
}

.retest-timeline-card,
.retest-rule-section,
.retest-school-page,
.retest-checklist-card,
.retest-question-card,
.retest-expression-card,
.retest-official-links,
.retest-timeline > div,
.retest-rule-grid article {
  background: #fff;
}

.retest-timeline-card,
.retest-rule-section,
.retest-school-page,
.retest-checklist-card,
.retest-question-card,
.retest-expression-card,
.retest-official-links {
  padding: 22px;
  border-radius: 14px;
}

.retest-section-head {
  gap: 16px;
  margin-bottom: 16px;
}

.retest-section-head p {
  margin-bottom: 4px;
  font-size: 13px !important;
}

.retest-section-head h3 {
  font-size: 21px;
}

.retest-section-head > span {
  font-size: 13px !important;
  line-height: 1.62 !important;
}

.retest-timeline {
  gap: 11px;
}

.retest-timeline > div {
  min-height: 116px;
  padding: 15px;
}

.retest-timeline strong {
  font-size: 15px;
  line-height: 1.48;
}

.retest-timeline p,
.retest-rule-grid p {
  font-size: 14px;
  line-height: 1.72;
}

.retest-rule-grid {
  gap: 11px;
}

.retest-rule-grid article {
  gap: 4px 11px;
  padding: 15px;
}

.retest-rule-grid h4 {
  font-size: 15px;
  line-height: 1.48;
}

.retest-rule-grid article > span {
  width: 32px;
  height: 32px;
  font-size: 12px !important;
}

.retest-guide :is(.small-action, .compact-action) {
  min-height: 38px;
  padding-right: 13px;
  padding-left: 13px;
  line-height: 1.45;
}

/* ---------- Offerbiu 式复试简历编辑器 ---------- */
.modal-card.resume-generator-modal {
  width: min(1380px, calc(100vw - 32px));
  max-height: 94vh;
  padding: 24px;
  border-color: #d8e5f5;
  border-radius: 18px;
  background: #edf3fb;
}

.modal-card.resume-generator-modal #modalTitle {
  margin-top: 2px;
  color: #183354;
  font-size: 24px;
  line-height: 1.35;
}

.modal-card.resume-generator-modal > .modal-copy {
  margin: 7px 48px 18px 0;
  color: #5c708b;
  font-size: 14px;
  line-height: 1.65;
}

.modal-card.resume-generator-modal > .modal-close {
  top: 18px;
  right: 18px;
  background: #fff;
}

.resume-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.resume-builder-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #dce7f4;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(54, 82, 119, 0.045);
}

.resume-builder-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.resume-builder-progress-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #2e69b2;
  background: #edf4ff;
}

.resume-builder-progress-icon svg {
  width: 20px;
  height: 20px;
}

.resume-builder-progress > div {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.resume-builder-progress strong {
  color: #203954;
  font-size: 15px;
  line-height: 1.4;
}

.resume-builder-progress small {
  color: #69809c;
  font-size: 13px;
  line-height: 1.4;
}

.resume-builder-progress-track {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eff8;
}

.resume-builder-progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d6fca, #6b9ce5);
  transition: width 0.18s ease;
}

.resume-style-controls {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: end;
}

.resume-style-group {
  display: grid;
  gap: 8px;
}

.resume-style-group > span {
  color: #58708c;
  font-size: 13px;
  font-weight: 700;
}

.resume-template-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.resume-template-options button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 7px 9px;
  border: 1px solid #dce6f2;
  border-radius: 10px;
  color: #526881;
  background: #f9fbfe;
}

.resume-template-options button.active {
  border-color: #8fb5e8;
  color: #245f9f;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(65, 120, 190, 0.08);
}

.resume-template-options button strong {
  font-size: 13px;
  line-height: 1.35;
}

.resume-template-thumb {
  position: relative;
  display: block;
  width: 28px;
  height: 34px;
  border: 1px solid #b8cbe1;
  border-radius: 3px;
  background:
    linear-gradient(#7ea7d5, #7ea7d5) 5px 6px / 18px 3px no-repeat,
    repeating-linear-gradient(#d6e2ef 0 2px, transparent 2px 6px) 5px 13px / 18px 15px no-repeat,
    #fff;
}

.resume-template-thumb.is-compact {
  background:
    linear-gradient(#5f83aa, #5f83aa) 5px 5px / 18px 2px no-repeat,
    repeating-linear-gradient(#d6e2ef 0 2px, transparent 2px 5px) 5px 11px / 18px 18px no-repeat,
    #fff;
}

.resume-template-thumb.is-header {
  background:
    linear-gradient(#2e69b2, #2e69b2) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(#d6e2ef 0 2px, transparent 2px 6px) 5px 18px / 18px 11px no-repeat,
    #fff;
}

.resume-color-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.resume-color-group button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 9px;
  border: 1px solid #dce6f2;
  border-radius: 9px;
  color: #5d7088;
  background: #f9fbfe;
}

.resume-color-group button i {
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #b9c9db;
}

.resume-color-group button span {
  font-size: 12.5px;
}

.resume-color-group button.active {
  border-color: #8fb5e8;
  color: #214d7d;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(65, 120, 190, 0.08);
}

.resume-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.62fr);
  gap: 16px;
  align-items: start;
}

.modal-card.resume-generator-modal .resume-builder-form {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 15px;
}

.resume-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 21px;
  border-bottom: 1px solid #e5edf6;
  background:
    radial-gradient(circle at 96% 10%, rgba(105, 153, 215, 0.1), transparent 13rem),
    #fff;
}

.resume-form-head > div {
  min-width: 0;
}

.resume-form-head > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.resume-form-head p {
  margin: 0 0 3px;
  color: #3470b4;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.resume-form-head h3 {
  margin: 0;
  color: #203954;
  font-size: 18px;
  line-height: 1.4;
}

.resume-form-head span {
  display: block;
  margin-top: 5px;
  color: #70839a;
  font-size: 13px;
  line-height: 1.55;
}

.resume-edit-section {
  border-bottom: 1px solid #e6edf6;
  background: #fff;
}

.resume-edit-section:last-child {
  border-bottom: 0;
}

.resume-edit-section > summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
  gap: 11px;
  align-items: center;
  min-height: 68px;
  padding: 13px 20px;
  color: #2c435e;
  cursor: pointer;
  list-style: none;
}

.resume-edit-section > summary::-webkit-details-marker {
  display: none;
}

.resume-edit-section > summary::after {
  content: "⌄";
  color: #7890aa;
  font-size: 16px;
  text-align: center;
  transition: transform 0.16s ease;
}

.resume-edit-section:not([open]) > summary::after {
  transform: rotate(-90deg);
}

.resume-edit-section-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: #3571b6;
  background: #eef5fe;
}

.resume-edit-section-icon svg {
  width: 18px;
  height: 18px;
}

.resume-edit-section > summary > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.resume-edit-section > summary strong {
  color: #263f5a;
  font-size: 15px;
  line-height: 1.45;
}

.resume-edit-section > summary small {
  color: #7a8da4;
  font-size: 13px;
  line-height: 1.5;
}

.resume-edit-section > summary b {
  padding: 4px 8px;
  border-radius: 999px;
  color: #5d7897;
  background: #f1f6fc;
  font-size: 12px;
  font-weight: 650;
}

.resume-edit-section-body {
  padding: 0 20px 18px;
}

.modal-card.resume-generator-modal .resume-form-grid {
  gap: 13px 15px;
}

.modal-card.resume-generator-modal .resume-form-grid .field span {
  margin-bottom: 7px;
  color: #4f6681;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.modal-card.resume-generator-modal .resume-form-grid :is(input, select, textarea) {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #243a53;
  background: #fbfdff;
  font-size: 14px;
  line-height: 1.65;
}

.modal-card.resume-generator-modal .resume-form-grid textarea {
  min-height: 86px;
}

.modal-card.resume-generator-modal .resume-output-panel {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 13px;
  min-height: 0;
  padding: 18px;
  border-radius: 15px;
}

.modal-card.resume-generator-modal .resume-output-head {
  align-items: flex-start;
}

.modal-card.resume-generator-modal .resume-output-head h3 {
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.4;
}

.modal-card.resume-generator-modal .resume-output-head > span {
  padding: 4px 9px;
  border: 1px solid #dbe7f5;
  border-radius: 999px;
  color: #5d7692;
  background: #f7faff;
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
}

.resume-preview-frame {
  min-height: 0;
  max-height: calc(94vh - 270px);
  overflow: auto;
  padding: 8px;
  border: 1px solid #e0e9f4;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(220, 231, 245, 0.35) 25%, transparent 25%) 0 0 / 12px 12px,
    #f4f8fd;
}

.resume-preview-live {
  min-height: 520px;
  background: #fff;
}

.resume-preview-live .resume-sheet {
  min-height: 520px;
  padding: 25px 23px;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 7px 20px rgba(41, 65, 96, 0.1);
}

.resume-output-foot {
  display: grid;
  gap: 9px;
}

.resume-output-foot > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resume-output-foot p {
  margin: 0;
  color: #76899f;
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .modal-card.resume-generator-modal {
    width: calc(100vw - 24px);
    padding: 20px;
  }

  .resume-builder-toolbar {
    grid-template-columns: 1fr;
  }

  .resume-builder-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.55fr);
  }

  .resume-style-controls {
    grid-template-columns: 1fr;
  }

  .resume-color-group button span {
    display: none;
  }
}

@media (max-width: 820px) {
  .modal-shell {
    padding: 10px;
  }

  .modal-card.resume-generator-modal {
    width: calc(100vw - 16px);
    max-height: 96vh;
    padding: 18px 14px 20px;
    border-radius: 15px;
  }

  .modal-card.resume-generator-modal > .modal-copy {
    margin-right: 38px;
    font-size: 13.5px;
  }

  .resume-builder-toolbar {
    padding: 14px;
  }

  .resume-builder-layout {
    grid-template-columns: 1fr;
  }

  .resume-template-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resume-form-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }

  .resume-form-head > div:last-child {
    width: 100%;
  }

  .resume-form-head > div:last-child > button {
    flex: 1;
  }

  .resume-edit-section > summary {
    grid-template-columns: 36px minmax(0, 1fr) 17px;
    gap: 10px;
    min-height: 64px;
    padding: 12px 16px;
  }

  .resume-edit-section > summary b {
    display: none;
  }

  .resume-edit-section-body {
    padding: 0 16px 16px;
  }

  .modal-card.resume-generator-modal .resume-form-grid {
    grid-template-columns: 1fr;
  }

  .modal-card.resume-generator-modal .resume-form-grid .field.full {
    grid-column: 1;
  }

  .modal-card.resume-generator-modal .resume-output-panel {
    position: static;
  }

  .resume-preview-frame {
    max-height: none;
  }

  .resume-preview-live .resume-sheet {
    min-height: 0;
    padding: 21px 17px;
  }

  .resume-sheet.template-header .resume-sheet-head {
    margin: -21px -17px 16px;
    padding: 21px 17px;
  }

  #modulePanel:has(.retest-guide) {
    padding: 14px;
  }

  .retest-guide {
    gap: 19px;
  }

  .retest-hero {
    padding: 25px 22px;
  }

  .retest-page-switch button {
    min-height: 74px;
    padding: 13px 14px;
  }
}

@media (max-width: 560px) {
  .resume-builder-progress strong {
    font-size: 14px;
  }

  .resume-style-controls {
    gap: 14px;
  }

  .resume-template-options {
    gap: 6px;
  }

  .resume-template-options button {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 66px;
    padding: 7px 5px;
    text-align: center;
  }

  .resume-template-thumb {
    width: 24px;
    height: 29px;
  }

  .modal-card.resume-generator-modal .resume-sheet-head {
    flex-direction: column;
  }

  .modal-card.resume-generator-modal .resume-sheet-head address {
    max-width: none;
    text-align: left;
  }

  .resume-output-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- AI择校：核验优先的轻量工作台 ---------- */
#modulePanel:has(.ai-workbench) {
  padding: 22px;
  border-color: #dbe6f3;
  background: #edf3fa;
  box-shadow: none;
}

.ai-audit-banner {
  position: relative;
  display: grid;
  gap: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 20px 22px;
  border: 1px solid #d8e6f6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 96% 10%, rgba(105, 153, 215, 0.16), transparent 18rem),
    linear-gradient(135deg, #f9fcff 0%, #eef6ff 58%, #f9fbff 100%);
  box-shadow: 0 9px 25px rgba(50, 79, 117, 0.065);
}

.ai-audit-lead {
  display: flex;
  align-items: center;
  gap: 13px;
}

.ai-audit-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: #2769b5;
  background: #fff;
  font-size: 21px;
  font-weight: 850;
  box-shadow: 0 6px 16px rgba(46, 103, 175, 0.1);
}

.ai-audit-mark svg {
  width: 20px;
  height: 20px;
}

.ai-audit-lead > div {
  min-width: 0;
}

.ai-audit-lead strong {
  display: block;
  color: #193553;
  font-size: 18px;
  line-height: 1.4;
}

.ai-audit-lead p {
  margin: 4px 0 0;
  color: #60758f;
  font-size: 11.5px;
  line-height: 1.55;
}

.ai-audit-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ai-audit-flow span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dce8f6;
  border-radius: 9px;
  color: #496481;
  background: rgba(255, 255, 255, 0.8);
  font-size: 11.5px;
  line-height: 1.4;
}

.ai-audit-flow b {
  color: #3470b4;
  font-size: 10px;
  font-weight: 800;
}

.ai-audit-note {
  margin: 0;
  color: #7a8da3;
  font-size: 10.5px;
  line-height: 1.5;
}

.ai-workbench {
  grid-template-columns: minmax(330px, 0.41fr) minmax(0, 1fr);
  gap: 22px;
}

.ai-form-panel,
.ai-result-panel {
  border-color: #dce7f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(46, 70, 101, 0.06);
}

.ai-form-panel {
  gap: 16px;
  padding: 20px;
}

.ai-result-panel {
  gap: 16px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(92, 145, 208, 0.08), transparent 20rem),
    #fff;
}

.ai-form-head h3,
.ai-result-head h3 {
  color: #19344f;
  font-size: 21px;
  line-height: 1.4;
}

.ai-form-hint {
  display: block;
  margin-top: 5px;
  color: #7b8da2;
  font-size: 11px;
  line-height: 1.5;
}

.ai-form-badge,
.ai-report-mode {
  min-height: 27px;
  font-size: 10.5px;
}

.ai-profile-option {
  padding: 12px 13px;
  border-color: #e2eaf4;
  background: #f7fafe;
}

.ai-profile-option.is-on {
  border-color: #bcd7f4;
  background: linear-gradient(135deg, #f6faff, #edf6ff);
}

.ai-profile-option-copy strong {
  font-size: 13.5px;
}

.ai-profile-option-copy small {
  color: #71849b;
  font-size: 11px;
  line-height: 1.5;
}

.mode-tabs {
  padding: 3px;
  border: 1px solid #e1e9f4;
  border-radius: 10px;
  background: #f3f7fc;
}

.mode-tab {
  min-height: 36px;
  color: #687c93;
  font-size: 12.5px;
}

.ai-form-panel .field > span {
  color: #516a85;
  font-size: 12px;
  font-weight: 650;
}

.ai-form-panel :is(input, select) {
  min-height: 41px;
  border-color: #dce6f2;
  border-radius: 9px;
  color: #263d57;
  background: #fbfdff;
  font-size: 13px;
}

.ai-form-actions {
  gap: 8px;
}

.ai-form-note {
  color: #7d8fa4;
  font-size: 10.5px;
  line-height: 1.5;
}

.ai-result-head {
  padding-bottom: 13px;
}

.ai-result-subtitle {
  color: #71839a;
  font-size: 11.5px;
  line-height: 1.55;
}

.ai-result-hint {
  display: block;
  margin-top: 3px;
  color: #8a9aad;
  font-size: 10.5px;
}

.ai-result-meta {
  color: #657a92;
  font-size: 11.5px;
}

.ai-result-meta strong {
  white-space: nowrap;
}

.ai-result-meta em {
  color: #8191a4;
  font-size: 10.5px;
}

.ai-result-pager {
  border-color: #e2ebf5;
  background: #f7faff;
}

.ai-school-card {
  gap: 13px;
  padding: 19px;
  border-color: #dce7f4;
  background:
    linear-gradient(145deg, rgba(244, 249, 255, 0.92), rgba(255, 255, 255, 0) 250px),
    #fff;
  box-shadow: 0 8px 22px rgba(40, 67, 103, 0.055);
}

.ai-school-card .result-head > div strong {
  color: #18324d;
  font-size: 21px;
  line-height: 1.35;
}

.ai-school-card .result-head > div small {
  color: #75879d;
  font-size: 11px;
  line-height: 1.5;
}

.score-bar {
  height: 6px;
  background: #e8eff8;
}

.score-bar span {
  background: linear-gradient(90deg, #316fbd, #70a1dc);
}

.ai-card-stats {
  gap: 8px;
}

.ai-card-stats span {
  min-height: 66px;
  padding: 10px 12px;
  border-color: #e4ebf4;
  background: #f8fafe;
  font-size: 10.5px;
  line-height: 1.45;
}

.ai-card-stats strong {
  color: #203a55;
  font-size: 16px;
}

.ai-card-tags {
  gap: 5px;
}

.ai-card-tags span {
  padding: 4px 9px;
  color: #60748c;
  border-color: #e1e9f3;
  background: #f8fbff;
  font-size: 10.5px;
}

.ai-card-reason {
  padding: 11px 13px;
  border-left-color: #5e92d1;
  color: #4e637b !important;
  background: #f7faff;
  font-size: 12.5px;
  line-height: 1.65 !important;
}

.badge.risk-pending {
  color: #8a621c;
  background: #fff6e5;
}

.ai-evidence-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e2ebf5;
  border-radius: 10px;
  background: #f8fbfe;
}

.ai-evidence-strip.is-verified {
  border-color: #d3e9df;
  background: #f5fbf8;
}

.ai-evidence-strip.is-pending {
  border-color: #f0dfbc;
  background: #fffbf2;
}

.ai-evidence-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #426a58;
  font-size: 10.5px;
  font-weight: 750;
  white-space: nowrap;
}

.ai-evidence-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f9b70;
  box-shadow: 0 0 0 3px rgba(47, 155, 112, 0.1);
}

.is-pending .ai-evidence-state {
  color: #8a681f;
}

.is-pending .ai-evidence-state i {
  background: #d79a2a;
  box-shadow: 0 0 0 3px rgba(215, 154, 42, 0.1);
}

.ai-evidence-strip p {
  margin: 0;
  color: #6b7f95;
  font-size: 10.5px;
  line-height: 1.55;
}

.ai-evidence-link {
  padding: 0;
  border: 0;
  color: #3372b7;
  background: transparent;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ai-school-card footer {
  gap: 7px;
  padding-top: 1px;
}

.ai-school-card footer .small-action {
  min-height: 34px;
  padding-inline: 11px;
  font-size: 11px;
}

@media (max-width: 1050px) {
  #modulePanel:has(.ai-workbench) {
    padding: 16px;
  }

  .ai-workbench {
    grid-template-columns: 1fr;
  }

  .ai-audit-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  #modulePanel:has(.ai-workbench) {
    padding: 11px;
  }

  .ai-audit-banner {
    padding: 16px;
  }

  .ai-audit-lead {
    align-items: flex-start;
  }

  .ai-audit-lead strong {
    font-size: 16px;
  }

  .ai-audit-flow {
    grid-template-columns: 1fr;
  }

  .ai-form-panel,
  .ai-result-panel {
    padding: 16px;
  }

  .ai-result-meta {
    align-items: flex-start;
  }

  .ai-school-card .result-head {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .ai-school-card .result-head > div strong {
    font-size: 18px;
  }

  .ai-card-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-evidence-strip {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ai-evidence-link {
    justify-self: start;
  }
}

/* AI择校：移除说明性小字，强化标题、状态与核心数据。 */
.ai-audit-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.ai-audit-mark {
  width: 48px;
  height: 48px;
  font-size: 24px;
}

.ai-audit-lead {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 9px;
}

.ai-audit-lead strong {
  font-size: 20px;
}

.ai-audit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-audit-pills span {
  padding: 6px 11px;
  border: 1px solid #dce8f6;
  border-radius: 999px;
  color: #496481;
  background: rgba(255, 255, 255, 0.84);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.4;
}

.ai-audit-year {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #d7e5f6;
  border-radius: 999px;
  color: #35689f;
  background: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.ai-form-head h3,
.ai-result-head h3 {
  font-size: 22px;
}

.ai-profile-summary {
  display: block;
  color: #5f7895;
  font-size: 13px;
  line-height: 1.5;
}

.ai-result-meta {
  font-size: 12.5px;
}

.ai-result-meta strong {
  font-size: 13px;
  white-space: nowrap;
}

.ai-result-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #42627f;
  font-weight: 650;
}

.ai-result-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9b70;
  box-shadow: 0 0 0 3px rgba(47, 155, 112, 0.1);
}

.ai-pager-crest .school-crest {
  width: 48px;
  height: 48px;
  font-size: 19px;
}

.ai-school-crest-btn .school-crest {
  width: 52px;
  height: 52px;
}

.ai-card-tags span {
  font-size: 12px;
}

.ai-evidence-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-evidence-state,
.ai-evidence-fact,
.ai-evidence-link {
  font-size: 12px;
}

.ai-evidence-fact {
  color: #526e89;
  font-weight: 650;
  line-height: 1.5;
}

.ai-evidence-link {
  margin-left: auto;
}

@media (max-width: 680px) {
  .ai-audit-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px;
  }

  .ai-audit-lead {
    flex-basis: calc(100% - 64px);
  }

  .ai-audit-lead strong {
    font-size: 18px;
  }

  .ai-audit-pills {
    gap: 6px;
  }

  .ai-audit-pills span {
    padding: 5px 9px;
    font-size: 12px;
  }

  .ai-audit-year {
    margin-left: 60px;
  }

  .ai-evidence-strip {
    align-items: flex-start;
  }

  .ai-evidence-link {
    width: 100%;
    margin-left: 0;
  }
}

/* ---------- 左侧开发者入口与后端运行中心 ---------- */
.developer-nav-item {
  position: relative;
}

.nav-dev-badge {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid #bcd3ed;
  border-radius: 999px;
  color: #3d71a8;
  background: #f8fbff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

@media (max-width: 1180px) {
  .nav-dev-badge {
    display: none;
  }
}

#modulePanel:has(.developer-dashboard),
#modulePanel:has(.developer-loading),
#modulePanel:has(.developer-error-card) {
  padding: 22px;
  border-color: #d9e5f2;
  background: #edf3fa;
  box-shadow: none;
}

.developer-loading,
.developer-error-card {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  color: #6d8198;
  background: #fff;
  text-align: center;
}

.developer-loading strong,
.developer-error-card h3 {
  margin: 0;
  color: #19344f;
  font-size: 19px;
}

.developer-loading span,
.developer-error-card p {
  margin: 0;
  color: #70849b;
  font-size: 13px;
  line-height: 1.6;
}

.developer-error-card > span,
.developer-error-card > code {
  max-width: min(640px, calc(100vw - 70px));
}

.developer-error-card > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #3371b8;
  background: #eef5ff;
}

.developer-error-card > code {
  padding: 8px 12px;
  border-radius: 8px;
  color: #596d84;
  background: #f5f8fc;
  font-size: 12px;
}

.developer-dashboard {
  display: grid;
  gap: 18px;
  color: #273e58;
}

.developer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 25px 28px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(102, 158, 222, 0.22), transparent 18rem),
    linear-gradient(125deg, #13233e, #1d3a5d 58%, #21476b);
  box-shadow: 0 16px 32px rgba(23, 47, 77, 0.16);
}

.developer-hero-main {
  display: flex;
  align-items: center;
  gap: 15px;
}

.developer-hero-mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #dcecff;
  background: rgba(255, 255, 255, 0.09);
}

.developer-hero-mark svg {
  width: 24px;
  height: 24px;
}

.developer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  color: #b7ddcd;
  font-size: 12px;
  font-weight: 750;
}

.developer-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55d49f;
  box-shadow: 0 0 0 4px rgba(85, 212, 159, 0.12);
}

.developer-status.is-warning {
  color: #ffd58b;
}

.developer-status.is-warning i {
  background: #f5b648;
  box-shadow: 0 0 0 4px rgba(245, 182, 72, 0.12);
}

.developer-hero-main h3 {
  margin: 0;
  color: #fff;
  font-size: 27px;
  line-height: 1.25;
}

.developer-hero-main p {
  margin: 4px 0 0;
  color: rgba(229, 240, 255, 0.65);
  font-size: 12px;
}

.developer-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.developer-hero-metrics article {
  display: grid;
  gap: 4px;
  min-height: 67px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.developer-hero-metrics span {
  color: rgba(223, 237, 253, 0.66);
  font-size: 11px;
}

.developer-hero-metrics strong {
  color: #fff;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.developer-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dce7f3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42, 68, 99, 0.05);
}

.developer-card > header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.developer-card > header > span:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #326da9;
  background: #edf5ff;
}

.developer-card > header svg {
  width: 18px;
  height: 18px;
}

.developer-card > header > div {
  min-width: 0;
}

.developer-card h3 {
  margin: 0;
  color: #1c3650;
  font-size: 17px;
  line-height: 1.4;
}

.developer-card header p {
  margin: 3px 0 0;
  color: #7a8da3;
  font-size: 11.5px;
}

.developer-state {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.developer-state.ok {
  color: #247454;
  background: #eaf8f1;
}

.developer-state.error {
  color: #a13c3c;
  background: #fff0f0;
}

.developer-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  margin: 0;
}

.developer-kv > div {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 9px;
  background: #f7fafe;
}

.developer-kv > div.full {
  grid-column: 1 / -1;
}

.developer-kv dt {
  margin-bottom: 4px;
  color: #8494a8;
  font-size: 10.5px;
}

.developer-kv dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: #2e475f;
  font-size: 12.5px;
  font-weight: 650;
}

.developer-kv code,
.developer-route-row code,
.developer-request-list code {
  font-family: "Cascadia Code", Consolas, monospace;
}

.developer-table-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 245px;
  overflow: auto;
  padding-right: 3px;
}

.developer-table-list > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fbfdff;
}

.developer-table-list code {
  overflow: hidden;
  color: #455c74;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-table-list strong {
  color: #2e6aa9;
  font-size: 11px;
  white-space: nowrap;
}

.developer-config-card,
.developer-routes-card,
.developer-requests-card {
  padding: 21px 22px;
}

.developer-config-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.developer-config-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e3ebf5;
  border-radius: 10px;
  background: #f9fbfe;
}

.developer-config-grid article > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #50677f;
  font-size: 12px;
  font-weight: 650;
}

.developer-config-grid article i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aebac8;
}

.developer-config-grid article.is-ready {
  border-color: #d8ece3;
  background: #f8fcf9;
}

.developer-config-grid article.is-ready i {
  background: #35a676;
}

.developer-config-grid article strong {
  color: #28435d;
  font-size: 14px;
}

.developer-config-grid article small {
  overflow: hidden;
  color: #7e8fa3;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-runtime-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.developer-runtime-flags span {
  padding: 5px 9px;
  border: 1px solid #e1e9f3;
  border-radius: 999px;
  color: #63788f;
  background: #f8fbfe;
  font-size: 10.5px;
}

.developer-runtime-flags .warn {
  color: #8b641d;
  border-color: #efdfbc;
  background: #fff9ed;
}

.developer-route-groups {
  display: grid;
  gap: 8px;
}

.developer-route-group {
  border: 1px solid #e2eaf4;
  border-radius: 10px;
  background: #fbfdff;
}

.developer-route-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 9px 12px;
  color: #29425c;
  cursor: pointer;
  list-style: none;
}

.developer-route-group > summary::-webkit-details-marker {
  display: none;
}

.developer-route-group > summary strong {
  font-size: 13px;
}

.developer-route-group > summary span {
  color: #7b8da2;
  font-size: 10.5px;
}

.developer-route-group > div {
  display: grid;
  gap: 1px;
  padding: 0 10px 10px;
}

.developer-route-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(140px, 0.5fr);
  gap: 10px;
  align-items: center;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #fff;
}

.developer-route-row > span {
  display: flex;
  gap: 4px;
}

.developer-route-row b {
  min-width: 31px;
  padding: 2px 5px;
  border-radius: 5px;
  color: #3170b6;
  background: #edf5ff;
  font-size: 8px;
  text-align: center;
}

.developer-route-row b.method-post {
  color: #247454;
  background: #eaf8f1;
}

.developer-route-row b.method-delete {
  color: #a14444;
  background: #fff0f0;
}

.developer-route-row code {
  overflow-wrap: anywhere;
  color: #2d4862;
  font-size: 11px;
}

.developer-route-row small {
  overflow: hidden;
  color: #8493a6;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-request-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.developer-request-grid article {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 9px;
  background: #f7fafe;
}

.developer-request-grid span {
  color: #7d8ea2;
  font-size: 10.5px;
}

.developer-request-grid strong {
  color: #263f58;
  font-size: 18px;
}

.developer-request-list {
  display: grid;
  overflow: hidden;
  border: 1px solid #e4ebf4;
  border-radius: 10px;
}

.developer-request-list > div {
  display: grid;
  grid-template-columns: 116px 42px minmax(0, 1fr) 44px 62px;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
}

.developer-request-list > div:last-child {
  border-bottom: 0;
}

.developer-request-list time,
.developer-request-list small {
  color: #8493a5;
  font-size: 9.5px;
}

.developer-request-list b {
  color: #3d6da2;
  font-size: 9px;
  text-align: center;
}

.developer-request-list code {
  overflow: hidden;
  color: #3c5269;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-request-list > div > span {
  justify-self: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.developer-request-list .is-ok {
  color: #247454;
  background: #eaf8f1;
}

.developer-request-list .is-error {
  color: #a13c3c;
  background: #fff0f0;
}

.developer-empty {
  margin: 0;
  padding: 20px;
  color: #7f8fa2;
  text-align: center;
}

.developer-error {
  margin: 0;
  padding: 9px 11px;
  border-radius: 8px;
  color: #9b4444;
  background: #fff3f3;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .developer-hero {
    grid-template-columns: 1fr;
  }

  .developer-config-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #modulePanel:has(.developer-dashboard),
  #modulePanel:has(.developer-loading),
  #modulePanel:has(.developer-error-card) {
    padding: 13px;
  }

  .developer-grid {
    grid-template-columns: 1fr;
  }

  .developer-hero {
    padding: 20px;
  }

  .developer-hero-metrics {
    grid-template-columns: 1fr;
  }

  .developer-hero-main h3 {
    font-size: 23px;
  }

  .developer-kv,
  .developer-table-list {
    grid-template-columns: 1fr;
  }

  .developer-config-grid,
  .developer-request-grid {
    grid-template-columns: 1fr;
  }

  .developer-route-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .developer-route-row small {
    display: none;
  }

  .developer-request-list > div {
    grid-template-columns: 96px 36px minmax(0, 1fr) 38px;
  }

  .developer-request-list small {
    display: none;
  }
}

/* 开发者控制台：内部分区、接口检索和数据库浏览 */
.developer-console {
  display: grid;
  gap: 15px;
}

.developer-console-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 12px 15px;
  border: 1px solid #dbe7f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(42, 67, 98, 0.05);
}

.developer-console-bar > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.developer-console-bar > div:first-child > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #2e6ba8;
  background: #edf5ff;
}

.developer-console-bar svg {
  width: 19px;
  height: 19px;
}

.developer-console-bar strong,
.developer-console-bar small {
  display: block;
}

.developer-console-bar strong {
  color: #1d3955;
  font-size: 15px;
}

.developer-console-bar small {
  margin-top: 2px;
  color: #7c8fa5;
  font-size: 10.5px;
}

.developer-env-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.developer-env-chips span {
  padding: 5px 9px;
  border: 1px solid #dfe8f4;
  border-radius: 999px;
  color: #667b92;
  background: #f8fbfe;
  font-size: 10px;
}

.developer-env-chips .is-warn {
  color: #93651b;
  border-color: #eeddbb;
  background: #fff9ed;
}

.developer-env-chips .is-ok {
  color: #267354;
  border-color: #d3eadf;
  background: #f5fbf8;
}

.developer-console-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.developer-console-actions .small-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.developer-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid #dde7f3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.developer-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 110px;
  min-height: 38px;
  padding: 7px 13px;
  border: 0;
  border-radius: 8px;
  color: #61758d;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.developer-tabs button.active {
  color: #245f9f;
  background: #fff;
  box-shadow: 0 4px 12px rgba(44, 75, 112, 0.08);
}

.developer-tabs b {
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #65809c;
  background: #eef4fa;
  font-size: 9px;
}

.developer-workspace-card {
  display: grid;
  gap: 15px;
  padding: 20px;
  border: 1px solid #dce7f3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42, 68, 99, 0.05);
}

.developer-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.developer-workspace-head > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.developer-workspace-head > div > span {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #356fa9;
  background: #edf5ff;
}

.developer-workspace-head svg {
  width: 17px;
  height: 17px;
}

.developer-workspace-head h3 {
  margin: 0;
  color: #1e3853;
  font-size: 17px;
}

.developer-workspace-head p {
  margin: 3px 0 0;
  color: #7a8da2;
  font-size: 10.5px;
}

.developer-api-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.developer-api-toolbar label,
.developer-table-search {
  display: flex;
  min-width: 260px;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 11px;
  border: 1px solid #dfe8f3;
  border-radius: 9px;
  color: #6f849b;
  background: #f9fbfe;
}

.developer-api-toolbar input,
.developer-table-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #29425d;
  background: transparent;
  font-size: 12px;
}

.developer-api-toolbar > div {
  display: flex;
  gap: 5px;
}

.developer-api-toolbar > div button,
.developer-log-filter button {
  min-height: 33px;
  padding: 5px 11px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  color: #667a91;
  background: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.developer-api-toolbar > div button.active,
.developer-log-filter button.active {
  border-color: #a9caee;
  color: #2864a3;
  background: #eef6ff;
}

.developer-route-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #61768c;
  font-size: 10.5px;
}

.developer-route-result-head strong {
  color: #263f59;
  font-size: 12px;
}

.developer-route-row {
  grid-template-columns: 72px minmax(0, 1fr) minmax(120px, 0.45fr) 42px;
}

.developer-route-row > button {
  min-height: 25px;
  padding: 2px 7px;
  border: 1px solid #dfe8f3;
  border-radius: 6px;
  color: #4c6b8a;
  background: #f8fbfe;
  font-size: 9px;
}

.developer-database-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.27fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 480px;
}

.developer-database-layout > aside {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.developer-table-search {
  min-width: 0;
}

.developer-table-browser {
  display: grid;
  align-content: start;
  gap: 4px;
  max-height: 520px;
  overflow: auto;
  padding-right: 3px;
}

.developer-table-browser button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 43px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #425a72;
  background: transparent;
  text-align: left;
}

.developer-table-browser button:hover,
.developer-table-browser button.active {
  border-color: #d5e4f5;
  background: #f4f9ff;
}

.developer-table-browser button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.developer-table-browser code {
  overflow: hidden;
  color: #315474;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10.5px;
  text-overflow: ellipsis;
}

.developer-table-browser small {
  color: #8291a3;
  font-size: 9.5px;
}

.developer-table-browser i {
  color: #8798aa;
  font-style: normal;
}

.developer-database-layout > main {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2eaf4;
  border-radius: 11px;
  background: #fbfdff;
}

#developerTableInspector {
  display: grid;
  min-width: 0;
  min-height: 100%;
  align-content: start;
}

.developer-inspector-head,
.developer-inspector-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.developer-inspector-head {
  border-bottom: 1px solid #e7edf5;
}

.developer-inspector-head > div:first-child {
  display: grid;
  gap: 3px;
}

.developer-inspector-head strong {
  color: #203b56;
  font-size: 15px;
}

.developer-inspector-head span,
.developer-inspector-foot {
  color: #7d8fa4;
  font-size: 10.5px;
}

.developer-inspector-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
}

.developer-redaction {
  padding: 4px 8px;
  border-radius: 999px;
  color: #735a19 !important;
  background: #fff8e8;
}

.developer-column-list {
  display: flex;
  overflow-x: auto;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid #e7edf5;
}

.developer-column-list > span {
  display: grid;
  flex: 0 0 auto;
  gap: 1px;
  padding: 5px 8px;
  border: 1px solid #e6edf5;
  border-radius: 7px;
  background: #fff;
}

.developer-column-list strong {
  color: #4a6077;
  font-size: 9.5px;
}

.developer-column-list small {
  color: #8a99aa;
  font-size: 8.5px;
}

.developer-data-table {
  max-width: 100%;
  overflow: auto;
}

.developer-data-table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 10.5px;
}

.developer-data-table th,
.developer-data-table td {
  max-width: 220px;
  overflow: hidden;
  padding: 9px 11px;
  border-right: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #4b637b;
  background: #f4f8fc;
  font-weight: 700;
}

.developer-data-table td {
  color: #50657a;
  background: #fff;
}

.developer-data-table td[colspan] {
  padding: 24px;
  color: #8494a7;
  text-align: center;
}

.developer-inspector-foot {
  border-top: 1px solid #e7edf5;
}

.developer-inspector-loading,
.developer-inspector-empty {
  display: grid;
  min-height: 460px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 25px;
  color: #70849a;
  text-align: center;
}

.developer-inspector-empty strong {
  color: #2a425c;
  font-size: 14px;
}

.developer-inspector-empty p,
.developer-inspector-loading p {
  margin: 0;
  font-size: 11px;
}

.developer-log-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.developer-log-metrics article {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid #e5edf6;
  border-radius: 9px;
  background: #f8fbfe;
}

.developer-log-metrics span {
  color: #7b8ea3;
  font-size: 10px;
}

.developer-log-metrics strong {
  color: #273f59;
  font-size: 18px;
}

.developer-log-filter {
  display: flex;
  gap: 5px;
}

.developer-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.developer-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  color: #5c7188;
  background: #f9fbfe;
  font-size: 11px;
}

.developer-feature-list i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3da97b;
}

.developer-feature-list .warn i {
  background: #d79b2e;
}

.developer-config-workspace {
  margin-bottom: 16px;
}

@media (max-width: 1000px) {
  .developer-console-bar {
    flex-wrap: wrap;
  }

  .developer-env-chips {
    order: 4;
    width: 100%;
    margin-left: 0;
  }

  .developer-database-layout {
    grid-template-columns: 1fr;
  }

  .developer-table-browser {
    max-height: 220px;
  }

  .developer-inspector-loading,
  .developer-inspector-empty {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .developer-console-actions {
    width: 100%;
  }

  .developer-console-actions .small-action {
    flex: 1;
    justify-content: center;
  }

  .developer-tabs {
    padding: 4px;
  }

  .developer-tabs button {
    min-width: 92px;
    padding-inline: 10px;
  }

  .developer-api-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .developer-api-toolbar label {
    min-width: 0;
  }

  .developer-api-toolbar > div {
    overflow-x: auto;
  }

  .developer-route-row {
    grid-template-columns: 62px minmax(0, 1fr) 42px;
  }

  .developer-route-row small {
    display: none;
  }

  .developer-log-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-inspector-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 开发者控制台：用户与会员业务数据 */
.developer-business-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.developer-business-metrics article {
  position: relative;
  display: grid;
  gap: 4px;
  overflow: hidden;
  padding: 15px 16px;
  border: 1px solid #dce7f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(42, 68, 99, 0.045);
}

.developer-business-metrics article::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 142, 207, 0.11), transparent 68%);
  content: "";
}

.developer-business-metrics span {
  color: #778ba1;
  font-size: 10.5px;
}

.developer-business-metrics strong {
  color: #1e3a57;
  font-size: 25px;
  line-height: 1.2;
}

.developer-business-metrics small {
  color: #8a9aad;
  font-size: 9.5px;
}

.developer-business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.developer-business-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.developer-business-kpis span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 8px;
  background: #f7fafe;
}

.developer-business-kpis strong {
  color: #29445f;
  font-size: 17px;
}

.developer-business-kpis small {
  color: #7d8fa4;
  font-size: 9px;
}

.developer-distribution-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.developer-distribution-pair h4 {
  margin: 0 0 7px;
  color: #415a73;
  font-size: 11px;
}

.developer-distribution {
  display: grid;
  gap: 6px;
}

.developer-distribution > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 28px;
  gap: 7px;
  align-items: center;
}

.developer-distribution span,
.developer-distribution strong {
  overflow: hidden;
  color: #64778e;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-distribution i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9f0f8;
}

.developer-distribution i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3676bd, #74a5d9);
}

.developer-distribution strong {
  color: #345c84;
  text-align: right;
}

.developer-local-account {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.developer-local-account article {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid #e4ebf4;
  border-radius: 9px;
  background: #f9fbfe;
}

.developer-local-account span,
.developer-local-account small {
  color: #7d8fa4;
  font-size: 9.5px;
}

.developer-local-account strong {
  color: #29435c;
  font-size: 15px;
}

.developer-count-badge {
  padding: 5px 9px;
  border-radius: 999px;
  color: #5c7188;
  background: #f2f6fb;
  font-size: 10px;
}

.developer-business-table {
  overflow: auto;
  border: 1px solid #e4ebf4;
  border-radius: 9px;
}

.developer-business-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 10.5px;
}

.developer-business-table th,
.developer-business-table td {
  padding: 10px 11px;
  border-bottom: 1px solid #edf1f6;
  color: #51667d;
  text-align: left;
  white-space: nowrap;
}

.developer-business-table th {
  color: #566f88;
  background: #f5f9fd;
}

.developer-empty-state {
  display: grid;
  min-height: 150px;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 22px;
  text-align: center;
}

.developer-empty-state strong {
  color: #38516a;
  font-size: 14px;
}

.developer-empty-state p {
  margin: 0;
  color: #8191a5;
  font-size: 10.5px;
}

.developer-compact-list,
.developer-plan-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e5edf6;
  border-radius: 9px;
}

.developer-compact-list > div,
.developer-plan-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
}

.developer-compact-list > div:last-child,
.developer-plan-list > div:last-child {
  border-bottom: 0;
}

.developer-compact-list span,
.developer-plan-list span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.developer-compact-list strong,
.developer-plan-list strong {
  overflow: hidden;
  color: #38526b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-compact-list small,
.developer-plan-list small {
  color: #8594a6;
  font-size: 9px;
}

.developer-compact-list > div > b,
.developer-plan-list > div > b {
  color: #244f7d;
  font-size: 12px;
}

.developer-compact-list em,
.developer-plan-list em {
  padding: 3px 7px;
  border-radius: 999px;
  color: #5b7188;
  background: #f1f5fa;
  font-size: 8.5px;
  font-style: normal;
}

.developer-compact-list em.status-paid {
  color: #247454;
  background: #eaf8f1;
}

.developer-compact-list em.status-pending {
  color: #90651e;
  background: #fff7e8;
}

.developer-empty.compact {
  padding: 16px;
  font-size: 10px;
}

@media (max-width: 1000px) {
  .developer-business-metrics,
  .developer-business-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-business-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .developer-business-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-local-account,
  .developer-distribution-pair {
    grid-template-columns: 1fr;
  }

  .developer-business-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 我的画像：精细化择校档案 ---------- */
#modulePanel:has(.planning-profile-page) {
  padding: 22px;
  border-color: #d9e5f2;
  background: #edf3fa;
  box-shadow: none;
}

.planning-profile-page {
  display: grid;
  gap: 18px;
  max-width: none;
}

.planning-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr) 145px;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 3%, rgba(83, 164, 213, 0.24), transparent 20rem),
    radial-gradient(circle at 10% 110%, rgba(86, 111, 219, 0.2), transparent 22rem),
    linear-gradient(125deg, #142743, #1d3d62 58%, #245473);
  box-shadow: 0 16px 34px rgba(26, 51, 82, 0.16);
}

.planning-profile-hero::after {
  position: absolute;
  right: 18%;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.025), 0 0 0 80px rgba(255, 255, 255, 0.018);
  content: "";
}

.planning-profile-hero-media {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 180px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background:
    radial-gradient(circle at 80% 15%, rgba(93, 162, 207, 0.34), transparent 12rem),
    linear-gradient(145deg, #315679, #183550);
  box-shadow: 0 12px 26px rgba(4, 17, 32, 0.2);
}

.planning-profile-hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  opacity: 0.88;
}

.planning-profile-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 24, 42, 0.82));
  content: "";
}

.planning-profile-hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: 11px;
  bottom: 10px;
  left: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.planning-profile-hero-media figcaption > img {
  width: 29px;
  height: 29px;
  padding: 3px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.planning-profile-hero-media figcaption > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.planning-profile-hero-media figcaption small {
  color: rgba(222, 239, 255, 0.68);
  font-size: 8.5px;
}

.planning-profile-hero-media figcaption strong {
  overflow: hidden;
  color: #fff;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planning-profile-hero-copy {
  position: relative;
  z-index: 1;
}

.planning-profile-kicker {
  color: #b8d4ee;
  font-size: 12px;
}

.planning-profile-kicker i {
  background: #55d39f;
  box-shadow: 0 0 0 4px rgba(85, 211, 159, 0.12);
}

.planning-profile-hero h3 {
  max-width: 720px;
  margin: 10px 0 7px;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.planning-profile-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: rgba(226, 239, 254, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.planning-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.planning-profile-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(214, 234, 255, 0.16);
  border-radius: 999px;
  color: rgba(230, 242, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
}

.planning-profile-tags span.primary {
  color: #153351;
  border-color: rgba(255, 255, 255, 0.7);
  background: #fff;
  font-weight: 750;
}

.planning-profile-score {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.planning-profile-score > span,
.planning-profile-score > p {
  margin: 0;
  color: rgba(226, 239, 254, 0.7);
  font-size: 11.5px;
}

.planning-profile-score > div {
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #1c3b5e 57%, transparent 59%),
    conic-gradient(#61d6b0 var(--profile-progress), rgba(255, 255, 255, 0.12) 0);
}

.planning-profile-score strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.planning-profile-score strong small {
  margin-left: 2px;
  color: rgba(232, 243, 255, 0.72);
  font-size: 12px;
}

.planning-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.planning-profile-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.planning-profile-editor-section {
  display: grid;
  gap: 15px;
  padding: 19px 20px;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(41, 66, 97, 0.045);
}

.planning-profile-editor-section > header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf1f6;
}

.planning-profile-section-number {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #2d6eae;
  background: #edf5ff;
  font-size: 10px;
  font-weight: 800;
}

.planning-profile-editor-section h4 {
  margin: 0;
  color: #1e3954;
  font-size: 16px;
}

.planning-profile-editor-section header p {
  margin: 3px 0 0;
  color: #7d8fa4;
  font-size: 10.5px;
}

.planning-profile-editor-section .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 14px;
}

.planning-profile-editor-section .field > span {
  margin-bottom: 6px;
  color: #526a84;
  font-size: 11.5px;
  font-weight: 650;
}

.planning-profile-editor-section :is(input, select) {
  min-height: 42px;
  border-color: #dce6f2;
  border-radius: 9px;
  color: #263f59;
  background: #fbfdff;
  font-size: 12.5px;
}

.planning-profile-editor-section .ai-region-grid,
.planning-profile-editor-section .score-field.full {
  grid-column: 1 / -1;
}

.planning-profile-editor-section .score-field output {
  float: right;
  color: #2d6eae;
  font-weight: 750;
}

.planning-profile-editor-section input[type="range"] {
  min-height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #3272b8;
}

.planning-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 4px 2px 0;
}

.planning-profile-actions .primary-action,
.planning-profile-actions .secondary-action,
.planning-profile-actions .ghost-action {
  min-height: 41px;
}

.planning-profile-side {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 13px;
}

.planning-profile-panel {
  display: grid;
  gap: 13px;
  padding: 17px;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(41, 66, 97, 0.045);
}

.planning-profile-campus-panel {
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.planning-profile-campus-cover {
  position: relative;
  height: 125px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(94, 157, 211, 0.3), transparent 10rem),
    linear-gradient(145deg, #315879, #17354e);
}

.planning-profile-campus-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.planning-profile-campus-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 31, 50, 0.74));
  content: "";
}

.planning-profile-campus-cover > span {
  position: absolute;
  z-index: 1;
  right: 11px;
  bottom: 9px;
  padding: 3px 7px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(14, 35, 57, 0.7);
  font-size: 8.5px;
}

.planning-profile-campus-meta {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 12px;
}

.planning-profile-campus-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e1e9f2;
  border-radius: 10px;
  background: #f8fbff;
}

.planning-profile-campus-logo img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.planning-profile-campus-meta > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.planning-profile-campus-meta strong {
  overflow: hidden;
  color: #263f58;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planning-profile-campus-meta small {
  overflow: hidden;
  color: #7d8fa4;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planning-profile-campus-meta button {
  padding: 3px 6px;
  border: 0;
  color: #3672ae;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
}

.planning-profile-panel > header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.planning-profile-panel > header > span {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #2f6aa7;
  background: #edf5ff;
}

.planning-profile-panel > header svg {
  width: 17px;
  height: 17px;
}

.planning-profile-panel h4 {
  margin: 0;
  color: #203a55;
  font-size: 14.5px;
}

.planning-profile-panel header p {
  margin: 2px 0 0;
  color: #7e90a4;
  font-size: 10.5px;
}

.planning-profile-summary-list {
  display: grid;
  gap: 7px;
}

.planning-profile-summary-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f7fafe;
}

.planning-profile-summary-list span {
  color: #7d8fa4;
  font-size: 10.5px;
}

.planning-profile-summary-list strong {
  color: #2a465f;
  font-size: 12px;
  text-align: right;
}

.planning-capability-list {
  display: grid;
  gap: 9px;
}

.planning-capability-list > div {
  display: grid;
  grid-template-columns: 57px minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: center;
}

.planning-capability-list span,
.planning-capability-list strong {
  color: #667a90;
  font-size: 10.5px;
}

.planning-capability-list strong {
  color: #356692;
  text-align: right;
}

.planning-capability-list i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eff7;
}

.planning-capability-list i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3474bb, #6fa2d6);
}

.planning-score-axis {
  display: grid;
  gap: 7px;
}

.planning-score-track {
  position: relative;
  height: 8px;
  margin: 9px 5px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #dce9f7, #82b1df 52%, #245f9c);
}

.planning-score-track > span {
  position: absolute;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2d6fae;
  box-shadow: 0 2px 7px rgba(35, 78, 126, 0.25);
  transform: translate(-50%, -50%);
}

.planning-score-track > b {
  position: absolute;
  bottom: 13px;
  color: #2d6fae;
  font-size: 10px;
  transform: translateX(-50%);
}

.planning-score-labels {
  display: flex;
  justify-content: space-between;
  color: #8998aa;
  font-size: 9.5px;
}

.planning-score-axis p {
  margin: 1px 0 0;
  color: #536c84;
  font-size: 11px;
}

.planning-next-actions ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planning-next-actions li {
  position: relative;
  padding: 8px 9px 8px 24px;
  border-radius: 8px;
  color: #586f86;
  background: #f8fbff;
  font-size: 11px;
  line-height: 1.5;
}

.planning-next-actions li::before {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d89c31;
  content: "";
}

.planning-profile-complete {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 14px;
  text-align: center;
}

.planning-profile-complete i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2f9b70;
  font-style: normal;
}

.planning-profile-complete strong {
  color: #2d4b65;
  font-size: 12px;
}

.planning-profile-complete p {
  margin: 0;
  color: #7c8fa3;
  font-size: 11px;
}

@media (max-width: 1050px) {
  #modulePanel:has(.planning-profile-page) {
    padding: 16px;
  }

  .planning-profile-layout {
    grid-template-columns: 1fr;
  }

  .planning-profile-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #modulePanel:has(.planning-profile-page) {
    padding: 11px;
  }

  .planning-profile-hero {
    grid-template-columns: 1fr;
    padding: 21px 18px;
  }

  .planning-profile-hero-media {
    min-height: 165px;
  }

  .planning-profile-hero-media > img {
    min-height: 165px;
  }

  .planning-profile-hero h3 {
    font-size: 22px;
  }

  .planning-profile-score {
    justify-self: start;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .planning-profile-score > div {
    width: 72px;
    height: 72px;
    grid-row: 1 / 3;
  }

  .planning-profile-score strong {
    font-size: 20px;
  }

  .planning-profile-editor-section {
    padding: 16px;
  }

  .planning-profile-editor-section .form-grid,
  .planning-profile-side {
    grid-template-columns: 1fr;
  }

  .planning-profile-editor-section .ai-region-grid {
    grid-template-columns: 1fr;
  }

  .planning-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .planning-profile-actions > * {
    width: 100%;
  }
}

/* 画像最终布局：短卡片、大字号、单侧信息栏 */
.planning-profile-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.planning-profile-block {
  display: grid;
  gap: 15px;
  padding: 18px;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(41, 66, 97, 0.045);
}

.planning-profile-target-block {
  grid-column: 1 / -1;
}

.planning-profile-preference-block {
  grid-column: 1 / -1;
}

.planning-profile-block > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf1f6;
}

.planning-profile-block h4 {
  margin: 0;
  color: #1c3854;
  font-size: 18px;
  line-height: 1.35;
}

.planning-profile-block > header > span {
  color: #71869d;
  font-size: 11.5px;
}

.planning-profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.planning-profile-fields .field.full,
.planning-profile-fields .ai-region-grid {
  grid-column: 1 / -1;
}

.planning-profile-block .field > span {
  margin-bottom: 7px;
  color: #506982;
  font-size: 12.5px;
  font-weight: 650;
}

.planning-profile-block :is(input, select) {
  min-height: 44px;
  border-color: #d8e4f1;
  border-radius: 9px;
  color: #243e58;
  background: #fbfdff;
  font-size: 13.5px;
}

.planning-profile-block input[type="range"] {
  min-height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #3272b8;
}

.planning-profile-block .score-field output {
  float: right;
  color: #2d6eae;
  font-weight: 750;
}

.planning-target-picker {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 14px;
  align-items: end;
}

.planning-target-choices {
  display: grid;
  gap: 11px;
}

.planning-target-search > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.planning-target-search > span em {
  color: #73879d;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.planning-target-search > div {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #d8e4f1;
  border-radius: 9px;
  color: #6d8298;
  background: #fbfdff;
}

.planning-target-search > div:focus-within {
  border-color: #7eafe2;
  box-shadow: 0 0 0 3px rgba(61, 124, 190, 0.1);
}

.planning-target-search svg {
  width: 18px;
  height: 18px;
}

.planning-target-search input {
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13.5px !important;
}

.planning-target-preview {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 67px;
  padding: 9px 11px;
  border: 1px solid #dde8f4;
  border-radius: 11px;
  background: #f7fbff;
}

.planning-target-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e9f1;
  border-radius: 10px;
  background: #fff;
}

.planning-target-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.planning-target-preview > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.planning-target-preview strong {
  overflow: hidden;
  color: #1f3a56;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planning-target-preview small {
  overflow: hidden;
  color: #73869b;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planning-target-preview button {
  padding: 5px 7px;
  border: 0;
  color: #2f70b0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.planning-profile-insight-sheet {
  position: sticky;
  top: 18px;
  overflow: hidden;
  border: 1px solid #dce7f3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(41, 66, 97, 0.055);
}

.planning-profile-insight-section {
  display: grid;
  gap: 13px;
  padding: 18px;
  border-bottom: 1px solid #edf1f6;
}

.planning-profile-insight-section:last-child {
  border-bottom: 0;
}

.planning-profile-insight-section > header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.planning-profile-insight-section > header > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #2f6aa7;
  background: #edf5ff;
}

.planning-profile-insight-section > header svg {
  width: 16px;
  height: 16px;
}

.planning-profile-insight-section h4 {
  margin: 0;
  color: #203a55;
  font-size: 16px;
}

.planning-profile-insight-section h4 em {
  float: right;
  color: #2e6aa7;
  font-size: 20px;
  font-weight: 800;
  font-style: normal;
}

.planning-profile-insight-section h4 em small {
  margin-left: 6px;
  color: #5f7891;
  font-size: 12px;
  font-weight: 700;
}

.planning-profile-summary-list > div {
  padding: 9px 10px;
}

.planning-profile-summary-list span {
  font-size: 11.5px;
}

.planning-profile-summary-list strong {
  font-size: 12.5px;
}

.planning-capability-list > div {
  grid-template-columns: 64px minmax(0, 1fr) 27px;
}

.planning-capability-list span,
.planning-capability-list strong {
  font-size: 13px;
}

.planning-capability-list strong {
  font-weight: 800;
}

.planning-competitiveness-basis {
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid #edf1f6;
  color: #657a91;
  font-size: 12.5px;
  line-height: 1.6;
}

.planning-score-labels {
  font-size: 10px;
}

.planning-score-axis p {
  font-size: 11.5px;
}

.planning-next-actions li {
  padding: 11px 12px 11px 29px;
  font-size: 14px;
  line-height: 1.65;
}

.planning-next-actions header h4 {
  font-size: 18px;
}

.planning-next-actions li::before {
  top: 17px;
  left: 13px;
}

@media (max-width: 1050px) {
  .planning-profile-card-grid {
    grid-template-columns: 1fr;
  }

  .planning-profile-target-block {
    grid-column: 1;
  }

  .planning-profile-insight-sheet {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planning-profile-insight-section {
    border-right: 1px solid #edf1f6;
  }

  .planning-profile-insight-section:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .planning-profile-card-grid,
  .planning-profile-fields,
  .planning-profile-insight-sheet,
  .planning-target-picker {
    grid-template-columns: 1fr;
  }

  .planning-profile-block {
    padding: 16px;
  }

  .planning-profile-block h4 {
    font-size: 17px;
  }

  .planning-profile-block :is(input, select) {
    font-size: 14px;
  }

  .planning-profile-insight-section {
    border-right: 0;
  }

  .planning-target-preview {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
}

/* —— 调剂执行清单折叠入口与官方专题 —— */
.adjx-execution-entry {
  margin-top: 16px;
}

.adjx-execution-entry > button {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid #d7e4f5;
  border-radius: 14px;
  color: #263950;
  background:
    radial-gradient(circle at 91% 16%, rgba(72, 120, 205, 0.1), transparent 30%),
    linear-gradient(135deg, #f7faff, #fff);
  text-align: left;
  box-shadow: 0 8px 20px rgba(38, 57, 98, 0.055);
  transition: transform 0.14s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.adjx-execution-entry > button:hover {
  border-color: #a9c8ee;
  box-shadow: 0 14px 30px rgba(38, 57, 98, 0.11);
  transform: translateY(-1px);
}

.adjx-execution-entry > button:active {
  transform: scale(0.994);
}

.adjx-execution-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2f6fd8, #57a7d9);
}

.adjx-execution-icon b {
  margin-bottom: -9px;
  font-size: 23px;
  line-height: 1;
}

.adjx-execution-icon small {
  font-size: 9px;
}

.adjx-execution-copy {
  display: grid;
  gap: 5px;
}

.adjx-execution-copy small {
  color: #5d7ba2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.adjx-execution-copy strong {
  color: #20344e;
  font-size: 20px;
  font-weight: 760;
}

.adjx-execution-entry em {
  color: #2f67bd;
  font-size: 13px;
  font-style: normal;
  font-weight: 720;
  white-space: nowrap;
}

.adjx-official-portal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #d9e7f6;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f9ff, #fff);
  transition: transform 0.14s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.adjx-official-portal:hover {
  border-color: #b7d0ee;
  box-shadow: 0 12px 26px rgba(38, 57, 98, 0.1);
  transform: translateY(-1px);
}

.adjx-official-portal:active {
  transform: scale(0.995);
}

.adjx-official-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #1d6ac2, #1d9c8e);
  font-size: 19px;
  font-weight: 800;
}

.adjx-official-portal > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.adjx-official-portal p {
  margin: 0;
  color: #4f78a7;
  font-size: 11px;
  font-weight: 720;
}

.adjx-official-portal h3 {
  margin: 0;
  color: #1f344e;
  font-size: 19px;
  font-weight: 760;
}

.adjx-official-portal > div:nth-child(2) > span,
.adjx-official-portal > small {
  color: #65768c;
  font-size: 12px;
  line-height: 1.55;
}

.adjx-official-portal > a {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #bcd3f1;
  border-radius: 9px;
  color: #2d65c1;
  background: #fff;
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.adjx-official-portal > small {
  grid-column: 2 / -1;
}

.modal-card.adjustment-execution-modal-card {
  width: min(1180px, calc(100vw - 44px));
  max-height: min(93vh, 980px);
  padding: 27px 30px 32px;
  border-radius: 16px;
}

.adjx-execution-modal {
  display: grid;
  gap: 18px;
}

.adjx-execution-modal-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #d8e5f7;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4f8ff, #fff);
}

.adjx-execution-modal-head > span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 7px;
  color: #fff;
  background: #326cb6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.adjx-execution-modal-head h3 {
  margin: 0 0 4px;
  color: #1b304b;
  font-size: 25px;
  font-weight: 780;
}

.adjx-execution-modal-head p {
  margin: 0;
  color: #61748b;
  font-size: 13px;
}

.adjx-execution-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.adjx-execution-modal-stage {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 19px;
  border: 1px solid #dee8f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(38, 57, 98, 0.05);
  transition: transform 0.14s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.adjx-execution-modal-stage:hover {
  border-color: #bfd4ee;
  box-shadow: 0 13px 28px rgba(38, 57, 98, 0.1);
  transform: translateY(-1px);
}

.adjx-execution-modal-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.adjx-execution-modal-marker span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #326cb6;
  font-size: 13px;
  font-weight: 800;
}

.adjx-execution-modal-marker em {
  padding: 5px 9px;
  border-radius: 999px;
  color: #526c8b;
  background: #eef4fb;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.adjx-execution-modal-stage > small {
  color: #647c98;
  font-size: 12px;
  font-weight: 700;
}

.adjx-execution-modal-stage h3 {
  margin: 0;
  color: #1d3049;
  font-size: 20px;
  font-weight: 770;
}

.adjx-execution-modal-stage > p {
  margin: 0;
  color: #5b6d83;
  font-size: 13px;
  line-height: 1.65;
}

.adjx-execution-modal-stage ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 19px;
  color: #465a72;
  font-size: 13px;
  line-height: 1.62;
}

.adjx-execution-modal-stage footer {
  display: grid;
  gap: 3px;
  margin-top: 3px;
  padding: 10px 12px;
  border: 1px solid #d5ebdf;
  border-radius: 9px;
  color: #2e9a70;
  background: #f4fbf7;
  font-size: 11px;
}

.adjx-execution-modal-stage footer strong {
  color: #28684f;
  font-size: 12.5px;
}

/* —— 复试三页与即用工具 —— */
.retest-page-switch {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

.retest-tools-page {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #e1e8f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(31, 53, 88, 0.05);
}

.retest-tools-head {
  margin-bottom: 0;
}

.retest-tool-group {
  display: grid;
  gap: 11px;
  padding-top: 15px;
  border-top: 1px solid #e8eef6;
}

.retest-tool-group > header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.retest-tool-group > header > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #2f67be;
  background: #edf4ff;
  font-size: 10px;
  font-weight: 800;
}

.retest-tool-group > header > div {
  display: grid;
  gap: 2px;
}

.retest-tool-group > header strong {
  color: #233750;
  font-size: 15px;
  font-weight: 750;
}

.retest-tool-group > header small {
  color: #7b899d;
  font-size: 11.5px;
}

.retest-tool-launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.retest-official-priority {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  color: #60748b;
  background: #f6f9fd;
  font-size: 12px;
  line-height: 1.6;
}

.retest-official-priority strong {
  display: block;
  margin-bottom: 2px;
  color: #334b68;
  font-size: 11px;
}

.retest-tool-launch-grid button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 13px;
  border: 1px solid #e1e9f4;
  border-radius: 12px;
  color: #263a54;
  background: #f9fbfe;
  text-align: left;
  transition: transform 0.14s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.retest-tool-launch-grid button:hover {
  border-color: #b9d2f0;
  box-shadow: 0 11px 23px rgba(38, 57, 98, 0.09);
  transform: translateY(-1px);
}

.retest-tool-launch-grid button:active {
  transform: scale(0.992);
}

.retest-tool-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #2d68c5;
  background: #edf4ff;
  font-size: 13px;
  font-weight: 760;
}

.retest-tool-launch-grid button > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.retest-tool-launch-grid strong {
  font-size: 14px;
  font-weight: 730;
}

.retest-tool-launch-grid small {
  overflow: hidden;
  color: #718198;
  font-size: 11.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retest-tool-launch-grid em {
  grid-column: 2;
  color: #2d68c5;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 980px) {
  .retest-page-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }

  .retest-tool-launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .retest-page-switch,
  .retest-tool-launch-grid,
  .adjx-execution-modal-grid {
    grid-template-columns: 1fr;
  }

  .retest-page-switch {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }

  .adjx-execution-entry > button,
  .adjx-official-portal {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .adjx-execution-entry em,
  .adjx-official-portal > a {
    grid-column: 2;
    justify-self: start;
  }

  .adjx-official-portal > small {
    grid-column: 1 / -1;
  }

  .modal-card.adjustment-execution-modal-card {
    width: calc(100vw - 20px);
    padding: 18px 14px 24px;
  }

  .adjx-execution-modal-head {
    display: grid;
  }
}

/* Offerbiu-inspired light content surfaces */
.daily-hero,
.daily-hero.idle,
.daily-hero.warm,
.daily-hero.good,
.daily-hero.clear {
  color: #18253b;
  border: 1px solid #dce8f8;
  background:
    radial-gradient(circle at 92% 8%, rgba(79, 140, 231, 0.12), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #edf5ff 100%);
  box-shadow: 0 4px 16px rgba(41, 70, 105, 0.045);
}

.daily-badge {
  color: #245fbe;
  background: #e8f1ff;
}

.daily-meta {
  color: #718198;
}

.daily-hero-copy h3 {
  color: #0f1729;
  font-size: 26px;
  font-weight: 800;
}

.daily-hero-copy p {
  color: #5f6f84;
}

.daily-progress-ring::before {
  background: conic-gradient(#2463eb var(--daily-progress), #dce6f3 0);
}

.daily-progress-ring strong {
  color: #1d4ed8;
}

.daily-progress-ring small {
  color: #74839a;
}

.daily-kpi-strip > span {
  border-color: #dde7f4;
  background: rgba(255, 255, 255, 0.82);
}

.daily-kpi-strip b {
  color: #17253b;
}

.daily-kpi-strip small,
.daily-proof-chips > div span {
  color: #66768c;
}

.daily-proof-chips > div span {
  border-color: #dce6f3;
  background: #fff;
}

.adjx-hero {
  color: #17253b;
  border: 1px solid #dce8f8;
  background:
    radial-gradient(circle at 91% 7%, rgba(72, 137, 226, 0.12), transparent 32%),
    linear-gradient(135deg, #f8fbff, #edf5ff);
  box-shadow: 0 4px 16px rgba(41, 70, 105, 0.045);
}

.adjx-hero p {
  color: #3670b8;
}

.adjx-hero h3 {
  color: #101b2e;
}

.adjx-hero > div > span {
  color: #5f7086;
}

.adjx-hero-metrics div {
  border-color: #dce7f4;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: none;
}

.adjx-hero-metrics strong {
  color: #1c4fa6;
}

.adjx-hero-metrics small {
  color: #6d7c90;
}

.adjx-hero-metrics .is-new {
  border-color: #f0dfb7;
  background: #fffaf0;
}

.dashboard-topbar {
  border-color: #e2eaf5;
  background:
    radial-gradient(circle at 96% 12%, rgba(89, 153, 219, 0.1), transparent 31%),
    #fff;
  box-shadow: 0 4px 14px rgba(40, 67, 111, 0.045);
}

#modulePanel,
.dashboard-home,
.dashboard-topbar {
  width: min(100%, 1320px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 560px) {
  .module-panel {
    padding: 0;
    border-radius: 0;
  }

  .workspace {
    padding: 14px;
  }
}

/* Offerbiu-style readable microcopy and card hierarchy */
#modulePanel small,
#dashboardHome small {
  font-size: 12px;
}

#modulePanel :is(.eyebrow, .section-kicker),
#dashboardHome :is(.eyebrow, .section-kicker) {
  font-weight: 700;
  letter-spacing: 0.045em;
}

#modulePanel:has(.retest-guide) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#modulePanel .module-title {
  padding-left: 0;
  padding-right: 0;
}

#modulePanel :is(.module-card, .side-block, .detail-section) {
  border-radius: 10px;
}

@media (max-width: 560px) {
  #modulePanel .module-title {
    margin-bottom: 18px;
  }

  #modulePanel .module-title h2 {
    font-size: 24px;
  }
}

/* ---------- 开发者工作台：大字号、快捷操作与调试工具 ---------- */
#modulePanel:has(.developer-console),
#modulePanel:has(.developer-dashboard),
#modulePanel:has(.developer-loading),
#modulePanel:has(.developer-error-card) {
  padding: 24px;
  border-color: #dbe5f1;
  background: #f2f6fb;
  box-shadow: none;
}

#modulePanel:has(.developer-console) .module-title {
  align-items: flex-end;
  margin-bottom: 20px;
}

#modulePanel:has(.developer-console) .module-title h2 {
  margin-top: 5px;
  color: #142c47;
  font-size: 32px;
  letter-spacing: -0.025em;
}

#modulePanel:has(.developer-console) .module-title .eyebrow {
  color: #3f72a8;
  font-size: 12px;
}

.developer-console {
  gap: 18px;
  color: #243b55;
  font-size: 14px;
}

#modulePanel .developer-console small {
  font-size: 12px;
}

.developer-console p {
  font-size: 13px;
}

.developer-console-bar {
  min-height: 82px;
  gap: 18px;
  padding: 16px 18px;
  border-color: #dbe5f1;
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(34, 60, 96, 0.045);
}

.developer-console-bar > div:first-child {
  gap: 13px;
}

.developer-console-bar > div:first-child > span {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #2d6eb8, #4e91d3);
}

.developer-console-bar svg {
  width: 22px;
  height: 22px;
}

.developer-console-bar strong {
  color: #17324d;
  font-size: 20px;
  line-height: 1.3;
}

.developer-console-bar small {
  margin-top: 4px;
  color: #74879d;
  font-size: 13px;
}

.developer-env-chips span {
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
}

.developer-console-actions {
  gap: 8px;
}

.developer-console-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d8e3f0;
  border-radius: 10px;
  color: #405b77;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.developer-console-action:hover {
  border-color: #b9cee5;
  box-shadow: 0 7px 17px rgba(40, 75, 118, 0.08);
  transform: translateY(-1px);
}

.developer-console-action.primary {
  color: #fff;
  border-color: #2f6fb3;
  background: #2f6fb3;
}

.developer-tabs {
  min-height: 56px;
  gap: 7px;
  padding: 7px;
  border-color: #dce5f0;
  border-radius: 14px;
  background: #fff;
}

.developer-tabs button {
  min-width: 125px;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 9px;
  color: #536b84;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.developer-tabs button:hover {
  color: #2d629c;
  background: #f4f8fd;
}

.developer-tabs button.active {
  color: #225f9c;
  background: #edf5ff;
  box-shadow: inset 0 0 0 1px #c9dcf1;
}

.developer-tabs b {
  min-width: 24px;
  padding: 2px 6px;
  font-size: 11px;
}

.developer-dashboard {
  gap: 18px;
}

.developer-command-center {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(520px, 1.35fr);
  gap: 22px 32px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #d8e5f3;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 0%, rgba(91, 151, 215, 0.14), transparent 21rem),
    linear-gradient(135deg, #f8fbff, #fff);
  box-shadow: 0 10px 28px rgba(35, 67, 108, 0.055);
}

.developer-command-center::after {
  position: absolute;
  top: -65px;
  right: -55px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(66, 121, 184, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(66, 121, 184, 0.025), 0 0 0 68px rgba(66, 121, 184, 0.018);
  content: "";
}

.developer-command-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 17px;
}

.developer-command-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #2465aa, #55a0d0);
  box-shadow: 0 9px 20px rgba(42, 103, 166, 0.2);
}

.developer-command-icon.is-warning {
  background: linear-gradient(145deg, #a56c1c, #d89d40);
}

.developer-command-icon svg {
  width: 27px;
  height: 27px;
}

.developer-status {
  margin-bottom: 7px;
  font-size: 13px;
}

.developer-command-copy h3 {
  margin: 0;
  color: #152f4a;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.developer-command-copy p {
  margin: 7px 0 0;
  color: #6e8299;
  font-size: 13px;
  line-height: 1.65;
}

.developer-command-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.developer-command-metrics article {
  display: grid;
  min-height: 96px;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.developer-command-metrics span {
  color: #71849a;
  font-size: 12px;
}

.developer-command-metrics strong {
  color: #173b62;
  font-size: 27px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.developer-command-metrics small {
  color: #8a99a9 !important;
  font-size: 12px !important;
}

.developer-command-footer {
  position: relative;
  z-index: 1;
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 15px;
  border-top: 1px solid #e4ebf3;
}

.developer-command-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64798f;
  font-size: 12px;
}

.developer-command-footer i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38a777;
}

.developer-command-footer i.warn {
  background: #d79b32;
}

.developer-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.developer-quick-actions > button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 17px;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  color: #29415a;
  background: #fff;
  text-align: left;
  box-shadow: 0 7px 19px rgba(35, 61, 96, 0.045);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.developer-quick-actions > button:hover {
  border-color: #b7cde3;
  box-shadow: 0 13px 27px rgba(35, 65, 105, 0.1);
  transform: translateY(-2px);
}

.developer-quick-actions > button:active {
  transform: scale(0.99);
}

.developer-quick-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: #2f6ba9;
  background: #edf5ff;
}

.developer-quick-icon.data {
  color: #28765d;
  background: #ecf8f3;
}

.developer-quick-icon.logs {
  color: #7959a6;
  background: #f3effb;
}

.developer-quick-icon.config {
  color: #9a6723;
  background: #fff7e9;
}

.developer-quick-icon svg {
  width: 22px;
  height: 22px;
}

.developer-quick-actions > button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.developer-quick-actions small {
  color: #7a8da1;
  font-size: 11px;
}

.developer-quick-actions strong {
  color: #1d3853;
  font-size: 15px;
}

.developer-quick-actions em {
  overflow: hidden;
  color: #7d8fa2;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-quick-actions > button > b {
  color: #8aa0b7;
  font-size: 17px;
  font-weight: 500;
}

.developer-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
}

.developer-status-card {
  display: grid;
  align-content: start;
  gap: 17px;
  padding: 23px;
  border: 1px solid #dce6f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 21px rgba(35, 62, 96, 0.045);
}

.developer-status-card > header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.developer-card-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #2f69a4;
  background: #edf5ff;
}

.developer-card-icon svg {
  width: 21px;
  height: 21px;
}

.developer-status-card h3 {
  margin: 0;
  color: #18334e;
  font-size: 20px;
}

.developer-status-card header p {
  margin: 3px 0 0;
  color: #73869a;
  font-size: 12px;
}

.developer-text-action {
  margin-left: auto;
  padding: 5px;
  border: 0;
  color: #2e6aa7;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.developer-stat-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.developer-stat-line > span {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 10px;
  background: #f6f9fd;
}

.developer-stat-line small {
  color: #7b8da0;
  font-size: 12px !important;
}

.developer-stat-line strong {
  color: #244763;
  font-size: 18px;
}

.developer-top-tables {
  display: grid;
  overflow: hidden;
  border: 1px solid #e3eaf3;
  border-radius: 11px;
}

.developer-top-tables button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  color: #34516f;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.developer-top-tables button:last-child {
  border-bottom: 0;
}

.developer-top-tables button:hover {
  background: #f7faff;
}

.developer-top-tables button > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.developer-top-tables code {
  overflow: hidden;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-top-tables small {
  color: #8494a6;
  font-size: 11.5px !important;
}

.developer-top-tables b {
  color: #2f6aa8;
  font-size: 11px;
}

.developer-runtime-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.developer-runtime-list > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf1f5;
}

.developer-runtime-list > div:last-child {
  border-bottom: 0;
}

.developer-runtime-list dt {
  color: #8090a2;
  font-size: 12px;
}

.developer-runtime-list dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: #354f68;
  font-size: 12.5px;
  font-weight: 650;
}

.developer-runtime-flags {
  gap: 7px;
}

.developer-runtime-flags span {
  padding: 6px 10px;
  font-size: 11.5px;
}

.developer-recent-activity {
  gap: 15px;
}

.developer-overview-requests {
  display: grid;
  overflow: hidden;
  border: 1px solid #e3eaf3;
  border-radius: 11px;
}

.developer-overview-requests > div {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) 44px 73px 108px;
  gap: 11px;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border-bottom: 1px solid #edf1f6;
}

.developer-overview-requests > div:last-child {
  border-bottom: 0;
}

.developer-overview-requests code {
  overflow: hidden;
  color: #3b556f;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-method {
  padding: 3px 5px;
  border-radius: 5px;
  color: #326aa5;
  background: #edf5ff;
  font-size: 9.5px;
  font-weight: 800;
  text-align: center;
}

.developer-method.method-post {
  color: #237353;
  background: #eaf8f1;
}

.developer-method.method-delete {
  color: #a13e3e;
  background: #fff0f0;
}

.developer-overview-requests strong,
.developer-overview-requests > div > small,
.developer-overview-requests time {
  font-size: 11.5px;
}

.developer-overview-requests strong.is-ok {
  color: #237353;
}

.developer-overview-requests strong.is-error {
  color: #a13c3c;
}

.developer-overview-requests > div > small,
.developer-overview-requests time {
  color: #7e90a4 !important;
}

/* 接口调试台 */
.developer-request-lab {
  display: grid;
  gap: 18px;
  padding: 23px;
  border: 1px solid #d8e4f1;
  border-radius: 16px;
  background:
    radial-gradient(circle at 96% 2%, rgba(81, 140, 204, 0.1), transparent 18rem),
    #fff;
  box-shadow: 0 8px 22px rgba(37, 65, 100, 0.055);
}

.developer-request-lab .developer-workspace-head > div > span,
.developer-workspace-card .developer-workspace-head > div > span {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.developer-workspace-head h3 {
  font-size: 20px;
}

.developer-workspace-head p {
  font-size: 12px !important;
}

.developer-lab-endpoint {
  padding: 7px 10px;
  border: 1px solid #dbe6f2;
  border-radius: 8px;
  color: #5d738b;
  background: #f8fbff;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
}

.developer-request-form {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.developer-request-form label {
  display: grid;
  gap: 7px;
}

.developer-request-form label > span {
  color: #5e748c;
  font-size: 12px;
  font-weight: 700;
}

.developer-request-form :is(input, select, textarea) {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #d7e3f0;
  border-radius: 9px;
  outline: 0;
  color: #233f5d;
  background: #fbfdff;
  font: inherit;
  font-size: 13.5px;
}

.developer-request-form :is(input, select, textarea):focus {
  border-color: #7eafe2;
  box-shadow: 0 0 0 3px rgba(61, 124, 190, 0.1);
}

.developer-request-form select,
.developer-request-form input[name="path"] {
  font-family: "Cascadia Code", Consolas, monospace;
}

.developer-request-auth {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  gap: 7px !important;
  padding: 0 3px;
  white-space: nowrap;
}

.developer-request-auth input {
  width: 17px;
  min-height: 17px;
  accent-color: #3271b4;
}

.developer-request-auth span {
  font-size: 12px !important;
}

.developer-request-body {
  grid-column: 1 / -1;
}

.developer-request-body textarea {
  min-height: 96px;
  resize: vertical;
  font-family: "Cascadia Code", Consolas, monospace;
  line-height: 1.55;
}

.developer-request-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 9px;
}

.developer-run-button,
.developer-secondary-button {
  min-height: 43px;
  padding: 8px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.developer-run-button {
  border: 1px solid #2769ad;
  color: #fff;
  background: #2e70b4;
  box-shadow: 0 7px 15px rgba(41, 105, 172, 0.17);
}

.developer-run-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.developer-secondary-button {
  border: 1px solid #d8e4f0;
  color: #4b657e;
  background: #fff;
}

.developer-secondary-button:disabled {
  opacity: 0.45;
}

.developer-response-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 160px;
  overflow: hidden;
  border: 1px solid #243b55;
  border-radius: 12px;
  background: #14263b;
}

.developer-response-panel > div {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.developer-response-panel strong {
  color: #eaf3ff;
  font-size: 15px;
}

.developer-response-panel span {
  overflow-wrap: anywhere;
  color: #91a8c1;
  font-size: 11.5px;
  line-height: 1.55;
}

.developer-response-panel pre {
  max-height: 380px;
  overflow: auto;
  margin: 0;
  padding: 18px;
  color: #bfe3d6;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.developer-response-panel.has-error {
  border-color: #6f3d44;
  background: #351f24;
}

.developer-response-panel.has-error pre {
  color: #ffd0d0;
}

/* 接口、数据、日志与配置列表 */
.developer-workspace-card {
  gap: 18px;
  padding: 23px;
  border-color: #dce6f1;
  border-radius: 16px;
  box-shadow: 0 8px 21px rgba(35, 62, 96, 0.045);
}

.developer-workspace-actions {
  display: flex;
  gap: 8px;
}

.developer-api-toolbar label {
  min-height: 45px;
}

.developer-api-toolbar input {
  font-size: 13.5px;
}

.developer-api-toolbar > div button,
.developer-log-filter button {
  min-height: 39px;
  padding: 7px 13px;
  font-size: 12px;
}

.developer-route-result-head {
  font-size: 12px;
}

.developer-route-result-head strong {
  font-size: 14px;
}

.developer-route-group > summary {
  min-height: 49px;
  padding: 11px 14px;
}

.developer-route-group > summary strong {
  font-size: 15px;
}

.developer-route-group > summary span {
  font-size: 12px;
}

.developer-route-row {
  grid-template-columns: 82px minmax(0, 1fr) minmax(130px, 0.42fr) auto;
  min-height: 49px;
  gap: 11px;
  padding: 8px 10px;
}

.developer-route-row b {
  min-width: 36px;
  padding: 3px 6px;
  font-size: 9.5px;
}

.developer-route-row code {
  color: #2c4965;
  font-size: 12.5px;
}

.developer-route-row small {
  font-size: 11px;
}

.developer-route-actions {
  display: flex;
  gap: 5px;
}

.developer-route-row .developer-route-actions button {
  min-height: 31px;
  padding: 4px 9px;
  border: 1px solid #d7e4f1;
  border-radius: 7px;
  color: #456681;
  background: #f8fbff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.developer-route-row .developer-route-actions button:first-child {
  color: #2e67a0;
  border-color: #c9dcef;
  background: #edf6ff;
}

.developer-route-row .developer-route-actions button:hover {
  border-color: #aac5df;
}

.developer-table-browser button {
  min-height: 50px;
  padding: 9px 11px;
}

.developer-table-browser code {
  font-size: 12px;
}

.developer-table-browser small {
  font-size: 10.5px;
}

.developer-inspector-head,
.developer-inspector-foot {
  padding: 14px 16px;
}

.developer-inspector-head strong {
  font-size: 18px;
}

.developer-inspector-head span,
.developer-inspector-foot {
  font-size: 12px;
}

.developer-inspector-head > div:last-child {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.developer-inspector-head .small-action {
  min-height: 34px;
  padding: 5px 9px;
  font-size: 11.5px;
}

.developer-column-list {
  padding: 11px 14px;
}

.developer-column-list > span {
  padding: 6px 9px;
}

.developer-column-list strong {
  font-size: 11px;
}

.developer-column-list small {
  font-size: 9.5px;
}

.developer-data-table table {
  font-size: 12.5px;
}

.developer-data-table th,
.developer-data-table td {
  padding: 11px 13px;
}

.developer-log-metrics {
  gap: 10px;
}

.developer-log-metrics article {
  padding: 15px;
}

.developer-log-metrics span {
  font-size: 11.5px;
}

.developer-log-metrics strong {
  font-size: 24px;
}

.developer-request-list > div {
  grid-template-columns: 130px 52px minmax(0, 1fr) 50px 72px;
  min-height: 47px;
  padding: 9px 12px;
}

.developer-request-list time,
.developer-request-list small {
  font-size: 11px;
}

.developer-request-list b {
  font-size: 10px;
}

.developer-request-list code {
  font-size: 12px;
}

.developer-feature-list span {
  padding: 10px 12px;
  font-size: 12.5px;
}

.developer-config-grid article > span {
  font-size: 13px;
}

.developer-config-grid article strong {
  font-size: 16px;
}

.developer-config-grid article small {
  font-size: 11.5px;
}

.developer-kv > div {
  padding: 13px;
}

.developer-kv dt {
  font-size: 11.5px;
}

.developer-kv dd {
  font-size: 13.5px;
}

/* 业务数据整体放大 */
.developer-business-metrics span {
  font-size: 12px;
}

.developer-business-metrics strong {
  font-size: 28px;
}

.developer-business-metrics small {
  font-size: 11.5px;
}

.developer-business-kpis strong {
  font-size: 20px;
}

.developer-business-kpis small {
  font-size: 10.5px;
}

.developer-distribution-pair h4,
.developer-distribution span,
.developer-distribution strong {
  font-size: 11.5px;
}

.developer-business-table table {
  font-size: 12px;
}

.developer-compact-list strong,
.developer-plan-list strong {
  font-size: 12.5px;
}

.developer-compact-list small,
.developer-plan-list small {
  font-size: 10.5px;
}

.developer-compact-list > div > b,
.developer-plan-list > div > b {
  font-size: 13px;
}

/* 连接失败：提供直接可操作的自助恢复 */
.developer-error-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 30px;
  min-height: 480px;
  place-items: stretch;
  padding: 34px;
  color: #384f68;
  text-align: left;
  background:
    radial-gradient(circle at 93% 2%, rgba(80, 137, 201, 0.1), transparent 18rem),
    #fff;
}

.developer-error-main {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 17px;
}

.developer-error-icon {
  display: grid;
  width: 58px;
  height: 58px;
  align-self: start;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #2a67a7, #4b90cc);
}

.developer-error-copy {
  align-self: start;
}

.developer-error-copy h3 {
  margin: 8px 0 10px;
  color: #17324d;
  font-size: 30px;
}

.developer-error-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: #6b8097;
  font-size: 14px;
  line-height: 1.7;
}

.developer-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}

.developer-error-actions .secondary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 15px;
  border-radius: 9px;
  text-decoration: none;
}

.developer-error-help {
  display: grid;
  align-content: center;
  gap: 11px;
  padding: 20px;
  border: 1px solid #e0e8f2;
  border-radius: 14px;
  background: #f8fbff;
}

.developer-error-help > article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
}

.developer-error-help > article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #2d69a4;
  background: #edf5ff;
  font-size: 11px;
  font-weight: 800;
}

.developer-error-help article div {
  display: grid;
  gap: 5px;
}

.developer-error-help strong {
  color: #29455f;
  font-size: 13px;
}

.developer-error-help p {
  margin: 0;
  color: #74879c;
  font-size: 12px;
}

.developer-error-help code {
  overflow-wrap: anywhere;
  padding: 7px 9px;
  border-radius: 7px;
  color: #4a6178;
  background: #f3f7fb;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
}

.developer-token-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
}

.developer-token-row input {
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  outline: 0;
  color: #2a4662;
  background: #fff;
  font-size: 13px;
}

.developer-nav-item .nav-dev-badge {
  padding: 2px 7px;
  font-size: 10px;
}

.developer-token-row :is(button) {
  min-height: 40px;
  padding: 7px 13px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .developer-console-bar {
    flex-wrap: wrap;
  }

  .developer-env-chips {
    order: 4;
    width: 100%;
    margin-left: 0;
  }

  .developer-command-center {
    grid-template-columns: 1fr;
  }

  .developer-command-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .developer-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #modulePanel:has(.developer-console),
  #modulePanel:has(.developer-dashboard),
  #modulePanel:has(.developer-loading),
  #modulePanel:has(.developer-error-card) {
    padding: 14px;
  }

  #modulePanel:has(.developer-console) .module-title h2 {
    font-size: 27px;
  }

  .developer-console-actions {
    width: 100%;
  }

  .developer-console-action {
    flex: 1;
  }

  .developer-command-center {
    padding: 22px;
  }

  .developer-command-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-overview-grid {
    grid-template-columns: 1fr;
  }

  .developer-request-form {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .developer-request-auth {
    grid-column: 1 / -1;
  }

  .developer-response-panel {
    grid-template-columns: 1fr;
  }

  .developer-response-panel > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .developer-error-card {
    grid-template-columns: 1fr;
  }

  .developer-overview-requests > div {
    grid-template-columns: 46px minmax(0, 1fr) 42px;
  }

  .developer-overview-requests time,
  .developer-overview-requests > div > small {
    display: none;
  }
}

@media (max-width: 560px) {
  .developer-command-copy {
    align-items: flex-start;
  }

  .developer-command-icon {
    width: 48px;
    height: 48px;
  }

  .developer-command-copy h3 {
    font-size: 23px;
  }

  .developer-command-metrics,
  .developer-quick-actions,
  .developer-stat-line {
    grid-template-columns: 1fr;
  }

  .developer-console-bar {
    padding: 14px;
  }

  .developer-console-action {
    min-height: 39px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .developer-tabs button {
    min-width: 110px;
  }

  .developer-request-lab,
  .developer-workspace-card,
  .developer-status-card {
    padding: 16px;
  }

  .developer-request-form {
    grid-template-columns: 1fr;
  }

  .developer-request-method,
  .developer-request-path,
  .developer-request-auth,
  .developer-request-body,
  .developer-request-actions {
    grid-column: 1;
  }

  .developer-request-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .developer-status-card > header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .developer-text-action {
    width: 100%;
    margin-left: 55px;
    padding-left: 0;
  }

  .developer-route-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .developer-route-row small {
    display: none;
  }

  .developer-route-actions {
    grid-column: 2;
    justify-content: flex-end;
  }

  .developer-token-row {
    grid-template-columns: 1fr 1fr;
  }

  .developer-token-row input {
    grid-column: 1 / -1;
  }
}

/* 复试院校详情：全院校统一的大字号、低文字密度版本 */
#modalShell .modal-card.retest-detail-modal {
  width: min(1120px, calc(100vw - 40px));
  max-height: min(92vh, 960px);
  padding: 28px 30px;
  border-radius: 18px;
}

.retest-detail-modal .modal-copy {
  color: #64788e;
  font-size: 14px;
}

.retest-detail-modal .retest-modal-summary {
  gap: 12px;
  margin: 20px 0;
}

.retest-detail-modal .retest-modal-summary div {
  padding: 16px 17px;
  border: 1px solid #dde7f2;
  border-radius: 12px;
  background: #f7faff;
}

.retest-detail-modal .retest-modal-summary span {
  color: #74879d;
  font-size: 12px;
}

.retest-detail-modal .retest-modal-summary strong {
  margin-top: 6px;
  color: #193650;
  font-size: 22px;
  line-height: 1.25;
}

.retest-detail-modal .retest-modal-section {
  margin-top: 16px;
  padding: 19px 20px;
  border-color: #dde7f2;
  border-radius: 13px;
  background: #fff;
}

.retest-detail-modal .retest-modal-section h3 {
  margin-bottom: 12px;
  color: #193550;
  font-size: 19px;
}

.retest-detail-modal .retest-modal-section p,
.retest-detail-modal .retest-modal-section li {
  color: #51677f;
  font-size: 13.5px;
  line-height: 1.7;
}

.retest-detail-modal .retest-modal-section ol,
.retest-detail-modal .retest-modal-section ul {
  gap: 8px;
}

.retest-detail-modal .retest-detail-rules-section {
  background: #fbfdff;
}

.retest-detail-modal .retest-modal-rules {
  gap: 10px;
}

.retest-detail-modal .retest-modal-rules p {
  min-height: 82px;
  padding: 13px 14px;
  background: #f7faff;
}

.retest-detail-modal .retest-modal-rules span {
  margin-bottom: 6px;
  color: #71869c;
  font-size: 11.5px;
}

.retest-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.retest-detail-modal .retest-profile-estimate-note {
  margin-bottom: 13px !important;
  padding: 9px 11px;
  font-size: 12px !important;
}

.retest-detail-modal .retest-analysis-section {
  margin-top: 0;
  padding: 21px;
  border-color: #d7e4f2;
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(37, 67, 104, 0.045);
}

.retest-detail-modal .retest-analysis-title {
  align-items: center;
  margin-bottom: 16px;
}

.retest-detail-modal .retest-analysis-title h3 {
  margin: 0;
  font-size: 21px;
}

.retest-detail-modal .retest-analysis-title > span {
  padding: 5px 10px;
  font-size: 11.5px;
}

.retest-detail-modal .retest-detail-controls {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
}

.retest-detail-modal .retest-major-select {
  padding: 12px;
  border-color: #cfdeee;
  border-radius: 11px;
}

.retest-detail-modal .retest-major-select > span {
  font-size: 12px;
}

.retest-detail-modal .retest-major-select select {
  height: 46px;
  border-radius: 9px;
  font-size: 14px;
}

.retest-detail-modal .retest-year-switch {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.retest-detail-modal .retest-year-switch button {
  min-height: 70px;
  padding: 10px;
  border-radius: 10px;
}

.retest-detail-modal .retest-year-switch button strong {
  font-size: 13px;
}

.retest-detail-modal .retest-year-switch button span {
  font-size: 12px;
}

.retest-detail-modal .retest-analysis-summary {
  gap: 10px;
  margin-top: 14px;
}

.retest-detail-modal .retest-analysis-summary > div {
  min-height: 108px;
  padding: 14px;
  border: 1px solid #e0e8f2;
  border-radius: 11px;
  background: #f7faff;
}

.retest-detail-modal .retest-analysis-summary span {
  color: #687f97;
  font-size: 12px;
}

.retest-detail-modal .retest-analysis-summary strong {
  margin-top: 7px;
  color: #193650;
  font-size: 17px;
  line-height: 1.45;
}

.retest-detail-modal .retest-analysis-summary small {
  margin-top: 5px;
  color: #71859a;
  font-size: 11.5px;
  line-height: 1.45;
}

.retest-detail-modal .retest-analysis-note {
  grid-template-columns: 86px minmax(0, 1fr);
  margin-top: 12px;
  padding: 13px 15px;
  border-color: #dce7f5;
  border-radius: 10px;
  background: #f6faff;
}

.retest-detail-modal .retest-analysis-note strong {
  color: #2e68a5;
  font-size: 12.5px;
}

.retest-detail-modal .retest-analysis-note p {
  color: #526980;
  font-size: 12.5px;
  line-height: 1.65;
}

.retest-detail-modal .retest-selected-major {
  margin-top: 14px;
  border-color: #dce6f1;
  border-radius: 12px;
}

.retest-detail-modal .retest-selected-major > header {
  min-height: 58px;
  padding: 12px 15px;
  background: #f5f9fe;
}

.retest-detail-modal .retest-selected-major > header span {
  color: #6d8197;
  font-size: 11.5px;
}

.retest-detail-modal .retest-selected-major > header strong {
  color: #1c3854;
  font-size: 15px;
}

.retest-detail-modal .retest-selected-major > header em {
  padding: 5px 9px;
  font-size: 10.5px;
}

.retest-detail-modal .retest-analysis-table {
  font-size: 13px;
}

.retest-detail-modal .retest-analysis-table th {
  padding: 11px 10px;
  font-size: 12.5px;
}

.retest-detail-modal .retest-analysis-table td {
  padding: 14px 10px;
}

.retest-detail-modal .retest-estimate-note {
  margin-top: 11px;
  padding: 0;
  color: #6b7f94;
  font-size: 11.5px;
}

.retest-detail-modal .retest-estimate-note strong {
  margin-right: 7px;
  color: #375f84;
}

.retest-detail-modal .retest-interview-role {
  padding: 18px 20px;
}

.retest-detail-modal .retest-interview-meter {
  height: 8px;
  margin: 10px 0 12px;
}

.retest-detail-modal .retest-modal-links {
  gap: 8px;
}

.retest-detail-modal .retest-modal-links a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12px;
}

@media (max-width: 900px) {
  #modalShell .modal-card.retest-detail-modal {
    width: min(100%, calc(100vw - 22px));
    padding: 20px;
  }

  .retest-detail-modal .retest-modal-summary,
  .retest-detail-modal .retest-analysis-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retest-detail-modal .retest-detail-controls,
  .retest-detail-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  #modalShell .modal-card.retest-detail-modal {
    padding: 15px;
  }

  .retest-detail-modal .retest-modal-summary,
  .retest-detail-modal .retest-analysis-summary,
  .retest-detail-modal .retest-modal-rules,
  .retest-detail-modal .retest-year-switch {
    grid-template-columns: 1fr;
  }

  .retest-detail-modal .retest-analysis-summary > div {
    min-height: 0;
  }
}

/* ===== 每日总结可读性优化（2026-11） ===== */
.daily-hero {
  gap: 18px;
  padding: 26px 28px 24px;
}

.daily-hero-head {
  gap: 14px;
}

.daily-badge {
  padding: 7px 15px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.025em;
  box-shadow: 0 5px 14px rgba(36, 95, 190, 0.12);
}

.daily-meta {
  font-size: 13.5px;
  font-weight: 600;
}

.daily-hero-main {
  gap: 28px;
}

.daily-hero-copy {
  gap: 10px;
}

.daily-hero-copy h3 {
  max-width: 900px;
  font-size: 30px;
  line-height: 1.34;
  font-weight: 820;
}

.daily-hero-copy p {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.72;
}

.daily-progress-ring {
  width: 106px;
  height: 106px;
}

.daily-progress-ring strong {
  font-size: 25px;
}

.daily-progress-ring small {
  font-size: 12px;
  font-weight: 650;
}

.daily-kpi-strip {
  gap: 10px;
}

.daily-kpi-strip > span {
  gap: 4px;
  padding: 12px 14px;
}

.daily-kpi-strip b {
  font-size: 20px;
}

.daily-kpi-strip small {
  font-size: 12px;
  font-weight: 600;
}

.daily-proof.daily-proof-chips {
  gap: 9px;
}

.daily-proof-chips > div {
  gap: 8px;
}

.daily-proof-chips > div span {
  padding: 7px 11px;
  font-size: 12.5px;
  line-height: 1.5;
}

.daily-visual-grid,
.daily-action-grid,
.daily-insight-row {
  gap: 18px;
  margin-top: 18px;
}

.daily-visual-grid .daily-card,
.daily-action-grid .daily-card {
  min-height: 245px;
  gap: 15px;
  padding: 22px 24px;
}

.daily-card-heading {
  align-items: flex-start;
  gap: 12px;
}

.daily-card-heading .stat-pill {
  flex: 0 0 auto;
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 760;
}

.daily-card-heading strong {
  max-width: 72%;
  font-size: 15.5px;
  line-height: 1.45;
  white-space: normal;
  text-overflow: clip;
}

.daily-score-compare {
  gap: 14px;
}

.daily-score-compare > div {
  grid-template-columns: 48px 50px minmax(0, 1fr);
  gap: 10px;
}

.daily-score-compare span {
  font-size: 13px;
  font-weight: 620;
}

.daily-score-compare strong {
  font-size: 20px;
}

.daily-score-compare i {
  height: 9px;
}

.daily-gap-chip {
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 760;
}

.daily-card > p,
.daily-week-card > p {
  font-size: 14.5px;
  line-height: 1.7;
}

.daily-week-chart {
  min-height: 124px;
  gap: 9px;
  padding-top: 8px;
}

.daily-week-chart > span {
  grid-template-rows: 94px auto;
  gap: 7px;
}

.daily-week-chart small {
  font-size: 11.5px;
  font-weight: 600;
}

.daily-focus-list,
.daily-action-list {
  gap: 10px;
}

.daily-focus-list li {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 12px 13px;
  border-radius: 11px;
}

.daily-focus-list i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 11.5px;
}

.daily-focus-list span {
  font-size: 14.5px;
  line-height: 1.65;
}

.daily-action-list li {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 12px;
}

.daily-action-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: 12px;
}

.daily-action-list p {
  font-size: 14.5px;
  line-height: 1.68;
}

.daily-sharp-card {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 18px 20px;
  margin-top: 18px;
  padding: 26px 28px;
}

.daily-sharp-copy {
  gap: 9px;
}

.daily-sharp-copy > span {
  font-size: 13.5px;
}

.daily-sharp-copy blockquote {
  gap: 9px;
  max-width: none;
}

.daily-sharp-copy blockquote strong {
  font-size: 27px;
  line-height: 1.42;
}

.daily-sharp-copy blockquote em {
  max-width: 900px;
  font-size: 17.5px;
  line-height: 1.72;
}

.daily-sharp-context {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: 8px;
  padding: 14px 16px;
}

.daily-sharp-context strong {
  grid-column: 1 / -1;
  font-size: 15px;
}

.daily-sharp-context span {
  padding: 7px 10px;
  border: 1px solid #e5edf6;
  border-radius: 8px;
  background: #f8fbfe;
  font-size: 13.5px;
  line-height: 1.5;
}

.daily-insight-row .daily-honest,
.daily-insight-row .daily-tip {
  min-height: 76px;
  padding: 16px 18px;
}

.daily-honest-tag,
.daily-tip-tag {
  padding: 5px 11px;
  font-size: 13px;
}

.daily-insight-row p {
  font-size: 14px;
  line-height: 1.68;
}

@media (max-width: 760px) {
  .daily-hero {
    gap: 15px;
    padding: 22px 19px;
  }

  .daily-badge {
    padding: 6px 13px;
    font-size: 14px;
  }

  .daily-meta {
    font-size: 12.5px;
  }

  .daily-hero-copy h3 {
    font-size: 24px;
  }

  .daily-hero-copy p {
    font-size: 15px;
  }

  .daily-progress-ring {
    width: 88px;
    height: 88px;
  }

  .daily-kpi-strip > span {
    padding: 11px 12px;
  }

  .daily-kpi-strip b {
    font-size: 18px;
  }

  .daily-visual-grid .daily-card,
  .daily-action-grid .daily-card {
    min-height: 0;
    padding: 19px 17px;
  }

  .daily-card-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .daily-card-heading strong {
    max-width: none;
    text-align: left;
    font-size: 14.5px;
  }

  .daily-card > p,
  .daily-week-card > p,
  .daily-focus-list span,
  .daily-action-list p {
    font-size: 14px;
  }

  .daily-sharp-card {
    grid-template-columns: 1fr;
    padding: 22px 19px;
  }

  .daily-sharp-mark {
    width: 50px;
    height: 50px;
    font-size: 38px;
  }

  .daily-sharp-copy blockquote strong {
    font-size: 23px;
  }

  .daily-sharp-copy blockquote em {
    font-size: 16px;
  }

  .daily-sharp-context {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .daily-sharp-context strong {
    grid-column: 1;
  }
}

/* ===== 简历成稿：深蓝分段式单页模板 ===== */
.resume-preview-live .resume-sheet {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 30px 28px 32px;
  overflow: visible;
  border: 1px solid #d8e0e9;
  border-radius: 2px;
  color: #26394d;
  background: #fff;
  box-shadow: 0 9px 24px rgba(30, 52, 77, 0.12);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.58;
}

.resume-preview-live .resume-sheet::before,
.resume-preview-live .resume-sheet::after {
  display: none;
  content: "";
}

.resume-preview-live .resume-sheet-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  gap: 11px 18px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--resume-accent);
}

.resume-preview-live .resume-sheet-head-main {
  display: grid;
  align-content: start;
  gap: 7px;
}

.resume-preview-live .resume-sheet-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.resume-preview-live .resume-sheet-head h2 {
  margin: 0;
  color: #18385d;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.resume-preview-live .resume-sheet-head p.resume-sheet-type {
  margin: 0;
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--resume-accent);
  background: color-mix(in srgb, var(--resume-accent) 9%, white);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.resume-preview-live .resume-sheet-intent {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid #b9c8d8;
  color: #1e3450;
  font-size: 12px;
  line-height: 1.5;
}

.resume-preview-live .resume-sheet-intent strong {
  color: #17395f;
  font-weight: 900;
}

.resume-preview-live .resume-sheet-intent span {
  color: #334b66;
  font-weight: 650;
}

.resume-preview-live .resume-sheet-monogram {
  display: grid;
  width: 62px;
  height: 78px;
  align-self: start;
  place-items: center;
  align-content: center;
  gap: 3px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), transparent 42%),
    #1d426c;
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #ccd8e5;
}

.resume-preview-live .resume-sheet-monogram strong {
  font-family: "Songti SC", SimSun, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.resume-preview-live .resume-sheet-monogram small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.resume-preview-live .resume-sheet-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
  margin-top: 1px;
  color: #334b66;
  font-style: normal;
}

.resume-preview-live .resume-sheet-contact > span {
  display: grid;
  grid-template-columns: 16px 28px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 10.5px;
}

.resume-preview-live .resume-sheet-contact i {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--resume-accent);
  font-size: 8px;
  font-style: normal;
}

.resume-preview-live .resume-sheet-contact b {
  color: #5c7087;
  font-weight: 650;
}

.resume-preview-live .resume-sheet-contact em {
  overflow: hidden;
  color: #263f5c;
  font-style: normal;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-preview-live .resume-sheet-contact .is-empty {
  grid-column: 1 / -1;
}

.resume-preview-live .resume-sheet-section {
  display: block;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.resume-preview-live .resume-section-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.resume-preview-live .resume-section-heading h3 {
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 14px;
  color: #fff;
  background: var(--resume-accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.resume-preview-live .resume-section-heading i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--resume-accent);
}

.resume-preview-live .resume-education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.resume-preview-live .resume-education-grid > div {
  display: grid;
  gap: 2px;
  padding: 7px 9px;
  border-left: 3px solid color-mix(in srgb, var(--resume-accent) 68%, white);
  background: #f5f8fc;
}

.resume-preview-live .resume-education-grid span {
  color: #748599;
  font-size: 9px;
  line-height: 1.35;
}

.resume-preview-live .resume-education-grid strong {
  overflow: hidden;
  color: #203a57;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  text-overflow: ellipsis;
}

.resume-preview-live .resume-course-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  margin-top: 6px;
  color: #3d536c;
  font-size: 10.5px;
  line-height: 1.55;
}

.resume-preview-live .resume-course-row > span {
  color: #284662;
  font-weight: 800;
}

.resume-preview-live .resume-course-row p {
  margin: 0;
}

.resume-preview-live .resume-bullet-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  color: #384e66;
  font-size: 10.8px;
  line-height: 1.62;
  list-style: none;
}

.resume-preview-live .resume-bullet-list li {
  position: relative;
  padding-left: 13px;
}

.resume-preview-live .resume-bullet-list li::before {
  position: absolute;
  top: 0;
  left: 1px;
  color: #18385d;
  font-size: 13px;
  line-height: 1.35;
  content: "•";
}

.resume-preview-live .resume-sheet-section-summary .resume-bullet-list {
  color: #42556c;
}

.resume-preview-live .resume-sheet-section-summary .resume-bullet-list li::before {
  color: var(--resume-accent);
}

.resume-preview-live .resume-sheet.template-compact {
  padding: 24px 24px 26px;
}

.resume-preview-live .resume-sheet.template-compact .resume-sheet-section {
  margin-top: 9px;
}

.resume-preview-live .resume-sheet.template-compact .resume-bullet-list {
  gap: 2px;
  font-size: 10.3px;
}

.resume-preview-live .resume-sheet.template-header .resume-sheet-head {
  padding: 17px 18px 12px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--resume-accent) 88%, #0b2037), var(--resume-accent));
}

.resume-preview-live .resume-sheet.template-header .resume-sheet-head h2,
.resume-preview-live .resume-sheet.template-header .resume-sheet-head p.resume-sheet-type,
.resume-preview-live .resume-sheet.template-header .resume-sheet-intent,
.resume-preview-live .resume-sheet.template-header .resume-sheet-intent :is(strong, span),
.resume-preview-live .resume-sheet.template-header .resume-sheet-contact,
.resume-preview-live .resume-sheet.template-header .resume-sheet-contact :is(b, em) {
  color: #fff;
}

.resume-preview-live .resume-sheet.template-header .resume-sheet-head p.resume-sheet-type {
  background: rgba(255, 255, 255, 0.14);
}

.resume-preview-live .resume-sheet.template-header .resume-sheet-intent {
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.resume-preview-live .resume-sheet.template-header .resume-sheet-monogram {
  color: var(--resume-accent);
  background: #fff;
  box-shadow: none;
}

@media (max-width: 760px) {
  .resume-preview-live .resume-sheet {
    padding: 24px 20px 26px;
  }

  .resume-preview-live .resume-sheet-head {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  .resume-preview-live .resume-sheet-head h2 {
    font-size: 25px;
  }

  .resume-preview-live .resume-sheet-monogram {
    width: 52px;
    height: 68px;
  }

  .resume-preview-live .resume-sheet-contact {
    grid-template-columns: 1fr;
  }

  .resume-preview-live .resume-education-grid {
    grid-template-columns: 1fr;
  }
}


#adjustmentResumePreview {min-width:0;background:#e6e8eb;overflow:hidden}
#adjustmentResumePreview .resume-reference-sheet {zoom:var(--paper-zoom,1);box-shadow:0 2px 9px #17284138}
.resume-reference-sheet.template-header {border-top:6px solid var(--resume-accent)}


/* 每日总结 · 判断依据 */
.daily-sharp-context { display:block; container-type:inline-size; padding:16px 18px; background:#fff; }
.daily-sharp-context dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px 0; margin:12px 0 0; }
.daily-sharp-context dl > div { min-width:0; padding-inline:14px; border-inline-start:1px solid #e0e8f1; }
.daily-sharp-context dl > div:first-child { padding-inline-start:0; border:0; }
.daily-sharp-context dt { font-size:12px; color:#586c80; line-height:1.5; }
.daily-sharp-context dd { margin:5px 0 0; font-size:17px; font-weight:650; line-height:1.4; color:#203d59; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.daily-sharp-context dd small { display:inline-block; margin-left:5px; font-size:11px; font-weight:500; color:#367363; }
@container (max-width: 560px) {
  .daily-sharp-context dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .daily-sharp-context dl > div:nth-child(odd) { padding-inline-start:0; border:0; }
}

.program-disclosure {
  margin: 0 0 12px; border: 1px solid #dce5ef; border-radius: 12px; background: #fff;
}
.program-disclosure > summary {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  cursor: pointer; list-style: none; color: #203c5d;
}
.program-disclosure > summary::-webkit-details-marker { display: none; }
.program-disclosure > summary strong { flex: none; font-size: 15px; }
.program-disclosure > summary span { color: #596f88; font-size: 12px; line-height: 1.5; }
.program-disclosure > summary::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-left: auto; margin-right: 3px;
  border: solid #627d9d; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.program-disclosure[open] > summary { border-bottom: 1px solid #e7edf4; }
.program-disclosure[open] > summary::after { transform: rotate(225deg); }
.program-disclosure .program-filter-panel { gap: 10px; padding: 14px 18px; }
.program-disclosure .filter-row > .filter-group { justify-self: start; }
.program-disclosure .filter-options { gap: 4px 6px; }
.program-disclosure .chip { min-height: 30px; padding: 3px 10px; font-size: 13px; font-weight: 500; background: transparent; }
.program-disclosure .chip:is(:hover,.active) { color: #24559d; background: #edf4ff; border-color: #c9daf1; }
.program-disclosure .major-category-grid { padding: 14px; gap: 10px; }
.program-disclosure .major-category-card { box-shadow: none; border: 1px solid #e5ebf3; background: #fafcfe; padding: 12px; }
.program-disclosure > .major-clear-btn { margin: 12px 14px 0; }
@media (max-width: 600px) {
  .program-disclosure > summary { gap: 8px; padding: 12px; }
  .program-disclosure .program-filter-panel { padding: 12px; }
  .program-disclosure .filter-row { grid-template-columns: minmax(0,1fr); gap: 4px; }
}
.developer-checklist { padding: 18px; border: 1px solid #dce6f1; border-radius: 12px; background: #fff; color: #243a52; }
.developer-checklist header, .developer-checklist footer { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; }
.developer-checklist h3 { margin:0; font-size:18px; }
.developer-checklist header small {color:#586b7d;}
.developer-checklist dl {margin:12px 0;}
.developer-checklist dl > div {display:grid; grid-template-columns:90px minmax(0,1fr); padding:10px 0; border-top:1px solid #e8edf3;}
.developer-checklist dd {display:flex; flex-wrap:wrap; gap:4px 16px; margin:0; overflow-wrap:anywhere;}
.developer-checklist dd span {color:#53677d;}
.developer-checklist footer {padding:12px; background:#f3f7fd; border-radius:8px;}
.developer-technical > summary {cursor:pointer; padding:12px 0; font-weight:650; color:#445c78;}
.developer-technical[open] > section,.developer-technical[open] > div {margin-bottom:14px;}

.personal-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
  align-items: start;
  gap: 16px;
  padding: clamp(12px, 2vw, 24px);
  background: #f2f6fc;
  border-radius: 16px;
}
.personal-workspace .account-hero {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid #d5e2f6;
  background: linear-gradient(110deg, white, #e5efff);
  overflow-wrap: anywhere;
}
.personal-panel {
  min-width: 0;
  background: white;
  border: 1px solid #dfe6f0;
  border-radius: 12px;
  padding: clamp(16px, 2vw, 24px);
}
.personal-section, .personal-subhead { grid-column: 1 / -1; }
.personal-section small { color: #496b9c; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.personal-section h3 { margin: 3px 0 12px; font-size: 20px; }
.personal-subhead { border-top: 1px solid #e3eaf2; padding-top: 16px; font-weight: 650; }
.personal-rail { display: grid; gap: 16px; }
.personal-caption, .personal-metric span { color: #596c84; font-size: 13px; }
.personal-target { display: block; margin: -5px 0 15px; }
.personal-metric, .personal-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.personal-metric { padding: 7px 0; }
.personal-rail progress { display: block; width: 100%; height: 6px; accent-color: var(--primary); }
.personal-link { width: 100%; margin-top: 18px; padding: 12px; border: 0; border-radius: 7px; background: #edf4ff; color: #235391; font-weight: 650; cursor: pointer; }
.personal-link:hover { background: #ddeaff; }
@media (max-width: 900px) {
  .personal-workspace { grid-template-columns: minmax(0, 1fr); }
}

.personal-dossier { min-width: 0; display: grid; gap: 16px; }
.personal-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr)); gap: 18px 14px; margin: 18px 0 4px; }
.personal-facts dt { color: #65758a; font-size: 12px; }
.personal-facts dd { margin: 4px 0 0; color: #25344c; font-weight: 620; overflow-wrap: anywhere; }
.personal-editor { margin-top: 20px; border-top: 1px solid #e2e9f2; padding-top: 14px; }
.personal-editor summary, .personal-text-action { color: #315e9e; cursor: pointer; font-size: 14px; font-weight: 650; }
.personal-text-action { margin-top: 16px; padding: 5px 0; background: transparent; border: 0; }
.personal-editor .profile-edit-form { margin-top: 15px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); max-width: 680px; }
.personal-editor .field { min-width: 0; }
.personal-editor input, .personal-editor select { width: 100%; max-width: 240px; min-width: 0; box-sizing: border-box; }

.developer-catalog-links { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; padding:4px 0 14px; }

.personal-workspace { grid-template-columns: minmax(240px, 0.85fr) minmax(0, 2fr); }
.personal-rail { min-width: 0; }
.personal-identity { display: flex; gap: 12px; align-items: center; overflow-wrap: anywhere; }
.personal-identity small, .personal-account-rows dt, .personal-numbers span, .personal-history small { color: #62758e; font-size: 13px; }
.personal-identity h3 { margin: 2px 0; }
.personal-account-rows { margin: 20px 0 0; display: grid; gap: 8px; }
.personal-account-rows div, .personal-history li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px; background: #f6f8fc; border-radius: 7px; }
.personal-account-rows dt { flex-shrink: 0; }
.personal-account-rows dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.personal-numbers { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.personal-numbers div { display: grid; gap: 8px; padding: 14px 10px; background: #f5f8fe; border: 1px solid #dce6f6; border-radius: 9px; }
.personal-numbers b { color: #3465bb; font-size: clamp(18px,2vw,28px); }
.personal-history summary { font-weight: 650; cursor: pointer; }
.personal-history small { margin-left: 6px; }
.personal-history ul { display: grid; gap: 6px; padding: 0; max-height: 280px; overflow: auto; }
@media (max-width: 900px) {
  .personal-workspace { grid-template-columns: minmax(0,1fr); }
  .personal-numbers { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
#developerCatalogList { margin-bottom:16px; padding:12px; border:1px solid #dce6f1; border-radius:9px; }
#developerCatalogSearch,.catalog-review-pages { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
#developerCatalogSearch input { min-width:0; max-width:100%; padding:6px 9px; border:1px solid #cdd9e5; border-radius:6px; }
.catalog-review-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:6px 14px; padding:10px 0; border-bottom:1px solid #e7edf3; }
.catalog-review-row small { display:block; color:#607386; }
.catalog-review-sources { grid-column:1/-1; }
.catalog-review-sources a { display:inline-block; margin:3px 14px 3px 0; color:#235fa4; text-decoration:underline; overflow-wrap:anywhere; }
.catalog-review-pages { padding-top:10px; }

.dossier-entry { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dossier-entry .personal-text-action { margin: 0; }
#modulePanel:has(.planning-profile-page) { background: #f2f6fc; }
.planning-profile-hero.dossier-heading {
  grid-template-columns: minmax(0,1fr) minmax(160px,24%);
  gap: 20px; padding: clamp(16px,2vw,24px);
  background: white; border: 1px solid #dfe6f0; border-radius: 12px; box-shadow: none;
  color: #25344c;
}
.dossier-heading::after { content: none; }
.dossier-heading h3 { margin: 4px 0; color: #25344c; font-size: clamp(20px,2vw,26px); }
.dossier-label, .dossier-completion small { color: #62758e; font-size: 12px; }
.dossier-heading .planning-profile-tags { margin-top: 10px; }
.dossier-heading .planning-profile-tags span { background: #eff5ff; color: #365c88; border-color: #e1eafa; border-radius: 6px; }
.dossier-completion.planning-profile-score { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: baseline; justify-items: start; gap: 6px; padding: 12px 14px; box-sizing: border-box; background: #f5f8fe; border-radius: 8px; font-size: 13px; }
.dossier-completion strong { color: #3465bb; font-size: 20px; }
.dossier-completion progress { width: 100%; height: 7px; accent-color: #3465bb; }
.dossier-completion :is(progress,small) { grid-column: 1/-1; }
.planning-profile-block, .planning-profile-insight-sheet { box-shadow: none; border-color: #dfe6f0; border-radius: 12px; }
.planning-profile-block :is(input:not([type=range]), select) { background: white; min-height: 38px; }
@media (max-width: 720px) {
  .planning-profile-hero.dossier-heading { grid-template-columns: minmax(0,1fr); gap: 14px; }
}
.planning-profile-page .planning-profile-tags span { color:#183e73; background:#e1edff; border:1px solid #a7c1e3; font-weight:650; }
.planning-profile-page .planning-profile-tags span:first-child { color:#fff; background:#285896; border-color:#285896; }
.profile-choice-field { min-width:0; border:0; margin:0; padding:0; }
.profile-choice-field legend { color:#415e7b; font-size:13px; font-weight:650; margin-bottom:7px; }
.profile-choice-field > div {display:flex; flex-wrap:wrap; gap:4px;}
.profile-choice-field label {position:relative;cursor:pointer;}
.planning-profile-block .profile-choice-field input {position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;}
.profile-choice-field span { display:block; padding:5px 9px; border-radius:6px; background:#f0f4f8; color:#50637b; font-size:13px; }
.profile-choice-field input:checked + span { background:#dbeaff;color:#174b8e;box-shadow:inset 0 0 0 1px #99b9e6; }
.profile-choice-field input:focus-visible + span {outline:2px solid #376ec4;outline-offset:2px;}
.planning-profile-block .field input:not([type=range]), .planning-profile-block .field select { min-width:0; background:#f8fafd; border:0; border-bottom:1px solid #b7c8db; border-radius:5px 5px 0 0; }
.planning-next-actions li {display:block;background:transparent;border-radius:0;padding:0;border-bottom:1px solid #e3eaf3;}
.planning-next-actions li::before {display:none;}
.planning-next-actions li label {display:flex;align-items:baseline;gap:10px;padding:8px 2px;cursor:pointer;color:#304f70;}
.planning-next-actions input {accent-color:#26669e;}
.planning-next-actions input:checked + span {color:#687988;text-decoration:line-through;}

.planning-profile-fields > .profile-choice-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}
.profile-choice-field legend { float: left; margin: 0; }
.profile-choice-field > div { align-items: center; }
.profile-choice-field span { padding: 6px 8px; }
.planning-next-actions input[type=checkbox] { width: 16px; height: 16px; flex: none; margin: 2px 0 0; }
.planning-next-actions li label { align-items: flex-start; }

.pass-intro { padding: clamp(18px,3vw,32px); background: linear-gradient(110deg,#eaf2ff,#f4fafc); border: 1px solid #dbe6f4; border-radius: 14px; margin-bottom: 16px; }
.pass-intro h3 { margin: 6px 0; color: #203958; font-size: clamp(21px,2vw,29px); }
.pass-intro p, .free-tools p { color: #52677f; line-height: 1.65; }
.pass-grid, .free-tools { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 14px; }
.free-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pass-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border: 1px solid #dbe4ef; border-radius: 12px; background: white; }
.pass-card h3,.pass-card p { margin: 0; }
.pass-card > small,.pass-intro > small { color: #416796; font-weight: 650; }
.pass-card strong { font-size: 26px; color: #254d83; }
.pass-card strong small,.pass-card em { font-size: 12px; }
.pass-card em { color: #256448; font-style: normal; }
.pass-card ul { padding-left: 18px; line-height: 1.85; font-size: 14px; }
.pass-card button { margin-top: auto; }
.pass-bundle { background: #f2f7ff; border-color: #97b5e2; }
@media(max-width:600px){ .free-tools {grid-template-columns:1fr;} }

.pass-modes,.pass-invites form,.pass-group-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.pass-modes { margin:16px 0; }
.pass-modes [aria-pressed=true] { background:#234e87; border-color:#234e87; color:white; }
.pass-invites { margin:16px 0; }
.pass-invites h3 { margin:0; }
.pass-invites p,.pass-group-row span { font-size:14px; color:#52677f; }
.pass-invites input { padding:9px 12px; max-width:100%; border:1px solid #cbd9ea; border-radius:8px; }
.pass-group-row { justify-content:space-between; margin-top:12px; padding:12px; background:#f4f8ff; border-radius:8px; }
.pass-group-row b { letter-spacing:.08em; color:#244d83; user-select:all; }

.pass-card .pass-summary { width:100%; box-sizing:border-box; border-radius:8px; background:#edf5ff; color:#456383; padding:10px 12px; font-size:13px; line-height:1.65; }
.pass-summary b,.pass-rights summary { color:#254d83; }
.pass-rights summary { cursor:pointer; font-weight:600; font-size:14px; }
.pass-rights h4 { margin:14px 0 4px; }
.pass-rights ul { margin-top:0; }

/* School trend forecast dialog */
.modal-card:has(.forecast-summary-grid) {
  width: min(760px, 100%);
  max-height: 90dvh;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 22px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums;
}
#modalContent:has(.forecast-summary-grid) #modalTitle {
  margin: 5px 32px 6px 0;
  color: #172945;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 680;
  line-height: 1.4;
}
#modalContent:has(.forecast-summary-grid) .modal-copy { font-size: 14px; line-height: 1.65; }
#modalContent .forecast-summary-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 9px; }
#modalContent .forecast-main, #modalContent .forecast-stat {
  align-content: start;
  gap: 7px;
  padding: 16px;
  border-radius: 14px;
}
#modalContent .forecast-main { background: linear-gradient(115deg, #224479, #315e94); }
#modalContent .forecast-main strong { font-size: 34px; line-height: 1.1; }
#modalContent .forecast-main strong small { font-size: 14px; font-weight: 550; }
#modalContent .forecast-stat strong { font-size: 25px; line-height: 1.5; }
#modalContent .forecast-stat { background: #f4f7fb; border-color: #e4eaf2; }
#modalContent .forecast-advice {
  padding: 13px 17px;
  gap: 5px;
  border: 0;
  border-left: 3px solid #48877f;
  border-radius: 0 10px 10px 0;
  background: #f1f7f5;
}
#modalContent .forecast-advice h4 { margin: 0 0 2px; color: #255851; font-size: 15px; }
#modalContent .forecast-advice span { font-size: 14px; line-height: 1.65; }
#modalContent .forecast-advice span::before { background: #589187; top: .7em; }
#modalContent .forecast-chart { margin-top: 16px; }
#modalContent .forecast-chart + .forecast-factors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid #e3e9f1;
  border-radius: 0;
  background: transparent;
}
@media (max-width: 560px) {
  #modalContent .forecast-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #modalContent .forecast-main { grid-column: 1 / -1; }
  #modalContent .forecast-stat { padding: 10px 13px; min-height: 0; gap: 3px; }
  #modalContent .forecast-chart svg text { font-size: 16px; }
}

.history-summary, .score-trend-grid { gap: 0; padding: 12px 4px; border: 1px solid #dce5ee; border-radius: 10px; background: #f8fafd; }
.history-summary > div, .score-trend-grid > article { min-height: 0; align-content: start; padding: 2px 14px; background: transparent; border-radius: 0; border-inline-start: 1px solid #dce5ee; }
.history-summary > :first-child, .score-trend-grid > :first-child { border-inline-start: 0; }
.history-summary strong small { font-size: 12px; font-weight: 500; }
.history-summary em, .score-trend-grid em { font-size: 12px; }
.history-notes { color: #51657b; font-size: 13px; }
.history-notes summary { width: fit-content; padding: 6px 0; cursor: pointer; color: #325b88; }
.history-notes p { margin: 5px 0 9px; max-width: 78ch; line-height: 1.7; }
@media (max-width: 760px) {
  .history-summary, .score-trend-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 12px; }
  .history-summary > :nth-child(odd), .score-trend-grid > :nth-child(odd) { border-inline-start: 0; }
}

/* Timetable workspace */
.tt-layout.tt-workbench {
  display: grid;
  grid-template-columns: clamp(218px, 20%, 280px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 1.5vw, 24px);
}
.tt-workbench-side, .tt-workbench-main { display: grid; gap: 14px; min-width: 0; }
.tt-workbench :is(.tt-control, .tt-ai-card, .tt-side-frame, .tt-week-card) {
  min-width: 0;
  padding: clamp(14px, 1.4vw, 22px);
  border: 1px solid #dfe7f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(30, 60, 98, .045);
}
.tt-workbench .tt-ai-card { background: linear-gradient(115deg, #fff 45%, #f1f7fb); }
.tt-workbench .tt-ai-head h3 { margin: 3px 0 0; font-size: clamp(18px, 1.55vw, 23px); font-weight: 660; }
.tt-workbench .tt-ai-controls {
  display: grid;
  grid-template-columns: minmax(122px, 155px) minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 16px;
  margin-top: 14px;
  padding: 0;
  border: 0;
}
.tt-workbench .tt-ai-controls .field { min-width: 0; margin: 0; gap: 5px; }
.tt-workbench .tt-ai-controls .tt-constraints-field { grid-column: 2 / -1; grid-row: 1; }
.tt-workbench .tt-ai-controls .choice-pill { grid-column: 1 / 3; justify-self: start; background: transparent; border: 0; padding: 0; min-height: 34px; }
.tt-workbench .tt-schedule-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.tt-workbench .tt-schedule-actions .danger { color: #81574f; background: transparent; border-color: transparent; }
.tt-workbench .tt-toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.tt-workbench .tt-toolbar .small-action { padding: 6px 9px; }
.tt-workbench .tt-page-nav { justify-self: start; margin: 0; }
.tt-workbench .tt-week-head { margin-bottom: 12px; }
.tt-workbench .tt-page-body { min-width: 0; }
@media (max-width: 850px) {
  .tt-layout.tt-workbench { grid-template-columns: minmax(0,1fr); }
  .tt-workbench-side, .tt-workbench-main { display: contents; }
  .tt-workbench .tt-side-frame { order: 5; }
}
@media (max-width: 620px) {
  .tt-workbench .tt-ai-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .tt-workbench .tt-ai-controls .choice-pill { grid-column: 2; grid-row: 1; align-self: end; }
  .tt-workbench .tt-ai-controls .tt-constraints-field { grid-column: 1 / -1; grid-row: 2; }
  .tt-workbench .tt-schedule-actions { grid-column: 1 / -1; }
}

/* Keep the quote independent of the task list's height. */
.today-plan-split { grid-template-columns: minmax(0, 1fr); gap: 12px; }
#encourageCard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 18px;
  min-height: 0;
  padding: 15px 22px;
  background: #fff;
  border-color: #e1e7ef;
  box-shadow: none;
}
#encourageCard::after { content: none; }
.poetry-heading { color: #5a6c88; font-size: 12px; font-weight: 650; letter-spacing: .1em; }
#encourageCard .encourage-lines {
  display: block;
  padding-left: 18px;
  border-left: 1px solid #d9e2ee;
  color: #24364e;
  font: 500 clamp(17px, 1.45vw, 22px)/1.55 "Songti SC", "STZhongsong", "SimSun", serif;
}
#encourageCard .encourage-source {
  writing-mode: horizontal-tb;
  color: #394961;
  font: 600 15px/1.5 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: normal;
  text-align: right;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  #encourageCard { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; }
  #encourageCard .encourage-source { grid-column: 2; grid-row: 1; }
  #encourageCard .encourage-lines { grid-column: 1 / -1; grid-row: 2; padding: 0; border: 0; }
}

.today-track { position: relative; overflow: visible; --done: 0%; --book-color: #dc3142; }
.today-track #todayProgressBar { width: var(--done); background: var(--book-color); }
.today-progress-book {
  position: absolute;
  width: 26px;
  height: 24px;
  top: 50%;
  left: clamp(13px, var(--done), calc(100% - 13px));
  transform: translate(-50%, -50%);
  color: var(--book-color);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .today-progress-book { transition: left .28s ease, color .28s ease; }
  .today-track #todayProgressBar { transition: width .28s ease, background-color .28s ease; }
}

.auth-frame-login .auth-art-login { position:relative; isolation:isolate; overflow:hidden; background:#244859; }
.auth-horizon { position:absolute; inset:0; width:100%; height:100%; z-index:-1; }
.auth-frame-login .auth-art-login:before,.auth-frame-login .auth-art-login:after { content:none; }
.auth-horizon-title { position:absolute; top:24%; left:10%; color:#fff; }
.auth-horizon-title small { display:block; margin-bottom:14px; font-size:10px; font-weight:650; letter-spacing:.18em; color:#dfeced; }
.auth-horizon-title strong { font:550 clamp(28px,3.6vw,46px)/1.25 "Songti SC","SimSun",serif; letter-spacing:.12em; }
.auth-frame-login .auth-art-quote { position:absolute; bottom:0; left:10%; padding:0 8% 26px 0; letter-spacing:.1em; color:#d6e5e9; }
.auth-frame-login .auth-tabs { background:transparent; border:0; border-bottom:1px solid #dce5ea; padding:0; border-radius:0; }
.auth-frame-login .auth-tab { border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; }
.auth-frame-login .auth-tab.active { background:transparent; border-bottom-color:#24556a; color:#214d61; box-shadow:none; }
.auth-frame-login .auth-head h2 { font:700 clamp(27px,3vw,38px)/1.2 system-ui,sans-serif; letter-spacing:-.035em; }
.auth-frame-login .auth-content .auth-cta { background:#204d63; box-shadow:none; border-radius:9px; }
.auth-frame-login .auth-content .auth-cta:hover { background:#153c50; }
.auth-frame-login .form-copy { margin:0 0 2px; font-size:12px; }
.auth-frame-login .auth-field input:focus { border-color:#487789; box-shadow:0 0 0 3px #4877891c; }
.auth-frame-login .code-send-btn,.auth-frame-login .auth-switch-link { color:#265c73; }
@media(min-width:821px) {
  .auth-frame-login .auth-content { display:flex; flex-direction:column; justify-content:safe center; padding:clamp(34px,4vw,60px); }
}
@media(max-width:820px) {
  .auth-frame-login .auth-art-login { display:block; height:118px; min-height:0; padding:0; }
  .auth-frame-login .auth-horizon { object-position:center; }
  .auth-frame-login .auth-art-head { position:absolute; z-index:1; top:50%; left:24px; margin:0; padding:0; transform:translateY(-50%); }
  .auth-frame-login .auth-horizon-title,.auth-frame-login .auth-art-quote { display:none; }
  .auth-frame-login .auth-content { min-height:0; padding:26px 24px 34px; }
}

#dashboardHome .overview-workspace { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); gap:18px; align-items:start; }
.overview-column { display:grid; gap:16px; min-width:0; }
.overview-column > .dashboard-card { min-width:0; margin:0; padding:clamp(16px,1.6vw,24px); border:1px solid #e0e7f1; border-radius:16px; background:#fff; box-shadow:0 5px 18px rgba(30,49,80,.04); }
#overviewTargetCount { color:#60718c; font-size:14px; font-weight:550; white-space:nowrap; }
.overview-phases { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:15px 0 8px; }
.overview-phases button { display:flex; align-items:center; justify-content:space-between; gap:5px; padding:9px 12px; color:#405572; background:#f4f7fc; border:1px solid #e3ebf6; border-radius:9px; cursor:pointer; }
.overview-phases button:hover { border-color:#91b3ed; }
.overview-phases strong { font-size:19px; color:#243956; }
.overview-column .target-line { grid-template-columns:36px minmax(0,1fr) auto; min-height:48px; padding:5px 0; border-bottom:1px solid #eef2f7; }
.overview-column .target-line:last-child { border-bottom:0; }
.overview-column .target-name small { display:block; color:#596e8a; font-size:11px; }
.overview-column .ai-advice-head { gap:8px; flex-wrap:wrap; }
.overview-column .followed-change-news-row { grid-template-columns:auto minmax(0,1fr) auto; }
.overview-column .followed-change-news-row span { white-space:normal; }
@media(max-width:960px){ #dashboardHome .overview-workspace { grid-template-columns:minmax(0,1fr); } }

.school-directory { display:grid; gap:10px; }
.school-site-list { display:flex; flex-wrap:wrap; gap:8px; }
.school-directory .school-resource { display:inline-flex; align-items:center; gap:12px; min-width:0; max-width:100%; box-sizing:border-box; color:#284c72; text-decoration:none; border:0; font-size:14px; line-height:1.5; }
.school-site-list .school-resource { padding:8px 13px; background:#eef4fa; border-radius:8px; font-weight:650; }
.school-resource span,.school-contact-row dd { overflow-wrap:anywhere; }
.school-resource i { font-style:normal; color:#65819c; }
.school-directory .school-resource:hover { background:#e4eef9; color:#154b91; }
.school-directory-group { background:white; border:1px solid #e0e7ef; border-radius:9px; padding:0 14px; }
.school-directory-group summary { padding:12px 0; cursor:pointer; color:#344963; font-size:14px; font-weight:650; }
.school-directory-group summary small { margin-left:6px; font-weight:400; color:#63778d; }
.school-document-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); column-gap:20px; padding-bottom:8px; }
.school-document-list .school-resource { justify-content:space-between; padding:10px 2px; border-top:1px solid #e9eff5; }
.school-directory-group dl { margin:0 0 8px; }
.school-contact-row { display:grid; grid-template-columns:minmax(6em,25%) 1fr; gap:12px; padding:9px 0; border-top:1px solid #e9eff5; font-size:14px; }
.school-contact-row dt { color:#62768b; }
.school-contact-row dd { margin:0; white-space:pre-line; }
.school-contact-row .contact-link { border:0; text-decoration:underline; text-underline-offset:3px; text-decoration-color:#b7cce1; }

.exam-subjects .exam-group-title { margin: 14px 0 7px; font-size: 13px; color: #52627b; }
.exam-subjects .exam-option-row { border-bottom: 1px solid #e4ebf2; padding: 10px 0; }
.exam-option-row > div { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 16px; }
.exam-option-row strong { font-size:14px; color:#253853; }
.exam-option-row span, .exam-option-row details, .exam-original { font-size:13px; color:#51647e; }
.exam-subjects details summary { cursor:pointer; }
.exam-subjects details p { white-space:pre-line; overflow-wrap:anywhere; line-height:1.7; margin:6px 0; }
.exam-original { margin-top:12px; }
