*{box-sizing:border-box;overflow-anchor:none}html{scroll-behavior:auto;scrollbar-gutter:stable}body,main,#module-content{overflow-anchor:none}#module-content{min-height:65vh}body{margin:0;background:#f2f6f4;color:#18332f;font:15px Arial,sans-serif}header{background:#173f3a;color:#fff;padding:18px max(20px,calc((100% - 1050px)/2));display:flex;justify-content:space-between;align-items:center}header b{display:block;font-size:23px;letter-spacing:3px}header small{letter-spacing:2px;font-size:10px}main{max-width:1050px;margin:34px auto;padding:0 18px;min-height:75vh}.card{background:#fff;border:1px solid #dfe8e4;border-radius:14px;padding:24px;box-shadow:0 6px 25px #173f3a0c}.auth{max-width:440px;margin:55px auto}h1{margin:0 0 8px}p{color:#70817c;line-height:1.5}.tabs,nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.tabs button,nav button,#signout{background:#fff;border:1px solid #d7e2dd;border-radius:8px;padding:10px 14px;cursor:pointer}.tabs .active,nav .active{background:#173f3a;color:#fff}label{display:block;font-size:13px;font-weight:700;margin:13px 0}input,select{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #d2ded9;border-radius:8px;font:inherit}.primary{background:#176b5e;color:#fff;border:0;border-radius:8px;padding:12px 16px;font-weight:700;cursor:pointer}.auth .primary{width:100%;margin-top:8px}.hidden{display:none!important}.welcome,.switch{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.switch label{width:min(400px,100%)}.switch b{background:#e4f1ed;color:#176b5e;padding:8px 12px;border-radius:20px}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.tiles article{border:1px solid #e0e9e5;border-radius:10px;padding:16px;overflow-wrap:anywhere}.tiles b,.tiles small{display:block}.tiles small{color:#71817c;margin-top:7px}.warning{background:#fff8e8;border-left:4px solid #d39b25;padding:13px;border-radius:6px}footer{text-align:center;color:#84918d;font-size:12px;padding:20px}.message{color:#b42318}@media(max-width:650px){main{margin:20px auto}.tiles{grid-template-columns:1fr}.welcome,.switch{align-items:flex-start;flex-direction:column}.auth,.card{padding:18px}}.module-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.module-heading h2{margin:0}.patient-count{display:flex;flex-direction:column;align-items:center;background:#e8f2ef;border-radius:12px;padding:10px 18px;min-width:100px}.patient-count b{font-size:23px;color:#176b5e}.patient-count span,.muted{font-size:12px;color:#71817c}.patient-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:18px;margin:20px 0;align-items:start}.patient-form-panel,.patient-list-panel{border:1px solid #e0e9e5;border-radius:12px;padding:16px;min-width:0}.patient-form-panel h3,.patient-list-panel h3{margin:0 0 12px}.patient-form-panel label{margin:10px 0}.patient-form-panel input,.patient-form-panel select,.patient-form-panel textarea{font-size:14px}.patient-form-panel textarea{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid #d2ded9;border-radius:8px;font:inherit;resize:vertical}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-actions,.patient-actions,.filter-row{display:flex;gap:8px;flex-wrap:wrap}.secondary{background:#fff;color:#28534b;border:1px solid #cbdad4;border-radius:8px;padding:10px 12px;cursor:pointer}.primary:disabled{opacity:.6;cursor:wait}.form-message{font-size:13px;min-height:18px}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.list-toolbar h3{margin:0}.list-toolbar input{max-width:260px}.filter-row{margin:12px 0}.filter-row select{flex:1;min-width:130px}.patient-results{display:grid;gap:9px}.patient-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e3ebe7;border-radius:10px;padding:12px}.patient-main{min-width:0;display:grid;gap:4px;overflow-wrap:anywhere}.patient-main small{font-size:12px;color:#71817c}.patient-actions{justify-content:flex-end}.patient-actions button{padding:8px 10px;font-size:12px}.empty-state{padding:24px;text-align:center;color:#71817c;background:#f7faf8;border-radius:10px}@media(max-width:760px){.patient-layout{grid-template-columns:1fr}.module-heading{align-items:flex-start}.patient-row{align-items:flex-start;flex-direction:column}.patient-actions{justify-content:flex-start}.list-toolbar input{max-width:none}}@media(max-width:420px){.form-two{grid-template-columns:1fr}}.appointment-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0;align-items:stretch}.appointment-form-panel,.appointment-list-panel{border:1px solid #e0e9e5;border-radius:12px;padding:16px;min-width:0}.appointment-form-panel h3,.appointment-list-panel h3{margin:0 0 12px}.appointment-form-panel label{margin:10px 0}.appointment-form-panel input,.appointment-form-panel select,.appointment-form-panel textarea{font-size:14px}.appointment-form-panel textarea{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid #d2ded9;border-radius:8px;font:inherit;resize:vertical}.appointment-results{display:grid;gap:9px}.appointment-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e3ebe7;border-radius:10px;padding:12px}.appointment-main{min-width:0;display:grid;gap:4px;overflow-wrap:anywhere}.appointment-main small{font-size:12px;color:#71817c}@media(max-width:760px){.appointment-layout{grid-template-columns:1fr}.appointment-row{align-items:flex-start;flex-direction:column}}.dental-patient-picker{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#f5f9f7;border:1px solid #e0e9e5;border-radius:12px;padding:12px 16px;margin:16px 0}.dental-patient-picker label{min-width:240px;flex:1;margin:0}.dental-patient-picker>div{display:grid;gap:4px}.dental-patient-picker small{color:#71817c}.dental-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.dental-tabs button.active{background:#173f3a;color:#fff;border-color:#173f3a}.dental-panel{border:1px solid #e0e9e5;border-radius:12px;padding:18px;margin:14px 0;min-width:0}.dental-panel h3{margin:0 0 14px}.dental-panel label{margin:11px 0}.dental-panel textarea{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid #d2ded9;border-radius:8px;font:inherit;resize:vertical}.dental-panel small{color:#71817c}.odontogram{display:grid;gap:14px;margin:18px 0;overflow-x:auto;padding-bottom:8px}.tooth-row{display:grid;grid-template-columns:repeat(16,minmax(38px,1fr));gap:5px;min-width:680px}.tooth-button{min-height:104px;min-width:48px;border:1px solid #c6d8ec;border-radius:13px;background:linear-gradient(160deg,#fff,#edf5ff);color:#183b63;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 3px;box-shadow:0 3px 9px #1f4c7d14;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.tooth-button:hover{transform:translateY(-3px);border-color:#6c9ccc;box-shadow:0 7px 15px #1f4c7d26}.tooth-illustration{display:block;width:35px;height:42px;overflow:visible;filter:drop-shadow(0 2px 2px rgba(35,76,119,.12))}.tooth-illustration path:first-child{fill:#fff;stroke:#6f9bc7;stroke-width:1.7;stroke-linejoin:round}.tooth-illustration .tooth-highlight{fill:none;stroke:#d9eaff;stroke-width:2.2;stroke-linecap:round}.tooth-button b{font-size:13px;line-height:1.1;color:#183b63}.tooth-button small{font-size:9px;text-align:center;color:#66809d;line-height:1.1}.tooth-button.selected{outline:3px solid #176b5e;outline-offset:1px}.tooth-button.condition-caries{background:#ffeadf;border-color:#d97946}.tooth-button.condition-filled{background:#e1eefc;border-color:#6e9bc9}.tooth-button.condition-missing{background:#f4e5e8;border-color:#c77b88;text-decoration:line-through}.tooth-button.condition-crown,.tooth-button.condition-root-canal,.tooth-button.condition-implant{background:#eee8fb;border-color:#9c86c8}.tooth-editor{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:end;gap:12px}.tooth-editor label{margin:0}.dental-history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e7eeea}.dental-history-row:last-child{border-bottom:0}.dental-history-row>div{min-width:0;overflow-wrap:anywhere}.dental-history-row b,.dental-history-row small{display:block;margin:3px 0}.dental-history-row p{margin:5px 0}@media(max-width:650px){.dental-panel{padding:13px}.tooth-editor{grid-template-columns:1fr}.dental-history-row{align-items:flex-start;flex-direction:column}.dental-patient-picker{align-items:stretch}}.chart-row-label{font-size:12px;font-weight:700;color:#526c64;margin:2px 0}.primary-tooth-row{display:grid;grid-template-columns:repeat(10,minmax(38px,1fr));gap:5px;min-width:430px}.primary-odontogram{overflow-x:auto}.chart-notes-label{display:block;margin:16px 0}.chart-notes-label textarea{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid #d2ded9;border-radius:8px;font:inherit;resize:vertical}@media(max-width:650px){.primary-tooth-row{min-width:430px}.primary-odontogram{padding-bottom:8px}}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:14px;margin:18px 0;overflow-x:auto}.overview-stat,.overview-panel{background:#fff;border:1px solid #dfe8e4;border-radius:12px;padding:17px;min-width:0}.overview-stat{display:flex;flex-direction:column;justify-content:center;min-height:116px}.overview-stat span,.overview-stat small{display:block;color:#71817c}.overview-stat b{display:block;font-size:26px;margin:12px 0 6px;overflow-wrap:anywhere;color:#173f3a}.overview-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.overview-panel h3{margin:0 0 12px}.overview-list-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #e7eeea}.overview-list-row:last-child{border-bottom:0}.overview-list-row>div{min-width:0}.overview-list-row b,.overview-list-row small{display:block;overflow-wrap:anywhere}.overview-list-row small,.overview-list-row>span{font-size:12px;color:#71817c}.overview-list-row>span{text-align:right;flex-shrink:0}.overview-date{color:#71817c;font-size:13px}@media(max-width:760px){.overview-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.overview-columns{grid-template-columns:1fr}}@media(max-width:420px){.overview-stat{padding:12px}.overview-stat b{font-size:21px}.overview-list-row{align-items:flex-start;flex-direction:column}.overview-list-row>span{text-align:left}}#cosmetology-consult-form,#cosmetology-treatment-form,#cosmetology-followup-form{display:grid;gap:9px}#cosmetology-consult-form label,#cosmetology-treatment-form label,#cosmetology-followup-form label{display:block;margin:5px 0}#cosmetology-consult-form input,#cosmetology-treatment-form input,#cosmetology-followup-form input,#cosmetology-consult-form textarea,#cosmetology-treatment-form textarea,#cosmetology-followup-form textarea{width:100%;padding:10px;margin-top:5px;border:1px solid #d2ded9;border-radius:8px;font:inherit}.settings-form{display:grid;gap:12px;max-width:720px}.settings-form label{display:grid;gap:6px;font-weight:600}.settings-form input,.settings-form textarea,.settings-form select{width:100%;padding:11px;border:1px solid #d2ded9;border-radius:8px;font:inherit;background:#fff}.settings-form h3,.settings-info h3{margin:14px 0 4px;color:#173f3a}.settings-info{margin-top:22px;padding:16px;border:1px solid #dfe8e4;border-radius:12px;background:#fff}.settings-info p{overflow-wrap:anywhere}.doctor-directories{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;width:100%;max-width:none;margin:12px 0}.doctor-directories>.dental-panel{width:100%;min-width:0;margin:0;padding:12px 14px}.doctor-directories h3{font-size:15px;margin:0 0 8px}.doctor-directories label{margin:7px 0;font-size:12px}.doctor-directories input{padding:9px;font-size:13px}.doctor-directories .form-two{gap:8px}.doctor-directories .primary{padding:9px 12px;font-size:13px}.doctor-directories .form-message{margin:4px 0;min-height:14px;font-size:12px}.doctor-directories .muted{font-size:11px;line-height:1.4;margin:6px 0 0;overflow-wrap:anywhere}@media(max-width:520px){.doctor-directories .form-two{grid-template-columns:1fr}}.header-right{display:flex;align-items:center;gap:18px;text-align:right}.header-right #clinic-live-clock{display:flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums}.header-right #clinic-live-clock b{font-size:18px;line-height:1.1;letter-spacing:.2px;color:#fff}.header-right #clinic-live-clock small{font-size:11px;letter-spacing:.3px;color:#c7ddd6}.header-divider{width:1px;height:36px;background:#ffffff45}.header-right #user-area{display:flex;align-items:center;gap:9px;min-width:0;text-align:left}.user-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#d7ebe3;color:#17483f;font-size:14px;font-weight:700}.user-details{display:flex;flex-direction:column;gap:3px;min-width:0;max-width:190px}.user-details small{font-size:9px;letter-spacing:1.1px;color:#c7ddd6}.user-details b{font-size:12px;font-weight:600;color:#fff;overflow-wrap:anywhere}@media(max-width:520px){header{padding:13px 15px;gap:10px}header b{font-size:18px}header small{font-size:8px;letter-spacing:1px}.header-right{gap:9px}.header-right #clinic-live-clock b{font-size:14px}.header-right #clinic-live-clock small{font-size:9px}.header-divider{height:30px}.user-avatar{width:28px;height:28px;flex-basis:28px;font-size:12px}.user-details{max-width:105px}.user-details small{font-size:8px}.user-details b{font-size:10px}}:root{color-scheme:light;--mint-cream-bg:#f4f8ef;--mint-cream-surface:#fffdf6;--mint-cream-soft:#e8f3e8;--mint-cream-pale:#f0f7ef;--mint-cream-sage:#5f8d72;--mint-cream-deep:#315b46;--mint-cream-ink:#263d32;--mint-cream-muted:#718477;--mint-cream-border:#dce8dc;--mint-cream-gold:#c5a66a}body{background:var(--mint-cream-bg);color:var(--mint-cream-ink)}header{background:var(--mint-cream-deep);color:#fff;border-bottom:3px solid #9cbea3}header small,.header-right #clinic-live-clock small,.user-details small{color:#d8e9d9}main{color:var(--mint-cream-ink)}.card,.overview-stat,.overview-panel,.settings-info,.dental-panel,.patient-form-panel,.patient-list-panel,.appointment-form-panel,.appointment-list-panel{background:var(--mint-cream-surface);border-color:var(--mint-cream-border);box-shadow:0 5px 20px #315b460e}p,.muted,.tiles small,.overview-stat span,.overview-stat small,.overview-list-row small,.overview-list-row>span,.dental-panel small,.patient-main small,.appointment-main small{color:var(--mint-cream-muted)}h1,h2,h3,.settings-form h3,.settings-info h3{color:var(--mint-cream-deep)}nav button,.tabs button,#signout,.secondary{background:#fffdf7;color:var(--mint-cream-deep);border-color:#cbdccb}nav button:hover,.tabs button:hover,.secondary:hover,#signout:hover{background:var(--mint-cream-soft);border-color:var(--mint-cream-sage)}.tabs .active,nav .active,.dental-tabs button.active{background:var(--mint-cream-deep);color:#fff;border-color:var(--mint-cream-deep)}.primary{background:var(--mint-cream-sage);color:#fff;border:1px solid var(--mint-cream-sage)}.primary:hover{background:var(--mint-cream-deep);border-color:var(--mint-cream-deep)}input,select,.settings-form input,.settings-form textarea,.settings-form select,.dental-panel textarea,.patient-form-panel textarea,.appointment-form-panel textarea{background:#fffefa;color:var(--mint-cream-ink);border-color:#cfdfd0}input:focus,select:focus,textarea:focus{outline:2px solid #a8c9ae;outline-offset:1px;border-color:var(--mint-cream-sage)}.switch b,.patient-count,.dental-patient-picker{background:var(--mint-cream-soft);color:var(--mint-cream-deep);border-color:var(--mint-cream-border)}.patient-count b,.overview-stat b{color:var(--mint-cream-deep)}.tiles article,.patient-row,.appointment-row,.dental-history-row{border-color:var(--mint-cream-border);background:#fffefa}.empty-state{background:var(--mint-cream-pale);color:var(--mint-cream-muted)}.tooth-button{background:var(--mint-cream-pale);border-color:#cbdccb;color:var(--mint-cream-ink)}.tooth-button.selected{outline-color:var(--mint-cream-sage)}.chart-row-label{color:var(--mint-cream-deep)}.user-avatar{background:#dceede;color:var(--mint-cream-deep)}.warning{background:#fff8e8;border-left-color:var(--mint-cream-gold)}footer{color:var(--mint-cream-muted)}::selection{background:#cfe5d1;color:var(--mint-cream-deep)}:root{color-scheme:light;--euphoria-bg:#EAF2FC;--euphoria-surface:#FFFFFF;--euphoria-soft:#EAF2FC;--euphoria-pale:#F4F8FE;--euphoria-primary:#315F9D;--euphoria-deep:#142C50;--euphoria-accent:#9CC8F2;--euphoria-ink:#20334D;--euphoria-muted:#667B95;--euphoria-border:#D4E1F0}body{background:var(--euphoria-bg);color:var(--euphoria-ink)}header{background:linear-gradient(110deg,#142c50,#315f9d);color:#fff;border-bottom:3px solid #9CC8F2}header small,.header-right #clinic-live-clock small,.user-details small{color:#dcebfa}main{color:var(--euphoria-ink)}.card,.overview-stat,.overview-panel,.settings-info,.dental-panel,.patient-form-panel,.patient-list-panel,.appointment-form-panel,.appointment-list-panel{background:var(--euphoria-surface);border-color:var(--euphoria-border);box-shadow:0 5px 20px #142c5012}p,.muted,.tiles small,.overview-stat span,.overview-stat small,.overview-list-row small,.overview-list-row>span,.dental-panel small,.patient-main small,.appointment-main small{color:var(--euphoria-muted)}h1,h2,h3,.settings-form h3,.settings-info h3{color:var(--euphoria-deep)}nav button,.tabs button,#signout,.secondary{background:#fff;color:var(--euphoria-deep);border-color:var(--euphoria-border)}nav button:hover,.tabs button:hover,.secondary:hover,#signout:hover{background:var(--euphoria-soft);border-color:var(--euphoria-primary)}.tabs .active,nav .active,.dental-tabs button.active{background:var(--euphoria-deep);color:#fff;border-color:var(--euphoria-deep)}.primary{background:var(--euphoria-primary);color:#fff;border:1px solid var(--euphoria-primary)}.primary:hover{background:var(--euphoria-deep);border-color:var(--euphoria-deep)}input,select,.settings-form input,.settings-form textarea,.settings-form select,.dental-panel textarea,.patient-form-panel textarea,.appointment-form-panel textarea{background:#fff;color:var(--euphoria-ink);border-color:#c9d9ec}input:focus,select:focus,textarea:focus{outline:2px solid var(--euphoria-accent);outline-offset:1px;border-color:var(--euphoria-primary)}.switch b,.patient-count,.dental-patient-picker{background:var(--euphoria-soft);color:var(--euphoria-deep);border-color:var(--euphoria-border)}.patient-count b,.overview-stat b{color:var(--euphoria-deep)}.tiles article,.patient-row,.appointment-row,.dental-history-row{border-color:var(--euphoria-border);background:#fff}.empty-state{background:var(--euphoria-pale);color:var(--euphoria-muted)}.tooth-button{background:var(--euphoria-pale);border-color:var(--euphoria-border);color:var(--euphoria-ink)}.tooth-button.selected{outline-color:var(--euphoria-primary)}.chart-row-label{color:var(--euphoria-deep)}.user-avatar{background:var(--euphoria-accent);color:var(--euphoria-deep)}.warning{background:#fff8e8;border-left-color:#c5a66a}.message{color:#a43c35}footer{color:var(--euphoria-muted)}::selection{background:#c7ddf5;color:var(--euphoria-deep)}@media(prefers-reduced-motion:no-preference){button,.card,.overview-stat,.overview-panel{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}}#sync-status{display:inline-block;margin-left:12px;padding:6px 9px;border-radius:20px;background:#e7f0ff;color:#244c80;font-size:11px;font-weight:600}#sync-status[data-state=offline]{background:#fff0d9;color:#8a4b08}#sync-status[data-state=pending],#sync-status[data-state=syncing]{background:#fff7d6;color:#795b00}#sync-status[data-state=synced]{background:#e4f4e9;color:#17633b}@media(max-width:650px){#sync-status{margin:6px 0 0}.header-right{flex-wrap:wrap;justify-content:flex-end}}.forgot-password-row{display:flex;justify-content:flex-end;margin:-5px 0 8px}.forgot-password-row #forgot-password{display:inline;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0;color:#176b5e;font: 12px Arial,sans-serif;text-decoration:underline;cursor:pointer}.forgot-password-row #forgot-password:hover{background:transparent!important;color:#173f3a;text-decoration:none}.clinic-login{max-width:460px;margin:7vh auto;padding:28px}.clinic-login h1{margin:0 0 8px}.clinic-login form{display:grid;gap:14px}.clinic-login label{display:grid;gap:7px;font-weight:600}.clinic-login input{width:100%;padding:12px;border:1px solid var(--euphoria-border);border-radius:8px;font:inherit}.clinic-login #clinic-login-message{min-height:20px;margin:0;font-size:13px}.clinic-login button{width:100%;padding:12px}body :is(label,.muted,small,footer,.patient-main small,.appointment-main small,.overview-list-row small,.overview-list-row>span,.overview-stat span,.overview-stat small,.dental-panel small,.form-message){font-size:13px}body :is(button,.secondary,.primary,nav button,.tabs button,#signout){font-size:15px}.patient-form-panel :is(input,select,textarea),.appointment-form-panel :is(input,select,textarea){font-size:15px}.doctor-directories label,.doctor-directories input,.doctor-directories .primary,.doctor-directories .form-message,.doctor-directories .muted{font-size:13px}.header-right #clinic-live-clock small{font-size:12px}.user-details small{font-size:11px}.forgot-password-row #forgot-password{font-size:13px}.clinic-login #clinic-login-message{font-size:14px}body{font-size:16px}body :is(p,li,td,th,label,small,footer,.muted,.empty-state,.patient-main small,.appointment-main small,.overview-list-row small,.overview-list-row>span,.overview-stat span,.overview-stat small,.dental-panel small,.form-message){font-size:14px}h1{font-size:26px}h2{font-size:22px}h3{font-size:18px}body :is(button,.primary,.secondary,nav button,.tabs button,#signout){font-size:16px}nav button,.tabs button{padding:12px 16px}body :is(input,select,textarea){font-size:16px}.header-right #clinic-live-clock small,.user-details small{font-size:13px}.forgot-password-row #forgot-password{font-size:14px}#workspace nav{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;padding:2px 0 8px;scrollbar-width:thin}#workspace nav button{flex:0 0 auto;white-space:nowrap}#workspace nav{display:flex;flex-wrap:nowrap;width:100%;min-width:0;gap:4px;overflow:hidden;white-space:nowrap}#workspace nav button{flex:1 1 0;min-width:0;padding:10px 4px;font-size:clamp(10px,1vw,14px);line-height:1.2;white-space:nowrap;text-align:center}@media(max-width:760px){#workspace nav{gap:2px}#workspace nav button{padding:9px 2px;font-size:9px}}#workspace nav{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));align-items:stretch;gap:6px;width:100%;min-width:0;overflow:visible;white-space:nowrap}#workspace nav button{width:100%;min-width:0;margin:0;padding:10px 3px;font-size:clamp(11px,1.05vw,14px);line-height:1.2;white-space:nowrap;text-align:center}@media(max-width:760px){#workspace nav{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px}#workspace nav button{flex:0 0 auto;width:auto;padding:10px 12px;font-size:12px}}@media(min-width:761px){main{width:100%;max-width:none;margin:20px 0;padding-left:24px;padding-right:24px}header{padding-left:24px;padding-right:24px}#workspace,#workspace>.card,#module-content{width:100%;max-width:none;min-width:0}}body:has(#clinic-login:not([hidden])){background:linear-gradient(135deg,#eaf2fc,#f6f9fd 55%,#e5effb);min-height:100vh}body:has(#clinic-login:not([hidden])) header{min-height:86px;padding-top:16px;padding-bottom:16px;box-shadow:0 5px 22px #142c501f}body:has(#clinic-login:not([hidden])) header>div:first-child{display:flex;flex-direction:column;gap:3px}body:has(#clinic-login:not([hidden])) header b{font-size:25px;letter-spacing:4px}body:has(#clinic-login:not([hidden])) header small{font-size:10px;letter-spacing:2.2px}body:has(#clinic-login:not([hidden])) .header-right{display:none}body:has(#clinic-login:not([hidden])) main{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 160px);margin:24px auto;padding:24px}body:has(#clinic-login:not([hidden])) .welcome{display:none}.clinic-login{display:grid;grid-template-columns:.9fr 1.5fr;gap:0;width:min(1180px,100%);max-width:1180px;min-height:490px;margin:0 auto;padding:0;overflow:hidden;border:1px solid #d5e2f1;border-radius:22px;background:#fff;box-shadow:0 24px 70px #142c5024}.login-welcome{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:52px 46px;background:linear-gradient(145deg,#142c50,#244c7c 58%,#3974ad);color:#fff;isolation:isolate;overflow:hidden}.login-welcome:before,.login-welcome:after{content:"";position:absolute;z-index:-1;border:1px solid rgba(210,232,255,.16);border-radius:50%}.login-welcome:before{width:360px;height:360px;right:-180px;top:-140px}.login-welcome:after{width:270px;height:270px;right:-105px;bottom:-140px}.login-emblem{display:grid;place-items:center;width:58px;height:58px;margin-bottom:34px;border:1px solid rgba(255,255,255,.55);border-radius:18px;background:#ffffff1f;color:#fff;font-family:Georgia,serif;font-size:34px;font-weight:700;box-shadow:0 8px 22px #0000001f}.login-kicker,.login-form-kicker{margin:0 0 15px;color:#c9e1fb;font-size:10px;font-weight:700;letter-spacing:2px;line-height:1.7}.login-welcome h1{margin:0 0 16px;color:#fff;font-family:Georgia,serif;font-size:clamp(30px,3.4vw,42px);font-weight:500;line-height:1.15;letter-spacing:-.5px}.login-welcome-copy{max-width:340px;margin:0;color:#d9e8f8;font-size:15px;line-height:1.8}.login-security-note{display:flex;align-items:center;gap:12px;margin-top:54px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2);color:#fff;font-size:13px;font-weight:600;line-height:1.5}.login-security-note>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#ffffff21;color:#b9dbfa;font-size:13px}.login-security-note small{color:#c9def3;font-size:11px;font-weight:400}.login-form-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0;padding:42px 24px}.login-method{min-width:0;padding:8px 24px}.email-login-method{border-left:1px solid #e5edf6}.login-method h2{font-size:27px}.login-method .login-form-copy{min-height:40px;margin-bottom:20px}.login-method .login-help{margin-top:25px}.login-form-kicker{margin-bottom:10px;color:#4774a8;font-size:10px;letter-spacing:2px}.login-form-panel h2{margin:0 0 7px;color:#142c50;font-family:Georgia,serif;font-size:31px;font-weight:600}.login-form-copy{margin:0 0 24px;color:#71839a;font-size:14px}.clinic-login form{display:grid;gap:17px}.clinic-login label{display:grid;gap:8px;margin:0;color:#314965;font-size:13px;font-weight:700}.clinic-login input{height:49px;margin:0;padding:0 14px;border:1px solid #d5e1ef;border-radius:10px;background:#fbfdff;color:#20334d;font-size:15px;transition:border-color .18s,box-shadow .18s}.clinic-login input::placeholder{color:#9aaabd}.clinic-login input:focus{outline:none;border-color:#477bb6;box-shadow:0 0 0 4px #477bb61f}.clinic-login form .primary{display:flex;align-items:center;justify-content:center;gap:12px;height:50px;margin-top:5px;border:0;border-radius:10px;background:linear-gradient(100deg,#315f9d,#477db7);box-shadow:0 8px 18px #315f9d33;font-size:15px;font-weight:700;cursor:pointer}.clinic-login form .primary:hover{background:linear-gradient(100deg,#142c50,#315f9d);transform:translateY(-1px)}.clinic-login form .primary span{font-size:20px;font-weight:400}.clinic-login #clinic-login-message{min-height:18px;margin:0;color:#b42318;font-size:13px;overflow-wrap:anywhere}.login-help{margin:25px 0 0;padding-top:16px;border-top:1px solid #edf2f8;color:#8a9bb0;font-size:11px}body:has(#clinic-login:not([hidden])) footer{padding:10px 20px 18px;color:#71839a;font-size:11px}@media(max-width:980px){.login-form-panel{grid-template-columns:1fr;padding:32px 34px}.email-login-method{border-left:0;border-top:1px solid #e5edf6;margin-top:24px;padding-top:28px}.login-method{padding:8px 4px}}@media(max-width:700px){body:has(#clinic-login:not([hidden])) main{min-height:auto;margin:18px auto;padding:12px}.clinic-login{grid-template-columns:1fr;min-height:0;border-radius:18px}.login-welcome{padding:28px 26px 26px}.login-emblem{width:46px;height:46px;margin-bottom:17px;border-radius:14px;font-size:28px}.login-kicker{margin-bottom:9px;font-size:9px}.login-welcome h1{font-size:30px;margin-bottom:9px}.login-welcome-copy{font-size:13px;line-height:1.6}.login-security-note{margin-top:20px;padding-top:13px}.login-form-panel{padding:24px 26px 28px}.login-method{padding:8px 0}.email-login-method{margin-top:22px;padding-top:24px}.login-form-panel h2{font-size:27px}}@media(prefers-reduced-motion:no-preference){.clinic-login input,.clinic-login form .primary{transition:all .18s ease}}.clinic-login[hidden]{display:none!important}.clinic-login form button.primary{background:linear-gradient(110deg,#1557b0,#2478d4 52%,#3298ed)!important;color:#fff!important;border:1px solid #1768c2!important;box-shadow:0 10px 24px #1969c657,inset 0 1px #ffffff38!important;font-weight:800!important;letter-spacing:.25px;text-shadow:0 1px 1px rgba(0,0,0,.14)}.clinic-login form button.primary:hover:not(:disabled){background:linear-gradient(110deg,#10458f,#1768c2 52%,#2385df)!important;box-shadow:0 12px 28px #1969c66b,inset 0 1px #ffffff38!important;transform:translateY(-2px)}.clinic-login form button.primary:focus-visible{outline:3px solid #8bc5ff;outline-offset:4px}.clinic-login form button.primary:active:not(:disabled){transform:translateY(0);box-shadow:0 5px 12px #1969c647!important}.clinic-login form button.primary:disabled{background:linear-gradient(110deg,#426c9e,#628bb8)!important;color:#fff!important;opacity:1!important;cursor:wait}:root{--euphoria-bg:#edf3fb;--euphoria-surface:#ffffff;--euphoria-soft:#eaf2fc;--euphoria-pale:#f5f8fd;--euphoria-primary:#356bb0;--euphoria-deep:#142c50;--euphoria-accent:#a9d0f5;--euphoria-ink:#20334d;--euphoria-muted:#687d98;--euphoria-border:#d8e4f2;--euphoria-shadow:0 10px 28px rgba(20,44,80,.07)}html{background:var(--euphoria-bg)}body{background:linear-gradient(180deg,#f5f8fd 0,#edf3fb 260px);color:var(--euphoria-ink);font-family:Inter,Segoe UI,Arial,sans-serif}header{position:relative;padding:17px max(22px,calc((100% - 1380px)/2));background:#173f70!important;color:#fff;border-bottom:3px solid var(--euphoria-accent);box-shadow:0 5px 22px #10274729}header b,header small,.header-right,#clinic-live-clock b,.user-details b{color:#fff}header small,.header-right #clinic-live-clock small,.user-details small{color:#dceafa}header>div:first-child b{font-size:25px;letter-spacing:3.5px}header>div:first-child small{font-size:10px;letter-spacing:2px}main{max-width:1440px;margin:28px auto 42px;padding:0 24px;min-height:75vh}#workspace{padding-top:4px;max-width:100%;color:var(--euphoria-ink)}#workspace>.switch{position:relative;overflow:hidden;background:linear-gradient(145deg,#142c50,#244c7c 58%,#3974ad);border:1px solid #315f91;border-radius:18px;box-shadow:0 14px 34px #142c5029;padding:25px 22px;margin:0 0 15px;color:#fff}#workspace>.switch:after{content:"";position:absolute;right:-65px;top:-145px;width:280px;height:280px;border:1px solid rgba(210,232,255,.17);border-radius:50%;pointer-events:none}#workspace>.switch label{position:relative;z-index:1;color:#eaf4ff;font-size:12px;letter-spacing:.4px;max-width:420px;margin:0}#workspace>.switch select{max-width:360px;background:#fffffff7;color:#20334d}#workspace nav{display:flex;gap:8px;flex-wrap:wrap;padding:11px;margin:0 0 18px;border:1px solid #d5e2f1;border-radius:15px;background:linear-gradient(180deg,#fff,#f5f9fe);box-shadow:0 10px 26px #142c5013}#workspace nav button{border:1px solid #d5e2f1;border-radius:9px;padding:10px 14px;background:#fff;color:#24466e;font-weight:650;box-shadow:0 2px 5px #142c5009}#workspace nav button.active{color:#fff;border-color:#244f85;background:linear-gradient(110deg,#1557b0,#2478d4 52%,#3298ed);box-shadow:0 7px 17px #1969c640}#workspace nav button:hover:not(.active){background:#edf5ff;border-color:#9dbce0}#module-content{position:relative;overflow:hidden;min-height:65vh;padding:26px;border:1px solid #d5e2f1;border-radius:20px;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 18px 48px #142c5017}#module-content:before{content:"";display:block;height:4px;margin:-26px -26px 23px;background:linear-gradient(90deg,#142c50,#315f9d 58%,#9cc8f2)}#module-content :is(h1,h2){font-family:Georgia,Times New Roman,serif;color:#142c50;font-weight:600}#module-content h2{font-size:27px;letter-spacing:-.35px}#module-content h3{color:#244c7c;font-weight:700}#module-content .module-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 17px;margin:0 0 19px;border-bottom:1px solid #e3ebf5}#module-content .module-heading h2{margin:0}#module-content :is(.overview-stat,.overview-panel,.dental-panel,.patient-form-panel,.patient-list-panel,.appointment-form-panel,.appointment-list-panel,.settings-info){border:1px solid #dbe6f2;border-radius:14px;background:#fff;box-shadow:0 7px 20px #142c500e}#module-content .overview-stat{background:linear-gradient(150deg,#fff,#f5f9ff)}#module-content .overview-stat b{color:#173b68}#module-content :is(.patient-row,.appointment-row,.tiles article){border:1px solid #dce7f3;border-radius:11px;background:#fbfdff}#module-content :is(input,select,textarea){border:1px solid #d5e1ef;border-radius:9px;background:#fbfdff;color:#20334d}#module-content :is(input,select,textarea):focus{outline:none;border-color:#477bb6;box-shadow:0 0 0 4px #477bb61f}#module-content .primary{border:1px solid #1768c2;border-radius:10px;background:linear-gradient(110deg,#1557b0,#2478d4 52%,#3298ed);color:#fff;font-weight:750;box-shadow:0 8px 18px #1969c633}#module-content .primary:hover:not(:disabled){background:linear-gradient(110deg,#10458f,#1768c2 52%,#2385df);box-shadow:0 11px 23px #1969c647;transform:translateY(-1px)}#module-content .secondary{border:1px solid #d5e1ef;border-radius:9px;background:#fff;color:#244c7c}#module-content .empty-state{border:1px dashed #cbd9e9;border-radius:12px;background:#f5f9fe}#module-content .dental-patient-picker{border:1px solid #d5e2f1;border-radius:12px;background:#f4f8fd}#module-content .patient-count{background:#edf5ff;border:1px solid #d5e2f1}#module-content .patient-count b{color:#245f9f}#clinic-heading{display:none!important}.welcome{justify-content:flex-end!important;align-items:center!important}.welcome #signout{margin-left:auto!important}#signout{border:1px solid #d5e1ef!important;border-radius:10px!important;background:#eaf2fc!important;color:#173f70!important;font-weight:700!important}#signout:hover{background:#fff!important;border-color:#9dbce0!important}footer{padding:24px 16px;color:#7185a0}button:focus-visible{outline:3px solid #8db8e8;outline-offset:2px}@media(max-width:760px){main{margin:18px auto 28px;padding:0 13px}#module-content{padding:17px;border-radius:15px}#module-content:before{margin:-17px -17px 17px}#workspace>.switch{padding:21px 16px}#workspace nav{padding:8px}#workspace nav button{flex:1 1 auto}#module-content .module-heading{align-items:flex-start;flex-direction:column}}@media(max-width:520px){header{padding:13px 14px;align-items:flex-start}header>div:first-child b{font-size:20px;letter-spacing:2px}.header-right{gap:7px}#module-content h2{font-size:21px}}@media(max-width:650px){.welcome{align-items:flex-end!important}}header{background:linear-gradient(110deg,#142c50,#1b4778 58%,#285b91)!important;border-bottom:0!important;box-shadow:0 5px 18px #10274721}#workspace>.switch{margin-top:0!important;border-top:1px solid rgba(218,237,255,.18)!important;border-top-left-radius:0!important;border-top-right-radius:0!important;background:linear-gradient(110deg,#1b4778,#285b91 58%,#356fa8)!important;box-shadow:0 13px 30px #142c5026!important}#workspace>.switch:after{right:-35px!important;top:-170px!important;width:320px!important;height:320px!important;border-color:#dcefff33!important}#workspace>.switch label{color:#f1f7ff!important}#workspace>.switch select{border:1px solid #d8e8f8!important;box-shadow:0 3px 10px #091e381f}@media(max-width:760px){main{margin-top:0!important}}#workspace>.switch{min-height:150px!important;padding:48px 36px!important}@media(max-width:760px){#workspace>.switch{min-height:132px!important;padding:38px 24px!important}}#workspace>.switch{border-radius:22px!important;overflow:hidden!important}#workspace>.switch{min-height:190px!important;padding:68px 36px!important;border-radius:22px!important;overflow:hidden!important}@media(max-width:760px){#workspace>.switch{min-height:170px!important;padding:56px 24px!important}}#workspace>.switch{min-height:250px!important;padding:98px 36px!important;border-radius:22px!important;overflow:hidden!important}@media(max-width:760px){#workspace>.switch{min-height:220px!important;padding:82px 24px!important}}#workspace>.switch{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}#workspace>.switch #signout{flex:0 0 auto!important;align-self:center!important;margin:0 4px 0 auto!important;position:relative!important;z-index:2!important}#workspace>.switch label{flex:1 1 auto!important}@media(max-width:600px){#workspace>.switch{gap:12px!important;flex-wrap:wrap!important}#workspace>.switch #signout{margin-left:auto!important}}#workspace>.switch label{width:100%!important;max-width:900px!important;flex:1 1 0!important;min-width:0!important}#workspace>.switch select{width:100%!important;max-width:100%!important}@media(max-width:600px){#workspace>.switch label{max-width:100%!important;flex-basis:100%!important}#workspace>.switch select{width:100%!important}}#workspace>.switch label{font-size:15px!important}#workspace>.switch .clinic-current-display{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;max-width:min(900px,calc(100% - 150px));color:#eaf4ff}#workspace>.switch .clinic-current-display small{font-size:15px;font-weight:700;letter-spacing:.6px;color:#d8e9fb}#workspace>.switch .clinic-current-display strong{font-size:clamp(17px,2vw,22px);font-weight:700;line-height:1.45;color:#fff;overflow-wrap:anywhere}@media(max-width:600px){#workspace>.switch .clinic-current-display{max-width:100%;flex-basis:100%}#workspace>.switch{align-items:flex-start!important}}.login-form-panel{align-items:start!important}.login-method{align-self:start!important}.keydates-campaign{padding:20px!important}.keydates-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.keydates-form>label{display:grid;gap:7px;color:#24466e;font-size:13px;font-weight:650}.keydates-form>label:nth-child(2),.keydates-form>label:nth-child(3),.keydates-form>label:nth-child(4),.keydates-form>.form-two,.keydates-form>.warning,.keydates-form>.keydates-audience-summary,.keydates-form>button,.keydates-form>.form-message{grid-column:1/-1}.keydates-form textarea{width:100%;resize:vertical;min-height:100px}.keydates-form input,.keydates-form select{width:100%;min-width:0}.keydates-image-preview{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #d8e4f2;border-radius:10px;background:#f5f9fe}.keydates-image-preview img{width:116px;height:88px;object-fit:contain;border-radius:7px;background:#fff}.keydates-image-preview small{color:#687d98;overflow-wrap:anywhere}.keydates-audience-summary{padding:12px 14px;border:1px solid #d8e4f2;border-radius:10px;background:#f3f8ff;color:#244c7c;font-weight:650}.status-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.status-pending{background:#fff4d8;color:#805b0b;border:1px solid #f0d99a}.keydates-status-legend{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.keydates-status-legend span{padding:6px 10px;border:1px solid #d8e4f2;border-radius:8px;background:#f5f9fe;color:#244c7c;font-size:12px;font-weight:650}@media(max-width:700px){.keydates-form{grid-template-columns:1fr}.keydates-form>.form-two{grid-column:1/-1}.keydates-campaign .module-heading{align-items:flex-start;flex-direction:column}}.keydates-recipient-picker{grid-column:1/-1;padding:15px;border:1px solid #d8e4f2;border-radius:13px;background:#f8fbff}.keydates-recipient-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.keydates-recipient-toolbar h3{margin:0 0 4px}.keydates-recipient-toolbar p{margin:0}.keydates-recipient-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.keydates-recipient-actions button{min-height:38px}.keydates-search-label{display:grid;gap:7px;color:#24466e;font-size:13px;font-weight:650}.keydates-recipient-list{display:grid;gap:7px;max-height:300px;overflow:auto;margin-top:12px;padding:4px}.keydates-recipient-row{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:11px;padding:10px 12px;border:1px solid #dce7f3;border-radius:9px;background:#fff;cursor:pointer}.keydates-recipient-row input{width:17px;height:17px;flex:0 0 auto}.keydates-recipient-row span{display:grid;gap:3px}.keydates-recipient-row small{color:#687d98;font-weight:400}@media(max-width:600px){.keydates-recipient-toolbar{align-items:flex-start;flex-direction:column}.keydates-recipient-actions button{flex:1 1 100%}}#module-content .age-visited-panel{padding:20px 22px 18px}#module-content .age-visited-panel h3{margin:0 0 17px;color:#303d50;font-size:20px;font-weight:750}#module-content .age-visited-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:18px;min-height:158px}#module-content .age-visited-group{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px;color:#596579;font-size:15px;font-weight:600}#module-content .age-visited-illustration{width:min(100%,112px);height:112px;display:flex;align-items:flex-end;justify-content:center}#module-content .age-visited-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px;padding-top:17px;border-top:1px solid #e5eaf0;text-align:center;color:#202b3a}#module-content .age-visited-counts b{font-size:22px;font-weight:750;line-height:1.2}@media(max-width:520px){#module-content .age-visited-panel{padding:16px 12px}#module-content .age-visited-figures{gap:6px;min-height:130px}#module-content .age-visited-illustration{height:88px}#module-content .age-visited-group{font-size:12px}#module-content .age-visited-counts{gap:6px;margin-top:16px;padding-top:13px}}#module-content .age-visited-panel{padding:14px 18px 13px}#module-content .age-visited-panel h3{margin:0 0 10px;color:#303d50;font-size:17px;font-weight:750}#module-content .age-visited-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;min-height:116px}#module-content .age-visited-group{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;color:#596579;font-size:13px;font-weight:600}#module-content .age-visited-illustration{width:min(100%,84px);height:82px;display:flex;align-items:flex-end;justify-content:center}#module-content .age-visited-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:13px;padding-top:11px;border-top:1px solid #e5eaf0;text-align:center;color:#202b3a}#module-content .age-visited-counts b{font-size:19px;font-weight:750;line-height:1.2}@media(max-width:520px){#module-content .age-visited-panel{padding:12px 10px}#module-content .age-visited-figures{gap:5px;min-height:100px}#module-content .age-visited-illustration{width:min(100%,68px);height:68px}#module-content .age-visited-group{font-size:11px}#module-content .age-visited-counts{gap:5px;margin-top:11px;padding-top:9px}}#workspace nav button[data-module].active,#workspace nav button[data-module][aria-current=page]{background:linear-gradient(110deg,#1557b0,#2478d4 52%,#3298ed)!important;color:#fff!important;border-color:#244f85!important;box-shadow:0 7px 17px #1969c640,0 0 0 2px #315f9d29!important;font-weight:800!important}#workspace nav button[data-module].active:hover,#workspace nav button[data-module][aria-current=page]:hover{background:linear-gradient(110deg,#10458f,#1768c2 52%,#2385df)!important;color:#fff!important}#module-content .dental-tabs button.active,#module-content .dental-tabs button[aria-current=page]{background:linear-gradient(110deg,#1557b0,#2478d4 52%,#3298ed)!important;color:#fff!important;border:2px solid #1557b0!important;box-shadow:0 7px 17px #1969c647,0 0 0 3px #315f9d2e!important;font-weight:800!important;transform:translateY(-1px)}#module-content .dental-tabs button:not(.active){background:#fff!important;color:#244c7c!important;border:1px solid #b9cce2!important;font-weight:650!important}#module-content .dental-tabs button.active:hover,#module-content .dental-tabs button[aria-current=page]:hover{background:linear-gradient(110deg,#10458f,#1768c2 52%,#2385df)!important;color:#fff!important}#module-content .dental-tabs button:focus-visible{outline:3px solid #8db8e8!important;outline-offset:3px!important}#module-content .data-security-login-panel{width:min(100%,560px);padding:16px 20px;margin:0}#module-content .data-security-login-panel h3{margin:0 0 6px;font-size:19px}#module-content .data-security-login-panel>p{margin:0 0 10px;font-size:13px;line-height:1.4}#module-content .data-security-login-panel label{margin:9px 0;font-size:12px}#module-content .data-security-login-panel input{padding:9px 11px;margin-top:4px}#module-content .data-security-login-panel button{padding:9px 13px;font-size:13px}#module-content .data-security-login-panel #data-security-message{margin:7px 0 0}.billing-page{display:grid;gap:16px;margin:14px 0 22px}.billing-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-radius:16px;background:linear-gradient(120deg,#173b66,#2f6fa8);color:#fff;box-shadow:0 8px 24px #173b6618}.billing-page-heading h2{margin:4px 0 5px;font-size:25px;color:#fff}.billing-page-heading p{margin:0;color:#e4f0fb;font-size:13px}.billing-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:1.5px;color:#5b91c5}.billing-page-heading .billing-kicker{color:#c8e2f8}.billing-patient-chip{display:grid;gap:4px;min-width:180px;padding:12px 15px;border:1px solid #ffffff45;border-radius:12px;background:#ffffff16}.billing-patient-chip small,.billing-patient-chip span{font-size:10px;color:#e4f0fb}.billing-patient-chip b{font-size:14px;color:#fff}.billing-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.billing-stat{padding:16px 18px;border:1px solid #dce8f3;border-radius:13px;background:#fff;box-shadow:0 4px 14px #173b6608}.billing-stat span,.billing-stat small{display:block;color:#647b95;font-size:12px}.billing-stat b{display:block;margin:8px 0;font-size:24px;color:#173b66}.billing-stat.is-pending{background:#fffaf0;border-color:#f0dfbd}.billing-stat.is-pending b{color:#a65a12}.billing-stat.is-settled{background:#f3faf6;border-color:#d8eade}.billing-stat.is-settled b{color:#16704f}.billing-page .dental-panel{margin:0;padding:20px;background:#fff;border-color:#dce8f3;box-shadow:0 4px 15px #173b6608}.billing-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.billing-section-title h3{margin:4px 0;color:#173b66}.billing-section-title p{margin:0;font-size:12px}.billing-step{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e8f2fb;color:#245f98;font-weight:800;font-size:12px}.billing-form-panel form{display:grid;gap:5px}.billing-form-panel label{font-size:13px}.billing-form-panel input,.billing-form-panel select{background:#fbfdff}.billing-form-panel input:focus,.billing-form-panel select:focus{outline:2px solid #c7def5;border-color:#5b91c5}.billing-form-panel button.primary{width:100%;margin-top:8px;padding:14px}.billing-summary-panel{width:50%;max-width:50%;box-sizing:border-box}n.billing-summary-panel .form-two>div{padding:12px;border-radius:10px;background:#f2f7fc}.billing-summary-panel h3{font-size:20px;color:#173b66}.billing-page .dental-history-row{padding:15px;border:1px solid #e0eaf4;border-radius:12px;margin:10px 0;background:#fbfdff}.billing-page .invoice-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.billing-page .invoice-actions button{min-width:105px}@media(max-width:650px){.billing-summary-panel{width:100%;max-width:100%}.billing-page-heading{align-items:stretch;flex-direction:column;padding:18px}.billing-patient-chip{min-width:0}.billing-stat-grid{grid-template-columns:1fr}.billing-stat{padding:13px 15px}.billing-page .dental-panel{padding:15px}}body.patient-drawer-open:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a6b;z-index:9998}#module-content .patient-form-panel.patient-drawer{position:fixed!important;z-index:9999!important;top:0!important;right:0!important;bottom:0!important;width:620px!important;max-width:94vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;margin:0!important;padding:24px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:-12px 0 36px #0000002e!important}#module-content .patient-form-panel.patient-drawer[hidden]{display:none!important}#module-content .patient-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e5eaf0}#module-content .patient-drawer-heading h3{margin:0}#module-content .patient-drawer-close{width:36px;height:36px;border:0;border-radius:8px;background:#f1f5f9;color:#334155;font-size:25px;line-height:1;cursor:pointer}@media(max-width:600px){#module-content .patient-form-panel.patient-drawer{width:100%!important;max-width:100%!important;padding:18px!important}}#module-content .patient-layout{display:flex!important;flex-direction:column!important;gap:18px!important;width:100%!important}#module-content .patient-list-panel{order:1!important;width:100%!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}#module-content .patient-form-panel{order:2!important;width:100%!important;max-width:none!important}#module-content .patient-form-panel[hidden]{display:none!important}#module-content .patient-list-panel .list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}#module-content .patient-list-panel .list-toolbar h3{margin:0}#module-content .patient-list-panel .list-toolbar input{flex:1 1 260px;max-width:440px}#module-content .patient-list-panel .filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:13px 0 16px}#module-content .patient-list-panel .filter-row #patient-filter,#module-content .patient-list-panel .filter-row #service-filter{flex:0 0 320px;width:320px;min-width:130px}#module-content .patient-table-wrap{width:100%;overflow-x:auto;border:1px solid #d8e5f5;border-radius:12px;background:#fff}#module-content .patient-table{width:100%;min-width:850px;border-collapse:collapse;font-size:14px;color:#20334d}#module-content .patient-table th{padding:13px 15px;text-align:left;background:#eef2f5;color:#52647a;font-weight:700;white-space:nowrap}#module-content .patient-table td{padding:12px 15px;border-top:1px solid #e7edf3;vertical-align:middle;white-space:nowrap}#module-content .patient-table tbody tr:nth-child(2n){background:#f7f9fb}#module-content .patient-table tbody tr:hover{background:#edf5ff}#module-content .patient-table td strong{font-weight:700;color:#1d3555}#module-content .patient-table-actions{display:flex;align-items:center;gap:7px}#module-content .patient-table-actions button{padding:7px 10px;min-height:32px}#module-content .patient-status{display:inline-flex;padding:5px 10px;border-radius:30px;font-size:12px;font-weight:700}#module-content .patient-status.active{background:#e1f5ec;color:#16734d}#module-content .patient-status.archived{background:#f0eafa;color:#69479a}@media(max-width:650px){#module-content .patient-list-panel .list-toolbar{align-items:stretch}#module-content .patient-list-panel .list-toolbar input{max-width:none;flex-basis:100%}}#module-content .patient-list-controls{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:12px;width:auto;min-width:0;flex:0 1 auto}#module-content .patient-list-controls #patient-search{width:320px;max-width:min(320px,42vw);flex:0 1 320px;align-self:center}#module-content .patient-list-controls #patient-add-toggle{align-self:center;position:relative!important;top:0!important;transform:none!important;margin:0!important;flex:0 0 auto;white-space:nowrap}@media(max-width:650px){#module-content .patient-list-controls{width:100%;flex-wrap:wrap}#module-content .patient-list-controls #patient-search{width:100%;max-width:100%;flex:1 1 100%}}#module-content .patient-form-panel #patient-form input[name=dateOfBirth]{width:180px!important}#module-content .patient-form-panel #patient-form input[name=age]{width:60px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){column-gap:2px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){column-gap:0!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth])>label:has(input[name=age]){margin-left:-10px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:180px 60px!important;column-gap:0!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth])>label:has(input[name=age]){margin-left:0!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:180px 60px minmax(160px,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:160px 60px 140px!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form input[name=dateOfBirth]{width:160px!important}#module-content .patient-form-panel #patient-form select[name=gender]{width:140px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:160px 60px 155px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:220px 60px 155px!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form input[name=dateOfBirth]{width:220px!important}#module-content .patient-form-panel #patient-form select[name=gender]{width:155px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:220px 75px 155px!important}#module-content .patient-form-panel #patient-form input[name=age]{width:75px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:220px 80px 155px!important}#module-content .patient-form-panel #patient-form input[name=age]{width:80px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:220px 100px 155px!important}#module-content .patient-form-panel #patient-form input[name=age]{width:100px!important}#module-content .patient-form-panel #patient-form input[name=mobile]{width:calc(100% - 50px)!important;max-width:none!important}#module-content .patient-form-panel #patient-form input[name=email]{width:40%!important;max-width:none!important}#module-content .patient-form-panel #patient-form input[name=email]{width:100%!important;max-width:none!important}#module-content .patient-form-panel #patient-form input[name=email]{width:60%!important;max-width:none!important}#module-content .patient-form-panel #patient-form input[name=mobile]{width:100%!important;max-width:none!important}#module-content .patient-form-panel #patient-form input[name=mobile]{width:40%!important;max-width:none!important}#module-content .patient-form-panel #patient-form .patient-contact-row{display:grid!important;grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important;gap:8px!important;align-items:start!important}#module-content .patient-form-panel #patient-form .patient-contact-row>label{min-width:0!important}@media(max-width:420px){#module-content .patient-form-panel #patient-form .patient-contact-row{grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important}}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:264px 100px 155px!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form input[name=dateOfBirth]{width:264px!important;max-width:none!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:277.2px 100px 155px!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form input[name=dateOfBirth]{width:277.2px!important;max-width:none!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:277.2px 100px 163px!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form select[name=gender]{width:163px!important;max-width:none!important}.keydate-add-panel{width:30%;max-width:520px;min-width:300px}.keydate-add-panel textarea{min-height:110px;max-height:140px;resize:vertical}@media(max-width:760px){.keydate-add-panel{width:100%;min-width:0}}.keydate-saved-panel{width:70%;max-width:none;min-width:0}@media(max-width:760px){.keydate-saved-panel{width:100%}}.keydate-settings-columns{display:grid;grid-template-columns:minmax(280px,3fr) minmax(0,7fr);gap:18px;align-items:stretch;width:100%}.keydate-settings-columns>.overview-panel{width:100%;max-width:none;min-width:0;margin:12px 0}@media(max-width:760px){.keydate-settings-columns{grid-template-columns:minmax(0,1fr);gap:8px}}.keydate-add-panel{padding:14px 16px}.keydate-add-panel h3{margin-top:0;margin-bottom:10px}.keydate-add-panel .settings-form{gap:9px}.keydate-add-panel .settings-form label{gap:5px}.keydate-add-panel input{min-height:38px;padding-top:7px;padding-bottom:7px}.keydate-add-panel textarea{min-height:88px;max-height:110px;padding:8px 10px}.keydate-add-panel .form-actions{margin-top:2px}.keydate-add-panel #keydate-settings-status{margin:2px 0 0;min-height:0}.keydate-add-panel{padding:10px 14px}.keydate-add-panel h3{margin-bottom:7px;font-size:16px}.keydate-add-panel .settings-form{gap:6px}.keydate-add-panel .settings-form label{gap:3px;font-size:13px}.keydate-add-panel input{min-height:34px;padding:5px 9px}.keydate-add-panel textarea{min-height:68px;max-height:82px;padding:6px 9px;line-height:1.35}.keydate-add-panel .form-actions button{padding:7px 12px;min-height:34px}.keydate-add-panel #keydate-settings-status{font-size:12px;line-height:1.25}.keydate-add-panel{padding:12px 15px}.keydate-add-panel h3{margin-bottom:9px}.keydate-add-panel .settings-form{gap:8px}.keydate-add-panel .settings-form label{gap:4px}.keydate-add-panel input{min-height:36px;padding:6px 9px}.keydate-add-panel textarea{min-height:78px;max-height:92px;padding:7px 9px;line-height:1.4}.keydate-add-panel .form-actions button{padding:8px 12px;min-height:36px}.medicine-entry-panel{width:50%;max-width:none;box-sizing:border-box}@media(max-width:760px){.medicine-entry-panel{width:100%}}.medicine-entry-panel{padding:8px 12px!important}.medicine-entry-panel .module-heading{margin-bottom:5px}.medicine-entry-panel .module-heading p{display:none}.medicine-entry-panel .settings-form{gap:5px}.medicine-entry-panel .settings-form label{gap:3px;font-size:12px}.medicine-entry-panel .settings-form input,.medicine-entry-panel .settings-form select{min-height:30px;padding:4px 7px}.medicine-entry-panel .settings-form textarea{min-height:34px;height:34px;padding:4px 7px;resize:vertical}.medicine-entry-panel .settings-form button{min-height:30px;padding:5px 10px}.medicine-entry-panel #medicine-form-message{margin:0;min-height:0}.medicine-catalogue-panel{width:60%;max-width:none;box-sizing:border-box}@media(max-width:760px){.medicine-catalogue-panel{width:100%}}.medicine-summary-tiles{width:80%;max-width:none;box-sizing:border-box}@media(max-width:760px){.medicine-summary-tiles{width:100%}}.medicine-summary-row{display:flex;align-items:center;gap:16px;width:100%;max-width:100%;box-sizing:border-box}.medicine-summary-row .medicine-summary-tiles{flex:0 1 80%;width:80%;min-width:0}.medicine-add-button{flex:0 0 auto;white-space:nowrap;min-height:42px;padding:9px 14px}@media(max-width:760px){.medicine-summary-row{align-items:stretch;flex-direction:column;gap:9px}.medicine-summary-row .medicine-summary-tiles{width:100%;flex-basis:auto}.medicine-add-button{align-self:flex-start}}body.medicine-drawer-open:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a6b;z-index:9998}#module-content .medicine-drawer-panel{position:fixed!important;z-index:9999!important;top:24px!important;right:24px!important;bottom:24px!important;left:auto!important;width:50vw!important;max-width:760px!important;min-width:0!important;height:auto!important;max-height:calc(100dvh - 48px)!important;overflow-y:auto!important;margin:0!important;padding:24px!important;border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:-12px 0 36px #0f172a2e!important;box-sizing:border-box!important}#module-content .medicine-drawer-panel[hidden]{display:none!important}#module-content .medicine-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e5eaf0}#module-content .medicine-drawer-heading h3{margin:0}#module-content .medicine-drawer-heading p{margin:5px 0 0}#module-content .medicine-drawer-close{flex:0 0 36px;width:36px;height:36px;border:0;border-radius:8px;background:#f1f5f9;color:#334155;font-size:25px;line-height:1;cursor:pointer}@media(max-width:760px){#module-content .medicine-drawer-panel{left:12px!important;right:12px!important;width:auto!important;max-width:none!important;min-width:0!important;top:12px!important;bottom:12px!important;max-height:calc(100dvh - 24px)!important;padding:18px!important}}#module-content .patient-form-panel #patient-form label{font-size:12px!important}#module-content .patient-form-panel #patient-form{display:flex!important;flex-direction:column!important;align-items:flex-start!important}#module-content .patient-form-panel #patient-form>label{width:50%!important;max-width:50%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:10px!important;width:100%!important}#module-content .patient-form-panel #patient-form .form-two>label{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form :is(input,select,textarea){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-contact-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}#module-content .patient-form-panel #patient-form>section,#module-content .patient-form-panel #patient-form>.form-actions,#module-content .patient-form-panel #patient-form>.form-message{width:100%!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel.patient-drawer{width:50vw!important;max-width:50vw!important;padding:8px 12px!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form{gap:5px!important}#module-content .patient-form-panel #patient-form label{gap:3px!important;font-size:12px!important}#module-content .patient-form-panel #patient-form :is(input,select){min-height:30px!important;padding:4px 7px!important;font-size:14px!important}#module-content .patient-form-panel #patient-form textarea{min-height:34px!important;height:34px!important;padding:4px 7px!important;font-size:14px!important;resize:vertical}#module-content .patient-form-panel #patient-form button{min-height:30px!important;padding:5px 10px!important;font-size:14px!important}#module-content .patient-form-panel .patient-drawer-heading{margin-bottom:5px!important}#module-content .patient-form-panel #patient-form .overview-panel{margin:5px 0!important;padding:8px!important}@media(max-width:760px){#module-content .patient-form-panel.patient-drawer{width:100%!important;max-width:100%!important;padding:8px 12px!important}}#module-content .patient-form-panel #patient-form>label:has(input[name=fullName]){width:50%!important;max-width:50%!important}@media(max-width:760px){#module-content .patient-form-panel #patient-form>label:has(input[name=fullName]){width:50%!important;max-width:50%!important}}#module-content .patient-form-panel.patient-drawer{position:fixed!important;z-index:9999!important;top:24px!important;right:24px!important;bottom:24px!important;left:auto!important;width:50vw!important;max-width:760px!important;min-width:0!important;height:auto!important;max-height:calc(100dvh - 48px)!important;overflow-y:auto!important;margin:0!important;padding:24px!important;border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:-12px 0 36px #0f172a2e!important;box-sizing:border-box!important}@media(max-width:760px){#module-content .patient-form-panel.patient-drawer{left:12px!important;right:12px!important;width:auto!important;max-width:none!important;min-width:0!important;top:12px!important;bottom:12px!important;max-height:calc(100dvh - 24px)!important;padding:18px!important}}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) 100px 163px!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form input[name=dateOfBirth]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,30%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,20%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,10%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form>label:has(input[name=fullName]){width:60%!important;max-width:60%!important}@media(max-width:760px){#module-content .patient-form-panel #patient-form>label:has(input[name=fullName]){width:60%!important;max-width:60%!important}}#module-content .patient-form-panel #patient-form .patient-contact-row{display:grid!important;grid-template-columns:minmax(0,40%) minmax(0,60%)!important;gap:8px!important;align-items:start!important}#module-content .patient-form-panel #patient-form .patient-contact-row input[name=mobile],#module-content .patient-form-panel #patient-form .patient-contact-row input[name=email]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-name-mobile-row{display:grid!important;grid-template-columns:minmax(0,60fr) minmax(0,40fr)!important;gap:8px!important;align-items:start!important;width:100%!important;max-width:100%!important}#module-content .patient-form-panel #patient-form .patient-name-mobile-row>label{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-name-mobile-row input{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form input[name=dateOfBirth],#module-content .patient-form-panel #patient-form input[name=age]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,35%) minmax(0,15%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .patient-contact-row{grid-template-columns:minmax(0,40%) minmax(0,1fr)!important}#module-content .patient-form-panel #patient-form .patient-contact-row>label{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-contact-row input[name=email]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,35%) minmax(0,10%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,35%) minmax(0,12%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form input[name=age]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,35%) minmax(0,12%) minmax(0,15%)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form select[name=gender]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,15%) minmax(0,1fr)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row input[name=dateOfBirth],#module-content .patient-form-panel #patient-form .patient-dob-gender-row select[name=gender]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label.patient-age-below-dob{width:12%!important;max-width:12%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label.patient-age-below-dob input[name=age]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{grid-template-columns:minmax(0,35%) minmax(0,25%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{grid-template-columns:minmax(0,35%) minmax(0,35%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row select[name=gender]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{display:grid!important;grid-template-columns:35% 35%!important;justify-content:start!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row>label:nth-child(2){width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{display:grid!important;grid-template-columns:35% 50%!important;justify-content:start!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row>label:nth-child(2){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row>label:nth-child(2) select[name=gender]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,50%)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,25%)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,22%)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth])>label:nth-child(2){width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]) select[name=gender]{width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,24%)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,23%)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth])>label:nth-child(2){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]) select[name=gender]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,23%) minmax(0,1fr)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row>label{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row :is(input,select){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,23%) minmax(0,40%)!important;column-gap:6px!important;width:100%!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth])>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two:has(input[name=dateOfBirth]) :is(input,select){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{display:grid!important;grid-template-columns:minmax(0,15%) minmax(0,42.5%) minmax(0,42.5%)!important;column-gap:6px!important;width:100%!important;align-items:start!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,18%) minmax(0,1fr) minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,15%) minmax(0,45%) minmax(0,40%)!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,18%) minmax(0,42%) minmax(0,40%)!important}}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{display:grid!important;grid-template-columns:35% 23% 40%!important;column-gap:6px!important;width:100%!important;justify-content:space-between!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row>label:has(input[name=email]){display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row input[name=email]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,12%) minmax(0,48%) minmax(0,40%)!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label.patient-age-below-dob{width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label.patient-age-below-dob input[name=age]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{display:grid!important;grid-template-columns:minmax(0,12%) minmax(0,40%)!important;justify-content:space-between!important;column-gap:6px!important;width:100%!important;align-items:start!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row :is(input,select){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label:has(select[name=serviceCategory]){display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form>label:has(select[name=serviceCategory]) select[name=serviceCategory]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,12%) minmax(0,40%)!important}}#module-content .patient-form-panel #patient-form>label:has(textarea[name=address]){display:flex!important;flex-direction:column!important;width:48%!important;max-width:48%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label:has(textarea[name=address]) textarea[name=address]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form>label:has(textarea[name=address]){width:48%!important;max-width:48%!important}}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{display:grid!important;grid-template-columns:minmax(0,12%) minmax(0,48%) minmax(0,40%)!important;justify-content:space-between!important;column-gap:6px!important;width:100%!important;align-items:start!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label:has(textarea[name=address]){display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,12%) minmax(0,48%) minmax(0,40%)!important}}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{display:grid!important;grid-template-columns:minmax(0,30%) minmax(0,23%) minmax(0,40%)!important;column-gap:6px!important;width:100%!important;justify-content:space-between!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row>label,#module-content .patient-form-panel #patient-form .patient-dob-gender-row :is(input,select){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:minmax(0,30%) minmax(0,23%) minmax(0,40%)!important;column-gap:6px!important;width:100%!important;justify-content:space-between!important;align-items:start!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]) :is(input,select){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,18%) minmax(0,40%)!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,16%) minmax(0,40%) minmax(0,1fr)!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,12%) minmax(0,18%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label{min-width:0!important;max-width:100%!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,48%) minmax(0,40%)!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,12%) minmax(0,18%) minmax(0,1fr)!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,48%) minmax(0,40%)!important}}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,70%) minmax(0,30%)!important;column-gap:6px!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-age-service-source-row{grid-template-columns:minmax(0,70%) minmax(0,30%)!important}}#module-content .patient-form-panel #patient-form>label.patient-source-below-address{display:flex!important;flex-direction:column!important;width:30%!important;max-width:30%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label.patient-source-below-address select[name=patientSource]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form>label.patient-source-below-address{width:30%!important;max-width:30%!important}}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,12%) minmax(0,16%) minmax(0,1fr)!important;column-gap:6px!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,30%) minmax(0,12%) minmax(0,16%) minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(select[name=gender]){width:16%!important;min-width:0!important;max-width:16%!important;flex:0 0 16%!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(select[name=gender]) select[name=gender]{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:30% 12% 16% minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(select[name=gender]){grid-column:3!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(select[name=gender]) select[name=gender]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:30% 12% 16% minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){display:grid!important;grid-template-columns:30% 12% 17% minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:6px!important;row-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(input[name=email]){grid-column:1!important;grid-row:2!important;width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(input[name=email]) input[name=email]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:30% 12% 17% minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:30% 12% 25% minmax(0,1fr)!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(select[name=gender]){grid-column:3!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:30% 12% 25% minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(input[name=email]){grid-column:1 / span 2!important;grid-row:2!important;width:50%!important;max-width:50%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(input[name=email]){grid-column:1 / -1!important;grid-row:2!important;justify-self:start!important;width:50%!important;max-width:50%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(input[name=email]) input[name=email]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label:has(select[name=serviceCategory]){width:30%!important;max-width:30%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label:has(select[name=serviceCategory]) select[name=serviceCategory]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form>label:has(select[name=serviceCategory]){width:30%!important;max-width:30%!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row{display:grid!important;grid-template-columns:minmax(0,30%) minmax(0,30%)!important;column-gap:6px!important;justify-content:start!important;align-items:start!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-source-service-row select{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,30%) minmax(0,30%)!important}}#module-content .patient-form-panel #patient-form textarea[name=notes]{height:10vh!important;min-height:10vh!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-emergency-notes-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;align-items:start!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-emergency-notes-row>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-emergency-notes-row textarea[name=notes]{height:10vh!important;min-height:10vh!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-emergency-notes-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column textarea[name=medicalHistory]{width:100%!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-emergency-notes-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-allergies-column textarea[name=allergies]{width:100%!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,50%) minmax(0,30%)!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address select[name=patientSource]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,50%) minmax(0,30%)!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source select[name=serviceCategory]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-allergies-column{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-allergies-column textarea[name=allergies]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form textarea[name=address]{height:10vh!important;min-height:10vh!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-notes-allergies-column{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-notes-allergies-column>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-notes-allergies-column textarea[name=allergies]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-notes-allergies-column textarea[name=notes]{height:10vh!important;min-height:10vh!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{grid-column:1!important;grid-row:1!important;order:1!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{grid-column:2!important;grid-row:1!important;order:2!important}#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,50%) minmax(0,50%)!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,50%) minmax(0,50%)!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:6px!important;column-gap:0!important;justify-content:start!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{grid-column:1!important;grid-row:1!important;order:1!important;width:50%!important;max-width:50%!important;justify-self:start!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{grid-column:1!important;grid-row:2!important;order:2!important;width:50%!important;max-width:50%!important;justify-self:start!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label select{width:100%!important;max-width:100%!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(input[name=email]){width:35%!important;max-width:35%!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:has(input[name=email]) input[name=email]{width:100%!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-email-row>label{display:flex!important;flex-direction:column!important;width:35%!important;max-width:35%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-email-row{display:block!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-email-row>label{display:flex!important;flex-direction:column!important;width:40%!important;max-width:40%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-email-row input[name=email]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label:has(textarea[name=address]){width:60%!important;max-width:60%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form textarea[name=address]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row:has(>label:has(textarea[name=address])){display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;justify-content:start!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label:has(textarea[name=address]){grid-column:1!important;justify-self:start!important;width:60%!important;max-width:60%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label:has(textarea[name=address]) textarea[name=address]{width:100%!important;max-width:100%!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;align-self:stretch!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label:has(textarea[name=address]){display:flex!important;flex-direction:column!important;width:60%!important;max-width:60%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-age-service-source-row>label:has(textarea[name=address]) textarea[name=address]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-address-email-row{display:grid!important;grid-template-columns:minmax(0,60fr) minmax(0,40fr)!important;gap:8px!important;align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-address-email-row>label{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-address-email-row textarea[name=address],#module-content .patient-form-panel #patient-form .patient-address-email-row input[name=email]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-address-email-row{grid-template-columns:minmax(0,60fr) minmax(0,40fr)!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{width:33.333%!important;max-width:33.333%!important;min-width:0!important;box-sizing:border-box!important;justify-self:start!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{width:33.333%!important;max-width:33.333%!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{width:33.333%!important;max-width:33.333%!important;min-width:0!important;justify-self:start!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{width:33.333%!important;max-width:33.333%!important}}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-emergency-contact{display:flex!important;flex-direction:column!important;width:40%!important;max-width:40%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-emergency-contact{width:40%!important;max-width:40%!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{width:30%!important;max-width:30%!important;min-width:0!important;justify-self:start!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address select[name=patientSource]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{width:30%!important;max-width:30%!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{width:30%!important;max-width:30%!important;min-width:0!important;justify-self:start!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source select[name=serviceCategory]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{width:30%!important;max-width:30%!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row{display:grid!important;grid-template-columns:minmax(0,30%) minmax(0,30%)!important;grid-auto-flow:row!important;column-gap:8px!important;row-gap:0!important;align-items:start!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important;justify-self:start!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important;justify-self:start!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,30%) minmax(0,30%)!important;column-gap:8px!important}}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-emergency-contact{display:flex!important;flex-direction:column!important;flex:0 0 80%!important;width:80%!important;max-width:80%!important;min-width:0!important;box-sizing:border-box!important;align-self:flex-start!important}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-emergency-contact input[name=emergencyContact]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-emergency-medical-column>label.patient-emergency-contact{flex-basis:80%!important;width:80%!important;max-width:80%!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row{display:grid!important;grid-template-columns:minmax(0,30%) minmax(0,30%) minmax(0,40%)!important;column-gap:0!important;row-gap:0!important;align-items:start!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-emergency-contact{grid-column:3!important;grid-row:1!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-emergency-contact input[name=emergencyContact]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,30%) minmax(0,30%) minmax(0,40%)!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,28%) minmax(0,32%) minmax(0,40%)!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,28%) minmax(0,32%) minmax(0,40%)!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,28%) minmax(0,28%) minmax(0,40%)!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,28%) minmax(0,28%) minmax(0,40%)!important}}#module-content .patient-form-panel #patient-form .patient-source-service-row{display:grid!important;grid-template-columns:minmax(0,28fr) minmax(0,28fr) minmax(0,40fr)!important;column-gap:10px!important;row-gap:0!important;align-items:start!important;width:100%!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-emergency-contact{grid-column:3!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label select,#module-content .patient-form-panel #patient-form .patient-source-service-row>label input{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,28fr) minmax(0,28fr) minmax(0,40fr)!important;column-gap:8px!important}}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,35%) minmax(0,12%) minmax(0,25%) minmax(0,1fr)!important;column-gap:6px!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:first-child{grid-column:1!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth])>label:first-child input[name=dateOfBirth]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form .form-two.patient-dob-gender-row:has(input[name=dateOfBirth]){grid-template-columns:minmax(0,35%) minmax(0,12%) minmax(0,25%) minmax(0,1fr)!important}}#module-content .patient-form-panel #patient-form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form>label,#module-content .patient-form-panel #patient-form .patient-name-mobile-row>label,#module-content .patient-form-panel #patient-form .patient-dob-gender-row>label,#module-content .patient-form-panel #patient-form .patient-address-email-row>label,#module-content .patient-form-panel #patient-form .patient-source-service-row>label,#module-content .patient-form-panel #patient-form .patient-emergency-notes-row label{display:flex!important;flex-direction:column!important;align-self:start!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form :is(input,select,textarea){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-name-mobile-row{display:grid!important;grid-template-columns:minmax(0,60fr) minmax(0,40fr)!important;gap:10px!important;align-items:start!important;width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{display:grid!important;grid-template-columns:minmax(0,35fr) minmax(0,12fr) minmax(0,25fr)!important;gap:8px!important;align-items:start!important;width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-address-email-row{display:grid!important;grid-template-columns:minmax(0,60fr) minmax(0,40fr)!important;gap:10px!important;align-items:start!important;width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-source-service-row{display:grid!important;grid-template-columns:minmax(0,28fr) minmax(0,28fr) minmax(0,40fr)!important;gap:10px!important;align-items:start!important;width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address{grid-column:1!important;grid-row:1!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source{grid-column:2!important;grid-row:1!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-emergency-contact{grid-column:3!important;grid-row:1!important}#module-content .patient-form-panel #patient-form .patient-emergency-notes-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-emergency-medical-column,#module-content .patient-form-panel #patient-form .patient-notes-allergies-column{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important;min-width:0!important}#module-content .patient-form-panel #patient-form .patient-emergency-notes-row textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}#module-content .patient-form-panel #patient-form .patient-emergency-notes-row textarea[name=notes]{height:10vh!important;min-height:10vh!important}#module-content .patient-form-panel #patient-form>section.overview-panel,#module-content .patient-form-panel #patient-form>.form-actions,#module-content .patient-form-panel #patient-form>.form-message{width:100%!important;max-width:100%!important;box-sizing:border-box!important}@media(max-width:640px){#module-content .patient-form-panel #patient-form{gap:9px!important}#module-content .patient-form-panel #patient-form .patient-name-mobile-row,#module-content .patient-form-panel #patient-form .patient-address-email-row,#module-content .patient-form-panel #patient-form .patient-emergency-notes-row{grid-template-columns:minmax(0,1fr)!important}#module-content .patient-form-panel #patient-form .patient-dob-gender-row{grid-template-columns:minmax(0,35fr) minmax(0,12fr) minmax(0,25fr)!important;gap:6px!important}#module-content .patient-form-panel #patient-form .patient-source-service-row{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-source-below-address,#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-service-next-to-source,#module-content .patient-form-panel #patient-form .patient-source-service-row>label.patient-emergency-contact{grid-column:1!important;grid-row:auto!important}}.medicine-stock-entry-panel{width:40%;max-width:none;box-sizing:border-box}@media(max-width:760px){.medicine-stock-entry-panel{width:100%}}#module-content .medicine-catalogue-stock-row{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,40fr);gap:14px;align-items:start;width:100%;max-width:100%;box-sizing:border-box;margin:12px 0}#module-content .medicine-catalogue-side-column{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%;box-sizing:border-box}#module-content .medicine-catalogue-side-column>.medicine-catalogue-panel,#module-content .medicine-catalogue-side-column>.medicine-stock-expiry-panel{width:100%!important;max-width:none!important;min-width:0;margin:0!important;box-sizing:border-box}#module-content .medicine-catalogue-stock-row>.medicine-catalogue-panel,#module-content .medicine-catalogue-stock-row>.medicine-stock-entry-panel{width:100%!important;max-width:none!important;min-width:0;margin:0!important}@media(max-width:760px){#module-content .medicine-catalogue-stock-row{grid-template-columns:minmax(0,1fr)}}.medicine-name-list-panel{width:40%;max-width:none;box-sizing:border-box}@media(max-width:760px){.medicine-name-list-panel{width:100%}}#module-content .medicine-stock-side-column{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%;box-sizing:border-box}#module-content .medicine-stock-side-column>.medicine-stock-entry-panel,#module-content .medicine-stock-side-column>.medicine-name-list-panel{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}.medicine-recent-records-panel{width:100%;max-width:none;box-sizing:border-box}#module-content .billing-form-panel{width:50%!important;max-width:50%!important;box-sizing:border-box!important}@media(max-width:760px){#module-content .billing-form-panel{width:100%!important;max-width:100%!important}}#module-content .billing-visit-payment-panel{width:50%!important;max-width:50%!important;box-sizing:border-box!important}@media(max-width:760px){#module-content .billing-visit-payment-panel{width:100%!important;max-width:100%!important}}@media(min-width:761px){#module-content .billing-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important}#module-content .billing-page>.billing-page-heading,#module-content .billing-page>.billing-stat-grid{grid-column:1 / -1!important}#module-content .billing-page>.billing-form-panel{grid-column:1!important;grid-row:3!important;width:100%!important;max-width:100%!important}#module-content .billing-page>.billing-visit-payment-panel{grid-column:2!important;grid-row:3!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}#module-content .billing-page>.billing-summary-panel{grid-column:2!important;grid-row:4!important;width:100%!important;max-width:100%!important}#module-content .billing-page>section:not(.billing-form-panel):not(.billing-summary-panel):not(.billing-visit-payment-panel){grid-column:1 / -1!important;grid-row:5!important}}@media(max-width:760px){#module-content .billing-page{grid-template-columns:minmax(0,1fr)!important}#module-content .billing-page>.billing-form-panel,#module-content .billing-page>.billing-visit-payment-panel,#module-content .billing-page>.billing-summary-panel{grid-column:1!important;grid-row:auto!important;width:100%!important;max-width:100%!important}}@media(min-width:761px){#module-content .billing-page>.billing-right-column{grid-column:2!important;grid-row:3!important;width:100%!important;max-width:100%!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:16px!important}#module-content .billing-page>.billing-right-column>.billing-visit-payment-panel,#module-content .billing-page>.billing-right-column>.billing-summary-panel{width:100%!important;max-width:100%!important;box-sizing:border-box!important}}@media(max-width:760px){#module-content .billing-page>.billing-right-column{grid-column:1!important;grid-row:auto!important;width:100%!important;max-width:100%!important;display:flex!important;flex-direction:column!important;gap:16px!important}#module-content .billing-page>.billing-right-column>.billing-visit-payment-panel,#module-content .billing-page>.billing-right-column>.billing-summary-panel{width:100%!important;max-width:100%!important}}@media(min-width:761px){#module-content .billing-page>.billing-form-panel{height:85vh!important;min-height:85vh!important;box-sizing:border-box!important}}@media(max-width:760px){#module-content .billing-page>.billing-form-panel{height:auto!important;min-height:0!important}}@media(min-width:761px){#module-content #dental-casepaper-form>label:first-child{width:50%!important;max-width:50%!important;box-sizing:border-box!important}}@media(max-width:760px){#module-content #dental-casepaper-form>label:first-child{width:100%!important;max-width:100%!important}}@media(min-width:761px){#module-content #dental-casepaper-form>label:nth-of-type(2){width:50%!important;max-width:50%!important;box-sizing:border-box!important}}@media(max-width:760px){#module-content #dental-casepaper-form>label:nth-of-type(2){width:100%!important;max-width:100%!important}}@media(min-width:761px){#module-content #dental-casepaper-form>label:nth-of-type(3){width:50%!important;max-width:50%!important;box-sizing:border-box!important}}@media(max-width:760px){#module-content #dental-casepaper-form>label:nth-of-type(3){width:100%!important;max-width:100%!important}}@media(min-width:761px){#module-content #dental-casepaper-form>label:nth-of-type(4){width:50%!important;max-width:50%!important;box-sizing:border-box!important}}@media(max-width:760px){#module-content #dental-casepaper-form>label:nth-of-type(4){width:100%!important;max-width:100%!important}}#module-content #dental-casepaper-form>button[type=submit]{width:50%!important;max-width:50%!important}
