:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eef4ff;
  --green: #059669;
  --green-soft: #ecfdf5;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px -18px rgba(15, 23, 42, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(37, 99, 235, 0.10), transparent 70%),
    radial-gradient(700px 400px at 95% 0%, rgba(5, 150, 105, 0.08), transparent 70%);
}

.hidden {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12.5px;
}

.pos {
  color: var(--green);
}

.neg {
  color: var(--red);
}

.strong {
  font-weight: 650;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- 启动 / 登录 ---------- */

.boot {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg);
  z-index: 50;
  color: var(--muted);
}

.spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(37, 99, 235, 0.18);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 16px 40px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.45);
  padding: 30px;
  animation: rise 0.5s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.logo {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-weight: 700;
  font-size: 21px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.8);
}

.brand-text h1 {
  font-size: 20px;
}

.brand-text p {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}

.brand.small .logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 17px;
}

.brand.small h1 {
  font-size: 16px;
}

.seg {
  display: flex;
  padding: 4px;
  gap: 4px;
  background: #eef2f7;
  border-radius: 12px;
  margin: 22px 0 20px;
}

.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: 0.18s;
}

.seg button.active {
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field > span,
.field > label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 550;
}

input,
select {
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

input[type="number"] {
  font-variant-numeric: tabular-nums;
}

.input-group {
  position: relative;
}

.input-group input {
  padding-right: 58px;
}

.eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12.5px;
  padding: 6px 8px;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
}

.eye:hover {
  background: var(--primary-soft);
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  margin: 4px 0 14px;
}

.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  flex: none;
}

.error {
  display: none;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  margin-bottom: 12px;
  white-space: pre-wrap;
}

.error.show {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.16s;
  white-space: nowrap;
}

.btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.btn.primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.9);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn.danger {
  background: var(--red);
  border-color: transparent;
  color: #fff;
}

.btn.danger:hover {
  background: #b91c1c;
}

.btn.ghost {
  background: transparent;
}

.btn.sm {
  padding: 6px 11px;
  font-size: 13px;
  border-radius: 8px;
}

.btn.block {
  width: 100%;
}

.btn.icon {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.busy {
  opacity: 0.65;
  pointer-events: none;
}

.login-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  display: grid;
  gap: 6px;
}

.login-foot b {
  color: var(--text);
}

.login-copy {
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ---------- 顶栏 ---------- */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.topbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 8px;
}

.user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 600;
}

.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.16s;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.main {
  padding-top: 22px;
  padding-bottom: 40px;
  min-height: calc(100vh - 180px);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 26px;
  color: #94a3b8;
  font-size: 12px;
  flex-wrap: wrap;
}

/* ---------- 通用布局 ---------- */

.view {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  animation: fade 0.25s ease both;
}

.view > *,
.grid-2 > * {
  min-width: 0;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.view-head h2 {
  font-size: 22px;
}

.view-head p {
  margin-top: 3px;
  font-size: 13px;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.date-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-nav input[type="date"] {
  width: auto;
  padding: 8px 10px;
}

.week-title {
  min-width: 62px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  min-width: 0;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.card-head h3 {
  font-size: 16px;
}

.card-head h3 .muted {
  font-weight: 400;
  margin-left: 6px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--muted);
}

.badge.ok {
  background: var(--green-soft);
  color: var(--green);
}

.badge.warn {
  background: var(--amber-soft);
  color: var(--amber);
}

.progress {
  height: 8px;
  border-radius: 99px;
  background: #eef2f7;
  overflow: hidden;
  margin: 14px 0 10px;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #34d399, #059669);
  transition: width 0.4s ease;
}

/* ---------- 统计块 ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stat-row.compact {
  margin-bottom: 6px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #f8fafc;
  border-radius: 11px;
  padding: 10px 12px;
}

.stat-label {
  font-size: 11.5px;
  color: var(--muted);
}

.stat-value {
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.big-input {
  font-size: 19px;
  font-weight: 650;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.stat-card {
  background: #f8fafc;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-card span {
  font-size: 11.5px;
  color: var(--muted);
}

.stat-card b {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat-card small {
  font-size: 11px;
  color: #94a3b8;
}

/* ---------- 表扬 chips ---------- */

.praise-block + .praise-block {
  margin-top: 14px;
}

.praise-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot.blue {
  background: var(--primary);
}

.dot.green {
  background: var(--green);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: 0.15s;
}

.chip:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.chip.on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(37, 99, 235, 0.9);
}

.chip.green.on {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 6px 14px -8px rgba(5, 150, 105, 0.9);
}

.chip.week {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-radius: 11px;
  padding: 7px 12px;
  line-height: 1.25;
}

.chip.week small {
  font-size: 10.5px;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.chip.week b {
  font-size: 13px;
  font-weight: 600;
}

.chips.weeks {
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding: 2px;
}

.report-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

/* ---------- 表格 ---------- */

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 0 -4px;
  padding: 0 4px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 640px;
}

.table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table th.num {
  text-align: right;
}

.table th small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: #94a3b8;
}

.table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.table tbody tr:hover {
  background: #fafcff;
}

.table td:first-child,
.table th:first-child {
  padding-left: 12px;
  white-space: nowrap;
}

.scroll-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

.day-table {
  min-width: 900px;
}

.expected-input {
  background: #f8fbff;
  border-color: #bfdbfe;
}

.bulk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.bulk-row label {
  font-size: 12.5px;
  color: var(--muted);
}

.bulk-row input {
  width: 120px;
  padding: 8px 10px;
}

.table .cell-input {
  width: 68px;
  padding: 6px 8px;
  text-align: right;
  border-radius: 8px;
  font-size: 13.5px;
}

.praise-cell {
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.tag.ok {
  background: var(--green-soft);
  color: var(--green);
}

.tag.blue {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.tag.green {
  background: var(--green-soft);
  color: var(--green);
}

.row-toggle {
  cursor: pointer;
}

.row-toggle.open {
  background: #f8fbff;
}

.caret {
  color: #94a3b8;
  transition: transform 0.18s;
}

.row-toggle.open .caret {
  transform: rotate(180deg);
}

.detail-row td {
  background: #f8fafc;
  padding: 12px 16px 16px;
}

.entries {
  display: grid;
  gap: 6px;
}

.entry {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 7px 11px;
}

.entry-date {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  min-width: 42px;
}

.entry-text {
  flex: 1;
}

.matrix td,
.matrix th {
  white-space: nowrap;
}

.muted-row {
  color: #94a3b8;
}

/* ---------- 表单 ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.form-grid .field {
  margin: 0;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.save-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.save-bar.left {
  justify-content: flex-start;
}

.subcard {
  background: #f8fafc;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  padding: 16px;
}

.subcard h4 {
  font-size: 14px;
  margin-bottom: 12px;
}

.subcard .field {
  margin-bottom: 10px;
}

.subcard .btn {
  width: 100%;
}

.tips {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
  display: grid;
  gap: 7px;
}

.tips li::marker {
  color: var(--primary);
}

.notice {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  margin: 10px 0;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.banner .btn {
  background: #fff;
  border-color: #fcd34d;
  color: #92400e;
}

/* ---------- 班级填报 ---------- */

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
}

.field-row label {
  font-size: 14px;
  font-weight: 550;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stepper input {
  width: 74px;
  text-align: center;
  font-size: 17px;
  font-weight: 650;
  padding: 7px 4px;
}

.stepper .btn.icon {
  background: #f8fafc;
}

.submit-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.submit-bar .btn.primary {
  min-width: 128px;
}

.score-hero {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 4px 0 12px;
}

.score-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.score-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding: 7px 11px;
  background: #f8fafc;
  border-radius: 9px;
}

/* ---------- 空状态 / 加载 ---------- */

.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty h3 {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 6px;
}

.empty-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
}

.loading-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 50px;
  color: var(--muted);
}

/* ---------- Toast / Modal ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: #0f172a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 90;
  max-width: min(90vw, 480px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  background: #b91c1c;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 80;
}

.modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.6);
  animation: rise 0.2s ease both;
}

.modal-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.modal-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

.seg.mini {
  margin: 0;
  padding: 3px;
  border-radius: 10px;
}

.seg.mini button {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 7px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-grid,
  .form-grid.five {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar-inner {
    padding-top: 10px;
  }

  .brand.small h1 {
    font-size: 15px;
  }

  .view-head h2 {
    font-size: 19px;
  }

  .view-head {
    align-items: flex-start;
  }

  .head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid,
  .form-grid.five {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 15px;
    border-radius: 14px;
  }

  .login-card {
    padding: 24px;
  }

  .date-nav input[type="date"] {
    max-width: 140px;
  }

  .score-hero {
    font-size: 38px;
  }

  .table {
    min-width: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
