/* 项目经验管理后台 · 企业业务后台风格（浅色 / 高密度 / 表格筛选为核心） */
*{box-sizing:border-box}
body{margin:0;font-family:"PingFang SC","Microsoft YaHei","Segoe UI",system-ui,sans-serif;font-size:13px;color:#1f2329;background:#f5f6f8}
a{color:#2f6fed;text-decoration:none}
a:hover{text-decoration:underline}
.layout{display:flex;min-height:100vh}
.sidebar{width:208px;background:#fff;border-right:1px solid #ebedf1;flex:0 0 208px;padding:14px 0}
.brand{font-size:14px;font-weight:700;color:#1f2329;padding:6px 18px 14px;border-bottom:1px solid #f0f1f4;margin-bottom:6px}
.nav-item{display:block;padding:8px 18px;color:#4e5969}
.nav-item:hover{background:#f5f7fa;text-decoration:none}
.nav-item.active{background:#eef4ff;color:#2f6fed;font-weight:600;border-right:2px solid #2f6fed}
.nav-item.muted{color:#a0a8b3}
.nav-sep{height:1px;background:#f0f1f4;margin:8px 14px}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar{height:48px;background:#fff;border-bottom:1px solid #ebedf1;display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0}
.crumb{color:#4e5969}
.topright{color:#a0a8b3;font-size:12px}
.content{padding:16px 20px;max-width:1320px;width:100%}
h1{font-size:17px;margin:0 0 12px}
h2{font-size:14px;margin:18px 0 8px}

/* 表格 */
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #ebedf1;border-radius:6px;overflow:hidden}
th,td{padding:8px 10px;border-bottom:1px solid #f0f1f4;text-align:left;vertical-align:middle;white-space:nowrap}
th{background:#fafbfc;color:#4e5969;font-weight:600}
tr:hover td{background:#f7f9fc}
td.wrap{white-space:normal}

/* 筛选条 */
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px;background:#fff;border:1px solid #ebedf1;border-radius:6px;padding:10px 12px}
.filters input,.filters select{padding:6px 8px;border:1px solid #dcdfe6;border-radius:4px;font-size:13px;background:#fff}
.filters input[type=text]{min-width:220px}
.btn{padding:6px 12px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;cursor:pointer;font-size:13px;color:#4e5969}
.btn:hover{background:#f5f7fa}
.btn.primary{background:#2f6fed;color:#fff;border-color:#2f6fed}
.btn.primary:hover{background:#1f5fd6}

/* 状态标签（浅色底，克制） */
.st{display:inline-block;padding:1px 8px;border-radius:10px;font-size:12px;line-height:18px}
.st-新建,.st-资料解析中,.st-待分析,.st-待整理,.st-分析中,.st-整理中{background:#eef2ff;color:#3c5edb}
.st-待人工确认{background:#fff7e6;color:#c87d00}
.st-待补充资料,.st-处理异常{background:#fff1f0;color:#cb2b2b}
.st-报告已生成,.st-案例已生成{background:#e6fffb;color:#0a8c7a}
.st-已确认,.st-已关闭{background:#f0f3f6;color:#4e5960}
.st-待分类{background:#fff0f4;color:#b3406f}

/* 首页指标块 */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.tile{background:#fff;border:1px solid #ebedf1;border-radius:6px;padding:14px 16px}
.tile .n{font-size:24px;font-weight:700}
.tile .l{color:#8a909c;font-size:12px;margin-top:2px}
.tile .sub{color:#c87d00;font-size:12px;margin-top:4px}

/* 标签 / 描述 */
.tag{display:inline-block;background:#f0f3f6;color:#4e5960;padding:1px 7px;border-radius:4px;font-size:12px;margin:1px 2px 1px 0}
.tag.src{background:#eef2ff;color:#3c5edb}
.muted{color:#8a909c}
.kv{width:100%}
.kv td{border-bottom:1px solid #f2f3f5;white-space:normal}
.kv td:first-child{color:#8a909c;width:120px}

/* 详情：标签页（静态展示）/分区 */
.tabs{display:flex;gap:0;border-bottom:1px solid #ebedf1;margin-bottom:14px;flex-wrap:wrap}
.tab{padding:8px 16px;color:#4e5969;border-bottom:2px solid transparent;font-size:13px}
.section{background:#fff;border:1px solid #ebedf1;border-radius:6px;padding:14px 16px;margin-bottom:12px}
.section h3{margin:0 0 8px;font-size:14px}
.item{margin:5px 0}
.note{background:#fffbe6;border:1px solid #ffe58f;border-radius:4px;padding:8px 10px;font-size:12.5px;color:#7a5b00;margin-top:10px}

/* 售后排查时间线 */
.timeline{list-style:none;padding-left:6px}
.timeline li{padding:8px 12px 8px 16px;border-left:2px solid #2f6fed;background:#fff;border:1px solid #eef0f3;border-radius:5px;margin-bottom:8px;position:relative}
.timeline li:before{content:"";position:absolute;left:-6px;top:13px;width:8px;height:8px;border-radius:50%;background:#2f6fed}

.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
.actions form{display:inline}

/* 报告 / 案例 · 连贯文档式呈现 */
.report{max-width:940px;margin:0 auto;background:#fff;border:1px solid #ebedf1;border-radius:8px;padding:30px 40px 36px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.report .rpt-title{font-size:20px;margin:0 0 4px;color:#1f2329}
.report .rpt-meta{color:#8a909c;font-size:12.5px;line-height:1.9}
.report .rpt-summary{background:#f7f9fc;border-left:3px solid #2f6fed;padding:10px 14px;border-radius:4px;margin:14px 0 8px;font-size:13.5px;line-height:1.9}
.report .rpt-summary b{color:#1f2329}
.report .rpt-ver{font-size:12px;color:#8a909c;margin:6px 0 18px}
.report .rpt-sec{margin:18px 0}
.report .rpt-sec>h2{font-size:15px;margin:0 0 8px;color:#1f2329;padding-left:9px;border-left:3px solid #2f6fed;line-height:1.4}
.report .rpt-sec .item{font-size:13.5px;margin:7px 0;line-height:1.85;color:#333}
.report .rpt-sec ul{margin:6px 0;padding-left:22px}
.report .rpt-sec li{margin:4px 0;font-size:13.5px;line-height:1.8;color:#333}
.report .kv{margin-top:6px}
.report .badge{display:inline-block;background:#eef2ff;color:#3c5edb;padding:1px 6px;border-radius:4px;font-size:11px;margin:0 6px 0 0;vertical-align:middle}
.report .tag{display:inline-block;background:#f0f3f6;color:#4e5960;padding:1px 7px;border-radius:4px;font-size:11.5px;margin:1px 3px 1px 0}
.report .timeline{margin:6px 0}
.report .muted{color:#8a909c}
.rpt-toolbar{max-width:940px;margin:0 auto 10px;display:flex;justify-content:space-between;align-items:center}
