/* ============================================================
 * 综合工作台（最新版）— 统一设计系统
 * 主色 #1E88E5（蓝） 辅色 #26A69A（青） 深色侧栏 #13243A
 * ============================================================ */
:root {
    --primary: #4D6BFE;
    --primary-d: #3B55E8;
    --primary-l: #EEF0FF;
    --teal: #26A69A;
    --teal-l: #E0F2F1;
    --green: #43A047;
    --amber: #F39C12;
    --red: #E74C3C;
    --ink: #22303F;
    --ink-2: #5A6B7B;
    --ink-3: #93A2B0;
    --bg: #F2F5F9;
    --card: #FFFFFF;
    --line: #E4EAF0;
    --sidebar-w: 232px;
    /* 顶栏高度 = 侧边栏品牌区高度，两者必须相等，否则交界处的分隔线会错位 */
    --topbar-h: 56px;
    --radius: 12px;
    --shadow: 0 2px 10px rgba(20, 40, 60, .06);
    --shadow-lg: 0 8px 30px rgba(20, 40, 60, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
    background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.55;
}
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============ Toast ============ */
#toast-wrap { position: fixed; top: 68px; right: 18px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 11px 16px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--primary); min-width: 220px; animation: slideIn .25s ease; }
.toast.out { opacity: 0; transform: translateX(20px); transition: all .3s; }
.toast-ok { border-color: var(--green); } .toast-err { border-color: var(--red); } .toast-warn { border-color: var(--amber); }
.toast-ic { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
.toast-ok .toast-ic { background: var(--green); } .toast-err .toast-ic { background: var(--red); }
.toast-warn .toast-ic { background: var(--amber); } .toast-info .toast-ic { background: var(--primary); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ============ 登录页（左右分屏+玻璃拟态+水体流动） ============ */
.login-page { position: fixed; inset: 0; display: flex; align-items: center; justify-content: flex-end; z-index: 100; overflow: hidden; padding-right: 80px; box-sizing: border-box; }
.login-water-bg { position: absolute; inset: -10%; background: url('../img/login-bg.jpg') 30% center/cover no-repeat; animation: bgFlow 20s ease-in-out infinite; } @keyframes bgFlow { 0%,100% { transform: translate(0,0) scale(1); } 25% { transform: translate(2%,-1%) scale(1.02); } 50% { transform: translate(-1%,1%) scale(1.05); } 75% { transform: translate(1%,2%) scale(1.02); } }
.login-water-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.4) 0%, rgba(15,40,71,0.3) 50%, rgba(20,68,122,0.4) 100%); }
.login-container { position: relative; display: flex; width: 900px; max-width: 95vw; height: 560px; border-radius: 24px; overflow: hidden; box-shadow: 0 32px 90px rgba(0,0,0,.4); animation: fadeUp .5s ease; } .login-container-right { margin-left: auto; width: auto; height: auto; background: transparent; box-shadow: none; border-radius: 0; } .login-container-right .login-right { border-left: none; border-right: 1px solid rgba(255,255,255,0.1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.login-left { flex: 1; background: linear-gradient(160deg, rgba(15,40,71,0.9), rgba(20,68,122,0.85)); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; padding: 40px; position: relative; }
.login-left::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 60%); pointer-events: none; }
.login-left-inner { text-align: center; color: #fff; position: relative; z-index: 1; }
.login-logo { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 20px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.login-logo img { width: 100%; height: 100%; object-fit: contain; }
.login-brand { font-size: 28px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; color: #fff; }
.login-sub { font-size: 14px; opacity: 0.8; margin-bottom: 32px; color: #fff; }
.login-features { display: flex; flex-direction: column; gap: 14px; text-align: left; max-width: 260px; margin: 0 auto; }
.feat-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,0.08); border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: #fff; }
.feat-item i { color: #64b5f6; font-size: 16px; }
.login-right { flex: 1; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0; border-left: none; }
.login-glass-card { width: 100%; max-width: 360px; padding: 40px 36px; border-radius: 20px; background: rgba(255,255,255,0.12); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.25); box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3); }
.login-welcome { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.login-desc { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.login-form { display: flex; flex-direction: column; gap: 18px; }
.login-form .field label { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 8px; }
.login-form .input-wrap { position: relative; }
.login-form .input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.6); font-size: 14px; }
.login-form .input-wrap input { width: 100%; padding: 13px 14px 13px 42px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 12px; font-size: 14px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: #fff; transition: all .2s; box-sizing: border-box; }
.login-form .input-wrap input::placeholder { color: rgba(255,255,255,0.5); }
.login-form .input-wrap input:focus { outline: none; border-color: rgba(100,181,246,0.6); background: rgba(255,255,255,0.15); box-shadow: 0 0 0 3px rgba(100,181,246,0.15); }
.login-hint { margin-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.5); }
@media (max-width: 768px) { .login-container { flex-direction: column; height: auto; min-height: 90vh; } .login-left { padding: 30px 20px; } .login-features { display: none; } .login-right { padding: 30px 20px; border-left: none; border-top: 1px solid rgba(255,255,255,0.1); } }
/* ============ 登录页（简约分屏风格） ============ */
.login-page-clean { background: #f5f7fa; display: flex; align-items: stretch; justify-content: stretch; }
.login-clean-container { display: flex; width: 100%; height: 100vh; background: #fff; border-radius: 0; overflow: hidden; box-shadow: none; }
.login-clean-left { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px; }
.login-clean-form { width: 100%; max-width: 400px; }
.login-clean-title { font-size: 32px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.login-clean-subtitle { font-size: 14px; color: #888; margin-bottom: 40px; }
.login-clean-form .field { margin-bottom: 20px; }
.login-clean-form .field label { display: block; font-size: 14px; font-weight: 500; color: #333; margin-bottom: 8px; }
.login-clean-form .input-wrap { position: relative; }
.login-clean-form .input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #999; font-size: 14px; }
.login-clean-form .input-wrap input { width: 100%; padding: 14px 14px 14px 42px; border: 1.5px solid #e0e0e0; border-radius: 12px; font-size: 14px; background: #f8f9fa; color: #333; transition: all .2s; box-sizing: border-box; }
.login-clean-form .input-wrap input:focus { outline: none; border-color: #4D6BFE; background: #fff; box-shadow: 0 0 0 3px rgba(77,107,254,0.1); }
.login-clean-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; background: #f8f9fa; }
.login-clean-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
@media (max-width: 768px) { .login-clean-container { flex-direction: column; height: auto; } .login-clean-right { display: none; } .login-clean-left { padding: 40px 20px; } }


/* ============ 按钮 ============ */
.btn { display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 9px; padding: 9px 16px; font-size: 13px; cursor: pointer; transition: all .18s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-d); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); } .btn-ghost:hover { background: #F5F8FB; }
.btn-soft { background: var(--primary-l); color: var(--primary-d); } .btn-soft:hover { background: #DCEAFB; }
.btn-teal { background: var(--teal); color: #fff; } .btn-teal:hover { filter: brightness(.94); }
.btn-danger { background: var(--red); color: #fff; } .btn-danger:hover { filter: brightness(.94); }
.btn-success { background: var(--green); color: #fff; } .btn-success:hover { filter: brightness(.94); }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.btn-block { width: 100%; justify-content: center; height: 44px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ============ 应用布局 ============ */
.app-page { display: flex; height: 100vh; overflow: hidden; }
.sidebar { width: var(--sidebar-w); background: #fff; color: #333; display: flex; flex-direction: column; flex-shrink: 0; border-right: 1px solid var(--line); }
.side-brand { display: flex; align-items: center; gap: 12px; height: var(--topbar-h); padding: 0 18px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.side-brand > i { font-size: 26px; color: var(--primary); }
.side-logo { width: 34px; height: 34px; border-radius: 7px; object-fit: contain; flex-shrink: 0; background: #fff; padding: 2px; }
.side-brand-text b { display: block; color: var(--ink); font-size: 16px; letter-spacing: .5px; }
.side-brand-text small { color: var(--ink-3); font-size: 11px; }
.side-nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.side-nav::-webkit-scrollbar { width: 4px; } .side-nav::-webkit-scrollbar-thumb { background: #E0E4EA; }
.nav-label { font-size: 11px; color: #6E859F; padding: 14px 10px 6px; letter-spacing: 1px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 12px; margin: 1px 0; border-radius: 8px; cursor: pointer; color: #444; font-size: 13.5px; transition: all .15s; }
.nav-item i { width: 18px; text-align: center; font-size: 14px; opacity: .85; }
.nav-item:hover { background: #F4F5F8; color: var(--ink); }
.nav-item.active { background: var(--primary-l); color: var(--primary-d); font-weight: 500; }
.nav-group-title { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--ink-3); padding: 14px 10px 4px; letter-spacing: .5px; cursor: pointer; user-select: none; }
.nav-group-title:hover { color: var(--ink-2); }
.nav-group-title i { font-size: 10px; transition: transform .2s; }
.nav-group.open .nav-group-title i { transform: rotate(180deg); }
.nav-group-items { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.nav-group.open .nav-group-items { max-height: 600px; }
.side-foot { padding: 12px; border-top: 1px solid var(--line); }
.side-logout { width: 100%; background: none; border: 1px solid var(--line); color: var(--ink-2); border-radius: 8px; padding: 9px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.side-logout:hover { background: #F4F5F8; color: var(--ink); }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { height: 56px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; flex-shrink: 0; }
.topbar > div:first-child { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; }
.topbar h1 { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.svc-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); background: #F5F8FB; border-radius: 20px; padding: 5px 12px; white-space: nowrap; flex-shrink: 0; }
.svc-dot { width: 8px; height: 8px; border-radius: 50%; background: #B9C6D2; display: inline-block; }
.svc-dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(67,160,71,.15); }
.svc-dot.off { background: var(--red); }
.user-chip { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 5px 10px; border-radius: 20px; transition: background .15s; white-space: nowrap; flex-shrink: 0; }
.user-name { white-space: nowrap; }
.user-chip:hover { background: #F5F8FB; }
.user-ava { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.user-name { font-size: 13px; font-weight: 600; }
.user-role { font-size: 11px; color: var(--ink-3); background: #F0F4F8; padding: 2px 8px; border-radius: 10px; }

.page-container { flex: 1; overflow-y: auto; padding: 16px; }
.page-loading, .page-err { display: flex; align-items: center; justify-content: center; min-height: 300px; color: var(--ink-3); flex-direction: column; gap: 12px; }
.page-err .err-ic { width: 44px; height: 44px; border-radius: 50%; background: #FEF5F5; color: var(--red); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }

/* ============ 卡片 / 布局通用 ============ */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-title i { color: var(--primary); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { grid-template-columns: 2fr 1fr; }
@media (max-width: 1100px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } .grid-2, .grid-2-1 { grid-template-columns: 1fr; } }
.flex { display: flex; align-items: center; } .flex.between { justify-content: space-between; } .flex.wrap { flex-wrap: wrap; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.text-2 { color: var(--ink-2); } .text-3 { color: var(--ink-3); } .text-sm { font-size: 12px; } .text-xs { font-size: 11px; }
.bold { font-weight: 700; }

/* ============ 表单 ============ */
.form-grid { display: grid; gap: 14px; }
.f-label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.f-input, .f-select, .f-textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: 13.5px; outline: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,136,229,.12); }
.f-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 800px) { .f-row { grid-template-columns: 1fr; } }

/* ============ 表格 ============ */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; background: #F5F8FB; color: var(--ink-2); font-weight: 600; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid #EEF2F6; vertical-align: middle; }
.tbl tr:hover td { background: #FAFCFF; }
.tbl .empty { text-align: center; color: var(--ink-3); padding: 34px 0; }

/* ============ 徽章 ============ */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 12px; font-size: 11.5px; font-weight: 600; }
.badge-blue { background: var(--primary-l); color: var(--primary-d); }
.badge-green { background: #E8F6EC; color: var(--green); }
.badge-amber { background: #FEF4E2; color: #B87A14; }
.badge-red { background: #FDECEA; color: var(--red); }
.badge-gray { background: #F0F3F7; color: var(--ink-2); }
.badge-teal { background: var(--teal-l); color: #1C7C72; }
.grade-badge { min-width: 32px; text-align: center; border-radius: 6px; padding: 3px 8px; font-weight: 800; font-size: 12px; }

/* ============ 弹窗 ============ */
.modal-dim { position: fixed; inset: 0; background: rgba(15, 30, 49, .5); display: flex; align-items: center; justify-content: center; z-index: 1000; animation: fadeIn .2s ease; backdrop-filter: blur(2px); }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { background: #fff; border-radius: 14px; width: 520px; max-width: calc(100vw - 40px); max-height: calc(100vh - 60px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.modal-lg { width: 720px; } .modal-xl { width: 980px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-title { font-size: 15px; font-weight: 700; }
.modal-x { border: none; background: none; font-size: 22px; color: var(--ink-3); cursor: pointer; line-height: 1; padding: 0 4px; }
.modal-x:hover { color: var(--red); }
.modal-body { padding: 20px; overflow-y: auto; }
.confirm-box { text-align: center; padding: 6px 4px; }
.confirm-text { font-size: 14px; color: var(--ink); margin-bottom: 20px; line-height: 1.7; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; }

/* ============ 分页 ============ */
.pager { display: flex; align-items: center; gap: 8px; margin-top: 14px; justify-content: center; }
.pager button { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 5px 11px; cursor: pointer; font-size: 12.5px; color: var(--ink); }
.pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .pg-info { font-size: 12.5px; color: var(--ink-2); }
.pager .pg-cur { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============ 上传区 ============ */
.drop-zone { border: 2px dashed #C4D4E2; border-radius: 12px; padding: 26px 18px; text-align: center; cursor: pointer; transition: all .2s; background: #FBFDFF; }
.drop-zone:hover, .drop-zone.drag { border-color: var(--primary); background: var(--primary-l); }
.drop-zone .dz-ic { font-size: 30px; color: var(--primary); margin-bottom: 8px; }
.drop-zone .dz-tip { color: var(--ink-2); font-size: 13px; }
.drop-zone .dz-sub { color: var(--ink-3); font-size: 12px; margin-top: 4px; }
.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.file-item { display: flex; align-items: center; gap: 10px; background: #F7FAFC; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; }
.file-item i { color: var(--primary); font-size: 16px; }
.file-item .fi-name { flex: 1; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .fi-close { color: var(--ink-3); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.file-item .fi-close:hover { color: var(--red); background: #FDECEA; }

/* ============ 统计卡（看板） ============ */
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.stat-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); background: var(--primary-l); }
.stat-num { font-size: 24px; font-weight: 800; line-height: 1.15; }
.stat-label { font-size: 12.5px; color: var(--ink-2); }

/* 核心模块卡（概览里重点突出的两个） */
.stat-card.core { cursor: pointer; padding: 22px 24px; gap: 18px; border: 1px solid #D8E0FF; background: linear-gradient(135deg, #F4F7FF 0%, #fff 60%); }
.stat-card.core:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(30,80,200,.12); transform: translateY(-1px); }
.stat-ic.core-ic { width: 56px; height: 56px; font-size: 24px; color: #fff; background: linear-gradient(135deg, var(--primary), #4C7BF3); box-shadow: 0 4px 12px rgba(30,80,200,.25); }
.stat-num.core-num { font-size: 30px; }
.stat-unit { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.stat-desc { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

/* ============ 标签页 ============ */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; }
.tab { padding: 6px 12px; font-size: 13px; color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ============ 健康AI 聊天 ============ */
.health-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 12px; height: calc(100vh - 160px); }
.health-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.health-main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.chat-list { flex: 1; overflow-y: auto; padding: 8px; }
.chat-item { position: relative; padding: 10px 12px; padding-right: 32px; border-radius: 9px; cursor: pointer; margin-bottom: 2px; font-size: 13px; color: var(--ink); }
.chat-item:hover { background: #F5F8FB; }
.chat-item.active { background: var(--primary-l); color: var(--primary-d); font-weight: 600; }
.chat-item .ci-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-item .ci-del:hover { color: #E5484D; background: #FDEBEC; }
.chat-item .ci-time { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.health-tools { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.health-main .hm-head { padding: 13px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.health-main .hm-model { font-size: 12.5px; color: var(--ink-2); }
.chat-box { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: #FBFDFF; }
.msg { max-width: 78%; padding: 11px 15px; border-radius: 12px; font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.msg-user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-ai { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-sys { align-self: center; background: #FFF8E8; color: #8A6D1A; font-size: 12px; border-radius: 16px; padding: 6px 14px; }
.msg .msg-actions { display: flex; gap: 6px; margin-top: 8px; opacity: 0; transition: opacity .15s; }
.msg:hover .msg-actions { opacity: 1; }
.msg-action { background: none; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 11px; color: var(--ink-2); cursor: pointer; }
.msg-action:hover { border-color: var(--primary); color: var(--primary); }
.empty-state { flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--ink-3); }
.empty-state .es-ic { font-size: 44px; color: #C7D6E4; }
.empty-card-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.empty-card { border: 1px dashed #C4D4E2; border-radius: 10px; padding: 14px 18px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: 8px; background: #fff; }
.empty-card:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.composer-wrap { border-top: 1px solid var(--line); padding: 12px 16px 14px; background: #fff; }
.composer-tools { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; align-items: center; }
.ctool { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 5px 10px; font-size: 12px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ctool:hover { border-color: var(--primary); color: var(--primary); }
.ctool.on { background: var(--primary-l); border-color: var(--primary); color: var(--primary-d); }
.composer-box { display: flex; gap: 10px; align-items: flex-end; }
.composer-box textarea { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; resize: none; outline: none; min-height: 44px; max-height: 140px; line-height: 1.5; }
.composer-box textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,136,229,.1); }
.composer-send { width: 44px; height: 44px; border-radius: 10px; border: none; background: var(--primary); color: #fff; font-size: 15px; cursor: pointer; flex-shrink: 0; }
.composer-send:hover { background: var(--primary-d); }
.composer-send[disabled] { opacity: .5; cursor: not-allowed; }
.composer-attach { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 16px; cursor: pointer; flex-shrink: 0; transition: all .15s; }
.composer-attach:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.composer-attach.busy { border-color: var(--primary); color: var(--primary); cursor: wait; }
.parse-tip { font-size: 12.5px; border-radius: 8px; padding: 7px 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.parse-tip.parsing { background: var(--primary-l); color: var(--primary-d); }
.parse-tip.failed { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.context-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-l); color: var(--primary-d); border-radius: 14px; padding: 3px 10px; font-size: 12px; margin: 0 4px 4px 0; }
.context-chip .cc-x { cursor: pointer; }
.thinking-block { background: #F5F8FB; border-left: 3px solid var(--amber); border-radius: 6px; padding: 8px 12px; font-size: 12px; color: var(--ink-2); white-space: pre-wrap; margin-bottom: 6px; }

/* ============ 模板库 / 服务配置 ============ */
.tpl-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; transition: all .15s; background: #fff; }
.tpl-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.tpl-card.active { border-color: var(--primary); background: var(--primary-l); }
.tpl-card .tc-name { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.tpl-card .tc-desc { font-size: 12px; color: var(--ink-2); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #EEF2F6; }
.svc-row:last-child { border-bottom: none; }
.svc-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; flex-shrink: 0; }
.svc-info { flex: 1; min-width: 0; }
.svc-name { font-weight: 600; font-size: 13.5px; }
.svc-desc { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 简历报告 ============ */
.report-hero { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, #F0F7FF, #F4FBF9); border-radius: 12px; padding: 18px 22px; margin-bottom: 16px; }
.rank-row { display: grid; grid-template-columns: 44px 1fr 110px 70px 70px; gap: 10px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; transition: all .15s; cursor: pointer; }
.rank-row:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.rank-no { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; }
.cand-card { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; overflow: hidden; background: #fff; }
.cand-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FAFCFF; flex-wrap: wrap; }
.cand-ava { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.dim-bar { height: 8px; border-radius: 5px; background: #EDF1F6; overflow: hidden; margin-top: 4px; }
.dim-fill { height: 100%; border-radius: 5px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; margin: 0 4px 4px 0; background: #F0F4F8; color: var(--ink-2); }
.tag-green { background: #E8F6EC; color: var(--green); } .tag-red { background: #FDECEA; color: var(--red); }
.hl-block { border-left: 3px solid var(--green); background: #F2FBF5; padding: 9px 12px; border-radius: 0 8px 8px 0; margin-bottom: 8px; }
.risk-block { border-left: 3px solid var(--red); background: #FEF6F5; padding: 9px 12px; border-radius: 0 8px 8px 0; margin-bottom: 8px; }
.q-block { background: var(--primary-l); border-radius: 8px; padding: 9px 12px; margin-bottom: 8px; font-size: 13px; }

/* ============ 进度 ============ */
.progress { height: 8px; border-radius: 5px; background: #EDF1F6; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--teal)); border-radius: 5px; transition: width .3s; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }

/* ============ 保险 ============ */
.ins-step { display: flex; gap: 14px; align-items: flex-start; }
.ins-step-no { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-l); color: var(--primary-d); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ins-step-body { flex: 1; }
.month-chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px; margin: 0 6px 6px 0; cursor: pointer; font-size: 13px; transition: all .15s; background: #fff; }
.month-chip:hover { border-color: var(--primary); }
.month-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
/* 预览表格：固定布局 + 表头换行，避免长表头（如"被保险人证件号码（…）"）把表格撑得极宽挤压页面 */
.preview-table { border: 1px solid var(--line); border-radius: 10px; overflow: auto; max-height: 360px; max-width: 100%; }
.preview-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.preview-table th { position: sticky; top: 0; background: #F5F8FB; white-space: normal; overflow-wrap: break-word; }
.preview-table th, .preview-table td { border-bottom: 1px solid var(--line); padding: 7px 10px; }
.preview-table td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ 加载动画 ============ */
.spinner { width: 26px; height: 26px; border: 3px solid #D8E4F0; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#loading-ov { position: fixed; inset: 0; background: rgba(15,30,49,.35); display: none; align-items: center; justify-content: center; z-index: 2000; }
.loading-box { background: #fff; border-radius: 14px; padding: 26px 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); }
.loading-text { font-size: 13.5px; color: var(--ink-2); }

/* ============ 滚动条 ============ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #C7D3DF; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #A9BCCD; }
::-webkit-scrollbar-track { background: transparent; }

/* ============ 看板 ============ */
.wk-chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 6px 4px 0; border-bottom: 1px solid var(--line); }
.wk-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.wk-bar { width: 70%; max-width: 42px; background: linear-gradient(180deg, var(--primary), var(--teal)); border-radius: 6px 6px 0 0; min-height: 4px; transition: height .4s; }
.wk-day { font-size: 11px; color: var(--ink-3); padding-bottom: 6px; }
.task-line { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #F0F4F8; }
.task-line:last-child { border-bottom: none; }
.task-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.task-txt { flex: 1; font-size: 13px; }
.notif-line { padding: 8px 0; border-bottom: 1px solid #F0F4F8; }
.notif-line:last-child { border-bottom: none; }
/* 快捷入口：按可用宽度自适应列数。原先固定 2 列，宽屏下每格被拉到 500px+ 会很空，条目数非偶数还会空半行 */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.quick-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; cursor: pointer; transition: all .15s; background: #fff; }
.quick-item:hover { border-color: var(--primary); background: var(--primary-l); transform: translateY(-1px); }
.quick-item i { font-size: 22px; color: var(--primary); }
.quick-item span { display: block; font-size: 12.5px; color: var(--ink); margin-top: 6px; font-weight: 600; }

/* ============ 通用输入/按钮补充 ============ */
.input { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: 13.5px; outline: none; background: #fff; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,136,229,.12); }
select.input { cursor: pointer; }
textarea.input { resize: vertical; line-height: 1.6; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.hint { font-size: 11.5px; color: var(--ink-3); font-weight: 400; }

/* ============ 响应式布局 ============ */
.sidebar { transition: width .2s ease, transform .2s ease; }
/* 侧边栏折叠（默认收起为图标栏）：桌面与窄屏通用 */
#sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; font-size: 18px; color: var(--ink-2); cursor: pointer; padding: 6px 10px; border-radius: 8px; margin-right: 8px; }
.sidebar.collapsed { width: 64px; }
.sidebar.collapsed .side-brand-text,
.sidebar.collapsed .nav-item span { display: none; }
.sidebar.collapsed .side-brand { justify-content: center; padding: 0; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 10px 0; }
.sidebar.collapsed .side-logout { font-size: 0; justify-content: center; }
.sidebar.collapsed .side-logout i { font-size: 14px; }
.sidebar.collapsed .nav-group-title { font-size: 0; height: 0; padding: 0; margin: 10px 10px 4px; border-top: 1px solid var(--line); pointer-events: none; }
.sidebar.collapsed .nav-group-title i { display: none; }
.sidebar.collapsed .nav-group-items { max-height: 600px; }
#sidebar-toggle:hover { background: var(--bg); color: var(--ink); }
.sidebar-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 90; }

/* 中屏：侧边栏收缩为图标模式 */
@media (max-width: 1200px) {
    #sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .sidebar { width: 64px; }
    .sidebar .side-brand-text,
    .sidebar .nav-label,
    .sidebar .nav-item span { display: none; }
    .sidebar .side-brand { justify-content: center; padding: 0; }
    .sidebar .nav-item { justify-content: center; padding: 10px 0; }
    .sidebar .side-logout { font-size: 0; justify-content: center; }
    .sidebar .side-logout i { font-size: 14px; }
    /* 图标窄栏（64px）：分组标题的文字会被挤成竖排单字，这里把它变成一条分隔线；
       同时窄栏下禁止折叠，保证所有图标入口都能看到 */
    .sidebar:not(.expanded) .nav-group-title { font-size: 0; height: 0; padding: 0; margin: 10px 10px 4px; border-top: 1px solid var(--line); pointer-events: none; }
    .sidebar:not(.expanded) .nav-group-title i { display: none; }
    .sidebar:not(.expanded) .nav-group-items { max-height: 600px; }
    /* 展开状态（抽屉式） */
    .sidebar.expanded { width: 232px; position: fixed; z-index: 100; height: 100vh; box-shadow: var(--shadow-lg); }
    .sidebar.expanded .side-brand-text,
    .sidebar.expanded .nav-label,
    .sidebar.expanded .nav-item span { display: block; }
    .sidebar.expanded .side-brand { justify-content: flex-start; padding: 0 18px; }
    .sidebar.expanded .nav-item { justify-content: flex-start; padding: 10px 12px; }
    .sidebar.expanded .side-logout { font-size: 13px; }
    .sidebar-mask.show { display: block; }
}

/* 窄屏：更紧凑 */
@media (max-width: 768px) {
    .topbar { padding: 0 12px; height: 52px; gap: 8px; }
    .topbar h1 { font-size: 16px; }
    /* 窄屏顶栏空间不足：服务胶囊只留状态点，用户芯片只留头像，避免文字折行互相挤压 */
    .top-right { gap: 8px; }
    .svc-pill { padding: 6px; }
    .svc-pill .svc-text { display: none; }
    .user-chip { padding: 4px; }
    .user-name, .user-role { display: none; }
    .page-container { padding: 12px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .card { padding: 14px; }
    .modal-lg { width: calc(100vw - 24px); max-height: 90vh; }
}

/* 超宽屏：内容居中，避免过宽 */
@media (min-width: 1800px) {
    .page-container { max-width: 1600px; margin: 0 auto; width: 100%; }
}


/* ============ AI PPT 模块：步骤向导 ============ */
.ppt-steps { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ppt-step { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: all .2s; color: var(--ink-3); user-select: none; }
.ppt-step:hover { background: var(--primary-l); }
.ppt-step .ppt-step-dot { width: 22px; height: 22px; border-radius: 50%; background: #E8EDF3; color: var(--ink-3); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; transition: all .2s; }
.ppt-step .ppt-step-label { font-size: 13px; font-weight: 500; white-space: nowrap; }
.ppt-step.active { background: var(--primary-l); color: var(--primary-d); }
.ppt-step.active .ppt-step-dot { background: var(--primary); color: #fff; box-shadow: 0 3px 8px rgba(30,136,229,.35); }
.ppt-step.done { color: var(--teal); }
.ppt-step.done .ppt-step-dot { background: var(--teal); color: #fff; }
.ppt-step-line { width: 26px; height: 2px; background: var(--line); border-radius: 2px; }
.ppt-theme-empty { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px dashed var(--line); border-radius: 10px; color: var(--ink-3); font-size: 13px; background: #FBFCFE; }
.ppt-theme-picked { padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); }

/* ===== Markdown 渲染（健康AI对话） ===== */
.md-body { font-size: 14px; line-height: 1.7; color: var(--text-1, #1a1b1c); word-break: break-word; }
.md-body h1, .md-body h2, .md-body h3, .md-body h4 { margin: 14px 0 8px; line-height: 1.4; }
.md-body h1 { font-size: 18px; font-weight: 700; color: #2F5496; border-bottom: 2px solid #2F549633; padding-bottom: 6px; }
.md-body h2 { font-size: 16px; font-weight: 700; color: #2F5496; border-left: 4px solid #2F5496; padding-left: 8px; }
.md-body h3 { font-size: 15px; font-weight: 600; color: #1F3864; }
.md-body h4 { font-size: 14px; font-weight: 600; color: #333; }
.md-body p { margin: 6px 0; }
.md-body ul, .md-body ol { margin: 6px 0; padding-left: 22px; }
.md-body li { margin: 3px 0; }
.md-body table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
.md-body th, .md-body td { border: 1px solid #d9d9d9; padding: 6px 10px; text-align: left; }
.md-body th { background: #2F5496; color: #fff; font-weight: 600; white-space: nowrap; }
.md-body tr:nth-child(even) td { background: #f7f9fc; }
.md-body blockquote { margin: 8px 0; padding: 6px 12px; border-left: 4px solid #2F5496; background: #f0f4fa; color: #555; }
.md-body code { background: #f0f0f0; padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: Consolas, monospace; }
.md-body pre { background: #1e1e1e; color: #eee; padding: 12px; border-radius: 8px; overflow-x: auto; }
.md-body pre code { background: transparent; color: inherit; padding: 0; }
.md-body hr { border: none; border-top: 1px solid #e0e0e0; margin: 12px 0; }
.md-body strong { color: #1F3864; font-weight: 700; }
.md-body em { color: #555; }



/* ============ 玻璃拟态登录页 ============ */
.login-page-glass {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.glass-bg { position: absolute; inset: 0; }

.glass-float {
  position: absolute; border-radius: 30%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(2px);
}
.glass-float-1 { width: 300px; height: 300px; top: 10%; left: 10%; animation: glassFloat 12s ease-in-out infinite; }
.glass-float-2 { width: 200px; height: 200px; top: 60%; right: 15%; animation: glassFloat 15s ease-in-out infinite reverse; }
.glass-float-3 { width: 150px; height: 150px; bottom: 20%; left: 30%; animation: glassFloat 18s ease-in-out infinite; }
.glass-float-4 { width: 100px; height: 100px; top: 20%; right: 25%; animation: glassFloat 10s ease-in-out infinite reverse; }

@keyframes glassFloat {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  33% { transform: translate(30px,-50px) rotate(120deg); }
  66% { transform: translate(-20px,30px) rotate(240deg); }
}

.glass-card {
  position: relative; z-index: 1;
  width: 420px; padding: 50px 44px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: rgba(255,255,255,0.5);
  border-radius: 0 0 4px 4px;
}

.glass-logo {
  width: 90px; height: 90px; margin: 0 auto 28px;
  background: #fff;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  overflow: hidden;
}
.glass-logo-img { width: 60px; height: 60px; object-fit: contain; }

.glass-title { text-align: center; color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.glass-subtitle { text-align: center; color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 36px; }

.login-page-glass .field { margin-bottom: 18px; }
.login-page-glass .field label {
  display: block; color: rgba(255,255,255,0.9);
  font-size: 13px; margin-bottom: 8px; font-weight: 500;
}
.login-page-glass .input-wrap {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  transition: all 0.3s;
}
.login-page-glass .input-wrap:focus-within {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}
.login-page-glass .input-wrap i { color: rgba(255,255,255,0.5); }
.login-page-glass .input-wrap input {
  background: transparent; border: none; color: #fff;
}
.login-page-glass .input-wrap input::placeholder { color: rgba(255,255,255,0.4); }

.btn-glass {
  width: 100%; padding: 16px;
  background: #fff;
  border: none; border-radius: 14px;
  color: #667eea; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.btn-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}


/* 滚动条：完全浮在内容上面，不占布局空间 */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: transparent;
}

/* 只有鼠标hover到内容区域的时候才显示滚动条 */
.page-container:hover::-webkit-scrollbar {
    width: 6px;
}
.page-container:hover::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}
.page-container:hover::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
