: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-back-link{display:inline-flex;align-items:center;gap:.35rem;margin:0 0 .85rem;padding:0;border:0;background:transparent;color:#1976d2;font-size:13px;font-weight:700}.auth-back-link:hover{background:transparent;color:#125ca5}.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-success-banner{display:flex;align-items:center;gap:.65rem;border-radius:12px;background:#e8f5e9;color:#178447;padding:.85rem 1rem}.auth-success-banner p{margin:0;font-size:14px;font-weight:500}.auth-code-button{width:100%;height:48px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1px solid #b9d8f7;border-radius:16px;background:#eef6ff;color:#1976d2;font-size:14px;font-weight:700}.auth-code-button:hover:not(:disabled){background:#dfefff}.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))}}.admin-shell{min-height:100vh;display:flex;background:radial-gradient(circle at top right,rgba(6,182,212,.1),transparent 25%),linear-gradient(180deg,#f8f9fc,#f3f6fb);color:#111827}.admin-sidebar{position:sticky;top:0;width:288px;height:100vh;flex-shrink:0;background:#fff;border-right:1px solid #e2e8f0;transition:width .28s ease;overflow:hidden}.admin-sidebar.collapsed{width:84px}.admin-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e2e8f0}.admin-brand{display:flex;align-items:center;gap:.8rem}.admin-brand-mark,.admin-profile-avatar,.admin-mini-avatar,.admin-entity-avatar,.admin-square-icon,.admin-stat-icon{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#1e6fff,#06b6d4);box-shadow:0 14px 28px #1e6fff2e}.admin-brand-mark{width:42px;height:42px;border-radius:14px}.admin-brand h2,.admin-brand p,.admin-admin-card p,.admin-admin-card strong{margin:0}.admin-brand h2{font-size:1.05rem}.admin-brand p{color:#64748b;font-size:.78rem}.admin-collapse-btn,.admin-table-icon{width:34px;height:34px;border-radius:10px;padding:0;background:transparent;color:#64748b}.admin-collapse-btn:hover,.admin-table-icon:hover{background:#f1f5f9}.admin-nav{display:grid;gap:.35rem;padding:1rem}.admin-nav-link{display:flex;align-items:center;gap:.8rem;min-height:46px;padding:.75rem .9rem;border-radius:14px;text-decoration:none;color:#334155;transition:background-color .16s ease,color .16s ease,border-color .16s ease;border:1px solid transparent}.admin-nav-link:hover{background:#f8fbff}.admin-nav-link.active{color:#1e6fff;background:linear-gradient(90deg,#1e6fff1a,#06b6d414);border-color:#1e6fff2e}.admin-nav-link span{flex:1;font-size:.92rem}.admin-nav-link em{font-style:normal;min-width:22px;padding:.12rem .42rem;border-radius:999px;text-align:center;font-size:.72rem;color:#fff;background:#ef4444}.admin-sidebar.collapsed .admin-nav{padding-inline:.8rem}.admin-sidebar.collapsed .admin-nav-link{justify-content:center;padding-inline:0}.admin-sidebar-foot{margin-top:auto;padding:1rem;border-top:1px solid #e2e8f0}.admin-admin-card{display:flex;align-items:center;gap:.75rem;padding:.85rem;border-radius:18px;background:#f8fbff;text-decoration:none;margin-bottom:.75rem}.admin-profile-avatar,.admin-mini-avatar{width:40px;height:40px;border-radius:999px;font-weight:700;font-size:.82rem}.admin-admin-card strong{display:block;color:#0f172a;font-size:.9rem}.admin-admin-card p{color:#64748b;font-size:.78rem}.admin-logout{width:100%;display:flex;align-items:center;gap:.55rem;border-radius:14px;background:transparent;color:#64748b}.admin-logout:hover{background:#ef444414;color:#b91c1c}.admin-main{min-width:0;flex:1;display:flex;flex-direction:column}.admin-header{height:64px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 1.5rem;background:#ffffffeb;border-bottom:1px solid #e2e8f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:sticky;top:0;z-index:10}.admin-header-left,.admin-header-right,.admin-chip-row,.admin-page-actions,.admin-segmented,.admin-legend-list div,.admin-health-card>div,.admin-entity-headline,.admin-entity-meta,.admin-entity-stats,.admin-card-list,.admin-table-toolbar,.admin-pagination,.admin-pagination div{display:flex;align-items:center;gap:.75rem}.admin-header-left{flex:1;min-width:0}.admin-search-wrap{position:relative;flex:1;max-width:440px;min-width:0;display:flex;align-items:center;gap:.6rem;padding:.72rem .9rem;background:#f3f3f5;border:1px solid transparent;border-radius:16px}.admin-search-wrap.wide{max-width:480px}.admin-search-wrap svg{color:#94a3b8;flex-shrink:0}.admin-search-wrap input{min-width:0;padding:0;border:0;background:transparent}.admin-search-wrap input:focus{outline:none}.admin-chip{min-height:34px;border-radius:12px;padding:.45rem .9rem;font-size:.78rem;color:#475569}.admin-chip-muted{background:#ececf0;color:#64748b}.admin-chip-outline{background:#fff;color:#0f172a;border:1px solid #e2e8f0}.admin-system-pill{display:inline-flex;align-items:center;gap:.55rem;padding:.45rem .8rem;border-radius:12px;background:#10b9811a;color:#10b981;font-size:.78rem;font-weight:600}.admin-system-pill .dot{width:8px;height:8px;border-radius:50%;background:currentColor}.admin-quick-menu{position:relative}.admin-quick-menu:hover .admin-quick-menu-card{opacity:1;visibility:visible;transform:translateY(0)}.admin-quick-menu-card{position:absolute;right:0;top:calc(100% + .6rem);width:210px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:.5rem;box-shadow:0 18px 40px #0f172a1f;opacity:0;visibility:hidden;transform:translateY(4px);transition:all .16s ease}.admin-quick-menu-card button{width:100%;display:flex;align-items:center;gap:.6rem;padding:.7rem .8rem;border-radius:12px;background:transparent;color:#1f2937}.admin-quick-menu-card button:hover{background:#f8fafc}.admin-icon-button,.admin-profile-trigger{border-radius:12px;background:transparent;color:#0f172a;padding:.55rem}.admin-icon-button:hover,.admin-profile-trigger:hover{background:#f8fafc}.admin-bell{position:relative}.admin-bell span{position:absolute;top:-3px;right:-3px;width:18px;height:18px;border-radius:999px;display:grid;place-items:center;background:#ef4444;color:#fff;font-size:.65rem;font-weight:700}.admin-divider{width:1px;height:30px;background:#e2e8f0}.admin-profile-trigger{display:flex;align-items:center;gap:.55rem}.admin-header-logout{display:inline-flex;align-items:center;gap:.45rem;padding:.58rem .85rem;border-radius:12px;background:#ef444414;color:#dc2626;font-size:.86rem;font-weight:700}.admin-header-logout:hover{background:#ef444421}.admin-notice-bar{margin:1rem 1.5rem 0;display:flex;align-items:center;gap:.65rem;padding:.85rem 1rem;border-radius:16px;background:#fff7ed;color:#9a3412;border:1px solid #fdba74}.admin-notice-bar span{flex:1}.admin-notice-bar button{background:transparent;color:inherit;padding:.2rem .3rem}.admin-content{padding:2rem}.admin-page-stack{display:grid;gap:1.5rem}.admin-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.admin-page-head h1,.admin-page-head p,.admin-panel-head h3,.admin-panel-head p,.admin-highlight-card p,.admin-highlight-card span,.admin-placeholder-card h4,.admin-placeholder-card p{margin:0}.admin-page-head h1{font-size:2rem;line-height:1.15;color:#0f172a}.admin-page-head p,.admin-panel-head p,.admin-subtle-text,.admin-activity-item span,.admin-highlight-card p,.admin-highlight-card span,.admin-placeholder-card p,.admin-placeholder-card li{color:#64748b}.admin-btn{display:inline-flex;align-items:center;gap:.55rem;min-height:42px;border-radius:16px;font-size:.9rem;font-weight:600;padding:.72rem 1rem}.admin-btn-primary{background:linear-gradient(90deg,#1e6fff,#06b6d4);color:#fff}.admin-btn-primary:hover{background:linear-gradient(90deg,#1d63e6,#0891b2)}.admin-btn-secondary{background:#fff;color:#0f172a;border:1px solid #e2e8f0}.admin-btn-secondary:hover{background:#f8fafc}.admin-kpi-grid,.admin-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}.admin-stat-card,.admin-panel,.admin-highlight-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 30px #0f172a0d}.admin-stat-card{border-radius:20px;padding:1.5rem}.admin-stat-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.admin-stat-icon,.admin-square-icon{width:48px;height:48px;border-radius:16px}.admin-square-icon{flex-shrink:0}.admin-stat-icon.green,.admin-square-icon.green{background:linear-gradient(135deg,#10b981,#06b6d4)}.admin-stat-icon.cyan,.admin-square-icon.cyan{background:linear-gradient(135deg,#06b6d4,#1e6fff)}.admin-stat-icon.orange,.admin-square-icon.orange{background:linear-gradient(135deg,#f59e0b,#ef4444)}.admin-stat-icon.purple,.admin-square-icon.purple{background:linear-gradient(135deg,#8b5cf6,#ec4899)}.admin-stat-icon.red,.admin-square-icon.red{background:linear-gradient(135deg,#ef4444,#dc2626)}.admin-stat-icon.cyan-purple{background:linear-gradient(135deg,#06b6d4,#8b5cf6)}.admin-stat-trend{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .5rem;border-radius:10px;font-size:.74rem;font-weight:700}.admin-stat-trend.up{background:#10b9811a;color:#10b981}.admin-stat-trend.down{background:#ef44441a;color:#ef4444}.admin-stat-card p{color:#64748b;margin:0 0 .2rem;font-size:.9rem}.admin-stat-card h3{margin:0 0 .2rem;font-size:1.9rem;line-height:1.1;color:#0f172a}.admin-stat-card small{color:#94a3b8}.admin-panel{border-radius:24px;padding:1.5rem}.admin-panel-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.admin-panel-head h3{color:#0f172a;font-size:1.1rem}.admin-segmented{flex-wrap:wrap}.admin-segmented button,.admin-pagination button,.admin-tabs button{background:transparent;color:#64748b}.admin-segmented button.active{background:#1e6fff1a;color:#1e6fff}.admin-two-third-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:1.5rem}.admin-two-col-grid,.admin-placeholder-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.admin-chart{width:100%}.admin-chart-small{margin-bottom:.75rem}.admin-legend-list{display:grid;gap:.55rem}.admin-legend-dot{width:11px;height:11px;border-radius:50%}.admin-legend-list strong{flex:1;font-size:.88rem;font-weight:500}.admin-legend-list em{font-style:normal;color:#0f172a;font-size:.88rem;font-weight:600}.admin-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.admin-health-card{border-radius:18px;padding:1rem;border:1px solid transparent}.admin-health-card span{text-transform:capitalize;font-size:.86rem}.admin-health-card strong,.admin-highlight-card strong{display:block;margin-top:.5rem;font-size:1.55rem;color:#0f172a}.admin-health-card small{text-transform:capitalize}.admin-health-card.healthy{background:#10b9811a;color:#059669;border-color:#10b9812e}.admin-health-card.degraded{background:#f59e0b1a;color:#d97706;border-color:#f59e0b2e}.admin-health-card.critical{background:#ef44441a;color:#dc2626;border-color:#ef44442e}.admin-activity-list{display:grid;gap:1rem}.admin-activity-item{display:flex;gap:.8rem}.admin-activity-item p{margin:0}.admin-table-panel{padding:0;overflow:hidden}.admin-tabs{display:flex;align-items:center;gap:0;overflow-x:auto;border-bottom:1px solid #e2e8f0}.admin-tabs button{display:inline-flex;align-items:center;gap:.5rem;padding:1rem 1.25rem;border-radius:0;border-bottom:2px solid transparent;white-space:nowrap}.admin-tabs button.active{color:#1e6fff;border-bottom-color:#1e6fff}.admin-tabs button em{font-style:normal;background:#ececf0;color:#475569;padding:.12rem .45rem;border-radius:999px;font-size:.72rem}.admin-table-toolbar{justify-content:space-between;padding:1.5rem}.admin-table-wrap{overflow-x:auto;padding:0 1.5rem}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;vertical-align:middle;padding:1rem;border-bottom:1px solid #e2e8f0;font-size:.9rem}.admin-table th{color:#64748b;font-weight:600}.admin-table tr:hover td{background:#f8fafcbf}.admin-table .actions{text-align:right}.admin-user-cell,.admin-cell-stack,.admin-entity-main,.admin-entity-actions,.admin-entity-date{display:flex;align-items:center;gap:.75rem}.admin-user-cell strong,.admin-cell-stack strong,.admin-entity-headline h3,.admin-entity-copy h4,.admin-entity-date strong{color:#0f172a}.admin-user-cell span,.admin-cell-stack span,.admin-entity-meta span,.admin-entity-date span{color:#64748b;font-size:.82rem}.admin-cell-stack{align-items:flex-start;flex-direction:column;gap:.15rem}.admin-role-pill,.admin-status-badge{display:inline-flex;align-items:center;gap:.32rem;border-radius:12px;padding:.34rem .68rem;font-size:.75rem;font-weight:700}.admin-role-pill{background:#ececf0;color:#334155}.admin-role-pill.video{background:#06b6d41a;color:#0891b2}.admin-role-pill.inperson{background:#8b5cf61a;color:#7c3aed}.admin-status-badge.active,.admin-status-badge.healthy,.admin-status-badge.resolved{background:#10b9811a;color:#059669}.admin-status-badge.pending,.admin-status-badge.high,.admin-status-badge.in-progress,.admin-status-badge.cancelled,.admin-status-badge.degraded{background:#f59e0b1a;color:#d97706}.admin-status-badge.suspended,.admin-status-badge.flagged,.admin-status-badge.open,.admin-status-badge.critical,.admin-status-badge.red{background:#ef44441a;color:#dc2626}.admin-status-badge.scheduled,.admin-status-badge.medium{background:#1e6fff1a;color:#1e6fff}.admin-icon-success{color:#10b981}.admin-icon-muted{color:#94a3b8}.admin-card-list{display:grid;gap:1rem}.admin-entity-card{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem;border-radius:20px;background:#f8fafcb3;border:1px solid #e2e8f0}.admin-entity-card.compact{align-items:center}.admin-entity-avatar{width:64px;height:64px;border-radius:20px;font-size:1.1rem;font-weight:700}.admin-entity-copy{display:grid;gap:.5rem}.admin-entity-headline{flex-wrap:wrap}.admin-entity-headline h3,.admin-entity-copy h4{margin:0}.admin-entity-meta,.admin-entity-stats{flex-wrap:wrap;color:#64748b;font-size:.86rem}.admin-entity-stats span{display:inline-flex;align-items:center;gap:.35rem}.admin-entity-actions{justify-content:flex-end;flex-wrap:wrap}.admin-entity-date{flex-direction:column;align-items:flex-end;gap:.1rem}.admin-pagination{justify-content:space-between;padding:1.5rem;border-top:1px solid #e2e8f0}.admin-pagination p{margin:0;color:#64748b;font-size:.88rem}.admin-pagination button.active{background:#1e6fff;color:#fff}.admin-highlight-card,.admin-placeholder-card{border-radius:20px;padding:1.5rem}.admin-highlight-card span{display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.5rem}.admin-placeholder-panel{display:grid;gap:1rem}.admin-placeholder-card{background:#f8fbff;border:1px solid #dbeafe}.admin-placeholder-card ul{margin:.85rem 0 0;padding-left:1.1rem;display:grid;gap:.4rem}.admin-inline-state{margin:0;color:#64748b;font-size:.9rem}.admin-inline-state.padded{padding:0 1.5rem 1rem}.admin-detail-panel{margin-top:1.25rem;border-top:1px solid #e2e8f0;padding-top:1.25rem}.admin-modal-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:#0f172a66;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.admin-modal-dialog{width:min(960px,100%);max-height:calc(100vh - 3rem);overflow-y:auto;border-radius:28px;background:#fff;padding:1.5rem;box-shadow:0 30px 80px #0f172a3d}.admin-modal-dialog .admin-detail-panel{margin-top:0;border-top:0;padding-top:0}.admin-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-detail-grid>div{display:grid;gap:.2rem;padding:1rem;border-radius:16px;background:#f8fbff;border:1px solid #dbeafe}.admin-detail-grid>div.wide{grid-column:1 / -1}.admin-detail-grid span{color:#64748b;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.admin-detail-grid strong{color:#0f172a;font-size:.95rem;line-height:1.45}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-form-field{display:grid;gap:.45rem}.admin-form-field span{color:#64748b;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.admin-form-field input,.admin-form-field textarea{width:100%;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#0f172a;padding:.8rem .95rem;font:inherit}.admin-form-field textarea{resize:vertical;min-height:120px}.admin-form-field-wide,.admin-form-actions{grid-column:1 / -1}.admin-form-actions{display:flex;justify-content:flex-end}.admin-inline-tag{display:inline-flex;align-items:center;width:fit-content;margin-top:.75rem;padding:.28rem .6rem;border-radius:999px;font-size:.74rem;font-weight:700;text-transform:capitalize}.admin-inline-tag.healthy{background:#10b9811a;color:#059669}.admin-inline-tag.degraded{background:#f59e0b1a;color:#d97706}.admin-inline-tag.critical{background:#ef44441a;color:#dc2626}@media(max-width:1200px){.admin-kpi-grid,.admin-summary-grid,.admin-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-two-third-grid,.admin-two-col-grid,.admin-placeholder-content,.admin-detail-grid,.admin-form-grid{grid-template-columns:1fr}}@media(max-width:960px){.admin-shell{display:block}.admin-sidebar,.admin-sidebar.collapsed{position:static;width:100%;height:auto}.admin-sidebar.collapsed .admin-nav-link{justify-content:flex-start;padding-inline:.9rem}.admin-header,.admin-page-head,.admin-table-toolbar,.admin-entity-card,.admin-entity-card.compact{flex-direction:column;align-items:stretch}.admin-header-left,.admin-header-right,.admin-page-actions{width:100%;flex-wrap:wrap}}@media(max-width:640px){.admin-content{padding:1rem}.admin-header{padding:1rem;height:auto}.admin-kpi-grid,.admin-summary-grid,.admin-health-grid{grid-template-columns:1fr}.admin-page-head h1{font-size:1.7rem}.admin-tabs button{padding-inline:1rem}}
