:root{--primary-color:#2563eb;--primary-hover:#1d4ed8;--bg-gradient-start:#eff6ff;--bg-gradient-mid:#eef2ff;--bg-gradient-end:#dbeafe;--bg-gray:#f9fafb;--input-bg:#ffffff;--text-color:#09090b;--text-muted:#64748b;--text-gray-400:#9ca3af;--text-gray-500:#6b7280;--text-gray-600:#4b5563;--border-color:#e2e8f0;--blue-100:#dbeafe;--green-100:#dcfce7;--green-600:#16a34a;--purple-100:#f3e8ff;--purple-600:#9333ea;--orange-100:#ffedd5;--orange-600:#ea580c;--color-blue-50:#eff6ff;--color-blue-200:#bedbff;--ds-blue:#2563eb;--ds-blue-hover:#1d4ed8;--ds-red:#dc2626;--ds-red-hover:#b91c1c;--ds-red-bg:#fef2f2;--ds-red-border:#fecaca;--ds-gray-50:#f9fafb;--ds-gray-100:#f3f4f6;--ds-gray-200:#e5e7eb;--ds-gray-500:#6b7280;--ds-gray-600:#4b5563;--ds-gray-900:#111827;--ds-white:#ffffff;--ds-radius:0.75rem;--ds-green:#16a34a;--ds-green-light:#dcfce7;--ds-green-bg:#f0fdf4;--ds-purple:#9333ea;--ds-purple-light:#f3e8ff;--ds-orange:#ea580c;--ds-orange-light:#ffedd5;--card-shadow:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 8px 10px -6px rgba(0, 0, 0, 0.1);--font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}*{box-sizing:border-box;margin:0;padding:0}a{text-decoration:auto}body{font-family:var(--font-family);color:var(--text-color)}label{margin-bottom:10px;display:block}.page-auth{height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(to bottom right,var(--bg-gradient-start),var(--bg-gradient-mid),var(--bg-gradient-end))}.auth-container{width:100%;padding:1rem;display:flex;justify-content:center}.align-center,.items-center,.logo-wrapper,.page-auth .card-header{align-items:center}.auth-card{background-color:#fff;width:100%;max-width:448px;border-radius:.75rem;border:1px solid var(--border-color);box-shadow:var(--card-shadow);padding-bottom:1.5rem}.card-header{padding:1rem 1.5rem;display:flex;align-items:flex-start;flex-direction:column;gap:.375rem}.logo-wrapper{background-color:var(--primary-color);padding:1rem;border-radius:9999px;display:flex;justify-content:center;margin-bottom:.5rem}.icon-logo{color:#fff;width:32px;height:32px}.card-title{font-size:1rem;font-weight:600;line-height:2rem;text-align:center}.card-description{color:var(--text-muted);font-size:.875rem;text-align:center;margin-top:.5rem}.card-content{padding:0 1.5rem}.form-group,.mb-4,.settings-page .form-group,.settings-page .mb-4{margin-bottom:1rem}.form-group label{display:flex;align-items:center;font-size:.875rem;font-weight:500;margin-bottom:.5rem;cursor:default}.input-with-icon,.input-wrapper,.settings-page .input-wrapper{position:relative}.input-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);width:1.25rem;height:1.25rem;color:#9ca3af}.page-dashboard{background-color:var(--bg-gray);min-height:100vh;display:block}.main-header{background-color:#fff;border-bottom:1px solid var(--border-color);position:sticky;top:0;z-index:50}.btn-primary,.logo-box{background-color:var(--primary-color)}.icon-inside,.search-icon{top:50%;transform:translateY(-50%)}.header-container{max-width:1280px;margin:0 auto;padding:0 1.5rem;height:4rem;display:flex;justify-content:space-between;align-items:center}.header-left,.settings-page .page-title-group{display:flex;align-items:center;gap:.75rem}.logo-box{padding:.5rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.brand-text h1{font-size:1.25rem;font-weight:600;line-height:1.2}.brand-text p,.user-role{font-size:.75rem;color:var(--text-muted)}.checkbox-label,.welcome-text p{color:var(--text-gray-600)}.header-right,.profile-main,.settings-page .topbar-content{display:flex;align-items:center;gap:1rem}.dashboard-main{max-width:1280px;margin:0 auto;padding:2rem 1.5rem}.ml-auto,.mx-auto{margin-left:auto}.welcome-section{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center}.welcome-text h2{font-size:1.5rem;margin-bottom:.5rem;font-weight:600}input[type=email],input[type=password],input[type=tel],input[type=text],select{display:flex;height:2.25rem;width:100%;border-radius:.375rem;border:1px solid var(--border-color);background-color:var(--input-bg);padding:.25rem .75rem;font-size:.875rem;transition:box-shadow .1s,border-color .1s;outline:0;color:var(--text-color)}.input-with-icon input,.input-wrapper input{padding-left:2.5rem}input::placeholder{color:var(--text-muted)}input:focus,select:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(37,99,235,.2)}.checkbox-wrapper{margin-bottom:.75rem;display:flex;align-items:flex-start}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem}.btn-outline,.btn-primary{align-items:center;padding:0 1rem;display:inline-flex;font-weight:500;font-size:.875rem;white-space:nowrap}input[type=checkbox]{width:1rem;height:1rem;border-radius:.25rem;border:1px solid #d1d5db;cursor:pointer;accent-color:var(--primary-color)}.btn-primary{height:36px;gap:8px;justify-content:center;color:#fff;border:none;border-radius:.375rem;cursor:pointer;transition:background-color .2s}.h-8,.icon-btn{height:2rem}.btn-primary:hover{background-color:var(--primary-hover)}.btn-outline{gap:5px;justify-content:center;border:1px solid var(--border-color);background-color:#fff;color:var(--text-color);border-radius:.375rem;cursor:pointer;transition:.2s}.icon-btn,.user-profile{align-items:center;cursor:pointer}.btn-outline:hover,.btn-period-sm:hover,.filter-chip.outline:hover,.hover-bg-gray:hover{background-color:#f3f4f6}.icon-btn{display:inline-flex;justify-content:center;width:2rem;border-radius:.375rem;background:0 0;border:none;transition:background .2s}.flex-1,.settings-page .btn-block,.w-full{width:100%}.h-9,.size-9{height:2.25rem}.size-9{width:2.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.user-profile{display:flex;gap:.75rem;padding:.5rem .75rem;border-radius:.5rem}.avatar-small{width:2.5rem;height:2.5rem;background-color:var(--primary-color);color:#fff;border-radius:9999px;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:500;flex-shrink:0}.card,.stat-card{border:1px solid var(--border-color)}.user-info{text-align:left}.user-name{font-size:.875rem;font-weight:500}.card-footer{padding-top:1rem;margin-top:1rem;border-top:1px solid var(--border-color)}.footer-text{text-align:center;font-size:.875rem;color:var(--text-gray-500);display:flex;flex-direction:column;gap:.75rem}.stats-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-bottom:2rem}.stat-card{background-color:#fff;border-radius:.75rem;cursor:pointer;transition:.2s;box-shadow:0 1px 2px rgba(0,0,0,.05)}.stat-card:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}.hover-border-blue:hover{border-color:#93c5fd}.hover-border-green:hover{border-color:#86efac}.hover-border-purple:hover{border-color:#d8b4fe}.border-orange-300,.hover-border-orange:hover{border-color:#fdba74}.stat-content{padding:1.5rem;display:flex;justify-content:space-between;align-items:flex-start}.log-desc,.stat-label{font-size:.875rem;color:var(--text-gray-600)}.stat-value{font-size:1.875rem;margin-top:.5rem;font-weight:400;line-height:1}.stat-trend{font-size:.75rem;margin-top:.25rem;display:flex;align-items:center;gap:.25rem}.stat-icon{padding:.75rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.text-white,.zap-btn.active .count{color:#fff}.text-green-600{color:var(--green-600)}.text-purple-600{color:var(--purple-600)}.text-orange-600{color:var(--orange-600)}.bg-blue-100{background-color:var(--blue-100)}.bg-green-100{background-color:var(--green-100)}.bg-purple-100{background-color:var(--purple-100)}.bg-orange-100{background-color:var(--orange-100)}.card{background:#fff;border-radius:.75rem}.patient-item:hover,.search-input{background-color:var(--bg-gray)}.patient-list-card .card-header{padding:1.5rem;border-bottom:1px solid #f3f4f6;align-items:normal}.search-icon{color:var(--text-gray-400)}.search-input{width:100%;height:3rem;padding-left:3rem!important;border:1px solid var(--border-color);outline:0;transition:border .2s;color:var(--text-color)}.empty-state{text-align:center;padding:3rem 0}.empty-icon-circle,.empty-icon-wrapper{display:inline-flex;align-items:center;justify-content:center;width:4rem;height:4rem;border-radius:9999px;background-color:#f3f4f6;margin-bottom:1rem}.avatar-circle,.empty-stats{align-items:center;display:flex}.empty-text-main{color:var(--text-gray-500);margin-bottom:.5rem;font-size:1rem}.empty-text-sub{color:var(--text-gray-400);font-size:.875rem}.empty-stats{margin-top:1rem;justify-content:center;gap:.25rem;font-size:.75rem;color:var(--text-gray-500)}.logs-stack,.patient-list{display:flex;flex-direction:column;gap:.75rem}.patient-item{padding:1rem;border:1px solid var(--border-color);border-radius:.5rem;transition:background-color .2s;cursor:pointer;background:#fff}.patient-info-wrapper{display:flex;align-items:flex-start;gap:.75rem}.avatar-circle{width:3rem;height:3rem;border-radius:9999px;background-color:var(--primary-color);color:#fff;justify-content:center;font-size:1rem;flex-shrink:0}.name-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.patient-name{font-weight:500;font-size:1rem}.badge-blue{display:inline-flex;align-items:center;border-radius:.375rem;padding:.125rem .5rem;font-size:.75rem;font-weight:500;background-color:var(--blue-100);color:#1d4ed8;border:1px solid #bfdbfe;white-space:nowrap}.patient-meta{font-size:.875rem;color:var(--text-gray-600);margin-top:.25rem}.modal-overlay{position:fixed;inset:0;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:100}.modal-card{background-color:#fff;overflow-y:auto;box-shadow:var(--card-shadow);display:flex;flex-direction:column}.modal-header{border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.log-patient-info,.modal-actions,.modal-title{display:flex;align-items:center;gap:.5rem}.btn-close-modal{color:var(--text-gray-500)}.form-grid{display:grid;grid-template-columns:1fr}.icon-inside{position:absolute;left:.75rem;color:var(--text-gray-400);width:1rem;height:1rem}.modal-footer{display:flex;margin-top:1rem}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.patient-list-card{background:#fff;border:1px solid var(--border-color);border-radius:.75rem;overflow:hidden}.patient-list-card h4{font-size:1.5rem;font-weight:400;margin-bottom:.25rem;line-height:2rem}.patient-list-card p{color:var(--text-muted);font-size:1rem}.p-6,.patient-list-card .card-content{padding:1.5rem}.search-wrapper{position:relative;margin-bottom:2rem}.search-icon{position:absolute;left:1rem;color:#9ca3af;width:1.25rem;height:1.25rem}.search-input:focus{background-color:#fff;border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(37,99,235,.1)}.empty-state-container{text-align:center;padding:3rem 0;display:flex;flex-direction:column;align-items:center}.empty-title{color:#6b7280;margin-bottom:.5rem;font-size:1rem}.empty-subtitle{color:#9ca3af;font-size:.875rem}.empty-counter{margin-top:1rem;display:flex;justify-content:center}.counter-badge{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#4b5563}.avatar-xl,.btn-period-sm.active.blue,.filter-chip.active{background-color:var(--primary-color);color:#fff}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.header-row-between{display:flex;width:100%;justify-content:space-between;align-items:flex-start}.patient-profile-card .profile-header-row,.profile-stats-container{display:flex;flex-direction:column;gap:1.5rem}.avatar-xl{width:4rem;height:4rem;border-radius:9999px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:500}.profile-role,.stat-desc{color:var(--text-gray-500)}.profile-name{font-size:1.25rem;font-weight:600;line-height:1.75rem;margin-bottom:.25rem}.avatar-md,.filter-chip,.font-medium,.log-title{font-weight:500}.profile-role{font-size:.875rem}.stats-mini-wrapper{display:flex;gap:1.5rem;text-align:center}.stat-item-mini{min-width:80px}.stat-item-mini.border-left{border-left:1px solid var(--border-color);padding-left:1.5rem}.stat-val{font-size:1.5rem;line-height:2rem;margin-bottom:.25rem}.stat-desc{font-size:.75rem}.filter-row{display:flex;flex-wrap:wrap;gap:.5rem}.filter-chip{display:inline-flex;gap:8px;align-items:center;justify-content:center;height:2rem;padding:0 .75rem;border-radius:.375rem;font-size:.875rem;cursor:pointer;border:none;transition:.2s}.log-entry,.pharmacy-item-card{transition:background-color .2s}.filter-chip.outline,.log-entry{border:1px solid var(--border-color);background-color:#fff}.filter-chip.outline{color:var(--text-color)}.log-entry{padding:1rem;border-radius:.5rem}.log-icon,.tab-btn{border-radius:.5rem}.bg-gray-50,.btn-outline-sm:hover,.log-entry:hover,.patient-list-item:hover,.simple-table tr:hover,.tab-btn:hover{background-color:#f9fafb}.log-row-top{display:flex;gap:.75rem;align-items:flex-start;margin-bottom:.75rem}.log-icon{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:.5rem;border:1px solid transparent}.border-blue-200{border-color:#bfdbfe}.border-green-200,.detail-card.border-green-200{border-color:#bbf7d0}.flex-1,.log-content,.menu-text{flex:1}.log-title-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.log-badge{display:inline-flex;align-items:center;border:1px solid var(--border-color);border-radius:.375rem;padding:0 .5rem;font-size:.75rem;height:1.25rem;white-space:nowrap}.avatar-xs,.log-meta-row{display:flex;font-size:.75rem}.log-indent-block{padding-left:3rem;margin-bottom:.75rem}.log-indent-block:last-child,.result-block:last-child{margin-bottom:0}.avatar-xs{width:2rem;height:2rem;border-radius:9999px;align-items:center;justify-content:center;background:#ebe6e7}.dot-separator,.text-muted{color:var(--text-muted)}.log-meta-row{flex-wrap:wrap;gap:1rem;color:var(--text-gray-500)}.meta-tag,.pharmacy-user-info{align-items:center;display:flex}.meta-tag{gap:.25rem}.bg-orange-600{background-color:#ea580c}.badge-attention,.bg-orange-100,.pharmacy-item-card:hover{background-color:#ffedd5}.text-orange-700{color:#c2410c}.border-orange-200{border-color:#fed7aa}.space-y-3>*+*{margin-top:.75rem}.mt-0\.5{margin-top:.125rem}.pharmacy-item-card{padding:1rem;border:1px solid transparent;border-radius:.5rem}.pharmacy-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.pharmacy-user-info{gap:.75rem;flex:1;cursor:pointer}.avatar-md{width:2.5rem;height:2.5rem;border-radius:9999px;display:flex;align-items:center;justify-content:center;font-size:.875rem;flex-shrink:0}.pharmacy-badges{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.badge-attention,.badge-time-orange{display:inline-flex;border-radius:.375rem;font-size:.75rem;color:#c2410c;font-weight:500}.badge-attention{align-items:center;justify-content:center;border:1px solid #fdba74;padding:.125rem .5rem}.badge-time-orange{align-items:center;justify-content:center;border:1px solid #fdba74;padding:0 .5rem;height:1.25rem}.pl-13{padding-left:3.25rem}.med-row{display:flex;align-items:flex-start;gap:.5rem}.filter-toolbar,.med-meta{align-items:center;display:flex;gap:.5rem}.med-meta{margin-top:.25rem}.filter-toolbar{padding:1rem 1.5rem;flex-wrap:wrap;background-color:#fff}.filter-buttons-row,.input-group{display:flex;gap:.5rem}.btn-period-sm{display:inline-flex;align-items:center;justify-content:center;height:2rem;padding:0 .75rem;border-radius:.375rem;font-size:.875rem;font-weight:500;border:1px solid var(--border-color);background-color:#fff;color:var(--text-color);cursor:pointer;transition:.2s}.btn-period-sm.active.blue{border-color:var(--primary-color)}.info-alert{border:1px solid;margin-bottom:1rem;background-color:var(--color-blue-50);border-color:var(--color-blue-200)}.text-blue-800{color:#1e40af}.patient-list-item{padding:1rem;border:1px solid var(--border-color);border-radius:.5rem;display:flex;justify-content:space-between;align-items:center;background-color:#fff;cursor:pointer;transition:background-color .2s}.btn-custom,.tab-btn{transition:.2s;cursor:pointer}.patient-item-left{display:flex;align-items:center;gap:.75rem;flex:1}.flex-align-center,.patient-item-right{display:flex;align-items:center}.text-gray-600{color:#4b5563}.mr-1{margin-right:.25rem}.mt-4,.space-y-4>*+*{margin-top:1rem}.profile-info-group{display:flex;align-items:center;gap:1.5rem}.patient-title-name{font-size:1.5rem;font-weight:600;line-height:1.2;margin-bottom:.5rem}.patient-meta-row{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.875rem;color:var(--text-gray-600)}.profile-actions{display:flex;flex-direction:column;gap:.5rem;width:100%}.badge,.tab-btn{align-items:center;font-weight:500;white-space:nowrap}.action-group-bottom,.action-group-top{display:flex;gap:.5rem;width:100%}.btn-green-hover:hover{color:#15803d;border-color:#86efac;background-color:#f0fdf4}.btn-blue-hover:hover{color:#1d4ed8;border-color:#93c5fd;background-color:#eff6ff}.details-grid,.grid-layout-analyses{display:grid;grid-template-columns:1fr;gap:1.5rem}@media (min-width:768px){.stats-grid{grid-template-columns:repeat(2,1fr)}.patient-profile-card .profile-header-row,.profile-stats-container{flex-direction:row;justify-content:space-between;align-items:center}.profile-actions{width:auto;align-items:flex-end}.action-group-bottom,.action-group-top{width:auto}.details-grid{grid-template-columns:1fr 1fr}}.badge{display:inline-flex;border-radius:.375rem;padding:.125rem .5rem;font-size:.75rem}.badge-red{background-color:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.scroll-tabs-container{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;scrollbar-width:none;-ms-overflow-style:none}.scroll-tabs-container::-webkit-scrollbar{display:none}.tab-btn{display:inline-flex;padding:.5rem 1rem;font-size:.875rem;background-color:#fff;border:1px solid var(--border-color);color:var(--text-gray-600)}.tab-btn.active{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color);box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}.profile-actions-grid{display:grid;grid-template-columns:1fr;gap:.75rem;width:100%;margin-top:1rem}@media (min-width:640px){.form-grid{grid-template-columns:1fr 1fr}.col-span-2{grid-column:span 2}.profile-actions-grid{grid-template-columns:auto auto;width:auto;margin-top:0}}.btn-custom{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;height:2.75rem;padding:0 1.25rem;border-radius:.5rem;font-size:.95rem;font-weight:500;white-space:nowrap}.btn-filled-blue{background-color:#2563eb;color:#fff;border:1px solid #2563eb}.btn-filled-blue:hover,.btn-modal-save:hover{background-color:#1d4ed8;border-color:#1d4ed8}.analysis-table tr:hover,.btn-outline-green:hover{background-color:#f0fdf4}.btn-outline-green{background-color:#fff;color:#16a34a;border:1px solid #4ade80}.btn-outline-green:hover{border-color:#16a34a}.btn-outline-blue{background-color:#fff;color:#2563eb;border:1px solid #60a5fa}.btn-outline-blue:hover{background-color:#eff6ff;border-color:#2563eb}.btn-outline-gray{background-color:#fff;color:#374151;border:1px solid #e5e7eb}.btn-modal-cancel:hover,.btn-outline-gray:hover{background-color:#f9fafb;border-color:#d1d5db}.modal-card{max-width:600px;width:100%;border-radius:.75rem;overflow:hidden;max-height:90vh;display:flex;flex-direction:column}.border-b,.modal-header{border-bottom:1px solid var(--border-color)}.modal-title{font-size:1.125rem;font-weight:600}.modal-content{padding:1.5rem;overflow-y:auto}.info-alert{background-color:#fff;border:1px solid var(--border-color);border-radius:.5rem;padding:1rem;color:var(--text-gray-600)}.form-section-title{font-size:1rem;font-weight:600;margin-bottom:.75rem;color:var(--text-color)}.btn-outline-sm,.form-grid label{font-size:.875rem;font-weight:500}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-grid label{display:block;margin-bottom:.375rem;color:#374151}.input-gray{background-color:#f3f4f6!important;border:1px solid transparent!important;color:var(--text-color);margin-bottom:10px}.input-gray:focus{background-color:#fff!important;border-color:#2563eb!important}.btn-outline-sm{height:2.5rem;padding:0 1rem;background-color:#fff;border:1px solid var(--border-color);border-radius:.375rem;cursor:pointer;white-space:nowrap}.tags-container{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.tag-gray,.tag-red{display:inline-flex;gap:.5rem;padding:.25rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:500}.tag-red{align-items:center;background-color:#dc2626;color:#fff}.tag-gray{align-items:center;background-color:#f3f4f6;color:var(--text-color)}.modal-footer{padding:1rem 1.5rem;border-top:1px solid var(--border-color);display:flex;justify-content:flex-end;gap:.75rem;background-color:#fff}.btn-modal-cancel,.btn-modal-save{display:inline-flex;padding:0 1rem;font-size:.875rem;font-weight:500;transition:background-color .2s;height:2.5rem;cursor:pointer}.btn-modal-cancel{align-items:center;justify-content:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;color:#374151}.bg-blue-600,.btn-modal-save{background-color:#2563eb;color:#fff}.btn-modal-save{align-items:center;justify-content:center;border:1px solid #2563eb;border-radius:.5rem}.bg-blue-600{border:none}.bg-blue-600:hover{background-color:#1d4ed8}.max-w-4xl{max-width:56rem}.mx-auto{margin-right:auto}.text-gray-400{color:#9ca3af}.font-semibold{font-weight:600}.border-gray-200{border-color:#e5e7eb}.border-gray-100{border-color:#f3f4f6}.text-color{color:var(--text-color)}.py-8{padding-top:2rem;padding-bottom:2rem}.badge-filled-dark-red,.badge-filled-red{align-items:center;color:#fff;padding:.25rem .75rem;font-size:.75rem;display:inline-flex}.badge-filled-red{gap:.25rem;background-color:#dc2626;border-radius:.375rem;font-weight:600}.badge-filled-dark-red{background-color:#be123c;border-radius:9999px;font-weight:500}.btn-chip,.textarea-gray{color:var(--text-color);transition:.2s}.btn-chip{display:inline-flex;align-items:center;justify-content:center;height:2.5rem;padding:0 1rem;background-color:#fff;border:1px solid var(--border-color);border-radius:.375rem;font-size:.875rem;cursor:pointer;white-space:nowrap}.btn-chip:hover{background-color:#f3f4f6;border-color:#d1d5db}.btn-wide{padding-left:1.5rem;padding-right:1.5rem;font-size:.875rem;height:auto}@media (max-width:640px){.hidden-mobile{display:none}.form-grid{grid-template-columns:1fr}.col-span-2{grid-column:span 1}.flex-col{flex-direction:column}}.textarea-gray{display:block;resize:vertical;font-family:inherit}.textarea-gray:focus{border-color:#2563eb!important}.text-red-600{color:#dc2626}.space-y-2{margin-block-end:16px}.mt-3,.mt-6{margin-top:24px}.flex{display:flex}.justify-end{justify-content:flex-end}.gap-3{gap:12px}.gap-4{gap:16px}@media (min-width:1024px){.stats-grid{grid-template-columns:repeat(4,1fr)}.grid-layout-analyses{grid-template-columns:2fr 1fr;align-items:start}}.patient-mini-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;width:100%}.text-label{font-size:.75rem;color:#6b7280;display:block;margin-bottom:.125rem}.text-value{font-size:.875rem;font-weight:500;color:#111827}.category-icon{width:2.25rem;height:2.25rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.icon-red{background-color:#fee2e2;color:#dc2626}.icon-yellow{background-color:#fef9c3;color:#ca8a04}.icon-blue{background-color:#dbeafe;color:#2563eb}.icon-green{background-color:#dcfce7;color:#16a34a}.analysis-item,.custom-checkbox{background-color:#fff;transition:.2s}.analysis-item{display:flex;align-items:flex-start;padding:1rem;border:1px solid var(--border-color);border-radius:.5rem;cursor:pointer}.analysis-item:hover{border-color:#cbd5e1;background-color:#f8fafc}.analysis-item.selected,.urgency-radio.active,.urgency-radio.active .radio-circle{border-color:var(--primary-color)}.analysis-item.selected{background-color:#eff6ff}.checkbox-area{margin-right:1rem;padding-top:.125rem}.custom-checkbox{width:1.25rem;height:1.25rem;border:1px solid #d1d5db;border-radius:.25rem;position:relative}.analysis-item.selected .custom-checkbox{background-color:var(--primary-color);border-color:var(--primary-color)}.analysis-item.selected .custom-checkbox::after{content:'';position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.badge-gray-outline{border:1px solid #e2e8f0;color:#4b5563;font-size:.75rem;padding:0 .5rem;border-radius:.25rem;height:1.25rem;display:inline-flex;align-items:center}.icon-btn-sm{background:0 0;border:none;cursor:pointer;padding:.25rem;border-radius:.25rem}.icon-btn-sm:hover{background-color:#f1f5f9;color:#1e293b}.urgency-radio{display:flex;align-items:center;border:1px solid var(--border-color)}.radio-circle{width:1rem;height:1rem;border-radius:50%;border:1px solid #9ca3af;position:relative}.urgency-radio.active .radio-circle{border-width:5px}.sticky-sidebar{position:sticky;top:5rem}.textarea-gray{background-color:#f3f4f6!important;border:1px solid transparent!important}.textarea-gray:focus{background-color:#fff!important;border-color:var(--primary-color)!important}.analysis-accordion-item{background:#fff;border:1px solid var(--border-color);border-radius:.5rem;overflow:hidden;transition:.2s}.analysis-accordion-item.selected{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.accordion-header{padding:1rem;display:flex;align-items:flex-start;gap:1rem;cursor:pointer;background-color:#fff}.analysis-accordion-item.selected .accordion-header,.bg-blue-50{background-color:#eff6ff}.checkbox-custom{width:1.25rem;height:1.25rem;border:1px solid #d1d5db;border-radius:.25rem;background-color:#fff;margin-top:.125rem;position:relative;flex-shrink:0}.analysis-accordion-item.selected .checkbox-custom{background-color:#2563eb;border-color:#2563eb}.analysis-accordion-item.selected .checkbox-custom::after{content:'';position:absolute;left:6px;top:2px;width:4px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.badge-pill{display:inline-block;padding:.125rem .5rem;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:.25rem;font-size:.7rem;color:#4b5563;font-weight:500}.btn-chevron{background:0 0;border:none;color:#9ca3af;padding:.25rem;cursor:pointer;border-radius:.25rem}.btn-chevron:hover{background-color:rgba(0,0,0,.05)}.accordion-body.hidden,.urgency-radio input{display:none}.accordion-body{display:block;animation:.2s ease-out slideDown}@keyframes slideDown{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.table-wrapper{border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden}.input-gray,.urgency-radio{border:1px solid var(--border-color)}.text-gray-900{color:#111827}.text-xs{font-size:.75rem}.urgency-radio{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:.5rem;background:#fff;cursor:pointer;transition:.2s}.radio-outer{width:1rem;height:1rem;border-radius:50%;border:1px solid #9ca3af;display:flex;align-items:center;justify-content:center}.radio-inner{width:.5rem;height:.5rem;border-radius:50%;background-color:transparent}.urgency-radio.active{border-color:#2563eb;background-color:#eff6ff}.urgency-radio.active .radio-outer{border-color:#2563eb}.urgency-radio.active .radio-inner{background-color:#2563eb}.textarea-gray-sm{width:100%;background-color:#f3f4f6!important;border:1px solid transparent!important;border-radius:.5rem;padding:.75rem;font-size:.75rem;outline:0;resize:none}.input-gray,.text-sm,.textarea-gray{font-size:.875rem}.textarea-gray-sm:focus{background-color:#fff!important;border-color:#2563eb!important;box-shadow:0 0 0 2px rgba(37,99,235,.1)}.shadow-blue-light{box-shadow:0 4px 6px -1px rgba(37,99,235,.2)}.grid-menu,.settings-page .info-grid{display:grid;grid-template-columns:1fr;gap:.75rem}.menu-btn{display:flex;align-items:center;gap:1rem;padding:1rem;width:100%;text-align:left;background-color:#fff;border:2px solid var(--border-color);border-radius:.5rem;cursor:pointer;transition:.2s}.text-center,.zap-empty-state{text-align:center}.menu-btn:hover{background-color:#eff6ff;border-color:var(--primary-color)}.menu-icon-box{padding:.75rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.bg-red-50{background-color:#fef2f2}.text-red-500{color:#ef4444}.bg-orange-50{background-color:#fff7ed}.text-orange-500{color:#f97316}.form-section{animation:.3s ease-out fadeIn}@keyframes fadeIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.input-icon-wrapper{position:relative;width:100%}.input-icon-left{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none}.pl-10{padding-left:2.5rem!important}.input-gray{display:block;width:100%;height:2.5rem;padding:.5rem .75rem;border-radius:.375rem;color:var(--text-color);outline:0;transition:border-color .2s}.input-gray:focus,.textarea-gray:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(37,99,235,.1)}.textarea-gray{width:100%;min-height:100px;padding:.75rem;border:1px solid var(--border-color);border-radius:.375rem;resize:none;font-family:inherit;outline:0}.hidden{display:none!important}.gap-4{gap:1rem}.mb-6{margin-bottom:1.5rem}.mt-1{margin-top:.25rem}.border-t{border-top:1px solid var(--border-color)}.pt-6{padding-top:1.5rem}.p-3{padding:.75rem}.rounded-lg{border-radius:.5rem}.text-lg{font-size:1.125rem}.bg-yellow-50{background-color:#fefce8}.border-yellow-200{border-color:#fef08a}.text-yellow-800{color:#854d0e}.flex-row-between{display:flex;justify-content:space-between}.w-4{width:16px}.h-4{height:16px}.new_zapis .flex-row-between{flex-direction:row;align-items:center}.badge-success{background-color:#dcfce7;color:#166534;border:1px solid #bbf7d0}.badge-white-outline{background-color:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.4);color:#fff;padding:2px 8px;border-radius:6px;font-size:12px;font-weight:500}.badge-purple-outline{background-color:#fff;border:1px solid #d8b4fe;color:#7e22ce;padding:4px 12px;border-radius:6px;font-size:13px;font-weight:500}.text-green-600{color:#16a34a}.text-green-900{color:#14532d}.text-blue-600{color:#2563eb}.text-orange-600{color:#ea580c}.text-purple-600{color:#9333ea}.text-gray-500{color:#6b7280}.bg-green-100{background-color:#dcfce7}.bg-blue-100{background-color:#dbeafe}.bg-purple-100{background-color:#f3e8ff}.bg-green-light{background-color:rgba(220,252,231,.3)}.bg-green-gradient{background:linear-gradient(to right,#22c55e,#16a34a)}.mr-2{margin-right:.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.opacity-90{opacity:.9}.simple-table{width:100%;border-collapse:collapse}.simple-table th{text-align:left;padding:12px 16px;background-color:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:13px;color:#6b7280;font-weight:600}.simple-table td{padding:16px;border-bottom:1px solid #f3f4f6;font-size:14px;color:#111827}.info-text,.patient-cell{display:flex;flex-direction:column}.patient-cell .text-sm{font-size:12px}.btn-sm{height:32px;padding:0 12px;font-size:13px}.hover-bg-green-700:hover{background-color:#15803d}.modal-lg{max-width:900px;width:100%;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;padding:0}.border-green-top{border-top:4px solid #22c55e}.modal-header{padding:20px 24px}.modal-header-content{display:flex;justify-content:space-between;align-items:center;width:100%}.btn-icon-white{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.settings-page .btn-icon,.zap-btn,.zap-refresh-btn{cursor:pointer;transition:.2s}.btn-icon-white:hover{background:rgba(255,255,255,.3)}.modal-content.scrollable-y{overflow-y:auto;padding:24px;flex:1}.info-card-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.info-card{display:flex;align-items:flex-start;gap:12px}.icon-box{padding:8px;border-radius:8px;display:flex;align-items:center;justify-content:center}.info-text .label{font-size:12px;color:#6b7280;margin-bottom:2px}.info-text .value{font-size:14px;font-weight:600;color:#111827}.info-text .sub-value{font-size:12px;color:#9ca3af}.detail-card{background:#fff;border:2px solid #f3f4f6;border-radius:12px;padding:20px}.card-subtitle{font-size:16px;font-weight:600;display:flex;align-items:center}.badges-wrapper{display:flex;flex-wrap:wrap;gap:8px}.results-data-container{background:rgba(220,252,231,.3);border:2px solid #bbf7d0;border-radius:12px;padding:20px}.table-title{font-size:13px;font-weight:600;text-transform:uppercase;color:#14532d;margin-bottom:8px;letter-spacing:.05em}.border-green{border:2px solid #bbf7d0}.analysis-table{width:100%;background:#fff;border-collapse:collapse;font-size:14px}.analysis-table thead{background-color:#dcfce7;border-bottom:2px solid #bbf7d0}.analysis-table th{text-align:left;padding:12px 16px;color:#14532d;font-weight:600}.analysis-table td{padding:12px 16px;border-bottom:1px solid #dcfce7;color:#111827}.analysis-table tr:last-child td{border-bottom:none}.bg-green-600{color:#fff;background-color:oklch(.627 .194 149.214)!important}.bg-green-600:hover{background-color:oklch(.527 .154 150.069)!important}.settings-page{background-color:var(--ds-gray-50);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ds-gray-900)}.settings-page .container{max-width:56rem;margin:0 auto;padding:0 1rem}.settings-page .settings-topbar{background:var(--ds-white);border-bottom:1px solid var(--ds-gray-200);padding:1rem 0;margin-bottom:2rem}.settings-page .btn-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid var(--ds-gray-200);background:#fff;border-radius:6px;color:var(--ds-gray-500)}.settings-page .btn-icon:hover{background-color:var(--ds-gray-100);color:var(--ds-gray-900)}.settings-page .icon-box{padding:.5rem;border-radius:.5rem;display:flex}.settings-page .btn-primary,.settings-page .icon-box.bg-blue{background-color:var(--ds-blue);color:#fff}.settings-page .page-title-group h1{font-size:1.25rem;font-weight:600;margin:0;line-height:1.2}.settings-page .page-title-group .subtitle{font-size:.75rem;color:var(--ds-gray-500);margin:0}.settings-page .card{background:var(--ds-white);border:1px solid var(--ds-gray-200);border-radius:var(--ds-radius);margin-bottom:1.5rem;box-shadow:0 1px 2px rgba(0,0,0,.05);overflow:hidden}.settings-page .card-header{padding:1.5rem 1.5rem 0;margin-bottom:1rem}.settings-page .card-header h4{display:flex;align-items:center;gap:.5rem;margin:0 0 .25rem;font-size:1rem;font-weight:600}.settings-page .card-header p{margin:0;color:var(--ds-gray-500);font-size:.875rem}.settings-page .card-body{padding:0 1.5rem 1.5rem}.settings-page .profile-card .card-body{padding:1.5rem;display:flex;align-items:flex-start;gap:1.5rem}.settings-page .avatar{width:5rem;height:5rem;background-color:var(--ds-blue);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;font-weight:600;flex-shrink:0}.settings-page .profile-info h2{margin:0 0 .75rem;font-size:1.5rem;font-weight:600}@media (min-width:640px){.patient-mini-info-grid{grid-template-columns:repeat(4,1fr)}.settings-page .info-grid{grid-template-columns:1fr 1fr}}.settings-page .info-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--ds-gray-600)}.settings-page .info-item.full-width{grid-column:1/-1}.settings-page .text-blue{color:var(--ds-blue)}.settings-page .text-red{color:var(--ds-red)}.settings-page .text-muted{color:var(--ds-gray-500);font-size:.875rem}.settings-page .form-group label{display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.settings-page input[type=password],.settings-page input[type=tel],.settings-page input[type=text]{width:100%;padding:.5rem .75rem;border:1px solid var(--ds-gray-200);border-radius:.375rem;font-size:.875rem;box-sizing:border-box;outline:0;transition:border-color .2s}.settings-page input:focus{border-color:var(--ds-blue);box-shadow:0 0 0 3px rgba(37,99,235,.1)}.settings-page .helper-text{font-size:.75rem;color:var(--ds-gray-500);margin-top:.25rem}.settings-page .toggle-password{position:absolute;right:0;top:0;height:100%;padding:0 .75rem;background:0 0;border:none;cursor:pointer;color:var(--ds-gray-500);display:flex;align-items:center}.settings-page .toggle-password:hover{color:var(--ds-gray-900)}.settings-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.375rem;cursor:pointer;border:none;transition:background-color .2s;text-decoration:none}.settings-page .btn-primary:hover{background-color:var(--ds-blue-hover)}.settings-page .btn-danger{background-color:var(--ds-red);color:#fff}.settings-page .btn-danger:hover{background-color:var(--ds-red-hover)}.settings-page .info-text-center{text-align:center;font-size:.75rem;color:var(--ds-gray-500);margin-top:.75rem}.settings-page .card-danger{border-color:var(--ds-red-border)}.settings-page .flex-row{display:flex;flex-direction:row}.zap_card_list{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background-color:transparent;border:none;max-width:100%}.zap-filter-section{background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:15px 20px;margin-bottom:20px;box-shadow:0 1px 2px rgba(0,0,0,.02)}.zap-btn,.zap-content-card{border:1px solid #dee2e6;background:#fff}.zap-filter-label{display:flex;align-items:center;gap:8px;color:#6c757d;font-size:13px;margin-bottom:12px}.zap-filter-groups{display:flex;flex-wrap:wrap;gap:15px}.zap-btn,.zap-btn-group{gap:8px;display:flex}.zap-btn{align-items:center;padding:8px 16px;border-radius:20px;color:#495057;font-size:13px;font-weight:500;outline:0}.zap-btn svg{color:#6c757d}.zap-btn:hover{background:#f8f9fa}.zap-btn.active{background-color:#0d6efd;border-color:#0d6efd;color:#fff}.zap-btn.active svg{stroke:#fff}.zap-btn .badge{background:rgba(255,255,255,.2);padding:0 6px;border-radius:10px;font-size:11px}.zap-btn .count{color:#6c757d;margin-left:2px}.zap-content-card{border-radius:8px;padding:20px;box-shadow:0 1px 2px rgba(0,0,0,.02);min-height:300px;display:flex;flex-direction:column}.zap-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:40px}.zap-title-group{display:flex;gap:12px}.zap-icon-box{margin-top:2px}.zap-card-header h3{margin:0;font-size:16px;font-weight:600;color:#212529}.zap-card-header p{margin:2px 0 0;font-size:13px;color:#6c757d}.zap-refresh-btn{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #dee2e6;padding:6px 12px;border-radius:6px;font-size:13px;color:#212529}.zap-refresh-btn:hover{background:#f8f9fa;border-color:#cdd2d6}.zap-refresh-btn.rotating svg{animation:1s linear infinite spin}@keyframes spin{100%{transform:rotate(360deg)}}.zap-empty-state{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px}.zap-empty-icon{margin-bottom:16px;color:#dee2e6}.zap-empty-state h4{margin:0 0 8px;font-size:16px;font-weight:500;color:#212529}.zap-empty-state p{margin:0;font-size:13px;color:#6c757d}