:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2f5b9e;
  --primary-dark: #25497f;
  --danger: #dc2626;
  --green: #16a34a;
  --sidebar: #1e293b;
  --sidebar-text: #cbd5e1;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- 布局 ---------------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--sidebar); color: var(--sidebar-text);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; gap: 10px; align-items: center; padding: 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); color: inherit; text-decoration: none; cursor: pointer; transition: background .15s; }
.brand:hover { text-decoration: none; background: rgba(255,255,255,.06); }
.brand-logo { font-size: 26px; }
.brand-name { color: #fff; font-weight: 700; font-size: 14px; line-height: 1.35; word-break: break-all; }
.brand-sub { font-size: 12px; opacity: .6; }
.brand-text { text-align: center; }

.nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav-item {
  color: var(--sidebar-text); padding: 9px 12px; border-radius: 8px;
  font-size: 14px; display: block;
}
.nav-item:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #fff; }
.nav-item.active { background: var(--primary); color: #fff; }
.nav-sep { margin: 14px 12px 6px; font-size: 11px; text-transform: uppercase; opacity: .45; letter-spacing: .5px; }

.sidebar-foot { padding: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.user-chip { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.user-name { color: #fff; font-weight: 600; }
.user-role { font-size: 12px; opacity: .6; }

/* 顶栏右上角用户信息入口（浅色背景） */
.topbar-user { display: flex; gap: 10px; align-items: center; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-family: inherit; }
.topbar-user:hover { background: #f3f4f6; text-decoration: none; }
.topbar-user .avatar { width: 30px; height: 30px; font-size: 14px; }
.topbar-user .user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.topbar-user .user-name { color: var(--text); font-size: 13px; }
.topbar-user .user-role { color: var(--muted); }
.topbar-user .caret { font-size: 16px; color: var(--text); margin-left: 2px; line-height: 1; }

/* 顶栏铃铛提醒 */
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); color: var(--text); font-size: 16px; background: #fff; }
.bell:hover { background: #f3f4f6; text-decoration: none; }
.bell-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* 顶栏用户下拉菜单 */
.user-menu { position: relative; }
.user-menu-drop { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 30; overflow: hidden; }
.user-menu-drop.open { display: block; }
.user-menu-drop a { display: block; padding: 11px 16px; font-size: 14px; color: var(--text); }
.user-menu-drop a:hover { background: #f9fafb; text-decoration: none; }
.user-menu-drop a.danger { color: var(--danger); }
.foot-links { display: flex; gap: 12px; }
.logout { font-size: 13px; color: var(--sidebar-text); opacity: .75; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.page-title { margin: 0; font-size: 20px; font-weight: 700; }
.topbar-right { display: flex; gap: 8px; align-items: center; }
.content { padding: 24px 28px; max-width: 1200px; width: 100%; }

/* ---------------- 提示 ---------------- */
.flashes { padding: 0 28px; }
.flash { padding: 10px 14px; border-radius: 8px; margin-top: 12px; font-size: 14px; }
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--text); cursor: pointer; font-size: 14px;
  transition: all .15s;
}
.btn:hover { background: #f3f4f6; text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(22, 163, 74, .28); }
.btn-accent:hover { background: #128a3d; border-color: #128a3d; box-shadow: 0 6px 16px rgba(22, 163, 74, .36); transform: translateY(-1px); }
.btn-ghost { background: transparent; }
.btn-danger { color: var(--danger); border-color: #fecaca; }
.btn-danger:hover { background: #fef2f2; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.inline { display: inline; }

/* ---------------- 输入 ---------------- */
.input {
  width: 100%; padding: 8px 11px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff;
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,91,158,.12); }
textarea.input { resize: vertical; }
.delete-form { display: inline-flex; gap: 6px; align-items: center; }
.delete-password { width: 150px; padding: 7px 11px; }

/* 商机列表删除确认弹窗 */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal { background: #fff; border-radius: 14px; padding: 24px; width: 400px; max-width: calc(100vw - 32px); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.modal-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.modal-desc { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.modal .input { margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
label { display: block; font-size: 13px; font-weight: 500; color: #374151; }
label > input, label > select, label > textarea { display: block; width: 100%; margin-top: 5px; }
.req { color: var(--danger); }

/* ---------------- 卡片/面板 ---------------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.panel-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-desc { color: var(--muted); margin: -4px 0 16px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.empty { text-align: center; color: var(--muted); padding: 24px; }

/* ---------------- 统计卡片 ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.stat-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.stat-value { font-size: 26px; font-weight: 700; }
.stat-card.accent .stat-value { color: var(--primary); }
.stat-card.accent-green .stat-value { color: var(--green); }

/* ---------------- 阶段条形图 ---------------- */
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bar-label { width: 64px; flex-shrink: 0; font-size: 13px; }
.bar-track { flex: 1; height: 14px; background: #f3f4f6; border-radius: 7px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 7px; }
.bar-value { width: 130px; flex-shrink: 0; text-align: right; font-size: 12px; color: var(--muted); }

/* ---------------- 徽章 ---------------- */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-lg { font-size: 14px; padding: 4px 14px; }
.badge-gray { background: #f3f4f6; color: #4b5563; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-purple { background: #ede9fe; color: #6d28d9; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-slate { background: #e2e8f0; color: #475569; }
.bar-fill.badge-gray { background: #cbd5e1; }
.bar-fill.badge-blue { background: #93c5fd; }
.bar-fill.badge-purple { background: #c4b5fd; }
.bar-fill.badge-orange { background: #fdba74; }
.bar-fill.badge-green { background: #86efac; }
.bar-fill.badge-red { background: #fca5a5; }
.bar-fill.badge-slate { background: #cbd5e1; }

/* ---------------- 待跟进 ---------------- */
.stale-list { list-style: none; margin: 0; padding: 0; }
.stale-item { border-bottom: 1px solid var(--border); }
.stale-item:last-child { border-bottom: none; }
.stale-link { display: block; padding: 12px 4px; border-radius: 6px; }
.stale-link:hover { background: #f9fafb; text-decoration: none; }
.stale-main { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.stale-name { font-weight: 600; color: var(--text); }
.stale-meta { font-size: 13px; color: var(--muted); }
.danger { color: var(--danger); }

/* ---------------- 表格 ---------------- */
.filter-wrap { margin-bottom: 16px; }
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-bar .input { width: auto; min-width: 160px; }
.filter-count { color: var(--muted); font-size: 13px; margin-left: auto; }
.advanced-filters {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-top: 10px; padding: 12px; background: #f9fafb;
  border: 1px solid var(--border); border-radius: 8px;
}
.advanced-filters .input { width: auto; min-width: 120px; }
.amount-input { max-width: 120px; }
.date-input { max-width: 150px; }

.sort-link { color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.sort-link:hover { color: var(--primary); text-decoration: none; }
.sort-link.is-active { color: var(--primary); font-weight: 700; }
.sort-arrow { font-size: 10px; }
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.table th { background: #f9fafb; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; }
.table tbody tr:hover { background: #f9fafb; }
.table tr:last-child td { border-bottom: none; }
.muted { color: var(--muted); }
.money { font-variant-numeric: tabular-nums; font-weight: 600; }
.cell-title { font-weight: 600; }
.cell-sub { font-size: 12px; color: var(--muted); }
.td-actions { white-space: nowrap; }
.icon-btn { font-size: 15px; background: none; border: none; cursor: pointer; padding: 0; }
.icon-btn + .icon-btn { margin-left: 8px; }
.edit-row td { background: #cfe0f3; box-shadow: inset 3px 0 0 var(--primary); padding: 14px 16px; }
.edit-user-form { margin: 0; background: #fff; border: 1px solid #c6d9ef; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(21,50,90,.08); }
.edit-user-form + .edit-user-form { margin-top: 12px; }
.edit-user-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--primary); background: linear-gradient(180deg, #eaf2fb 0%, #dbe9f7 100%); border-bottom: 1px solid #cfe0f2; padding: 9px 14px; }
.edit-user-title::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--primary); flex-shrink: 0; }
.edit-user-fields { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; padding: 14px 16px; }
.edit-user-fields label { min-width: 150px; }
.edit-user-fields .input { width: 100%; }
.edit-user-actions { display: flex; gap: 8px; }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.page-info { color: var(--muted); }

/* ---------------- 表单 ---------------- */
.form-card { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.form-grid .span-2 { grid-column: span 2; }
.form-actions { display: flex; gap: 10px; }
.form-actions-end { justify-content: flex-end; padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--border); }

/* 商机录入 / 编辑表单分区 */
.form-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.form-panel-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: #eef2f9; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.form-panel-head .panel-title { margin: 0; }
.form-panel-head .panel-desc { margin: 2px 0 0; }
.form-section { margin-top: 22px; }
.form-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--text); margin: 0 0 14px;
}
.form-section-title::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: var(--primary); flex-shrink: 0; }

/* ---------------- 详情 ---------------- */
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.detail-name { margin: 0; font-size: 20px; }
.detail-customer { color: var(--muted); margin-top: 4px; }
.detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-item span { font-size: 12px; color: var(--muted); }
.note-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 13px; }
.detail-badges { display: flex; gap: 8px; margin-bottom: 8px; }
.feedback-content { white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.7; color: var(--text); }
.feedback-images { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.feedback-img { max-width: 220px; max-height: 220px; object-fit: cover; border: 1px solid var(--border); border-radius: 8px; }
.feedback-status-form { display: flex; gap: 10px; align-items: center; }
.feedback-status-form .input { max-width: 220px; }
.field-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.stage-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stage-label { font-size: 13px; color: var(--muted); }
.stage-btn { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.stage-btn:hover { border-color: var(--primary); color: var(--primary); }
.stage-btn.stage-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.followup-form { display: flex; flex-direction: column; gap: 10px; }

/* ---------------- 时间线 ---------------- */
.timeline { padding-left: 6px; }
.tl-item { position: relative; padding-left: 24px; padding-bottom: 18px; border-left: 2px solid var(--border); }
.tl-item:last-child { border-left: 2px solid transparent; padding-bottom: 0; }
.tl-dot { position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.tl-head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.tl-user { font-weight: 600; }
.tl-time { color: var(--muted); font-size: 12px; }
.tl-content { margin-bottom: 4px; }
.tl-next { font-size: 13px; color: var(--muted); background: #f3f4f6; border-radius: 6px; padding: 6px 10px; }

/* ---------------- 回访记录 ---------------- */
.visit-form .form-actions { margin-top: 16px; }
.visit-stage { margin-bottom: 18px; }
.visit-stage:last-child { margin-bottom: 0; }
.visit-stage-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.visit-stage-count { font-size: 13px; color: var(--muted); }
.visit-list { display: flex; flex-direction: column; gap: 10px; }
.visit-card { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: #fbfcfe; }
.visit-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.visit-person { font-weight: 700; font-size: 14px; }
.visit-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.visit-by { color: var(--muted); }
.visit-remark { font-size: 13px; color: #374151; background: #f3f4f6; border-radius: 6px; padding: 8px 10px; }

/* ---------------- 文档列表 ---------------- */
.doc-list { margin: 0; padding-left: 20px; color: #374151; }
.doc-list li { margin-bottom: 6px; }
.doc-list code { background: #f3f4f6; padding: 1px 6px; border-radius: 4px; font-size: 13px; }

/* ---------------- 登录 ---------------- */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(1000px 520px at 12% -8%, rgba(47, 91, 158, .28), transparent 60%),
    radial-gradient(820px 460px at 108% 108%, rgba(47, 91, 158, .22), transparent 60%),
    linear-gradient(135deg, #dce5f2 0%, #c6d4ea 100%);
}

.login-card {
  display: flex;
  width: 940px; max-width: 100%; min-height: 580px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(30, 41, 59, .20), 0 6px 18px rgba(30, 41, 59, .08);
  overflow: hidden;
}

/* 左侧图片区 */
.login-side { position: relative; flex: 0 0 46%; overflow: hidden; background: #dbe5f1; }
.login-side-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.login-side-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .04) 0%, rgba(15, 23, 42, .18) 45%, rgba(15, 23, 42, .66) 100%); }
.login-side-brand { position: absolute; left: 34px; right: 34px; bottom: 34px; color: #F5A623; z-index: 1; }
.login-side-logo {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.login-side-title { margin: 0; font-size: 24px; line-height: 1.45; font-weight: 700; letter-spacing: 1px; }
.login-side-sub { margin: 12px 0 0; font-size: 13px; opacity: .82; }

/* 右侧表单区 */
.login-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 44px; }
.login-form-wrap { width: 100%; max-width: 336px; }
.login-head { margin-bottom: 26px; }
.login-title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.login-sub { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-form label { font-size: 13px; }
.login-form .input { padding: 12px 14px; font-size: 15px; border-radius: 10px; background: #f8fafc; border-color: #e2e8f0; }
.login-form .input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 91, 158, .12); }
.login-form .flash { text-align: left; margin: 0; }
.btn-login { padding: 12px; font-size: 15px; border-radius: 10px; margin-top: 6px; box-shadow: 0 8px 18px rgba(47, 91, 158, .28); }
.btn-login:hover { box-shadow: 0 10px 22px rgba(47, 91, 158, .34); transform: translateY(-1px); }
.login-foot { margin: 26px 0 0; text-align: center; font-size: 12px; color: var(--muted); }

@media (max-width: 760px) {
  .login-side { display: none; }
  .login-main { padding: 40px 28px; }
}

/* ---------------- 销售漏斗 ---------------- */
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel-row { display: flex; align-items: center; gap: 12px; }
.funnel-label { width: 76px; flex-shrink: 0; text-align: right; font-size: 13px; color: var(--muted); }
.funnel-track { flex: 1; }
.funnel-bar {
  height: 34px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.12);
  transition: width .35s ease;
}
.funnel-count {
  width: 48px; flex-shrink: 0; text-align: right; font-weight: 700;
  color: var(--text); font-variant-numeric: tabular-nums;
}

/* ---------------- 图表 ---------------- */
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chart { overflow-x: auto; }
.chart svg { display: block; max-width: 100%; height: auto; }

/* ---------------- 导入 ---------------- */
.import-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.file-input { max-width: 360px; }
.import-summary { display: grid; grid-template-columns: repeat(2, 200px); gap: 16px; margin-bottom: 16px; }
.stat-card.accent-red .stat-value { color: var(--danger); }

@media (max-width: 900px) {
  .panel-grid, .detail-grid, .chart-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .sidebar { width: 64px; }
  .brand div:last-child, .nav-item, .user-meta, .logout { display: none; }
  .brand { justify-content: center; }
}
