html,body,#root{margin:0;min-height:100%;height:100%;overflow-x:hidden;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}body{background:#f5f7fb;color:#111827}.admin-shell{min-height:100vh}.admin-header{padding:0 20px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between}.admin-brand{font-size:16px;font-weight:600}.admin-content{padding:20px}.page-stack{display:flex;flex-direction:column;gap:16px}.page-section{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.page-heading{margin:0 0 8px;font-size:20px;font-weight:600}.page-subheading{margin:0;color:#6b7280;font-size:13px}.toolbar-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.toolbar-row .ant-input,.toolbar-row .ant-picker,.toolbar-row .ant-select{width:220px}.xiaoe-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.xiaoe-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.xiaoe-toolbar{margin-bottom:16px}.ant-table-tbody>tr{cursor:pointer}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-tbody>tr>td{padding:5px 8px;line-height:1.25}.ant-table-wrapper .ant-table-small .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-small .ant-table-tbody>tr>td{padding:4px 6px}.ant-table-wrapper .ant-table-content{overflow-x:hidden!important}.table-ellipsis{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.table-actions{flex-wrap:nowrap;white-space:nowrap}.music-scroll-table .ant-table-body{overscroll-behavior:contain;scrollbar-gutter:stable}.scheme-detail-panel,.scheme-mapping-editor{display:flex;flex-direction:column;gap:12px}.scheme-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:18px;align-items:start}.scheme-editor-main{min-width:0}.scheme-mapping-editor{min-width:0;padding:14px;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc}.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.patient-health-section{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid #dbeafe;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbff)}.patient-health-section__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.patient-health-section__header h3{margin:0;font-size:16px;color:#111827}.patient-health-section__header p{margin:6px 0 0;color:#6b7280;font-size:13px;line-height:1.6}.patient-telemetry-panel{display:flex;flex-direction:column;gap:16px}.patient-telemetry-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.telemetry-query-section{display:flex;flex-direction:column;gap:12px;padding-top:14px;border-top:1px solid #e5e7eb}.telemetry-diagnostic,.telemetry-diagnostic-issues,.telemetry-diagnostic-devices{display:flex;flex-direction:column;gap:8px}.telemetry-diagnostic-summary{display:flex;flex-wrap:wrap;gap:6px}.telemetry-diagnostic-summary .ant-tag{margin-inline-end:0}.telemetry-diagnostic-issues{margin:0;padding-left:20px}.telemetry-diagnostic-issues li span,.telemetry-diagnostic-devices,.telemetry-diagnostic p{color:#4b5563}.telemetry-diagnostic-issues li span{display:block;margin-top:2px}.telemetry-diagnostic p{margin:0}.telemetry-export-form{display:flex;flex-direction:column;gap:14px}.telemetry-export-form>div:not(.ant-alert){display:flex;flex-direction:column;gap:6px}.telemetry-export-form label{color:#374151;font-size:13px}.telemetry-export-summary{color:#6b7280;font-size:13px}.telemetry-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.telemetry-latest-meta,.telemetry-cell-stack{display:flex;flex-direction:column;align-items:flex-start;gap:3px;color:#6b7280;font-size:12px}.telemetry-latest-meta .ant-tag,.telemetry-cell-stack .ant-tag{margin-inline-end:0}.telemetry-id-cell{overflow-wrap:anywhere}.telemetry-mobile-record,.telemetry-mobile-record>div{display:flex;align-items:center;gap:8px;min-width:0}.telemetry-mobile-record{flex-direction:column;align-items:stretch}.telemetry-mobile-record>div{justify-content:space-between}.telemetry-mobile-record .ant-tag{margin-inline-end:0}.telemetry-chart-shell{width:100%;overflow:hidden}.telemetry-chart{display:block;width:100%;height:240px}.telemetry-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.telemetry-line-primary{stroke:#1677ff}.telemetry-line-secondary{stroke:#d4380d}.telemetry-chart-caption{color:#6b7280;font-size:12px;text-align:right}.therapy-session-metric-controls{display:flex;align-items:center;gap:8px;flex:0 0 auto}.therapy-session-metric-controls .ant-tag{margin-inline-end:0}.telemetry-load-more{display:flex;justify-content:center;padding-top:10px}.stat-card-button{text-align:left;cursor:pointer;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit}.trend-chart-shell{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.trend-chart{width:100%;height:auto;overflow:visible}.trend-grid-line{stroke:#e5e7eb;stroke-width:1}.trend-axis-text{fill:#6b7280;font-size:11px}.trend-line{fill:none;stroke-width:3}.trend-line-started{stroke:#2563eb}.trend-line-completed{stroke:#10b981}.trend-dot{stroke:#fff;stroke-width:2}.trend-dot-started{fill:#2563eb}.trend-dot-completed{fill:#10b981}.trend-legend{display:flex;gap:16px;flex-wrap:wrap}.trend-legend-item{display:inline-flex;align-items:center;gap:8px;color:#4b5563;font-size:12px}.trend-legend-swatch{width:12px;height:12px;border-radius:999px}.trend-legend-started{background:#2563eb}.trend-legend-completed{background:#10b981}.drag-handle-icon{color:#6b7280;cursor:grab;font-size:16px}.mapping-row-draggable td{transition:background-color .12s ease}.mapping-row-draggable:hover td{background:#f8fafc}.mapping-row-dragging td{background:#eff6ff!important;opacity:.72}.mapping-row-drop-target td{background:#ecfeff!important;box-shadow:inset 0 2px #06b6d4}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-panel{width:100%;max-width:420px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px}@media (max-width: 1200px){.stat-grid,.xiaoe-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 768px){.stat-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.xiaoe-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.telemetry-latest-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.scheme-editor-layout{grid-template-columns:1fr}}
