:root{--app-content-width:1280px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none}*{box-sizing:border-box}html{background:#f5f5f5}body{min-width:0;margin:0}button,a,input{touch-action:manipulation}.clinic-layout{min-height:100dvh}.clinic-header{z-index:20;border-bottom:1px solid #f0f0f0;height:56px;padding:0 20px;position:sticky;top:0;box-shadow:0 1px 2px #00000008}.clinic-header-inner{height:100%;max-width:var(--app-content-width);justify-content:space-between;align-items:center;margin:0 auto;display:flex}.clinic-brand{color:inherit;align-items:center;gap:10px;min-height:44px;text-decoration:none;display:inline-flex}.clinic-brand-icon{color:#fff;background:#1677ff;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:19px;display:inline-flex}.clinic-brand-copy strong,.clinic-brand-copy small{display:block}.clinic-brand-copy strong{color:#262626;font-size:16px;line-height:22px}.clinic-brand-copy small{color:#8c8c8c;font-size:12px;line-height:18px}.clinic-content{padding:0 20px 32px;overflow-x:clip}.clinic-container{max-width:var(--app-content-width);width:100%;margin:0 auto}.route-transition{width:100%}.page-heading{justify-content:space-between;align-items:center;gap:20px;padding:20px 0 16px;display:flex}.page-eyebrow{color:#1677ff;margin-bottom:2px;font-size:13px;font-weight:600;display:block}.page-heading h1.ant-typography{margin:0;font-size:26px;line-height:1.3}.page-heading .ant-typography.ant-typography-secondary,.page-heading p.ant-typography{color:#595959;margin:4px 0 0}.create-patient-button{box-shadow:none}.stat-grid{margin-bottom:12px}.stat-card,.patient-list-card{border-color:#e8e8e8;box-shadow:0 1px 2px #00000005}.stat-card .ant-card-body{padding:14px 16px}.stat-card .ant-statistic-content{font-size:24px;line-height:1.25}.stat-card .ant-statistic-content-prefix{color:#1677ff;margin-inline-end:8px;font-size:18px}.stat-card .ant-statistic-content-value{font-variant-numeric:tabular-nums}.list-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.list-toolbar h2.ant-typography{margin:0 0 2px;font-size:18px;line-height:1.4}.patient-search{max-width:300px}.patient-list-card>.ant-card-body{padding:16px}.patient-avatar{color:#1677ff;background:#e6f4ff;font-weight:600}.table-secondary{margin-top:2px;font-size:12px;display:block}.numeric-text{font-variant-numeric:tabular-nums}.mobile-patient-list{display:none}.mobile-patient-card+.mobile-patient-card{margin-top:8px}.mobile-patient-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.mobile-patient-meta{background:#fafafa;border-radius:8px;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px;padding:10px;display:grid}.mobile-patient-meta>span{min-width:0}.mobile-patient-meta .ant-typography{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.detail-page-heading .ant-breadcrumb{margin-bottom:8px}.patient-summary-card{border-color:#e8e8e8;margin-bottom:12px}.patient-summary-card>.ant-card-body{padding:16px}.patient-summary-layout{justify-content:space-between;align-items:center;gap:24px;display:flex}.patient-avatar-large{font-size:22px}.patient-summary-layout h2.ant-typography{margin:0;font-size:18px}.patient-descriptions{width:100%;max-width:620px}.patient-descriptions .ant-descriptions-item-content{color:#262626;font-variant-numeric:tabular-nums;font-weight:500}.record-workspace{align-items:stretch}.record-workspace>.ant-col{display:flex}.card-type-panel,.record-panel{border-color:#e8e8e8;width:100%}.card-type-panel>.ant-card-body,.record-panel>.ant-card-body{padding:16px}.card-type-menu{border-inline-end:0!important}.record-panel{min-height:0}.record-panel>.ant-card-head{min-height:54px;padding-inline:20px}.record-panel .ant-card-head-title{font-size:16px}.savings-card-actions{display:inline-flex}.therapy-course-summary{align-items:center;margin-bottom:8px;display:flex}.therapy-course-list{gap:18px;display:grid}.therapy-course-item{background:#fff;border:1px solid #adc6ff;border-left:4px solid #1677ff;overflow:hidden;box-shadow:0 4px 14px #1677ff1a}.therapy-course-item>.ant-card-head{background:linear-gradient(90deg,#eaf3ff 0%,#f5f9ff 72%,#fff 100%);border-bottom-color:#d6e4ff;min-height:52px}.therapy-course-item>.ant-card-body{padding:14px 16px 16px}.therapy-course-title{align-items:center;width:100%;min-width:0;display:flex}.therapy-course-title .ant-tag{border-color:#91caff;font-weight:600}.therapy-course-title .ant-typography:not(.ant-typography-secondary){font-size:16px}.therapy-course-title .ant-typography-secondary{font-variant-numeric:tabular-nums;font-size:12px;font-weight:400}.therapy-project-table .therapy-project-amount-value{color:#0958d9}.therapy-project-table .ant-table-thead>tr>th{color:#595959;background:#fafafa;font-weight:600}.therapy-project-table .ant-table-tbody>tr:last-child>td{border-bottom:0}.therapy-course-summary-bar{background:#f5f5f5;border:1px solid #e8e8e8;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;display:flex}.therapy-course-total-value{color:#0958d9}.card-stat-grid{margin-bottom:16px}.card-stat-grid>.ant-col{display:flex}.card-stat-grid .ant-card{background:#fafafa;border-color:#f0f0f0;width:100%}.card-stat-grid .ant-card-body{padding:12px}.card-stat-grid .ant-statistic-content{font-variant-numeric:tabular-nums;font-size:22px}.card-stat-grid .ant-statistic-content-value{overflow-wrap:anywhere}.savings-stat-grid .savings-balance-card{background:#f0f6ff;border-color:#91caff}.savings-balance-card .ant-statistic-content{color:#0958d9}.savings-transaction-amount.is-recharge{color:#237804}.savings-transaction-amount.is-expense{color:#cf1322}.record-list-section{border-top:1px solid #f0f0f0;padding-top:14px}.record-list-heading{justify-content:space-between;align-items:flex-end;margin-bottom:10px;display:flex}.record-list-heading h3.ant-typography{margin:0 0 2px;font-size:16px}.desktop-record-table .ant-table-thead>tr>th{color:#595959;background:#fafafa;font-weight:600}.record-project{overflow-wrap:anywhere;min-width:0}.mobile-record-list{display:none}.mobile-record-card+.mobile-record-card{margin-top:10px}.mobile-record-head,.mobile-record-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-record-meta{border-top:1px solid #f0f0f0;margin-top:10px;padding-top:10px}.mobile-record-head .record-project{white-space:normal}.mobile-record-head>.ant-tag{flex:none}.record-total-bar{background:#fafafa;border-radius:8px;justify-content:space-between;align-items:center;margin-top:10px;padding:10px 12px;display:flex}.savings-balance-total{background:#f0f6ff;border:1px solid #d6e4ff}.course-project-fieldset{border:0;min-width:0;margin:0;padding:0}.course-project-fieldset>legend{color:#262626;margin-bottom:8px;font-size:14px;font-weight:500}.course-project-form-list{margin-bottom:10px}.course-project-form-card+.course-project-form-card{margin-top:10px}.course-project-form-card .ant-card-head{min-height:40px}.course-project-form-card .ant-card-body{padding:12px 12px 0}.course-project-form-card .ant-form-item{margin-bottom:12px}.course-modal-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.therapy-course-modal .ant-modal-body{max-height:calc(100dvh - 180px);overflow:hidden auto}.patient-create-modal .ant-form-item{margin-bottom:16px}.patient-create-modal .ant-modal-body{max-height:calc(100dvh - 180px);overflow:hidden auto}.savings-modal-balance{background:#f0f6ff;border:1px solid #d6e4ff;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:10px 12px;display:flex}.savings-modal-actions{justify-content:flex-end;width:100%;margin-top:4px;display:flex}.savings-transaction-modal .ant-form-item{margin-bottom:16px}.patient-modal-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.missing-patient-page{justify-content:center;align-items:center;min-height:calc(100dvh - 112px);display:flex}@media (width<=767px){.clinic-header{padding:0 12px}.clinic-header-status .ant-typography{display:none}.clinic-content{padding:0 12px 24px}.page-heading{flex-direction:column;align-items:flex-start;gap:10px;padding:16px 0 12px}.page-heading h1.ant-typography{font-size:23px}.page-heading>.ant-tag{display:none}.create-patient-button{width:100%;min-height:44px}.detail-page-heading .ant-breadcrumb{display:none}.list-toolbar{flex-direction:column;align-items:stretch;gap:10px}.patient-search{max-width:none}.patient-search.ant-input-affix-wrapper{min-height:40px}.mobile-patient-head .ant-btn.ant-btn-circle{width:44px;min-width:44px;height:44px;min-height:44px}.desktop-patient-table{display:none}.mobile-patient-list{display:block}.patient-summary-layout{flex-direction:column;align-items:stretch;gap:14px}.patient-descriptions{max-width:none}.card-type-menu.ant-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.card-type-menu.ant-menu:before,.card-type-menu.ant-menu:after{display:none}.card-type-menu.ant-menu .ant-menu-item{width:100%;height:44px;min-height:44px;margin:0;line-height:44px;padding-inline:12px!important}.therapy-course-list{gap:14px}.therapy-course-item{border-left-width:3px;box-shadow:0 3px 10px #1677ff17}.therapy-course-item>.ant-card-head,.therapy-course-item>.ant-card-body{padding-inline:12px}.therapy-course-title{align-items:center}.record-panel>.ant-card-body,.card-type-panel>.ant-card-body{padding:14px}.record-panel>.ant-card-head{min-height:60px;padding-inline:16px}.savings-card-actions .ant-btn{min-height:44px}.desktop-record-table{display:none}.mobile-record-list{display:block}.therapy-course-summary-bar{flex-direction:column;align-items:flex-start}.therapy-course-summary-bar .ant-space{gap:4px 12px!important}.patient-create-modal,.savings-transaction-modal,.therapy-course-modal{max-width:calc(100vw - 24px)!important}.patient-create-modal .ant-modal-body,.savings-transaction-modal .ant-modal-body,.therapy-course-modal .ant-modal-body{max-height:calc(100dvh - 140px)}.patient-modal-actions,.savings-modal-actions,.course-modal-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.patient-modal-actions .ant-btn,.savings-modal-actions .ant-btn,.course-modal-actions .ant-btn,.savings-transaction-modal .ant-input,.savings-transaction-modal .ant-input-number,.savings-transaction-modal .ant-picker,.therapy-course-modal .ant-input,.therapy-course-modal .ant-input-number,.course-project-fieldset>.ant-btn{width:100%;min-height:44px}.course-project-form-card .ant-card-extra .ant-btn{min-height:40px}}@media (width<=479px){.clinic-brand-copy small,.clinic-header-status{display:none}.stat-grid .ant-card-body{padding:10px 8px}.stat-grid .ant-statistic-content{font-size:20px}.stat-grid .ant-statistic-content-prefix{margin-inline-end:4px;font-size:15px}.patient-list-card>.ant-card-body{padding:12px}.patient-summary-card>.ant-card-body{padding:14px}.patient-summary-layout>.ant-space{align-items:flex-start}.patient-summary-layout h2.ant-typography{font-size:18px}.record-panel>.ant-card-head{padding-inline:16px}.record-panel .ant-card-head-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.card-stat-grid .ant-card-body{padding:10px}.card-stat-grid .ant-statistic-content{font-size:21px}}@media (width<=359px){.mobile-patient-meta{grid-template-columns:repeat(2,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
