:root{--background: 198 35% 97%;--foreground: 214 33% 14%;--card: 0 0% 100%;--card-foreground: 214 33% 14%;--popover: 0 0% 100%;--popover-foreground: 214 33% 14%;--primary: 186 79% 36%;--primary-foreground: 0 0% 100%;--secondary: 187 35% 92%;--secondary-foreground: 203 36% 24%;--muted: 192 26% 93%;--muted-foreground: 210 18% 42%;--accent: 164 55% 40%;--accent-foreground: 206 42% 12%;--destructive: 0 72% 46%;--destructive-foreground: 0 0% 100%;--border: 197 24% 84%;--input: 197 24% 84%;--ring: 186 79% 36%;--radius: 14px;--surface: linear-gradient(148deg, rgba(244, 251, 252, .96) 0%, rgba(231, 245, 247, .84) 100%);--sidebar: linear-gradient(180deg, #f9fbfd 0%, #f3f7fb 100%);--sidebar-foreground: #102436;--shadow-sm: 0 8px 18px rgba(9, 30, 45, .08);--shadow-md: 0 18px 36px rgba(9, 30, 45, .14);--shadow-lg: 0 30px 58px rgba(9, 30, 45, .18);--font-sans: "Manrope", "IBM Plex Sans", "Segoe UI", sans-serif;--font-heading: "Sora", "Manrope", sans-serif;--button-height: 36px}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;color:hsl(var(--foreground));font-family:var(--font-sans);line-height:1.5;overflow-x:hidden;background:radial-gradient(circle at 8% 10%,rgba(0,185,179,.17) 0%,transparent 36%),radial-gradient(circle at 92% 12%,rgba(45,151,255,.14) 0%,transparent 32%),radial-gradient(circle at 48% 100%,rgba(16,198,140,.09) 0%,transparent 40%),hsl(var(--background))}h1,h2,h3,h4,h5,h6{margin:0;font-family:var(--font-heading);letter-spacing:-.02em;color:hsl(var(--card-foreground))}p{margin:0}img{display:block;max-width:100%}a{color:inherit}button,input,select,textarea{font:inherit}label{display:grid;gap:.42rem;font-size:.82rem;font-weight:700;color:hsl(var(--secondary-foreground))}.required-star{color:#dc2626;margin-left:.12rem;font-weight:700}.share-link-input{min-width:420px}input,select,textarea{width:100%;border:1px solid hsl(var(--input));border-radius:calc(var(--radius) - 6px);background:#fff;padding:.45rem .62rem;color:hsl(var(--foreground));transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}input::placeholder,textarea::placeholder{color:hsl(var(--muted-foreground))}input:focus,select:focus,textarea:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 3px #1185bc33}textarea{resize:vertical;min-height:70px}.muted{color:hsl(var(--muted-foreground))}.notice{border-radius:calc(var(--radius) - 4px);border:1px solid transparent;padding:.72rem .82rem;font-size:.85rem;font-weight:600}.notice.success{border-color:#057f5f40;background:#0ca47921;color:#0f6f57}.notice.warning{border-color:#bd800b3d;background:#f8b44029;color:#8a5300}.notice.error{border-color:#bc253e47;background:#eb536a24;color:#8f2036}.panel{border-radius:var(--radius);border:1px solid hsl(var(--border));background:hsl(var(--card));box-shadow:var(--shadow-sm);padding:.85rem;overflow:hidden;box-sizing:border-box}.ui-button,button.primary,button.secondary,button.ghost,a.primary,a.secondary,a.ghost{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:var(--button-height);height:var(--button-height);padding:0 1rem;border-radius:calc(var(--radius) - 6px);border:1px solid rgba(20,75,93,.16);font-size:.84rem;font-weight:800;letter-spacing:.01em;text-decoration:none;cursor:pointer;box-shadow:0 4px 10px #092d3d14;transition:transform .12s ease,box-shadow .16s ease,filter .14s ease,border-color .14s ease,background .16s ease}.ui-button:disabled,button.primary:disabled,button.secondary:disabled,button.ghost:disabled{opacity:.58;cursor:not-allowed;transform:none}.ui-button.primary,button.primary,a.primary{background:linear-gradient(130deg,#0b8e92,#0d6fc2);color:hsl(var(--primary-foreground));box-shadow:0 12px 24px #0d6fc23d;border-color:#0e739a6b}.ui-button.secondary,button.secondary,a.secondary{border-color:#0f687c33;background:linear-gradient(180deg,#f8fdfe,#eef7fa);color:#16586b;box-shadow:0 6px 14px #0b414f1a}.ui-button.ghost,button.ghost,a.ghost,button.link,a.link{background:transparent;border-color:transparent;color:#0d6e8f;box-shadow:none}.ui-button:hover,button.primary:hover,button.secondary:hover,button.ghost:hover,button.link:hover,a.link:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 10px 20px #092d3d29}.ui-button:active,button.primary:active,button.secondary:active,button.ghost:active{transform:translateY(0);box-shadow:0 4px 10px #092d3d1f}.ui-button-sm{min-height:30px;height:30px;padding:0 .7rem;font-size:.76rem}.ui-button-lg{min-height:42px;height:42px;padding:0 1.1rem;font-size:.88rem}.ui-button.destructive{background:#9f1f36;color:hsl(var(--destructive-foreground));border-color:#86192d;box-shadow:0 8px 14px #0000003d}.ui-button.destructive:hover{background:#8c1b30;box-shadow:0 10px 16px #00000047}.ui-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}.ui-list-item{margin:0}.ui-list-item-content{min-width:0}.ui-list-item-actions{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}button.link,a.link{min-height:auto;height:auto;padding:0;border:0;border-radius:0;font-weight:700}button.link.danger,a.link.danger{color:#a8263a}.auth-page{min-height:100vh;display:grid;place-items:center;padding:1.4rem}.auth-card{width:min(560px,94vw);border-radius:22px;border:1px solid hsl(var(--border));background:linear-gradient(165deg,#fff,#f2fbfb);box-shadow:var(--shadow-lg);padding:1.2rem;display:grid;gap:1rem;animation:panel-enter .28s ease}.platform-admin-card{width:min(860px,96vw)}.brand{display:flex;align-items:center;gap:.82rem}.brand img{width:auto;height:42px;border-radius:10px;border:1px solid rgba(10,130,136,.16);background:#fff;box-shadow:0 6px 12px #0a505a1f}.brand-title{font-size:1rem;font-weight:800;color:#0d5d65}.brand-subtitle{font-size:.75rem;color:#4c6f7a}.auth-card h1{font-size:1.33rem}.auth-form{display:grid;gap:.82rem}.auth-form label{font-size:.78rem}.hint{display:flex;align-items:center;gap:.4rem;font-size:.82rem;color:hsl(var(--muted-foreground))}.compact-note{margin-top:-.2rem;font-size:.75rem}.app-shell{min-height:100vh;display:grid;grid-template-columns:256px minmax(0,1fr)}.app-shell.app-shell-single{grid-template-columns:minmax(0,1fr)}.admin-route-main{width:100%}.admin-route-container{max-width:1240px;margin:0 auto}.admin-route-topbar{padding-bottom:.9rem}.sidebar{position:sticky;top:0;height:100dvh;overflow:hidden;scrollbar-width:thin;scrollbar-color:rgba(48,94,126,.7) rgba(21,65,95,.08);padding:1.05rem .9rem .9rem;background:var(--sidebar);color:var(--sidebar-foreground);border-right:1px solid rgba(24,57,83,.12);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.9rem;--sidebar-supermenu-height: 40px;--sidebar-menu-item-height: 42px}.sidebar-top{position:sticky;top:0;z-index:3;background:var(--sidebar);display:grid;gap:.55rem;padding-bottom:.15rem}.sidebar-scroll-region{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(54,103,137,.72) rgba(21,65,95,.08)}.sidebar-bottom{position:sticky;bottom:0;z-index:3;background:var(--sidebar);padding-top:.15rem}.sidebar .brand{align-items:center;justify-content:center;gap:.62rem;padding:.22rem 0 .5rem}.sidebar .brand img{width:auto;height:42px;border-radius:8px;border:0;box-shadow:none}.sidebar .brand-title{font-size:1.08rem;font-weight:800;letter-spacing:-.015em;line-height:1}.sidebar .brand-subtitle{margin-top:.08rem;font-size:.79rem;color:#153149bd}.sidebar .brand-title,.sidebar .brand-subtitle{color:var(--sidebar-foreground)}.sidebar .brand-title-ai{color:#0f4f7a}.user-card{border-radius:calc(var(--radius) - 2px);border:1px solid rgba(30,72,102,.14);background:#fffc;padding:.85rem;display:grid;gap:.45rem}.user-name{font-size:.95rem;font-weight:700;color:#12293d}.role-badge{display:inline-flex;width:fit-content;align-items:center;border-radius:999px;border:1px solid rgba(23,62,88,.2);padding:.18rem .62rem;font-size:.72rem;font-weight:700;color:#153850}.role-badge.owner{background:#ffdc9447}.role-badge.hr_manager{background:#71e7cb3d}.role-badge.clinician{background:#92d8ff42}.role-badge.receptionist{background:#cae5ec57}.language-select{display:grid;gap:.4rem}.language-select label{font-size:.72rem;font-weight:700;color:#ffffffdb}.language-select select{border-color:#b3eff25c;background:#abe8ec1f;color:#ecfbff}.sidebar nav{display:grid;gap:.35rem;margin-top:0;padding:.2rem;border:1px solid rgba(21,65,95,.15);border-radius:10px;background:#ffffff80}.sidebar-nav-group{display:grid;gap:0;border-radius:9px;overflow:hidden;border:1px solid rgba(21,65,95,.14);background:linear-gradient(180deg,#f8fcfff2,#eff7fcf2)}.sidebar-nav-toggle{width:100%;border:0;min-height:var(--sidebar-supermenu-height);height:var(--sidebar-supermenu-height);padding:0 .62rem;margin:0;background:#e2f0f9d9;border-bottom:1px solid rgba(21,65,95,.1);display:inline-flex;align-items:center;justify-content:space-between;cursor:pointer;color:#113048d9}.sidebar-nav-toggle:hover{background:#d5e9f5f2}.sidebar-nav-heading{display:inline-flex;align-items:center;gap:.42rem;min-width:0}.sidebar-nav-title{font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;line-height:1;white-space:nowrap}.sidebar-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;border:1px solid rgba(17,48,72,.22);background:#ffffffeb;color:#113048d1;font-size:.64rem;font-weight:800}.sidebar-nav-chevron{font-size:.8rem;line-height:1;transition:transform .12s ease}.sidebar-nav-chevron-chip{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;border:1px solid rgba(17,48,72,.2);background:#ffffffeb}.sidebar-nav-chevron.collapsed{transform:rotate(-90deg)}.sidebar-nav-items{display:grid;background:#ffffffc7;padding:.2rem}.sidebar::-webkit-scrollbar{width:10px}.sidebar::-webkit-scrollbar-track{background:#15415f14;border-radius:999px}.sidebar::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#4f8db4eb,#305e7eeb);border-radius:999px;border:2px solid rgba(243,247,251,.95)}.sidebar::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4081aafa,#265270fa)}.sidebar-scroll-region::-webkit-scrollbar{width:8px;height:8px}.sidebar-scroll-region::-webkit-scrollbar-track{background:#15415f14;border-radius:999px}.sidebar-scroll-region::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#5897bceb,#366789eb);border-radius:999px;border:2px solid rgba(235,243,248,.95)}.sidebar-scroll-region::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#488bb2fa,#2c5b7bfa)}.sidebar-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;justify-content:flex-start;align-items:center;display:inline-flex;gap:.58rem;width:100%;min-height:var(--sidebar-menu-item-height);height:var(--sidebar-menu-item-height);border:0;border-top:1px solid rgba(21,65,95,.1);background:transparent;color:#17354d;font-size:.84rem;font-weight:700;letter-spacing:.01em;text-align:left;padding:0 .52rem 0 .76rem;cursor:pointer;transition:background-color .16s ease,color .16s ease,transform .13s ease}.sidebar-nav-items .sidebar-tab:first-child{border-top:0}.sidebar-tab:hover{background:#e2ecf5d1;color:#0f2940;transform:translate(2px)}.sidebar-tab:active{transform:scale(.985)}.sidebar-tab.active{background:linear-gradient(90deg,#cde2f2f2,#e0eef8e6);color:#10283d;box-shadow:inset 3px 0 #3f6788}.sidebar-tab:disabled{opacity:.5;cursor:not-allowed;transform:none}.sidebar-tab-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;color:#2b5879}.sidebar-profile-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:.36rem;align-items:stretch;position:relative}.employee-static-info{width:100%;min-height:56px;border-radius:10px;border:1px solid rgba(21,65,95,.16);background:#ffffffb8;color:#10283d;padding:.5rem .55rem;display:inline-flex;align-items:center;gap:.48rem}.profile-gear-btn{width:40px;min-height:56px;border-radius:10px;border:1px solid rgba(21,65,95,.18);background:#fff;color:#1f4f70;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.profile-gear-btn:hover,.profile-gear-btn:focus-visible{border-color:#15415f4d;background:#e7f0f7e6;color:#123957;outline:none}.sidebar-profile-actions{position:absolute;right:0;bottom:calc(100% + 8px);z-index:25;min-width:154px;display:grid;gap:.24rem;border-radius:10px;border:1px solid rgba(21,65,95,.18);background:#fffffff7;box-shadow:0 12px 28px #0c233533;padding:.3rem}.sidebar-profile-actions:after{content:"";position:absolute;right:11px;bottom:-6px;width:10px;height:10px;transform:rotate(45deg);background:#fffffff7;border-right:1px solid rgba(21,65,95,.16);border-bottom:1px solid rgba(21,65,95,.16)}.profile-trigger{justify-content:flex-start;width:100%;min-height:46px;height:46px;border-radius:10px;border:1px solid rgba(21,65,95,.18);background:#fff;color:#10283d;box-shadow:none;padding:0 .55rem;text-align:left}.profile-trigger:hover,.profile-trigger:focus-visible{border-color:#15415f4d;background:#fff;transform:none;box-shadow:none}.profile-trigger-icon{width:28px;height:28px;border-radius:999px;background:#e8f0f6;border:1px solid rgba(21,65,95,.18);color:#1f4f70;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.profile-trigger-text{min-width:0;display:grid;gap:.02rem}.profile-name{display:block;font-size:.82rem;font-weight:700;color:#10283d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-subtext{display:block;font-size:.7rem;color:#10283dad}.settings-footer-btn{justify-content:flex-start;width:100%;min-height:34px;height:34px;border-radius:8px;border:1px solid transparent;color:#325974;box-shadow:none;padding:0 .5rem}.settings-footer-btn:hover,.settings-footer-btn:focus-visible{border-color:#15415f38;background:#e7f0f7db;color:#18364d;transform:none;box-shadow:none}.logout-footer-btn{justify-content:flex-start;width:100%;min-height:34px;height:34px;border-radius:8px;border:1px solid transparent;color:#8a2438;font-size:.82rem;font-weight:700;padding:0 .5rem;text-align:left;box-shadow:none;transition:color .14s ease,transform .12s ease,background-color .14s ease,border-color .14s ease}.sidebar .logout-footer-btn{color:#b4233f}.logout-footer-btn:hover,.logout-footer-btn:focus-visible{border-color:#8a24383d;background:#8a243814;color:#c12b4a;box-shadow:none;transform:none}.logout-footer-btn:active{transform:scale(.985)}main{padding:.7rem;min-width:0}.topbar{display:flex;align-items:flex-start;justify-content:space-between;padding:.3rem .1rem .6rem}.topbar h2{font-size:clamp(1.15rem,1.8vw,1.5rem)}.dashboard,.patient-page,.form-layout{display:grid;gap:.9rem}.module-page{display:grid;gap:.9rem;min-width:0}.module-panel-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.6rem}.module-form-grid{display:grid;gap:.55rem;grid-template-columns:repeat(4,minmax(0,1fr))}.module-filter-grid{margin-bottom:.7rem}.module-inline-actions{display:flex;gap:.45rem;flex-wrap:wrap;min-width:0}.module-sales-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.module-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.module-tab-panel{margin-top:.7rem}.module-table{overflow:hidden}.module-table .table-head,.module-table .table-row{grid-template-columns:repeat(6,minmax(0,1fr))}.module-table-billing .table-head,.module-table-billing .table-row{grid-template-columns:1.1fr .9fr .7fr .8fr .8fr .8fr .8fr .8fr 1fr}.module-table-pharmacy .table-head,.module-table-pharmacy .table-row{grid-template-columns:1.25fr 1fr .8fr .8fr .8fr .8fr 1fr}.module-table-lab .table-head,.module-table-lab .table-row{grid-template-columns:1fr 1fr 1fr .8fr .8fr 1fr 1fr .8fr .8fr .8fr 1fr}.module-table-ot-theatres .table-head,.module-table-ot-theatres .table-row{grid-template-columns:.8fr 1fr .8fr 1.5fr 1fr 1fr}.module-table-ot-surgeries .table-head,.module-table-ot-surgeries .table-row{grid-template-columns:1.1fr 1fr .8fr .8fr 1.1fr .8fr .8fr 1fr}.module-table-accounts-ledger .table-head,.module-table-accounts-ledger .table-row,.module-table-accounts-vendors .table-head,.module-table-accounts-vendors .table-row,.module-table-accounts-doctors .table-head,.module-table-accounts-doctors .table-row{grid-template-columns:repeat(6,minmax(0,1fr))}.module-table-op .table-head,.module-table-op .table-row{grid-template-columns:.7fr 1.1fr 1fr 1.1fr .8fr .8fr 1.2fr}.module-table-history .table-head,.module-table-history .table-row{grid-template-columns:1.25fr .9fr 1fr 1.25fr 1fr .8fr .8fr!important}.module-form-grid textarea{grid-column:1 / -1}.module-mobile-list{display:none;gap:.55rem}.module-mobile-card{border-radius:calc(var(--radius) - 4px);border:1px solid hsl(var(--border));background:#fff;padding:.65rem;display:grid;gap:.24rem}.module-mobile-card h4{font-size:.92rem}.module-mobile-card p{font-size:.81rem;word-break:break-word}.registration-desk-grid{margin-top:.7rem}.registration-desk-panel{margin:0}.patient-history-grid{margin-top:.9rem}.transaction-group{display:grid;gap:.5rem}.transaction-group+.transaction-group{margin-top:.8rem}.module-card-actions{margin-top:.45rem;display:flex;gap:.4rem;flex-wrap:wrap}.stat-grid{display:grid;gap:.75rem;grid-template-columns:repeat(5,minmax(0,1fr))}.stat-card{border-radius:calc(var(--radius) - 2px);border:1px solid #b7cedc;background:linear-gradient(180deg,#f8fcff,#eef6fc);padding:.72rem;box-shadow:var(--shadow-sm);display:grid;gap:.3rem}.stat-card p{font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;color:#27485e;font-weight:700}.stat-card h3{font-size:1.42rem;color:#0b3552}.split{display:grid;gap:.9rem;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.patients-split{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.hero-panel{background:linear-gradient(145deg,#0ba4a81a,#2178dc17)}.action-grid{margin-top:.8rem;display:grid;gap:.55rem}.dashboard-analytics-grid{display:grid;gap:.9rem;grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-analytics-card{min-height:240px}.trend-chart{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(14px,1fr);gap:.4rem;align-items:end;min-height:170px}.trend-bar-wrap{display:grid;gap:.3rem;justify-items:center}.trend-bar-track{width:100%;min-height:140px;border-radius:12px;background:linear-gradient(180deg,#eef6fb,#e2f1f8);border:1px solid rgba(15,88,126,.1);display:flex;align-items:flex-end;overflow:hidden}.trend-bar-fill{width:100%;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#1d4ed8,#0e7490);min-height:2px}.trend-bar-label{font-size:.68rem;color:#2f4f64;writing-mode:vertical-rl;text-orientation:mixed;transform:rotate(180deg);font-weight:600}.donut-layout{display:grid;grid-template-columns:auto 1fr;gap:.9rem;align-items:center}.donut-chart{width:124px;height:124px;border-radius:999px;display:grid;place-items:center;border:1px solid rgba(15,88,126,.12);box-shadow:inset 0 0 0 18px #f8fbfe}.donut-chart span{font-size:1.05rem;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.32)}.donut-legend{display:grid;gap:.35rem}.legend-item{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:.4rem;font-size:.8rem;color:#1f3f54}.legend-dot{width:9px;height:9px;border-radius:999px}.legend-label,.bar-label{color:#213e52;font-weight:700}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.summary-tile{border-radius:12px;border:1px solid rgba(15,88,126,.12);background:#f7fcff;padding:.7rem;display:grid;gap:.2rem}.summary-label{font-size:.76rem;font-weight:700;color:#4b6678;text-transform:uppercase;letter-spacing:.04em}.summary-tile strong{font-size:1.1rem;color:#12344c}.summary-list{display:grid;gap:.55rem}.summary-list-row{display:grid;grid-template-columns:minmax(80px,.8fr) minmax(0,1fr) auto;gap:.55rem;align-items:center}.mini-bar-track{height:10px;border-radius:999px;background:#e5f0f6;overflow:hidden}.mini-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#0ea5a4,#2563eb)}.recent-patient-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}.recent-patient-list li{margin:0}.patient-card{width:100%;border:1px solid #b8cfdb;border-radius:12px;background:linear-gradient(180deg,#fff,#f6fbff);padding:.72rem .8rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;text-align:left;box-shadow:inset 0 0 0 1px #ffffffb3;transition:border-color .12s ease,box-shadow .12s ease,background .14s ease}.patient-card:hover{border-color:#6ea3bf;background:linear-gradient(180deg,#fff,#eef7ff);box-shadow:0 8px 14px #0f3f5414}.patient-card-main{min-width:0}.patient-card-side{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.patient-card h4{color:#132b3f;font-size:1rem}.patient-card-meta{color:#355469;font-weight:700;font-size:.84rem}.chip{display:inline-flex;align-items:center;border-radius:999px;border:1px solid #8fb8cf;background:#e9f5fb;color:#0f577d;padding:.22rem .62rem;font-size:.72rem;font-weight:700}.patient-toolbar,.search-bar{display:grid;grid-template-columns:1fr auto auto auto;gap:.52rem;align-items:center}.search-bar{margin-top:.8rem}.list-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.6rem}.table{border-radius:calc(var(--radius) - 4px);border:1px solid hsl(var(--border));overflow:hidden}.table-head,.table-row{display:grid;grid-template-columns:1.8fr .8fr .8fr 1fr 1fr 1.2fr;gap:.5rem;align-items:center;padding:.48rem .6rem}.table-head{background:linear-gradient(180deg,#effcfd,#e9f6fb);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#486b78}.table-row{border-top:1px solid hsl(var(--border));font-size:.83rem}.table-row.active{background:#0d9daa14}.table-row-expand{border-top:1px solid hsl(var(--border));padding:.55rem;background:linear-gradient(180deg,#f3fcfde0,#f8fdffe6)}.table-row-expand .panel{margin:0}.row-actions{display:inline-flex;align-items:center;gap:.46rem;flex-wrap:wrap}.confirm-inline{display:inline-flex;align-items:center;gap:.32rem}.empty-detail{display:grid;place-items:center;min-height:240px;border:1px dashed hsl(var(--border));border-radius:calc(var(--radius) - 2px);text-align:center;padding:1rem}.detail-grid{margin-top:.85rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.76rem}.detail-grid>div{border-radius:calc(var(--radius) - 6px);border:1px solid hsl(var(--border));background:#f7fcfd;padding:.7rem;display:grid;gap:.22rem}.detail-grid h4{margin-bottom:.2rem;font-size:.9rem}.patient-care-section{margin-top:.9rem}.care-tab-content{margin-top:.75rem}.care-panel-grid{display:grid;grid-template-columns:minmax(260px,.95fr) minmax(0,1.45fr);gap:.8rem}.care-entry{margin:0}.stacked-actions{display:grid;gap:.55rem}.care-note-list{display:grid;gap:.6rem}.care-note-card{border-radius:calc(var(--radius) - 4px);border:1px solid hsl(var(--border));background:#fff;padding:.7rem;display:grid;gap:.28rem}.care-note-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.documents{margin-top:.9rem;display:grid;gap:.55rem}.doc-item{border-radius:calc(var(--radius) - 4px);border:1px solid hsl(var(--border));background:#fff;padding:.65rem .75rem}.doc-date-section{border-radius:calc(var(--radius) - 4px);border:1px solid hsl(var(--border));background:#ffffffc7;padding:.48rem .62rem}.doc-date-section>summary{cursor:pointer;font-weight:800;color:#0f5b77}.doc-date-content{margin-top:.48rem;display:grid;gap:.5rem}.doc-item summary{cursor:pointer;font-weight:700;color:#10586b;display:flex;align-items:center;justify-content:space-between;gap:.6rem}.doc-item summary .ui-button{flex-shrink:0}.doc-item summary .summary-actions{display:inline-flex;align-items:center;gap:.42rem}.doc-item .row-actions{margin-top:.6rem}.form-layout .panel,.patient-page .panel,.readmit-form{animation:panel-enter .22s ease}.readmit-form{display:grid;gap:.6rem}.readmit-notes{min-height:84px}.readmit-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.46rem .7rem}.readmit-profile-grid .ui-label{margin:0}.grid-form{margin-top:.8rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.52rem}.employee-grid-form,.patient-grid-form{grid-template-columns:repeat(3,minmax(0,1fr))}.span-2{grid-column:span 2}.span-full{grid-column:1 / -1}.checkbox{display:inline-flex;align-items:center;gap:.5rem;font-size:.82rem}.checkbox input{width:16px;height:16px;margin:0;border-radius:6px}.form-actions{margin-top:.72rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.patient-detail-actions{justify-content:flex-start}.admin-auth-panel{max-width:640px}.admin-page{display:grid;gap:.95rem}.admin-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.7rem;flex-wrap:wrap}.admin-page-grid{display:grid;gap:.9rem;grid-template-columns:minmax(0,1.1fr) minmax(0,1.25fr)}.admin-page-section{min-width:0}.admin-users-table{margin-top:.65rem;overflow-x:auto}.patient-form-actions{justify-content:flex-end}.patient-actions-bottom{padding-top:.2rem}.patient-list-mobile{display:none}.upload-section-title{margin-top:1.2rem}.doc-grid{margin-top:.7rem;display:grid;gap:.52rem;grid-template-columns:repeat(3,minmax(0,1fr))}.doc-card{border-radius:calc(var(--radius) - 4px);border:1px solid hsl(var(--border));background:#f8fbfd;padding:.58rem;display:grid;gap:.6rem}.upload-widget{display:grid;gap:.48rem}.upload-input-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.upload-dropzone{border-radius:calc(var(--radius) - 4px);border:1px dashed rgba(10,149,160,.42);background:linear-gradient(160deg,#dff8f7b3,#eefafcdb);padding:.72rem;cursor:pointer;display:grid;gap:.3rem}.upload-dropzone.is-dragover{border-style:solid;border-color:#0a95a0b8;background:#d2f6f4e0}.upload-dropzone.is-disabled{opacity:.5;cursor:not-allowed}.upload-title{font-size:.82rem;font-weight:700;color:#0e516f}.upload-placeholder,.upload-helper{font-size:.74rem;color:#557688}.upload-file-name{font-size:.78rem;color:#0f4d6d;font-weight:700}.upload-actions{display:flex;align-items:center;gap:.42rem}.ocr-results{margin-top:.95rem;display:grid;gap:.68rem}.ocr-side-by-side{margin-top:.6rem;display:grid;gap:.6rem;grid-template-columns:repeat(2,minmax(0,1fr))}.ocr-preview{border-radius:calc(var(--radius) - 6px);border:1px solid hsl(var(--border));background:#fbfdff;min-height:160px;padding:.5rem;min-width:0}.ocr-preview-actions{display:flex;justify-content:center;margin-bottom:.4rem}.ocr-markdown-preview{background:#fbfdff}.ocr-markdown-needs-ocr{background:linear-gradient(160deg,#eefaffe6,#daeff8c7);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.ocr-empty-state{min-height:220px;border:1px solid rgba(107,149,171,.22);border-radius:10px;background:#ffffff73;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:center}.ocr-markdown-content{margin-top:.4rem;border:1px solid rgba(107,149,171,.25);border-radius:10px;background:#ffffff9e;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:.62rem}.ocr-source-image,.ocr-source-pdf{width:100%;min-height:230px;border:1px solid hsl(var(--border));border-radius:10px;background:#fff}.ocr-source-image{object-fit:contain;max-height:480px}.ocr-source-pdf{height:420px}.ocr-text,.ocr-text-display{margin-top:.64rem}.markdown-report{font-size:.95rem;color:#1d4257;display:grid;gap:.9rem}.markdown-report h1,.markdown-report h2,.markdown-report h3,.markdown-report h4,.markdown-report h5,.markdown-report h6{font-family:var(--font-sans);color:#0f3e58}.markdown-h1{font-size:1.2rem}.markdown-h2{font-size:1.08rem}.markdown-h3{font-size:1rem}.markdown-h4,.markdown-h5,.markdown-h6{font-size:.95rem}.markdown-report p{margin:0;line-height:1.7}.markdown-list{margin:0;padding:0 0 0 1.1rem;display:grid;gap:.45rem}.wellness-section{border:1px solid rgba(16,104,130,.2);border-radius:14px;padding:.9rem .95rem;background:linear-gradient(180deg,#fffffff5,#f4fbfff5);box-shadow:0 10px 24px #0d394f14}.wellness-section-title{margin:0 0 .55rem;font-size:1.02rem;line-height:1.25;color:#0f425d}.wellness-section-body{display:grid;gap:.72rem}.markdown-table{border-collapse:collapse;width:100%;font-size:.84rem;overflow:hidden;border-radius:10px}.markdown-table th,.markdown-table td{border:1px solid rgba(15,88,126,.2);padding:.52rem .58rem;text-align:left}.markdown-table th{background:#0f587e1f}.tabs{margin-top:.8rem;display:inline-flex;flex-wrap:wrap;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 5px);background:#f7fbfd;padding:.2rem;gap:.2rem}.tab{min-height:34px;height:34px;border-radius:8px;border:1px solid transparent;background:transparent;color:#4f6979;font-size:.78rem;font-weight:800;padding:0 .72rem}.tab.active{border-color:#0c638f42;background:#fff;color:#0b567f}.employee-list,.search-results{margin-top:.7rem;display:grid;gap:.55rem}.status-dot{width:9px;height:9px;display:inline-block;border-radius:999px;margin-right:.4rem}.status-dot.success{background:#129d76}.status-dot.danger{background:#d1485f}.bar-chart{margin:.6rem 0 1.1rem;display:grid;gap:.38rem}.bar-row{display:grid;align-items:center;gap:.55rem;grid-template-columns:140px 1fr auto;font-size:.82rem}.bar{width:100%;height:11px;border-radius:999px;background:#e9f2f8;overflow:hidden}.bar>div{height:100%;background:linear-gradient(120deg,#0ba4a8,#1d7cdc)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem}.settings-grid pre{margin-top:.45rem;padding:.72rem;border-radius:calc(var(--radius) - 5px);border:1px solid hsl(var(--border));background:#f7fbfd;overflow-x:auto;font-size:.76rem}.toast-wrap{position:fixed;right:1rem;bottom:1rem;z-index:80;width:min(430px,95vw)}.toast{border-radius:calc(var(--radius) - 2px);border:1px solid transparent;box-shadow:var(--shadow-md);padding:.72rem .78rem;display:grid;grid-template-columns:1fr auto;gap:.52rem}.toast.success{border-color:#12836640;background:#ebfaf4;color:#0f6b50}.toast.warning{border-color:#b2862e3d;background:#fff9ea;color:#875a06}.toast.error{border-color:#b4385647;background:#fff0f3;color:#8f2940}.toast-message{font-size:.83rem;font-weight:700}.toast-close{width:30px;height:30px;border-radius:9px;border:1px solid rgba(3,44,70,.2);background:#ffffffb3;color:inherit;cursor:pointer}.ui-input,.ui-select,.ui-textarea{font-size:.82rem}.ui-label{gap:.3rem}.required-marker{color:#b91c1c;font-weight:800;display:inline;margin-left:2px;vertical-align:baseline}.ui-label .required-marker{color:#b91c1c!important;font-weight:800;margin-left:4px;display:inline-block}.label-text{display:inline-block;line-height:1.4}.ui-checkbox{width:14px;height:14px}.ui-card{border-radius:var(--radius);border:1px solid hsl(var(--border));background:hsl(var(--card));box-shadow:var(--shadow-sm);overflow:hidden;box-sizing:border-box}.ui-card-header,.ui-card-content,.ui-card-footer{padding:.8rem}.ui-card-header{padding-bottom:.35rem}.ui-card-title{font-size:.98rem}.ui-card-description{font-size:.78rem;color:hsl(var(--muted-foreground))}.ui-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.16rem .52rem;font-size:.68rem;font-weight:700}.ui-badge-default{background:#0ba4a81f;color:#0f6d73}.ui-badge-secondary{background:#edf8fb;color:#416575}.ui-badge-outline{border:1px solid rgba(10,149,160,.24);background:#0a95a014;color:#0d6e8f}.ui-badge-destructive{background:#bd354c1f;color:#a53045}.ui-tabs-content{margin-top:.5rem}.ui-container{width:100%}.ui-container-sm{max-width:640px}.ui-container-md{max-width:760px}.ui-container-lg{max-width:980px}.ui-container-xl{max-width:1220px}.ui-container-full{max-width:100%}.ui-separator{border:0;border-top:1px solid hsl(var(--border));margin:.5rem 0}.ui-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#06141e85;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:120;display:grid;place-items:center;padding:.8rem}.ui-modal{width:min(700px,94vw);max-height:min(88vh,920px);overflow:auto;border-radius:calc(var(--radius) + 2px);border:1px solid hsl(var(--border));background:hsl(var(--card));box-shadow:var(--shadow-lg)}.ui-modal-wide{width:min(920px,96vw)}.ui-modal-compact{width:min(560px,92vw)}.ui-modal-header{position:sticky;top:0;background:linear-gradient(180deg,#f3fcfe,#eef9fc);border-bottom:1px solid hsl(var(--border));padding:.7rem .8rem;display:flex;align-items:start;justify-content:space-between;gap:.5rem}.ui-modal-title{font-size:.98rem}.ui-modal-description{font-size:.78rem;color:hsl(var(--muted-foreground))}.ui-modal-content{padding:.8rem}.ui-modal-actions{display:flex;justify-content:flex-end;gap:.5rem}.ui-modal-close{min-width:30px;width:30px;height:30px;min-height:30px;padding:0}.settings-modal-grid{align-items:start}@keyframes panel-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 1260px){.table-head,.table-row{grid-template-columns:1.5fr .7fr .7fr 1fr .9fr 1.1fr}.doc-grid,.patient-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 1024px){.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:20;height:100dvh;overflow:hidden;padding:.8rem .75rem;gap:.7rem;border-right:0;border-bottom:1px solid rgba(24,57,83,.12);box-shadow:0 8px 18px #091e2d14}.sidebar .brand{justify-content:center;padding:0}.sidebar .brand img{width:auto;height:30px;max-width:62vw}.user-card{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.language-select{grid-column:1 / -1}.sidebar nav{margin:0;padding:.2rem;border-radius:12px}.sidebar-tab:hover{transform:none}.sidebar-profile-row{grid-template-columns:minmax(0,1fr) 38px}.profile-gear-btn{width:38px;min-height:40px}.sidebar-profile-actions{right:0;left:auto;bottom:calc(100% + 6px);min-width:148px}.employee-static-info,.profile-trigger,.profile-gear-btn,.settings-footer-btn,.logout-footer-btn{min-width:0}.split,.patients-split,.dashboard-analytics-grid,.care-panel-grid,.settings-grid,.detail-grid,.ocr-side-by-side{grid-template-columns:1fr}.stat-grid,.table-head,.table-row{grid-template-columns:repeat(3,minmax(0,1fr))}.table-head span:nth-child(n+4),.table-row span:nth-child(n+4){display:none}.donut-layout{grid-template-columns:1fr;justify-items:center}.summary-grid{grid-template-columns:1fr}.donut-legend{width:100%}.trend-chart{min-height:140px}.trend-bar-track{min-height:110px}.module-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page-grid{grid-template-columns:1fr}}@media (max-width: 720px){main{padding:.65rem}.auth-card{padding:1rem}.sidebar{padding:.7rem .65rem;gap:.6rem}.sidebar .brand img{width:auto;height:26px}.sidebar .brand-title{font-size:1rem}.sidebar .brand-subtitle{font-size:.73rem}.user-card{grid-template-columns:1fr;padding:.7rem}.sidebar nav{margin:0;padding:.2rem;border:1px solid rgba(21,65,95,.15);border-radius:10px;background:#ffffff8f}.sidebar-tab.active{box-shadow:none}.employee-static-info,.profile-trigger,.profile-gear-btn,.settings-footer-btn,.logout-footer-btn{min-height:40px;height:auto}.sidebar-profile-actions{min-width:142px}.topbar{flex-direction:column;align-items:flex-start;gap:.45rem;padding-bottom:.45rem}.topbar h2{font-size:1.05rem}.module-panel-head{flex-direction:column;align-items:flex-start;gap:.5rem}.module-inline-actions{width:100%}.module-inline-actions>*{flex:1 1 calc(50% - .3rem);min-width:0}.tabs{display:flex;width:100%;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding-bottom:.28rem;scrollbar-width:thin}.tab{flex:0 0 auto;white-space:nowrap}.grid-form,.readmit-profile-grid,.patient-grid-form,.doc-grid,.stat-grid,.settings-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.patient-toolbar,.search-bar{grid-template-columns:1fr}.module-table{display:none}.module-mobile-list{display:grid}.patient-list-table .table-head,.patient-list-table .table-row{grid-template-columns:1.8fr 1.8fr .8fr .8fr 1fr 1fr 1.2fr}.patient-list-table{display:none}.patient-list-mobile{display:grid}.module-form-grid,.module-sales-grid{grid-template-columns:1fr}.panel{padding:.75rem}.patient-header{gap:.7rem}.detail-grid>div,.care-note-card,.doc-item{padding:.62rem}.doc-item summary{align-items:flex-start}.doc-item summary .summary-actions,.upload-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.list-meta{flex-direction:column;align-items:flex-start}.stat-card{padding:.68rem}.stat-card h3{font-size:1.18rem}.bar-row{grid-template-columns:1fr}.patient-card{flex-direction:column;align-items:flex-start}.patient-card-side{width:100%;justify-content:space-between}.hint{flex-wrap:wrap}.patient-actions-bottom{position:sticky;bottom:0;z-index:5;margin-top:.9rem;padding:.7rem 0 0;background:linear-gradient(180deg,#f8fcff00,#f8fcfffa 22%,#f8fcff)}.patient-form-actions{justify-content:stretch}.patient-form-actions>*{flex:1 1 100%}.registration-desk-grid{gap:.75rem}.billing-page .bar-row{gap:.35rem}.patient-detail-actions>*{flex:1 1 100%}.ocr-results h4,.upload-section-title{line-height:1.25}.ocr-preview{min-height:120px;padding:.45rem}.ocr-source-image{min-height:160px;max-height:260px}.ocr-source-pdf{min-height:180px;height:220px}.ocr-empty-state{min-height:160px}.ocr-markdown-content{padding:.5rem}.markdown-report{font-size:.88rem;gap:.72rem}}@media (max-width: 560px){.auth-page{padding:.8rem}.auth-card,.platform-admin-card{width:min(100%,100vw);border-radius:18px;padding:.9rem}.brand{align-items:flex-start}.module-inline-actions>*{flex:1 1 100%}.ui-button,button.primary,button.secondary,button.ghost,a.primary,a.secondary,a.ghost{width:100%;justify-content:center}.module-card-actions{display:grid;grid-template-columns:1fr}.doc-grid{grid-template-columns:1fr}.doc-card{padding:.52rem}.upload-dropzone{padding:.62rem}.upload-title{font-size:.78rem}.upload-placeholder,.upload-helper{font-size:.72rem}.ocr-results{gap:.55rem}.ocr-side-by-side{gap:.45rem}.patient-detail-panel{padding:.68rem}.patient-detail-panel h3{font-size:1rem;line-height:1.3}.detail-grid{gap:.55rem}.detail-grid h4{font-size:.84rem}.care-panel-grid{gap:.65rem}.care-entry,.patient-care-section{padding:.65rem}.patient-card-side{gap:.45rem;flex-wrap:wrap}}.symptom-ai-page{display:grid;gap:1rem}.symptom-disclaimer-card{border-left:4px solid #0a7f95}.symptom-tabs{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.symptom-history-toggle-wrap{position:fixed;top:16px;right:1rem;z-index:62;display:inline-flex;align-items:center;gap:.5rem}.symptom-history-toggle{width:36px;height:36px;border-radius:999px;border:1px solid hsl(var(--border));background:#fff;color:#175f77;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.symptom-history-toggle:hover{background:#eef7fa}.symptom-history-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px #1091b242}.symptom-history-tooltip{position:absolute;top:50%;right:calc(100% + .6rem);transform:translateY(-50%);border-radius:8px;border:1px solid rgba(15,99,129,.28);background:#0f415b;color:#f5fbff;padding:.32rem .52rem;font-size:.74rem;font-weight:700;line-height:1;white-space:nowrap;box-shadow:0 8px 18px #0a26363d;opacity:0;pointer-events:none;transition:opacity .14s ease}.symptom-history-tooltip:after{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #0f415b}.symptom-history-toggle-wrap:hover .symptom-history-tooltip,.symptom-history-toggle:focus-visible+.symptom-history-tooltip{opacity:1}.symptom-grid{display:grid;gap:1rem;grid-template-columns:1.6fr 1fr}.symptom-form-grid{display:grid;gap:.9rem}.symptom-form-row{display:grid;gap:.7rem}.symptom-two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.symptom-three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.symptom-inline-fields{display:grid;grid-template-columns:2fr 1fr;gap:.5rem}.symptom-tag-list{display:flex;flex-wrap:wrap;gap:.5rem}.symptom-tag{border:1px solid hsl(var(--border));background:#fff;color:hsl(var(--foreground));border-radius:999px;padding:.3rem .68rem;font-size:.78rem;cursor:pointer}.symptom-tag.selected{background:#1091b224;border-color:#1091b280;color:#0e6880}.symptom-region-chip{display:inline-flex;align-items:center;gap:.4rem;border:1px solid;border-radius:999px;padding:.24rem .56rem}.symptom-body-svg{width:100%;max-width:250px;margin:0 auto;display:block}.symptom-intensity-badge{display:inline-flex;align-items:center;border-radius:999px;color:#fff;font-size:.79rem;font-weight:800;padding:.2rem .64rem}.symptom-report-card{margin-top:.85rem;border-color:#0f63814d;background:radial-gradient(circle at 0% 0%,#62bcd221,#62bcd200 42%),linear-gradient(180deg,#fff,#f8fcfe)}.symptom-report-header{padding-bottom:.58rem;border-bottom:1px dashed rgba(15,99,129,.23)}.symptom-report-meta{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin-top:.4rem}.symptom-report-content{padding-top:.85rem}.symptom-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.7rem}.symptom-history-list{display:grid;gap:.55rem;margin-top:.8rem}.symptom-history-item{width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 6px);padding:.6rem .7rem;background:#fff;text-align:left;cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}.symptom-history-item:hover{border-color:#0a799775;background:#f5fbff}.symptom-history-item:focus-visible{outline:none;box-shadow:0 0 0 3px #1091b23d}.symptom-history-item.active{border-color:#0a79979e;background:linear-gradient(180deg,#f1fbff,#ecf7fd)}.symptom-trend{margin-top:.8rem}.symptom-trend-bars{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:.45rem;align-items:end;height:120px;margin-top:.45rem}.symptom-trend-bar-wrap{height:100%;display:flex;align-items:flex-end}.symptom-trend-bar{width:100%;border-radius:8px 8px 4px 4px}.symptom-copy{display:grid;gap:.7rem}.symptom-history-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#08121c3d;z-index:60}.symptom-history-drawer{position:fixed;top:84px;right:.9rem;bottom:.9rem;width:min(360px,calc(100vw - 1.8rem));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--card));box-shadow:var(--shadow-md);z-index:61;padding:.85rem;overflow-y:auto;transform:translate(calc(100% + 1.5rem));transition:transform .18s ease}.symptom-history-drawer.open{transform:translate(0)}.symptom-history-drawer-head{display:flex;justify-content:space-between;gap:.8rem;align-items:flex-start}.symptom-history-drawer-head h3{margin:0;font-size:1rem}.symptom-history-close{width:30px;height:30px;border:1px solid hsl(var(--border));border-radius:8px;background:#fff;color:#1d4b5f;cursor:pointer}@media (max-width: 900px){.symptom-grid,.symptom-two-col,.symptom-three-col{grid-template-columns:1fr}.symptom-trend-bars{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:.6rem;height:160px}.symptom-history-drawer{top:72px;right:.5rem;bottom:.5rem;width:calc(100vw - 1rem)}.symptom-history-toggle-wrap{top:12px;right:.62rem}}.field-error{display:block;margin-top:4px;color:#b91c1c;font-size:.82rem;font-weight:700}.consent-history-list{margin-top:.65rem;display:grid;gap:.55rem}.consent-history-item{display:grid;grid-template-columns:1.2fr 1fr 1fr .7fr 1fr;gap:.45rem;align-items:center;padding:.65rem;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:#0f172a6b;color:var(--text-muted);font-size:.82rem}.consent-history-item strong{color:var(--text-main)}@media (max-width: 1024px){.consent-history-item{grid-template-columns:1fr}}.patient-journey-page .journey-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center;margin-top:.55rem}.journey-patient-results{display:grid;gap:.45rem;margin-top:.65rem}.journey-patient-result{text-align:left;border:1px solid hsl(var(--border));background:#f8fcff;border-radius:calc(var(--radius) - 4px);padding:.55rem .7rem;display:grid;gap:.2rem;cursor:pointer}.journey-patient-result:hover{border-color:#5eb3c8;background:#eefaff}.journey-patient-result span{color:hsl(var(--muted-foreground));font-size:.88rem}.journey-stat-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.85rem;align-items:stretch;margin:.95rem 0}.patient-journey-print-area{display:grid;gap:.75rem}.patient-journey-print-area>.panel,.patient-journey-print-area>.card,.patient-journey-print-area>[class*=card]{margin:0}.patient-journey-page .journey-stat-grid .stat-card{min-height:102px;height:100%;display:grid;align-content:center;gap:.45rem;min-width:0}.patient-journey-page .journey-stat-grid .stat-card p,.patient-journey-page .journey-stat-grid .stat-card h3{margin:0;overflow-wrap:anywhere}.patient-journey-print-area>.ui-card{padding:.75rem .85rem}.patient-journey-print-area .module-panel-head{margin-bottom:.25rem}.patient-journey-print-area .module-panel-head h4{font-size:.88rem;margin:0}.patient-journey-print-area .module-panel-head p.muted{font-size:.72rem;margin:.1rem 0 0}.journey-detail-grid{display:grid;gap:.6rem;margin-top:.6rem;align-items:stretch}.journey-detail-grid.cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.journey-detail-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.journey-detail-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.journey-detail-grid.cols-1{grid-template-columns:1fr}.journey-detail-grid .full-width{grid-column:1 / -1}@media (max-width: 1024px){.journey-detail-grid.cols-6,.journey-detail-grid.cols-5{grid-template-columns:repeat(3,minmax(0,1fr))}.journey-detail-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 767px){.journey-detail-grid.cols-6,.journey-detail-grid.cols-5,.journey-detail-grid.cols-4{grid-template-columns:1fr}}.journey-detail-grid>div{border:1px solid #e2e8f0;border-radius:6px;padding:.5rem .65rem;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:.15rem;min-height:48px;min-width:0;box-shadow:0 1px 2px #0f172a0a;transition:border-color .15s ease,box-shadow .15s ease}.journey-detail-grid>div:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0f172a0f}.journey-detail-grid>div strong{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin:0;line-height:1.2}.journey-detail-grid>div span{font-size:.82rem;font-weight:500;color:#0f172a;overflow-wrap:break-word;word-wrap:break-word;line-height:1.3}.patient-journey-page .module-table{margin-top:.65rem;overflow:hidden}.module-table-journey-tests .table-head,.module-table-journey-tests .table-row,.module-table-journey-invoices .table-head,.module-table-journey-invoices .table-row{grid-template-columns:minmax(110px,1.05fr) minmax(120px,1.1fr) minmax(110px,1fr) minmax(82px,.7fr) minmax(90px,.85fr) minmax(82px,.7fr) minmax(90px,.7fr);align-items:center}.module-table-journey-tests .table-head>span,.module-table-journey-tests .table-row>span,.module-table-journey-invoices .table-head>span,.module-table-journey-invoices .table-row>span{min-width:0;overflow-wrap:anywhere}.appointment-summary-table{width:100%;border-collapse:collapse;margin-top:.85rem}.appointment-summary-table th,.appointment-summary-table td{padding:.75rem .85rem;border:1px solid hsl(var(--border));text-align:left;vertical-align:top;min-width:0}.appointment-summary-table th{background:#f8fafc;color:hsl(var(--muted-foreground));font-weight:700}.journey-timeline{display:grid;gap:.65rem;margin-top:.6rem}.journey-timeline-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:flex-start;border-bottom:1px dashed hsl(var(--border));padding-bottom:.65rem}.journey-timeline-item:last-child{border-bottom:0;padding-bottom:0}.journey-dot{width:.75rem;height:.75rem;border-radius:999px;background:#0b86a2;margin-top:.2rem;box-shadow:0 0 0 4px #e2f5fa}.journey-timeline-item p{margin:.15rem 0 0;color:hsl(var(--muted-foreground));font-size:.88rem}@media (max-width: 900px){.patient-journey-page .journey-search-row,.journey-stat-grid{grid-template-columns:1fr}}.hosp-dashboard{display:flex;flex-direction:column;gap:1rem;padding:.25rem 0}.hosp-dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%}.hosp-dashboard-top>div:first-child{min-width:0}.hosp-dashboard-page-title{margin:0;font-size:1.5rem;font-weight:800;color:#0f172a}.hosp-dashboard-top-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:.6rem;overflow-x:auto}.hosp-dashboard-pill,.hosp-dashboard-icon-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.65rem .95rem;border-radius:9999px;border:1px solid #dbeafe;background:#fff;color:#0f172a;font-size:.85rem;font-weight:600;cursor:pointer}.hosp-dashboard-pill:hover,.hosp-dashboard-icon-btn:hover{background:#f8fbff}.hosp-dashboard-pill-chevron{margin-left:.25rem;font-size:.8rem;color:#64748b}.hosp-dashboard-badge{display:inline-flex;min-width:1.3rem;height:1.3rem;align-items:center;justify-content:center;border-radius:9999px;background:#dc2626;color:#fff;font-size:.72rem;padding:0 .35rem}.hosp-dashboard-user{display:flex;align-items:center;gap:.75rem;padding:.55rem .85rem;border-radius:9999px;border:1px solid #dbeafe;background:#f8fbff}.hosp-dashboard-avatar{width:38px;height:38px;border-radius:9999px;background:#0f172a;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700}.hosp-dashboard-user-name{margin:0;font-size:.9rem;font-weight:700;color:#0f172a}.hosp-dashboard-user-role{margin:.1rem 0 0;font-size:.75rem;color:#64748b}@media (max-width: 900px){.hosp-dashboard-top{grid-template-columns:1fr}.hosp-dashboard-top-actions{justify-content:flex-start}}.hosp-dashboard-page-subtitle{margin:.35rem 0 0;color:#475569;font-size:.95rem}.hosp-kpi-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.hosp-kpi-card{background:#fff;border:1px solid #e2eef5;border-radius:14px;padding:.85rem .9rem;display:flex;align-items:flex-start;gap:.75rem;box-shadow:0 2px 8px #091e2d12}.hosp-kpi-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.hosp-kpi-icon svg{width:22px;height:22px}.hosp-kpi-body{display:flex;flex-direction:column;gap:.1rem;min-width:0}.hosp-kpi-label{font-size:.72rem;font-weight:700;color:#5c7a8e;text-transform:uppercase;letter-spacing:.05em;margin:0}.hosp-kpi-value{font-size:1.32rem;font-weight:800;color:#0b2e42;margin:0;line-height:1.2}.hosp-kpi-sub{font-size:.72rem;color:#6b8fa3;font-weight:600}.hosp-kpi-trend{font-size:.7rem;font-weight:700;margin-top:.1rem}.hosp-kpi-trend.up{color:#16a34a}.hosp-kpi-trend.down{color:#dc2626}.hosp-row-3col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:.75rem;align-items:start}.hosp-row-4col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;align-items:start;width:100%;overflow:hidden}.hosp-section-card{height:100%;overflow:hidden;box-sizing:border-box;min-width:0;max-width:100%}.hosp-view-all{font-size:.75rem;font-weight:700;color:#0891b2;background:none;border:none;cursor:pointer;padding:0;text-decoration:none}.hosp-view-all:hover{text-decoration:underline}.hosp-quick-actions{display:flex;flex-direction:column;gap:.35rem}.hosp-quick-btn{display:flex;align-items:center;gap:.55rem;padding:.55rem .7rem;background:#f7fbfd;border:1px solid #dcedf6;border-radius:10px;cursor:pointer;font-size:.82rem;font-weight:600;color:#1a3d54;text-align:left;transition:background .15s,border-color .15s}.hosp-quick-btn:hover{background:#e8f5fb;border-color:#0891b2}.hosp-quick-icon{font-size:1rem;flex-shrink:0}.hosp-quick-arrow{margin-left:auto;color:#94a3b8;font-size:1.1rem}.hosp-ops-table{display:flex;flex-direction:column;gap:0}.hosp-ops-head{display:grid;grid-template-columns:minmax(210px,1fr) 72px 86px 72px;column-gap:.35rem;padding:.4rem .5rem;font-size:.72rem;font-weight:700;color:#5c7a8e;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e5eff5}.hosp-ops-head span:not(:first-child){text-align:right}.hosp-ops-row{display:grid;grid-template-columns:minmax(210px,1fr) 72px 86px 72px;column-gap:.35rem;padding:.42rem .5rem;border-bottom:1px solid #f0f7fb;align-items:center}.hosp-ops-row>span:not(:first-child){justify-self:end;text-align:right}.hosp-ops-row:last-child{border-bottom:none}.hosp-ops-module{font-size:.81rem;font-weight:600;color:#1a3d54;display:flex;align-items:center;gap:.4rem}.hosp-ops-icon{font-size:.9rem}.hosp-ops-count{font-size:.82rem;font-weight:700;color:#1a3d54;width:100%;text-align:right}.hosp-ops-completed{font-size:.82rem;font-weight:700;color:#2563eb;width:100%;text-align:right}.hosp-ops-pending{font-size:.82rem;font-weight:700;color:#f97316;width:100%;text-align:right}.hosp-alerts{display:flex;flex-direction:column;gap:0}.hosp-alert{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.7rem .25rem;border-radius:0;border:0;border-bottom:1px solid #eef3f7;background:transparent}.hosp-alert:last-child{border-bottom:0}.hosp-alert:hover{background:#f8fbfd}.hosp-alert-icon{width:32px;height:32px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.hosp-alert-icon-emergency{color:#ef4444;background:#fee2e2}.hosp-alert-icon-rupee{color:#d97706;background:#fef3c7}.hosp-alert-icon-stock{color:#f59e0b;background:#fef3c7}.hosp-alert-icon-lab{color:#f97316;background:#ffedd5}.hosp-alert-icon-backup{color:#2563eb;background:#dbeafe}.hosp-alert-content{flex:1;min-width:0}.hosp-alert-content strong{font-size:.8rem;font-weight:800;color:#12344c;display:block}.hosp-alert-content p{font-size:.74rem;color:#6b8292;margin:.14rem 0 0;line-height:1.25}.hosp-alert-time{color:#94a3b8;font-size:.68rem;font-weight:700;white-space:nowrap;align-self:start;padding-top:.15rem}.hosp-alerts-focus{animation:hosp-alert-focus 1.2s ease}@keyframes hosp-alert-focus{0%,to{box-shadow:0 10px 28px #0f172a0f}35%{box-shadow:0 0 0 3px #2563eb2e,0 16px 34px #0f172a1f}}.hosp-rev-list{display:flex;flex-direction:column;gap:.42rem;margin-bottom:.6rem;min-width:0}.hosp-rev-row{display:flex;align-items:center;gap:.45rem;font-size:.82rem;min-width:0;overflow:hidden}.hosp-rev-icon{font-size:.9rem;flex-shrink:0}.hosp-rev-label{flex:1;color:#3a5a6e;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hosp-rev-value{font-weight:700;color:#0b2e42;flex-shrink:0;white-space:nowrap}.hosp-rev-total-row,.hosp-rev-due-row{display:flex;justify-content:space-between;align-items:center;padding-top:.4rem;font-size:.84rem;font-weight:700;color:#1a3d54;border-top:1px solid #e5eff5}.hosp-rev-due-row{border-top:none;margin-top:.15rem}.hosp-queue-layout{display:flex;align-items:center;gap:.8rem;min-width:0;width:100%;overflow:hidden}.hosp-mini-donut-wrap{flex-shrink:0;overflow:hidden}.hosp-queue-legend{display:flex;flex-direction:column;gap:.45rem;flex:1;min-width:0;overflow:hidden}.hosp-queue-leg-row{display:flex;align-items:center;gap:.4rem;font-size:.78rem;min-width:0;overflow:hidden}.hosp-queue-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;min-width:10px}.hosp-queue-leg-label{flex:1;font-weight:600;color:#1a3d54;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-word}.hosp-queue-leg-count{color:#4b7a90;font-weight:700;font-size:.75rem;flex-shrink:0;white-space:nowrap}.hosp-bed-layout{display:flex;align-items:center;gap:.8rem;min-width:0;width:100%;overflow:hidden}.hosp-gauge-wrap{flex-shrink:0;overflow:hidden}.hosp-bed-stats{flex:1;display:flex;flex-direction:column;gap:.4rem;min-width:0;overflow:hidden}.hosp-bed-stat-row{display:flex;justify-content:space-between;font-size:.8rem;color:#3a5a6e;padding:.25rem 0;border-bottom:1px solid #f0f7fb;min-width:0;overflow:hidden}.hosp-bed-stat-row:last-child{border-bottom:none}.hosp-bed-stat-row strong{font-weight:700;color:#0b2e42;flex-shrink:0;white-space:nowrap}.hosp-bed-stat-row.icu strong{color:#ef4444}.hosp-pay-list{display:flex;flex-direction:column;gap:.42rem;margin-bottom:.6rem;min-width:0}.hosp-pay-row{display:flex;align-items:center;gap:.45rem;font-size:.82rem;min-width:0;overflow:hidden}.hosp-pay-icon{font-size:.9rem;flex-shrink:0}.hosp-pay-label{flex:1;color:#3a5a6e;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hosp-pay-value{font-weight:700;color:#0b2e42;flex-shrink:0;white-space:nowrap}.hosp-pay-total-row{display:flex;justify-content:space-between;align-items:center;padding-top:.4rem;font-size:.84rem;font-weight:700;color:#1a3d54;border-top:1px solid #e5eff5}.hosp-ai-card{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:#bae6fd}.hosp-insights-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.hosp-insight-tile{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.7rem .75rem;background:#ffffffbf;border:1px solid #bae6fd;border-radius:12px}.hosp-insight-icon{font-size:1.3rem}.hosp-insight-tile p{margin:0;font-size:.78rem;color:#1a3d54;font-weight:600;line-height:1.4}@media (max-width: 1200px){.hosp-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}.hosp-row-3col{grid-template-columns:1fr}.hosp-row-4col{grid-template-columns:repeat(2,minmax(0,1fr))}.hosp-insights-row{grid-template-columns:repeat(3,minmax(0,1fr))}.hosp-queue-layout,.hosp-bed-layout{flex-direction:column;align-items:flex-start}}@media (max-width: 768px){.hosp-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}.hosp-row-4col,.hosp-insights-row{grid-template-columns:1fr}.hosp-queue-leg-label{white-space:normal;text-overflow:clip;word-break:break-word}.hosp-queue-leg-count{flex-shrink:0}}.lab-billing-page,.op-queue-page{color:#172554}.lab-page-header,.op-queue-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.compact-lab-header{justify-content:flex-start}.lab-header-icon,.op-queue-icon,.op-queue-brand{width:64px;height:64px;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:30px;background:linear-gradient(135deg,#0ea5e9,#2563eb);box-shadow:0 6px 14px #2563eb1f}.op-queue-icon{background:linear-gradient(135deg,#7c3aed,#a855f7)}.op-queue-brand{background:transparent;box-shadow:none;padding:0}.lab-page-header h2,.op-queue-header h2{margin:0;font-size:28px;font-weight:800;color:#0f172a}.lab-page-header p,.op-queue-header p{margin:5px 0 0;color:#475569;font-size:15px}.single-column-lab{display:block}.lab-card,.op-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 6px 18px #0f172a0a}.provided-services-card{padding:14px;max-width:920px}.lab-billing-page .provided-services-card{width:100%;max-width:none;box-sizing:border-box}.lab-billing-page .lab-layout,.lab-billing-page .lab-card{width:100%}.lab-services-card h3,.op-card h3{margin:0 0 12px;color:#0d6fe8;font-size:16px;font-weight:800}.lab-tabs{display:flex;gap:12px;margin-bottom:12px}.lab-tabs button{min-width:185px;padding:14px 20px;border:1px solid #dbeafe;background:#eff6ff;color:#0969da;border-radius:6px 6px 0 0;font-weight:800;cursor:pointer}.lab-tabs button.diagnostic{background:#faf5ff;border-color:#eadcff;color:#7e22ce}.lab-tabs button.active{border-bottom:3px solid #0d6fe8}.lab-tabs button.active.diagnostic{border-bottom-color:#9333ea}.lab-service-toolbar{display:grid;grid-template-columns:1.7fr 1fr 1fr auto;gap:10px;margin-bottom:14px}.lab-service-toolbar input,.lab-service-toolbar select,.lab-billing-table input{height:38px;font-size:13px}.lab-table-section{border:1px solid #dbeafe;border-radius:8px;overflow:hidden;margin-bottom:16px;background:#f8fbff}.lab-table-section.purple-section{background:#fdfaff;border-color:#eadcff}.lab-section-title{padding:10px 18px;background:#eaf4ff;color:#0d6fe8;font-weight:800}.purple-section .lab-section-title{background:#f5eefe;color:#7e22ce}.lab-billing-table,.op-queue-table{width:100%;border-collapse:collapse;font-size:13px}.lab-billing-table th,.lab-billing-table td,.op-queue-table th,.op-queue-table td{border-top:1px solid #e5edf7;padding:8px 10px;text-align:left;vertical-align:middle}.lab-billing-table th,.op-queue-table th{background:#f8fafc;color:#1e3a8a;font-weight:800;font-size:12px}.lab-billing-table td input{min-width:72px;height:30px;padding:4px 8px}.lab-service-amount{font-weight:700;color:#0f172a}.lab-delete-btn{border:0;background:transparent;color:#ef4444;cursor:pointer;font-size:14px}.lab-empty-row{text-align:center!important;color:#64748b;padding:22px!important;background:#fff}.lab-total-row{display:flex;justify-content:flex-end;gap:60px;align-items:center;padding:11px 18px;color:#0d6fe8;font-weight:800;background:#eef6ff}.lab-total-row.purple{color:#7e22ce;background:#fbf5ff}.add-custom-service{border:1px solid #93c5fd!important;color:#0d6fe8!important;background:#fff!important}.op-queue-title-wrap,.op-header-actions{display:flex;align-items:center;gap:14px}.op-header-actions{flex-wrap:wrap;justify-content:flex-end}.purple-action{background:linear-gradient(135deg,#7c3aed,#9333ea)!important;color:#fff!important}.green-action{background:#10b981!important;color:#fff!important}.yellow-action{background:#fbbf24!important;color:#111827!important}.op-queue-header-banner{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#6366f1,#4f46e5);padding:20px 24px;border-radius:12px;margin-bottom:20px;color:#fff;box-shadow:0 10px 25px #4f46e526}.op-queue-banner-left{display:flex;align-items:center;gap:16px}.op-queue-banner-icon-bg{background:#fff3;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center}.op-queue-banner-icon{font-size:24px}.op-queue-banner-text h2{font-size:22px;font-weight:800;color:#fff;margin:0 0 4px}.op-queue-banner-text p{font-size:14px;color:#ffffffd9;margin:0}.op-queue-banner-right{display:flex;gap:12px}.op-queue-banner-right button{min-height:40px;font-weight:700;padding:0 16px;border-radius:8px}.op-queue-banner-right .purple-action{background:#fff;color:#4f46e5;border-color:transparent}.op-queue-banner-right .purple-action:hover{background:#f5f3ff}.op-queue-banner-right .white-action{background:#ffffff1a;color:#fff;border-color:#fff3}.op-queue-banner-right .white-action:hover{background:#fff3}.op-queue-banner-right .green-action{background:#10b981;color:#fff;border-color:transparent}.op-queue-banner-right .green-action:hover{background:#059669}.queue-filters-card-full{padding:20px;margin-bottom:20px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000000d;border:1px solid #f1f5f9}.op-filter-grid-4col{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 20px}.op-filter-grid-4col label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;color:#475569}.op-filter-grid-4col .ui-select,.op-filter-grid-4col .ui-input{height:42px;min-height:42px;border-radius:8px;border:1px solid #cbd5e1;font-size:14px}.search-with-clear-btn{display:flex;gap:8px}.filter-clear-btn{background:transparent;border:2px solid #3b82f6;color:#2563eb;border-radius:12px;padding:8px 20px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;font-weight:600;transition:background-color .15s,color .15s,border-color .15s}.filter-clear-btn:hover{background-color:#3b82f60f;border-color:#60a5fa;color:#1e40af}.kpi-cards-row{display:grid;grid-template-columns:repeat(8,1fr);gap:16px;margin-bottom:24px}.kpi-cards-row .kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;box-shadow:0 4px 15px #00000005;display:flex;flex-direction:column;justify-content:space-between;min-height:100px;transition:all .2s ease}.kpi-cards-row .kpi-card.clickable{cursor:pointer}.kpi-cards-row .kpi-card.clickable:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.kpi-card-top{display:flex;align-items:center;gap:10px}.kpi-cards-row .kpi-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px}.kpi-cards-row .kpi-label{font-size:13px;font-weight:700;color:#64748b}.kpi-cards-row .kpi-value{font-size:28px;font-weight:800;color:#1e293b;margin-top:12px}.kpi-card.kpi-tokens{border-left:4px solid #6366f1}.kpi-card.kpi-tokens .kpi-icon{background:#e0e7ff;color:#4338ca}.kpi-card.kpi-waiting{border-left:4px solid #f97316}.kpi-card.kpi-waiting .kpi-icon{background:#ffedd5;color:#c2410c}.kpi-card.kpi-consult{border-left:4px solid #8b5cf6}.kpi-card.kpi-consult .kpi-icon{background:#f5f3ff;color:#6d28d9}.kpi-card.kpi-completed{border-left:4px solid #10b981}.kpi-card.kpi-completed .kpi-icon{background:#d1fae5;color:#047857}.kpi-card.kpi-upcoming{border-left:4px solid #06b6d4}.kpi-card.kpi-upcoming .kpi-icon{background:#ecfeff;color:#0891b2}.kpi-card.kpi-doctors{border-left:4px solid #3b82f6}.kpi-card.kpi-doctors .kpi-icon{background:#dbeafe;color:#1d4ed8}.kpi-card.kpi-followups{border-left:4px solid #059669}.kpi-card.kpi-followups .kpi-icon{background:#e6f4ea;color:#0f766e}.kpi-card.kpi-active{border-left:4px solid #ef4444}.kpi-card.kpi-active .kpi-icon{background:#fee2e2;color:#b91c1c}.queue-board-card{padding:20px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000000d;border:1px solid #f1f5f9}.queue-board-header-grid{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.queue-board-header-grid h3{font-size:18px;font-weight:800;color:#0f172a}.queue-board-header-grid p{font-size:13px;color:#64748b}.queue-board-header-grid button.teal-action{background:#f0fdfa;color:#0f766e;border:1px solid #ccfbf1}.queue-board-header-grid button.teal-action:hover{background:#ccfbf1}.queue-board{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:start}.queue-board-column{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px;min-height:450px}.queue-board-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;margin-bottom:12px;border-bottom:2px solid #e2e8f0}.queue-board-header span{font-size:14px;font-weight:800;color:#475569}.queue-board-header strong{font-size:14px;background:#cbd5e1;color:#334155;padding:2px 8px;border-radius:20px}.queue-board-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px;margin-bottom:12px;cursor:pointer;transition:all .15s}.queue-board-item:hover,.queue-board-item.selected{border-color:#6366f1;box-shadow:0 4px 12px #6366f114}.queue-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.queue-token{display:flex;align-items:center;gap:6px}.queue-token strong{font-size:14px;color:#1e293b}.visit-type-badge{font-size:10px;font-weight:700;background:#f1f5f9;color:#475569;padding:2px 6px;border-radius:4px}.queue-wait{font-size:11px;color:#64748b}.queue-wait strong{color:#334155}.queue-board-item-name{font-size:15px;font-weight:800;color:#0f172a;margin-bottom:10px}.queue-board-item-details{display:grid;grid-template-columns:repeat(2,1fr);gap:6px 10px;font-size:12px;margin-bottom:12px;border-bottom:1px dashed #e2e8f0;padding-bottom:10px}.queue-board-item-details div{display:flex;flex-direction:column}.queue-board-item-details small{color:#94a3b8;font-weight:600;margin-bottom:1px}.queue-board-item-details b{color:#334155}.queue-card-actions{display:flex;flex-wrap:wrap;gap:6px}.queue-card-actions button{padding:4px 8px;font-size:11px;font-weight:700;border-radius:6px;border:1px solid transparent;cursor:pointer}.queue-card-actions .action-start{background:#ecfdf5;color:#059669;border-color:#d1fae5}.queue-card-actions .action-start:hover{background:#d1fae5}.queue-card-actions .action-hold{background:#fff7ed;color:#ea580c;border-color:#ffedd5}.queue-card-actions .action-hold:hover{background:#ffedd5}.queue-card-actions .action-transfer{background:#faf5ff;color:#7c3aed;border-color:#f3e8ff}.queue-card-actions .action-transfer:hover{background:#f3e8ff}.queue-card-actions .action-cancel{background:#fff1f2;color:#e11d48;border-color:#ffe4e6}.queue-card-actions .action-cancel:hover{background:#ffe4e6}.queue-card-actions .action-print,.queue-card-actions .action-open,.queue-card-actions .action-load,.queue-card-actions .action-view{background:#f8fafc;color:#475569;border-color:#cbd5e1}.queue-card-actions .action-print:hover,.queue-card-actions .action-open:hover,.queue-card-actions .action-load:hover,.queue-card-actions .action-view:hover{background:#e2e8f0}.queue-card-actions .action-complete{background:#eff6ff;color:#2563eb;border-color:#dbeafe}.queue-card-actions .action-complete:hover{background:#dbeafe}.queue-card-actions .action-invoice{background:#fffbeb;color:#d97706;border-color:#fef3c7}.queue-card-actions .action-invoice:hover{background:#fef3c7}.patient-details-card{padding:20px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000000d;border:1px solid #f1f5f9}.patient-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.patient-detail-header h3{font-size:18px;font-weight:800;color:#0f172a}.selected-patient-subtitle{font-size:14px;font-weight:700;color:#6366f1;margin-top:4px}.patient-detail-actions{display:flex;gap:10px}.patient-detail-actions button.white-action{background:#fff;color:#475569;border:1px solid #cbd5e1}.patient-detail-actions button.white-action:hover{background:#f1f5f9}.patient-detail-actions button.yellow-action{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.patient-detail-actions button.yellow-action:hover{background:#ffedd5}.patient-summary-panel-premium{display:flex;gap:20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px;margin-bottom:20px}.patient-avatar-premium{width:56px;height:56px;border-radius:50%;background:#ccfbf1;color:#0f766e;display:flex;align-items:center;justify-content:center;font-size:24px}.patient-detail-grid-premium{display:grid;grid-template-columns:repeat(2,90px 1fr);gap:10px 16px;flex:1;font-size:13px}.patient-detail-grid-premium span{color:#64748b;font-weight:700}.patient-detail-grid-premium b{color:#1e293b}.clinical-panel-premium{border:1px solid #e2e8f0;border-radius:10px;padding:16px;background:#fff}.clinical-panel-premium h4{font-size:15px;font-weight:800;color:#475569;margin-bottom:16px}.queue-action-grid-premium{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.queue-action-btn{display:flex;justify-content:space-between;align-items:center;padding:16px;border-radius:10px;border:1px solid transparent;background:#fff;cursor:pointer;text-align:left;transition:all .15s}.queue-action-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.btn-icon-label-wrap{display:flex;align-items:center;gap:12px}.btn-large-icon{font-size:24px}.btn-texts{display:flex;flex-direction:column}.btn-texts strong{font-size:14px;font-weight:800}.btn-texts small{font-size:11px}.btn-arrow{font-size:20px;font-weight:700}.green-btn{background:#ecfdf5;border-color:#d1fae5;color:#065f46}.green-btn:hover{background:#d1fae5}.teal-btn{background:#f0fdfa;border-color:#ccfbf1;color:#115e59}.teal-btn:hover{background:#ccfbf1}.purple-btn{background:#faf5ff;border-color:#f3e8ff;color:#5b21b6}.purple-btn:hover{background:#f3e8ff}.red-btn{background:#fff1f2;border-color:#ffe4e6;color:#9f1239}.red-btn:hover{background:#ffe4e6}.queue-note{background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;padding:14px 18px;color:#2563eb;margin-top:20px}.billing-collection-cards{margin:0 0 16px}.billing-payment-stack{display:grid;gap:14px}.billing-payment-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.billing-payment-actions{align-items:center}.billing-payment-form-grid>.ui-label:nth-of-type(4),.billing-payment-form-grid>.ui-label:nth-of-type(8),.billing-payment-form-grid>.ui-label:nth-of-type(9),.billing-payment-actions .ui-button.secondary{display:none}.billing-dashboard-snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.billing-payment-full-width{grid-template-columns:1fr}.billing-payment-summary-panel{width:100%}.billing-revenue-calendar{display:grid;grid-template-columns:auto minmax(180px,240px) repeat(2,minmax(180px,1fr));gap:12px;align-items:end;margin:0 0 14px}.billing-revenue-toggle{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.billing-revenue-period-card{border:1px solid #dbeafe;border-radius:8px;padding:11px 12px;background:#f8fbff;min-width:0}.billing-revenue-period-card span{display:block;color:#2563eb;font-size:11px;font-weight:900;text-transform:uppercase}.billing-revenue-period-card strong{display:block;margin-top:5px;color:#0f172a;font-size:19px;line-height:1.2}.billing-revenue-period-card small{display:block;margin-top:4px;color:#64748b;font-size:11px;font-weight:700}.billing-revenue-period-card.due{background:#fff7ed;border-color:#fed7aa}.billing-revenue-period-card.due span{color:#c2410c}.reports-revenue-top-grid{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(0,1.55fr);gap:16px;align-items:stretch;margin-bottom:16px}.reports-dashboard-snapshot-card{margin-bottom:0;border-color:#dbeafe;background:linear-gradient(180deg,#fff,#f8fbff)}.reports-card-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.reports-card-title-row h3{margin:0;color:#0f172a}.reports-card-pill{border:1px solid #bfdbfe;border-radius:999px;padding:4px 10px;color:#2563eb;background:#eff6ff;font-size:12px;font-weight:800;white-space:nowrap}.reports-rev-row-card{border:1px solid #e5eff5;border-radius:10px;padding:.58rem .68rem;background:#fff}.reports-revenue-hero{margin-bottom:16px;border-color:#dbeafe;background:linear-gradient(180deg,#f8fbff,#fff)}.reports-revenue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.reports-revenue-card{border:1px solid #dbeafe;border-radius:8px;padding:16px;background:#fff}.reports-revenue-card span{color:#2563eb;font-size:12px;font-weight:800;text-transform:uppercase}.reports-revenue-card strong{display:block;margin-top:8px;color:#0f172a;font-size:24px}.reports-revenue-card p{margin:8px 0 0;color:#64748b;font-size:13px;line-height:1.45}.hosp-revenue-pop-modal{max-width:760px}.hosp-revenue-pop-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.hosp-revenue-pop-summary>div{border:1px solid #dbeafe;border-radius:8px;padding:14px;background:#f8fbff}.hosp-revenue-pop-summary span{color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.hosp-revenue-pop-summary strong{display:block;margin-top:7px;color:#0f172a;font-size:21px}.hosp-revenue-pop-table{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.hosp-revenue-pop-head,.hosp-revenue-pop-row{display:grid;grid-template-columns:1fr auto;gap:16px;padding:12px 14px;align-items:center}.hosp-revenue-pop-head{background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900;text-transform:uppercase}.hosp-revenue-pop-row{border-top:1px solid #e2e8f0;color:#334155}.hosp-revenue-pop-row strong{color:#0f172a}.hosp-revenue-pop-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.readmit-results-table .table-head,.readmit-results-table .table-row{grid-template-columns:minmax(180px,1.35fr) minmax(170px,1.15fr) minmax(58px,.42fr) minmax(82px,.6fr) minmax(120px,.85fr) minmax(190px,1.2fr) minmax(120px,.72fr);align-items:center}.readmit-results-table .table-row>span,.readmit-results-table .table-head>span{min-width:0;white-space:nowrap}.readmit-results-table .row-actions{display:flex;align-items:center;justify-content:flex-start}@media (max-width: 1100px){.lab-service-toolbar,.op-filter-grid,.op-main-grid,.queue-filters-card{grid-template-columns:1fr}.queue-action-grid,.queue-tabs{grid-template-columns:1fr 1fr}.reports-revenue-top-grid,.reports-revenue-grid,.hosp-revenue-pop-summary,.billing-dashboard-snapshot{grid-template-columns:1fr}.billing-payment-form-grid,.billing-revenue-calendar,.patient-detail-grid{grid-template-columns:1fr 1fr}.op-search-label{grid-column:auto}}.patient-registration-module{display:grid;gap:1.35rem}.patient-registration-card{border-radius:18px;border:1px solid rgba(15,23,42,.13);box-shadow:0 12px 32px #0f172a0f;background:#fff}.exact-patient-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem 1.35rem}.exact-patient-form .ui-input,.exact-patient-form .ui-select,.exact-patient-form .ui-textarea,.appointment-grid-form .ui-input,.appointment-grid-form .ui-select,.appointment-grid-form .ui-textarea{min-height:48px;border-radius:10px;background:#fff}.exact-patient-form .ui-label,.appointment-grid-form .ui-label{font-weight:700;color:#17233c}.span-3{grid-column:span 3}.patient-actions-bottom{justify-content:flex-end;padding-top:.6rem}.appointment-shell{display:grid;gap:1rem}.appointment-title-bar{padding:1rem 1.1rem;border:1px solid rgba(15,23,42,.13);border-radius:16px;background:#f8fafc;font-weight:800;color:#111827;font-size:1.05rem}.appointment-card h3,.patient-registration-card h3{margin-top:0;color:#111827;font-size:1.12rem}.appointment-grid-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem .9rem}.appointment-actions{align-items:center;gap:.65rem}@media (max-width: 1260px){.exact-patient-form{grid-template-columns:repeat(2,minmax(0,1fr))}.span-3{grid-column:span 2}}@media (max-width: 760px){.exact-patient-form,.appointment-grid-form{grid-template-columns:1fr}.span-2,.span-3{grid-column:span 1}}.hosp-dashboard-top{padding:.2rem 0 .55rem}.hosp-dashboard-page-title{font-size:1.45rem;letter-spacing:-.02em}.hosp-dashboard-page-subtitle{margin-top:.35rem;font-size:.86rem;color:#587086}.hosp-dashboard-top-actions{gap:.55rem}.hosp-dashboard-pill,.hosp-dashboard-icon-btn{min-height:38px;padding:.5rem .85rem;border:1px solid #eef3f8;box-shadow:0 6px 18px #0f172a0f;font-size:.78rem;background:#fff}.hosp-dashboard-date-pill{padding-left:.75rem;padding-right:.85rem}.hosp-dashboard-calendar-wrap{position:relative;display:inline-flex}.hosp-dashboard-date-pill.active{border-color:#b7d8e6;box-shadow:0 8px 22px #0891b224}.hosp-dashboard-calendar-popover{position:absolute;top:calc(100% + .55rem);right:0;z-index:30;width:min(460px,calc(100vw - 2rem));padding:1.05rem;border:1px solid #e8eef4;border-radius:22px;background:#fff;box-shadow:0 22px 54px #0f172a29}.hosp-dashboard-calendar-popover:before{content:"";position:absolute;top:-7px;right:28px;width:12px;height:12px;border-left:1px solid #d8e8f1;border-top:1px solid #d8e8f1;background:#fff;transform:rotate(45deg)}.hosp-dashboard-calendar-selected{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:52px;margin-bottom:1rem;padding:.75rem .9rem;border-radius:18px;background:#f8fafc;color:#2b2f36;font-size:1.05rem;box-shadow:inset 0 0 0 1px #edf2f7}.hosp-dashboard-calendar-selected span{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:#14a6d3;color:#fff;box-shadow:0 8px 18px #14a6d347}.hosp-dashboard-calendar-selects{display:grid;grid-template-columns:1.3fr 1fr;gap:.75rem;margin-bottom:1rem}.hosp-dashboard-calendar-selects select{width:100%;min-height:48px;border:1px solid #e5edf3;border-radius:12px;background:#f7f7f7;color:#2b2f36;font-size:.95rem;font-weight:800;padding:0 .85rem;outline:none}.hosp-dashboard-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem .4rem;text-align:center}.hosp-dashboard-calendar-grid .calendar-weekday{color:#2f3742;font-size:.72rem;font-weight:900;padding:.45rem 0}.hosp-dashboard-calendar-grid button{width:100%;aspect-ratio:1;border:0;border-radius:999px;background:transparent;color:#2b2f36;font-size:.82rem;font-weight:850;cursor:pointer}.hosp-dashboard-calendar-grid button.muted{color:#c0c6cc}.hosp-dashboard-calendar-grid button.selected{background:#14a6d3;color:#fff;box-shadow:0 8px 18px #14a6d347}.hosp-dashboard-calendar-grid button:hover:not(.selected){background:#eef8fc}.hosp-dashboard-calendar-actions{display:flex;justify-content:space-between;gap:.75rem;margin-top:1rem}.hosp-dashboard-calendar-actions button{border:0;border-radius:12px;background:transparent;color:#8a929b;font-size:.9rem;font-weight:800;padding:.7rem .65rem;cursor:pointer}.hosp-dashboard-calendar-actions button:last-child{color:#14a6d3}.hosp-dashboard-action-icon{font-size:.82rem;line-height:1}.hosp-dashboard-notification-btn{position:relative;min-height:38px;display:inline-flex;align-items:center;gap:.28rem;padding:.48rem .78rem;border:1px solid #eef3f8;border-radius:9999px;background:#fff;box-shadow:0 6px 18px #0f172a0f;cursor:pointer}.hosp-dashboard-alert-icon{font-size:.95rem;line-height:1}.hosp-dashboard-notification-btn .hosp-dashboard-badge{position:absolute;top:-.28rem;right:-.18rem;min-width:1.1rem;height:1.1rem;font-size:.65rem;border:2px solid #fff;padding:0 .25rem}.hosp-dashboard-user{min-height:44px;padding:.35rem .75rem .35rem .45rem;border-color:#eef3f8;background:#fff;box-shadow:0 8px 22px #0f172a12}.hosp-dashboard-avatar{width:35px;height:35px;font-size:.8rem;background:#0f172a}.hosp-dashboard-user-name{font-size:.78rem;line-height:1.05}.hosp-dashboard-user-role{margin-top:.12rem;font-size:.63rem}.hosp-dashboard-user-caret{margin-left:.05rem;color:#94a3b8;font-size:.9rem}.hosp-dashboard-profile-wrap{position:relative;display:inline-flex}.hosp-dashboard-profile-menu{position:absolute;top:calc(100% + .55rem);right:0;z-index:35;min-width:168px;padding:.45rem;border:1px solid #d8e8f1;border-radius:14px;background:#fff;box-shadow:0 18px 44px #0f172a24;display:grid;gap:.25rem}.hosp-dashboard-profile-menu button{width:100%;border:0;border-radius:10px;background:transparent;color:#0f172a;cursor:pointer;font:inherit;font-size:.82rem;font-weight:800;padding:.62rem .75rem;text-align:left}.hosp-dashboard-profile-menu button:hover:not(:disabled){background:#eef7fb}.hosp-dashboard-profile-menu button.danger{color:#a8263a}.hosp-dashboard-profile-menu button:disabled{cursor:not-allowed;opacity:.45}.hosp-clickable-card,.hosp-table-click,.hosp-dashboard-user,.hosp-dashboard-notification-btn{border:0;font:inherit;text-align:left;cursor:pointer}.hosp-clickable-card:hover,.hosp-table-click:hover,.hosp-dashboard-user:hover,.hosp-dashboard-notification-btn:hover{transform:translateY(-1px);filter:brightness(.99)}.hosp-clickable-card:focus-visible,.hosp-table-click:focus-visible,.hosp-dashboard-user:focus-visible,.hosp-dashboard-notification-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.hosp-ops-row.hosp-table-click,.hosp-rev-row.hosp-table-click,.hosp-pay-row.hosp-table-click,.hosp-alert.hosp-table-click{width:100%;background:transparent}.share-modal{max-width:480px}.share-modal-container{display:flex;flex-direction:column;gap:1.25rem;padding:.5rem 0}.share-link-group{display:flex;flex-direction:column;gap:.45rem}.share-label{font-size:.78rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em}.share-link-input-wrapper{display:flex;gap:.5rem}.share-link-input{flex:1;min-width:0;padding:.65rem .85rem;font-size:.82rem;font-family:inherit;color:#334155;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;outline:none;transition:border-color .15s ease}.share-link-input:focus{border-color:#0b86a2;background-color:#fff}.share-copy-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.65rem 1rem;font-size:.82rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#0b86a2,#0891b2);border:0;border-radius:8px;cursor:pointer;transition:transform .12s ease,filter .12s ease,background .2s ease}.share-copy-btn:hover{filter:brightness(1.06)}.share-copy-btn.copied{background:linear-gradient(135deg,#10b981,#059669)}.share-copy-btn:active{transform:scale(.97)}.share-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.share-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;padding:1.1rem;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;text-decoration:none;color:#1e293b;cursor:pointer;box-shadow:0 2px 5px #00000005;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.share-tile:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d;border-color:#cbd5e1}.share-tile:active{transform:translateY(0)}.share-tile-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff}.share-tile-name{font-size:.8rem;font-weight:600}.share-tile-email .share-tile-icon{background:linear-gradient(135deg,#2563eb,#1d4ed8)}.share-tile-email:hover{border-color:#2563eb}.share-tile-gmail .share-tile-icon{background:linear-gradient(135deg,#ea4335,#dc2626)}.share-tile-gmail:hover{border-color:#ea4335}.share-tile-whatsapp .share-tile-icon{background:linear-gradient(135deg,#25d366,#128c7e)}.share-tile-whatsapp:hover{border-color:#25d366}.share-tile-teams .share-tile-icon{background:linear-gradient(135deg,#6264a7,#464775)}.share-tile-teams:hover{border-color:#6264a7}.share-tile-telegram .share-tile-icon{background:linear-gradient(135deg,#08c,#0077b5)}.share-tile-telegram:hover{border-color:#08c}.share-tile-system .share-tile-icon{background:linear-gradient(135deg,#64748b,#475569)}.share-tile-system:hover{border-color:#64748b}.share-tile-download .share-tile-icon{background:linear-gradient(135deg,#0f172a,#334155)}.share-tile-download:hover{border-color:#0f172a}.lab-section-header{margin:18px 0 12px;color:#0d6fe8;font-size:16px;font-weight:800;border-bottom:2px solid #e0eef7;padding-bottom:8px}.lab-patient-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 16px;margin-bottom:18px}.lab-field{display:flex;flex-direction:column;gap:6px}.lab-field label{font-size:12px;font-weight:800;color:#334155;margin:0;display:block}.lab-field label:after{content:""}.lab-field input,.lab-field select{height:40px;padding:8px 12px;border:1px solid #dbeafe;border-radius:6px;font-size:13px;background:#fff;color:#0f172a}.lab-field input:focus,.lab-field select:focus{outline:none;border-color:#0d6fe8;box-shadow:0 0 0 3px #0d6fe81a}.lab-bill-summary{background:#f8fbff;border:1px solid #dbeafe;border-radius:8px;padding:16px;margin-bottom:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid #e0eef7;color:#334155;font-size:13px;font-weight:700}.summary-row span{color:#334155}.summary-row strong{color:#0d6fe8;font-weight:800}.summary-row.summary-total{background:#e0eef7;border-radius:6px;border:none;grid-column:span 2;padding:12px 14px;font-size:14px}.summary-row.summary-total strong{color:#2563eb;font-size:16px}.summary-row.summary-paid{background:#dbeafe;border-radius:6px;border:none;padding:12px 14px}.summary-row.summary-paid strong{color:#2563eb}.summary-row.summary-balance{background:#fef08a;border-radius:6px;border:none;padding:12px 14px}.summary-row.summary-balance strong{color:#ca8a04}.summary-row.summary-change{background:#dcfce7;border-radius:6px;border:none;padding:12px 14px}.summary-row.summary-change strong{color:#15803d}.lab-action-buttons{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap;padding:14px;background:#f0f7ff;border-radius:8px}.lab-action-buttons button{padding:12px 16px;border-radius:6px;font-weight:800;cursor:pointer;border:none;font-size:13px;transition:all .2s ease;min-width:120px}.btn-generate{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.btn-generate:hover:not(:disabled){box-shadow:0 6px 14px #10b9814d;transform:translateY(-1px)}.btn-save-print{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.btn-save-print:hover:not(:disabled){box-shadow:0 6px 14px #2563eb4d;transform:translateY(-1px)}.btn-print{background:#e0e7ff;color:#4f46e5;border:1px solid #c7d2fe}.btn-print:hover:not(:disabled){background:#c7d2fe}.btn-email{background:#f5e6ff;color:#7e22ce;border:1px solid #ddd6fe}.btn-email:hover:not(:disabled){background:#ddd6fe}.btn-reset{background:#f3f4f6;color:#6b7280;border:1px solid #e5e7eb}.btn-reset:hover:not(:disabled){background:#e5e7eb}.lab-action-buttons button:disabled{opacity:.6;cursor:not-allowed}.status-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:11px;font-weight:800;text-transform:uppercase}.status-badge.status-paid{background:#dcfce7;color:#15803d;border:1px solid #86efac}.status-badge.status-partial{background:#fef3c7;color:#b45309;border:1px solid #fcd34d}.status-badge.status-due{background:#fee2e2;color:#b91c1c;border:1px solid #fca5a5}@media (max-width: 1200px){.lab-patient-grid{grid-template-columns:repeat(3,1fr)}.lab-bill-summary{grid-template-columns:1fr}.summary-row.summary-total,.summary-row.summary-paid,.summary-row.summary-balance{grid-column:span 1}}@media (max-width: 768px){.lab-patient-grid{grid-template-columns:repeat(2,1fr)}.lab-action-buttons{flex-direction:column}.lab-action-buttons button{min-width:100%}}.op-perfect-schedule-form,.module-form-grid.module-sales-grid{align-items:end}.op-payment-card-field{grid-column:1 / -1;min-width:0;width:100%}.op-payment-label{display:block;margin-bottom:8px;color:#475569;font-size:12px;font-weight:700}.sr-only-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.op-payment-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px;width:100%}.op-payment-card{min-height:74px;width:100%;padding:12px;border:1px solid #dbeafe;border-radius:16px;background:#fff;color:#0f172a;text-align:left;box-shadow:0 8px 20px #0f172a0f;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.op-payment-card strong,.op-payment-card span{display:block}.op-payment-card strong{font-size:13px;margin-bottom:4px}.op-payment-card span{color:#64748b;font-size:11px;line-height:1.35}.op-payment-card:hover:not(:disabled),.op-payment-card.selected{border-color:#0f766e;box-shadow:0 12px 24px #0f766e24;transform:translateY(-1px)}.op-payment-card.selected{background:#ecfdf5}.op-payment-card:disabled{cursor:not-allowed;opacity:.65}.op-time-field,.op-date-time-field,.appointment-time-with-period{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;width:100%}.op-time-field span,.op-date-time-field span,.appointment-time-with-period span{min-width:54px;padding:9px 10px;border:1px solid #dbeafe;border-radius:12px;background:#f8fafc;color:#0f766e;font-size:12px;font-weight:800;text-align:center;white-space:nowrap}.module-inline-note{align-self:center;margin:0;padding:9px 10px;border:1px solid #dbeafe;border-radius:12px;background:#f8fafc}@media (max-width: 760px){.op-payment-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.op-time-field,.op-date-time-field,.appointment-time-with-period{grid-template-columns:1fr}.op-time-field span,.op-date-time-field span,.appointment-time-with-period span{width:100%}}.op-visit-clean-form{grid-template-columns:repeat(4,minmax(138px,1fr));gap:12px}.op-visit-clean-form>input,.op-visit-clean-form>select,.op-visit-clean-form .op-date-time-field{min-width:0;width:100%}.op-visit-clean-form .op-payment-card-field{grid-column:1 / -1}.op-action-row{grid-column:1 / -1;display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;margin-top:2px}.op-action-row .btn,.op-action-row button{min-width:120px;white-space:normal;line-height:1.25}.op-payment-card-grid{grid-template-columns:repeat(4,minmax(130px,1fr))}.op-payment-card{min-width:0;overflow:hidden}.op-payment-card span,.op-payment-card strong{overflow-wrap:anywhere}.module-table-op{margin-top:14px}.op-perfect-schedule-form{grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px}.op-perfect-schedule-form .op-time-field{min-width:0}.hosp-dashboard,.hosp-dashboard-top,.hosp-dashboard-top-actions,.hosp-dashboard-calendar-wrap,.hosp-dashboard-profile-wrap{overflow:visible}.hosp-dashboard-top{position:relative;z-index:80}.hosp-dashboard-calendar-popover{z-index:9999}.hosp-dashboard-profile-menu{z-index:10000}.appointment-grid-form .appointment-time-with-period{margin-top:4px}.appointment-actions{flex-wrap:wrap;align-items:center;gap:10px}.appointment-actions button{min-width:150px;white-space:normal;line-height:1.25}@media (max-width: 1100px){.op-visit-clean-form,.op-perfect-schedule-form,.op-payment-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 680px){.op-visit-clean-form,.op-perfect-schedule-form,.op-payment-card-grid{grid-template-columns:1fr}}.op-desk-stack{display:grid;grid-template-columns:1fr;gap:18px;width:100%}.op-desk-stack .panel{width:100%;min-width:0;overflow:visible}.op-desk-stack .op-visit-clean-form{grid-template-columns:repeat(4,minmax(160px,1fr));align-items:end}.op-desk-stack .op-visit-clean-form .module-inline-note{grid-column:1 / -1}.op-desk-stack .op-date-time-field{grid-column:span 1}.op-desk-stack .op-payment-card-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.op-desk-stack .op-action-row .btn,.op-desk-stack .op-action-row button{min-width:150px;min-height:44px}.op-desk-stack .module-table-op td:last-child,.op-desk-stack .module-table-op th:last-child{min-width:160px}.op-desk-stack .module-table-op .module-inline-actions{align-items:stretch;gap:8px}.op-desk-stack .module-table-op .module-inline-actions button{min-width:112px;min-height:38px}@media (max-width: 980px){.op-desk-stack .op-visit-clean-form,.op-desk-stack .op-payment-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.op-desk-stack .op-visit-clean-form,.op-desk-stack .op-payment-card-grid{grid-template-columns:1fr}}.brand-logo-img,.brand-logo-fallback{flex:0 0 auto;display:inline-flex;width:64px;height:64px;align-items:center;justify-content:center;object-fit:contain;object-position:center}.brand-logo-fallback{overflow:visible;border-radius:0;background:transparent}.brand-logo-fallback svg{width:100%;height:100%;display:block}.sidebar .brand-logo-img,.sidebar .brand-logo-fallback{width:220px!important;height:auto!important;max-height:75px!important}.hosp-patient-pop-modal,.hosp-patient-detail-modal{max-width:860px;width:min(92vw,860px)}.hosp-patient-pop-list{display:grid;gap:12px;max-height:62vh;overflow:auto;padding-right:4px}.hosp-patient-pop-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px;border:1px solid #dbeafe;border-radius:16px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 8px 24px #0f3f5c0f}.hosp-patient-pop-row strong{color:#12344c;font-size:.98rem}.hosp-patient-pop-row p{margin:4px 0 0;color:#60758a;font-size:.82rem}.hosp-empty-pop{display:grid;justify-items:center;gap:10px;padding:34px 20px;text-align:center;border:1px dashed #bfdbfe;border-radius:18px;background:#f8fbff}.hosp-empty-pop p{margin:0 0 4px;color:#60758a}.hosp-patient-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hosp-patient-detail-item{padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.hosp-patient-detail-item span{display:block;color:#64748b;font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}.hosp-patient-detail-item strong{color:#0f2f46;font-size:.92rem;overflow-wrap:anywhere}.hosp-patient-detail-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px;margin-top:4px}@media (max-width: 720px){.hosp-patient-pop-row,.hosp-patient-detail-grid{grid-template-columns:1fr}.hosp-patient-detail-actions{justify-content:stretch;flex-direction:column}}.module-chip-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.module-chip{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--border, #c8dbea);border-radius:999px;background:#ffffffb8;color:#0f4060;font-weight:700}.revenue-reports-page .module-panel-head{margin-bottom:.45rem}.revenue-reports-title h3{margin:0 0 .3rem;font-size:1.25rem;color:#062237}.revenue-reports-subhead{margin:0 0 1.05rem}.revenue-reports-subhead h3{margin:0 0 .35rem;font-size:.95rem;color:#062237}.reports-snapshot-card-exact{width:100%;margin:0 0 1rem;padding:1.3rem 1.5rem 1.45rem;background:#fff;border:1px solid #cfe0ea;border-radius:10px;box-shadow:0 12px 26px #0f172a0f}.reports-snapshot-card-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}.reports-snapshot-card-head h3{margin:0;font-size:.92rem;color:#031d31}.reports-snapshot-card-head span{color:#0284c7;font-size:.75rem;font-weight:800}.reports-snapshot-row-exact{font-size:.88rem;margin-bottom:.08rem}.reports-snapshot-card-exact .hosp-rev-list{gap:.55rem;margin-bottom:.78rem}.reports-snapshot-card-exact .hosp-rev-total-row{border-top:1px solid #dbe8ef;margin-top:.65rem;padding-top:.65rem}.reports-snapshot-card-exact .hosp-rev-total-row,.reports-snapshot-card-exact .hosp-rev-due-row{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;font-weight:900;color:#00243d;padding-bottom:.35rem}.revenue-report-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:.9rem}.revenue-report-calendar-card{display:grid;grid-template-columns:minmax(220px,280px) repeat(2,minmax(160px,1fr));gap:.9rem;align-items:end;margin-bottom:.9rem;border-radius:10px}.revenue-report-calendar-card>div{border:1px solid #dbeafe;border-radius:8px;padding:.75rem .85rem;background:#f8fbff}.revenue-report-calendar-card span{display:block;color:#2563eb;font-size:.68rem;font-weight:900;text-transform:uppercase}.revenue-report-calendar-card strong{display:block;margin-top:.32rem;color:#0f172a;font-size:1.05rem}.revenue-module-chart-card{padding:1rem;border-radius:10px}.revenue-module-bars{display:grid;gap:.7rem}.revenue-module-bar-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:.8rem;font-size:.72rem;color:#0f172a}.revenue-module-bar-row strong{font-size:.7rem;color:#0f172a}.revenue-module-bar-track{height:8px;background:#e6f5f7;border-radius:999px;overflow:hidden}.revenue-module-bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#0ea5a4,#2563eb)}.payment-method-fill{background:linear-gradient(90deg,#16a34a,#0891b2)}.revenue-doctor-payout-card{padding:1rem;border-radius:10px}.doctor-payout-report-list{display:grid;gap:.65rem}.doctor-payout-report-row{display:grid;grid-template-columns:minmax(170px,1.45fr) repeat(3,minmax(120px,.7fr));gap:.8rem;align-items:center;padding:.78rem .9rem;border:1px solid #dbeafe;border-radius:8px;background:#fff}.doctor-payout-report-row div{min-width:0}.doctor-payout-report-row span{display:block;color:#64748b;font-size:.68rem;font-weight:800;text-transform:uppercase}.doctor-payout-report-row strong{display:block;color:#0f172a;font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 900px){.revenue-report-summary-grid,.revenue-report-calendar-card{grid-template-columns:repeat(2,minmax(0,1fr))}.doctor-payout-report-row{grid-template-columns:1fr 1fr}}@media (max-width: 560px){.revenue-report-summary-grid,.revenue-report-calendar-card,.revenue-module-bar-row,.doctor-payout-report-row,.billing-payment-form-grid,.billing-revenue-calendar{grid-template-columns:1fr}}.sidebar .brand{display:block!important;width:calc(100% + 1.8rem)!important;margin:-1.05rem -.9rem .5rem!important;padding:1.25rem .5rem!important;background:#fff!important;border-bottom:1px solid rgba(24,57,83,.08);text-align:center!important;box-sizing:border-box!important}.sidebar .brand .brand-logo-img,.sidebar .brand .brand-logo-fallback{width:95%!important;margin:0 auto!important;max-width:228px!important;height:auto!important;max-height:95px!important;min-width:0!important;min-height:0!important;background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important;object-fit:contain!important;display:block!important;image-rendering:-webkit-optimize-contrast!important;image-rendering:crisp-edges!important}.sidebar .brand .brand-title{display:none!important}.auth-card .brand{display:block!important;width:100%!important;margin-bottom:2.5rem!important;margin-top:1rem!important;text-align:center!important}.auth-card .brand .brand-logo-img,.auth-card .brand .brand-logo-fallback{width:100%!important;max-width:360px!important;height:auto!important;max-height:120px!important;min-width:0!important;min-height:0!important;background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important;object-fit:contain!important;display:block!important;margin:0 auto!important;image-rendering:-webkit-optimize-contrast!important;image-rendering:crisp-edges!important}.auth-card .brand .brand-title,.auth-card .brand .brand-subtitle{display:none!important}.topbar{align-items:center;padding:.6rem .4rem;min-height:68px}.brand .brand-logo-img,.brand .brand-logo-fallback{background:transparent!important;border:none!important;box-shadow:none!important;border-radius:8px!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;object-fit:contain!important}.brand .brand-title{margin-left:6px}.revenue-module-bar-row{cursor:pointer;transition:background-color .2s ease,transform .1s ease;padding:.6rem;border-radius:8px}.revenue-module-bar-row:hover{background-color:#0a505a0d;transform:translate(4px)}.department-vertical-list{flex-direction:column;align-items:stretch;flex-wrap:nowrap}.department-vertical-list .department-vertical-item{width:100%;justify-content:flex-start;border-radius:12px}.appointment-grid-form{align-items:start}.appointment-grid-form .ui-label,.op-perfect-schedule-form .ui-label,.op-visit-clean-form .ui-label{min-width:0;overflow:visible}.appointment-grid-form .ui-input,.appointment-grid-form .ui-select,.appointment-grid-form .ui-textarea,.appointment-time-with-period .ui-input{width:100%;min-width:0}.appointment-time-with-period{grid-template-columns:minmax(0,1fr) minmax(58px,auto)}.billing-revenue-calendar{grid-template-columns:minmax(190px,auto) minmax(180px,240px) minmax(220px,1fr) minmax(240px,1.1fr);align-items:stretch}.billing-revenue-period-card{min-height:92px;display:flex;flex-direction:column;justify-content:center;overflow:visible}.billing-revenue-period-card strong{font-size:22px;word-break:break-word;overflow-wrap:anywhere}.billing-revenue-period-card.due{min-width:240px;padding:14px 16px;border-width:2px}.hosp-pay-row,.hosp-pay-total-row{gap:12px}.hosp-pay-value,.hosp-pay-total-row span:last-child{min-width:145px;text-align:right;overflow-wrap:anywhere}.lab-table-section{overflow-x:auto}.lab-billing-table{min-width:1120px;table-layout:auto}.lab-billing-table th,.lab-billing-table td{white-space:nowrap;vertical-align:middle}.lab-billing-table th:nth-child(6),.lab-billing-table th:nth-child(7),.lab-billing-table th:nth-child(8),.lab-billing-table td:nth-child(6),.lab-billing-table td:nth-child(7),.lab-billing-table td:nth-child(8){min-width:115px;text-align:right}.lab-action-buttons{flex-wrap:wrap;align-items:center}.lab-action-buttons .ui-button{min-width:128px;white-space:normal}@media (max-width: 1250px){.billing-revenue-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-revenue-period-card.due{min-width:0}}@media (max-width: 760px){.billing-revenue-calendar{grid-template-columns:1fr}.hosp-pay-value,.hosp-pay-total-row span:last-child{min-width:0}}.doctors-history-filters-form{width:100%}.filter-group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:flex-end}.filter-input-wrapper{display:flex;flex-direction:column;gap:6px}.filter-label{font-weight:500;font-size:.85rem;color:#4b5563}.filter-actions-wrapper{display:flex;gap:8px;align-items:center;margin-bottom:2px}.filter-reset-btn{background-color:#f3f4f6;color:#374151;border:1px solid #d1d5db}.filter-reset-btn:hover{background-color:#e5e7eb}.filter-show-btn{background-color:#2563eb;color:#fff}.filter-show-btn:hover{background-color:#1d4ed8}.module-table-doctors-history .table-head,.module-table-doctors-history .table-row{grid-template-columns:1.2fr 1.2fr 1fr 1fr 2fr 1fr .8fr;align-items:center}.block-date{display:block;font-size:.9rem}.block-time{display:block;font-size:.75rem}.chief-complaint-cell{color:#4b5563;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:8px}.patient-id-chip{color:#3b82f6}.status-pill{padding:4px 10px;border-radius:9999px;font-size:.75rem;font-weight:600;display:inline-block;text-align:center;width:fit-content}.status-pill.badge-completed{background-color:#ecfdf5;color:#10b981;border:1px solid #a7f3d0}.status-pill.badge-cancelled{background-color:#fef2f2;color:#ef4444;border:1px solid #fca5a5}.status-pill.badge-pending{background-color:#eff6ff;color:#3b82f6;border:1px solid #bfdbfe}.doctors-history-pagination{margin-top:16px;border-radius:8px}@media (max-width: 1024px){.filter-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-actions-wrapper{grid-column:span 2;justify-content:flex-end;margin-top:8px}}@media (max-width: 640px){.filter-group-grid{grid-template-columns:1fr}.filter-actions-wrapper{grid-column:span 1;justify-content:space-between}.filter-actions-wrapper button{flex:1}}.vital-input-wrap{position:relative;display:flex;align-items:center}.vital-input-wrap input{padding-right:3rem;width:100%}.vital-unit-badge{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:.78rem;font-weight:700;color:hsl(var(--muted-foreground));pointer-events:none;-webkit-user-select:none;user-select:none;letter-spacing:.03em}.bp-split-wrap{display:flex;align-items:center;gap:6px}.bp-split-wrap input{flex:1;min-width:0}.bp-separator{font-size:1.1rem;font-weight:800;color:hsl(var(--primary));flex-shrink:0}main{padding-top:0!important}.topbar{padding:0 .5rem .5rem!important;margin-top:0!important;margin-bottom:.4rem!important;min-height:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important}.topbar h2{font-size:1.65rem!important;font-weight:800!important;color:#000!important;margin:0 0 .25rem!important;padding:0!important;line-height:1.2!important}.topbar p.muted{font-size:.9rem!important;font-weight:500!important;color:#475569!important;margin:0!important;padding:0!important;line-height:1.3!important}.module-panel-head{display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:.75rem!important;margin-bottom:.5rem!important;width:100%!important}.module-page>.module-panel-head{margin-bottom:0!important}.module-panel-head>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.module-panel-head h3,.module-panel-head h4{margin:0!important;line-height:1.2!important;font-weight:700!important;color:hsl(var(--foreground))!important}.module-panel-head p.muted{margin:.25rem 0 0!important;font-size:.85rem!important;color:hsl(var(--muted-foreground))!important}@media (min-width: 561px){.module-inline-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:.5rem!important;flex-wrap:nowrap!important}.module-inline-actions>*{flex:0 0 auto!important;width:auto!important;min-width:150px!important}}.module-page{gap:1.25rem!important}html,body{overflow-x:hidden!important;-webkit-overflow-scrolling:touch}body{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}*{-webkit-tap-highlight-color:transparent}.sidebar,.sidebar-scroll-region,main,.queue-board,.op-card,.panel,.modal-body,.module-page{-webkit-overflow-scrolling:touch}@media (max-width: 768px){input[type=text],input[type=number],input[type=date],input[type=time],input[type=email],input[type=password],input[type=search],select,textarea{font-size:16px!important}}.queue-board{overflow-x:auto;min-width:0;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.queue-board-column{scroll-snap-align:start;min-width:260px}.module-table,.lab-billing-table,.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.modal-overlay{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.modal-content{max-height:calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto}@supports (padding-bottom: env(safe-area-inset-bottom)){.sidebar-bottom{padding-bottom:calc(.9rem + env(safe-area-inset-bottom))}}@media (min-width: 1025px){.app-shell:not(.app-shell-single){height:100dvh;min-height:100dvh;overflow:hidden}.app-shell:not(.app-shell-single)>.sidebar{height:100dvh;align-self:stretch}.app-shell:not(.app-shell-single)>.app-main-content{height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain}}.admin-user-editor-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px;align-items:start}.admin-user-details-panel,.admin-module-access-panel{border:1px solid var(--border,#dbe5ec);border-radius:12px;padding:16px;background:var(--surface,#fff)}.admin-user-details-panel h5,.admin-module-access-panel h5{margin:0 0 12px;font-size:1rem}.admin-module-access-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.admin-module-access-head h5{margin-bottom:4px}.module-permissions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.module-permissions-grid .checkbox-line{margin:0;min-height:40px;padding:8px 10px;border:1px solid var(--border,#dbe5ec);border-radius:8px;background:transparent}.admin-user-save-actions{margin-top:16px}@media (max-width:960px){.admin-user-editor-grid,.module-permissions-grid{grid-template-columns:1fr}}.employee-module-access{border:1px solid var(--border,#dbe5ec);border-radius:10px;padding:14px;background:var(--surface,#fff);min-width:0}.employee-module-access-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.employee-module-access-header h5{margin:0 0 3px;font-size:15px;font-weight:700;color:#1f2937}.employee-module-access-header p{margin:0;font-size:12px}.employee-module-access-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.employee-module-access-action{min-height:32px;padding:6px 10px;border:1px solid var(--border,#dbe5ec);border-radius:6px;background:var(--surface,#fff);color:var(--text,#1f2937);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.employee-module-access-action:hover{background:var(--surface-muted,#f5f8fa);border-color:var(--primary,#147d86)}.employee-module-access-action:focus-visible{outline:2px solid var(--primary,#147d86);outline-offset:2px}.employee-module-groups{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}.employee-module-group{min-width:0}.employee-module-group h6{margin:0 0 6px;padding-bottom:5px;border-bottom:1px solid var(--border,#e5eaee);color:var(--text-muted,#64748b);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.employee-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;min-width:0}.employee-module-option{display:flex;align-items:center;min-width:0;min-height:38px;margin:0;padding:8px 12px;gap:9px;border:1px solid var(--border,#dbe5ec);border-radius:6px;background:var(--surface,#fff);color:#1f2937;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.employee-module-option:hover{background:var(--surface-muted,#f7fafb);border-color:var(--primary,#147d86)}.employee-module-option:focus-within{border-color:var(--primary,#147d86);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#147d86) 18%,transparent)}.employee-module-option .ui-checkbox{width:17px;height:17px;min-width:17px;margin:0;cursor:pointer}.employee-module-option span{min-width:0;font-size:14px;font-weight:500;line-height:1.25;text-align:left;overflow-wrap:anywhere}@media (max-width:1100px){.employee-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.employee-module-access{padding:12px}.employee-module-access-header{align-items:stretch;flex-direction:column}.employee-module-access-actions{justify-content:flex-start}.employee-module-grid{grid-template-columns:1fr}}html,body{max-width:100vw;overflow-x:hidden}body{position:relative}.mobile-top-bar{display:none}.panel,.card-content,.table-container,.module-table,.lab-billing-table,.hosp-revenue-pop-table,.hosp-ops-table-wrap,.lab-billing-wrap,.table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (min-width: 1440px){.exact-patient-form,.patient-grid-form,.grid-form,.readmit-profile-grid,.appointment-grid-form,.billing-payment-form-grid,.billing-revenue-calendar{grid-template-columns:repeat(3,minmax(0,1fr))!important}.span-3{grid-column:span 3!important}.span-2{grid-column:span 2!important}}@media (max-width: 1439px) and (min-width: 768px){.exact-patient-form,.patient-grid-form,.grid-form,.readmit-profile-grid,.appointment-grid-form,.billing-payment-form-grid,.billing-revenue-calendar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.span-3,.span-2{grid-column:span 2!important}}@media (max-width: 1024px){html{font-size:15px}.app-shell{grid-template-columns:1fr!important}.mobile-top-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;background:linear-gradient(180deg,#f9fbfd,#f3f7fb);border-bottom:1px solid rgba(24,57,83,.12);position:sticky;top:0;z-index:110}.hamburger-menu-btn{display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:hsl(var(--foreground));cursor:pointer;padding:8px;border-radius:6px;transition:background-color .15s ease}.hamburger-menu-btn:hover{background-color:#0000000d}.mobile-top-bar-title{font-family:var(--font-heading);font-weight:800;font-size:1.15rem;color:hsl(var(--primary))}.sidebar{position:fixed!important;top:0;left:0;bottom:0;width:280px!important;z-index:1000!important;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}.sidebar.open{transform:translate(0);box-shadow:var(--shadow-lg)}.sidebar-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#06141e85;z-index:999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fadeIn .2s ease-out}.hosp-dashboard-top{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.hosp-dashboard-top-actions{justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important}.hosp-dashboard-pill,.hosp-dashboard-icon-btn,.hosp-dashboard-user{flex:1 1 auto!important;justify-content:center!important}.queue-board{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}.hosp-kpi-row,.hosp-row-4col,.hosp-insights-row,.reports-revenue-grid,.hosp-revenue-pop-summary,.billing-dashboard-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}button,.sidebar-tab,.sidebar-nav-toggle,.hosp-dashboard-pill,.hosp-dashboard-icon-btn,.ui-button{min-height:44px!important}}@media (max-width: 768px){html{font-size:14px}.app-main-content{padding:.6rem!important}.topbar{flex-direction:column!important;align-items:flex-start!important;gap:12px!important;margin-bottom:.8rem!important}.topbar .actions,.topbar-actions,.topbar .row-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;justify-content:flex-start!important}.topbar .actions button,.topbar-actions button{flex:1 1 auto!important;min-height:44px!important}.exact-patient-form,.patient-grid-form,.grid-form,.readmit-profile-grid,.appointment-grid-form,.billing-payment-form-grid,.billing-revenue-calendar,.patient-toolbar,.search-bar,.lab-service-toolbar{grid-template-columns:1fr!important;gap:.8rem!important}.span-3,.span-2,.span-2-desktop{grid-column:span 1!important}.hosp-kpi-row,.hosp-row-4col,.hosp-insights-row,.reports-revenue-grid,.hosp-revenue-pop-summary,.billing-dashboard-snapshot{grid-template-columns:1fr!important;gap:12px!important}.queue-board{grid-template-columns:1fr!important}.queue-board-column{min-height:auto!important;margin-bottom:12px!important}.queue-board-item{width:100%!important}.queue-card-actions{flex-direction:row!important;flex-wrap:wrap!important;gap:6px!important}.queue-card-actions button{flex:1 1 auto!important;text-align:center!important}.ui-modal,.ui-modal-wide,.ui-modal-compact{width:96vw!important;max-height:94vh!important;border-radius:var(--radius)!important}.table:not(.module-table):not(.patient-list-table) .table-head{display:none!important}.table:not(.module-table):not(.patient-list-table) .table-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:14px!important;border:1px solid hsl(var(--border))!important;border-radius:12px!important;margin-bottom:12px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important;align-items:stretch!important;min-width:0!important}.table:not(.module-table):not(.patient-list-table) .table-row>*{display:flex!important;justify-content:space-between!important;align-items:center!important;text-align:right!important;width:100%!important;padding:6px 0!important;border-bottom:1px dashed rgba(24,57,83,.08)!important;white-space:normal!important;font-size:13px!important}.table:not(.module-table):not(.patient-list-table) .table-row>*:last-child{border-bottom:none!important;padding-top:8px!important;justify-content:flex-start!important}table.lab-billing-table,table.op-queue-table,table.appointment-summary-table,table.admin-users-table,.hosp-ops-table{display:block!important;width:100%!important;border:none!important}table.lab-billing-table thead,table.op-queue-table thead,table.appointment-summary-table thead,table.admin-users-table thead,.hosp-ops-table thead{display:none!important}table.lab-billing-table tbody,table.op-queue-table tbody,table.appointment-summary-table tbody,table.admin-users-table tbody,.hosp-ops-table tbody{display:block!important;width:100%!important}table.lab-billing-table tr,table.op-queue-table tr,table.appointment-summary-table tr,table.admin-users-table tr,.hosp-ops-table tr{display:block!important;padding:14px!important;border:1px solid hsl(var(--border))!important;border-radius:12px!important;margin-bottom:12px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important}table.lab-billing-table td,table.op-queue-table td,table.appointment-summary-table td,table.admin-users-table td,.hosp-ops-table td{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:6px 0!important;border-top:none!important;border-bottom:1px dashed rgba(24,57,83,.08)!important;text-align:right!important;font-size:13px!important}table.lab-billing-table td:last-child,table.op-queue-table td:last-child,table.appointment-summary-table td:last-child,table.admin-users-table td:last-child,.hosp-ops-table td:last-child{border-bottom:none!important;padding-top:8px!important;justify-content:flex-start!important}.hosp-revenue-pop-actions,.form-actions{flex-direction:column!important;gap:8px!important;align-items:stretch!important}.hosp-revenue-pop-actions button,.form-actions button{width:100%!important}}.patient-details-modal{padding:16px;background:linear-gradient(135deg,#fff,#f8faff);border-radius:12px}.patient-summary-panel{display:flex;gap:24px;align-items:flex-start}.patient-avatar{width:64px;height:64px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff;box-shadow:0 4px 12px #1d4ed833;flex-shrink:0}.patient-detail-grid{display:grid;grid-template-columns:140px 1fr;gap:12px 16px;width:100%}.patient-detail-grid span{font-size:.85rem;font-weight:600;color:#64748b;display:flex;align-items:center}.patient-detail-grid b{font-size:.95rem;font-weight:700;color:#0f172a}.patient-summary-panel-premium{display:flex;gap:20px;align-items:flex-start;background:#fff;padding:16px;border-radius:12px;border:1px solid #e2e8f0;margin-top:12px}.patient-avatar-premium{width:48px;height:48px;background:linear-gradient(135deg,#10b981,#047857);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;box-shadow:0 4px 10px #04785726;flex-shrink:0}.patient-detail-grid-premium{display:grid;grid-template-columns:120px 1fr;gap:8px 12px;width:100%}.patient-detail-grid-premium span{font-size:.8rem;font-weight:600;color:#64748b}.patient-detail-grid-premium b{font-size:.9rem;font-weight:700;color:#0f172a}@media (max-width: 640px){.patient-summary-panel{flex-direction:column;align-items:center;gap:16px}.patient-detail-grid{grid-template-columns:1fr;gap:4px 12px}.patient-detail-grid span{font-size:.75rem;margin-top:8px}.patient-summary-panel-premium{flex-direction:column;align-items:center;gap:16px}.patient-detail-grid-premium{grid-template-columns:1fr;gap:4px 12px}.patient-detail-grid-premium span{font-size:.75rem;margin-top:8px}}
