@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap";:root{font-family:Inter,Arial,sans-serif;color:#273a37;background:#f6fafa;font-synthesis:none;--blue: #12b871;--blue-dark: #0d9e61;--charcoal: #3f454b;--muted: #7c8792;--border: #e1e9e8;--green: #28a745;--orange: #f4a51c;--red: #dc3545}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(18,184,113,.22);outline-offset:2px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;display:flex;flex-direction:column;padding:0 14px 18px;color:#fff;background:#41474d;z-index:30}.sidebar-brand{height:77px;display:flex;align-items:center;padding:0 10px;border-bottom:1px solid rgba(255,255,255,.1)}.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:38px;height:38px;position:relative;flex:0 0 auto;border:2px solid var(--blue);border-radius:11px 11px 17px;transform:rotate(-5deg)}.brand-mark:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;background:var(--blue);border-radius:7px 7px 12px}.brand-mark span{position:absolute;background:#fff;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%) rotate(5deg);border-radius:2px}.brand-mark span:first-child{width:15px;height:5px}.brand-mark span:last-child{width:5px;height:15px}.brand strong{display:block;font:600 16px/1.05 Poppins,sans-serif;letter-spacing:-.3px}.brand small{display:block;margin-top:4px;color:#8de4be;font-size:9px;letter-spacing:3.3px;font-weight:700}.sidebar nav{padding-top:21px}.nav-label{display:block;margin:0 12px 10px;color:#aeb6bd;font-size:9px;letter-spacing:1.5px;font-weight:700}.nav-label.second{margin-top:24px}.sidebar nav button{width:100%;height:45px;display:flex;align-items:center;gap:12px;margin:3px 0;padding:0 13px;border:0;border-radius:9px;color:#dce5e3;background:transparent;font-size:13px;font-weight:500;text-align:left;transition:.2s}.sidebar nav button:hover{color:#fff;background:#ffffff12}.sidebar nav button.active{color:#fff;background:var(--blue);box-shadow:0 5px 18px #12b87140}.sidebar nav button em{margin-left:auto;min-width:20px;padding:3px 6px;border-radius:20px;color:#b8fcde;background:#12b8713d;font-size:9px;font-style:normal;text-align:center}.sidebar nav button.active em{color:var(--blue);background:#fff}.help-card{margin-top:auto;padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#ffffff0e}.help-card>div{width:34px;height:34px;display:grid;place-items:center;margin-bottom:11px;border-radius:9px;color:#8deac0;background:#12b87129}.help-card b,.help-card small{display:block}.help-card b{font-size:12px}.help-card small{margin:5px 0 12px;color:#b6bec5;font-size:10px;line-height:1.5}.help-card button{padding:0;border:0;color:#80e9bb;background:none;font-size:10px;font-weight:700}.system-status{display:flex;align-items:center;gap:7px;padding:15px 6px 0;color:#adb6bd;font-size:9px}.system-status i{width:7px;height:7px;border-radius:50%;background:#47c36b;box-shadow:0 0 0 3px #47c36b21}.mobile-close{display:none}.main-area{margin-left:254px}.topbar{position:sticky;top:0;height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 31px;border-bottom:1px solid var(--border);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20}.topbar-left{display:flex;align-items:center}.desktop-title{color:#354442;font:600 16px Poppins,sans-serif}.menu-button,.mobile-brand{display:none}.topbar-actions{display:flex;align-items:center;gap:15px}.global-search{width:310px;height:39px;display:flex;align-items:center;gap:9px;padding:0 10px;color:#8c959e;border:1px solid #e4eae9;border-radius:9px;background:#f7faf9}.global-search input{width:100%;border:0;outline:0;color:#3e464e;background:transparent;font-size:11px}.global-search input::placeholder{color:#9aa2aa}kbd{padding:3px 6px;border:1px solid #dfe6e5;border-radius:5px;color:#8d959c;background:#fff;font:9px Inter;white-space:nowrap}.notification-button,.icon-button,.menu-button,.mobile-close{border:0;background:none;color:#646e77}.notification-button{position:relative;width:38px;height:38px;display:grid;place-items:center;border:1px solid #e5ebea;border-radius:9px}.notification-button i{position:absolute;top:7px;right:8px;width:7px;height:7px;border:2px solid white;border-radius:50%;background:var(--red)}.profile-button{display:flex;align-items:center;gap:9px;padding:0 0 0 14px;border:0;border-left:1px solid #e4eae9;color:#5e6871;background:none;text-align:left}.profile-avatar,.avatar{display:grid;place-items:center;flex:0 0 auto;border-radius:10px;color:#fff;background:var(--blue);font-size:11px;font-weight:700}.profile-avatar{width:37px;height:37px;background:linear-gradient(145deg,#4c7063,#28453b)}.profile-button span{min-width:95px}.profile-button b,.profile-button small{display:block}.profile-button b{color:#3e4f4d;font-size:11px}.profile-button small{margin-top:3px;color:#929aa2;font-size:9px}main{padding:31px}.hero-row,.module-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}h1,h2{margin:0;font-family:Poppins,sans-serif;color:#394947}h1{margin-bottom:5px;font-size:25px;line-height:1.25;letter-spacing:-.65px}h2{font-size:14px;letter-spacing:-.2px}.eyebrow{margin:0 0 6px;color:var(--blue);font-size:9px;letter-spacing:.7px;font-weight:700;text-transform:uppercase}.subtitle{margin:0;color:#87919a;font-size:11px}.primary-button,.secondary-button{height:41px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border-radius:9px;font-size:11px;font-weight:700;white-space:nowrap}.primary-button{border:1px solid var(--blue);color:#fff;background:var(--blue);box-shadow:0 5px 14px #12b8712e}.primary-button:hover{background:var(--blue-dark)}.secondary-button{border:1px solid #dce6e4;color:#606a73;background:#fff}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.dash-cards-6{grid-template-columns:repeat(3,1fr)}.metric-card{position:relative;min-height:153px;overflow:hidden;padding:17px 18px;border:1px solid var(--border);border-radius:13px;background:#fff;box-shadow:0 3px 12px #1d413c06}.metric-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--blue)}.metric-card.purple:before{background:#7b6fd0}.metric-card.green:before{background:var(--green)}.metric-card.orange:before{background:var(--orange)}.metric-card.teal:before{background:#0d9488}.metric-card.teal .metric-icon{color:#0d9488;background:#ccfbf1}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#a6aeb5}.metric-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:9px;color:var(--blue);background:#e9faf3}.purple .metric-icon{color:#7566c8;background:#f0edfb}.green .metric-icon{color:var(--green);background:#eaf7ed}.orange .metric-icon{color:#df9212;background:#fff5e4}.metric-card>p{margin:12px 0 3px;color:#7f8992;font-size:10px}.metric-value{color:#30413f;font:700 24px Poppins,sans-serif;letter-spacing:-.6px}.metric-card>small{color:#929aa2;font-size:9px}.metric-card>small b{color:var(--green)}.purple>small b{color:#7668c9}.orange>small b{color:#df9212}.panel{border:1px solid var(--border);border-radius:13px;background:#fff;box-shadow:0 3px 12px #1d413c06}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:18px;margin-bottom:18px}.panel-heading{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;border-bottom:1px solid #edf2f1}.panel-heading p{margin:4px 0 0;color:#929aa2;font-size:9px}.panel-heading select{height:32px;padding:0 27px 0 10px;border:1px solid #e0e8e7;border-radius:7px;color:#68727b;background:#fff;font-size:9px}.chart-legend{display:flex;align-items:center;gap:15px;padding:15px 19px 5px;color:#8c959d;font-size:9px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:17px;height:3px;border-top:2px dashed #aeb7bf}.chart-legend i.current{border:0;border-radius:4px;background:var(--blue)}.chart-legend>b{margin-left:auto;color:var(--green)}.chart-legend b small{color:#929aa2;font-weight:400}.chart-wrap{height:205px;padding:8px 12px 8px 5px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px}.quick-grid button{min-height:83px;display:flex;flex-direction:column;align-items:flex-start;position:relative;padding:13px;border:1px solid #e5eceb;border-radius:10px;color:#4b555e;background:#fff;font-size:10px;font-weight:600;text-align:left}.quick-grid button:hover{border-color:#9de5c6;background:#f7fdfa}.quick-grid button>span{width:31px;height:31px;display:grid;place-items:center;margin-bottom:8px;border-radius:8px;color:var(--blue);background:#e9faf3}.quick-grid button>svg{position:absolute;top:16px;right:10px;color:#b3bbc2}.consultation-callout{display:flex;align-items:center;justify-content:space-between;margin:0 14px 14px;padding:11px;border-radius:9px;background:#ecfaf3}.consultation-callout>div{display:flex;align-items:center;gap:9px}.consultation-callout>div>span{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;color:#fff;background:var(--blue)}.consultation-callout b,.consultation-callout small{display:block}.consultation-callout b{color:#425852;font-size:9px}.consultation-callout small{margin-top:3px;color:#78988c;font-size:8px}.consultation-callout button{border:0;color:var(--blue);background:none;font-size:9px;font-weight:700}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:18px}.text-button{display:flex;align-items:center;gap:3px;padding:0;border:0;color:var(--blue);background:none;font-size:9px;font-weight:700}.appointment-row{min-height:61px;display:grid;grid-template-columns:80px 35px minmax(130px,1fr) 100px 88px 24px;align-items:center;gap:9px;padding:7px 13px 7px 18px;border-bottom:1px solid #f0f4f4}.appointment-row:last-child{border:0}.appointment-time{display:flex;align-items:center;gap:5px;color:#707a83;font-size:9px}.appointment-time svg{color:#9da5ac}.avatar{width:32px;height:32px;background:linear-gradient(145deg,#59cc9a,#15b06d)}.avatar.light{color:var(--blue);background:#e8f9f2}.patient-main b,.patient-main small,.recent-list b,.recent-list small{display:block}.patient-main b,.recent-list b{color:#465058;font-size:9px}.patient-main small,.recent-list small{margin-top:4px;color:#9099a1;font-size:8px}.doctor-name{color:#66717a;font-size:8px}.status{width:max-content;display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:20px;color:#187c4c;background:#eaf7ef;font-size:8px;font-weight:600}.status i{width:5px;height:5px;border-radius:50%;background:currentColor}.status-confirmed,.status-booked,.status-active{color:#149961;background:#e9faf3}.status-waiting{color:#bd7911;background:#fff4df}.status-inactive{color:#7f8991;background:#eff3f3}.icon-button{padding:4px}.recent-list button{width:100%;min-height:61px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:7px 17px;border:0;border-bottom:1px solid #f0f4f4;background:#fff;text-align:left}.recent-list button:last-child{border:0}.recent-list button:hover{background:#f6fcf9}.recent-list time{align-self:start;margin-top:9px;color:#a0a7ae;font-size:7px}.module-page{min-height:calc(100vh - 140px)}.module-header{align-items:center}.data-panel{overflow:hidden}.table-tools{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #edf2f1}.table-tools>div{display:flex;align-items:center;gap:9px}.table-tools b{font:600 14px Poppins,sans-serif}.table-tools span{padding:4px 8px;border-radius:20px;color:#75818a;background:#f0f4f4;font-size:9px}.table-tools .secondary-button{height:33px}.patient-table>button{width:100%;min-height:69px;display:grid;grid-template-columns:38px minmax(150px,1.2fr) 1fr 1fr 90px 20px;align-items:center;gap:12px;padding:8px 18px;border:0;border-bottom:1px solid #eef3f2;color:#67727b;background:#fff;font-size:10px;text-align:left}.patient-table>button:nth-child(2n){background:#fafcfc}.patient-table>button:hover{background:#f1fcf7}.patient-table>button>div:nth-child(2) b,.patient-table>button>div:nth-child(2) small{display:block}.patient-table>button>div:nth-child(2) b{color:#3f514e;font-size:11px}.patient-table>button>div:nth-child(2) small{margin-top:4px;color:#929ba3;font-size:9px}.empty-state{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9ba4ab}.empty-state b{margin:10px 0 5px;color:#4c565e}.empty-state span{font-size:10px}.schedule-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.mini-calendar{padding:17px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:12px}.calendar-head>div{display:flex;gap:4px}.calendar-head button{width:27px;height:27px;border:1px solid #e2e9e8;border-radius:7px;color:#64707a;background:#fff}.weekdays,.dates{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.weekdays span{padding:5px 0 9px;color:#9aa2aa;font-size:9px;font-weight:700}.dates button{aspect-ratio:1;border:0;border-radius:8px;color:#5f6972;background:none;font-size:9px}.dates button:hover{background:#eafaf3}.dates button.selected{color:#fff;background:var(--blue);font-weight:700;box-shadow:0 4px 10px #12b87140}.dates button.muted{color:#c5cbd0}.schedule-summary{display:grid;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #edf2f1}.schedule-summary span{display:flex;align-items:center;color:#6d7780;font-size:9px}.schedule-summary i{width:7px;height:7px;margin-right:8px;border-radius:50%}.schedule-summary b{margin-left:auto;color:#404950}.blue-dot{background:var(--blue)}.green-dot{background:var(--green)}.orange-dot{background:var(--orange)}.day-schedule{padding-bottom:15px}.day-schedule .secondary-button{height:33px}.schedule-row{min-height:78px;display:grid;grid-template-columns:72px 17px 1fr;align-items:stretch;padding:0 17px}.schedule-row>time{padding-top:25px;color:#68727a;font-size:9px;font-weight:600}.timeline{position:relative;display:flex;justify-content:center}.timeline:before{content:"";position:absolute;inset:0 auto;width:1px;background:#dbe8e3}.timeline i{position:relative;z-index:1;width:8px;height:8px;margin-top:27px;border:2px solid white;border-radius:50%;background:var(--blue);box-shadow:0 0 0 2px #a7e7cb}.schedule-card{min-height:61px;display:grid;grid-template-columns:36px minmax(130px,1fr) 110px 90px 24px;align-items:center;gap:11px;margin:8px 0 8px 11px;padding:8px 11px;border:1px solid #e5eceb;border-left:3px solid var(--blue);border-radius:9px;background:#fff}.schedule-card>div:nth-child(2) b,.schedule-card>div:nth-child(2) small{display:block}.schedule-card>div:nth-child(2) b{color:#465058;font-size:10px}.schedule-card>div:nth-child(2) small{margin-top:4px;color:#9099a1;font-size:8px}.schedule-card>span{color:#68737b;font-size:9px}.module-placeholder{min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center}.module-placeholder>div{position:relative;width:74px;height:74px;display:grid;place-items:center;margin-bottom:18px;border-radius:22px;color:var(--blue);background:#e8f9f2}.module-placeholder>div span{position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px;border:1px dashed #a8e5ca;border-radius:26px}.module-placeholder h2{font-size:18px}.module-placeholder p{max-width:480px;margin:8px auto 19px;color:#85909a;font-size:11px;line-height:1.7}.popover-wrap,.profile-wrap{position:relative}.popover{position:absolute;top:calc(100% + 12px);right:0;width:310px;overflow:hidden;border:1px solid #e2e9e8;border-radius:12px;background:#fff;box-shadow:0 15px 45px #203d3829;animation:pop .16s ease-out}@keyframes pop{0%{transform:translateY(-5px);opacity:0}}.notification-popover>div{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #edf2f1;font-size:11px}.notification-popover>div button{border:0;color:var(--blue);background:none;font-size:8px;font-weight:700}.notification-popover>button{width:100%;display:flex;gap:10px;padding:12px 14px;border:0;border-bottom:1px solid #f0f4f4;background:#fff;text-align:left}.notification-popover>button:hover{background:#f6fcf9}.notice-icon{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;color:var(--blue);background:#e8f9f2}.notice-icon.warning{color:#d38b16;background:#fff4df}.notification-popover p{margin:0}.notification-popover p b,.notification-popover p small{display:block}.notification-popover p b{color:#415350;font-size:9px}.notification-popover p small{margin-top:4px;color:#8d969e;font-size:8px}.profile-popover{width:190px;padding:7px}.profile-popover button{width:100%;height:37px;display:flex;align-items:center;gap:9px;padding:0 10px;border:0;border-radius:7px;color:#626d76;background:#fff;font-size:9px;text-align:left}.profile-popover button:hover{background:#f2f9f6}.profile-popover .sign-out{margin-top:5px;border-top:1px solid #e9efee;border-radius:0;color:var(--red)}.toast{position:fixed;right:24px;bottom:24px;z-index:60;display:flex;align-items:center;gap:9px;padding:12px 17px;border-radius:10px;color:#fff;background:#344742;box-shadow:0 12px 35px #1b2f2b40;font-size:10px;animation:toast-in .2s ease-out}.toast span{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:var(--green);font-weight:700}@keyframes toast-in{0%{transform:translateY(12px);opacity:0}}.sidebar-backdrop{display:none}@media(max-width:1150px){.metrics-grid,.dash-cards-6{grid-template-columns:repeat(2,1fr)}.appointment-row{grid-template-columns:76px 35px 1fr 88px 24px}.doctor-name{display:none}}@media(max-width:920px){.sidebar{transform:translate(-102%);transition:transform .25s ease;box-shadow:10px 0 40px #162b2733}.sidebar.open{transform:translate(0)}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#1d302c66;z-index:25}.mobile-close{display:block;margin-left:auto;color:#fff}.main-area{margin-left:0}.desktop-title{display:none}.menu-button,.mobile-brand{display:block}.menu-button{margin-right:12px;padding:6px}.mobile-brand .brand strong{color:#3d4e4b}.topbar{padding:0 19px}.topbar-left{min-width:190px}.dashboard-grid,.bottom-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(4,1fr)}.schedule-layout{grid-template-columns:1fr}.mini-calendar{max-width:420px}}@media(max-width:700px){.topbar{height:67px;padding:0 13px}.global-search{width:42px;padding:0 11px;border:0;background:#f2f6f5}.global-search input,.global-search kbd{display:none}.profile-button{padding-left:5px;border:0}.profile-button>span,.profile-button>svg{display:none}.mobile-brand .brand small{display:none}.mobile-brand .brand-mark{width:32px;height:32px}.mobile-brand .brand strong{font-size:13px}main{padding:20px 14px}.hero-row,.module-header{align-items:flex-start}.hero-row .primary-button,.module-header .primary-button{width:41px;padding:0}.hero-row .primary-button:not(:has(svg:only-child)),.module-header .primary-button:not(:has(svg:only-child)){font-size:0}.hero-row .primary-button svg,.module-header .primary-button svg{width:19px}h1{font-size:21px}.subtitle{line-height:1.5}.metrics-grid{gap:10px}.metric-card{min-height:142px;padding:14px}.metric-value{font-size:20px}.quick-grid{grid-template-columns:1fr 1fr}.appointment-row{grid-template-columns:66px 32px 1fr 24px;padding-left:11px}.appointment-row .status{display:none}.appointment-time{font-size:8px}.recent-panel,.appointments-panel{overflow:hidden}.patient-table>button{grid-template-columns:37px 1fr 75px 15px;padding:9px 12px}.patient-table>button>span:nth-of-type(2),.patient-table .status{display:none}.schedule-card{grid-template-columns:35px 1fr 24px}.schedule-card>span,.schedule-card .status{display:none}.schedule-row{grid-template-columns:60px 14px 1fr;padding:0 8px}.schedule-card{margin-left:6px}.popover{position:fixed;top:72px;right:12px;width:calc(100vw - 24px)}}@media(max-width:430px){.topbar-left{min-width:auto}.topbar-actions{gap:5px}.notification-button{border:0}.metrics-grid,.dash-cards-6{grid-template-columns:1fr}.metric-card{min-height:126px}.metric-card>p{margin-top:8px}.chart-legend b{display:none}.panel-heading{padding:13px}.chart-wrap{height:185px}.doctor-name{display:none}.appointment-row{grid-template-columns:62px 1fr 24px}.appointment-row .avatar{display:none}.appointment-time svg{display:none}.patient-table>button{grid-template-columns:37px 1fr 15px}.patient-table>button>span{display:none}.toast{right:12px;bottom:12px;left:12px}}.data-table{width:100%;border-collapse:collapse;font-size:11px}.data-table th{text-align:left;padding:12px 14px;color:#84909a;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e8eeed}.data-table td{padding:12px 14px;border-bottom:1px solid #f0f4f4;color:#3e504d}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:#f8fbfa}.table-wrap{overflow-x:auto}.user-cell{display:flex;align-items:center;gap:10px}.user-cell b{font-size:11px;color:#2f423f}.profile-avatar.sm{width:32px;height:32px;font-size:10px;flex-shrink:0}.role-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;color:#fff;font-size:9px;font-weight:700;text-transform:capitalize}.status-active{display:inline-flex;align-items:center;gap:5px;color:#197844;font-size:10px;font-weight:600}.status-inactive{display:inline-flex;align-items:center;gap:5px;color:#a42a35;font-size:10px;font-weight:600}.icon-action{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e8eeed;border-radius:8px;color:#6f7a83;background:#fff;cursor:pointer;transition:.15s}.icon-action:hover{color:#12b871;border-color:#12b871;background:#e7f9f1}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:60px 20px;color:#84909a}.loading-state .spinner.dark{border-color:#d7e6e0;border-top-color:#12b871}.loading-state p{margin:0;font-size:10px}@media(max-width:640px){.form-row{grid-template-columns:1fr}}.modal-card.wide{width:min(100%,640px)}.modal-section-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:14px 20px 0;border-bottom:1px solid #e8eeed}.modal-section-tabs button{display:flex;align-items:center;gap:6px;padding:7px 12px;border:0;border-bottom:2px solid transparent;color:#84909a;background:none;font-size:10px;font-weight:600;cursor:pointer;transition:.15s;white-space:nowrap}.modal-section-tabs button.active{color:#12b871;border-bottom-color:#12b871}.modal-section-tabs button:hover{color:#4a4a4a}.form-select.inline{flex:1;height:auto;border:0;background:none;font-size:11px;padding:0}.auth-field>div:has(.form-select.inline){cursor:pointer}.clickable-row{cursor:pointer}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:14px;border-top:1px solid #f0f4f4}.pagination button{display:flex;align-items:center;gap:4px;padding:6px 14px;border:1px solid #dce6e4;border-radius:8px;color:#6f7a83;background:#fff;font-size:10px;font-weight:600;cursor:pointer;transition:.15s}.pagination button:hover:not(:disabled){border-color:#12b871;color:#12b871}.pagination button:disabled{opacity:.4;cursor:not-allowed}.pagination span{color:#84909a;font-size:10px;font-weight:600}.patient-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-section h3{display:flex;align-items:center;gap:7px;margin:0 0 12px;font:600 12px Poppins,sans-serif;color:#3e504d}.detail-section h3 svg{color:#12b871}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid #f4f7f7;font-size:10px}.detail-row:last-child{border-bottom:0}.detail-row span{color:#84909a}.detail-row b{color:#3e504d;font-weight:600}@media(max-width:640px){.patient-detail-grid{grid-template-columns:1fr}.modal-section-tabs{overflow-x:auto;flex-wrap:nowrap}.image-upload-row{grid-template-columns:1fr!important}}.image-upload-field{display:flex;flex-direction:column;gap:6px}.auth-field-label{font-size:10px;font-weight:600;color:#6f7a83}.image-upload-area{border:1.5px dashed #d4e0de;border-radius:10px;min-height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:.15s}.image-upload-area:hover{border-color:#12b871;background:#f5fcf9}.image-upload-trigger{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px;color:#84909a;font-size:10px;font-weight:600;cursor:pointer}.image-upload-trigger:hover{color:#12b871}.image-preview{position:relative;width:100%;height:120px}.image-preview img{width:100%;height:100%;object-fit:cover;border-radius:9px}.image-remove{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:50%;color:#fff;background:#0000008c;cursor:pointer;transition:.15s}.image-remove:hover{background:#a42a35d9}.detail-images{display:flex;gap:12px;margin-top:12px;flex-wrap:wrap}.detail-image-item{display:flex;flex-direction:column;gap:4px}.detail-image-item span{font-size:9px;font-weight:600;color:#84909a;text-transform:uppercase;letter-spacing:.3px}.detail-image-item img{width:120px;height:80px;object-fit:cover;border-radius:8px;border:1px solid #e8eeed;cursor:pointer;transition:.15s}.detail-image-item img:hover{border-color:#12b871;box-shadow:0 4px 14px #12b87126}.mh-view-grid{display:flex;flex-direction:column;gap:16px}.mh-field{display:flex;flex-direction:column;gap:4px}.mh-field span{font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px}.mh-field p{margin:0;padding:10px 14px;border:1px solid #e8eeed;border-radius:10px;background:#f8fbfa;font-size:11px;color:#3e504d;line-height:1.6;min-height:42px}.mh-lifestyle{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mh-lifestyle-item{display:flex;flex-direction:column;gap:4px}.mh-lifestyle-item span{font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px}.mh-status-row{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border:1px solid #e8eeed;border-radius:10px;background:#f8fbfa}.mh-status-row b{font-size:12px;color:#12b871}.mh-status-row small{font-size:10px;color:#6f7a83}.mh-edit-form{display:flex;flex-direction:column;gap:14px}.mh-edit-field{display:flex;flex-direction:column;gap:5px}.mh-edit-field span{font-size:10px;font-weight:600;color:#6f7a83}.mh-edit-field textarea{width:100%;border:1px solid #dce6e4;border-radius:10px;padding:10px 13px;color:#3e504d;background:#fff;font-size:11px;font-family:inherit;resize:vertical;outline:0;transition:.15s;line-height:1.5}.mh-edit-field textarea:focus{border-color:#12b871;box-shadow:0 0 0 3px #12b8711a}.mh-edit-field textarea::placeholder{color:#b8cac8}@media(max-width:640px){.mh-lifestyle{grid-template-columns:1fr}}.tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:9px;background:#12b871;color:#fff;font-size:9px;font-style:normal;font-weight:700}.notes-composer{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.notes-textarea{width:100%;border:1px solid #dce6e4;border-radius:10px;padding:12px 15px;color:#3e504d;background:#fff;font-size:12px;font-family:inherit;resize:vertical;outline:0;transition:.15s;line-height:1.6;min-height:70px}.notes-textarea:focus{border-color:#12b871;box-shadow:0 0 0 3px #12b8711a}.notes-textarea::placeholder{color:#b8cac8}.notes-composer .primary-button{align-self:flex-end}.notes-list{display:flex;flex-direction:column;gap:12px}.note-card{border:1px solid #e8eeed;border-radius:12px;padding:14px 16px;background:#f8fbfa;transition:.15s}.note-card:hover{border-color:#d4e4de;box-shadow:0 2px 10px #223f3b0d}.note-header{display:flex;align-items:center;gap:10px;margin-bottom:8px}.note-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#12b871;color:#fff;font-size:10px;font-weight:700;flex-shrink:0}.note-header>div:nth-child(2){flex:1;display:flex;flex-direction:column}.note-header b{font-size:11px;color:#3e504d}.note-header small{font-size:9px;color:#84909a}.icon-action.danger:hover{color:#a42a35;border-color:#a42a35;background:#fdf0f1}.note-body{margin:0;font-size:12px;color:#3e504d;line-height:1.7;white-space:pre-wrap;word-wrap:break-word}.appt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}.appt-nav{display:flex;align-items:center;gap:8px}.appt-today-btn{padding:7px 16px;border:1px solid #dce6e4;border-radius:8px;color:#4a4a4a;background:#fff;font-size:10px;font-weight:600;cursor:pointer;transition:.15s}.appt-today-btn:hover{border-color:#12b871;color:#12b871}.appt-current-label{font-size:12px;font-weight:700;color:#3e504d;margin-left:8px}.appt-view-toggle{display:flex;border:1px solid #dce6e4;border-radius:9px;overflow:hidden}.appt-view-toggle button{padding:7px 16px;border:0;color:#6f7a83;background:#fff;font-size:10px;font-weight:600;cursor:pointer;transition:.15s}.appt-view-toggle button.active{color:#fff;background:#12b871}.appt-view-toggle button:hover:not(.active){background:#f4f8f7}.appt-status-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.appt-status-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border-radius:20px;font-size:10px;font-weight:600}.appt-status-chip i{width:7px;height:7px;border-radius:50%}.appt-status-chip b{margin-left:2px}.appt-status-chip.muted{color:#84909a;background:#f4f7f7}.appt-status-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border:1px solid;border-radius:20px;font-size:9px;font-weight:600}.appt-status-badge i{width:6px;height:6px;border-radius:50%}.appt-day-list{padding:8px 0}.appt-day-row{display:grid;grid-template-columns:90px 1fr;gap:14px;padding:6px 18px;align-items:stretch}.appt-day-time{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding-top:12px;color:#68727a;font-size:10px;font-weight:600}.appt-day-time small{font-size:9px;color:#a5acb2;font-weight:400}.appt-day-card{display:grid;grid-template-columns:35px minmax(130px,1fr) 110px auto;align-items:center;gap:11px;margin-bottom:8px;padding:10px 14px;border:1px solid #e5eceb;border-left:3px solid #12b871;border-radius:9px;background:#fff;cursor:pointer;transition:.15s}.appt-day-card:hover{border-color:#d4e4de;box-shadow:0 2px 10px #223f3b0f}.appt-day-info b{display:block;font-size:11px;color:#465058}.appt-day-info small{font-size:9px;color:#9099a1}.appt-day-physician{font-size:9px;color:#68737b}.appt-week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.appt-week-day{border:1px solid #e8eeed;border-radius:10px;background:#fff;overflow:hidden;min-height:200px;display:flex;flex-direction:column}.appt-week-day.today{border-color:#12b871;box-shadow:0 0 0 2px #12b8711a}.appt-week-day-header{display:flex;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid #f0f4f4;font-size:10px}.appt-week-day-header b{color:#465058}.appt-week-day-header span{color:#84909a;font-size:11px;font-weight:700}.appt-week-day-header em{margin-left:auto;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#12b871;color:#fff;font-size:9px;font-style:normal;font-weight:700}.appt-week-day-body{display:flex;flex-direction:column;gap:5px;padding:8px;flex:1}.appt-week-item{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid #e5eceb;border-left:3px solid #12b871;border-radius:7px;background:#f8fbfa;cursor:pointer;transition:.15s;text-align:left}.appt-week-item:hover{background:#eef8f4;border-color:#d4e4de}.appt-week-item small{font-size:8px;color:#84909a}.appt-week-item b{font-size:10px;color:#465058}.appt-week-item span{font-size:8px;color:#9099a1}.appt-week-empty{text-align:center;color:#c5cbd0;font-size:12px;padding:20px 0}.appt-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#e8eeed;border:1px solid #e8eeed;border-radius:10px;overflow:hidden}.appt-month-dow{padding:10px;background:#f4f7f6;text-align:center;font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.5px}.appt-month-cell{min-height:90px;padding:6px 8px;background:#fff;cursor:pointer;transition:.1s;display:flex;flex-direction:column;gap:4px}.appt-month-cell:hover{background:#f8fcfb}.appt-month-cell.muted{background:#f9fbfb}.appt-month-cell.muted .appt-month-day{color:#c5cbd0}.appt-month-cell.today{background:#eef8f4}.appt-month-cell.today .appt-month-day{color:#12b871;font-weight:700}.appt-month-day{font-size:11px;font-weight:600;color:#5f6972}.appt-month-dots{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.appt-month-dots i{width:6px;height:6px;border-radius:50%}.appt-month-dots small{font-size:8px;color:#84909a;font-weight:600}.appt-notes-input{width:100%;border:1px solid #dce6e4;border-radius:10px;padding:12px 14px;color:#3e504d;background:#fff;font-size:11px;font-family:inherit;resize:vertical;outline:0;transition:.15s;line-height:1.5;min-height:70px;box-sizing:border-box}.appt-notes-input:focus{border-color:#12b871;box-shadow:0 0 0 3px #12b8711a}.appt-notes-input::placeholder{color:#aab1b7}.appt-patient-toggle{display:flex;gap:8px;margin-bottom:16px}.appt-patient-toggle button{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;padding:10px 14px;border:1px solid #dce6e4;border-radius:10px;background:#fff;cursor:pointer;transition:.15s;font-size:12px;font-weight:600;color:#6b7480}.appt-patient-toggle button:hover{border-color:#b9cac7}.appt-patient-toggle button.active{border-color:#12b871;background:#12b8711a;color:#0a834e}.appt-new-patient{display:flex;flex-direction:column;gap:14px;margin-bottom:16px;padding:16px;border:1px solid #e8eeed;border-radius:12px;background:#f9fbfb}.appt-patient-search{position:relative}.appt-patient-dropdown{position:absolute;top:100%;left:0;right:0;z-index:10;max-height:240px;overflow-y:auto;border:1px solid #dce6e4;border-radius:10px;background:#fff;box-shadow:0 8px 28px #223f3b1f}.appt-patient-dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:0;border-bottom:1px solid #f4f7f7;background:#fff;cursor:pointer;transition:.1s;text-align:left}.appt-patient-dropdown button:last-child{border-bottom:0}.appt-patient-dropdown button:hover{background:#f4f8f7}.appt-patient-dropdown b{font-size:11px;color:#465058}.appt-patient-dropdown small{display:block;font-size:9px;color:#9099a1}.appt-detail-grid{display:flex;flex-direction:column;gap:4px;margin-bottom:20px}.appt-status-section{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid #f0f4f4;margin-bottom:16px}.appt-status-section>span{font-size:10px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px}.appt-status-dropdown{position:relative}.appt-status-trigger{display:flex;align-items:center;gap:6px;border:1px solid #e8eeed;border-radius:8px;padding:6px 12px;background:#fff;cursor:pointer;transition:.15s}.appt-status-trigger:hover{border-color:#d4e4de}.appt-status-menu{position:absolute;top:100%;right:0;z-index:10;min-width:160px;border:1px solid #dce6e4;border-radius:10px;background:#fff;box-shadow:0 8px 28px #223f3b1f;padding:4px}.appt-status-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:0;border-radius:7px;background:#fff;color:#465058;font-size:10px;font-weight:600;cursor:pointer;transition:.1s;text-align:left}.appt-status-menu button:hover{background:#f4f8f7}.appt-status-menu button.active{background:#eef8f4;color:#12b871}.appt-status-menu button i{width:8px;height:8px;border-radius:50%}.secondary-button.danger{color:#a42a35;border-color:#e8c5c8}.secondary-button.danger:hover{background:#fdf0f1;border-color:#a42a35}.modal-actions .secondary-button.danger{margin-right:auto}.danger-button{height:41px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid #a42a35;border-radius:9px;color:#fff;background:#a42a35;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer;transition:.15s}.danger-button:hover{background:#8c232d}.delete-confirm-inline{display:flex;flex-direction:column;gap:2px;margin-right:auto}.delete-confirm-inline b{font-size:11px;color:#a42a35}.delete-confirm-inline span{font-size:9px;color:#84909a}@media(max-width:640px){.appt-toolbar{flex-direction:column;align-items:stretch}.appt-week-grid{grid-template-columns:1fr}.appt-month-grid{grid-template-columns:repeat(7,1fr)}.appt-month-cell{min-height:60px}.appt-day-card{grid-template-columns:35px 1fr auto}.appt-day-physician{display:none}}.messages-layout{display:grid;grid-template-columns:300px 1fr;gap:18px;align-items:stretch;min-height:540px}.messages-sidebar{display:flex;flex-direction:column;gap:12px;border:1px solid #e8eeed;border-radius:14px;background:#fff;padding:14px;overflow-y:auto;max-height:640px}.messages-search{display:flex;align-items:center;gap:8px;border:1px solid #dce6e4;border-radius:10px;padding:8px 12px;color:#84909a}.messages-search input{flex:1;border:0;outline:0;font-size:11px;font-family:inherit;color:#3e504d;background:transparent}.messages-contact-list{display:flex;flex-direction:column;gap:4px}.messages-list-label{font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.5px;margin:4px 0 2px}.messages-contact{display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:10px;background:transparent;cursor:pointer;text-align:left;transition:.12s}.messages-contact:hover{background:#f4f8f7}.messages-contact.active{background:#eef8f4}.messages-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#12b871;color:#fff;font-size:11px;font-weight:700;flex-shrink:0}.messages-contact-info{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.messages-contact-info b{font-size:11px;color:#3e504d}.messages-contact-info small{font-size:10px;color:#84909a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messages-unread{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#12b871;color:#fff;font-size:9px;font-weight:700;font-style:normal}.messages-empty-list{font-size:11px;color:#84909a;padding:10px;line-height:1.5}.messages-thread-panel{display:flex;flex-direction:column;border:1px solid #e8eeed;border-radius:14px;background:#fff;overflow:hidden}.messages-empty-thread{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.messages-thread-header{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #f0f4f4}.messages-thread-header b{font-size:13px;color:#3e504d;display:block}.messages-thread-header small{font-size:10px;color:#84909a}.messages-back{display:none}.messages-thread{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:10px;max-height:480px;background:#f8fbfa}.message-bubble-row{display:flex}.message-bubble-row.sent{justify-content:flex-end}.message-bubble{max-width:70%;padding:10px 14px;border-radius:14px;background:#fff;border:1px solid #e8eeed}.message-bubble-row.sent .message-bubble{background:#12b871;border-color:#12b871}.message-bubble p{margin:0;font-size:12px;color:#3e504d;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.message-bubble-row.sent .message-bubble p{color:#fff}.message-bubble small{display:block;margin-top:4px;font-size:9px;color:#a3adb6}.message-bubble-row.sent .message-bubble small{color:#ffffffb3}.messages-composer{display:flex;align-items:flex-end;gap:10px;padding:12px 16px;border-top:1px solid #f0f4f4}.messages-composer textarea{flex:1;border:1px solid #dce6e4;border-radius:10px;padding:10px 13px;font-size:12px;font-family:inherit;resize:none;outline:0;color:#3e504d;transition:.15s}.messages-composer textarea:focus{border-color:#12b871;box-shadow:0 0 0 3px #12b8711a}.messages-composer .primary-button{height:40px;width:44px;padding:0;flex-shrink:0}@media(max-width:900px){.messages-layout{grid-template-columns:1fr;min-height:auto}.messages-sidebar{max-height:none}.messages-back{display:inline-flex}}.visit-list-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.visit-list-header p{font-size:11px;color:#6f7a83;font-weight:600}.visit-list{display:flex;flex-direction:column;gap:10px}.visit-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid #e8eeed;border-radius:12px;background:#fff;cursor:pointer;transition:.15s;text-align:left}.visit-card:hover{border-color:#d4e4de;box-shadow:0 2px 10px #223f3b0f}.visit-card-top{display:flex;align-items:center;gap:10px}.visit-card-number{display:inline-flex;align-items:center;padding:3px 10px;border-radius:6px;background:#eef8f4;color:#12b871;font-size:9px;font-weight:700;letter-spacing:.3px}.visit-card-top b{font-size:11px;color:#465058}.visit-card-body{display:flex;align-items:center;gap:10px}.visit-card-body span{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#68737b}.visit-card-dept{color:#12b871!important;font-weight:600}.visit-card-reason{margin:0;font-size:11px;color:#465058;line-height:1.5}.visit-card-diagnosis{font-size:10px;color:#84909a}.visit-card-diagnosis b{color:#465058}.visit-edit-form{display:flex;flex-direction:column;gap:20px}.visit-form-header{display:flex;align-items:center;justify-content:space-between}.visit-form-header h3{font-size:14px;color:#3e504d}.visit-form-section{display:flex;flex-direction:column;gap:12px}.visit-form-section h4{font-size:11px;font-weight:700;color:#12b871;text-transform:uppercase;letter-spacing:.4px;padding-bottom:6px;border-bottom:1px solid #f0f4f4}.visit-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.visit-vitals-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.visit-textarea-field{display:flex;flex-direction:column;gap:5px}.visit-textarea-field span{font-size:10px;font-weight:600;color:#6f7a83}.visit-textarea-field textarea{width:100%;border:1px solid #dce6e4;border-radius:10px;padding:10px 13px;color:#3e504d;background:#fff;font-size:11px;font-family:inherit;resize:vertical;outline:0;transition:.15s;line-height:1.5;box-sizing:border-box}.visit-textarea-field textarea:focus{border-color:#12b871;box-shadow:0 0 0 3px #12b8711a}.visit-textarea-field textarea::placeholder{color:#b8cac8}.visit-detail-view{display:flex;flex-direction:column;gap:16px}.visit-detail-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #f0f4f4}.visit-detail-header h3{font-size:16px;color:#12b871;letter-spacing:.3px}.visit-detail-header p{font-size:11px;color:#68737b;margin-top:4px}.visit-detail-section{display:flex;flex-direction:column;gap:6px}.visit-detail-section h4{font-size:10px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px}.visit-detail-section p{margin:0;font-size:12px;color:#3e504d;line-height:1.6}.visit-detail-text{white-space:pre-wrap;word-wrap:break-word}.visit-vitals-display{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.visit-vital-item{display:flex;flex-direction:column;gap:3px;padding:10px 14px;border:1px solid #e8eeed;border-radius:10px;background:#f8fbfa}.visit-vital-item span{font-size:9px;color:#84909a;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.visit-vital-item b{font-size:13px;color:#3e504d}@media(max-width:640px){.visit-form-grid{grid-template-columns:1fr}.visit-vitals-grid,.visit-vitals-display{grid-template-columns:1fr 1fr}}.med-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.med-patient-panel{display:flex;flex-direction:column;gap:16px}.med-patient-search-wrap{position:relative}.med-patient-dropdown{position:absolute;top:100%;left:0;right:0;z-index:10;max-height:240px;overflow-y:auto;border:1px solid #dce6e4;border-radius:10px;background:#fff;box-shadow:0 8px 28px #223f3b1f}.med-patient-dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:0;border-bottom:1px solid #f4f7f7;background:#fff;cursor:pointer;transition:.1s;text-align:left}.med-patient-dropdown button:last-child{border-bottom:0}.med-patient-dropdown button:hover{background:#f4f8f7}.med-patient-dropdown b{font-size:11px;color:#465058}.med-patient-dropdown small{display:block;font-size:9px;color:#9099a1}.med-patient-info{display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px;border:1px solid #e8eeed;border-radius:12px;background:#fff;text-align:center}.med-patient-info b{font-size:13px;color:#3e504d;margin-top:8px}.med-patient-info small{font-size:10px;color:#12b871;font-weight:600}.med-patient-info span{font-size:10px;color:#84909a}.profile-avatar.lg{width:48px;height:48px;font-size:14px}.profile-avatar.sm{width:28px;height:28px;font-size:9px}.med-category-filter{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #e8eeed;border-radius:12px;background:#fff}.med-category-filter span{font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px}.med-category-filter select{width:100%;border:1px solid #dce6e4;border-radius:8px;padding:8px 10px;color:#3e504d;background:#fff;font-size:11px;font-family:inherit;outline:0}.med-docs-panel{min-height:300px}.med-docs-list{display:flex;flex-direction:column;gap:20px}.med-category-group{display:flex;flex-direction:column;gap:10px}.med-category-header{display:flex;align-items:center;justify-content:space-between}.med-category-header span{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:20px;font-size:10px;font-weight:700}.med-category-header span i{width:7px;height:7px;border-radius:50%}.med-category-header small{font-size:9px;color:#84909a}.med-doc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}.med-doc-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e8eeed;border-radius:12px;background:#fff;transition:.15s}.med-doc-card:hover{border-color:#d4e4de;box-shadow:0 2px 10px #223f3b0f}.med-doc-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;flex-shrink:0}.med-doc-info{flex:1;min-width:0}.med-doc-info b{display:block;font-size:11px;color:#465058;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.med-doc-info small{display:block;font-size:9px;color:#9099a1;margin-top:2px}.med-doc-info span{display:block;font-size:9px;color:#a5acb2;margin-top:2px}.med-doc-actions{display:flex;gap:4px;flex-shrink:0}.med-upload-area{border:1.5px dashed #d4e0de;border-radius:12px;min-height:120px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s}.med-upload-area:hover{border-color:#12b871;background:#f5fcf9}.med-upload-trigger{display:flex;flex-direction:column;align-items:center;gap:6px;color:#84909a}.med-upload-trigger b{font-size:11px}.med-upload-trigger small{font-size:9px;color:#aab1b7}.med-upload-selected{display:flex;align-items:center;gap:12px;padding:16px;width:100%;box-sizing:border-box;color:#12b871}.med-upload-selected>div{flex:1}.med-upload-selected b{display:block;font-size:11px;color:#465058}.med-upload-selected small{display:block;font-size:9px;color:#9099a1}.med-preview-desc{padding:12px 14px;border:1px solid #e8eeed;border-radius:10px;background:#f8fbfa;margin-bottom:16px}.med-preview-desc span{font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px}.med-preview-desc p{margin:6px 0 0;font-size:12px;color:#3e504d;line-height:1.6}.med-preview-container{display:flex;justify-content:center;border:1px solid #e8eeed;border-radius:12px;overflow:hidden;background:#f8fbfa;min-height:400px}.med-preview-image{max-width:100%;max-height:600px;object-fit:contain}.med-preview-pdf{width:100%;height:600px;border:0}@media(max-width:640px){.med-doc-cards{grid-template-columns:1fr}}.billing-summary-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.billing-stat-card{display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid #e8eeed;border-radius:14px;background:#fff}.billing-stat-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;flex-shrink:0}.billing-stat-card small{display:block;font-size:9px;color:#84909a;font-weight:600;text-transform:uppercase;letter-spacing:.4px}.billing-stat-card b{display:block;font-size:16px;color:#3e504d;margin-top:4px}.billing-filter-bar{display:flex;gap:6px;margin-bottom:16px;flex-wrap:wrap}.billing-filter-bar button{padding:7px 16px;border:1px solid #dce6e4;border-radius:20px;color:#6f7a83;background:#fff;font-size:10px;font-weight:600;cursor:pointer;transition:.15s}.billing-filter-bar button.active{color:#fff;background:#12b871;border-color:#12b871}.billing-filter-bar button:hover:not(.active){border-color:#12b871;color:#12b871}.invoice-status-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border:1px solid;border-radius:20px;font-size:9px;font-weight:600}.invoice-status-badge i{width:6px;height:6px;border-radius:50%}.billing-invoice-list{display:flex;flex-direction:column;border:1px solid #e8eeed;border-radius:12px;overflow:hidden;background:#fff}.billing-invoice-header-row{display:grid;grid-template-columns:120px 1fr 100px 100px 120px 120px 24px;gap:12px;padding:12px 18px;background:#f4f7f6;font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px;align-items:center}.billing-invoice-row{display:grid;grid-template-columns:120px 1fr 100px 100px 120px 120px 24px;gap:12px;padding:12px 18px;border-top:1px solid #f0f4f4;background:#fff;cursor:pointer;transition:.15s;align-items:center;text-align:left}.billing-invoice-row:hover{background:#f8fcfb}.billing-inv-number{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:#12b871}.billing-inv-patient{display:flex;align-items:center;gap:8px}.billing-inv-patient span{font-size:11px;color:#465058;font-weight:600}.billing-inv-date{font-size:10px;color:#68737b}.billing-inv-total{font-size:11px;font-weight:700;color:#3e504d}.billing-inv-outstanding{font-size:11px;font-weight:700;color:#a42a35}.billing-amounts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.billing-summary{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:1px solid #e8eeed;border-radius:12px;background:#f8fbfa;margin:4px 0 16px}.billing-summary-row{display:flex;align-items:center;justify-content:space-between}.billing-summary-row span{font-size:11px;color:#68737b}.billing-summary-row b{font-size:12px;color:#3e504d}.billing-summary-row.discount span,.billing-summary-row.discount b{color:#a42a35}.billing-summary-row.total{padding-top:8px;border-top:1px solid #e8eeed}.billing-summary-row.total span{font-size:12px;font-weight:700;color:#3e504d}.billing-summary-row.total b{font-size:16px;color:#12b871}.invoice-detail-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.invoice-detail-patient{display:flex;align-items:center;gap:12px}.invoice-detail-patient b{display:block;font-size:14px;color:#3e504d}.invoice-detail-patient small{display:block;font-size:10px;color:#12b871;font-weight:600}.invoice-line-items{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:1px solid #e8eeed;border-radius:12px;background:#fff;margin-bottom:16px}.invoice-line-items h4{font-size:10px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px}.invoice-line-row{display:flex;align-items:center;justify-content:space-between}.invoice-line-row span{font-size:11px;color:#68737b}.invoice-line-row b{font-size:11px;color:#3e504d}.invoice-line-row.discount span,.invoice-line-row.discount b{color:#a42a35}.invoice-line-row.total{padding-top:8px;border-top:1px solid #f0f4f4}.invoice-line-row.total span{font-size:12px;font-weight:700;color:#3e504d}.invoice-line-row.total b{font-size:14px;color:#12b871}.invoice-empty-line{font-size:11px;color:#aab1b7;margin:0}.invoice-payment-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.invoice-pay-item{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #e8eeed;border-radius:12px;background:#f8fbfa}.invoice-pay-item span{font-size:9px;color:#84909a;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.invoice-pay-item b{font-size:15px;color:#3e504d}.invoice-pay-item.paid b{color:#2da94f}.invoice-pay-item.outstanding b{color:#a42a35}@media(max-width:900px){.billing-summary-cards{grid-template-columns:repeat(2,1fr)}.billing-amounts-grid{grid-template-columns:1fr 1fr}.invoice-payment-summary{grid-template-columns:1fr}}@media(max-width:640px){.billing-summary-cards,.billing-amounts-grid{grid-template-columns:1fr}.billing-invoice-header-row{display:none}.billing-invoice-row{grid-template-columns:1fr auto;gap:8px;padding:14px}.billing-inv-patient,.billing-inv-date,.billing-inv-outstanding{display:none}}.print-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#223f3b80;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:20px}.print-paper{background:#fff;width:800px;max-width:100%;border-radius:8px;box-shadow:0 8px 40px #0003}.print-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-bottom:1px solid #f0f4f4}.print-invoice{padding:40px 48px;font-family:Inter,system-ui,sans-serif;color:#2d4848}.print-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.print-logo-wrap{display:flex;align-items:center;gap:14px}.print-logo{width:56px;height:56px;object-fit:contain;border-radius:8px}.print-logo-wrap h1{font-size:20px;font-weight:700;color:#1a2b2c;margin:0}.print-tagline{font-size:10px;color:#719695;margin:2px 0 0}.print-clinic-contact{text-align:right}.print-clinic-contact p{font-size:10px;color:#719695;margin:0;line-height:1.5}.print-divider{height:1px;background:#e2f0ef;margin:24px 0}.print-invoice-meta{display:flex;align-items:flex-start;justify-content:space-between}.print-invoice-meta h2{font-size:28px;font-weight:700;color:#1a2b2c;margin:0;letter-spacing:1px}.print-invoice-number{font-size:12px;color:#12b871;font-weight:600;margin:4px 0 0}.print-invoice-dates{text-align:right}.print-invoice-dates div{font-size:11px;color:#4a6768;margin-bottom:4px}.print-invoice-dates span{color:#a0c0be;margin-right:6px}.print-invoice-dates b{color:#2d4848}.print-bill-to{margin:24px 0;padding:14px 18px;background:#f7fcfb;border-radius:8px}.print-bill-to span{display:block;font-size:9px;font-weight:700;color:#a0c0be;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.print-bill-to b{font-size:14px;color:#2d4848}.print-line-table{width:100%;border-collapse:collapse;margin:16px 0}.print-line-table th{text-align:left;font-size:10px;font-weight:700;color:#a0c0be;text-transform:uppercase;letter-spacing:.4px;padding:10px 14px;border-bottom:2px solid #e2f0ef}.print-line-table td{font-size:12px;color:#2d4848;padding:10px 14px;border-bottom:1px solid #edf7f6}.print-amount-col{text-align:right;white-space:nowrap}.print-totals{margin-left:auto;width:280px;display:flex;flex-direction:column;gap:6px}.print-totals-row{display:flex;align-items:center;justify-content:space-between;padding:6px 0}.print-totals-row span{font-size:11px;color:#4a6768}.print-totals-row b{font-size:12px;color:#2d4848}.print-totals-row.discount span,.print-totals-row.discount b{color:#a42a35}.print-totals-row.grand-total{padding:10px 0;border-top:2px solid #e2f0ef;margin-top:6px}.print-totals-row.grand-total span{font-size:13px;font-weight:700;color:#1a2b2c}.print-totals-row.grand-total b{font-size:16px;font-weight:700;color:#12b871}.print-totals-row.outstanding span{font-weight:700;color:#a42a35}.print-totals-row.outstanding b{color:#a42a35}.print-notes{margin:20px 0;padding:14px 18px;background:#f7fcfb;border-radius:8px}.print-notes span{display:block;font-size:9px;font-weight:700;color:#a0c0be;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.print-notes p{font-size:11px;color:#4a6768;line-height:1.6;margin:0}.print-footer{text-align:center}.print-footer p{font-size:11px;color:#4a6768;margin:0 0 8px}.print-social{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.print-social span{font-size:9px;color:#a0c0be}@media print{body{margin:0!important;padding:0!important}#root{display:none!important}.print-overlay{background:none!important;padding:0!important;position:static!important;overflow:visible!important;display:block}.print-paper{box-shadow:none;width:100%;border-radius:0}.no-print{display:none!important}.print-invoice{padding:0}.print-divider{margin:14px 0}.print-bill-to{margin:14px 0;padding:10px 14px}.print-line-table{margin:10px 0}.print-line-table th,.print-line-table td{padding:6px 10px}.print-totals{gap:3px}.print-totals-row{padding:3px 0}.print-totals-row.grand-total{padding:6px 0;margin-top:4px}.print-notes{margin:12px 0;padding:10px 14px}.print-footer{margin-top:4px}@page{margin:.5in}}.report-stat-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:20px}.report-stat-card{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid #e8eeed;border-radius:12px;background:#fff}.report-stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;flex-shrink:0}.report-stat-card small{display:block;font-size:9px;color:#84909a;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.report-stat-card b{display:block;font-size:15px;color:#3e504d;margin-top:3px}.report-layout{display:grid;grid-template-columns:220px 1fr;gap:20px;align-items:flex-start}.report-sidebar{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #e8eeed;border-radius:12px;padding:8px;position:sticky;top:90px}.report-sidebar button{display:flex;align-items:center;gap:8px;padding:9px 12px;border:0;border-radius:8px;color:#6f7a83;background:none;font-size:11px;font-weight:600;cursor:pointer;transition:.15s;text-align:left}.report-sidebar button:hover{background:#f4f7f6}.report-sidebar button.active{background:#e9faf3;color:#12b871}.report-content{display:flex;flex-direction:column;gap:16px;min-width:0}.report-chart-card{background:#fff;border:1px solid #e8eeed;border-radius:12px;padding:18px 20px}.report-chart-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.report-chart-header h3{font-size:13px;font-weight:700;color:#3e504d;margin:0}.report-export-btn{display:flex;align-items:center;gap:5px;padding:5px 12px;border:1px solid #dce6e4;border-radius:7px;color:#606a73;background:#fff;font-size:10px;font-weight:600;cursor:pointer;transition:.15s}.report-export-btn:hover{border-color:#12b871;color:#12b871}.report-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-table-wrap{overflow-x:auto}.report-table{width:100%;border-collapse:collapse}.report-table th{text-align:left;font-size:9px;font-weight:700;color:#84909a;text-transform:uppercase;letter-spacing:.3px;padding:8px 12px;border-bottom:2px solid #e8eeed;white-space:nowrap}.report-table td{font-size:11px;color:#465058;padding:8px 12px;border-bottom:1px solid #f0f4f4}.report-table tr:last-child td{border-bottom:0}.report-table tr:hover td{background:#f8fcfb}@media(max-width:768px){.report-layout{grid-template-columns:1fr}.report-sidebar{position:static;flex-direction:row;flex-wrap:wrap}.report-sidebar button{flex:1;min-width:140px}.report-stat-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.report-stat-cards{grid-template-columns:1fr}}.notif-header-actions{display:flex;gap:10px}.notif-stats{display:flex;gap:14px;margin-bottom:20px}.notif-stat-card{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid #e8eeed;border-radius:12px;background:#fff;flex:1}.notif-stat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px}.notif-stat-card b{font-size:20px;color:#3e504d}.notif-stat-card span{display:block;font-size:10px;color:#84909a;font-weight:600}.notif-filters{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.notif-filters button{display:flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid #dce6e4;border-radius:8px;background:#fff;cursor:pointer;transition:.15s;font-size:11px;font-weight:600;color:#6b7480}.notif-filters button:hover{border-color:#b9cac7}.notif-filters button.active{border-color:#12b871;background:#12b8711a;color:#0a834e}.notif-filters em{font-size:9px;font-style:normal;background:#f0f4f4;color:#6b7480;padding:1px 6px;border-radius:6px;font-weight:700}.notif-filters button.active em{background:#12b87133;color:#0a834e}.notif-list{display:flex;flex-direction:column;gap:10px}.notif-card{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid #e8eeed;border-radius:12px;background:#fff;transition:.15s}.notif-card:hover{border-color:#d4e0de;box-shadow:0 2px 12px #223f3b0f}.notif-card.unread{border-left:3px solid #12b871;background:#f8fcfb}.notif-card.read{opacity:.75}.notif-card-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;flex-shrink:0}.notif-card-content{flex:1;min-width:0}.notif-card-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.notif-card-header b{font-size:12px;color:#3e504d}.notif-unread-dot{width:7px;height:7px;border-radius:50%;background:#12b871;flex-shrink:0}.notif-card-content p{font-size:11px;color:#6b7480;line-height:1.5;margin:0 0 8px}.notif-card-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.notif-type-badge{font-size:9px;font-weight:700;padding:2px 8px;border-radius:6px}.notif-due{font-size:10px;font-weight:600;color:#e08600}.notif-time{font-size:10px;color:#aab1b7}.notif-card-actions{display:flex;gap:6px;flex-shrink:0}.notif-popover-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:24px;color:#aab1b7}.notif-popover-empty span{font-size:10px}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(390px,.9fr) minmax(500px,1.1fr);background:#fff}.auth-showcase{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:45px 58px 32px;color:#fff;background:linear-gradient(145deg,#0a9b5d,#12b871 54%,#35c383)}.showcase-photo{position:relative;z-index:1;width:min(235px,68%);margin:36px 0 0;padding:9px;border:1px solid rgba(255,255,255,.28);border-radius:18px;background:#ffffff21;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 20px 45px #034a2d4d;transform:rotate(-1.6deg);transition:transform .3s ease}.showcase-photo:hover{transform:rotate(0)}.showcase-photo img{display:block;width:100%;height:auto;border-radius:11px}.showcase-photo figcaption{display:flex;align-items:center;gap:6px;padding:9px 4px 3px;color:#e6fbf1;font-size:9px;font-weight:600;letter-spacing:.4px}.auth-showcase:before,.auth-showcase:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%}.auth-showcase:before{width:530px;height:530px;right:-280px;top:-150px}.auth-showcase:after{width:400px;height:400px;left:-240px;bottom:-220px;box-shadow:0 0 0 90px #ffffff06}.auth-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px}.auth-logo{width:45px;height:45px;display:grid;place-items:center;border-radius:13px 13px 20px;color:#12b871;background:#fff;box-shadow:0 8px 24px #015e3629}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{font:600 19px Poppins,sans-serif;letter-spacing:-.4px}.auth-brand small{margin-top:3px;color:#c7fae3;font-size:9px;font-weight:700;letter-spacing:4px}.showcase-content{position:relative;z-index:1;max-width:520px;margin:auto 0}.secure-label{width:max-content;display:flex;align-items:center;gap:8px;margin-bottom:25px;padding:8px 12px;border:1px solid rgba(255,255,255,.23);border-radius:30px;background:#ffffff1a;font-size:10px;font-weight:600}.showcase-content h1{color:#fff;font-size:clamp(31px,3.2vw,48px);line-height:1.16;letter-spacing:-1.8px}.showcase-content>p{max-width:480px;margin:20px 0 28px;color:#d4f8e7;font-size:13px;line-height:1.75}.trust-points{display:flex;flex-wrap:wrap;gap:10px 19px}.trust-points span{display:flex;align-items:center;gap:7px;color:#e6fbf1;font-size:10px;font-weight:600}.trust-points svg{padding:3px;border-radius:50%;color:#089558;background:#fff}.showcase-footer{position:relative;z-index:1;display:flex;justify-content:space-between;color:#bdf4db;font-size:8px}.auth-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px;background:linear-gradient(145deg,#fff,#f8fbfa)}.auth-card{width:min(100%,400px)}.mobile-auth-brand{display:none}.back-button{display:flex;align-items:center;gap:7px;margin-bottom:32px;padding:0;border:0;color:#71808a;background:none;font-size:10px;font-weight:600}.auth-heading-icon{width:47px;height:47px;display:grid;place-items:center;margin-bottom:18px;border-radius:13px;color:#12b871;background:#e7f9f1}.auth-heading h2{font-size:26px;letter-spacing:-.7px}.auth-heading p{margin:8px 0 29px;color:#84909a;font-size:11px;line-height:1.6}.auth-field{display:block;margin-bottom:17px}.auth-field>span{display:block;margin-bottom:8px;color:#4b555d;font-size:10px;font-weight:700}.auth-field>div{height:48px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #dce6e4;border-radius:10px;color:#9aa3ab;background:#fff;transition:.2s}.auth-field>div:focus-within{border-color:#12b871;box-shadow:0 0 0 3px #12b8711a}.auth-field input,.auth-field select{width:100%;border:0;outline:0;color:#3e504d;background:none;font-size:11px;font-family:inherit}.auth-field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.auth-field input::placeholder{color:#aab1b7}.auth-field button{display:grid;place-items:center;padding:3px;border:0;color:#929ba3;background:none}.auth-options{display:flex;align-items:center;justify-content:space-between;margin:2px 0 20px}.auth-options label{display:flex;align-items:center;gap:7px;color:#6f7a83;font-size:9px}.auth-options input{accent-color:#12b871}.auth-options button,.auth-help button{padding:0;border:0;color:#12b871;background:none;font-size:9px;font-weight:700}.auth-alert{display:flex;align-items:flex-start;gap:7px;margin-bottom:14px;padding:10px 12px;border-radius:8px;font-size:9px;line-height:1.45}.auth-alert.error{color:#a42a35;background:#fcecee}.auth-alert.success{color:#197844;background:#eaf7ef}.auth-submit{width:100%;height:48px;display:grid;place-items:center;border:0;border-radius:10px;color:#fff;background:#12b871;box-shadow:0 8px 22px #12b87138;font-size:11px;font-weight:700}.auth-submit:hover{background:#0e9f60}.auth-submit:disabled{cursor:wait;opacity:.7}.spinner{width:17px;height:17px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-demo{width:100%;margin-top:16px;padding:11px 12px;border:1px dashed #9fe0c5;border-radius:10px;background:#f0fbf6;color:#4a4a4a;font-size:9px;text-align:center;cursor:pointer}.auth-demo strong{color:#0e9f60}.auth-demo:hover{border-color:#12b871;background:#e6f8f0}.auth-help{margin-top:25px;padding-top:19px;border-top:1px solid #e8eeed;color:#8a949c;font-size:9px;text-align:center}.auth-security{display:flex;align-items:center;gap:7px;margin-top:45px;color:#96a0a8;font-size:8px}.auth-security svg{color:#12b871}.session-loader{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#77838c;background:#f6fafa}.session-loader .auth-logo{color:#fff;background:#12b871}.session-loader .spinner.dark{border-color:#d7e6e0;border-top-color:#12b871}.session-loader p{margin:0;font-size:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#1f2d2b73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-card{width:min(100%,460px);max-height:90vh;overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 24px 60px #0000002e;animation:modal-rise .25s ease}@keyframes modal-rise{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 0}.modal-header>div:first-child{display:flex;gap:14px}.modal-header h2{font:600 18px Poppins,sans-serif;letter-spacing:-.4px;color:#2f423f}.modal-header p{margin:4px 0 0;color:#84909a;font-size:10px}.modal-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#12b871;background:#e7f9f1;flex-shrink:0}.modal-close{display:grid;place-items:center;padding:6px;border:0;border-radius:8px;color:#9aa3ab;background:none;cursor:pointer;transition:.15s}.modal-close:hover{color:#4a4a4a;background:#f0f4f4}.modal-body{padding:22px 24px 24px}.settings-section{margin-bottom:18px}.settings-section h3{font:600 13px Poppins,sans-serif;color:#3e504d}.settings-section p{margin:6px 0 0;color:#84909a;font-size:10px;line-height:1.6}.modal-body .auth-field{margin-bottom:15px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.modal-actions .secondary-button{height:42px;padding:0 18px;border:1px solid #dce6e4;border-radius:10px;color:#6f7a83;background:#fff;font-size:10px;font-weight:700;cursor:pointer;transition:.15s}.modal-actions .secondary-button:hover{background:#f6fafa}.modal-actions .primary-button{height:42px;padding:0 20px;border:0;border-radius:10px;color:#fff;background:#12b871;font-size:10px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px #12b87133;transition:.15s}.modal-actions .primary-button:hover{background:#0e9f60}.modal-actions .primary-button:disabled{cursor:wait;opacity:.7}.modal-actions .spinner{width:16px;height:16px;border-color:#fff6;border-top-color:#fff}.modal-tabs{display:flex;gap:2px;padding:16px 24px 0;border-bottom:1px solid #e8eeed}.modal-tabs button{padding:8px 16px;border:0;border-bottom:2px solid transparent;color:#84909a;background:none;font-size:11px;font-weight:600;cursor:pointer;transition:.15s}.modal-tabs button.active{color:#12b871;border-bottom-color:#12b871}.modal-tabs button:hover{color:#4a4a4a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-select{width:100%;height:48px;border:1px solid #dce6e4;border-radius:10px;padding:0 13px;color:#3e504d;background:#fff;font-size:11px;outline:0;cursor:pointer}.form-select:focus{border-color:#12b871;box-shadow:0 0 0 3px #12b8711a}.auth-checkbox-field{display:flex;align-items:center;gap:8px;margin-bottom:15px;color:#4b555d;font-size:10px;font-weight:600;cursor:pointer}.auth-checkbox-field input{accent-color:#12b871;width:16px;height:16px}@media(max-width:860px){.auth-page{grid-template-columns:1fr}.auth-showcase{display:none}.auth-form-side{min-height:100vh;padding:28px}.mobile-auth-brand{display:block;width:min(100%,400px);margin-bottom:50px}.mobile-auth-brand .auth-brand strong{color:#3e504d}.mobile-auth-brand .auth-brand small{color:#12b871}.mobile-auth-brand .auth-logo{color:#fff;background:#12b871}}@media(max-width:480px){.auth-form-side{justify-content:flex-start;padding:24px 20px}.mobile-auth-brand{margin-bottom:45px}.auth-heading h2{font-size:23px}.auth-security{margin-top:35px;text-align:center}}.pwa-install-banner{position:fixed;top:16px;left:50%;transform:translate(-50%);z-index:9999;width:min(92%,520px);background:#0a9b5d;border-radius:16px;box-shadow:0 12px 40px #0a9b5d59;animation:pwa-banner-slide .4s ease-out}@keyframes pwa-banner-slide{0%{transform:translate(-50%,-120%);opacity:0}to{transform:translate(-50%);opacity:1}}.pwa-banner-content{display:flex;align-items:center;gap:14px;padding:18px 20px}.pwa-banner-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:12px;color:#0a9b5d;background:#fff}.pwa-banner-text{flex:1;min-width:0}.pwa-banner-text b{display:block;font-size:14px;font-weight:700;color:#fff;font-family:Poppins,sans-serif;letter-spacing:-.2px}.pwa-banner-text span{display:block;margin-top:4px;font-size:12px;color:#ffffffd9;line-height:1.5}.pwa-banner-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.pwa-install-btn{height:40px;padding:0 22px;border:0;border-radius:10px;color:#0a9b5d;background:#fff;font-size:13px;font-weight:700;cursor:pointer;transition:.15s;white-space:nowrap}.pwa-install-btn:hover{background:#f0faf6;transform:translateY(-1px)}.pwa-dismiss-btn{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;color:#fffc;background:#ffffff26;cursor:pointer;transition:.15s}.pwa-dismiss-btn:hover{color:#fff;background:#ffffff40}@media(max-width:600px){.pwa-install-banner{top:10px;width:calc(100% - 20px)}.pwa-banner-content{padding:14px 16px;gap:10px}.pwa-banner-icon{width:40px;height:40px}.pwa-banner-text b{font-size:13px}.pwa-banner-text span{font-size:11px}.pwa-install-btn{height:38px;padding:0 18px;font-size:12px}}@media(max-width:400px){.pwa-banner-text span{display:none}.pwa-banner-content{gap:8px;padding:12px 14px}}@media(max-width:920px){main{padding:18px 14px}.hero-row,.module-header{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:18px}.hero-row .primary-button,.module-header .primary-button{width:100%}.hero-row .primary-button:not(:has(svg:only-child)),.module-header .primary-button:not(:has(svg:only-child)){font-size:11px}.hero-row .primary-button svg,.module-header .primary-button svg{width:18px}h1{font-size:22px}.subtitle{font-size:11px}}@media(max-width:640px){.modal-backdrop{padding:0;align-items:flex-end}.modal-card,.modal-card.wide{width:100%;max-width:100%;max-height:92vh;border-radius:16px 16px 0 0;animation:modal-slide-up .25s ease}@keyframes modal-slide-up{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}.modal-header{padding:18px 18px 0;flex-wrap:wrap}.modal-header h2{font-size:16px}.modal-header p{font-size:10px}.modal-body{padding:18px 18px 20px}.modal-actions{flex-wrap:wrap;gap:8px}.modal-actions .secondary-button,.modal-actions .primary-button{flex:1;min-width:120px;height:44px;font-size:11px}.modal-section-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.modal-section-tabs button{white-space:nowrap}.modal-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.modal-tabs button{white-space:nowrap}}@media(max-width:700px){.topbar{height:60px;padding:0 12px}.topbar-actions{gap:6px}.global-search{width:40px;padding:0 10px}.global-search input,.global-search kbd{display:none}.profile-button{padding-left:4px;border:0;gap:6px}.profile-button>span,.profile-button>svg{display:none}.notification-button{width:36px;height:36px;border:0}.mobile-brand .brand strong{font-size:13px}.mobile-brand .brand small{display:none}.mobile-brand .brand-mark{width:30px;height:30px}.menu-button{margin-right:8px}main{padding:16px 12px}}@media(max-width:920px){.dashboard-grid,.bottom-grid{grid-template-columns:1fr;gap:14px;margin-bottom:14px}.quick-grid{grid-template-columns:1fr 1fr}.chart-wrap{height:200px}.panel-heading{padding:12px 14px;gap:10px;flex-wrap:wrap}.panel-heading h2{font-size:13px}.panel-heading p{font-size:10px}}@media(max-width:640px){.dash-cards-6{grid-template-columns:1fr 1fr;gap:10px}.metric-card{min-height:120px;padding:13px}.metric-value{font-size:19px}.metric-icon{width:32px;height:32px}.metric-card>p{font-size:9px;margin-top:8px}.chart-wrap{height:180px;padding:6px 8px 6px 2px}.chart-legend{flex-wrap:wrap;gap:8px;padding:10px 14px 4px}.chart-legend b{display:none}.quick-grid{grid-template-columns:1fr 1fr;gap:8px}.quick-grid button{min-height:72px;padding:11px;font-size:9px}.quick-grid button>span{width:28px;height:28px}}@media(max-width:380px){.dash-cards-6{grid-template-columns:1fr}}@media(max-width:700px){.appointment-row{grid-template-columns:60px 30px 1fr 24px;padding:7px 12px;gap:8px}.appointment-row .status,.doctor-name{display:none}.appointment-time{font-size:9px}.appointment-time svg{display:none}.avatar{width:28px;height:28px;font-size:9px}.patient-main b{font-size:10px}.patient-main small{font-size:9px}}@media(max-width:430px){.appointment-row{grid-template-columns:54px 1fr 20px;gap:8px;padding:7px 10px}.appointment-row .avatar{display:none}}@media(max-width:700px){.patient-table>button{grid-template-columns:36px 1fr 15px;gap:10px;padding:10px 12px}.patient-table>button>span:nth-of-type(2),.patient-table>button>.status{display:none}.table-tools{height:auto;min-height:56px;flex-wrap:wrap;padding:10px 14px;gap:8px}.table-tools>div{flex-wrap:wrap}.table-tools b{font-size:13px}}@media(max-width:430px){.patient-table>button{grid-template-columns:32px 1fr 15px;padding:9px 10px}.patient-table>button>span{display:none}}@media(max-width:920px){.schedule-layout{grid-template-columns:1fr}.mini-calendar{max-width:100%}}@media(max-width:640px){.schedule-row{grid-template-columns:54px 12px 1fr;padding:0 8px}.schedule-card{grid-template-columns:32px 1fr 20px;margin-left:6px;padding:8px 10px;gap:8px}.schedule-card>span,.schedule-card .status{display:none}.schedule-card>div:nth-child(2) b{font-size:10px}.schedule-card>div:nth-child(2) small{font-size:9px}}@media(max-width:900px){.billing-summary-cards{grid-template-columns:1fr 1fr;gap:10px}.billing-stat-card{padding:12px 14px;gap:10px}.billing-stat-icon{width:36px;height:36px}.billing-stat-card b{font-size:14px}.billing-amounts-grid{grid-template-columns:1fr 1fr}.invoice-payment-summary{grid-template-columns:1fr}}@media(max-width:640px){.billing-summary-cards{grid-template-columns:1fr 1fr}.billing-amounts-grid{grid-template-columns:1fr}.billing-filter-bar{gap:4px}.billing-filter-bar button{padding:6px 12px;font-size:9px}.billing-invoice-header-row{display:none}.billing-invoice-row{grid-template-columns:1fr;gap:6px;padding:14px;border-bottom:1px solid #e8eeed}.billing-invoice-row:hover{background:#f8fcfb}.billing-inv-number{font-size:11px}.billing-inv-patient{display:flex}.billing-inv-patient span{font-size:12px}.billing-inv-date{font-size:11px}.billing-inv-total,.billing-inv-outstanding{font-size:12px}.invoice-detail-top{flex-direction:column;align-items:flex-start;gap:12px}.invoice-line-items{padding:12px 14px}.invoice-line-row span,.invoice-line-row b{font-size:12px}.invoice-pay-item{padding:12px 14px}.invoice-pay-item b{font-size:14px}}@media(max-width:430px){.billing-summary-cards{grid-template-columns:1fr}}@media(max-width:1100px){.report-stat-cards{grid-template-columns:repeat(3,1fr)}.report-grid-2{grid-template-columns:1fr}}@media(max-width:768px){.report-layout{grid-template-columns:1fr;gap:14px}.report-sidebar{position:static;flex-direction:row;flex-wrap:wrap;gap:4px;padding:6px}.report-sidebar button{flex:1;min-width:130px;padding:8px 10px;font-size:10px}.report-stat-cards{grid-template-columns:repeat(2,1fr)}.report-chart-card{padding:14px 16px}.report-chart-header h3{font-size:12px}}@media(max-width:480px){.report-stat-cards{grid-template-columns:1fr}.report-sidebar button{min-width:100px;font-size:9px}}@media(max-width:768px){.notif-stats{flex-wrap:wrap;gap:10px}.notif-stat-card{flex:1 1 calc(50% - 5px);min-width:140px;padding:12px 14px;gap:10px}.notif-stat-card b{font-size:18px}.notif-filters{gap:6px}.notif-filters button{padding:6px 12px;font-size:10px}.notif-card{padding:14px;gap:10px;flex-wrap:wrap}.notif-card-icon{width:36px;height:36px}.notif-card-header b,.notif-card-content p{font-size:11px}.notif-card-actions{flex-direction:row}}@media(max-width:480px){.notif-stats{flex-direction:column}.notif-stat-card{flex:1 1 100%}.notif-card{flex-direction:column;align-items:flex-start}.notif-card-actions{width:100%;justify-content:flex-end}.notif-header-actions{flex-wrap:wrap;gap:6px}}@media(max-width:640px){.settings-section h3{font-size:12px}.settings-section p{font-size:10px}.form-row{grid-template-columns:1fr;gap:10px}.auth-field>div{height:44px}.auth-field input,.auth-field select{font-size:12px}.form-select{height:44px;font-size:12px}}@media(max-width:860px){.auth-page{grid-template-columns:1fr}.auth-showcase{display:none}.auth-form-side{min-height:100vh;padding:28px 20px;justify-content:center}.mobile-auth-brand{display:block;width:min(100%,400px);margin-bottom:40px}.mobile-auth-brand .auth-brand strong{color:#3d4e4b}.mobile-auth-brand .auth-brand small{color:#12b871}.mobile-auth-brand .auth-logo{color:#fff;background:#12b871}}@media(max-width:480px){.auth-form-side{justify-content:flex-start;padding:24px 18px;padding-top:calc(24px + env(safe-area-inset-top,0px))}.mobile-auth-brand{margin-bottom:35px}.auth-heading h2{font-size:22px}.auth-heading p{font-size:11px;margin-bottom:22px}.auth-field>span{font-size:11px}.auth-field>div{height:46px}.auth-field input,.auth-field select{font-size:12px}.auth-submit{height:46px;font-size:12px}.auth-options{flex-direction:column;align-items:flex-start;gap:8px}.auth-options label,.auth-options button,.auth-help button{font-size:10px}.auth-security{margin-top:30px;text-align:center;flex-wrap:wrap}}@media(max-width:900px){.med-layout{grid-template-columns:1fr}.med-patient-panel{order:1}}@media(max-width:640px){.med-doc-cards{grid-template-columns:1fr}.med-patient-info{padding:16px}.med-patient-info b{font-size:12px}.med-patient-info small,.med-patient-info span{font-size:10px}.med-preview-container{min-height:250px}.med-preview-image{max-height:400px}.med-preview-pdf{height:400px}}@media(max-width:640px){.visit-form-grid{grid-template-columns:1fr}.visit-vitals-grid,.visit-vitals-display{grid-template-columns:1fr 1fr;gap:8px}.visit-vital-item{padding:8px 12px}.visit-vital-item b{font-size:12px}.visit-card{padding:12px 14px}.visit-card-top b{font-size:12px}.visit-card-body{flex-wrap:wrap;gap:8px}.visit-detail-header{flex-direction:column;align-items:flex-start;gap:8px}.visit-detail-header h3{font-size:14px}}@media(max-width:380px){.visit-vitals-grid,.visit-vitals-display{grid-template-columns:1fr}}@media(max-width:900px){.appt-week-grid{grid-template-columns:1fr 1fr;gap:8px}.appt-week-day{min-height:auto}}@media(max-width:640px){.appt-toolbar{flex-direction:column;align-items:stretch;gap:10px}.appt-nav{justify-content:center}.appt-view-toggle{width:100%}.appt-view-toggle button{flex:1;padding:8px 10px;font-size:10px}.appt-week-grid{grid-template-columns:1fr}.appt-month-grid{grid-template-columns:repeat(7,1fr);gap:1px}.appt-month-cell{min-height:56px;padding:4px 5px}.appt-month-day{font-size:10px}.appt-month-dots small{font-size:7px}.appt-day-row{grid-template-columns:70px 1fr;gap:10px;padding:6px 12px}.appt-day-card{grid-template-columns:32px 1fr auto;gap:8px;padding:8px 12px}.appt-day-physician{display:none}.appt-day-info b{font-size:11px}.appt-day-info small{font-size:9px}.appt-status-summary{gap:6px}.appt-status-chip{padding:3px 10px;font-size:9px}.appt-patient-toggle{flex-direction:column}.appt-new-patient{padding:12px}}@media(max-width:400px){.appt-month-grid{grid-template-columns:repeat(7,1fr)}.appt-month-cell{min-height:44px}.appt-month-dots{display:none}.appt-month-day{font-size:11px}}@media(max-width:640px){.print-overlay{padding:0}.print-paper{width:100%;max-width:100%;border-radius:0;min-height:100vh}.print-actions{padding:12px 14px;flex-wrap:wrap;gap:8px}.print-invoice{padding:24px 18px}.print-header{flex-direction:column;gap:16px}.print-clinic-contact{text-align:left}.print-invoice-meta{flex-direction:column;gap:12px}.print-invoice-dates{text-align:left}.print-totals{width:100%}.print-line-table th{font-size:9px;padding:6px 8px}.print-line-table td{font-size:11px;padding:6px 8px}.print-social{gap:10px}}@media(max-width:640px){.patient-detail-grid{grid-template-columns:1fr;gap:14px}.detail-row{font-size:11px;padding:8px 0}.detail-section h3{font-size:13px}.image-upload-row{grid-template-columns:1fr!important}.detail-image-item img{width:100px;height:70px}}@media(max-width:480px){.pagination{gap:8px;padding:10px;flex-wrap:wrap}.pagination button{padding:6px 10px;font-size:9px}.pagination span{font-size:9px;width:100%;text-align:center}}@media(max-width:700px){.popover{position:fixed;top:70px;right:10px;left:10px;width:auto}.profile-popover{width:auto}}@media(max-width:480px){.toast{right:10px;bottom:10px;left:10px;justify-content:center;font-size:11px;padding:12px 14px}}@media(max-width:640px){.data-table{font-size:11px}.data-table th{padding:8px 10px;font-size:9px}.data-table td{padding:8px 10px;font-size:11px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}}@supports (padding: env(safe-area-inset-top)){.topbar{padding-top:env(safe-area-inset-top,0px);min-height:60px}.sidebar{padding-top:env(safe-area-inset-top,0px)}.toast{bottom:calc(10px + env(safe-area-inset-bottom,0px))}}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}@media(max-width:700px){.sidebar nav button{height:48px}.notification-button{width:40px;height:40px}.icon-action{width:38px;height:38px}.primary-button,.secondary-button{height:44px;min-height:44px}.billing-filter-bar button,.appt-today-btn,.appt-view-toggle button{min-height:36px}}body,.app-shell{overflow-x:hidden}@media(max-width:480px){.loading-state{padding:40px 16px}.loading-state p{font-size:11px}.empty-state{min-height:200px;padding:20px}.empty-state b{font-size:13px}.empty-state span{font-size:11px}}
