/* ===== 全局重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4F8DF7;
  --primary-dark: #2F6FE0;
  --primary-light: #E8F1FE;
  --success: #52C41A;
  --warning: #FAAD14;
  --danger: #FF4D4F;
  --info: #36CFC9;
  --text: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --bg: #F3F4F6;
  --bg-white: #FFFFFF;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  --sidebar-w: 240px;
  --sidebar-collapsed-w: 64px;
  --header-h: 60px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

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

/* ===== 布局 ===== */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(180deg, #1E2A3A 0%, #2C3E50 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.3s, width 0.25s ease;
}

.sidebar-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-header h2 { font-size: 18px; font-weight: 600; }
.sidebar-header p { font-size: 12px; opacity: 0.6; margin-top: 4px; }

.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.sidebar-nav .nav-section { margin-bottom: 8px; }
.sidebar-nav .nav-section-title {
  font-size: 11px; color: rgba(255,255,255,0.4); padding: 8px 20px 4px;
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-nav .nav-section-title .section-icon { font-size: 14px; width: 20px; text-align: center; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: rgba(255,255,255,0.7); font-size: 14px;
  transition: all 0.2s; border-left: 3px solid transparent;
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-nav a.active { background: rgba(79,141,247,0.2); color: #fff; border-left-color: var(--primary); }
.sidebar-nav a .icon { font-size: 16px; width: 20px; text-align: center; }

.sidebar-footer {
  padding: 14px 18px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-footer .sf-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.sidebar-footer .sf-info { min-width: 0; line-height: 1.35; }
.sidebar-footer .sf-name { font-size: 13px; font-weight: 600; color: #fff; opacity: 0.96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-footer .sf-dept { font-size: 11px; color: #fff; opacity: 0.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-area {
  flex: 1; margin-left: var(--sidebar-w);
  display: flex; flex-direction: column; min-height: 100vh;
  transition: margin-left 0.25s ease;
}

.topbar {
  height: var(--header-h); background: var(--bg-white);
  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: 16px; }
.topbar-left h1 { font-size: 18px; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 16px; }

/* 侧边栏可收缩（收起后仅显示图标） */
.app-layout.collapsed .sidebar { width: var(--sidebar-collapsed-w); }
.app-layout.collapsed .main-area { margin-left: var(--sidebar-collapsed-w); }
.app-layout.collapsed .sidebar-header { padding: 16px 0; }
.app-layout.collapsed .sidebar-header h2,
.app-layout.collapsed .sidebar-header p { display: none; }
.app-layout.collapsed .sidebar-header::before { content: "🏢"; font-size: 22px; line-height: 1; }
.app-layout.collapsed .sidebar-nav a { justify-content: center; padding: 12px 0; position: relative; }
.app-layout.collapsed .sidebar-nav a .label { display: none; }
.app-layout.collapsed .sidebar-nav .nav-section-title { display: none; }
.app-layout.collapsed .sidebar-nav a .notif-badge { position: absolute; top: 4px; right: 12px; margin-left: 0; }
.app-layout.collapsed .sidebar-footer { display: none; }

.content { flex: 1; padding: 24px; }

/* ===== 公共首页（未登录） ===== */
.public-page { min-height: 100vh; }
.public-header {
  height: 64px; background: var(--bg-white); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; padding: 0 32px;
}
.public-header .logo { font-size: 20px; font-weight: 700; color: var(--primary); }
.public-header .logo span { color: var(--text); }
.public-header .actions { display: flex; gap: 12px; }
.public-hero {
  background: linear-gradient(135deg, #4F8DF7 0%, #36CFC9 100%);
  color: #fff; padding: 60px 32px; text-align: center;
}
.public-hero h1 { font-size: 32px; margin-bottom: 12px; }
.public-hero p { font-size: 16px; opacity: 0.9; }
.public-content { max-width: 1100px; margin: 0 auto; padding: 32px; }

/* ===== 组件 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 18px; border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s;
  white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: 0.9; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-warning:hover { opacity: 0.9; }
.btn-default { background: var(--bg-white); color: var(--text); border: 1px solid var(--border); }
.btn-default:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn-lg { padding: 12px 32px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.card {
  background: var(--bg-white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px;
}
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: var(--text); }
.form-group label .req { color: var(--danger); }
.form-control {
  width: 100%; padding: 8px 12px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  transition: border-color 0.2s; background: var(--bg-white); color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }

.badge {
  display: inline-block; padding: 2px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 500;
}
.badge-pending { background: #FFF7E6; color: #D48806; }
.badge-approved { background: #E6FFFB; color: #08979C; }
.badge-rejected { background: #FFF1F0; color: #CF1322; }
.badge-completed { background: #F0F5FF; color: #2F54EB; }
.badge-info { background: var(--primary-light); color: var(--primary-dark); }
.badge-success { background: #F0FFE6; color: #389E0D; }
.badge-expired { background: #FFF7E6; color: #D46B08; font-weight: 600; }

/* 过期会议行高亮 */
.row-expired { background: #FFFBE6 !important; }
.row-expired:hover { background: #FFF1B8 !important; }

/* 过期步骤条 */
.step.expired { background: #FFF7E6; color: #D46B08; box-shadow: inset 0 0 0 1px #FFD591; }
.step.expired .dot { background: #FA8C16; }
.stepper-expired-banner { background: linear-gradient(135deg, #FFF7E6, #FFE7BA); border: 1px solid #FFD591; border-radius: 10px; padding: 10px 16px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: #AD6800; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--bg); font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.table tbody tr:hover { background: var(--primary-light); }
.table .actions-cell { white-space: nowrap; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.modal {
  background: var(--bg-white); border-radius: var(--radius-lg);
  width: 90%; max-width: 520px; max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

/* Toast */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 20px; border-radius: var(--radius); box-shadow: var(--shadow-md);
  font-size: 14px; color: #fff; animation: slideIn 0.3s ease; min-width: 200px;
}
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--primary); }
.toast-warning { background: var(--warning); }
@keyframes slideIn { from { transform: translateX(120%); } to { transform: translateX(0); } }

/* 统计卡片 */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 0; }
.stat-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px;
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--ac, var(--primary)); border-radius: 4px 0 0 4px;
}
.stat-card .stat-icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 24px; flex: 0 0 auto;
  background: var(--ac-light, var(--primary-light)) !important;
  color: var(--ac, var(--primary)) !important;
}
.stat-card .stat-value { font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: 0.5px; font-variant-numeric: tabular-nums; }
.stat-card .stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

/* 会议室卡片 */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.room-card {
  background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer; border: 2px solid transparent;
}
.room-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--primary); }
.room-card img { width: 100%; height: 200px; object-fit: cover; }
.room-card-body { padding: 16px; }
.room-card-body h3 { font-size: 16px; margin-bottom: 8px; }
.room-card-body .room-meta { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.room-card-body .room-services { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.room-card-body .room-services span {
  background: var(--primary-light); color: var(--primary-dark);
  padding: 2px 8px; border-radius: 10px; font-size: 12px;
}

/* 时间线 */
.timeline { list-style: none; padding-left: 0; }
.timeline-item { position: relative; padding-left: 24px; padding-bottom: 20px; border-left: 2px solid var(--border); }
.timeline-item:last-child { border-left: none; }
.timeline-item::before {
  content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--primary);
}
.timeline-item .timeline-time { font-size: 12px; color: var(--text-light); }
.timeline-item .timeline-content { font-size: 14px; margin-top: 4px; }

/* 用车流程步进条（派车看板紧凑版：提交申请→审核→分配→出车→归还→完成） */
.car-step { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.cs-dots { display: flex; align-items: center; }
.cs-dot { width: 12px; height: 12px; border-radius: 50%; background: #d9dee6; flex: 0 0 auto; }
.cs-dot + .cs-dot { margin-left: 16px; position: relative; }
.cs-dot + .cs-dot::before { content: ''; position: absolute; right: 12px; top: 5px; width: 16px; height: 2px; background: #d9dee6; }
.cs-dot.done { background: #389E0D; }
.cs-dot.cur { background: #4F8DF7; box-shadow: 0 0 0 3px rgba(79,141,247,0.18); }
.cs-dot.rej { background: #CF1322; }
.cs-dot.exp { background: #FA8C16; box-shadow: 0 0 0 3px rgba(250,140,22,0.18); }
.cs-dot.done + .cs-dot::before, .cs-dot.cur + .cs-dot::before { background: #389E0D; }
.cs-labs { display: flex; }
.cs-lab { font-size: 11px; color: #999; flex: 1; text-align: center; }
.cs-lab:first-child { text-align: left; }
.cs-lab:last-child { text-align: right; }
.cs-lab.done { color: #389E0D; }
.cs-lab.cur { color: #4F8DF7; font-weight: 600; }
.cs-lab.rej { color: #CF1322; }
.cs-lab.exp { color: #D46B08; font-weight: 600; }

/* 标签页 */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab {
  padding: 8px 20px; cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; font-size: 14px; color: var(--text-secondary); transition: all 0.2s;
}
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab:hover { color: var(--primary); }

/* 空状态 */
.empty-state { text-align: center; padding: 40px; color: var(--text-light); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

/* 日历风格 */
.day-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.day-column {
  background: var(--bg-white); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow);
}
.day-column .day-header {
  font-weight: 600; font-size: 15px; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--primary);
  display: flex; justify-content: space-between; align-items: center;
}
.day-column .day-header.today { color: var(--primary); }
.day-column .meeting-item {
  padding: 8px 12px; margin-bottom: 8px; border-radius: var(--radius-sm);
  background: var(--primary-light); font-size: 13px; border-left: 3px solid var(--primary);
}
.day-column .meeting-item .meeting-time { font-weight: 600; color: var(--primary-dark); }
.day-column .meeting-item .meeting-room { color: var(--text-secondary); }
.day-column .day-more { font-size: 12px; color: var(--text-muted); padding: 4px 12px; }
.day-column .login-mask { text-align: center; padding: 20px 12px; color: var(--text-secondary); }
.day-column .login-mask-icon { font-size: 28px; margin-bottom: 6px; }
.day-column .login-mask p { font-size: 13px; margin-bottom: 10px; }

/* ===== 大屏页面（仅近三天会议，适合投屏/电视墙） ===== */
.bigscreen {
  min-height: 100vh; color: #fff;
  background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
  display: flex; flex-direction: column;
}
.bigscreen-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 40px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.bs-title { font-size: 30px; font-weight: 700; letter-spacing: 1px; }
.bs-clock { font-size: 26px; font-variant-numeric: tabular-nums; opacity: 0.92; }
.bs-back { color: rgba(255,255,255,0.7); font-size: 16px; text-decoration: none; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; }
.bs-back:hover { color: #fff; border-color: #fff; }
.bigscreen-body { flex: 1; padding: 28px 40px; overflow: auto; }
.bigscreen .day-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.bigscreen .day-column { background: rgba(255,255,255,0.08); box-shadow: none; border: 1px solid rgba(255,255,255,0.12); }
.bigscreen .day-column .day-header {
  background: rgba(255,255,255,0.12); border-bottom: none; color: #fff; border-radius: 10px 10px 0 0;
  font-size: 24px; font-weight: 700; padding: 14px 18px; margin-bottom: 0;
}
.bigscreen .day-column .day-header.today { color: #FFF566; }
.bigscreen .day-column .day-header .badge-info { background: #FFF566; color: #614700; }
.bigscreen .day-column .meeting-item {
  background: rgba(255,255,255,0.14); border-left: 4px solid #69C0FF; color: #fff;
  font-size: 17px; padding: 14px 18px; margin: 12px;
}
.bigscreen .day-column .meeting-item .meeting-time { font-size: 22px; font-weight: 700; color: #FFF566; }
.bigscreen .day-column .meeting-item .meeting-room { font-size: 20px; color: #fff; margin: 6px 0; }
.bigscreen .day-column .meeting-item .text-muted { color: rgba(255,255,255,0.65) !important; font-size: 16px; }
.bigscreen .day-column .day-more { color: rgba(255,255,255,0.6); font-size: 16px; text-align: center; padding: 8px; }
.bigscreen .empty-state { color: rgba(255,255,255,0.5); padding: 48px; font-size: 18px; }
.bigscreen .empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
.bigscreen .empty-state p { color: rgba(255,255,255,0.5); font-size: 18px; }
/* 合并大屏：会议 + 公车 同屏双栏 */
.bs-panels { display: flex; gap: 28px; align-items: flex-start; }
.bs-panel { flex: 1; min-width: 0; }
.bs-panel-title { font-size: 22px; font-weight: 700; color: #FFF566; margin: 4px 0 16px; letter-spacing: 0.5px; }
@media (max-width: 1100px) {
  .bigscreen .day-columns { grid-template-columns: 1fr; }
  .bs-panels { flex-direction: column; }
}

/* 评价星星 */
.star-rating { display: inline-flex; gap: 4px; }
.star-rating .star { font-size: 24px; cursor: pointer; color: #D9D9D9; transition: color 0.2s, transform 0.1s; }
.star-rating .star.active { color: #FAAD14; }
.star-rating .star:hover { color: #FFD666; transform: scale(1.12); }
.star-rating .star.preview { color: #FFD666; }
.star-rating.lg .star { font-size: 30px; line-height: 1; }

/* ===== 评价卡片（美化） ===== */
.eval-banner { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), #fff); margin-bottom: 16px; }
.eval-banner-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; }
.eval-banner-title { font-size: 17px; font-weight: 600; color: var(--text); }
.eval-banner-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.eval-meeting { background: var(--bg); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.eval-meta { display: flex; font-size: 13px; line-height: 1.9; }
.eval-meta-k { flex: 0 0 56px; color: var(--text-light); }
.eval-meta-v { color: var(--text); flex: 1; }

.eval-rating-block { margin-bottom: 18px; }
.eval-rating-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.eval-rating-name { flex: 0 0 84px; font-size: 14px; font-weight: 500; color: var(--text); }
.eval-rating-val { font-size: 13px; color: var(--warning); font-weight: 600; min-width: 48px; }

.eval-comment label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.eval-comment .form-control { min-height: 88px; resize: vertical; }

.eval-display-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.eval-display-k { flex: 0 0 84px; font-size: 14px; color: var(--text-secondary); }
.eval-comment-box { margin-top: 8px; padding: 10px 12px; background: var(--bg); border-radius: 8px; }
.eval-comment-box p { margin-top: 4px; color: var(--text); }
.eval-time { margin-top: 8px; font-size: 12px; }

/* 评分概览卡片 */
.eval-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eval-stat { align-items: flex-start; }
.eval-stat-body { display: flex; flex-direction: column; }
.eval-stat-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 2px; }
.eval-stat .stat-value { font-size: 32px; line-height: 1.1; }
.eval-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.eval-diff { font-size: 12px; font-weight: 600; margin-top: 6px; }
.eval-diff.up { color: var(--success); }
.eval-diff.down { color: var(--danger); }
.eval-diff.flat { color: var(--text-light); }
@media (max-width: 640px) { .eval-grid { grid-template-columns: 1fr; } }

/* 通知红点 */
.notif-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; border-radius: 9px; background: var(--danger);
  color: #fff; font-size: 11px; padding: 0 5px; margin-left: 4px;
}

/* 响应式 */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .app-layout.collapsed .sidebar { width: var(--sidebar-w); }
  .app-layout.collapsed .main-area { margin-left: 0; }
  .day-columns { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .room-grid { grid-template-columns: 1fr; }
}

/* 工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-secondary); }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; } .gap-16 { gap: 16px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ===== 预约单字段配置 / 仪表盘快捷预约 ===== */
.badge-warn { background: #FFF1F0; color: #CF1322; }
.form-opt-row { transition: background .15s; }
.form-opt-row:hover { background: #f3f6fb; }

.quick-book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quick-book-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 20px; border-radius: 14px; text-decoration: none;
  border: 1px solid var(--border); background: var(--bg-soft);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.quick-book-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.10); text-decoration: none; }
.quick-book-card .qb-icon { font-size: 44px; line-height: 1; margin-bottom: 10px; }
.quick-book-card .qb-title { font-size: 18px; font-weight: 700; color: var(--text); }
.quick-book-card .qb-sub { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.quick-book-card.meeting { background: linear-gradient(135deg, #E6F0FF, #F0F5FF); border-color: #BFD4FF; }
.quick-book-card.car { background: linear-gradient(135deg, #E6FFFB, #F0FFE6); border-color: #BFF0E0; }
.quick-book-card.meeting:hover { border-color: var(--primary); }
.quick-book-card.car:hover { border-color: #13C2C2; }

@media (max-width: 560px) {
  .quick-book-grid { grid-template-columns: 1fr; }
}

/* ===== 会议进度步骤条 ===== */
.stepper { display: flex; align-items: center; flex-wrap: wrap; gap: 0; padding: 6px 2px; }
.step { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 20px; font-size: 14px; background: var(--bg-soft); color: var(--text-secondary); white-space: nowrap; }
.step .dot { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #cfd6e4; color: #fff; font-size: 12px; }
.step .step-label { font-weight: 600; }
.step small { font-size: 11px; color: var(--text-light); margin-left: 2px; }
.step.done { background: #E6F7EC; color: #1A7F37; }
.step.done .dot { background: var(--success); }
.step.current { background: #E6F0FF; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.step.current .dot { background: var(--primary); }
.step.todo { opacity: .65; }
.step.rejected { background: #FFF1F0; color: #CF1322; }
.step.rejected .dot { background: var(--danger); }
.step-line { flex: 0 0 28px; height: 2px; background: var(--border); }
@media (max-width: 560px) { .stepper { gap: 4px; } .step { padding: 5px 8px; font-size: 12px; } .step-line { flex-basis: 14px; } }

/* ===== 会议室设备/布局 ===== */
.room-tags { font-size: 12px; color: var(--text-secondary); margin: 4px 0; }
.room-tags b { color: var(--text); font-weight: 600; }
.layout-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.layout-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.layout-row span { color: var(--text); }
.layout-row .form-control { width: 110px; margin: 0; }
@media (max-width: 560px) { .layout-editor { grid-template-columns: 1fr; } }

/* ===== 所需服务 智能多选 ===== */
.svc-chip {
  padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text); cursor: pointer; font-size: 14px;
  transition: all .15s;
}
.svc-chip:hover { border-color: var(--primary); }
.svc-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.svc-chip.disabled { opacity: .45; cursor: not-allowed; background: var(--bg-soft); color: var(--text-secondary); border-color: var(--border); }
.svc-chip.disabled:hover { border-color: var(--border); }
.svc-sub { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.svc-sub label { font-size: 13px; color: var(--text-secondary); min-width: 150px; }

/* ===== 仪表盘分区标题 ===== */
.dash-section { margin-bottom: 24px; }
.dash-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 14px;
}
.dash-section-title .dst-dot {
  width: 4px; height: 16px; border-radius: 2px;
  background: var(--dc, var(--primary));
}

/* ===== 角色门户（端）美化 ===== */
.portal-hero {
  display: flex; align-items: center; gap: 22px;
  border-radius: var(--radius-lg); padding: 30px 32px;
  color: #fff; box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.12);
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.portal-hero::after {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.10);
}
.portal-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.13) 1px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(125% 125% at 88% 12%, #000 0%, transparent 62%);
  mask-image: radial-gradient(125% 125% at 88% 12%, #000 0%, transparent 62%);
  opacity: .55;
}
.portal-hero-icon {
  width: 72px; height: 72px; border-radius: 20px; flex: 0 0 auto;
  background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center;
  font-size: 38px; backdrop-filter: blur(4px); position: relative; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25), 0 8px 20px rgba(0,0,0,0.18);
}
.portal-hero-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.portal-hero-pill {
  display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.22); margin-bottom: 8px; letter-spacing: .5px;
  backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.portal-hero-body h1 { font-size: 24px; font-weight: 700; line-height: 1.35; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.portal-hero-body p { font-size: 14px; opacity: 0.92; margin-top: 4px; text-shadow: 0 1px 1px rgba(0,0,0,0.1); }
.portal-hero-role {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.2); white-space: nowrap; position: relative; z-index: 1;
}

.portal-actions {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.portal-action {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.portal-action::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ac, var(--primary));
}
.portal-action:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; border-color: var(--ac, var(--primary)); }
.portal-action .pa-icon {
  font-size: 22px; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background: var(--ac-light, var(--primary-light));
  color: var(--ac, var(--primary));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}
.portal-action .pa-title { font-size: 15px; font-weight: 700; color: var(--text); margin-top: 4px; }
.portal-action .pa-sub { font-size: 12px; color: var(--text-secondary); }

/* 卡片与统计微调（更柔和圆角与悬浮） */
.card { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); transition: box-shadow .25s; }
.card:hover { box-shadow: var(--shadow-md); }
.stat-card { transition: transform .25s, box-shadow .25s; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== 移动端底部导航（APK 内使用） ===== */
.bottom-nav { display: none; }
@media (max-width: 820px) {
  .sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 82%; max-width: 330px; z-index: 300; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; box-shadow: 2px 0 16px rgba(0,0,0,.18); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 250; display: none; }
  .sidebar-overlay.show { display: block; }
  .main-area { margin-left: 0; }
  .content { padding: 16px; padding-bottom: 84px; }
  .portal-hero { padding: 20px; gap: 14px; }
  .portal-hero-icon { width: 56px; height: 56px; font-size: 30px; border-radius: 16px; }
  .portal-hero-body h1 { font-size: 20px; }
  .portal-hero-role { display: none; }
  .portal-actions { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .bottom-nav a {
    flex: 0 0 auto; min-width: 60px; padding: 8px 10px; text-align: center;
    color: var(--text-secondary); text-decoration: none; font-size: 11px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    border-top: 2px solid transparent;
  }
  .bottom-nav a .bn-icon { font-size: 20px; line-height: 1; }
  .bottom-nav a.active { color: var(--primary); border-top-color: var(--primary); }
  .bottom-nav a.active .bn-icon { filter: drop-shadow(0 0 2px rgba(79,141,247,.4)); }
}

/* ===== 移动端放大：更大字号与触摸区域（UI 做大、整理） ===== */
@media (max-width: 820px) {
  body { font-size: 15px; }
  .content { padding: 18px 16px 92px; }
  .card { padding: 18px; border-radius: 12px; }
  .card-title { font-size: 17px; margin-bottom: 14px; }
  .btn { min-height: 44px; padding: 12px 18px; font-size: 15px; }
  .btn-sm { min-height: 32px; padding: 6px 12px; font-size: 13px; }
  .form-control { min-height: 46px; font-size: 16px; padding: 10px 14px; }
  textarea.form-control { min-height: 96px; }
  .form-group label { font-size: 15px; margin-bottom: 8px; }
  .table th, .table td { padding: 12px 14px; font-size: 14px; }
  .tabs { overflow-x: auto; }
  .tab { padding: 12px 18px; font-size: 15px; }
  .stat-card { padding: 16px; }
  .stat-card .stat-value { font-size: 26px; }
  .modal { width: 94%; max-height: 90vh; }
  .modal-body { padding: 20px; overflow-y: auto; }
  .modal-header, .modal-footer { padding: 14px 20px; }
  .portal-hero-body h1 { font-size: 20px; }
  .portal-action { padding: 18px; }
  .portal-action .pa-title { font-size: 16px; }
  .quick-book-card { padding: 22px 16px; }
  .quick-book-card .qb-title { font-size: 17px; }
  .eval-banner { padding: 14px; }
  .eval-banner-title { font-size: 16px; }
  .day-column .meeting-item { font-size: 14px; padding: 10px 12px; }
}

/* 底部导航触摸区域放大（图标更大、点击区更高） */
@media (max-width: 820px) {
  .bottom-nav a { min-width: 66px; padding: 11px 8px; }
  .bottom-nav a .bn-icon { font-size: 24px; }
  .bottom-nav a .bn-label { font-size: 12px; margin-top: 3px; }
  .topbar { padding: 0 14px; }
  .topbar-left h1 { font-size: 16px; }
  .sidebar-nav a { padding: 14px 20px; font-size: 15px; min-height: 46px; }
  .topbar-username { display: none; }
  .switch-mobile-btn { font-size: 13px; padding: 6px 10px; }
  .topbar-left h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 44vw; }
  .topbar-left .btn[title="返回仪表盘"] { display: none; }
}

/* ===== 移动端整体适配增强（0.2.10：表格真正可横向滚动、顶栏导航/整体App化/表单详情） ===== */
@media (max-width: 820px) {
  /* 防止整页横向滚动（仅内部表格可滚动） */
  html, body { overflow-x: hidden; }

  /* 顶栏：标题过长省略、隐藏冗余用户名与重复的首页按钮，避免拥挤 */
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar-left { min-width: 0; flex: 1; overflow: hidden; }
  .topbar-left h1 { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .topbar-left a[title="返回仪表盘"] { display: none; }
  .topbar-right { gap: 12px; }
  .topbar-right .text-muted { display: none; }

  /* 内容区为底部导航留白，并避让 iPhone 安全区 */
  .content { padding: 16px 14px calc(84px + env(safe-area-inset-bottom, 0)); }

  /* 表格横向滚动 + 紧凑，避免手机上溢出错乱 */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  .table-responsive .table { display: table; min-width: 100%; }
  .table th, .table td { white-space: nowrap; padding: 10px 12px; font-size: 13px; }
  .table .actions-cell { white-space: nowrap; }
  /* 滚动提示：在可滚动区域右侧显示轻微阴影 */
  .table-responsive { position: relative; }
  .table-responsive::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 24px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(0,0,0,0.04));
    pointer-events: none; opacity: 0; transition: opacity .2s;
  }
  .table-responsive.can-scroll::after { opacity: 1; }

  /* 卡片更紧凑、圆角柔和，更像原生 App */
  .card { padding: 16px; border-radius: 12px; margin-bottom: 14px; }
  .card-title { font-size: 16px; margin-bottom: 12px; }

  /* 表单字段与按钮在手机上更大、更易点按 */
  .form-control { min-height: 46px; font-size: 16px; padding: 10px 14px; }
  .form-group label { font-size: 15px; margin-bottom: 8px; }
  .btn { min-height: 46px; padding: 12px 18px; font-size: 15px; }
  .btn-sm { min-height: 34px; }
  textarea.form-control { min-height: 96px; }

  /* 底部导航：安全区避让 + 更原生观感 */
  .bottom-nav { padding-bottom: env(safe-area-inset-bottom, 0); }
  .bottom-nav a { min-width: 56px; padding: 10px 6px; }
  .bottom-nav a .bn-icon { font-size: 22px; }
  .bottom-nav a .bn-label { font-size: 11px; margin-top: 3px; }
  .bottom-nav a.active { background: var(--primary-light); border-radius: 12px 12px 0 0; }

  /* 公开页 / 登录注册在手机上更紧凑 */
  .public-header { padding: 0 16px; }
  .public-hero { padding: 40px 20px; }
  .public-hero h1 { font-size: 24px; }
  .public-content { padding: 20px 16px; }

  /* 弹窗在手机上几乎满屏、更易操作 */
  .modal { width: 94%; max-height: 88vh; }
  .modal-body { padding: 20px; }
  .modal-header, .modal-footer { padding: 14px 18px; }
}

/* 超窄屏（≤380px）进一步收敛，避免顶栏换行 */
@media (max-width: 380px) {
  .topbar-right { gap: 8px; }
  .topbar-left h1 { font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr; }
  .portal-actions { grid-template-columns: 1fr; }
  .quick-book-grid { grid-template-columns: 1fr; }
}

/* ===== 下载移动端 App 页面 ===== */
.dl-wrap { max-width: 720px; margin: 0 auto; }
.dl-qr {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 16px;
}
.dl-qr-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.dl-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 28px 20px 24px;
}
.dl-hero-main { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.dl-logo { width: 64px; height: 64px; border-radius: 16px; background: #fff; padding: 6px; box-shadow: var(--shadow-md); }
.dl-hero-txt { text-align: left; }
.dl-name { font-size: 22px; font-weight: 700; }
.dl-sub { font-size: 13px; opacity: .9; margin-top: 4px; }
.dl-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .12s ease, box-shadow .12s ease;
}
.dl-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.dl-btn:active { transform: translateY(0); }
.dl-tip { font-size: 12px; opacity: .9; margin-top: 14px; line-height: 1.6; }
.dl-feat .card-title { margin-bottom: 10px; }
.dl-feat-list { list-style: none; padding: 0; margin: 0; }
.dl-feat-list li {
  font-size: 14px;
  color: var(--text);
  padding: 9px 0 9px 4px;
  border-bottom: 1px solid var(--border);
}
.dl-feat-list li:last-child { border-bottom: none; }
.dl-log { margin-top: 4px; }
.dl-log .card-title { font-size: 16px; }
@media (max-width: 480px) {
  .dl-name { font-size: 20px; }
  .dl-logo { width: 56px; height: 56px; }
  .dl-btn { width: 100%; box-sizing: border-box; }
}

/* 预约状态总览（一般会议 / 一般公车 按状态计数） */
.ov-section { padding: 14px 0; border-bottom: 1px solid var(--border); }
.ov-section:first-child { padding-top: 2px; }
.ov-section:last-child { border-bottom: none; padding-bottom: 2px; }
.ov-label { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.ov-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ov-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.ov-chip .ov-badge { display: inline-flex; align-items: center; }
.ov-count { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1; }
.ov-total { margin-left: auto; font-size: 13px; color: var(--text-muted); padding-left: 12px; }
.ov-total b { color: var(--text); font-size: 15px; }

/* ============================================================
 * 交互动画层（0.7.15）：页面进入/返回转场 + 数字滚动
 * 尊重系统「减少动态效果」偏好。
 * ============================================================ */
@keyframes pageInFwd {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageInBack {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
#pageContent.page-enter      { animation: pageInFwd  .5s ease both; }
#pageContent.page-enter-back { animation: pageInBack .5s ease both; }

@keyframes numPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.16); }
  100% { transform: scale(1); }
}
.num-pop { animation: numPop .6s ease both; display: inline-block; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  #pageContent.page-enter, #pageContent.page-enter-back, .num-pop { animation: none !important; }
}
@media (max-width: 480px) {
  .ov-total { margin-left: 0; padding-left: 0; width: 100%; }
}

/* ============================================================
   设计系统增强层 · 现代渐变 + 质感（v0.7.23）
   玻璃拟态 · 分层渐变 · 彩色图标徽标 · 柔和阴影 · 入场动画
   ============================================================ */
:root {
  --grad-brand: linear-gradient(135deg, #4f7bf7 0%, #2563eb 55%, #1d4ed8 100%);
  --grad-accent: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --grad-teal: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  --grad-green: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  --grad-orange: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  --grad-rose: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
  --glass: rgba(255,255,255,.72);
  --shadow-sm: 0 2px 6px rgba(30,41,59,.06), 0 1px 2px rgba(30,41,59,.04);
  --shadow-md: 0 8px 22px rgba(30,41,59,.09), 0 2px 6px rgba(30,41,59,.05);
  --shadow-lg: 0 18px 44px rgba(30,41,59,.14), 0 4px 12px rgba(30,41,59,.07);
  --hi: rgba(255,255,255,.7);
}

/* 背景极淡双色柔光 */
body {
  background:
    radial-gradient(900px 520px at 100% -8%, rgba(79,141,247,.06), transparent 60%),
    radial-gradient(700px 440px at -8% 0%, rgba(139,92,246,.05), transparent 55%),
    var(--bg);
}

/* 卡片：更柔的分层阴影 + 顶部高光描边 */
.card {
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-md);
  border: 1px solid rgba(226,232,240,.7);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(79,141,247,.4); }

/* 玻璃卡片 */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.5);
}

/* 彩色图标徽标 */
.ic-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto;
  font-size: 22px; color: #fff; box-shadow: var(--shadow-sm);
}
.ic-badge.sm { width: 36px; height: 36px; border-radius: 11px; font-size: 18px; }
.ic-badge.lg { width: 54px; height: 54px; border-radius: 15px; font-size: 26px; }
.ic-badge.brand { background: var(--grad-brand); }
.ic-badge.accent { background: var(--grad-accent); }
.ic-badge.teal { background: var(--grad-teal); }
.ic-badge.green { background: var(--grad-green); }
.ic-badge.orange { background: var(--grad-orange); }
.ic-badge.rose { background: var(--grad-rose); }
.ic-badge.blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }

/* 主按钮渐变 + 长投影 */
.btn-primary { background: var(--grad-brand); border-color: transparent; box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.btn-primary:hover { background: linear-gradient(135deg, #1d4ed8, #1e3a8a); box-shadow: 0 8px 22px rgba(37,99,235,.36); transform: translateY(-1px); }

/* Portal hero 加网格光斑纹理 */
.portal-hero {
  background: linear-gradient(125deg, #2563eb 0%, #1e47c9 55%, #1d4ed8 100%);
  box-shadow: var(--shadow-lg);
}
.portal-hero::before {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
  width: 200px; height: 200px; right: 60px; bottom: -60px;
}

/* 统计卡图标容器上色（默认灰底 → 渐变品牌） */
.stat-card .stat-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); color: var(--primary-dark); box-shadow: var(--shadow-sm); }

/* 状态徽标玻璃渐变 */
.badge { font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.badge-pending { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.badge-approved { background: var(--grad-teal); color: #fff; }
.badge-rejected { background: var(--grad-rose); color: #fff; }
.badge-completed { background: var(--grad-brand); color: #fff; }
.badge-success { background: var(--grad-green); color: #fff; }
.badge-expired { background: linear-gradient(135deg, #fb923c, #f97316); color: #fff; }
.badge-info { background: var(--grad-brand); color: #fff; }

/* 快捷预约卡立体化 */
.quick-book-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.quick-book-card .qb-icon { filter: drop-shadow(0 4px 8px rgba(30,41,59,.12)); }

/* 入场动画 */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.anim-rise { animation: riseIn .5s cubic-bezier(.22,1,.36,1) both; }
.anim-rise.d1 { animation-delay: .05s; }
.anim-rise.d2 { animation-delay: .11s; }
.anim-rise.d3 { animation-delay: .17s; }
.anim-rise.d4 { animation-delay: .23s; }
.anim-rise.d5 { animation-delay: .29s; }
.anim-rise.d6 { animation-delay: .35s; }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.anim-pop { animation: popIn .42s cubic-bezier(.34,1.56,.64,1) both; }
@media (prefers-reduced-motion: reduce) {
  .anim-rise, .anim-pop { animation: none !important; }
}

/* ===== 通用开关（CSS 驱动 :checked，点击即时滑动，无需刷新） ===== */
.mms-switch { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; flex-shrink: 0; }
.mms-switch input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.mms-switch .slider { position: absolute; inset: 0; background: #ccc; border-radius: 12px; transition: 0.3s; }
.mms-switch .slider::before { content: ''; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: 0.3s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.mms-switch input:checked + .slider { background: var(--success, #52C41A); }
.mms-switch input:checked + .slider::before { left: 22px; }

/* ===== 设备设施管理 — 可折叠会议室卡片 ===== */
.room-grid.fac-room-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
.fac-room-card {
  background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.2s;
}
.fac-room-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.fac-room-header {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  cursor: pointer; background: #FAFBFC; border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.fac-room-header:hover { background: #F0F5FF; border-bottom-color: var(--primary-light); }
.fac-room-toggle {
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--primary-light); color: var(--primary-dark);
  font-size: 12px; flex-shrink: 0;
}
.fac-room-info { flex: 1; min-width: 0; }
.fac-room-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.fac-room-meta { font-size: 12px; color: var(--text-secondary); }
.fac-room-badges { display: flex; gap: 6px; flex-shrink: 0; }
.fac-count {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 12px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.fac-count-eq { background: #E8F1FE; color: #2F6FE0; }
.fac-count-fu { background: #FFF2E8; color: #D46B08; }
.fac-room-actions { display: flex; gap: 6px; flex-shrink: 0; }
.fac-room-body { padding: 12px 16px 16px; }
.fac-room-body.collapsed { display: none; }
.fac-section { margin-bottom: 12px; }
.fac-section:last-child { margin-bottom: 0; }
.fac-section-title {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}
.fac-section-count { font-size: 12px; color: var(--text-secondary); font-weight: 400; }
.fac-section-body { display: flex; flex-direction: column; gap: 8px; }
.fac-empty { font-size: 13px; color: var(--text-secondary); padding: 8px 0; }
.fac-item {
  background: #FAFBFC; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; transition: all 0.2s;
}
.fac-item:hover { background: #fff; border-color: var(--primary-light); box-shadow: var(--shadow); }
.fac-item-main { display: flex; align-items: center; gap: 10px; }
.fac-item-icon { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }
.fac-item-body { flex: 1; min-width: 0; }
.fac-item-title { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }
.fac-qty { font-size: 12px; color: var(--text-secondary); font-weight: 400; margin-left: 4px; }
.fac-item-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fac-item-status { flex-shrink: 0; font-size: 12px; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
.fac-status-normal { color: #389E0D; background: #F0FFE6; border: 1px solid #B7EB8F; }
.fac-status-maintenance { color: #D48806; background: #FFF7E6; border: 1px solid #FFD591; }
.fac-status-disabled { color: var(--text-secondary); background: #F5F5F5; border: 1px solid #D9D9D9; }
.fac-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
.fac-item-actions .btn { padding: 2px 6px; font-size: 12px; min-height: 26px; }
@media (max-width: 768px) {
  .fac-room-header { flex-wrap: wrap; }
  .fac-room-actions { width: 100%; justify-content: flex-end; margin-top: 8px; }
}

/* ===== v0.10.8 主题刷新：与移动端统一设计语言 ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #e9f0fe;
  --bg: #f2f4f8;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 5px 16px rgba(15,23,42,.06);
  --shadow-md: 0 6px 20px rgba(15,23,42,.10);
}
body { background: var(--bg); }

/* 侧边栏：品牌深蓝 + 圆角导航项 */
.sidebar { background: linear-gradient(180deg, #16224a 0%, #1e2f5e 100%); }
.sidebar-nav a {
  margin: 2px 10px; padding: 9px 12px; border-radius: 10px;
  border-left: none; color: rgba(255,255,255,.72);
}
.sidebar-nav a:hover { background: rgba(255,255,255,.09); }
.sidebar-nav a.active { background: rgba(96,165,250,.30); color: #fff; border-left: none; }
.sidebar-nav a .icon svg, .bn-icon svg { width: 18px; height: 18px; display: block; }
.sidebar-nav .nav-section-title .section-icon svg { width: 14px; height: 14px; }

/* SVG 图标尺寸（sweepEmoji 替换后） */
.stat-icon.d-ico { display: flex; align-items: center; justify-content: center; font-size: 0; }
.stat-icon.d-ico svg { width: 22px; height: 22px; }
.qb-icon.d-ico { font-size: 0; }
.qb-icon.d-ico svg { width: 26px; height: 26px; }
.pa-icon.d-ico { font-size: 0; }
.pa-icon.d-ico svg { width: 22px; height: 22px; }
.portal-hero-icon.d-ico { font-size: 0; display: flex; align-items: center; justify-content: center; }
.portal-hero-icon.d-ico svg { width: 30px; height: 30px; }
.topbar .btn svg, .sidebar-footer .btn svg { width: 14px; height: 14px; vertical-align: -2px; }
.topbar .sidebar-toggle svg { width: 16px; height: 16px; }
.topbar-right > a[href="#/notifications"] svg { width: 20px; height: 20px; display: block; }

/* 卡片 / 按钮 / 表格 */
.card { border-radius: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 18px rgba(15,23,42,.06); border-color: #eef1f6; }
.btn { border-radius: 10px; }
.btn-primary { box-shadow: 0 2px 8px rgba(37,99,235,.25); }
.table th { background: #f7f9fc; }
.badge { border-radius: 999px; font-weight: 600; }

/* 快捷预约卡：白卡 + 着色图标芯片 */
.quick-book-card { background: #fff !important; border: 1px solid #eef1f6 !important; }
.quick-book-card.meeting:hover { border-color: #93b8f8 !important; }
.quick-book-card.office:hover { border-color: #c4b1f5 !important; }
.quick-book-card.car:hover { border-color: #7fd4c8 !important; }
.quick-book-card .qb-icon.d-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.quick-book-card.meeting .qb-icon.d-ico { background: #e9f0fe; color: #2563eb; }
.quick-book-card.office .qb-icon.d-ico { background: #f1ecfd; color: #7c3aed; }
.quick-book-card.car .qb-icon.d-ico { background: #e3f5f2; color: #0d9488; }

/* 门户快捷动作：着色图标芯片 */
.portal-action .pa-icon.d-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ac-light, #e9f0fe); color: var(--ac, #2563eb);
  margin-bottom: 6px;
}

/* 未登录公共页 hero 对齐品牌色 */
.public-hero { background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%); }

/* ============================================================
   设计系统优化层 · UI Polish (v0.11.19)
   目标：统一层次 / 增强可读性 / 补全无障碍焦点态 / 增加微交互。
   全部为增强与修正，不重命名任何既有类名，不改动布局逻辑。
   ============================================================ */

/* 1) 令牌补全：--bg-soft 此前被引用 5 处却从未定义（背景回退透明，已修正）；
       新增统一焦点环 --ring 与间距刻度，便于后续复用。 */
:root {
  --bg-soft: #f6f8fc;
  --ring: rgba(37, 99, 235, .45);
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px;
  --shadow-soft: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.07);
}

/* 2) 全局可读性、选区高亮、平滑滚动（尊重「减少动态效果」偏好） */
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(37, 99, 235, .16); color: #0b1f4d; }

/* 3) 标题层级：仅设定基础值，组件级更具体的字号不受影响 */
h1, h2, h3, h4 { color: var(--text); line-height: 1.3; font-weight: 600; }
h1 { font-size: 24px; letter-spacing: -.01em; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }

/* 4) 无障碍焦点态：所有可交互元素键盘聚焦时显示清晰焦点环 */
a:focus-visible,
.btn:focus-visible,
.sidebar-nav a:focus-visible,
.tab:focus-visible,
.chip:focus-visible,
.svc-chip:focus-visible,
.icon-btn:focus-visible,
.topbar .icon-btn:focus-visible,
.bottom-nav a:focus-visible,
.mms-switch input:focus-visible + .slider {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
  border-radius: var(--radius-sm);
}
.form-control:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring), inset 0 0 0 1px var(--primary);
}

/* 5) 顶栏毛玻璃：悬浮于内容之上更通透（原为纯白实底） */
.topbar {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
}

/* 6) 按钮按压反馈：桌面端此前仅有 hover，无 :active 触感 */
.btn { will-change: transform; }
.btn:active { transform: translateY(1px) scale(.99); filter: brightness(.98); }
.btn-primary:active { box-shadow: 0 3px 10px rgba(37, 99, 235, .28); }

/* 7) 卡片：统一细描边 + 顶部高光（与既有分层阴影叠加，不改颜色） */
.card { border: 1px solid rgba(226, 232, 240, .8); }

/* 8) 表格：吸顶表头 + 隔行底色 + 悬浮高亮（长表/排序更易读） */
.table thead th {
  position: sticky; top: 0; z-index: 2;
  background: #eef2f8;
  box-shadow: inset 0 -1px 0 var(--border);
}
.table tbody tr:nth-child(even) { background: #fafbfd; }
.table tbody tr:hover { background: var(--primary-light); }

/* 9) 弹窗入场动画 + 遮罩微模糊 */
.modal-overlay { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal { animation: mmsModalIn .3s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes mmsModalIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* 10) Toast 强化阴影，提升层级感 */
.toast { box-shadow: var(--shadow-lg); }

/* 11) 统计卡图标悬浮微动（既有渐变容器上增强活力） */
.stat-card .stat-icon { transition: transform .25s; }
.stat-card:hover .stat-icon { transform: scale(1.06); }

/* 12) 空状态图标柔光，弱化空旷感 */
.empty-state .empty-icon { filter: drop-shadow(0 4px 10px rgba(30, 41, 59, .12)); }

/* 13) 精致滚动条（webkit）：侧栏与内容区更顺眼 */
.sidebar-nav::-webkit-scrollbar,
.content::-webkit-scrollbar,
.main-area::-webkit-scrollbar,
.modal::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, .4); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, .6); }
::-webkit-scrollbar-track { background: transparent; }

/* 14) 减少动态效果：关闭所有新增过渡/动画，保证可访问性 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .stat-card, .modal, .portal-action, .room-card,
  .quick-book-card, .sidebar-nav a, .topbar, .portal-hero { transition: none !important; animation: none !important; }
  .btn:active { transform: none; }
}

/* ============================================================
   15) 玻璃拟态登录页（浅色高级版 .glass-login）
   浅灰白底 + 柔和光斑 + 磨砂玻璃卡片；强调色沿用系统主蓝 #4F8DF7。
   仅登录页试点，不影响系统其他页面。
   ============================================================ */
.glass-login {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(48rem 36rem at 88% 8%, rgba(79, 141, 247, .16), transparent 60%),
    radial-gradient(44rem 34rem at 8% 92%, rgba(54, 207, 201, .14), transparent 58%),
    radial-gradient(40rem 30rem at 12% 6%, rgba(124, 58, 237, .10), transparent 60%),
    linear-gradient(135deg, #eef2f9 0%, #f6f8fc 100%);
  color: #1f2a44;
  font-family: inherit;
}

/* 柔和光斑（浅色、低饱和、轻漂浮） */
.glass-login .gl-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .9;
  pointer-events: none; animation: glDrift 30s ease-in-out infinite alternate;
}
.glass-login .gl-orb--a { width: 30rem; height: 30rem; top: -10rem; right: -6rem;
  background: radial-gradient(circle, rgba(79, 141, 247, .30), transparent 70%); }
.glass-login .gl-orb--b { width: 26rem; height: 26rem; bottom: -8rem; left: -6rem;
  background: radial-gradient(circle, rgba(54, 207, 201, .26), transparent 70%);
  animation-duration: 36s; animation-delay: -10s; }
.glass-login .gl-orb--c { width: 22rem; height: 22rem; top: 32%; left: 42%;
  background: radial-gradient(circle, rgba(124, 58, 237, .16), transparent 70%);
  animation-duration: 42s; animation-delay: -20s; }
@keyframes glDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3rem, -3rem, 0) scale(1.1); }
}

/* 细颗粒，增加质感（极淡） */
.glass-login .gl-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 居中容器（入场浮起） */
.glass-login .gl-shell {
  position: relative; z-index: 2; width: 100%;
  max-width: 420px; margin: 0 auto; padding: 48px 20px 40px;
  display: flex; flex-direction: column; align-items: center;
  animation: glRise .7s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes glRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 返回首页（浅色玻璃胶囊） */
.glass-login .gl-back {
  align-self: flex-start; display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 16px; margin-bottom: 18px;
  border-radius: 999px; color: #4a5568; font-size: 13.5px; text-decoration: none;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 6px 16px rgba(31, 45, 80, .08);
  transition: background .16s ease-out, transform .16s ease-out, color .16s ease-out;
}
.glass-login .gl-back:hover { background: rgba(255, 255, 255, .85); color: #1f2a44; transform: translateY(-1px); }

/* 磨砂玻璃卡片（浅色） */
.glass-login .gl-card {
  width: 100%; padding: 38px 34px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 24px 60px -16px rgba(31, 45, 80, .22), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* 品牌区 */
.glass-login .gl-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.glass-login .gl-brand__dot {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #4F8DF7, #36CFC9);
  box-shadow: 0 8px 20px rgba(79, 141, 247, .35);
}
.glass-login .gl-brand__text h1 { font-size: 19px; font-weight: 700; color: #1f2a44; letter-spacing: -.01em; }
.glass-login .gl-brand__text p { font-size: 12.5px; color: #8a94a8; margin-top: 2px; }

.glass-login .gl-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #1f2a44; margin-bottom: 6px; }
.glass-login .gl-sub { font-size: 13.5px; color: #8a94a8; margin-bottom: 24px; }

/* 玻璃输入 */
.glass-login .gl-field { margin-bottom: 16px; }
.glass-login .gl-field label { display: block; font-size: 13px; font-weight: 600; color: #4a5568; margin-bottom: 7px; }
.glass-login .gl-field input {
  width: 100%; min-height: 48px; padding: 0 16px;
  border-radius: 13px; border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(255, 255, 255, .7);
  color: #1f2a44; font-size: 15px; font-family: inherit;
  transition: border-color .16s ease-out, background .16s ease-out, box-shadow .16s ease-out;
}
.glass-login .gl-field input::placeholder { color: #aab2c2; }
.glass-login .gl-field input:focus {
  outline: none; border-color: #4F8DF7;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 141, 247, .18);
}

/* 登录按钮（实色品牌渐变，浅色背景下更稳重） */
.glass-login .gl-btn {
  width: 100%; min-height: 50px; margin-top: 8px;
  border: none; border-radius: 13px; cursor: pointer;
  background: linear-gradient(135deg, #4F8DF7, #36CFC9);
  color: #fff; font-size: 15.5px; font-weight: 700; letter-spacing: .06em;
  font-family: inherit; box-shadow: 0 10px 24px rgba(79, 141, 247, .35);
  transition: transform .16s ease-out, box-shadow .16s ease-out, filter .16s ease-out;
}
.glass-login .gl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 141, 247, .45); filter: brightness(1.03); }
.glass-login .gl-btn:active { transform: translateY(0); }
.glass-login .gl-btn:disabled { opacity: .6; cursor: not-allowed; }

/* 登录错误提示（浅色玻璃版） */
.glass-login #loginErr {
  display: none; margin-top: 14px; padding: 10px 12px; border-radius: 12px;
  background: rgba(220, 53, 69, .10); color: #c0392b;
  border: 1px solid rgba(220, 53, 69, .25); font-size: 13px; line-height: 1.5;
}

/* 底部链接 */
.glass-login .gl-foot { display: flex; justify-content: space-between; margin-top: 18px; }
.glass-login .gl-foot a { font-size: 13px; color: #6b7689; text-decoration: none; transition: color .16s ease-out; }
.glass-login .gl-foot a:hover { color: #4F8DF7; }

/* 页脚提示 */
.glass-login .gl-tip { margin-top: 22px; font-size: 12px; color: #9aa4b8; letter-spacing: .03em; }

/* 焦点可见性 */
.glass-login a:focus-visible, .glass-login .gl-btn:focus-visible,
.glass-login .gl-field input:focus-visible { outline: 2px solid #4F8DF7; outline-offset: 2px; }

/* 响应式 */
@media (max-width: 480px) {
  .glass-login .gl-card { padding: 30px 22px 24px; }
  .glass-login .gl-foot { flex-direction: column; gap: 10px; }
}

/* 降级动效 */
@media (prefers-reduced-motion: reduce) {
  .glass-login .gl-orb, .glass-login .gl-shell { animation: none; }
  .glass-login .gl-shell { opacity: 1; transform: none; }
}

/* ============================================================
   16) 液态玻璃主题（全角色主界面）
   与登录页同一套浅色高级玻璃语言：浅灰白底 + 柔和光斑 +
   磨砂玻璃面板（backdrop-filter）。追加式覆盖，不改原有规则，
   登录页(.glass-login)与未登录首页(.public-page)不受影响。
   ============================================================ */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46rem 34rem at 88% -6%, rgba(79,141,247,.14), transparent 60%),
    radial-gradient(40rem 30rem at -8% 24%, rgba(54,207,201,.12), transparent 60%),
    radial-gradient(38rem 30rem at 70% 108%, rgba(124,58,237,.10), transparent 60%),
    #F5F7FB;
}
/* 内容区透出光斑：主区背景透明化 */
.main-area { background: transparent; }
.content { position: relative; }

/* ── 侧边栏：深色 → 浅色玻璃 ── */
.sidebar {
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  color: var(--text);
  border-right: 1px solid rgba(31,41,55,.08);
  box-shadow: inset 1px 0 0 rgba(255,255,255,.6);
}
.sidebar-header { border-bottom: 1px solid rgba(31,41,55,.08); }
.sidebar-header h2 { color: var(--primary); }
.sidebar-header p { color: var(--text-secondary); opacity: 1; }
.sidebar-nav .nav-section-title { color: var(--text-light); }
.sidebar-nav a { color: var(--text-secondary); }
.sidebar-nav a:hover { background: rgba(79,141,247,.08); color: var(--primary); }
.sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(79,141,247,.14), rgba(54,207,201,.10));
  color: var(--primary); border-left-color: var(--primary); font-weight: 600;
}
.sidebar-footer { border-top: 1px solid rgba(31,41,55,.08); }
.sidebar-footer .sf-avatar {
  background: linear-gradient(135deg, #4F8DF7, #36CFC9); color: #fff;
  box-shadow: 0 6px 16px rgba(79,141,247,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.sidebar-footer .sf-name { color: var(--text); opacity: 1; }
.sidebar-footer .sf-dept { color: var(--text-secondary); opacity: 1; }
.app-layout.collapsed .sidebar-header::before { filter: none; }

/* ── 顶栏：白 → 磨砂玻璃 ── */
.topbar {
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid rgba(31,41,55,.07);
}

/* ── 卡片 / 统计卡 / 房间卡 / 快捷预约：半透明玻璃 ── */
.card, .stat-card, .room-card, .quick-book-card, .modal, .dropdown-menu, .calendar-wrap {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 8px 28px rgba(31,41,55,.07), inset 0 1px 0 rgba(255,255,255,.85);
}
.quick-book-card.meeting { background: linear-gradient(135deg, rgba(230,240,255,.78), rgba(240,245,255,.72)); border-color: rgba(191,212,255,.9); }
.quick-book-card.car { background: linear-gradient(135deg, rgba(230,255,251,.78), rgba(240,255,230,.72)); border-color: rgba(191,240,224,.9); }
.card:hover, .room-card:hover { box-shadow: 0 12px 32px rgba(31,41,55,.10), inset 0 1px 0 rgba(255,255,255,.9); }

/* 表单控件：柔和玻璃输入 */
.form-control {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(31,41,55,.10);
}
.form-control:focus { background: #fff; }
.form-control[disabled], .form-control:disabled, select.form-control[disabled] {
  background: rgba(243,244,246,.7); color: var(--text-secondary);
}

/* ── 表格：透明化让玻璃底透出 ── */
.table th { background: rgba(243,244,246,.72); }
.table td { border-bottom: 1px solid rgba(31,41,55,.06); }
.table tbody tr { background: transparent; }
.table tbody tr:hover { background: rgba(79,141,247,.07); }
.table tbody tr:hover td { background: transparent; }

/* ── 弹窗遮罩：加磨砂 ── */
.modal-overlay { background: rgba(15,23,42,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-header, .modal-footer { border-color: rgba(31,41,55,.07); }

/* ── 门户首页 hero / 未登录 public 区保持原样（.public-page 内不叠玻璃底）── */
.public-page { position: relative; }
.public-header {
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid rgba(31,41,55,.07);
}

/* 徽章/步骤条保持原饱和底色（信息优先级高于玻璃一致性） */

/* 滚动条与玻璃底协调 */
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(31,41,55,.15); border-radius: 3px; }

/* 降级动效：主题切换无动画，光斑静态 */
@media (prefers-reduced-motion: reduce) {
  .card, .stat-card, .room-card, .quick-book-card, .modal { transition: none !important; }
}
