: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;line-height:normal;position:sticky;top:0;box-shadow:0 1px 2px #00000008}.clinic-header-inner{height:100%;max-width:var(--app-content-width);margin:0 auto}.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-header-nav{flex:1;justify-content:flex-end;min-width:0;display:flex}.clinic-header-menu.ant-menu-horizontal{background:0 0;border-bottom:0;flex:1;justify-content:flex-end;min-width:0;line-height:54px}.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}.template-management-card{border-color:#e8e8e8;box-shadow:0 1px 2px #00000005}.template-management-card>.ant-card-body{padding:16px}.template-table .ant-table-thead>tr>th{color:#595959;background:#fafafa;font-weight:600}.template-amount{color:#0958d9}.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-balance{grid-column:span 2}.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-card-summary{justify-content:space-between;align-items:flex-end;margin-bottom:10px;display:flex}.therapy-card-summary h3.ant-typography{margin:0 0 2px;font-size:16px}.therapy-card-table{width:100%}.therapy-history-section{border-top:1px solid #f0f0f0;margin-top:24px;padding-top:20px}.therapy-card-table .ant-table-thead>tr>th{color:#595959;background:#fafafa;font-weight:600}.therapy-card-row{cursor:pointer}.therapy-card-table .ant-table-expanded-row>td{background:#fafafa;padding:12px 16px!important}.therapy-deduction-details{background:#fff;border:1px solid #e8e8e8;border-radius:8px;width:100%;min-width:0;padding:12px}.therapy-deduction-details-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.therapy-deduction-details .ant-table-thead>tr>th,.therapy-deduction-details .ant-table-summary>tr>td{background:#fafafa}.therapy-deduction-summary-row,.therapy-deduction-summary-values{white-space:nowrap;align-items:center;display:flex}.therapy-deduction-summary-row{justify-content:space-between}.therapy-deduction-summary-values{gap:24px}.therapy-deduction-details .ant-table-cell,.therapy-card-name{overflow-wrap:anywhere}.therapy-card-amount{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}.savings-transaction-amount.is-refund{color:#0958d9}.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-actions{border-top:1px solid #f0f0f0;margin-top:10px;padding-top:6px}.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}.therapy-card-modal-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.therapy-card-template-preview{margin-bottom:16px}.therapy-deduction-summary{background:#fafafa;border:1px solid #e8e8e8;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:10px 12px;display:flex}.therapy-deduction-project-heading{justify-content:space-between;align-items:flex-end;margin-bottom:10px;display:flex}.therapy-deduction-project-list{gap:10px}.therapy-deduction-modal .therapy-deduction-project-row .ant-form-item{margin-bottom:0}.therapy-deduction-project-remove{align-items:center;min-height:32px}.therapy-deduction-error{margin-top:12px}.therapy-deduction-modal .therapy-card-modal-actions{margin-top:16px}.therapy-card-modal .ant-modal-body{max-height:calc(100dvh - 180px);overflow:hidden auto}.therapy-card-modal .ant-form-item,.therapy-card-template-modal .ant-form-item{margin-bottom:16px}.therapy-card-template-modal .ant-modal-body{max-height:calc(100dvh - 180px);overflow:hidden auto}.therapy-deduction-modal .ant-form-item{margin-bottom:16px}.therapy-deduction-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;margin-bottom:16px}.savings-correction-original{background:#fafafa;margin-bottom:16px}.savings-refund-original{background:#fafafa;margin-bottom:12px}.savings-refund-notice{margin-bottom:16px}.savings-refund-remaining{color:#0958d9}.savings-refund-modal .ant-modal-body{max-height:calc(100dvh - 180px);overflow:hidden auto}.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-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,.create-template-button{width:100%;min-height:44px}.template-management-card>.ant-card-body{padding:14px}.template-table .ant-btn{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}.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,.therapy-card-table .ant-btn{min-height:44px}.desktop-record-table{display:none}.mobile-record-list{display:block}.patient-create-modal,.savings-correction-modal,.savings-refund-modal,.savings-transaction-modal,.therapy-card-modal,.therapy-card-template-modal,.therapy-deduction-modal{max-width:calc(100vw - 24px)!important}.patient-create-modal .ant-modal-body,.savings-correction-modal .ant-modal-body,.savings-refund-modal .ant-modal-body,.savings-transaction-modal .ant-modal-body,.therapy-card-modal .ant-modal-body,.therapy-card-template-modal .ant-modal-body,.therapy-deduction-modal .ant-modal-body{max-height:calc(100dvh - 140px)}.patient-modal-actions,.savings-modal-actions,.therapy-card-modal-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.patient-modal-actions .ant-btn,.savings-modal-actions .ant-btn,.mobile-record-actions .ant-btn,.therapy-card-modal-actions .ant-btn,.savings-transaction-modal .ant-input,.savings-transaction-modal .ant-input-number,.savings-transaction-modal .ant-picker,.savings-correction-modal .ant-input,.savings-correction-modal textarea,.savings-refund-modal .ant-input,.savings-refund-modal textarea,.savings-refund-modal .ant-input-number,.therapy-card-modal .ant-select-selector,.therapy-card-modal .ant-input-number,.therapy-card-template-modal .ant-input,.therapy-card-template-modal .ant-input-number,.therapy-deduction-modal .ant-input,.therapy-deduction-modal .ant-input-number{width:100%;min-height:44px}.therapy-card-table .ant-table-expanded-row>td{padding:10px!important}.therapy-deduction-summary-values{gap:12px}.therapy-deduction-summary{flex-direction:column;align-items:flex-start;gap:4px}.therapy-deduction-project-heading{flex-direction:column;align-items:flex-start;gap:2px}.therapy-deduction-project-remove{justify-content:flex-end}.therapy-deduction-project-list>.ant-btn{min-height:44px}}@media (width<=479px){.clinic-brand-copy small{display:none}.clinic-header-menu.ant-menu-horizontal>.ant-menu-item{padding-inline:10px}.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<=399px){.clinic-brand-copy{display:none}}@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;animation-duration:.01ms!important;animation-iteration-count:1!important}}
