:root {
  color-scheme: light;
  --ink: #243247;
  --muted: #637083;
  --line: #e3e7ed;
  --blue: #245bb4;
}
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f5f6f8; }
.auth-panel { width: 100%; max-width: 400px; background: #fff; padding: 30px; border: 1px solid #e3e7ed; border-radius: 6px; }
.auth-panel h1 { font-size: 22px; font-weight: 600; color: #243247; }
.auth-subtitle { color: #637083; font-size: 13px; margin-top: 8px; margin-bottom: 24px; }
.auth-tabs { display: flex; gap: 24px; border-bottom: 1px solid #e3e7ed; margin-bottom: 20px; }
.auth-tabs button { font-size: 14px; padding: 8px 0; border-bottom: 2px solid transparent; }
.auth-tabs button[aria-selected="true"] { color: #245bb4; border-bottom-color: #245bb4; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form label { font-size: 13px; color: #526174; margin-top: 4px; }
.auth-form input { width: 100%; min-width: 0; border: 1px solid #d6dce5; border-radius: 4px; padding: 8px 10px; }
.auth-form > .primary-action { margin-top: 10px; min-height: 38px; }
.header-account button { color: #526174; font-size: 12px; white-space: nowrap; }
.header-account button:hover { color: #245bb4; }
[v-cloak] { display: none; }
body {
  margin: 0;
  background: #f5f6f8;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
::selection { background: #dce9fc; color: #163e7b; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a { text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #245bb4;
  outline-offset: 3px;
}
input, textarea { caret-color: var(--blue); }
input::placeholder, textarea::placeholder { color: #6b7584; opacity: 1; }
input:not([type="checkbox"]):not([type="file"]), select, textarea { min-height: 36px; background-color: #fff; }
input[type="checkbox"] { accent-color: var(--blue); }
button:disabled { opacity: .45; cursor: not-allowed; }
.app-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1480px; min-height: 64px; margin: auto; padding: 0 32px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; color: #20364f; border: 0; background: transparent; text-align: left; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; background: #245bb4; color: #fff; border-radius: 5px; }
.brand-mark svg { width: 21px; height: 21px; }
.brand-title { display: block; font-size: 16px; font-weight: 650; letter-spacing: 0; }
.brand-subtitle { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0; }
.main-nav { align-self: stretch; display: flex; gap: 28px; }
.main-nav button { display: flex; align-items: center; gap: 7px; position: relative; padding: 0 2px; border: 0; background: transparent; color: #526174; font-size: 14px; white-space: nowrap; }
.main-nav button svg { width: 17px; height: 17px; }
.main-nav button:hover { color: var(--blue); }
.main-nav button[aria-current="page"] { color: var(--blue); font-weight: 600; }
.main-nav button[aria-current="page"]::after { content: ""; height: 2px; position: absolute; bottom: 0; left: 0; right: 0; background: var(--blue); }
.header-account { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #526174; }
.account-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #edf1f6; color: #4d5d72; font-size: 12px; }
.workspace { max-width: 1480px; width: 100%; margin: 0 auto; padding: 28px 32px 36px; flex: 1; min-width: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { font-size: 23px; font-weight: 600; color: #1e2b3e; line-height: 1.4; }
.page-heading p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.page-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.week-switcher { display: flex; align-items: center; border: 1px solid #d6dce5; border-radius: 4px; background: #fff; min-width: 0; }
.week-switcher button { display: grid; place-items: center; width: 32px; height: 34px; color: #526174; flex-shrink: 0; }
.week-switcher button:hover:not(:disabled) { background: #f1f5fa; color: var(--blue); }
.week-switcher svg { width: 16px; height: 16px; }
.week-switcher select { border: 0; padding: 0 6px; font-size: 12px; color: #34445a; width: 205px; min-height: 34px; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 4px; padding: 7px 15px; font-size: 13px; white-space: nowrap; }
.primary-action:hover { background: #1c4b97; }
.primary-action svg { width: 16px; height: 16px; }
.personal-overview { background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.overview-heading { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 14px; }
.overview-heading h2 { font-size: 15px; font-weight: 600; }
.overview-heading p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.status-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.status-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.personal-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 22px 0; }
.personal-metric { padding: 0 24px; border-right: 1px solid var(--line); }
.personal-metric:last-child { border: 0; }
.metric-label { font-size: 13px; color: var(--muted); }
.metric-value { font-size: 27px; line-height: 1.4; margin: 7px 0; color: #243247; font-weight: 600; font-variant-numeric: tabular-nums; }
.metric-detail { font-size: 12px; color: var(--muted); }
.metric-progress { height: 4px; background: #edf0f5; border-radius: 2px; margin-top: 13px; max-width: 250px; overflow: hidden; }
.metric-progress > div { height: 100%; background: var(--blue); }
.class-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 22px 0; }
.class-metrics > div { padding: 0 22px; border-right: 1px solid var(--line); }
.class-metrics > div:last-child { border: 0; }
.class-metrics .metric-value { margin-top: 6px; margin-bottom: 6px; }
.class-metrics .metric-value small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.list-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.list-heading h2 { font-size: 15px; font-weight: 600; }
.list-heading span { font-size: 12px; color: var(--muted); }
.filter-toolbar { flex-wrap: wrap; align-items: flex-start; }
.filter-fields { flex-wrap: wrap; gap: 10px; }
.filter-fields > * { margin-left: 0 !important; }
.filter-actions { flex-wrap: wrap; gap: 8px; }
.filter-actions > * { margin-left: 0 !important; }
.standard-rows > div { background: transparent !important; border: 0; border-bottom: 1px solid #edf0f4; border-radius: 0; padding: 10px 0; }
.standard-rows > div:last-child { border-bottom: 0; }
.chart-heading { gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.trend-summary { display: flex; flex-wrap: wrap; gap: 24px 56px; padding: 14px 0 20px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.trend-summary > div { display: flex; flex-direction: column; gap: 5px; }
.trend-summary span, .trend-summary small { color: var(--muted); font-size: 12px; }
.trend-summary strong { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.chart-legend { flex-wrap: wrap; gap: 6px; }
.chart-legend > * { margin-left: 0 !important; }
table { font-variant-numeric: tabular-nums; border-collapse: collapse; }
thead th { white-space: nowrap; font-weight: 500; font-size: 12px; color: #59677a; letter-spacing: 0; text-transform: none; height: 40px; }
tbody td { font-size: 13px; vertical-align: middle; }
table th, table td { padding: 11px 14px !important; }
tbody tr:hover { background: #f6f9fd; }
.roster-table { min-width: 820px; }
.assessment-table { min-width: 1160px; }
.record-table { min-width: 950px; }
#app .text-slate-400 { color: #6b7789; }
.font-black, .font-extrabold, .font-bold { font-weight: 600; }
.font-mono { font-family: inherit; font-variant-numeric: tabular-nums; }
.rounded-3xl { border-radius: 5px; }
.rounded-2xl { border-radius: 5px; }
.rounded-xl, .rounded-lg { border-radius: 4px; }
.shadow-sm, .shadow-md, .shadow-lg, .shadow-xl { box-shadow: none; }
.shadow-2xl { box-shadow: 0 12px 40px rgb(22 35 55 / 16%); }
.backdrop-blur-sm, .backdrop-blur-md { backdrop-filter: none; }
.bg-slate-950\/50 { background: rgb(24 35 51 / 38%); }
.fixed.inset-0 > .bg-white { border-radius: 7px; }
.fixed.inset-0 h3 { line-height: 1.5; }
.fixed.inset-0 button[aria-label^="关闭"] { min-width: 28px; min-height: 28px; display: grid; place-items: center; flex-shrink: 0; }
.fixed.inset-0 input, .fixed.inset-0 select, .fixed.inset-0 textarea { font-size: 13px; }
.duration-inputs input[type="number"] { min-width: 0; padding-left: 6px; padding-right: 6px; appearance: textfield; }
.duration-inputs input::-webkit-inner-spin-button, .duration-inputs input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.app-footer { margin-top: auto; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { max-width: 1480px; margin: auto; padding: 14px 32px; display: flex; justify-content: space-between; gap: 16px; color: #687588; font-size: 12px; }
.footer-inner button { color: #687588; }
.footer-inner button:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 1050px) {
  .header-inner { gap: 28px; padding: 0 24px; }
  .workspace { padding: 24px; }
  .page-heading { align-items: flex-start; }
  .page-controls { align-items: flex-end; flex-direction: column-reverse; gap: 8px; }
  .class-metrics > div { padding: 0 16px; }
}
@media (max-width: 700px) {
  .header-inner { padding: 12px 16px 0; min-height: auto; flex-wrap: wrap; gap: 12px; }
  .brand-title { font-size: 15px; }
  .header-account { font-size: 12px; }
  .main-nav { order: 3; width: 100%; height: 42px; gap: 30px; }
  .main-nav button { font-size: 13px; }
  .workspace { padding: 20px 14px 26px; }
  .page-heading { flex-direction: column; gap: 16px; margin-bottom: 18px; }
  .page-heading h1 { font-size: 21px; }
  .page-controls { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; gap: 8px; }
  .week-switcher { flex: 1; max-width: 290px; }
  .week-switcher select { width: 100%; min-width: 0; font-size: 11px; padding: 0; }
  .week-switcher button { width: 25px; }
  .primary-action { padding: 7px 10px; font-size: 12px; }
  .overview-heading { padding: 15px; flex-wrap: wrap; }
  .personal-metrics { grid-template-columns: 1fr; padding: 0; }
  .personal-metric { padding: 16px; border: 0; border-bottom: 1px solid var(--line); }
  .metric-value { font-size: 25px; }
  .class-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .class-metrics > div { padding: 16px; border: 0; border-bottom: 1px solid var(--line); }
  .class-metrics > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .class-metrics > div:last-child { grid-column: 1 / -1; border: 0; }
  .filter-fields { width: 100%; }
  .filter-fields > .relative { flex-basis: 100%; }
  .filter-fields select { min-width: 0; flex: 1; font-size: 12px; }
  .filter-actions { width: 100%; justify-content: flex-start; }
  section > .p-6, section > .p-5 { padding: 16px; }
  .chart-heading h3 { flex-wrap: wrap; }
  .trend-summary { gap: 20px 28px; }
  .trend-summary strong { font-size: 17px; }
  .footer-inner { padding: 14px 16px; flex-wrap: wrap; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
