:root{--ux-bg:#f4f8f6;--ux-surface:#fff;--ux-surface-soft:#f8fbfa;--ux-text:#17342f;--ux-muted:#61756f;--ux-border:#d8e6e1;--ux-primary:#0f6b5a;--ux-primary-strong:#0b5649;--ux-focus:#d2a34d;--ux-danger:#a44854;--ux-radius-sm:10px;--ux-radius-md:14px;--ux-radius-lg:20px;--ux-shadow-sm:0 8px 24px #143c3312;--ux-shadow-lg:0 24px 70px #143c3324}html,body{max-width:100%;overflow-x:clip}body{color:var(--ux-text);text-rendering:optimizelegibility;-webkit-tap-highlight-color:transparent}:where(button,a,input,select,textarea,summary){-webkit-tap-highlight-color:transparent}:where(button,input,select,textarea):disabled{cursor:not-allowed}:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid color-mix(in srgb, var(--ux-focus) 78%, white);outline-offset:3px}:where(input,select,textarea)[aria-invalid=true]{border-color:var(--ux-danger)!important;box-shadow:0 0 0 3px #a448541c!important}:where(.form-error,.field-error,[role=alert]){line-height:1.85}.booking-honeypot{clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;position:fixed!important;inset:0 auto auto 0!important;overflow:hidden!important}:where(.primary,.secondary,.primary-button,.secondary-button,.ghost-button,.light-button,.subpage-book,.profile-book){border-radius:var(--ux-radius-md);min-height:46px}:where(.primary,.primary-button):active{transform:translateY(0)scale(.985)}:where(.primary,.primary-button):disabled{box-shadow:none;opacity:.54;transform:none}.site-header nav a,.content-header nav a,.subpage-header nav a{align-items:center;min-height:42px;padding-inline:4px;display:inline-flex}.service-card>a,.service-grid article>button,.text-button,.all-articles-link{align-items:center;min-height:42px}.service-card p,.home-pathways p,.home-video-preview p,.review-grid p,.topic-grid p{line-height:2}.booking-experience{overflow-x:clip}.booking-shell{max-width:calc(100% - 32px)}.booking-form-card :where(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--ux-border);background:var(--ux-surface);border-radius:12px;min-height:48px;font-size:14px}.booking-form-card textarea{min-height:112px}.booking-form-card :where(label,legend){color:#2d4942}.booking-person-grid>label,.booking-form-card fieldset>label{font-size:13px;font-weight:760}.choice-grid>button,.provider-choice-grid>button,.date-strip button,.time-grid button{min-height:52px}.choice-grid b,.provider-choice-grid>button b,.date-strip b{font-size:12px}.choice-grid small,.provider-choice-grid>button small,.date-strip small{font-size:10px;line-height:1.7}.booking-privacy-check{font-size:11px}.booking-summary{gap:16px}.booking-server-message,.field-error,.empty-service-search,.no-slots{font-size:11px}.staff-access-page>section{width:min(480px,100% - 28px);box-shadow:var(--ux-shadow-lg);border-radius:24px}.staff-password-login label,.staff-setup-form label,.staff-password-form label,.staff-two-factor label{font-size:13px!important}:where(.staff-password-login,.staff-setup-form,.staff-password-form,.staff-two-factor) :where(input,select){border-radius:12px;min-height:50px;font-size:15px}:where(.staff-password-login,.staff-setup-form,.staff-password-form,.staff-two-factor) button{min-height:50px}:where(.portal-main,.admin-portal,.reception-portal,.doctor-portal) :where(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--ux-border);min-height:46px!important;font-size:13px!important}:where(.portal-main,.admin-portal,.reception-portal,.doctor-portal) textarea{line-height:1.9}:where(.portal-main,.admin-portal,.reception-portal,.doctor-portal) label{line-height:1.75;font-size:12px!important}:where(.portal-main,.admin-portal,.reception-portal,.doctor-portal) button,:where(.portal-main,.admin-portal,.reception-portal,.doctor-portal) a{font-family:inherit}.portal-content,.portal-main{min-width:0}.portal-card,.workspace-card,.patient-workspace,.doctor-column{border-color:var(--ux-border);box-shadow:var(--ux-shadow-sm)}.card-title small,.workspace-heading span,.portal-card>small,.workspace-card>small{font-size:10px;line-height:1.65}.card-title b,.workspace-heading h2{font-size:14px;line-height:1.65}.portal-stats span,.stat-card small,.context-banner small{font-size:10px;line-height:1.65}.portal-stats small,.stat-card em{font-size:9px;line-height:1.65}.portal-sidebar nav,.record-tabs,.filters,.segmented,.doctor-column,.reception-command-bar,.operations-tabs,.content-tabs,.record-progress{scrollbar-width:none;overscroll-behavior-inline:contain}:where(.portal-sidebar nav,.record-tabs,.filters,.segmented,.doctor-column,.reception-command-bar,.operations-tabs,.content-tabs,.record-progress)::-webkit-scrollbar{display:none}.portal-sidebar nav button{min-height:46px}.row-buttons button,.row-actions button,.row-actions a,.patient-row>span:last-child button,.appointment-row select,.filters button,.segmented button,.record-tabs button,.clinical-actions button,.clinical-draft-actions button{min-height:40px}.row-buttons button,.row-actions button,.row-actions a,.patient-row>span:last-child button{font-size:10px}.status-pill,.appointment-risk,.visit-mode>b,.managed-service em,.audit-card em{font-size:9px;line-height:1.4}.table-row,.appointment-row,.patient-row,.patient-cell b,.patient-row b,.appointment-row b{font-size:11px}.patient-cell small,.patient-row small,.appointment-row small{font-size:9px;line-height:1.65}.appointment-table,.patient-table,.schedule-table,.reception-table,.appointment-list{overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#b7ccc6 transparent}.record-tabs button{font-size:11px;font-weight:750}.form-section-title b,.baseline-draft-card header b{font-size:12px}.form-section-title small,.baseline-draft-card header small,.baseline-draft-card>footer>small{font-size:9px;line-height:1.75}.form-grid label>span,.baseline-draft-card>label>span{font-size:11px}.form-grid input,.form-grid textarea,.baseline-draft-card textarea{font-size:13px!important}.baseline-source-row span,.baseline-draft-card>p,.baseline-draft-card header em{font-size:9px}.patient-context>div span,.patient-context>div small,.patient-context dt,.patient-context dd{font-size:10px}.patient-context>div b{font-size:13px}.clinical-grid label,.content-form-grid label,.site-settings-form label,.access-fields label,.access-provider-select,.schedule-editor label,.service-editor label,.new-service-editor label,.organization-forms label{font-size:11px!important}.clinical-grid :where(input,select,textarea),.content-form-grid :where(input,select,textarea),.site-settings-form :where(input,select,textarea),.access-fields :where(input,select),.access-provider-select select,.schedule-editor :where(input,select),.service-editor :where(input,select),.new-service-editor :where(input,select),.organization-forms :where(input,select){min-height:46px;font-size:13px!important}.setting-row b,.managed-service b,.integration-grid b,.operation-list b,.organization-summary h3,.access-user-list header b,.safety-summary b,.content-list-item span b{font-size:11px}.setting-row small,.managed-service small,.integration-grid small,.operation-list small,.organization-summary label,.access-user-list header small,.safety-summary small,.content-list-item span small,.content-list-item>small{font-size:9px;line-height:1.65}.schedule-editor button,.service-editor button,.new-service-editor>button,.operation-form button,.organization-forms button,.teleconsult-form button,.access-create-form>.primary,.access-user-list footer button,.safety-actions button,.safety-actions a,.content-editor-heading button,.content-status-actions button,.site-settings-form button,.media-library form button{min-height:42px;font-size:10px}.switch{min-width:42px;min-height:26px}.switch span:after{width:20px;height:20px}.switch input:checked+span:after{transform:translate(-16px)}.modal-backdrop{padding:clamp(8px,2vw,24px)}.modal{overscroll-behavior:contain;border:1px solid #ffffffb8;max-height:min(92dvh,920px);overflow-y:auto;box-shadow:0 28px 90px #08241e4d}.modal .close{background:#f2f6f4;border-radius:12px;place-items:center;width:44px;height:44px;font-size:24px;line-height:1;display:grid}.modal :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:48px;font-size:14px}.modal textarea{min-height:112px}.modal label{font-size:12px;line-height:1.75}@media (max-width:1000px){.portal-content{padding:18px}.admin-grid,.cms-shell,.content-workspace,.record-columns,.real-record-columns{grid-template-columns:1fr}.schedule-editor>div,.service-editor>div,.new-service-editor,.operation-form,.teleconsult-form{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-editor>div .day-toggle,.new-service-heading,.operation-form button,.teleconsult-form button{grid-column:1/-1}}@media (max-width:700px){:where(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}:where(button,a,summary){touch-action:manipulation}.site-header{height:72px;padding-inline:12px}.site-header .primary-button,.site-header .header-cta,.subpage-book,.content-book{min-height:46px;font-size:11px}.hero-section,.hero{padding-inline:16px}.hero-copy h1,.hero h1{font-size:clamp(36px,10.5vw,44px);line-height:1.45}.hero-copy>p,.hero-copy>p,.content-title p,.subpage-hero p{font-size:14px}.mobile-booking-button,.mobile-booking-cta{min-height:54px;bottom:calc(10px + env(safe-area-inset-bottom))}.booking-shell{width:100%;max-width:100%;margin:0}.booking-form-card{padding:20px 14px calc(28px + env(safe-area-inset-bottom))}.booking-form-card fieldset{border-radius:16px;margin-block:16px;padding:16px 12px}.booking-person-grid,.provider-choice-grid,.choice-grid,.name-fields{grid-template-columns:1fr}.booking-person-grid>label,.booking-form-card fieldset>label{font-size:13px!important}.booking-form-card :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:52px!important}.choice-grid>button,.provider-choice-grid>button{min-height:72px;padding:12px}.time-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.time-grid button{min-height:50px;font-size:14px}.booking-summary{z-index:25;padding:14px 14px calc(14px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffffa;margin-inline:-14px;position:sticky;bottom:0;box-shadow:0 -12px 32px #123b321f}.booking-summary .primary-button,.booking-summary .primary{min-height:54px;font-size:14px}.booking-privacy-check,.booking-consent{font-size:12px!important}.booking-privacy-check input,.booking-consent input,.consent-check input{flex:0 0 22px;width:22px!important;height:22px!important}.portal-sidebar{padding:8px 10px}.portal-sidebar nav{scroll-snap-type:x proximity;gap:6px}.portal-sidebar nav button{scroll-snap-align:start;min-width:max-content;min-height:48px;padding-inline:13px;font-size:11px!important}.portal-header{height:auto;min-height:72px;padding:12px 14px}.portal-header h1{font-size:18px;line-height:1.55}.portal-content,.portal-main{padding-inline:12px}:where(.portal-content,.portal-main) button{min-height:44px}.context-banner{align-items:flex-start;padding:13px}.context-banner b{font-size:11px}.context-banner small{font-size:9px}.stats-grid,.portal-stats,.reception-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card,.portal-stats article{min-height:112px;padding:13px}.workspace-heading,.card-title{gap:12px}.workspace-heading button,.card-title button,.round-add{min-height:44px}.command-row{gap:10px}.filters button,.segmented button,.operations-tabs button,.content-tabs button{white-space:nowrap;min-height:44px;font-size:10px}.search-field{min-height:48px}.search-field input{min-height:44px!important;font-size:14px!important}.appointment-table .table-head{display:none}.appointment-table .table-row{border:1px solid var(--ux-border);background:#fff;border-radius:14px;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:10px 12px;min-width:0;min-height:0;margin:10px;padding:14px;box-shadow:0 5px 16px #17342f0d}.appointment-table .table-row>:nth-child(n+3){grid-column:2}.appointment-table .patient-cell{align-items:flex-start}.appointment-table .row-buttons{grid-template-columns:1fr 1fr;width:100%;display:grid}.appointment-table .row-buttons button{min-height:44px;font-size:10px}.doctor-column{scroll-snap-type:x proximity;padding:10px}.queue-heading{min-width:170px}.queue-patient{scroll-snap-align:start;min-width:220px;min-height:78px}.queue-patient b{font-size:11px}.queue-patient small,.queue-patient em{font-size:9px}.patient-header{padding:14px}.patient-profile h2{font-size:15px}.patient-profile p,.patient-alert b,.patient-alert small{font-size:9px}.record-tabs{scroll-snap-type:x proximity;gap:8px;min-height:50px;padding-inline:10px}.record-tabs button{scroll-snap-align:start;min-width:max-content;min-height:48px;padding-inline:10px;font-size:11px}.clinical-form,.patient-context{padding:15px}.form-grid,.clinical-grid,.content-form-grid,.access-fields,.schedule-editor>div,.service-editor>div,.new-service-editor,.operation-form,.organization-forms,.teleconsult-form{grid-template-columns:1fr}.form-grid :where(input,select,textarea),.clinical-grid :where(input,select,textarea){min-height:50px!important;font-size:16px!important}.clinical-actions,.section-actions,.clinical-draft-actions,.content-status-actions,.settings-footer,.safety-actions{flex-direction:column;align-items:stretch}:where(.clinical-actions,.section-actions,.clinical-draft-actions,.content-status-actions,.settings-footer,.safety-actions)>:where(button,a){justify-content:center;width:100%;min-height:48px}.baseline-draft-card>header{grid-template-columns:40px minmax(0,1fr)}.baseline-draft-card>header em{grid-column:2;width:max-content}.baseline-draft-card>footer{flex-direction:column;align-items:stretch}.baseline-draft-card>footer>div{grid-template-columns:1fr;width:100%;display:grid}.baseline-draft-card>footer button{min-height:46px;font-size:10px}.doctor-portal{padding-bottom:env(safe-area-inset-bottom)}.doctor-portal>.portal-sidebar{height:calc(76px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#113b33f7}.doctor-portal>.portal-sidebar nav{grid-template-columns:repeat(auto-fit,minmax(62px,1fr));gap:4px;display:grid;overflow:visible}.doctor-portal>.portal-sidebar nav button,.doctor-portal>.portal-sidebar nav button.active,.reception-portal>.portal-sidebar nav button{min-width:0;min-height:60px;padding:4px;line-height:1.25;font-size:9px!important}.doctor-portal>.portal-main{padding:18px 13px calc(102px + env(safe-area-inset-bottom))}.portal-switch{min-height:42px}.doctor-portal .portal-card{padding:16px}.doctor-portal .portal-stats{grid-template-columns:1fr}.patient-toolbar,.content-editor-heading,.content-revisions>div,.backup-list-heading,.operation-list>div,.consultation-list>div{flex-direction:column;align-items:stretch}.patient-toolbar .primary,.content-editor-heading button,.content-revisions button,.operation-list button,.consultation-list button{width:100%;min-height:46px}.patient-table .patient-row,.appointment-list .appointment-row,.reception-table .appointment-row{min-width:680px}.patient-table,.appointment-list,.reception-table,.schedule-table{margin-inline:-4px;padding-bottom:5px}.reception-command-bar button{min-height:44px;font-size:10px}.row-actions button,.row-actions a{min-height:42px;padding-inline:10px}.admin-overview,.cms-overview{padding:22px 18px}.admin-overview h2,.cms-overview h1{font-size:22px;line-height:1.55}.setting-row{padding:15px}.segmented{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.segmented button{min-height:44px}.managed-service{grid-template-columns:42px minmax(0,1fr) auto;padding:13px}.managed-service>button{grid-column:3;width:44px;height:44px}.content-tabs{display:flex;overflow-x:auto}.content-tabs button{flex:none}.content-list{max-height:340px}.content-list-item{min-height:72px}.cms-content button{min-width:44px;min-height:44px}.cms-content input[type=checkbox]{width:20px!important;height:20px!important}.content-list-item span b{font-size:12px}.content-list-item span small,.content-list-item>small,.content-list-item em{font-size:9px}.access-checks,.access-user-list,.organization-summary,.organization-forms,.safety-summary,.media-grid,.site-settings-form fieldset{grid-template-columns:1fr}.modal-backdrop{padding:8px 8px max(8px, env(safe-area-inset-bottom));place-items:end center}.modal{width:100%;max-width:100%;max-height:calc(96dvh - env(safe-area-inset-bottom));padding:26px 18px calc(24px + env(safe-area-inset-bottom));border-radius:22px 22px 16px 16px}.modal .close{z-index:5;margin:-12px auto 4px 0;position:sticky;top:0}.modal :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:52px;font-size:16px!important}.modal .primary.full{min-height:52px;font-size:14px}}@media (max-width:390px){.stats-grid,.portal-stats,.reception-stats{grid-template-columns:1fr}.time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.persian-date-segments{grid-template-columns:minmax(76px,1.25fr) 7px minmax(58px,1fr) 7px minmax(58px,1fr)}.appointment-table .row-buttons{grid-template-columns: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}}.clinical-patient-banner,.pregnancy-live-summary{background:#f8fbfa;border:1px solid #dce8e3;border-radius:18px;grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(0,1fr));gap:10px;margin:14px 0;padding:14px;display:grid}.clinical-patient-banner span,.pregnancy-live-summary span{gap:4px;min-width:0;display:grid}.clinical-patient-banner small,.pregnancy-live-summary small{color:#60766f}.clinical-patient-banner b,.pregnancy-live-summary b{overflow-wrap:anywhere;color:#173f34}.clinical-patient-banner .clinical-patient-name{border-inline-end:3px solid #b8924e;padding-inline-end:12px}.clinical-patient-banner .clinical-patient-name b{color:#163f35;font-size:17px}.pregnancy-live-summary{background:linear-gradient(135deg,#f2faf7,#fffaf6);border-color:#c6ded5;grid-template-columns:repeat(2,minmax(0,1fr)) auto}.pregnancy-live-summary em{color:#315f51;text-align:center;background:#e1f0ea;border-radius:999px;align-self:center;padding:8px 10px;font-style:normal}@media (max-width:720px){.clinical-patient-banner{grid-template-columns:repeat(2,minmax(0,1fr))}.clinical-patient-banner .clinical-patient-name{border-inline-end-width:4px;grid-column:1/-1}.pregnancy-live-summary{grid-template-columns:1fr}}@media (prefers-contrast:more){:root{--ux-muted:#405750;--ux-border:#9db8b0}:where(.portal-card,.workspace-card,input,select,textarea,button){border-color:var(--ux-border)!important}}
