html,body,#root{margin:0;min-height:100%;height:100%;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}.ant-table-tbody>tr{cursor:pointer}.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}.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}.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{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 768px){.stat-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.scheme-editor-layout{grid-template-columns:1fr}}
