:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.45;font-weight:400;color:#1f2937;background:#f8fdf9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f8fdf9}a{color:inherit}button,input,select,textarea{font:inherit}button{border:0;border-radius:10px;padding:.58rem .95rem;background:#10b981;color:#fff;cursor:pointer;transition:background-color .15s ease,transform .15s ease}button:hover:not(:disabled){background:#0d9f6f}button:disabled{opacity:.6;cursor:not-allowed}input,select,textarea{width:100%;background:#f0fdf4;border:1px solid rgba(16,185,129,.24);border-radius:10px;padding:.6rem .75rem;color:#0f172a}input:focus,select:focus,textarea:focus{outline:2px solid rgba(16,185,129,.24);outline-offset:1px}.shell{min-height:100vh;display:grid;grid-template-columns:auto minmax(0,1fr)}.sidebar{width:264px;background:#fff;border-right:1px solid rgba(16,185,129,.14);overflow:hidden;transition:width .28s ease}.sidebar.closed{width:0;border-right-width:0}.sidebar-inner{height:100%;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:.7rem;padding:1.45rem 1.25rem;border-bottom:1px solid rgba(16,185,129,.14)}.brand h2{margin:0;font-size:1.08rem}.brand p{margin:0;font-size:.8rem;color:#6b7280}.brand-mark{width:40px;height:40px;border-radius:11px;background:#10b981;color:#fff;display:grid;place-items:center;font-size:1.3rem}.nav{flex:1;display:grid;align-content:start;gap:.45rem;padding:1rem}.nav a{text-decoration:none;display:flex;align-items:center;gap:.72rem;padding:.74rem .9rem;border-radius:10px;color:#1f2937;transition:background-color .16s ease}.nav a:hover{background:#f0fdf4}.nav a.active{background:#10b981;color:#fff}.nav-item-name{flex:1}.nav-badge{min-width:22px;padding:.12rem .42rem;border-radius:999px;background:#10b98126;color:#047857;text-align:center;font-size:.74rem}.nav a.active .nav-badge{background:#ffffff3d;color:#fff}.profile{border-top:1px solid rgba(16,185,129,.14);padding:1rem}.profile-card{display:flex;align-items:center;gap:.7rem;border-radius:10px;background:#f0fdf4;padding:.68rem;text-decoration:none}.avatar{width:38px;height:38px;border-radius:999px;background:#10b981;color:#fff;display:inline-grid;place-items:center;font-weight:700;font-size:.76rem}.avatar-img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile strong{display:block;font-size:.84rem}.profile p{margin:0;color:#6b7280;font-size:.75rem}.main-column{min-width:0;display:flex;flex-direction:column}.app-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(16,185,129,.14);background:#fff;padding:1rem 1.4rem}.header-meta{display:flex;align-items:center;gap:.8rem;color:#6b7280;font-size:.87rem}.icon-btn{width:36px;height:36px;border-radius:10px;padding:0;background:transparent;color:#111827}.icon-btn:hover{background:#f0fdf4}.outline-btn{border:1px solid rgba(16,185,129,.26);color:#047857;background:transparent;display:inline-flex;align-items:center;gap:.4rem}.outline-btn:hover{background:#f0fdf4}.page{padding:1.5rem}.page-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.15rem}.page-head h1{margin:0 0 .22rem;font-size:1.85rem;line-height:1.2}.page-head p{margin:0;color:#6b7280}.page-toolbar{display:flex;gap:.45rem;flex-wrap:wrap}.grid{display:grid;gap:1rem}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.card{border:1px solid rgba(16,185,129,.2);background:#fff;border-radius:12px;padding:1.2rem;box-shadow:0 10px 24px #1018280e}.card h3,.card h4{margin:0}.card+.card{margin-top:1rem}.card-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.85rem}.search-card{display:flex;align-items:center;gap:.5rem}.search-card input{border:0;background:transparent;padding:0}.search-card input:focus{outline:none}.stack{display:grid;gap:.7rem}.list{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}.list li{border:1px solid #e7f5ee;border-radius:10px;background:#fcfffd;padding:.8rem;display:flex;justify-content:space-between;gap:.8rem}.list p{margin:.3rem 0 0}.list .empty{justify-content:center}.row-title{display:inline-flex;gap:.36rem;align-items:center}.row-meta{display:inline-flex;align-items:center;gap:.5rem;margin-top:.35rem}.status{display:inline-flex;align-items:center;border-radius:999px;padding:.16rem .48rem;margin-right:.35rem;font-size:.72rem}.status-blue{background:#dbeafe;color:#1d4ed8}.status-green{background:#dcfce7;color:#166534}.status-yellow{background:#fef9c3;color:#854d0e}.status-red{background:#fee2e2;color:#b91c1c}.status-gray{background:#f3f4f6;color:#374151}.tab{border:1px solid rgba(16,185,129,.24);background:#fff;color:#0f766e}.tab.active{background:#10b981;border-color:#10b981;color:#fff}.actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.4rem}.actions button{padding:.42rem .66rem;font-size:.82rem}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.kpi-three{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi{border:1px solid rgba(16,185,129,.2);border-radius:12px;background:#fff;padding:1rem}.kpi-row{display:flex;align-items:center;justify-content:space-between}.kpi p{margin:0;font-size:.85rem;color:#6b7280}.kpi h3{margin:.24rem 0 0;font-size:1.66rem;color:#065f46}.icon-chip{width:44px;height:44px;border-radius:12px;display:grid;place-items:center}.icon-chip.blue{background:#eff6ff;color:#2563eb}.icon-chip.green{background:#ecfdf3;color:#16a34a}.icon-chip.purple{background:#f3e8ff;color:#9333ea}.icon-chip.orange{background:#fff7ed;color:#ea580c}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.activity-item{display:flex;gap:.8rem;align-items:flex-start;border-radius:10px;background:#10b98114;padding:.9rem}.activity-dot{width:8px;height:8px;margin-top:.35rem;border-radius:50%;background:#10b981}.empty{color:#6b7280;font-style:italic}.state{padding:1rem}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:1rem}.error{margin:0;color:#b32020;font-size:.92rem}.muted{color:#6b7280;font-size:.86rem}.quick-link{margin-top:.7rem;display:inline-flex;font-weight:500;color:#047857;text-decoration:none}.quick-link:hover{text-decoration:underline}.profile-avatar-editor{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;padding:.8rem;border:1px dashed rgba(16,185,129,.28);border-radius:10px;background:#f8fffb}.profile-avatar-shell{position:relative;width:72px;height:72px;border-radius:999px;overflow:hidden}.profile-avatar-preview{width:100%;height:100%;border-radius:999px;background:#10b981;color:#fff;display:grid;place-items:center;font-weight:700}.profile-avatar-preview img{width:100%;height:100%;object-fit:cover}.profile-avatar-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:.4rem;background:#0f172a7a;opacity:0;pointer-events:none;transition:opacity .16s ease}.profile-avatar-shell:hover .profile-avatar-overlay,.profile-avatar-shell:focus-within .profile-avatar-overlay{opacity:1;pointer-events:auto}.profile-avatar-icon{width:28px;height:28px;border-radius:999px;padding:0;background:#fffffff2;color:#0f172a;display:inline-grid;place-items:center}.profile-avatar-icon:hover:not(:disabled){background:#fff}.profile-avatar-icon.danger{color:#b91c1c}.profile-avatar-hidden-input{display:none}.profile-avatar-actions{min-width:0;flex:1;display:grid;gap:.45rem}.auth-shell-blue{padding:2rem 1rem;background:linear-gradient(180deg,#eaf3ff,#fff)}.auth-panel{width:100%;max-width:520px}.auth-brand{display:grid;justify-items:center;margin-bottom:1.5rem;text-align:center}.auth-brand-mark{display:inline-grid;place-items:center;color:#1976d2}.auth-brand h1{margin:.2rem 0 0;font-size:28px;line-height:1.15;color:#1976d2}.auth-brand p{margin:.15rem 0 0;font-size:12px;font-weight:500;color:#757575}.auth-hero-copy{margin-bottom:1.5rem;text-align:center}.auth-hero-copy h2{margin:0 0 .45rem;font-size:34px;line-height:1.12;color:#212121}.auth-hero-copy p{margin:0;font-size:15px;font-weight:500;color:#757575}.auth-card-figma{width:100%;border:0;border-radius:24px;background:#fff;padding:2rem;box-shadow:0 10px 26px #144b8a1a}.auth-card-register{padding-top:1.25rem}.auth-card-head{margin-bottom:1.5rem}.auth-card-head h3{margin:0 0 .3rem;font-size:24px;line-height:1.2;color:#212121}.auth-card-head p{margin:0;font-size:14px;font-weight:500;color:#7f8ea3}.auth-form-grid{display:grid;gap:1rem}.auth-field{display:grid;gap:.5rem}.auth-label{font-size:13px;font-weight:600;color:#212121}.auth-input-wrap{position:relative}.auth-input-icon{position:absolute;left:.9rem;top:50%;transform:translateY(-50%);color:#7f8ea3;pointer-events:none}.auth-control{height:48px;border-radius:12px;border:1px solid #d6e4f5;background:#f7faff;padding:0 1rem;color:#212121;font-size:15px;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.auth-control::placeholder{color:#9aa7b7}.auth-control:focus{outline:none;border-color:#1976d2;box-shadow:0 0 0 3px #1976d21f;background:#fff}.auth-control-icon{padding-left:2.7rem}.auth-control-icon-trailing{padding-right:2.8rem}.auth-input-toggle{position:absolute;right:.85rem;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:999px;padding:0;display:inline-grid;place-items:center;background:transparent;color:#7f8ea3}.auth-input-toggle:hover{background:#1976d214;color:#1976d2}.auth-row-end{display:flex;justify-content:flex-end}.auth-text-link{padding:0;border:0;background:transparent;color:#1976d2;font-size:13px;font-weight:600}.auth-text-link:hover{background:transparent;color:#125ca5}.auth-error-banner{display:flex;align-items:center;gap:.65rem;border-radius:12px;background:#ffebee;color:#e53935;padding:.85rem 1rem}.auth-error-banner p{margin:0;font-size:14px;font-weight:500}.auth-submit{width:100%;height:48px;border-radius:18px;background:#1976d2;color:#fff;font-size:15px;font-weight:600}.auth-submit:hover:not(:disabled){background:#1565c0}.auth-switch-copy{margin:0;padding-top:.15rem;text-align:center;font-size:14px;font-weight:500;color:#212121}.auth-switch-copy a{color:#1976d2;text-decoration:none}.auth-switch-copy a:hover{text-decoration:underline}.auth-role-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:0 0 1.5rem;padding:0;border:0}.auth-role-option{height:44px;border-radius:12px;border:1px solid #d6e4f5;background:#f7faff;color:#757575;padding:.3rem .15rem;display:grid;justify-items:center;align-content:center;gap:.1rem}.auth-role-option:hover{background:#eef6ff}.auth-role-option.active{border-color:#1976d2;background:#1976d2;color:#fff}.auth-role-option span{font-size:11px;font-weight:600;line-height:1}.auth-hint{font-size:12px;font-weight:500;color:#7f8ea3}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(hover:none){.profile-avatar-overlay{opacity:1;pointer-events:auto;background:#0f172a59}}.doctor-patients-page .two-col{gap:.8rem}.doctor-patients-page .patient-card{padding:.9rem 1rem;display:grid;gap:.72rem}.doctor-patients-page .patient-card-top{display:flex;align-items:center;gap:.6rem}.doctor-patients-page .patient-profile-link{text-decoration:none;border-radius:10px}.doctor-patients-page .patient-profile-link:focus-visible{outline:2px solid rgba(16,185,129,.35);outline-offset:2px}.doctor-patients-page .patient-avatar{width:42px;height:42px;font-size:.8rem}.doctor-patients-page .patient-identity{min-width:0}.doctor-patients-page .patient-identity h3{margin:0;font-size:1.03rem;line-height:1.2}.doctor-patients-page .patient-email{margin:.15rem 0 0}.doctor-patients-page .patient-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.doctor-patients-page .patient-metric{border:1px solid rgba(16,185,129,.16);border-radius:10px;background:#f8fffb;padding:.45rem .5rem;display:flex;align-items:center;justify-content:space-between;gap:.35rem}.doctor-patients-page .patient-metric .status{margin-right:0;padding:.14rem .42rem}.doctor-patients-page .patient-metric strong{font-size:1.02rem;color:#0f172a}.doctor-patients-page .patient-meta{margin:0;padding-top:.45rem;border-top:1px dashed rgba(16,185,129,.22)}.doctor-patients-page .patient-empty{font-style:normal}.pharmacy-prescriptions-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:.75rem}.pharmacy-prescriptions-toolbar .pharmacy-search-wrap{display:flex;align-items:center;gap:.5rem;min-width:0;border:1px solid rgba(16,185,129,.24);border-radius:10px;background:#f0fdf4;padding:.6rem .75rem}.pharmacy-prescriptions-toolbar .pharmacy-search-wrap input{border:0;background:transparent;padding:0;min-width:0}.pharmacy-prescriptions-toolbar .pharmacy-search-wrap input:focus{outline:none}.pharmacy-prescriptions-toolbar .pharmacy-status-filter{min-width:0}.diagnostic-lab-orders-page .diagnostic-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:end;gap:.75rem}.diagnostic-lab-orders-page .diagnostic-search-wrap{display:flex;align-items:center;gap:.5rem;min-width:0;border:1px solid rgba(16,185,129,.24);border-radius:10px;background:#f0fdf4;padding:.6rem .75rem}.diagnostic-lab-orders-page .diagnostic-search-wrap input{border:0;background:transparent;padding:0;min-width:0}.diagnostic-lab-orders-page .diagnostic-search-wrap input:focus{outline:none}.diagnostic-lab-orders-page .diagnostic-filter-wrap{display:grid;gap:.35rem}.diagnostic-lab-orders-page .diagnostic-filter-wrap label{font-size:.8rem;color:#6b7280}.diagnostic-lab-orders-page .diagnostic-file-chips{display:flex;flex-wrap:wrap;gap:.35rem}.diagnostic-lab-orders-page .diagnostic-file-chip{display:inline-flex;align-items:center;gap:.35rem;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;padding:.15rem .5rem;max-width:100%}.diagnostic-lab-orders-page .diagnostic-file-chip span{font-size:.78rem}.diagnostic-lab-orders-page .chip-remove{width:20px;height:20px;border-radius:50%;padding:0;background:#dbeafe;color:#1e3a8a;font-size:.72rem;line-height:1}.diagnostic-lab-orders-page .chip-remove:hover:not(:disabled){background:#bfdbfe}@media(max-width:1024px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doctor-patients-page .patient-metrics{grid-template-columns:1fr}.pharmacy-prescriptions-toolbar,.diagnostic-lab-orders-page .diagnostic-toolbar{grid-template-columns:1fr;align-items:stretch}}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:20;left:0;top:0;height:100vh;width:252px;box-shadow:0 10px 24px #00000014}.page{padding:1rem}.page-head{flex-direction:column;align-items:flex-start}.two-col,.metric-grid{grid-template-columns:1fr}}@media(max-width:620px){.kpi-grid,.kpi-three{grid-template-columns:1fr}.header-meta span{display:none}.auth-shell-blue{padding:1.25rem .85rem}.auth-hero-copy h2{font-size:30px}.auth-card-figma{padding:1.25rem;border-radius:20px}.auth-role-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
