: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))}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}.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:34px;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:34px;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-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}.patient-grid-form{grid-template-columns:repeat(3,minmax(0,1fr))}.span-2{grid-column:span 2}.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}.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)}.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{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}}
