/* 迈安CAS · 全站样式 · 延续ICRM设计语言 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;background:linear-gradient(135deg,#f0f4ff,#faf5ff,#fefce8);min-height:100vh;color:#1e293b}
.hidden{display:none!important}
button{cursor:pointer;font-family:inherit}
a{text-decoration:none;color:inherit}
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}

/* ===== Welcome Page ===== */
#welcome{max-width:1200px;margin:0 auto;padding:60px 40px 40px}
.title-area{text-align:center;margin-bottom:40px}
.title-brand{font-size:42px;font-weight:800;background:linear-gradient(135deg,#4f46e5,#7c3aed,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-1px}
.title-sub{font-size:28px;font-weight:700;color:#1e293b;margin-top:6px}
.title-sub small{font-size:16px;font-weight:400;color:#64748b;margin-left:10px}
.title-desc{color:#64748b;margin-top:8px;font-size:15px;max-width:600px;margin-left:auto;margin-right:auto;line-height:1.6}
.enter-btn-area{text-align:center;margin:32px 0 28px}
.enter-btn{display:inline-flex;align-items:center;gap:12px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:20px;font-weight:600;padding:18px 48px;border-radius:16px;border:none;cursor:pointer;box-shadow:0 4px 24px rgba(79,70,229,.35);transition:transform .15s,opacity .15s}
.enter-btn:hover{transform:scale(1.02);opacity:.95}
.enter-btn:active{transform:scale(.97)}

/* Feature Grid - 4 columns PC */
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1100px;margin:0 auto}
.feature-card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 1px 6px rgba(0,0,0,.06);cursor:pointer;transition:transform .15s,box-shadow .15s;border:1px solid rgba(0,0,0,.04);position:relative;overflow:hidden;display:flex;flex-direction:column}
.feature-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.feature-card:active{transform:scale(.97)}
.feature-card .fc-accent{position:absolute;top:0;left:0;width:100%;height:3px}
.fc-accent.dashboard{background:linear-gradient(90deg,#f59e0b,#fbbf24)}
.fc-accent.seo{background:linear-gradient(90deg,#4f46e5,#6366f1)}
.fc-accent.ads{background:linear-gradient(90deg,#059669,#10b981)}
.fc-accent.geo{background:linear-gradient(90deg,#7c3aed,#a855f7)}
.fc-accent.social{background:linear-gradient(90deg,#2563eb,#3b82f6)}
.fc-accent.config{background:linear-gradient(90deg,#6b7280,#9ca3af)}
.fc-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:4px}
.fc-title{font-size:16px;font-weight:700;color:#111827;margin-bottom:0;margin-top:-2px}
.fc-desc{font-size:13px;color:#6b7280;line-height:1.5;flex:1}
.fc-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;align-self:flex-start;margin-top:6px}

/* ===== CAS Shell (PC Sidebar Layout) ===== */
#cas{max-width:1600px;margin:0 auto}
.cas-body{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;background:#f8fafc}

/* Sidebar */
.sidebar{width:220px;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;flex-shrink:0;z-index:10}
.sidebar-header{padding:20px 16px 16px;border-bottom:1px solid #f1f5f9}
.sidebar-brand{font-size:18px;font-weight:800;background:linear-gradient(135deg,#4f46e5,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.sidebar-version{font-size:11px;color:#94a3b8;margin-top:2px}
.sidebar-nav{padding:12px 8px;flex:1;overflow-y:auto}
.nav-item{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;font-size:14px;font-weight:500;color:#475569;transition:background .1s;margin-bottom:2px;border:none;background:transparent;width:100%;text-align:left}
.nav-item:hover{background:#f1f5f9}
.nav-item.active{background:#eef2ff;color:#4f46e5;font-weight:600}
.nav-item .nav-icon{width:20px;text-align:center;font-size:15px}
.sidebar-footer{padding:12px 16px;border-top:1px solid #f1f5f9;font-size:12px;color:#94a3b8;display:flex;align-items:center;justify-content:space-between}
.sidebar-back{background:#f1f5f9;border:none;border-radius:8px;padding:6px 12px;font-size:12px;color:#475569;cursor:pointer}
.sidebar-back:hover{background:#e2e8f0}

/* Main Wrap */
.main-wrap{flex:1;display:flex;flex-direction:column;overflow:hidden}

/* Top Bar */
.top-bar{background:#fff;border-bottom:1px solid #e5e7eb;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.top-bar-left{display:flex;align-items:center;gap:12px}
.top-bar-title{font-size:20px;font-weight:700;color:#1e293b}
.top-bar-sub{font-size:13px;color:#64748b}
.top-bar-right{display:flex;align-items:center;gap:12px}
.top-time{font-size:13px;color:#94a3b8}
.top-status{display:flex;align-items:center;gap:6px;font-size:12px;color:#22c55e;background:#f0fdf4;padding:4px 12px;border-radius:20px;font-weight:500}
.top-status .dot{width:6px;height:6px;border-radius:50%;background:#22c55e;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* Main Content */
.main-content{flex:1;overflow-y:auto;padding:24px}
.content-section{display:none}
.content-section.active{display:block}

/* ===== Dashboard ===== */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.stat-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 6px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.04)}
.stat-card .stat-label{font-size:13px;color:#64748b;margin-bottom:8px;display:flex;align-items:center;gap:6px}
.stat-card .stat-value{font-size:32px;font-weight:800;color:#1e293b;line-height:1.1}
.stat-card .stat-change{font-size:13px;margin-top:4px;font-weight:500}
.stat-change.up{color:#22c55e}
.stat-change.down{color:#ef4444}
.chart-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:24px}
.chart-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 6px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.04)}
.chart-card .chart-title{font-size:15px;font-weight:600;color:#1e293b;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.chart-placeholder{min-height:200px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:14px;background:#f8fafc;border-radius:8px;border:1px dashed #e2e8f0}

/* ===== Common Components ===== */
.section-header{display:none}
.section-header h2{font-size:18px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.section-header .h2-sub{font-size:13px;font-weight:400;color:#64748b}
.input-group{display:flex;gap:10px;margin-bottom:16px}
.input-group input[type="text"],.input-group input[type="url"],.input-group input[type="number"]{flex:1;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;outline:none;transition:border .15s}
.input-group input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.1)}
.btn-primary{background:#4f46e5;color:#fff;padding:10px 24px;border-radius:8px;border:none;font-size:14px;font-weight:600;transition:background .15s;display:inline-flex;align-items:center;gap:6px}
.btn-primary:hover{background:#4338ca}
.btn-secondary{background:#f1f5f9;color:#475569;padding:10px 24px;border-radius:8px;border:none;font-size:14px;font-weight:500;transition:background .15s;display:inline-flex;align-items:center;gap:6px}
.btn-secondary:hover{background:#e2e8f0}

.result-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 6px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.04);margin-bottom:16px}
.result-card .rc-title{font-size:15px;font-weight:600;color:#1e293b;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.result-card .rc-desc{font-size:13px;color:#64748b;line-height:1.6}

/* Score Ring */
.score-ring{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;flex-shrink:0}
.score-ring.good{background:#d1fae5;color:#059669}
.score-ring.mid{background:#fef9c3;color:#ca8a04}
.score-ring.bad{background:#fee2e2;color:#dc2626}

.issue-list{list-style:none;padding:0}
.issue-list li{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid #f1f5f9;font-size:13px;color:#475569;line-height:1.5}
.issue-list li:last-child{border-bottom:none}
.issue-list .issue-icon{flex-shrink:0;width:18px;text-align:center;margin-top:1px}

.priority-tag{display:inline-block;padding:1px 8px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}
.priority-p0{background:#fee2e2;color:#dc2626}
.priority-p1{background:#fef9c3;color:#ca8a04}
.priority-p2{background:#dbeafe;color:#2563eb}
.priority-p3{background:#f1f5f9;color:#6b7280}

.badge{display:inline-block;padding:2px 7px;border-radius:4px;font-size:11px;font-weight:600}
.badge-green{background:#d1fae5;color:#059669}
.badge-yellow{background:#fef9c3;color:#ca8a04}
.badge-red{background:#fee2e2;color:#dc2626}
.badge-blue{background:#dbeafe;color:#2563eb}
.badge-purple{background:#f3e8ff;color:#9333ea}

.pill{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:500;margin:2px}
.pill-red{background:#fee2e2;color:#dc2626}
.pill-green{background:#d1fae5;color:#059669}
.pill-blue{background:#dbeafe;color:#2563eb}
.pill-gray{background:#f3f4f6;color:#6b7280}
.pill-yellow{background:#fef9c3;color:#ca8a04}

/* ===== Tables ===== */
.data-table{width:100%;border-collapse:collapse;font-size:13px}
.data-table th{text-align:left;padding:10px 12px;font-weight:600;color:#64748b;border-bottom:2px solid #e2e8f0;font-size:12px;text-transform:uppercase;letter-spacing:.5px}
.data-table td{padding:10px 12px;border-bottom:1px solid #f1f5f9;color:#475569}
.data-table tr:hover td{background:#f8fafc}

/* ===== Platform Grid ===== */
.platform-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pill-group{display:flex;flex-wrap:wrap;gap:6px}

/* select styling */
select{padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;outline:none;background:#fff;cursor:pointer}
select:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.1)}

/* textarea */
textarea{font-family:inherit}
textarea:focus{border-color:#4f46e5!important;box-shadow:0 0 0 3px rgba(79,70,229,.1)}

/* ===== Responsive ===== */
@media(max-width:1200px){
  .feature-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1024px){
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .chart-grid{grid-template-columns:1fr}
  .platform-grid,.config-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .sidebar{width:60px}
  .sidebar-brand,.sidebar-version,.nav-item .nav-text{display:none}
  .nav-item{justify-content:center;padding:10px}
  .feature-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr}
  #welcome{padding:30px 16px}
  .title-brand{font-size:28px}
}

/* ===== 运营日点检系统 ===== */
/* ===== 运营日点检系统 ===== */
#checkboard{background:#fff;border-radius:12px;border:1px solid #e2e8f0;padding:16px 20px;margin:0 0 16px 0;box-shadow:0 1px 3px rgba(0,0,0,.04)}
#checkboard .rc-title{font-size:16px;margin-bottom:10px}
#checkboard .cb-pbar{height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden;margin-bottom:6px}
#checkboard .cb-pfill{height:100%;background:linear-gradient(90deg,#6366f1,#a78bfa);border-radius:3px;transition:width .3s}
#checkboard .cb-stat-bar{display:flex;justify-content:space-between;font-size:12px;color:#64748b;margin-bottom:12px}
#checkboard .cb-pct{font-weight:600;color:#6366f1}
#checkboard .cb-grp{margin-bottom:10px}
#checkboard .cb-ghdr{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;color:#475569;margin-bottom:4px}
#checkboard .cb-mbar{height:3px;background:#f1f5f9;border-radius:2px;overflow:hidden;margin-bottom:6px}
#checkboard .cb-mfill{height:100%;background:#cbd5e1;border-radius:2px;transition:width .3s}
#checkboard .cb-gitems{display:flex;flex-wrap:wrap;gap:3px}
#checkboard .cb-i{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:20px;border:1px solid #e2e8f0;background:#f8fafc;font-size:11px;color:#475569;cursor:pointer;transition:all .1s;white-space:nowrap}
#checkboard .cb-i:hover{border-color:#6366f1;background:#eef2ff}
#checkboard .cb-i.done{background:#f0fdf4;border-color:#86efac;color:#166534}
#checkboard .cb-ck{font-size:10px}
#checkboard .cb-tm{font-size:9px;color:#94a3b8;margin-left:1px}
#checkboard .cb-smr{margin-top:10px;padding-top:10px;border-top:1px solid #f1f5f9}
#checkboard .cb-sminput{width:100%;min-height:48px;padding:6px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;font-family:inherit;resize:vertical;outline:none;margin-top:4px}
#checkboard .cb-sminput:focus{border-color:#6366f1}

/* 嵌入式极简横条（各模块顶部） */
.cb-embed{background:#f8fafc;border-radius:8px;padding:6px 12px;margin-bottom:10px;border:1px solid #e2e8f0;cursor:pointer;transition:background .1s}
.cb-embed:hover{background:#eef2ff}
.cb-strip{display:flex;align-items:center;gap:8px;font-size:12px}
.cb-strip-icon{font-size:14px}
.cb-strip-label{color:#475569;font-weight:500;flex-shrink:0}
.cb-strip-num{color:#94a3b8;font-size:11px;flex-shrink:0}
.cb-strip-bar{flex:1;height:4px;background:#e2e8f0;border-radius:2px;overflow:hidden}
.cb-strip-fill{height:100%;background:#a78bfa;border-radius:2px;transition:width .3s}
.cb-strip-panel{display:none;flex-wrap:wrap;gap:3px;margin-top:6px;padding-top:6px;border-top:1px dashed #e2e8f0}
.cb-strip-panel .cb-i{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:20px;border:1px solid #e2e8f0;background:#fff;font-size:11px;color:#475569;cursor:pointer}
.cb-strip-panel .cb-i.done{background:#f0fdf4;border-color:#86efac;color:#166534}

/* ═══ 钻取弹窗 ═══ */
.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.4);z-index:9999;display:flex;align-items:center;justify-content:center}
.modal-box{background:#fff;border-radius:12px;width:90%;max-width:520px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,0.15)}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #f1f5f9}
.modal-title{font-weight:700;font-size:15px;color:#1e293b}
.modal-close{background:none;border:none;font-size:18px;color:#94a3b8;cursor:pointer;padding:4px 8px;border-radius:6px}
.modal-close:hover{background:#f1f5f9;color:#475569}
.modal-body{padding:16px 20px;overflow-y:auto;flex:1}
.modal-body table{width:100%;border-collapse:collapse;font-size:13px}
.modal-body td,.modal-body th{padding:8px 10px;text-align:left;border-bottom:1px solid #f1f5f9}
.modal-body th{color:#64748b;font-weight:600;font-size:12px;background:#f8fafc}
.modal-body tr:hover{background:#f8fafc}
.modal-empty{padding:20px;text-align:center;color:#94a3b8;font-size:13px}
.stat-clickable{cursor:pointer;transition:opacity .15s}
.stat-clickable:hover{opacity:0.75}

/* === 小艺爬虫 · SEO诊断样式 === */
.issue-item {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: flex-start;
}
.issue-item.p0 { border-left: 3px solid #ef4444; padding-left: 8px; }
.issue-item.p1 { border-left: 3px solid #f59e0b; padding-left: 8px; }
.issue-item.p2 { border-left: 3px solid #3b82f6; padding-left: 8px; }
.issue-priority {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.p0 .issue-priority { background: #fef2f2; color: #ef4444; }
.p1 .issue-priority { background: #fffbeb; color: #f59e0b; }
.p2 .issue-priority { background: #eff6ff; color: #3b82f6; }
.issue-content { flex: 1; }
.issue-title { font-weight: 600; font-size: 14px; color: #1e293b; }
.issue-desc { font-size: 12px; color: #64748b; margin-top: 2px; word-break: break-all; }

/* === 修复建议样式 === */
.issue-fix {
  font-size: 12px;
  color: #6366f1;
  margin-top: 4px;
  line-height: 1.5;
  background: #eef2ff;
  padding: 4px 8px;
  border-radius: 4px;
}

/* === SEO诊断 · 双Tab样式 === */
.seo-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
}
.seo-tab {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s;
}
.seo-tab:hover {
  background: #e2e8f0;
}
.seo-tab.active {
  background: #fff;
  color: #1e293b;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ===== 外贸数据驾驶舱 ===== */
.tc-card{background:#fff;border-radius:10px;padding:14px;border:1px solid #e2e8f0}
.tc-card .tc-num{font-size:28px;font-weight:800;color:#1e293b;line-height:1.2;margin-top:4px}
.tc-card .tc-change{font-size:12px;margin-top:2px;color:#64748b}
.trade-panel{min-height:180px}
.trade-panel .warning-item{display:flex;align-items:flex-start;gap:8px;padding:10px 0;border-bottom:1px solid #e2e8f0}
.trade-panel .warning-item:last-child{border-bottom:none}
.trade-panel .suggestion-item{display:flex;align-items:flex-start;gap:8px;padding:10px 0;border-bottom:1px solid #e0e7ff}
.trade-panel .suggestion-item:last-child{border-bottom:none}
.trade-panel .strategy-item{padding:10px 14px;margin-bottom:8px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;font-size:13px;color:#166534;line-height:1.5}
.review-section{background:#fff;border-radius:10px;padding:14px;margin-bottom:12px;border:1px solid #e2e8f0}
.review-section .rs-role{font-size:14px;font-weight:600;color:#4f46e5;margin-bottom:6px}
.review-section .rs-title{font-size:13px;font-weight:600;color:#1e293b;margin-bottom:6px}
.review-section .rs-item{padding:3px 0;font-size:12px;color:#475569;line-height:1.5;padding-left:12px;border-left:2px solid #e0e7ff;margin-bottom:4px}
.action-block{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:14px;margin-top:12px}
.action-block .ab-item{display:flex;gap:8px;padding:6px 0;font-size:12px;line-height:1.4}

.desktop-btn{background:#eef2ff;border:none;border-radius:8px;padding:6px 14px;font-size:13px;font-weight:600;color:#4f46e5;cursor:pointer;display:flex;align-items:center;gap:4px;transition:background .15s;flex-shrink:0}
.desktop-btn:hover{background:#ddd6fe}
.desktop-btn:active{background:#c7d2fe}

/* 📊 总览仪表盘 v4 新增 */
.kpi-card { background:#fff; border:1px solid #e2e8f0; border-radius:8px; padding:8px 10px; text-align:center; min-height:52px; }
.kpi-value { font-size:16px; font-weight:700; color:#1e293b; margin:2px 0; }
.kpi-value.good { color:#16a34a; }
.kpi-value.bad { color:#dc2626; }
.range-btn { padding:3px 10px; border:1px solid #e2e8f0; border-radius:5px; background:#fff; color:#64748b; font-size:11px; cursor:pointer; transition:all .15s; }
.range-btn:hover { border-color:#6366f1; color:#6366f1; }
.range-btn.active { background:#6366f1; color:#fff; border-color:#6366f1; font-weight:600; }
#alertRow { font-size:12px; }
#healthTrendChart { opacity:0.8; }

/* 🚀 渠道运营驾驶舱 */
.ops-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:16px; }
.ops-header { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.ops-icon { font-size:20px; }
.ops-title { font-size:15px; font-weight:700; color:#1e293b; flex:1; }
.ops-status { font-size:11px; padding:2px 10px; border-radius:10px; font-weight:500; }
.ops-status.good { background:#dcfce7; color:#16a34a; }
.ops-status.warning { background:#fef3c7; color:#d97706; }
.ops-status.critical { background:#fef2f2; color:#dc2626; }
.ops-stat { text-align:center; background:#f8fafc; border-radius:8px; padding:8px 4px; }
.ops-stat-val { display:block; font-size:18px; font-weight:700; color:#1e293b; }
.ops-stat-label { display:block; font-size:10px; color:#94a3b8; margin-top:1px; }
.ops-detail { font-size:12px; color:#475569; }
.ops-actions { display:flex; gap:6px; flex-wrap:wrap; }
.ops-btn { padding:5px 12px; border:none; border-radius:6px; font-size:11px; cursor:pointer; background:#6366f1; color:#fff; font-weight:500; transition:all .15s; }
.ops-btn:hover { background:#4f46e5; }
.ops-btn.outline { background:#fff; border:1px solid #e2e8f0; color:#64748b; }
.ops-btn.outline:hover { border-color:#6366f1; color:#6366f1; background:#f8faff; }

/* ═══════ Skeleton loading (enhanced dashboard) ═══════ */
.skeleton { display:inline-block; min-width:40px; height:1.2em; background:linear-gradient(90deg,#e2e8f0 25%,#f1f5f9 50%,#e2e8f0 75%); background-size:200%% 100%; animation:skeleton-pulse 1.5s ease-in-out infinite; border-radius:4px; color:transparent !important; pointer-events:none; }
.kpi-value.skeleton { height:1.5em; display:inline-block; min-width:30px; }
@keyframes skeleton-pulse { 0%{background-position:200%% 0} 100%{background-position:-200%% 0} }
.stat-clickable { cursor:pointer; }
.stat-clickable:hover { opacity:0.8; }
