.statistics-dashboard-head,.statistics-detail-head{position:relative;overflow:hidden;margin-bottom:18px;border:1px solid #c7d2db;background:linear-gradient(120deg,#173f59,#245f7b);color:#fff;padding:28px 34px}
.statistics-dashboard-head:after,.statistics-detail-head:after{position:absolute;right:-60px;bottom:-125px;width:250px;height:250px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 36px rgba(255,255,255,.035),0 0 0 72px rgba(255,255,255,.02);content:""}
.statistics-dashboard-head>span,.statistics-detail-head>span{color:#e8c477;font:800 .66rem ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em}.statistics-dashboard-head h1,.statistics-detail-head h1{position:relative;z-index:1;margin:5px 0 4px;color:#fff;font:600 2rem/1.2 Georgia,"Noto Serif SC",serif}.statistics-dashboard-head p,.statistics-detail-head p{position:relative;z-index:1;max-width:680px;margin:0;color:#c9dbe4;font-size:.82rem}
.statistics-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.statistics-module-card{--module-color:#247398;position:relative;display:flex;min-height:270px;overflow:hidden;flex-direction:column;border:1px solid #d3dde4;border-top:4px solid var(--module-color);background:#fff;padding:24px;box-shadow:0 8px 24px rgba(27,57,76,.055);transition:transform .18s ease,box-shadow .18s ease}.statistics-module-card:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(27,57,76,.11)}.statistics-module-index{position:absolute;top:14px;right:18px;color:#dfe7ec;font:600 2rem Georgia,serif}.statistics-module-icon{display:grid;width:42px;height:42px;place-items:center;margin-bottom:18px;border-radius:50%;background:color-mix(in srgb,var(--module-color) 12%,white);color:var(--module-color);font-weight:850}.statistics-module-card h2{margin:0;color:#203e52;font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:1.14rem}.statistics-module-card p{margin:8px 0 20px;color:#718591;font-size:.76rem;line-height:1.65}.statistics-module-card footer{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;margin-top:auto;border-top:1px solid #e1e7eb;padding-top:16px;padding-right:23px}.statistics-module-card footer>span{display:flex;min-width:0;flex-direction:column}.statistics-module-card footer strong{color:#173f59;font:600 1.5rem/1 Georgia,serif}.statistics-module-card footer small{margin-top:5px;overflow:hidden;color:#748895;font-size:.66rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.statistics-module-card footer b{position:absolute;right:0;bottom:0;color:var(--module-color);font-size:1.35rem}.statistics-module-card footer [data-metric="in-progress"] strong{color:var(--module-color)}.module-users{--module-color:#3b806c}.module-escorts{--module-color:#b17d2c}.module-diseases{--module-color:#8a5b92}.module-hospitals{--module-color:#3d6596}.module-doctors{--module-color:#a8574c}
.statistics-back{position:relative;z-index:2;display:inline-block;margin-bottom:16px;color:#d6e6ee;font-size:.76rem;font-weight:700}.statistics-date-filter{display:grid;grid-template-columns:160px 160px auto;align-items:end;gap:11px;margin:0 0 18px;border:1px solid #d4dde3;background:#fff;padding:16px 18px}.statistics-date-filter label{margin:0}.statistics-date-filter label>span{font-size:.72rem}.statistics-date-filter input{min-height:40px;padding:7px 9px}.statistics-date-filter .button{min-height:40px;padding:7px 20px}.statistics-snapshot-note{display:flex;align-items:center;gap:10px;margin-bottom:18px;border:1px solid #d3dee4;background:#f4f8fa;padding:12px 16px;color:#5e7482;font-size:.78rem}.statistics-snapshot-note span{display:grid;width:23px;height:23px;place-items:center;border-radius:50%;background:#376d88;color:#fff;font:bold .72rem Georgia,serif}
.statistics-detail-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.statistics-detail-cards>div{display:flex;min-height:96px;flex-direction:column;justify-content:center;border:1px solid #d5dee5;border-top:3px solid #bc8d34;background:#fff;padding:15px 19px}.statistics-detail-cards strong{color:#173f59;font:600 2rem/1 Georgia,"Noto Serif",serif}.statistics-detail-cards span{margin-top:8px;color:#6b7e8b;font-size:.75rem}
.statistics-channel-summary{margin-bottom:18px;padding:0}.statistics-channel-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;border-top:1px solid #d8e0e5;background:#d8e0e5}.statistics-channel-card-grid>div{position:relative;display:flex;min-height:92px;flex-direction:column;background:#fff;padding:16px 18px}.statistics-channel-card-grid i{position:absolute;top:0;left:0;width:100%;height:3px;background:var(--channel-color)}.statistics-channel-card-grid span{color:#667c89;font-size:.72rem;line-height:1.4}.statistics-channel-card-grid strong{margin-top:auto;color:#173f59;font:600 1.75rem/1 Georgia,"Noto Serif",serif}
.statistics-panel{padding:0}.statistics-series-legend{display:flex;gap:8px 16px;flex-wrap:wrap;padding:14px 18px 0}.statistics-series-legend span{display:flex;align-items:center;gap:6px;color:#5b7180;font-size:.7rem}.statistics-series-legend i{width:9px;height:9px;border-radius:2px;background:var(--channel-color)}.consultation-daily-chart{display:grid;gap:5px;margin:14px 18px 0;border:1px solid #d8e0e5;background:#fff;padding:14px 16px}.consultation-chart-row{display:grid;grid-template-columns:86px minmax(120px,1fr) 38px;align-items:center;gap:10px;min-height:23px}.consultation-chart-row time{color:#657b89;font:700 .69rem ui-monospace,SFMono-Regular,Consolas,monospace}.consultation-chart-row>b{color:#334e60;font-size:.75rem;text-align:right}.consultation-chart-track{display:flex;height:13px;overflow:hidden;border-radius:2px;background:#edf1f3}.consultation-chart-track span{height:100%;flex:none;background:var(--channel-color)}
.channel-color-0{--channel-color:#246b8e}.channel-color-1{--channel-color:#b8862f}.channel-color-2{--channel-color:#2f806b}.channel-color-3{--channel-color:#7a5c9e}.channel-color-4{--channel-color:#c45e47}.channel-color-5{--channel-color:#4e8bbd}.channel-color-6{--channel-color:#7b9142}.channel-color-7{--channel-color:#bd6d99}.channel-color-8{--channel-color:#47756f}.channel-color-9{--channel-color:#8c6b4d}
.statistics-daily-table{margin-top:17px;border-top:1px solid #d8e0e5}.statistics-daily-table table{font-variant-numeric:tabular-nums}.statistics-daily-table th,.statistics-daily-table td{text-align:right;white-space:nowrap}.statistics-daily-table th:first-child,.statistics-daily-table td:first-child{text-align:left}.statistics-distribution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.statistics-distribution-grid>.statistics-panel:only-child{grid-column:1/-1}.statistics-distribution-list{display:grid;gap:15px;padding:18px}.statistics-distribution-list>div{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:5px 12px}.statistics-distribution-list header{display:flex;grid-column:1/-1;justify-content:space-between;gap:14px;color:#526b7a;font-size:.76rem}.statistics-distribution-list header strong{color:#29495d}.statistics-distribution-list>div>div{height:8px;overflow:hidden;border-radius:10px;background:#e8edf0}.statistics-distribution-list>div>div i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#286d8e,#55a08a)}.statistics-distribution-list small{color:#738894;font:700 .69rem ui-monospace,SFMono-Regular,Consolas,monospace;text-align:right}
@media(max-width:950px){.statistics-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-detail-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-channel-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.statistics-dashboard-head,.statistics-detail-head{padding:24px 20px}.statistics-module-grid,.statistics-distribution-grid,.statistics-detail-cards,.statistics-date-filter,.statistics-channel-card-grid{grid-template-columns:1fr}.statistics-module-card{min-height:250px}.consultation-chart-row{grid-template-columns:74px minmax(80px,1fr) 30px}.consultation-daily-chart{margin:12px 10px 0;padding:11px 9px}}
.order-stats-panel{margin-top:22px;border:1px solid #c7d2db;background:#fff;box-shadow:0 8px 24px rgba(23,63,89,.06)}
.order-stats-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;padding:22px 26px 16px;border-bottom:1px solid #e1e8ed;background:linear-gradient(120deg,#f7fafc,#eef4f7)}
.order-stats-title span{color:#b3893f;font:800 .64rem ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em}
.order-stats-title h2{margin:4px 0 3px;color:#1d4258;font:600 1.25rem/1.3 Georgia,"Noto Serif SC",serif}
.order-stats-title p{margin:0;color:#738894;font-size:.78rem}
.order-stats-tabs{display:flex;gap:6px;flex-wrap:wrap}
.order-stats-tabs a{padding:7px 15px;border:1px solid #c2cfd8;border-radius:2px;background:#fff;color:#4a6575;font-size:.78rem;font-weight:600;text-decoration:none;transition:all .15s}
.order-stats-tabs a:hover{border-color:#245f7b;color:#1d4258}
.order-stats-tabs a.active{background:#245f7b;border-color:#245f7b;color:#fff}
.order-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.order-stats-block{padding:20px 26px 22px}
.order-stats-block:first-child{border-right:1px solid #e1e8ed}
.order-stats-block h3{margin:0 0 12px;padding-bottom:9px;border-bottom:2px solid #245f7b;color:#1d4258;font-size:.95rem;font-weight:700}
.order-stats-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.order-stats-table th{padding:8px 10px;color:#738894;font-size:.72rem;font-weight:600;text-align:left;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e1e8ed}
.order-stats-table th:nth-child(n+2),.order-stats-table td:nth-child(n+2){text-align:right;white-space:nowrap}
.order-stats-table td{padding:10px;border-bottom:1px solid #eef2f5;color:#2c475a;font-size:.86rem}
.order-stats-table td:last-child{color:#9d493e;font-weight:700}
.order-stats-summary{display:flex;gap:34px;flex-wrap:wrap;padding:14px 26px;border-top:1px solid #e1e8ed;background:#f7fafc;color:#526b7a;font-size:.82rem}
.order-stats-summary strong{color:#1d4258;font-size:1.02rem;font-variant-numeric:tabular-nums}
@media(max-width:760px){.order-stats-grid{grid-template-columns:1fr}.order-stats-block:first-child{border-right:0;border-bottom:1px solid #e1e8ed}}
/* 故事标签（后台详情/标签管理页） */
.story-tag{display:inline-block;padding:2px 10px;border-radius:999px;background:#eef4ff;color:#1f6feb;font-size:.78rem;margin:0 6px 4px 0}
.story-tag.tag-HOSPITAL{background:#eefaf2;color:#1a8a4a}
.story-tag.tag-DISEASE_NAME{background:#eef4ff;color:#1f6feb}
.story-tag.tag-EXPERIENCE{background:#fdeeec;color:#c0392b}
.story-tag.tag-DISEASE_CATEGORY{background:#eefaf2;color:#1a8a4a}
.story-tag.tag-HOSPITAL_KEYWORD{background:#fff7ed;color:#b45309}
.story-tag.tag-POLICY{background:#f3efff;color:#6f3fd1}
.story-tag.tag-OTHER{background:#f1f4f8;color:#4a5668}
.story-tag-group-title{margin:22px 0 10px;font-size:1rem;color:#1d4258}
.story-tag-actions{white-space:nowrap}
.story-tag-enabled-form{display:inline}
