/* ==========================================================================
   考研教学管理 · 设计系统
   ========================================================================== */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #f4f6fb;
  --card: #ffffff;
  --primary: #1e3a8a;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --primary-soft: #e9effc;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --success: #059669;
  --success-soft: #d1fae5;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --warning: #d97706;
  --warning-soft: #fef3c7;
  --info: #0284c7;
  --info-soft: #e0f2fe;
  --math: #2563eb;
  --english: #059669;
  --politics: #d97706;
  --major: #7c3aed;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.22);
  --shadow-lg: 0 24px 60px -28px rgba(15, 23, 42, 0.35);
  --sidebar-w: 248px;
  --topbar-h: 64px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   应用骨架
   -------------------------------------------------------------------------- */

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: linear-gradient(175deg, #0f1b3d 0%, #16265a 45%, #1e3a8a 100%);
  color: #c7d2fe;
  display: flex;
  flex-direction: column;
  z-index: 40;
  transition: transform 0.22s ease;
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 280px at 20% -10%, rgba(245, 158, 11, 0.16), transparent 60%),
    radial-gradient(420px 260px at 110% 110%, rgba(56, 189, 248, 0.12), transparent 60%);
  pointer-events: none;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
  z-index: 1;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.8);
}

.brand-text {
  line-height: 1.2;
}

.brand-name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: #93a4d4;
  font-size: 11px;
  margin-top: 3px;
  letter-spacing: 0.08em;
}

.nav {
  position: relative;
  z-index: 1;
  padding: 8px 12px 24px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
}

.nav-group-title {
  padding: 18px 12px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7f92c9;
  text-transform: uppercase;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #c7d2fe;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 2px;
  position: relative;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-link.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.sidebar-foot {
  position: relative;
  z-index: 1;
  padding: 14px 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.user-meta {
  min-width: 0;
  flex: 1;
}

.user-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  color: #94a3b8;
  font-size: 11px;
}

.logout-btn {
  background: transparent;
  border: 0;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.logout-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px;
  cursor: pointer;
  color: var(--ink-soft);
}

.topbar-title {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-soft);
}

.topbar-date {
  margin-left: auto;
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.content {
  padding: 26px 30px 48px;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  flex: 1;
}

/* --------------------------------------------------------------------------
   页面标题、卡片、统计
   -------------------------------------------------------------------------- */

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.page-title {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.page-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.page-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-pad {
  padding: 20px 22px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.card-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.card-body {
  padding: 18px 22px;
}

.card-body.tight {
  padding: 8px 12px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--tint, var(--primary-soft));
  opacity: 0.55;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint, var(--primary-soft));
  color: var(--tone, var(--primary));
  position: relative;
  z-index: 1;
}

.stat-value {
  font-size: 26px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.quick-link:hover {
  border-color: #bfd0f5;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  color: var(--ink);
}

.quick-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-600);
  display: grid;
  place-items: center;
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 1px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(30, 58, 138, 0.9);
}

.btn-primary:hover {
  background: var(--primary-700);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  background: var(--line-soft);
  color: var(--ink);
}

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

.btn-danger:hover {
  background: #b91c1c;
  color: #fff;
}

.btn-soft-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.btn-soft-danger:hover {
  background: #fecaca;
}

.btn-accent {
  background: var(--accent);
  color: #422006;
}

.btn-accent:hover {
  background: #fbbf24;
  color: #422006;
}

.btn-sm {
  height: 31px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 7px;
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 9px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   标签、徽章
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  background: var(--line-soft);
  color: var(--muted);
  white-space: nowrap;
}

.badge-primary {
  background: var(--primary-soft);
  color: var(--primary-700);
}

.badge-success {
  background: var(--success-soft);
  color: #047857;
}

.badge-warning {
  background: var(--warning-soft);
  color: #b45309;
}

.badge-danger {
  background: var(--danger-soft);
  color: #b91c1c;
}

.badge-info {
  background: var(--info-soft);
  color: #0369a1;
}

.badge-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tag-color, var(--muted));
  background: color-mix(in srgb, var(--tag-color, #64748b) 12%, white);
  border: 1px solid color-mix(in srgb, var(--tag-color, #64748b) 22%, white);
}

.subject-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--subject-color, var(--primary));
  margin-right: 6px;
}

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

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th {
  text-align: left;
  padding: 11px 14px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

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

.table tbody tr:last-child td {
  border-bottom: 0;
}

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

.table .num {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.table .actions {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
}

.cell-main {
  font-weight: 600;
  color: var(--ink);
}

.cell-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary-700);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-right: 9px;
  vertical-align: middle;
}

.person {
  display: flex;
  align-items: center;
  min-width: 150px;
}

/* --------------------------------------------------------------------------
   筛选、工具栏
   -------------------------------------------------------------------------- */

.toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.toolbar .spacer {
  flex: 1;
}

.field-inline {
  display: flex;
  align-items: center;
  gap: 7px;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
  font-size: 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted-light);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: #93b4f8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.input-sm,
.select-sm {
  height: 34px;
  padding: 6px 10px;
  font-size: 12.5px;
}

.search-box {
  position: relative;
  min-width: 230px;
}

.search-box .input {
  padding-left: 34px;
}

.search-box svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-light);
}

.textarea {
  min-height: 92px;
  resize: vertical;
}

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

.form-card {
  max-width: 1040px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

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

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

.field-full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-soft);
}

.field-label .req {
  color: var(--danger);
  margin-left: 3px;
}

.field-help {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.field-error {
  color: var(--danger);
  font-size: 11.5px;
}

.field-error ul {
  margin: 0;
  padding-left: 16px;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 4px 0;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-600);
}

.checkbox-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
}

.checkbox-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 16px;
}

.checkbox-list li {
  margin: 0;
}

.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-600);
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}

.form-section-title {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}

.inline-form {
  display: inline;
}

/* --------------------------------------------------------------------------
   消息提示
   -------------------------------------------------------------------------- */

.messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid transparent;
}

.message-success {
  background: var(--success-soft);
  color: #065f46;
  border-color: #a7f3d0;
}

.message-error {
  background: var(--danger-soft);
  color: #991b1b;
  border-color: #fecaca;
}

.message-warning {
  background: var(--warning-soft);
  color: #92400e;
  border-color: #fde68a;
}

.message-info {
  background: var(--info-soft);
  color: #075985;
  border-color: #bae6fd;
}

/* --------------------------------------------------------------------------
   空状态、分页、时间线
   -------------------------------------------------------------------------- */

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

.empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: var(--line-soft);
  color: var(--muted-light);
}

.empty-title {
  color: var(--ink-soft);
  font-weight: 650;
  margin-bottom: 4px;
}

.empty-text {
  font-size: 12.5px;
  max-width: 380px;
  margin: 0 auto 16px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.pager {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pager a,
.pager span {
  min-width: 31px;
  height: 31px;
  padding: 0 8px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
}

.pager .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.timeline {
  position: relative;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary-600);
}

.timeline-time {
  color: var(--muted);
  font-size: 11.5px;
}

.timeline-text {
  font-size: 13px;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   课表
   -------------------------------------------------------------------------- */

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

.calendar-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.calendar-head div {
  padding: 9px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day {
  min-height: 132px;
  padding: 8px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.is-outside {
  background: #fbfcfe;
}

.calendar-day.is-today {
  background: #f5f8ff;
}

.calendar-day.is-rest {
  background: #f8fafc;
}

.calendar-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.calendar-date .today-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.calendar-date.is-outside {
  color: var(--muted-light);
}

.session-chip {
  display: block;
  padding: 5px 7px;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 11.5px;
  line-height: 1.35;
  background: var(--chip-bg, var(--primary-soft));
  color: var(--chip-color, var(--primary-700));
  border-left: 3px solid var(--chip-color, var(--primary));
  overflow: hidden;
}

.session-chip strong {
  display: block;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-chip span {
  opacity: 0.82;
  font-size: 11px;
}

.session-chip.is-cancelled {
  opacity: 0.55;
  text-decoration: line-through;
}

.session-chip.is-draft {
  border-left-style: dashed;
}

.day-note {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  background: var(--warning-soft);
  color: #92400e;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   周计划
   -------------------------------------------------------------------------- */

.plan-summary {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 340px) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.plan-summary-ident {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.plan-summary-avatar {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.plan-summary-name {
  min-width: 0;
}

.plan-summary-progress {
  min-width: 0;
}

.plan-summary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.plan-tools {
  margin-bottom: 12px;
  overflow: hidden;
}

.plan-tools-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.plan-tools-summary::-webkit-details-marker {
  display: none;
}

.plan-tools-icon {
  display: inline-flex;
  color: var(--primary-600);
}

.plan-tools-chevron {
  margin-left: auto;
  display: inline-flex;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.plan-tools[open] .plan-tools-chevron {
  transform: rotate(90deg);
}

.plan-tools-body {
  border-top: 1px solid var(--line-soft);
  padding: 14px 16px 16px;
  background: #fbfcfe;
}

.plan-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan-tools-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.plan-tool {
  min-width: 0;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.plan-tool-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
}

.plan-tool-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
}

.plan-tool-empty {
  padding: 10px 0;
  color: var(--muted-light);
  font-size: 12px;
}

.plan-tool-message {
  padding: 7px 9px;
  margin-bottom: 8px;
}

.plan-tool-link {
  display: inline-block;
  margin-top: 8px;
}

.plan-tool-notes {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.plan-tool-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.plan-tool .form-grid {
  gap: 10px;
}

.progressbar {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-top: 5px;
}

.progressbar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 999px;
}

.plan-board-card {
  overflow: hidden;
}

.plan-board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfcfe);
}

.plan-board-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 11.5px;
}

.plan-board-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.plan-legend-dot.is-done {
  background: var(--success);
}

.plan-legend-dot.is-today {
  background: var(--accent);
}

.plan-board-total {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
}

.plan-board-scroll {
  --plan-col: 180px;
  overflow: auto;
  max-height: calc(100vh - var(--topbar-h) - 250px);
  max-height: calc(100dvh - var(--topbar-h) - 250px);
  overscroll-behavior: contain;
  background: var(--line);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.plan-board-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.plan-board-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 2px solid var(--bg);
  border-radius: 999px;
}

.plan-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(var(--plan-col), 1fr));
  gap: 1px;
  min-width: calc(var(--plan-col) * 7);
  align-items: stretch;
  background: var(--line);
}

.plan-day {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

.plan-day.is-weekend {
  background: #fcfdff;
}

.plan-day.is-today {
  background: #f7faff;
}

.plan-day-head {
  position: sticky;
  top: 0;
  z-index: 6;
  padding: 8px 9px 7px;
  background: #f8fafc;
  border-top: 3px solid transparent;
  border-bottom: 1px solid var(--line);
}

.plan-day.is-today .plan-day-head {
  border-top-color: var(--accent);
  background: linear-gradient(180deg, #fff8e8, #eef4ff);
}

.plan-day.is-weekend .plan-day-head {
  background: #f8fafc;
}

.plan-day.is-rest .plan-day-head {
  background: #f1f5f9;
}

.plan-day.is-exam .plan-day-head {
  background: #fff1f2;
}

.plan-day-head-main {
  display: flex;
  align-items: center;
  gap: 5px;
}

.plan-day-name {
  font-size: 12.5px;
  font-weight: 750;
}

.plan-day-date {
  color: var(--muted);
  font-size: 11px;
}

.plan-today-chip {
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #92400e;
  font-size: 9.5px;
  font-weight: 700;
}

.plan-day-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 10.5px;
  white-space: nowrap;
}

.plan-day-menu,
.plan-course-menu,
.plan-task-more {
  position: static;
}

.plan-day-menu > summary,
.plan-course-menu > summary,
.plan-task-more > summary {
  list-style: none;
  cursor: pointer;
}

.plan-day-menu > summary::-webkit-details-marker,
.plan-course-menu > summary::-webkit-details-marker,
.plan-task-more > summary::-webkit-details-marker {
  display: none;
}

.plan-day-menu {
  margin-left: 4px;
}

.plan-day-menu > summary {
  display: inline-flex;
  padding: 1px;
  border-radius: 4px;
  color: var(--muted);
}

.plan-day-menu[open] > summary {
  color: var(--primary-600);
}

.plan-day-form {
  position: absolute;
  right: 6px;
  top: calc(100% - 4px);
  z-index: 20;
  display: grid;
  gap: 5px;
  width: 178px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.plan-day-form .select,
.plan-day-form .input {
  width: 100%;
}

.plan-day-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}

.plan-day-meta .badge {
  padding: 1px 6px;
  font-size: 9.5px;
}

.plan-event {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--warning-soft);
  color: #92400e;
  font-size: 9.5px;
}

.plan-day-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 7px;
}

.plan-course-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-course {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 5px 6px;
  border: 1px solid #dbe6fd;
  border-left: 3px solid var(--course-color, var(--primary));
  border-radius: 7px;
  background: #f5f8ff;
  font-size: 11px;
}

.plan-course-time {
  flex-shrink: 0;
  padding-top: 1px;
  color: var(--course-color, var(--primary-700));
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-course-main {
  flex: 1;
  min-width: 0;
}

.plan-course-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.3px;
  font-weight: 650;
  line-height: 1.35;
}

.plan-course-meta {
  margin-top: 1px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-course-status {
  display: inline-block;
  margin-top: 2px;
  padding: 0 4px;
  border-radius: 4px;
  background: var(--warning-soft);
  color: #92400e;
  font-size: 9px;
}

.plan-course-menu {
  flex-shrink: 0;
}

.plan-course-menu > summary {
  display: inline-flex;
  padding: 1px;
  color: var(--muted-light);
}

.plan-course-menu[open] > summary {
  color: var(--primary-600);
}

.plan-course-panel {
  position: absolute;
  right: -1px;
  top: calc(100% + 3px);
  z-index: 25;
  display: grid;
  gap: 6px;
  width: 186px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.plan-mini-form {
  display: grid;
  gap: 5px;
}

.plan-task-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-height: 110px;
  margin: 0;
  padding: 2px;
  list-style: none;
  border-radius: 8px;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.plan-task-list.is-drop-target {
  background: rgba(29, 78, 216, 0.045);
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.12);
}

.plan-task-list.is-drop-target .plan-task-empty {
  display: none;
}

.plan-task {
  position: relative;
  display: flex;
  gap: 3px;
  padding: 5px 6px 5px 2px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--subject-color, var(--primary));
  border-radius: 8px;
  background: #fff;
  font-size: 11.3px;
  line-height: 1.35;
  transition: opacity 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.plan-task:hover,
.plan-task:focus-within {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.plan-task[data-task-status="DONE"] {
  background: #f7fdfa;
}

.plan-task[data-task-status="DONE"] .plan-task-title {
  color: var(--muted);
}

.plan-task[data-task-status="IN_PROGRESS"] {
  background: #f6fbff;
}

.plan-task[data-task-status="INCOMPLETE"] {
  background: #fffafa;
}

.plan-task.is-drag-source {
  display: none;
}

.plan-task-grip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 17px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-light);
  cursor: grab;
  touch-action: none;
}

.plan-task-grip:hover {
  color: var(--ink-soft);
}

.plan-task-grip:active {
  cursor: grabbing;
}

.plan-task-main {
  flex: 1;
  min-width: 0;
}

.plan-task-line {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.plan-task-title {
  display: -webkit-box;
  flex: 1;
  min-width: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 650;
}

.plan-task-status {
  flex-shrink: 0;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--line-soft);
  color: var(--muted);
  font-size: 8.8px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-task-status.is-done {
  background: var(--success-soft);
  color: #047857;
}

.plan-task-status.is-progress {
  background: var(--info-soft);
  color: #0369a1;
}

.plan-task-status.is-incomplete {
  background: var(--danger-soft);
  color: #b91c1c;
}

.plan-task-status.is-adjusted {
  background: var(--warning-soft);
  color: #92400e;
}

.plan-task-meta {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9.9px;
}

.plan-task-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 15px;
  margin-top: 2px;
}

.plan-task-type {
  color: var(--muted-light);
  font-size: 9.2px;
}

.plan-task-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.plan-task:hover .plan-task-actions,
.plan-task:focus-within .plan-task-actions {
  opacity: 1;
}

@media (hover: none) {
  .plan-task-actions {
    opacity: 1;
  }
}

.plan-task-actions > a {
  color: var(--primary-600);
  text-decoration: none;
}

.plan-task-actions > a:hover {
  text-decoration: underline;
}

.plan-task-more > summary {
  color: var(--primary-600);
}

.plan-task-more[open] > summary {
  font-weight: 700;
}

.plan-task-panel {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 3px);
  z-index: 40;
  display: grid;
  gap: 7px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 11px;
}

.plan-task-note {
  padding: 4px 6px;
  border-radius: 5px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 10.5px;
}

.plan-task-form {
  display: grid;
  gap: 4px;
}

.plan-task-form-title {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.plan-task-form .input,
.plan-task-form .select {
  width: 100%;
}

.plan-task-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted-light);
  font-size: 11px;
  text-align: center;
}

.plan-task-empty[hidden],
.plan-drop-placeholder[hidden] {
  display: none;
}

.plan-drop-placeholder {
  height: var(--drag-height, 54px);
  border: 1.5px dashed var(--primary-600);
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.07);
  pointer-events: none;
}

.plan-drag-ghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}

.plan-drag-ghost .plan-task-actions {
  display: none;
}

body.is-board-dragging {
  user-select: none;
  cursor: grabbing;
}

.plan-toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  display: grid;
  gap: 8px;
}

.plan-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 360px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  animation: planToastIn 0.18s ease;
}

.plan-toast.is-error {
  border-color: #fecaca;
  background: var(--danger-soft);
  color: #991b1b;
}

.plan-toast.is-success {
  border-color: #a7f3d0;
  background: var(--success-soft);
  color: #065f46;
}

@keyframes planToastIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.day-empty {
  color: var(--muted-light);
  font-size: 12px;
  padding: 8px 2px;
}

/* --------------------------------------------------------------------------
   登录
   -------------------------------------------------------------------------- */

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #f4f6fb;
}

.login-brand {
  position: relative;
  background: linear-gradient(160deg, #0f1b3d 0%, #1e3a8a 62%, #1d4ed8 100%);
  color: #fff;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.login-brand::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  right: -180px;
  top: -160px;
}

.login-brand::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 68%);
  left: -120px;
  bottom: -140px;
}

.login-brand > * {
  position: relative;
  z-index: 1;
}

.login-brand .brand {
  padding: 0;
}

.login-copy h1 {
  font-size: 38px;
  line-height: 1.22;
  font-weight: 780;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  max-width: 520px;
}

.login-copy p {
  color: #c7d2fe;
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 470px;
  margin: 0;
}

.login-points {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.login-point {
  font-size: 12.5px;
  color: #dbeafe;
  display: flex;
  align-items: center;
  gap: 7px;
}

.login-point .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.login-foot {
  color: #93a4d4;
  font-size: 12px;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-card {
  width: 100%;
  max-width: 380px;
}

.login-card h2 {
  font-size: 24px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.login-card .lead {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}

.login-card .field {
  margin-bottom: 16px;
}

.login-card .btn {
  width: 100%;
  height: 42px;
  margin-top: 6px;
}

.login-hint {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   详情页、描述列表
   -------------------------------------------------------------------------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.desc-list {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 11px 16px;
  font-size: 13px;
}

.desc-list dt {
  color: var(--muted);
}

.desc-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.section-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 18px 0;
}

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  overflow-x: auto;
}

.tab {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

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

.tab.active {
  color: var(--primary-700);
  border-bottom-color: var(--primary);
}

/* --------------------------------------------------------------------------
   工具类
   -------------------------------------------------------------------------- */

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

.small {
  font-size: 12px;
}

.tiny {
  font-size: 11px;
}

.strong {
  font-weight: 650;
}

.mono {
  font-variant-numeric: tabular-nums;
}

.nowrap {
  white-space: nowrap;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }
.mb-4 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 6px; }
.gap-2 { gap: 12px; }
.gap-3 { gap: 18px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

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

@media (max-width: 1180px) {
  .stats-grid,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .plan-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }
  .main {
    margin-left: 0;
  }
  .menu-btn {
    display: inline-flex;
  }
  .content {
    padding: 20px 18px 40px;
  }
  .topbar {
    padding: 0 18px;
  }
  .plan-summary {
    grid-template-columns: 1fr auto;
  }
  .plan-summary-progress {
    grid-column: 1 / -1;
  }
  .plan-tools-forms {
    grid-template-columns: 1fr;
  }
  .plan-board-scroll {
    --plan-col: 176px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-brand {
    display: none;
  }
  .login-panel {
    min-height: 100vh;
  }
}

@media (max-width: 720px) {
  .stats-grid,
  .quick-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .page-title {
    font-size: 20px;
  }
  .topbar-date {
    display: none;
  }
  .desc-list {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .calendar-day {
    min-height: 96px;
    padding: 5px;
  }
  .calendar-head div {
    padding: 7px 4px;
    font-size: 10.5px;
  }
  .session-chip {
    font-size: 10px;
    padding: 4px 5px;
  }
  .plan-summary {
    grid-template-columns: 1fr;
  }
  .plan-summary-actions {
    justify-content: flex-start;
  }
  .plan-tools-grid {
    grid-template-columns: 1fr;
  }
  .plan-board-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .plan-board-scroll {
    --plan-col: 160px;
    max-height: calc(100vh - var(--topbar-h) - 220px);
    max-height: calc(100dvh - var(--topbar-h) - 220px);
  }
}

@media print {
  .sidebar,
  .topbar,
  .page-actions,
  .toolbar,
  .pagination,
  .messages,
  .plan-summary,
  .plan-tools,
  .plan-board-toolbar,
  .plan-task-grip,
  .plan-task-actions,
  .plan-toast-region {
    display: none !important;
  }
  .main {
    margin-left: 0;
  }
  .content {
    padding: 0;
  }
  .card {
    box-shadow: none;
    border-color: #ddd;
  }
  .plan-board-scroll {
    max-height: none;
    overflow: visible;
  }
  .plan-board {
    min-width: 0;
  }
  .plan-task-panel,
  .plan-course-panel,
  .plan-day-form {
    display: none !important;
  }
}
