:root{--text:#1f2937;--muted:#5b667a;--heading:#0f172a;--bg:#f7faf8;--border:#d6e3dd;--sans:"Trebuchet MS", Verdana, "Segoe UI", sans-serif;--heading-font:"Palatino Linotype", "Book Antiqua", Palatino, serif}*{box-sizing:border-box}body{color:var(--text);font-family:var(--sans);background:radial-gradient(circle at 0% 0%, #38bdf81c, transparent 35%), radial-gradient(circle at 100% 30%, #22c55e1a, transparent 38%), var(--bg);margin:0;line-height:1.45}#root{min-height:100vh}h1,h2,h3{color:var(--heading);font-family:var(--heading-font);margin:0}h1{font-size:clamp(1.8rem,3.4vw,3rem);line-height:1.1}h2{font-size:1.35rem}h3{margin-bottom:.45rem;font-size:1.1rem}p{color:var(--muted);margin:0}.app-shell{box-sizing:border-box;grid-template-columns:80px minmax(0,1fr);align-items:start;gap:0 8px;width:100%;margin:0;padding:0 6px;display:grid}@media (width<=1024px){.app-shell{grid-template-columns:68px minmax(0,1fr)}}.clinic-app{gap:1rem;width:100%;display:grid}.dashboard-main{gap:1rem;display:grid}.hero{border:1px solid var(--border);background:linear-gradient(135deg,#f2f8f4 0%,#e8f5fb 55%,#fff3e6 100%);border-radius:20px;gap:1.25rem;padding:1.5rem;display:grid}.eyebrow{color:#0f5132;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .4rem;font-size:.8rem;font-weight:700}.subtitle{max-width:65ch}.hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;display:grid}.hero-stats article{background:#fffc;border:1px solid #d8e9de;border-radius:14px;padding:.9rem}.stat-label{color:#4a5568;margin:0;font-size:.9rem}.stat-value{color:#0f172a;margin:.4rem 0 0;font-size:1.6rem;font-weight:700}.card{border:1px solid var(--border);background:#fff;border-radius:16px;padding:1rem}.section-title{justify-content:space-between;align-items:baseline;display:flex}.section-title span{color:#64748b;font-size:.85rem}.queue ul{gap:.7rem;margin:1rem 0 0;padding:0;list-style:none;display:grid}.queue li{border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;padding:.75rem .9rem;display:flex}.patient{color:#0f172a;margin:0;font-weight:700}.type{margin:.2rem 0 0;font-size:.9rem}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}footer{text-align:center;color:#64748b;padding:.4rem 0 1.2rem}@media (width<=900px){.app-shell{grid-template-columns:1fr;width:100%;margin:0;padding:0 6px}.hero-stats,.grid{grid-template-columns:1fr}.section-title{flex-direction:column;align-items:flex-start;gap:.4rem}}.add-patient-overlay{z-index:120;background:#0f172a4d;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.add-patient-modal{background:#f5f6f8;border:1px solid #cdd3db;border-radius:10px;width:min(1020px,100%);max-height:min(92vh,920px);overflow:auto;box-shadow:0 18px 44px #0f172a33}.add-patient-head{justify-content:space-between;align-items:center;padding:.75rem .95rem;display:flex}.add-patient-head h3{color:#253347;margin:0;font-size:1.2rem}.modal-icon-btn{cursor:pointer;color:#1f2937;background:0 0;border:0;font-size:1rem}.add-patient-form{gap:.85rem;padding:0 .95rem .95rem;display:grid}.patient-input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.field{background:#eceff4;border:1px solid #dde1e7;border-radius:8px;align-items:center;gap:8px;height:42px;padding:0 10px;display:flex}.field input{color:#1f2937;background:0 0;border:0;outline:none;width:100%;font-size:.95rem}.field input::placeholder{color:#7b8797}.age-field-wrap{padding-right:36px;position:relative}.age-toggle-btn{color:#7b8797;cursor:pointer;background:0 0;border:0;font-size:.9rem;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.age-options{z-index:5;background:#fff;border:1px solid #cfd6df;border-radius:8px;width:100%;margin:0;padding:4px 0;list-style:none;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 8px 18px #0f172a1f}.age-option-btn{text-align:left;color:#2d3748;cursor:pointer;background:0 0;border:0;width:100%;padding:8px 10px;font-size:.95rem}.age-option-btn:hover,.age-option-btn.active{background:#d8e5f7}.field-icon{color:#667085;font-size:.9rem}.full-row{grid-column:1/-1}.uhid-row{grid-template-columns:minmax(0,1fr) auto 148px;align-items:center;gap:.6rem;display:grid}.generate-link{color:#2a63f0;cursor:pointer;background:0 0;border:0;font-size:.95rem}.avatar-placeholder{color:#6779a8;background:#d4dae8;border-radius:999px;justify-self:end;place-items:center;width:98px;height:98px;font-size:2.4rem;display:grid}.avatar-area{justify-self:end;position:relative}.avatar-btn{cursor:pointer;color:#4f5f8a;border:0;place-items:center;gap:2px;display:grid}.avatar-btn span{color:#f8fafc;margin-top:-26px;font-size:.72rem;font-weight:700}.avatar-help-btn{color:#0f172a;cursor:pointer;background:0 0;border:0;font-size:.95rem;position:absolute;top:-8px;right:-8px}.avatar-menu{z-index:4;background:#f3f4f6;border:1px solid #d8dde5;border-radius:10px;width:128px;padding:.35rem;position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%);box-shadow:0 8px 18px #0f172a29}.avatar-menu-item{color:#334155;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;width:100%;padding:.5rem .45rem;font-size:1rem;font-weight:600}.avatar-menu-item:hover{background:#e5e7eb}.gender-row{border:0;gap:.8rem;margin:0;padding:0;display:flex}.gender-row label{background:#eceff4;border:1px solid #d8dde5;border-radius:8px;align-items:center;gap:.4rem;padding:.5rem .75rem;font-size:.95rem;display:inline-flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.medical-history{border-left:2px solid #86a4e8;gap:.8rem;padding-left:.9rem;display:grid}.medical-head{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.medical-head strong{color:#4b5563;font-size:1rem}.medical-head label{color:#4b5563;align-items:center;gap:.4rem;font-size:.95rem;display:inline-flex}.history-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;display:grid}.history-item-row{align-items:center;gap:.55rem;min-width:0;display:flex}.history-item{color:#344154;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.5rem;min-width:0;padding:0;font-size:.95rem;font-weight:600;display:inline-flex}.history-status{color:#7b8797;background:#e9edf3;border-radius:999px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:1rem;font-weight:700;display:inline-grid}.history-status.yes{color:#2e9151;background:#d5f1de}.history-status.no{color:#b44b4b;background:#f1d9d9}.history-since{color:#1f2937;background:#eceff4;border:1px solid #c9d3df;border-radius:6px;outline:none;width:112px;height:34px;padding:0 10px;font-size:.92rem}.history-since::placeholder{color:#9aa3b2}.history-since-wrap{position:relative}.since-options{z-index:3;background:#fff;border:1px solid #d7dde6;border-radius:6px;width:132px;margin:0;padding:4px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 18px #0f172a1f}.since-option-btn{text-align:left;color:#303a4a;cursor:pointer;background:0 0;border:0;width:100%;padding:6px 10px;font-size:.95rem}.since-option-btn:hover{background:#eef2f7}.add-fields-link{color:#2a63f0;cursor:pointer;background:0 0;border:0;width:fit-content;font-size:1rem;font-weight:700}.modal-actions{padding-top:.35rem}.submit-patient-btn{color:#fff;cursor:pointer;background:#2a63f0;border:0;border-radius:9px;width:100%;height:40px;font-size:1.05rem;font-weight:700}@media (width<=900px){.uhid-row{grid-template-columns:1fr}.avatar-placeholder{justify-self:start;width:72px;height:72px;font-size:2rem}.avatar-area{justify-self:start}.avatar-btn span{margin-top:-20px;font-size:.66rem}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.patient-input-grid,.history-grid{grid-template-columns:1fr}.history-item-row,.gender-row{flex-wrap:wrap}.add-patient-head h3{font-size:1.05rem}}.patient-added-overlay{z-index:130;background:#0f172a59;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.patient-added-modal{background:#f8fafc;border:1px solid #d6dde8;border-radius:14px;width:min(880px,100%);overflow:hidden}.patient-added-head{border-bottom:1px solid #dde3ed;justify-content:space-between;align-items:center;padding:.9rem 1rem;display:flex}.patient-added-head h3{color:#243447;margin:0;font-size:1.15rem}.patient-added-close{cursor:pointer;color:#667085;background:0 0;border:0;font-size:1.2rem}.patient-added-summary{justify-content:space-between;align-items:center;padding:1rem;display:flex}.patient-added-summary h2{font-size:2rem;font-family:var(--sans);margin:0}.patient-added-summary p{color:#667085;margin-top:.25rem;font-size:1rem}.patient-added-check{color:#fff;background:#1f8f45;border-radius:999px;place-items:center;width:56px;height:56px;font-size:1.8rem;display:grid}.patient-added-question{color:#667085;margin:0;padding:0 1rem .85rem;font-size:1.05rem}.patient-added-grid{grid-template-columns:1.7fr 1fr;gap:1rem;padding:0 1rem 1rem;display:grid}.patient-action-list{background:#fff;border:1px solid #d8dfe9;border-radius:12px;overflow:hidden}.patient-action-row{text-align:left;cursor:pointer;background:#fff;border:0;border-top:1px solid #e6ebf2;align-items:center;gap:.75rem;width:100%;padding:.95rem;display:flex}.patient-action-row:first-child{border-top:0}.patient-action-row:hover,.patient-side-row:hover{background:#f3f7fe}.patient-action-icon{color:#1652b0;background:#e5ecf9;border-radius:10px;place-items:center;width:40px;height:40px;font-size:1.25rem;display:grid}.patient-action-copy{gap:2px;display:grid}.patient-action-copy strong{color:#344054}.patient-action-copy small{color:#7a8699;font-size:.9rem}.patient-action-arrow{color:#98a2b3;margin-left:auto;font-size:1.5rem}.patient-side-actions{align-content:start;gap:.6rem;display:grid}.patient-side-row{color:#344054;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;width:100%;padding:.8rem .75rem;font-size:1.1rem;font-weight:600;display:flex}.patient-added-footer{border-top:1px solid #dbe2ec;justify-content:space-between;padding:1rem;display:flex}.patient-footer-btn{color:#3f4a5b;cursor:pointer;background:#fff;border:1px solid #b8c2d3;border-radius:12px;min-width:120px;height:42px;font-size:1rem;font-weight:600}.patient-footer-btn.primary{color:#1d4ed8;border-color:#2a63f0}@media (width<=900px){.patient-added-grid{grid-template-columns:1fr}.patient-added-summary h2{font-size:1.5rem}.patient-side-row{background:#fff;border:1px solid #d8dfe9}}.patient-section{background:#f5f6f8;border:1px solid #d4d9e1;border-radius:0 0 14px 14px;overflow:hidden}.patient-error{color:#b42318;background:#fee4e2;border-bottom:1px solid #fecdca;margin:0;padding:.55rem .75rem;font-size:.9rem}.patient-toolbar{background:#eef0f3;border-bottom:1px solid #d5d9df;justify-content:space-between;align-items:center;gap:.7rem;padding:.6rem .75rem;display:flex}.patient-toolbar-left,.patient-toolbar-right{align-items:center;gap:.8rem;min-width:0;display:flex}.patient-toolbar h2{color:#0f172a;font-size:1.55rem;line-height:1;font-family:var(--sans);margin:0;font-weight:500}.branch-chip{color:#111827;cursor:pointer;background:#e2e4e8;border:0;border-radius:10px;align-items:center;gap:8px;height:38px;padding:0 10px;font-size:.95rem;display:inline-flex}.patient-search{color:#4b5563;background:#f4f5f7;border:1px solid #9aa4b2;border-radius:10px;align-items:center;gap:8px;width:min(580px,44vw);min-width:240px;height:38px;padding:0 10px;display:flex}.patient-search input{color:#1f2937;background:0 0;border:0;outline:none;width:100%;font-size:.95rem}.patient-search input::placeholder{color:#64748b}.add-patient-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2a63f0;border:0;border-radius:10px;height:38px;padding:0 14px;font-size:.95rem;font-weight:700}.patient-table-wrap{overflow-x:auto}.patient-table{border-collapse:collapse;background:#f5f6f8;width:100%;min-width:780px}.patient-table thead th{text-align:left;color:#14304e;background:#d4d7dc;padding:.75rem .85rem;font-size:.95rem;font-weight:700}.patient-table tbody td{color:#111827;border-top:1px solid #d8dde5;padding:.85rem 1rem;font-size:.95rem}.patient-table tbody a{color:#0652b8;text-decoration:none}.patient-table tbody a:hover{text-decoration:underline}.actions-head,.actions-cell{text-align:right}.actions-cell{justify-content:flex-end;align-items:center;gap:.35rem;display:flex}.start-visit-btn,.kebab-btn{color:#00419c;cursor:pointer;background:0 0;border:0;font-size:.95rem;font-weight:700}.kebab-btn{color:#6b7280;font-size:1.15rem;line-height:1}.empty-row{text-align:center;color:#6b7280;padding:1rem}@media (width<=1200px){.patient-toolbar h2{font-size:1.35rem}}@media (width<=900px){.patient-toolbar{flex-direction:column;align-items:stretch}.patient-toolbar-left,.patient-toolbar-right{flex-wrap:wrap;width:100%}.patient-search{flex:auto;width:100%;min-width:0}.add-patient-btn{width:100%}}@media (width<=768px){.patient-section{border-radius:12px}.patient-toolbar{padding:.55rem .6rem}.patient-toolbar h2{font-size:1.2rem}.branch-chip,.patient-search,.add-patient-btn{height:36px}.patient-table{min-width:0}.patient-table thead{display:none}.patient-table,.patient-table tbody,.patient-table tr,.patient-table td{width:100%;display:block}.patient-table tr{border-top:1px solid #d8dde5;padding:.5rem 0}.patient-table tbody td{border-top:0;justify-content:space-between;align-items:center;gap:.8rem;padding:.45rem .75rem;font-size:.9rem;display:flex}.patient-table tbody td:before{content:attr(data-label);color:#4b5563;white-space:nowrap;font-size:.78rem;font-weight:700}.actions-cell{justify-content:flex-end}.start-visit-btn,.kebab-btn{font-size:.9rem}}.visit-pad-page{gap:.6rem;display:grid}.visit-topbar{background:#f8fafc;border:1px solid #d5dbe5;border-radius:12px;justify-content:space-between;align-items:center;gap:.8rem;padding:.45rem .6rem;display:flex}.visit-patient-summary{align-items:center;gap:.6rem;display:flex}.visit-back-btn{color:#fff;cursor:pointer;background:#334155;border:0;border-radius:999px;width:30px;height:30px}.visit-avatar{background:#d8dee9;border-radius:999px;place-items:center;width:34px;height:34px;font-size:1rem;display:grid}.visit-patient-name{color:#0f172a;margin:0;font-size:1.05rem;font-weight:700}.visit-patient-meta{color:#667085;margin:0;font-size:.82rem;line-height:1.3}.visit-top-actions{gap:.5rem;display:flex}.mini-action-btn{color:#1d4ed8;cursor:pointer;background:#fff;border:1px solid #c9d4e5;border-radius:9px;height:34px;padding:0 .7rem;font-weight:700}.visit-tabs{background:#f8fafc;border:1px solid #d5dbe5;border-radius:12px;flex-wrap:wrap;gap:.35rem;padding:.35rem;display:flex}.visit-tab-btn{color:#475467;cursor:pointer;background:0 0;border:0;border-radius:8px;height:34px;padding:0 .75rem;font-weight:600}.visit-tab-btn.active{color:#0f172a;background:#fff;box-shadow:inset 0 -2px #1d4ed8}.visit-card{background:#f8fafc;border:1px solid #d9dee7;border-radius:12px;gap:.65rem;padding:.8rem;display:grid}.visit-card.compact{gap:.45rem}.visit-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.visit-card h3{font-size:1.05rem;font-family:var(--sans);color:#1f2937;margin:0}.visit-card-actions{color:#344054;align-items:center;gap:.75rem;display:flex}.outline-btn{color:#1d4ed8;cursor:pointer;background:#fff;border:1px solid #1d4ed8;border-radius:8px;height:32px;padding:0 .65rem;font-weight:700}.history-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.visit-history-row{align-items:center;gap:.55rem;min-width:0;display:flex}.history-chip{text-align:left;color:#1f2937;cursor:pointer;background:0 0;border:0;align-items:center;gap:.45rem;font-size:1rem;font-weight:600;display:inline-flex}.visit-history-status{color:#7b8797;background:#e9edf3;border-radius:999px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:.95rem;font-weight:700;display:inline-grid}.visit-history-status.yes{color:#2e9151;background:#d5f1de}.visit-history-status.no{color:#b44b4b;background:#f1d9d9}.visit-history-since-wrap{position:relative}.visit-history-since{color:#1f2937;background:#fff;border:1px solid #c9d3df;border-radius:6px;outline:none;width:104px;height:32px;padding:0 9px;font-size:.9rem}.visit-history-since::placeholder{color:#9aa3b2}.visit-since-options{z-index:3;background:#fff;border:1px solid #d7dde6;border-radius:6px;width:126px;margin:0;padding:4px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 18px #0f172a1f}.visit-since-option-btn{text-align:left;color:#303a4a;cursor:pointer;background:0 0;border:0;width:100%;padding:6px 10px;font-size:.9rem}.visit-since-option-btn:hover{background:#eef2f7}.section-head{align-items:center;gap:.5rem;display:flex}.section-head.spread{justify-content:space-between}.section-head h3{align-items:center;gap:.45rem;display:inline-flex}.section-tag{color:#98a2b3;border:1px solid #e4e7ec;border-radius:5px;padding:0 .25rem;font-size:.72rem}.section-badge{border-radius:4px;width:14px;height:14px;display:inline-block}.section-badge.blue{background:#3478f6}.section-badge.purple{background:#8b5cf6}.section-badge.pink{background:#ec4899}.section-badge.amber{background:#d97706}.section-badge.green{background:#2ea44f}.section-badge.slate{background:#56637f}.section-shortcut{color:#1d4ed8;font-size:.95rem;font-weight:600}.outline-btn.small{height:30px;padding:0 .7rem}.notes-grid{grid-template-columns:1fr 1fr;gap:.8rem;display:grid}.notes-col{gap:.4rem;display:grid}.notes-col span{color:#667085;font-size:.78rem;font-weight:700}.notes-col textarea,.followup-notes{resize:vertical;width:100%;font:inherit;background:#fff;border:1px solid #d5dbe5;border-radius:8px;padding:.6rem .7rem}.bottom-two-col{grid-template-columns:1fr 1fr;gap:.8rem;display:grid}.followup-row{grid-template-columns:1fr auto;gap:.6rem;display:grid}.inline-checkbox{color:#475467;align-items:center;gap:.45rem;display:inline-flex}.visit-final-bar{z-index:8;background:#0f56b3;border-radius:10px;grid-template-columns:1fr auto 1fr;align-items:center;gap:.55rem;padding:.45rem;display:grid;position:sticky;bottom:0}.visit-final-left,.visit-final-right{align-items:center;gap:.45rem;min-width:0;display:flex}.visit-final-right{justify-content:flex-end}.final-btn,.final-square-btn,.final-link-btn{color:#fff;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #ffffff6b;border-radius:9px;height:36px;padding:0 .85rem;font-size:.95rem;font-weight:700}.final-btn.light{color:#1f3d7a;background:#fff;border-color:#fff}.final-btn.solid{color:#114391;background:#fff}.final-btn.ghost{border-color:#0000}.final-btn.outline{background:#ffffff0f}.final-square-btn{width:42px;padding:0}.final-link-btn{text-underline-offset:3px;border-color:#0000;text-decoration:underline}.section-input{color:#98a2b3;background:#fff;border:1px solid #d5dbe5;border-radius:9px;min-height:38px;padding:.55rem .7rem;font-size:.95rem}.symptoms-wrap{position:relative}.symptoms-input{outline:none;width:100%}.symptoms-popup{z-index:24;overscroll-behavior:contain;background:#f8fafc;border:1px solid #d7dde6;border-radius:10px;width:100%;max-height:min(56vh,460px);position:absolute;top:calc(100% + 6px);left:0;overflow:hidden auto;box-shadow:0 8px 18px #0f172a1f}.symptoms-popup-head{z-index:2;background:#f8fafc;align-items:center;gap:.45rem;padding:.55rem .75rem .35rem;display:flex;position:sticky;top:0}.symptoms-popup-head.associated{border-top:1px solid #e4e7ec;padding-top:.6rem}.frequently-badge{color:#fff;background:#2563eb;border-radius:4px;padding:.2rem .35rem;font-size:.8rem;font-weight:700}.associated-badge{color:#fff;background:#16a085;border-radius:4px;padding:.2rem .35rem;font-size:.8rem;font-weight:700}.muted-note{color:#98a2b3;font-size:.88rem}.symptoms-close-btn{color:#344054;cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:.95rem}.symptoms-option{color:#344054;text-align:left;cursor:pointer;background:#eef2f7;border:0;align-items:center;gap:.6rem;width:100%;padding:.65rem .85rem;font-size:1.05rem;display:flex}.symptoms-option.active{background:#dbeafe}.symptoms-option.associated-row{background:#f8fafc}.symptoms-option.associated-row.active{background:#dbeafe}.symptom-code{color:#2563eb;background:#dbeafe;border:1px solid #60a5fa;border-radius:999px;place-items:center;width:28px;height:28px;font-size:.88rem;display:inline-grid}.medicine-name{color:#1f2937;font-weight:600}.medicine-option{align-items:flex-start}.medicine-option-text{gap:.12rem;min-width:0;display:grid}.medicine-composition{color:#7482a3;white-space:normal;font-size:.8rem;font-weight:600}.symptoms-popup-footer{text-align:right;color:#667085;background:#f8fafc;padding:.45rem .75rem .55rem;font-size:.9rem;position:sticky;bottom:0}.symptoms-empty{color:#98a2b3;padding:.6rem .85rem;font-size:.92rem}.medication-selected-list{gap:.5rem;margin-bottom:.6rem;display:grid}.medication-selected-row{background:#f8fafc;border:1px solid #d9dee7;border-radius:8px;grid-template-columns:1.3fr .55fr .55fr .55fr .72fr .9fr auto 36px;align-items:stretch;display:grid;overflow:visible}.medication-col{border-right:1px solid #e4e7ec;align-items:center;gap:.5rem;min-height:58px;padding:.45rem .55rem;display:flex}.medication-name-col{color:#0f172a}.medication-name-col p{color:#98a2b3;margin:.1rem 0 0;font-size:.75rem}.medication-input-col{align-content:center;gap:.22rem;display:grid}.medication-mini-label{color:#475467;text-transform:uppercase;font-size:.78rem;font-weight:700}.medication-dose-wrap,.medication-frequency-wrap,.medication-timing-wrap,.medication-duration-wrap{position:relative}.medication-dose-wrap .symptom-inline-input,.medication-frequency-wrap .symptom-inline-input,.medication-timing-wrap .symptom-inline-input,.medication-duration-wrap .symptom-inline-input{padding-right:1.8rem}.medication-suggestion-list{width:100%;max-height:240px;overflow-y:auto}.medication-instructions-input{resize:vertical;height:auto;min-height:56px;padding-top:.35rem;padding-bottom:.35rem}.dose-clear-btn{color:#fff;cursor:pointer;background:#9aa3b2;border:0;border-radius:999px;width:18px;height:18px;padding:0;font-size:.95rem;line-height:1;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.medication-actions-col{border-right:0;justify-content:center}.medication-delete-btn{color:#667085;cursor:pointer;background:0 0;border:0;width:100%;height:100%}.symptom-selected-row{background:#f8fafc;border:1px solid #d9dee7;border-radius:8px;grid-template-columns:1.1fr .48fr .48fr auto 36px;align-items:center;margin-top:.5rem;display:grid;overflow:visible}.symptom-col{border-right:1px solid #e4e7ec;align-items:center;gap:.55rem;min-height:58px;padding:.45rem .6rem;display:flex}.symptom-name-col{color:#0f172a}.drag-dot{color:#98a2b3}.symptom-input-col{align-content:center;gap:.35rem;display:grid}.symptom-since-wrap{position:relative}.symptom-label{color:#475467;font-size:.85rem;font-weight:600}.symptom-inline-input{color:#344054;border:1px solid #d0d5dd;border-radius:4px;outline:none;height:34px;padding:0 .55rem;font-size:.95rem}.symptom-severity-select{color:#98a2b3;cursor:pointer;background:#fff}.symptom-severity-select:focus,.symptom-severity-select.filled{color:#344054}.symptom-actions-col{border-right:0}.more-options-btn{color:#98a2b3;background:#f3f4f6;border:1px solid #d0d5dd;border-radius:4px;height:34px;padding:0 .7rem;font-size:.85rem;font-weight:700}.symptom-delete-btn{color:#667085;cursor:pointer;background:0 0;border:0;width:100%;height:100%}@media (width<=900px){.visit-topbar{flex-direction:column;align-items:stretch}.visit-top-actions{width:100%}.mini-action-btn{flex:1}.history-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.visit-history-row{flex-wrap:wrap}.notes-grid,.bottom-two-col{grid-template-columns:1fr}.visit-final-bar{grid-template-columns:1fr;position:static}.visit-final-left,.visit-final-right{flex-wrap:wrap;justify-content:flex-start}.symptom-selected-row,.medication-selected-row{grid-template-columns:1fr}.symptom-col,.medication-col{border-top:1px solid #e4e7ec;border-right:0}.symptom-name-col,.medication-name-col{border-top:0}.symptom-delete-btn,.medication-delete-btn{border-top:1px solid #e4e7ec;height:36px}}@media (width<=640px){.history-columns{grid-template-columns:1fr}}.header-bar{box-sizing:border-box;z-index:30;background:#f6f7fb;border:1px solid #d7dee6;border-left:0;border-radius:0 14px 14px 0;justify-content:space-between;align-items:center;gap:10px;width:100%;max-width:100%;min-height:58px;padding:8px;display:flex;position:sticky;top:0;overflow:visible}.header-left,.header-right{align-items:center;gap:8px;display:flex}.header-right{flex-wrap:wrap;flex:auto;justify-content:flex-end;min-width:0;margin-left:auto}.clinic-chip,.view-btn,.ghost-icon{color:#1b2737;background:#efefef;border:1px solid #d7dbe2;border-radius:12px}.clinic-chip{justify-content:space-between;align-items:center;gap:8px;min-width:170px;height:40px;padding:0 12px;font-size:1rem;font-weight:600;display:flex}.clinic-icon{font-size:1.1rem}.view-switch{gap:5px;display:flex}.view-btn{width:40px;height:40px;font-size:1rem}.view-btn.active{color:#2b63ff;background:#fff}.search-box{color:#556273;background:#fff;border:1px solid #cfd5dd;border-radius:12px;flex:220px;justify-content:space-between;align-items:center;gap:6px;width:auto;min-width:170px;max-width:280px;height:40px;padding:0 8px 0 10px;font-size:.95rem;display:flex}.search-icon{color:#6b7381}.search-box input{color:#1f2937;background:0 0;border:0;outline:none;flex:1;font-size:.9rem}.search-box input::placeholder{color:#8a95a3}.search-box kbd{color:#6f7b89;background:0 0;border:0;font-size:.85rem}.search-btn{color:#4b5563;cursor:pointer;background:#f3f4f6;border:1px solid #cfd5dd;border-radius:7px;height:26px;padding:0 8px;font-size:.74rem;font-weight:700}.search-btn.active{color:#fff;background:#2b63ff;border-color:#2b63ff}.user-chip{background:#efefef;border:1px solid #e0e4eb;border-radius:12px;flex:0 auto;align-items:center;gap:8px;max-width:100%;height:40px;padding:0 10px;display:flex}.user-menu-wrapper{position:relative}.user-chip-btn{cursor:pointer}.user-chip-btn:focus-visible{outline-offset:2px;outline:2px solid #2b63ff}.avatar{color:#5f6f9f;background:#d8ddf0;border-radius:6px;place-items:center;width:24px;height:24px;font-size:.5rem;display:grid}.user-name{color:#101a29;white-space:nowrap;text-overflow:ellipsis;max-width:120px;font-size:.95rem;font-weight:600;overflow:hidden}.premium{color:#132236;background:#f8f8f8;border:1px solid #c2c8d2;border-radius:8px;padding:2px 8px;font-size:.8rem;font-weight:600}.caret{color:#7c8797;font-size:.9rem}.ghost-icon{width:40px;height:40px;font-size:1rem}@media (width<=1200px){.header-bar{border-left:0;border-radius:0 12px 12px 0;flex-wrap:wrap;align-items:center}.header-left,.header-right{flex-wrap:wrap}.search-box{flex:200px}}@media (width<=900px){.header-bar{border-left:1px solid #d7dee6;border-radius:12px}.clinic-chip,.search-box,.user-chip{height:44px;font-size:1rem}.clinic-chip{min-width:180px}.view-btn,.ghost-icon{width:44px;height:44px;font-size:1.2rem}.user-name{font-size:1rem}.premium{font-size:.75rem}}@media (width<=640px){.header-right{width:100%}.search-box{flex:100%;order:1;max-width:none}.user-chip{flex:auto;order:2;min-width:0}.premium{display:none}}.user-menu-dropdown{z-index:60;background:#fff;border:1px solid #cfd7df;border-radius:14px;width:min(340px,92vw);position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 16px 36px #10182829}.user-menu-top{padding:14px 16px 10px}.user-menu-avatar{color:#6b78a6;background:#d7dced;border-radius:50%;place-items:center;width:44px;height:44px;font-size:1.3rem;display:inline-grid}.user-menu-name{color:#334155;margin:10px 0 0;font-size:1.05rem;font-weight:700}.user-menu-quick-actions{border-top:1px solid #e8edf3;border-bottom:1px solid #e8edf3;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;display:grid}.quick-action-btn{color:#2b63ff;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:34px;font-size:.95rem;font-weight:700;display:flex}.quick-action-btn:hover{background:#eff4ff}.user-menu-list{max-height:min(55vh,360px);margin:0;padding:8px 0;list-style:none;overflow-y:auto}.user-menu-item{text-align:left;color:#33383f;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:11px 16px;font-size:1rem;display:flex}.user-menu-item:hover{background:#f5f7fb}.menu-icon{color:#4b5563;text-align:center;width:20px}.menu-label{flex:1}.menu-badge{color:#fff;text-align:center;background:#13a66f;border-radius:8px;min-width:34px;padding:2px 8px;font-size:.82rem;font-weight:700}.menu-tag{color:#17a667;background:#e5f4ea;border-radius:999px;padding:2px 10px;font-size:.82rem;font-weight:700}.user-menu-footer{border-top:1px solid #e8edf3;padding:8px}.logout-btn{color:#e74c3c;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;padding:10px 8px;font-size:1.05rem;display:flex}.logout-btn:hover{background:#fff1ef}.sidebar-shell{z-index:12;background:linear-gradient(#f4f4f4 0%,#ececec 100%);border:1px solid #cfd5da;border-radius:14px;flex-direction:column;align-items:center;width:80px;min-height:100vh;padding:7px 5px;display:flex;position:sticky;top:0}@media (width<=1024px){.sidebar-shell{width:68px;padding:6px 4px}.sidebar-item{min-height:52px}.sidebar-label{max-width:58px;font-size:.6rem}}.sidebar-nav{gap:2px;width:100%;margin-top:0;display:grid}.sidebar-item{color:#2f3a4a;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-items:center;gap:2px;min-height:58px;padding:7px 2px;display:grid;position:relative}.sidebar-item:hover{background:#dfe8f6}.sidebar-item.active{color:#2f63ff}.sidebar-icon{font-size:1.12rem;line-height:1}.sidebar-icon-svg{width:1.1rem;height:1.1rem}.sidebar-label{text-align:center;color:#3b2d1a;max-width:66px;font-family:Palatino Linotype,Book Antiqua,Palatino,serif;font-size:.66rem;font-weight:700;line-height:1.1}.sidebar-item.active .sidebar-label{color:#225df0}.sidebar-badge{color:#fff;background:#ff3f6e;border-radius:999px;place-items:center;min-width:14px;height:14px;padding:0 2px;font-size:.56rem;font-weight:700;display:grid;position:absolute;top:5px;right:6px}@media (width<=900px){.sidebar-shell{width:100%;min-height:auto;padding:10px;position:static}.sidebar-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.sidebar-item{min-height:60px}.sidebar-label{font-size:.75rem}}
