
/* Case library module only: scoped styles. Original site CSS is not replaced. */
.case-module, .case-module *{box-sizing:border-box;}
.case-module{clear:both;background:#FAFAFA;padding:28px 0 48px;color:#333;font-family:"Microsoft YaHei",Arial,sans-serif;}
.case-module a{color:#94070A;text-decoration:none;}
.case-module a:hover{color:#7e0001;text-decoration:none;}
.case-shell{width:80%;max-width:1280px;margin:0 auto;}
.case-hero{background:linear-gradient(180deg,#fff 0%,#fff8f8 100%);border:1px solid #f0e6e6;border-radius:6px;padding:28px 30px 24px;margin-bottom:20px;text-align:center;box-shadow:0 2px 6px rgba(148,7,10,.08);}
.case-hero h1{margin:0 0 12px;font-size:30px;font-weight:700;color:#222;letter-spacing:1px;}
.case-hero p{margin:0 auto;max-width:850px;line-height:1.8;color:#666;font-size:14px;}
.case-stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0;}
.case-stat{background:#fff;border:1px solid #eee;border-radius:6px;padding:20px 22px;display:flex;align-items:center;box-shadow:0 2px 6px rgba(0,0,0,.05);min-height:96px;}
.case-stat-icon{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:16px;font-weight:700;font-size:20px;color:#94070A;background:#fff0f0;border:1px solid #f5d5d5;}
.case-stat:nth-child(2) .case-stat-icon{background:#edf5ff;color:#1d65b7;border-color:#d9e9ff;}
.case-stat:nth-child(3) .case-stat-icon{background:#f5f0ff;color:#7753d3;border-color:#e7dcff;}
.case-stat:nth-child(4) .case-stat-icon{background:#fff5ea;color:#d56a00;border-color:#ffe0bd;}
.case-stat-label{font-size:13px;color:#555;margin-bottom:5px;}
.case-stat-num{font-size:28px;font-weight:700;color:#94070A;line-height:1;}
.case-stat-unit{font-size:12px;color:#777;margin-left:4px;}
.case-filter{background:#fff;border:1px solid #eee;border-radius:6px;padding:18px 20px;margin-bottom:18px;box-shadow:0 2px 6px rgba(0,0,0,.05);}
.case-search-row{position:relative;margin-bottom:14px;}
.case-search-row input{width:100%;height:38px;line-height:38px;border:1px solid #e5e5e5;border-radius:4px;padding:0 42px 0 12px;font-size:14px;color:#333;outline:none;background:#fff;}
.case-search-row input:focus{border-color:#c34b4d;box-shadow:0 0 0 2px rgba(148,7,10,.08);}
.case-search-icon{position:absolute;right:14px;top:9px;color:#999;font-size:16px;}
.case-filter-row{display:grid;grid-template-columns:repeat(4,1fr) 100px;gap:12px;align-items:end;}
.case-filter-item label{display:block;font-size:13px;color:#555;margin-bottom:6px;font-weight:500;}
.case-filter-item select{width:100%;height:36px;border:1px solid #e5e5e5;border-radius:4px;background:#fff;padding:0 8px;color:#333;font-size:13px;outline:none;}
.case-filter-item select:focus{border-color:#c34b4d;}
.case-reset{height:36px;border:none;border-radius:4px;background:#94070A;color:#fff;font-weight:600;cursor:pointer;}
.case-reset:hover{background:#7e0001;}
.case-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px;}
.case-card{background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 2px 6px rgba(0,0,0,.05);padding:12px;min-height:188px;display:flex;flex-direction:column;transition:box-shadow .2s ease,transform .2s ease;}
.case-card:hover{box-shadow:0 6px 16px rgba(148,7,10,.12);transform:translateY(-2px);}
.case-card-top{display:flex;gap:10px;margin-bottom:9px;}
.case-thumb{width:72px;height:62px;border-radius:5px;flex:0 0 72px;background:linear-gradient(135deg,#94070A,#c47d7f);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden;}
.case-thumb strong{font-size:17px;line-height:1;}
.case-thumb span{font-size:11px;opacity:.9;margin-top:5px;}
.case-card-title{font-size:15px;line-height:1.45;font-weight:700;color:#222;margin:0;max-height:44px;overflow:hidden;}
.case-tags{margin:3px 0 6px;min-height:22px;}
.case-tag{display:inline-block;font-size:12px;line-height:20px;padding:0 7px;border-radius:3px;background:#fff1f1;color:#94070A;margin:0 4px 4px 0;border:1px solid #f3d6d6;white-space:nowrap;}
.case-tag.scene{background:#fff7eb;color:#bd6200;border-color:#f3dfbf;}
.case-card-summary{font-size:12px;line-height:1.65;color:#555;margin:0 0 10px;flex:1;max-height:62px;overflow:hidden;}
.case-card-footer{border-top:1px solid #f3f3f3;padding-top:8px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#777;}
.case-view{font-weight:600;color:#94070A;}
.case-empty{display:none;background:#fff;border:1px solid #eee;border-radius:6px;padding:28px;text-align:center;color:#777;}
.case-pagination{text-align:center;margin-top:12px;}
.case-page-btn{display:inline-block;min-width:34px;height:34px;line-height:32px;border:1px solid #e5e5e5;background:#fff;border-radius:4px;margin:0 3px;color:#555;cursor:pointer;}
.case-page-btn.active,.case-page-btn:hover{background:#94070A;color:#fff;border-color:#94070A;}
.case-page-btn.disabled{color:#bbb;background:#f8f8f8;cursor:not-allowed;border-color:#eee;}
.case-detail-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;}
.case-breadcrumb{font-size:13px;color:#777;margin-bottom:14px;}
.case-section-title{font-size:22px;font-weight:700;color:#222;margin:0 0 18px;border-left:4px solid #94070A;padding-left:12px;}
.case-detail-card,.case-side-card{background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 2px 6px rgba(0,0,0,.05);}
.case-detail-card{padding:24px 28px;margin-bottom:18px;}
.case-detail-title{margin:0 0 18px;font-size:26px;line-height:1.4;color:#222;font-weight:700;}
.case-meta-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:12px 0;margin-bottom:18px;}
.case-meta{font-size:13px;color:#333;line-height:1.6;}
.case-meta b{color:#94070A;margin-right:4px;}
.case-summary-box{background:#fffafa;border:1px solid #f0e1e1;border-radius:5px;padding:15px 16px;line-height:1.85;color:#333;margin-bottom:0;}
.case-detail-block{border-top:1px solid #eee;padding:18px 0;}
.case-detail-block:first-child{border-top:none;}
.case-detail-block h3{margin:0 0 8px;font-size:18px;color:#94070A;font-weight:700;}
.case-detail-block p{margin:0;line-height:1.9;color:#333;font-size:14px;}
.case-source-link{word-break:break-all;color:#94070A;font-weight:500;}
.case-side-card{padding:18px;margin-bottom:18px;}
.case-side-title{font-size:18px;color:#94070A;font-weight:700;margin:0 0 14px;display:flex;justify-content:space-between;align-items:center;}
.case-side-title a{font-size:12px;font-weight:400;}
.related-item{display:flex;gap:10px;border-top:1px solid #f2f2f2;padding:12px 0;}
.related-item:first-of-type{border-top:none;padding-top:0;}
.related-thumb{width:72px;height:52px;border-radius:4px;background:linear-gradient(135deg,#94070A,#cc8b8c);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 72px;}
.related-title{font-size:13px;line-height:1.5;font-weight:600;color:#333;max-height:40px;overflow:hidden;}
.related-year{display:inline-block;border:1px solid #f1c7c7;color:#94070A;border-radius:3px;padding:1px 7px;font-size:12px;margin-top:6px;}
.risk-cloud{display:flex;flex-wrap:wrap;gap:8px;}
.risk-pill{display:inline-block;border:1px solid #e6a8aa;border-radius:16px;padding:5px 12px;color:#94070A;background:#fff;line-height:1.4;font-size:13px;}
.risk-pill.active{background:#94070A;color:#fff;border-color:#94070A;}
.case-back-row{margin-bottom:14px;}
@media(max-width:1100px){.case-shell{width:92%;}.case-card-grid{grid-template-columns:repeat(2,1fr);}.case-stat-row{grid-template-columns:repeat(2,1fr);}.case-filter-row{grid-template-columns:repeat(2,1fr);}.case-reset{grid-column:auto;}.case-detail-wrap{grid-template-columns:1fr;}.case-meta-row{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.case-card-grid,.case-stat-row,.case-filter-row{grid-template-columns:1fr;}.case-hero h1{font-size:24px;}.case-detail-title{font-size:22px;}.case-meta-row{grid-template-columns:1fr;}.case-shell{width:94%;}}
