:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --sidebar-width: 260px;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e8ecf1;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html.pj-navigating .content { opacity: 0.55; transition: opacity .12s ease; }
html.pj-navigating .sidebar-nav .nav-link { pointer-events: none; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* Auth layout */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 32px;
}
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-brand h1 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 700; }
.auth-brand p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.auth-tabs button {
  flex: 1; border: 1px solid var(--border); background: var(--bg);
  padding: 10px; border-radius: 8px; cursor: pointer; font: inherit;
}
.auth-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* App shell */
.app-shell { display: flex; min-height: 100vh; }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
}
.sidebar-overlay.show { display: block; opacity: 1; visibility: visible; }

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--surface);
  color: var(--text);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.sidebar-mobile-head {
  display: none;
  justify-content: flex-end;
  padding: 12px 12px 0;
}

.sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-close svg { width: 18px; height: 18px; }
.sidebar-close:hover { background: var(--bg); color: var(--text); }

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 12px 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-user-meta { min-width: 0; }
.sidebar-user-name {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-sub {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.sidebar-nav {
  padding: 4px 10px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #dde3ea transparent;
}
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: #dde3ea; border-radius: 4px; }

.nav-group { margin-bottom: 4px; }

.nav-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 4px;
}

.nav-group-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-group-badge {
  font-size: 0.62rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 600;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 2px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.nav-link:hover {
  background: var(--bg);
  color: var(--text);
}
.nav-link.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.nav-link:hover .nav-icon { background: #eef2f7; }
.nav-link.active .nav-icon {
  background: #dbeafe;
  color: var(--primary);
}
.nav-icon svg { width: 16px; height: 16px; }

.nav-label {
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.sidebar-wallet {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.sidebar-wallet-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sidebar-wallet-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.sidebar-wallet-value span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.sidebar-wallet-btn {
  display: block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background .15s;
}
.sidebar-wallet-btn:hover { background: var(--primary-hover); }

.sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background .15s, color .15s, border-color .15s;
}
.sidebar-logout svg { width: 16px; height: 16px; }
.sidebar-logout:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--danger);
}

.main { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sidebar-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-toggle svg { width: 18px; height: 18px; }
.sidebar-toggle:hover { background: var(--bg); }

.topbar-title { font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-user { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--text-muted); flex-shrink: 0; }
.topbar-balance {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
}
.content { padding: 24px; flex: 1; }

/* Cards & grid */
.page-header { margin-bottom: 24px; }
.page-header h1 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 700; }
.page-header p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .sidebar-toggle { display: inline-flex; }
  .sidebar-mobile-head { display: flex; }
  .sidebar-close { display: inline-flex; }
  .sidebar-user { margin-top: 8px; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .topbar-user span:not(.topbar-balance) { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  will-change: transform, box-shadow;
}
.card-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  font-weight: 600; display: flex; align-items: center; justify-content: space-between;
}
.card-body { padding: 20px; }
.kpi { padding: 20px; }
.kpi-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.kpi-value { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.kpi-value--sm { font-size: 1rem; }
.kpi-foot { margin-top: 8px; font-size: 0.8rem; color: var(--text-muted); }
.kpi-link { display: block; color: inherit; transition: border-color .15s; }
.kpi-link:hover { border-color: var(--primary); color: inherit; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 500; }
.form-control, .form-select, textarea.form-control {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; font: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus, textarea.form-control:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Searchable select (PJSelect) */
.pj-select { position: relative; width: 100%; }
.pj-select-native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 !important;
}
.pj-select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; font: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.pj-select-trigger:hover { border-color: #cbd5e1; }
.pj-select.is-open .pj-select-trigger,
.pj-select-trigger:focus-visible {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.pj-select-value {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pj-select-value.is-placeholder { color: var(--text-muted); }
.pj-select-chevron {
  flex-shrink: 0; color: var(--text-muted); transition: transform .2s;
}
.pj-select.is-open .pj-select-chevron { transform: rotate(180deg); color: var(--primary); }
.pj-select-dropdown {
  position: static; z-index: auto;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; margin-top: 8px;
}
.pj-select--search-above { display: flex; flex-direction: column; gap: 8px; }
.pj-select--search-above .pj-select-dropdown { margin-top: 0; }
.pj-select.is-open .pj-select-trigger { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.pj-select:not(.pj-select--search-above).is-open .pj-select-trigger {
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.pj-select:not(.pj-select--search-above).is-open .pj-select-dropdown {
  margin-top: -1px; border-top-left-radius: 0; border-top-right-radius: 0;
}
.pj-select-search {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border-bottom: 1px solid var(--border); background: #f8fafc;
}
.pj-select-search--above {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.pj-select-search--above:focus-within {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.pj-select--search-above.is-open .pj-select-search--above {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.pj-select-search svg { flex-shrink: 0; color: var(--text-muted); }
.pj-select-search-input {
  flex: 1; border: none; background: transparent; font: inherit; outline: none;
  min-width: 0; color: var(--text);
}
.pj-select-search-input::placeholder { color: #94a3b8; }
.pj-select-list {
  list-style: none; margin: 0; padding: 6px; max-height: 220px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pj-select.is-open .pj-select-dropdown {
  will-change: transform, opacity;
}
.pj-select-option {
  padding: 9px 12px; border-radius: 7px; cursor: pointer; font-size: 0.875rem;
  line-height: 1.45; transition: background .12s, transform .12s;
}
.pj-select-option.is-focused { transform: translateX(2px); }
.pj-select-option:hover,
.pj-select-option.is-focused { background: var(--primary-soft); }
.pj-select-option.is-selected {
  background: var(--primary-soft); color: var(--primary); font-weight: 500;
}
.pj-select-option mark {
  background: rgba(250, 204, 21, 0.35); color: inherit; padding: 0 1px; border-radius: 2px;
}
.pj-select-empty {
  padding: 24px 16px; text-align: center; color: var(--text-muted); font-size: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 500; cursor: pointer; transition: all .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: var(--bg); border-color: var(--border); color: var(--text); }
.btn-secondary:hover { background: #eef2f7; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 6px 10px; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* Table */
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
table.data-table th, table.data-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border);
}
table.data-table th { background: #f8fafc; font-weight: 600; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; }
table.data-table tr:hover td { background: #fafbfc; }

/* Order list table */
table.order-table {
  table-layout: fixed;
  min-width: 1080px;
}
table.order-table .col-oid { width: 56px; }
table.order-table .col-platform { width: 24%; }
table.order-table .col-school { width: 76px; }
table.order-table .col-account { width: 118px; }
table.order-table .col-course { width: 16%; }
table.order-table .col-status { width: 88px; }
table.order-table .col-progress { width: 72px; }
table.order-table .col-time { width: 148px; }
table.order-table .col-actions { width: 172px; }

table.order-table td.col-oid,
table.order-table td.col-school,
table.order-table td.col-account,
table.order-table td.col-status,
table.order-table td.col-progress,
table.order-table td.col-time,
table.order-table td.col-actions {
  white-space: nowrap;
}

table.order-table td.col-platform,
table.order-table td.col-course {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.order-table td.col-progress { text-align: center; }

.table-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.table-actions .btn { flex-shrink: 0; padding: 5px 10px; }

.table-loading {
  text-align: center;
  padding: 32px 16px !important;
  color: var(--text-muted);
}

.modal-order-detail {
  max-width: 560px;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.modal-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border);
}
.modal-order-head h3 { margin: 0; font-size: 1.05rem; }
.modal-order-sub { margin: 4px 0 0; font-size: 0.8rem; color: var(--text-muted); }
.modal-close-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.modal-close-btn:hover { background: var(--bg); color: var(--text); }

.modal-order-body { padding: 16px 20px; max-height: 60vh; overflow-y: auto; }
.modal-order-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--surface);
}
.modal-order-foot .btn {
  opacity: 1;
  visibility: visible;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
}
.detail-field { min-width: 0; }
.detail-field--full { grid-column: 1 / -1; }
.detail-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.detail-value {
  font-size: 0.875rem;
  color: var(--text);
  word-break: break-all;
}
.detail-value.mono { font-family: ui-monospace, monospace; font-size: 0.82rem; }
.detail-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: #fef3c7;
  color: #b45309;
}
.detail-progress { margin-top: 4px; }
.detail-progress-val { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.detail-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
}
.detail-progress-fill {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  will-change: transform;
}
.detail-remarks {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 520px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.badge {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-muted { background: #f1f5f9; color: #475569; }

/* Pagination */
.pagination { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pagination button {
  min-width: 36px; height: 36px; border: 1px solid var(--border);
  background: #fff; border-radius: 8px; cursor: pointer; font: inherit;
}
.pagination button.active, .pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab-btn {
  padding: 10px 16px; border: none; background: none; cursor: pointer;
  font: inherit; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Toast */
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 16px; border-radius: 8px; background: #1e293b; color: #fff;
  box-shadow: var(--shadow); font-size: 0.875rem;
  will-change: transform, opacity;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden;
}
.modal-backdrop.show { display: flex; opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: var(--radius); max-width: 480px; width: 100%;
  box-shadow: var(--shadow); padding: 24px;
}
.modal h3 { margin: 0 0 12px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* Shortcuts */
.shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shortcut {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px; border: 1px solid var(--border); border-radius: var(--radius);
  color: inherit; text-align: center; transition: all .15s;
}
.shortcut:hover { border-color: var(--primary); background: #f8fafc; color: inherit; }
.shortcut-icon {
  width: 40px; height: 40px; border-radius: 10px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}

/* Notice */
.notice-html { line-height: 1.7; font-size: 0.9rem; }
.notice-html img { max-width: 100%; }
.empty-state { text-align: center; padding: 40px; color: var(--text-muted); }

/* Loading */
.loading { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn .loading { border-color: rgba(37,99,235,.2); border-top-color: var(--primary); }

/* Order submit */
.course-list { max-height: 400px; overflow-y: auto; border: 1px solid var(--border); border-radius: 8px; }
.course-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
  transition: background-color .2s;
}
.course-item:last-child { border-bottom: none; }
.course-item label { flex: 1; cursor: pointer; }
.account-block { margin-bottom: 16px; padding: 14px; background: #f8fafc; border-radius: 8px; }

.mt-16 { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sidebar { will-change: auto; }
  .toast { will-change: auto; }
  .detail-progress-fill { will-change: auto; }
  .card { will-change: auto; }
}
