@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap";*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,sans-serif}:root{--bg:#eef7f6;--text:#12324a;--muted:#64748b;--primary:#00a884;--primary2:#0ea5e9;--dark:#063b3b;--dark2:#0d4f63;--line:#d7e7ef;--danger:#ef4444;--warning:#f59e0b;--white:#ffffff}body{min-height:100vh;background:radial-gradient(circle at 12% 8%,rgba(0,168,132,.16),transparent 28%),radial-gradient(circle at 90% 14%,rgba(14,165,233,.14),transparent 30%),radial-gradient(circle at 70% 95%,rgba(0,168,132,.1),transparent 30%),linear-gradient(135deg,#eef7f6,#f8fbff);color:var(--text);overflow-x:hidden}button,input,select,textarea{font:inherit}button{border:none;cursor:pointer}.system{display:flex;min-height:100vh}.sidebar{width:292px;min-height:100vh;position:sticky;top:0;padding:24px 18px;background:linear-gradient(180deg,#063b3bfa,#0d4f63fa),radial-gradient(circle at top,rgba(255,255,255,.16),transparent 38%);box-shadow:24px 0 70px #063b3b33;overflow-y:auto}.sidebar h1{color:#fff;text-align:center;font-size:32px;line-height:1;font-weight:900;letter-spacing:.8px;margin-bottom:28px;padding:22px 10px;border-radius:28px;background:#ffffff1a;border:1px solid rgba(255,255,255,.12)}.sidebar h1:after{content:"Hospital SUL";display:block;margin-top:8px;font-size:13px;color:#ffffffa6;font-weight:600;letter-spacing:0}.sidebar button{position:relative;width:100%;min-height:52px;padding:14px 16px;margin-bottom:10px;border-radius:18px;background:#ffffff14;border:1px solid rgba(255,255,255,.1);color:#fff;font-weight:800;text-align:left;transition:.25s ease}.sidebar button:hover,.sidebar button.active{background:#fff;color:var(--dark);transform:translate(5px)}.content{flex:1;padding:32px}.topbar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:30px;padding:18px 24px;border-radius:30px;background:#ffffffc7;border:1px solid rgba(255,255,255,.85);box-shadow:0 24px 80px #0a28461a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.topbar div{font-weight:800;color:#0f3a4a}h2{font-size:clamp(34px,4.5vw,56px);font-weight:950;letter-spacing:-1.4px;color:#073b4c;margin-bottom:26px}h2:after{content:"";display:block;width:96px;height:6px;margin-top:12px;border-radius:999px;background:linear-gradient(90deg,var(--primary),var(--primary2))}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px}.card,.history-card,.form,.special-form,.vaccine-card-editor,.vaccine-card,.signature-panel{background:#ffffffd1;border:1px solid rgba(255,255,255,.85);box-shadow:0 24px 80px #0a28461a,inset 0 1px #ffffffe6;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.card{position:relative;overflow:hidden;padding:28px;border-radius:32px;transition:.25s ease}.card:before{content:"";position:absolute;right:-40px;top:-40px;width:115px;height:115px;border-radius:999px;background:linear-gradient(135deg,#00a88429,#0ea5e91f)}.card:hover,.history-card:hover{transform:translateY(-5px)}.card h3{color:var(--muted);margin-bottom:12px;font-weight:800}.card span{color:var(--primary);font-size:44px;font-weight:950}.card-alerta,.alvara-vencendo,.menu-alerta{animation:piscar 1s infinite}.form,.special-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:18px;padding:30px;border-radius:34px;margin-bottom:24px}.field-box{width:100%;display:flex;flex-direction:column}.full-field{grid-column:1 / -1}.field-label{margin-bottom:8px;color:var(--primary);font-size:14px;font-weight:900;letter-spacing:.15px}.form input,.form select,.form textarea,.special-form input,.special-form select,.special-form textarea,.search-input,.vaccine-form input,.vaccine-form select,.vaccine-form textarea,.login-card input{width:100%;min-height:56px;padding:16px 18px;border-radius:20px;border:1px solid var(--line);background:#f7fbff;color:var(--text);outline:none;transition:.22s ease;box-shadow:inset 0 1px #fffffff2}.form textarea,.special-form textarea,.vaccine-form textarea{min-height:145px;resize:none}.form input:focus,.form select:focus,.form textarea:focus,.special-form input:focus,.special-form select:focus,.special-form textarea:focus,.search-input:focus,.vaccine-form input:focus,.vaccine-form select:focus,.vaccine-form textarea:focus,.login-card input:focus{border-color:var(--primary);box-shadow:0 0 0 5px #00a88421}button,.exam-btn,.pdf-btn,.secondary-btn{min-height:54px;padding:14px 22px;border-radius:18px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;font-weight:900;box-shadow:0 14px 32px #00a88438;transition:.22s ease;text-decoration:none}button:hover,.exam-btn:hover,.pdf-btn:hover,.secondary-btn:hover{transform:translateY(-3px);filter:brightness(1.04)}.form>button,.special-form>button{grid-column:1 / -1}.secondary-btn{background:#eef8f9;color:#0f4c5c;border:1px solid var(--line);box-shadow:none}.delete-btn,.logout-btn,.mini-delete{background:linear-gradient(135deg,#ef4444,#f97316)!important;color:#fff!important;box-shadow:0 14px 32px #ef444438!important}.search-input{margin:22px 0;background:#ffffffe0}.patients-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:22px;margin-top:26px}.history-card{position:relative;overflow:hidden;padding:26px;border-radius:32px;transition:.25s ease}.history-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(var(--primary),var(--primary2))}.history-card h3{color:var(--primary);margin-bottom:14px;font-size:24px}.history-card p{line-height:1.8;color:#38566b}.exam-group{margin-top:16px;padding:18px;border-radius:22px;background:#f7fbff;border:1px solid var(--line)}.exam-group h4{color:var(--primary2);margin-bottom:10px}.exam-group pre{margin-top:12px;padding:15px;border-radius:16px;background:#082032;color:#c8fff0;overflow:auto;white-space:pre-wrap}.veredito-box,.admin-alert,.alvara-alerta-texto{margin:16px 0;padding:16px;border-radius:20px;background:#fff7db;color:#7c5200;border:1px solid #fde68a;font-weight:800}.status-ok{color:var(--primary)}.status-danger{color:var(--danger)}.signature-panel{grid-column:1 / -1;padding:24px;border-radius:30px}.signature-panel h3{color:#073b4c;font-size:24px;margin-bottom:6px}.signature-panel p{color:var(--muted);margin-bottom:14px}.signature-canvas-wrap{width:100%;height:235px;border-radius:24px;background:#fff;border:2px dashed var(--primary);overflow:hidden}.assinatura-canvas{width:100%!important;height:235px!important;display:block!important;cursor:crosshair!important;touch-action:none!important}.assinatura-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.preview-assinatura,.assinatura-paciente{width:245px;max-width:100%;margin-top:14px;padding:8px;border-radius:20px;background:#fff;border:2px solid var(--primary)}.female-form{margin-top:18px;padding:20px;border-radius:24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;background:#fff7fb;border:1px solid #ffd4e7}.female-form h4{grid-column:1 / -1;color:#be185d}.pediatria-layout{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(360px,.87fr);gap:28px;align-items:start}.pediatria-form{margin:0}.vaccine-card-editor{padding:28px;border-radius:34px}.vaccine-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.vaccine-header h3{color:var(--primary);font-size:28px}.vaccine-header span{color:var(--muted);font-weight:800}.vaccine-form{display:grid;gap:14px}.vaccine-form button{width:100%}.vaccine-card{margin-top:22px;padding:24px;border-radius:30px;background:linear-gradient(145deg,#f7fffc,#f4fbff)}.vaccine-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.vaccine-card-top h3{color:#073b4c}.vaccine-card-top p{color:var(--muted)}.vaccine-cross{width:62px;height:62px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;font-size:30px;font-weight:900;box-shadow:0 15px 30px #00a88440}.vaccine-table{width:100%;margin-top:18px;border-radius:22px;overflow:hidden;border:1px solid var(--line)}.vaccine-table-head,.vaccine-table-row{display:grid;grid-template-columns:1.25fr .7fr .9fr .9fr .45fr;gap:10px;padding:14px;align-items:center}.vaccine-table-head{background:#dff7f0;color:#116149;font-weight:900}.vaccine-table-row{background:#fff;border-top:1px solid var(--line)}.vaccine-empty{padding:18px;color:var(--muted);background:#fff;text-align:center}.mini-delete{min-height:32px;width:34px;height:34px;border-radius:12px;padding:0}.foto-upload-box{grid-column:1 / -1;padding:18px;border-radius:24px;background:#f7fbff;border:1px dashed rgba(0,168,132,.45);color:var(--primary);font-weight:900}.foto-upload-box input{margin-top:10px}.baby-photo-preview,.baby-photo-register,.baby-photo-card{object-fit:cover;border:3px solid rgba(0,168,132,.45);box-shadow:0 16px 35px #00a8841f}.baby-photo-preview{width:135px;height:135px;border-radius:28px;margin-top:14px}.baby-photo-card{width:82px;height:82px;border-radius:24px;margin-bottom:14px}.baby-register-header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.baby-photo-register,.baby-photo-empty{width:92px;height:92px;border-radius:26px;flex:none}.baby-photo-empty{display:flex;align-items:center;justify-content:center;background:#e8fbf6;border:2px dashed rgba(0,168,132,.45);font-size:40px}.alvara-botoes{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.notificacao-alvara{float:right;min-width:24px;height:24px;padding:3px 7px;border-radius:999px;background:var(--danger);color:#fff;font-size:12px;font-weight:900;text-align:center}.alvara-vencendo{border-color:#ef4444!important}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(circle at 20% 10%,rgba(0,168,132,.22),transparent 28%),linear-gradient(135deg,#063b3b,#0d4f63)}.login-card{width:430px;padding:42px;border-radius:36px;background:#ffffffeb;border:1px solid rgba(255,255,255,.85);box-shadow:0 35px 100px #00000038;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.medical-logo{width:78px;height:78px;margin:0 auto 18px;border-radius:26px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;font-size:38px;font-weight:900;box-shadow:0 18px 40px #00a88447}.login-card h1{text-align:center;color:#073b4c;font-size:40px;font-weight:950;margin-bottom:10px}.login-card p,.login-card small{display:block;text-align:center;color:var(--muted);margin-bottom:18px}.login-card button{width:100%;margin-top:4px}@keyframes piscar{0%,to{box-shadow:0 24px 80px #0a28461a}50%{box-shadow:0 0 30px #ef44448c}}@media (max-width:1100px){.pediatria-layout{grid-template-columns:1fr}}@media (max-width:900px){.system{flex-direction:column}.sidebar{width:100%;min-height:auto;position:relative;display:flex;gap:10px;overflow:auto}.sidebar h1{display:none}.sidebar button{min-width:170px;margin:0;text-align:center}.content{padding:20px}}@media (max-width:700px){.content{padding:16px}.form,.special-form{grid-template-columns:1fr;padding:20px}.patients-list,.vaccine-table-head,.vaccine-table-row{grid-template-columns:1fr}h2{font-size:36px}.topbar{flex-direction:column;align-items:flex-start}}.light-theme{background:#f1f5f9;color:#0f172a}.dark-theme,.dark-theme .system,.dark-theme .content{background:#0f172a;color:#f8fafc}.dark-theme .sidebar{background:linear-gradient(180deg,#020617,#064e3b)}.dark-theme .topbar,.dark-theme .history-card,.dark-theme .card,.dark-theme .form,.dark-theme .prontuario-section,.dark-theme .profile-card,.dark-theme .vaccine-card,.dark-theme .exam-group{background:#1e293b!important;color:#f8fafc!important;border-color:#ffffff14}.dark-theme input,.dark-theme textarea,.dark-theme select{background:#0f172a;color:#f8fafc;border-color:#ffffff24}.theme-btn{border:none;border-radius:999px;padding:10px 16px;background:#0f766e;color:#fff;font-weight:700;cursor:pointer}.loading-screen{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#047857)}.loading-card{background:#fff;padding:42px;border-radius:26px;text-align:center;box-shadow:0 25px 60px #0000004d;color:#0f172a}.spinner{width:80px;height:80px;border:7px solid #cbd5e1;border-top:7px solid #00a884;border-radius:50%;animation:girar 1s linear infinite;margin:0 auto 22px}@keyframes girar{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;margin:20px 0 30px}.hero-card{padding:28px;border-radius:26px;color:#fff;box-shadow:0 22px 45px #0f172a2e;position:relative;overflow:hidden}.hero-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:999px;background:#ffffff29;right:-35px;top:-35px}.hero-card h2{font-size:46px;margin:0}.hero-card p{margin:8px 0 0;font-size:17px;font-weight:700}.emerald{background:linear-gradient(135deg,#10b981,#047857)}.blue{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.red{background:linear-gradient(135deg,#ef4444,#991b1b)}.purple{background:linear-gradient(135deg,#8b5cf6,#5b21b6)}.filters-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:18px 0;padding:16px;border-radius:22px;background:#ffffffd9;box-shadow:0 14px 30px #0f172a14}.filters-bar select{width:100%}.profile-card{display:flex;align-items:center;gap:18px;padding:22px;border-radius:24px;background:#fff;box-shadow:0 18px 40px #0f172a1a;margin-bottom:22px}.profile-avatar{width:88px;height:88px;border-radius:24px;background:linear-gradient(135deg,#10b981,#047857);color:#fff;display:flex;align-items:center;justify-content:center;font-size:44px;font-weight:900}.quick-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 24px}.quick-actions button{border:none;border-radius:18px;padding:14px 18px;background:linear-gradient(135deg,#00a884,#047857);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 14px 26px #0478572e}.notification-bell{border:none;border-radius:999px;width:44px;height:44px;background:#f59e0b;color:#fff;cursor:pointer;position:relative;font-size:18px}.notification-bell span{position:absolute;top:-7px;right:-7px;background:#ef4444;color:#fff;font-size:11px;border-radius:999px;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-weight:900}.notification-panel{position:absolute;right:0;top:66px;width:380px;max-height:500px;overflow:auto;background:#1e293b!important;color:#fff!important;border-radius:28px;padding:20px;box-shadow:0 28px 70px #00000073;z-index:9999;border:1px solid rgba(255,255,255,.08)}.notification-panel h3{color:#fff!important;font-size:28px;margin-bottom:18px}.notification-item{position:relative;overflow:hidden;border-radius:22px;padding:18px;margin-bottom:14px;background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;border-left:6px solid #f87171!important;color:#fff!important;box-shadow:0 18px 40px #ef444447}.notification-item:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at top right,rgba(255,255,255,.1),transparent 35%);pointer-events:none}.notification-item strong,.notification-item h4{font-size:18px;font-weight:900}.notification-item p{margin-top:6px;font-size:14px;opacity:.95;line-height:1.5}.notification-item.urgente,.notification-item.warning,.notification-item.info{background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;border-left-color:#f87171!important}.dark-theme .notification-panel{background:#1e293b!important}.dark-theme .notification-item{background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;color:#fff!important}.notification-item p{margin:6px 0 0;font-size:13px}.emergency-card{background:#fff;border-radius:28px;padding:26px;box-shadow:0 22px 50px #0f172a24;border:2px solid #10b981}.emergency-urgent{border-color:#ef4444;box-shadow:0 22px 50px #ef444438}.emergency-warning{border-color:#f59e0b;box-shadow:0 22px 50px #f59e0b38}.emergency-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;border-bottom:1px solid #e2e8f0;padding-bottom:18px}.emergency-header h1{margin:0;font-size:38px}.emergency-header span{padding:12px 18px;border-radius:999px;background:#ef4444;color:#fff;font-weight:900;letter-spacing:1px}.emergency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-bottom:22px}.emergency-grid>div{background:#f8fafc;padding:18px;border-radius:18px;border:1px solid #e2e8f0}.emergency-grid strong{color:#64748b}.emergency-grid h2{margin:8px 0 0;font-size:24px}.emergency-notes{background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:18px;margin-bottom:20px}.dark-theme .notification-panel,.dark-theme .emergency-card{background:#1e293b;color:#fff}.dark-theme .emergency-grid>div{background:#0f172a;border-color:#ffffff1a}.dark-theme .emergency-notes{background:#431407;border-color:#9a3412}.modern-topbar{width:100%;min-height:92px;background:#ffffffdb;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border:1px solid rgba(255,255,255,.88);border-radius:34px;padding:18px 26px;display:grid;grid-template-columns:minmax(250px,330px) minmax(280px,1fr) auto;align-items:center;gap:22px;box-shadow:0 24px 70px #0f2d461c;margin-bottom:30px;position:relative;z-index:20}.dark-theme .modern-topbar{background:#0f172adb;border-color:#ffffff17;box-shadow:0 24px 70px #00000059}.doctor-box{display:flex;align-items:center;gap:16px;min-width:0}.doctor-avatar{width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#10b981,#0ea5e9);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:950;box-shadow:0 16px 32px #10b98152;flex:none}.doctor-info{min-width:0}.doctor-info h3{margin:0;font-size:22px;font-weight:950;color:#073b4c;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dark-theme .doctor-info h3{color:#f8fafc}.doctor-info p{margin:6px 0 0;color:#64748b;font-weight:800;font-size:14px}.search-global{width:100%;position:relative}.search-global:before{content:"🔎";position:absolute;left:18px;top:50%;transform:translateY(-50%);font-size:17px;opacity:.65;z-index:1}.search-global input,input.global-search{width:100%;min-height:58px;border:1px solid rgba(148,163,184,.18);background:#f8fafc;border-radius:22px;padding:16px 18px 16px 50px;font-size:16px;outline:none;color:#0f172a;box-shadow:inset 0 1px #ffffffe6;transition:.22s ease}.search-global input:focus,input.global-search:focus{border-color:#00a884;box-shadow:0 0 0 5px #00a88421;background:#fff}.dark-theme .search-global input,.dark-theme input.global-search{background:#0f172a;color:#fff;border-color:#ffffff1f}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;white-space:nowrap}.notification-wrap{position:relative}.notification-bell{border:none;border-radius:20px;width:56px;height:56px;background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;cursor:pointer;position:relative;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 15px 34px #f59e0b42}.notification-bell span{position:absolute;top:-8px;right:-8px;background:#ef4444;color:#fff;font-size:12px;border-radius:999px;min-width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-weight:950;border:2px solid white}.notification-panel{position:absolute;right:0;top:66px;width:360px;max-height:430px;overflow:auto;background:#fff;color:#0f172a;border-radius:24px;padding:18px;box-shadow:0 28px 70px #0f172a47;z-index:9999;border:1px solid rgba(226,232,240,.9)}.dark-theme .notification-panel{background:#1e293b;color:#fff;border-color:#ffffff17}.notification-panel h3{margin:0 0 12px;color:#073b4c}.dark-theme .notification-panel h3{color:#fff}.notification-item{border-radius:18px;padding:12px;margin-bottom:10px;border-left:5px solid #f59e0b;background:#fffbeb}.notification-item.urgente{border-left-color:#ef4444;background:#fef2f2}.notification-item p{margin:6px 0 0;font-size:13px;line-height:1.45}.theme-toggle,.logout-modern{border:none;border-radius:22px;min-height:56px;padding:0 22px;color:#fff;font-weight:900;cursor:pointer;transition:.22s ease}.theme-toggle{background:linear-gradient(135deg,#0f766e,#059669);box-shadow:0 15px 34px #05966938}.logout-modern{background:linear-gradient(135deg,#ef4444,#f97316);box-shadow:0 15px 34px #ef444438}.theme-toggle:hover,.logout-modern:hover,.notification-bell:hover{transform:translateY(-3px);filter:brightness(1.04)}.dark-theme .topbar,.dark-theme .modern-topbar{background:#0f172adb!important}.topbar div:before,.modern-topbar div:before{content:none!important}@media (max-width: 1150px){.modern-topbar{grid-template-columns:1fr;align-items:stretch}.topbar-actions{justify-content:space-between}.doctor-box{justify-content:flex-start}}@media (max-width: 650px){.modern-topbar{padding:16px;border-radius:24px}.doctor-avatar{width:54px;height:54px;border-radius:18px;font-size:25px}.doctor-info h3{font-size:19px}.topbar-actions{flex-wrap:wrap}.theme-toggle,.logout-modern{flex:1}.notification-panel{right:auto;left:0;width:min(340px,86vw)}}.premium-sidebar .menu-section-title{color:#ffffff7a;font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:900;margin:18px 8px 10px}.premium-sidebar button{display:flex;align-items:center;justify-content:flex-start;gap:8px}.premium-sidebar button.premium-active{background:linear-gradient(135deg,#fff,#dff7f0)!important;color:#063b3b!important;box-shadow:0 16px 35px #ffffff2e;transform:translate(6px)}.dashboard-hero,.cards,.history-card,.form,.modern-topbar,.patients-table-wrapper{animation:fadeUp .45s ease both}@keyframes fadeUp{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.chart-card{min-height:190px}.mini-chart{position:absolute;right:22px;bottom:20px;height:74px;width:130px;display:flex;align-items:flex-end;gap:8px;opacity:.85}.mini-chart span{flex:1;min-width:10px;border-radius:999px 999px 8px 8px;background:#ffffffb8;box-shadow:inset 0 1px #fffc;animation:growBar .85s ease both}@keyframes growBar{0%{height:8%!important}}.patients-table-wrapper{width:100%;overflow:auto;border-radius:28px;background:#ffffffdb;border:1px solid rgba(255,255,255,.8);box-shadow:0 24px 70px #0a28461a;margin-top:20px}.patients-table{width:100%;border-collapse:collapse;min-width:980px}.patients-table th{background:linear-gradient(135deg,#063b3b,#047857);color:#fff;padding:18px;text-align:left;font-size:13px;text-transform:uppercase;letter-spacing:.08em}.patients-table td{padding:16px 18px;border-bottom:1px solid #e2e8f0;color:#12324a}.patients-table td strong{display:block;font-size:16px;color:#073b4c}.patients-table td small{display:block;margin-top:4px;color:#64748b;font-weight:700}.patients-table tr:hover td{background:#f7fbff}.table-actions{display:flex;flex-wrap:wrap;gap:8px}.table-actions button{min-height:38px;padding:8px 11px;border-radius:12px;font-size:12px}.status-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;background:#e0f2fe;color:#0369a1}.status-emergência,.status-emergencia{background:#fee2e2;color:#b91c1c}.status-alta{background:#dcfce7;color:#166534}.status-internado,.status-observação,.status-observacao{background:#fef3c7;color:#92400e}.legacy-patient-cards{margin-top:32px}.toast-container{position:fixed;right:26px;bottom:26px;z-index:10000;display:grid;gap:12px}.toast{min-width:280px;max-width:380px;padding:15px 18px;border-radius:18px;background:#0f172a;color:#fff;font-weight:800;box-shadow:0 22px 45px #0f172a40;animation:toastIn .3s ease both}.toast-info{background:linear-gradient(135deg,#0f766e,#0284c7)}.toast-success{background:linear-gradient(135deg,#059669,#16a34a)}.toast-error{background:linear-gradient(135deg,#dc2626,#ea580c)}@keyframes toastIn{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a94;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.confirm-modal{width:min(430px,100%);background:#fff;border-radius:30px;padding:28px;text-align:center;box-shadow:0 30px 90px #0f172a59;animation:modalIn .24s ease both}.modal-icon{width:64px;height:64px;margin:0 auto 14px;border-radius:22px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:950}.confirm-modal h3{margin-bottom:10px;color:#0f172a;font-size:26px}.confirm-modal p{color:#64748b;line-height:1.6;font-weight:700}.modal-actions{display:flex;gap:12px;margin-top:22px}.modal-actions button{flex:1}@keyframes modalIn{0%{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.not-found-page{min-height:55vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:34px;background:#ffffffdb;box-shadow:0 24px 70px #0a28461a;padding:40px}.not-found-icon{font-size:76px;font-weight:950;color:#00a884;letter-spacing:-4px}.dark-theme .patients-table-wrapper,.dark-theme .confirm-modal,.dark-theme .not-found-page{background:#1e293b;color:#f8fafc}.dark-theme .patients-table td,.dark-theme .patients-table td strong{color:#f8fafc}.dark-theme .patients-table tr:hover td{background:#0f172a}.dark-theme .confirm-modal h3{color:#f8fafc}.dark-theme .confirm-modal p{color:#cbd5e1}.log-content{min-width:0}.medico-card .exam-btn,.medico-card .delete-btn{margin-right:10px;margin-top:12px}.dark-theme .log-content p{color:#cbd5e1}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.remember-login{display:flex;align-items:center;gap:10px;margin:12px 0 18px;color:#38566b;font-size:14px;font-weight:800;cursor:pointer}.remember-login input{width:18px!important;min-height:18px!important;height:18px!important;accent-color:var(--primary)}.logs-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:26px;border-radius:30px;margin-bottom:24px;background:radial-gradient(circle at 15% 20%,rgba(0,168,132,.2),transparent 32%),linear-gradient(135deg,#ffffffeb,#ecfdf5eb);border:1px solid rgba(0,168,132,.18);box-shadow:0 24px 70px #0a28461a}.logs-hero h3{font-size:26px;color:var(--primary);margin-bottom:6px}.logs-hero p{color:var(--muted);font-weight:700}.logs-timeline{display:grid;gap:16px}.log-item{display:grid;grid-template-columns:54px 1fr;gap:16px;padding:20px;border-radius:26px;background:#ffffffe0;border:1px solid rgba(255,255,255,.85);box-shadow:0 18px 50px #0a284617;animation:fadeUp .28s ease both}.log-icon{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#10b981,#047857);color:#fff;font-size:24px;font-weight:950;box-shadow:0 14px 28px #10b98142}.log-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.log-top h3{margin:0;color:var(--primary);font-size:20px}.log-top span{color:var(--muted);font-weight:800;font-size:13px}.log-content p{color:#38566b;font-weight:700;margin-bottom:8px}.log-content small{color:var(--muted);font-weight:800}.dark-theme .logs-hero,.dark-theme .log-item{background:#1e293b!important;color:#f8fafc!important;border-color:#ffffff14}.dark-theme .log-content p,.dark-theme .remember-login{color:#cbd5e1}.central-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:24px 0}.central-card{position:relative;overflow:hidden;padding:24px;border-radius:28px;color:#fff;box-shadow:0 22px 50px #0f172a29}.central-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:999px;right:-34px;top:-34px;background:#ffffff29}.central-card span{font-size:30px}.central-card h3{font-size:44px;margin:10px 0 0}.central-card p{margin:6px 0 0;font-weight:900;opacity:.95}.central-card.danger{background:linear-gradient(135deg,#ef4444,#991b1b)}.central-card.warning{background:linear-gradient(135deg,#f59e0b,#b45309)}.central-card.blue{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.central-card.green{background:linear-gradient(135deg,#10b981,#047857)}.central-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:20px;margin-bottom:22px}.central-panel{padding:24px;border-radius:30px;background:#ffffffe0;border:1px solid rgba(255,255,255,.85);box-shadow:0 22px 60px #0a284617}.central-panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.central-panel-title h3{margin:0;font-size:24px;color:var(--primary)}.central-panel-title span{min-width:38px;height:38px;padding:0 10px;border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950}.central-alert-list{display:grid;gap:12px}.central-alert{padding:14px;border-radius:18px;border-left:5px solid #f59e0b;background:#fffbeb}.central-alert.urgent{border-left-color:#ef4444;background:#fef2f2}.central-alert strong{color:#0f172a}.central-alert p{margin:5px 0 0;color:#64748b;font-weight:800}.central-empty,.central-empty-box p{color:var(--muted);font-weight:800}.central-empty-box{padding:22px;border-radius:22px;background:#f8fafc;border:1px dashed #cbd5e1}.central-empty-box h3{margin-bottom:8px;color:var(--primary)}.logs-timeline.compact{gap:12px}.logs-timeline.compact .log-item{padding:15px;grid-template-columns:44px 1fr}.logs-timeline.compact .log-icon{width:44px;height:44px;border-radius:15px;font-size:18px}.central-list{display:grid;gap:12px}.central-list-item{padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0}.central-list-item strong{color:var(--primary)}.central-list-item p{margin-top:5px;color:var(--muted);font-weight:800}.central-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.central-actions button{width:100%}.logs-full-section{margin-top:28px}.logs-full-section>h3{color:var(--primary);font-size:26px;margin-bottom:16px}.dark-theme .central-panel,.dark-theme .central-empty-box,.dark-theme .central-list-item{background:#1e293b!important;color:#fff!important;border-color:#ffffff14}.dark-theme .central-alert{background:#422006}.dark-theme .central-alert.urgent{background:#450a0a}.dark-theme .central-alert strong,.dark-theme .central-alert p,.dark-theme .central-list-item p,.dark-theme .central-empty,.dark-theme .central-empty-box p{color:#cbd5e1}.doctor-avatar,.profile-avatar{overflow:hidden}.doctor-avatar img,.profile-avatar img{width:100%;height:100%;object-fit:cover}.medico-photo-editor{grid-column:1 / -1;display:flex;align-items:center;gap:18px;padding:18px;border-radius:24px;background:#ffffffc7;border:1px dashed rgba(0,168,132,.45)}.medico-photo-preview,.medico-list-photo{width:86px;height:86px;border-radius:26px;overflow:hidden;background:linear-gradient(135deg,#10b981,#0ea5e9);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;font-size:34px;font-weight:950;box-shadow:0 16px 32px #00a88438}.medico-list-photo{width:70px;height:70px;border-radius:22px;font-size:28px;margin-bottom:12px}.medico-photo-preview img,.medico-list-photo img{width:100%;height:100%;object-fit:cover}.medico-photo-editor label{display:flex;flex-direction:column;gap:8px;color:var(--primary);font-weight:900;flex:1}.medico-photo-editor input{padding:12px!important;min-height:auto!important}.dark-theme .medico-photo-editor{background:#0f172a;border-color:#ffffff24}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(circle at 18% 14%,rgba(16,185,129,.1),transparent 30%),radial-gradient(circle at 92% 20%,rgba(59,130,246,.1),transparent 32%),radial-gradient(circle at 68% 88%,rgba(139,92,246,.08),transparent 28%);z-index:-1}.dashboard-ai-panel,.ia-medica-hero,.chat-premium-shell,.central-ia-prontuario{background:linear-gradient(135deg,#ffffffeb,#ecfdf5c7);border:1px solid rgba(255,255,255,.82);box-shadow:0 24px 70px #0a28461c;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border-radius:32px}.dashboard-ai-panel{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:24px;margin:20px 0 26px}.dashboard-ai-panel h3,.ia-medica-hero h3,.chat-header-premium h3{color:var(--primary);font-size:26px;margin-bottom:6px}.dashboard-ai-panel p,.ia-medica-hero p,.chat-header-premium p{color:var(--muted);font-weight:800}.ai-orb{width:72px;height:72px;border-radius:26px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#10b981,#3b82f6,#8b5cf6);color:#fff;font-size:34px;box-shadow:0 18px 38px #10b98147;animation:pulseIA 2.4s ease-in-out infinite}.ai-orb.big{width:96px;height:96px;font-size:46px}@keyframes pulseIA{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.ia-medica-hero{display:flex;align-items:center;gap:22px;padding:28px;margin-bottom:24px}.central-ia-prontuario{padding:24px;margin:24px 0}.ia-risk-card,.ia-main-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;border-radius:26px;color:#fff;margin-bottom:18px}.ia-risk-card.baixo,.ia-main-card.baixo{background:linear-gradient(135deg,#10b981,#047857)}.ia-risk-card.medio,.ia-main-card.medio{background:linear-gradient(135deg,#f59e0b,#b45309)}.ia-risk-card.alto,.ia-main-card.alto{background:linear-gradient(135deg,#ef4444,#991b1b)}.ia-risk-card.neutro,.ia-main-card.neutro{background:linear-gradient(135deg,#64748b,#334155)}.ia-risk-card span{font-size:34px}.ia-risk-card h3,.ia-main-card h3{color:#fff;margin:0 0 6px;font-size:26px}.ia-risk-card p,.ia-main-card p{color:#ffffffe6;font-weight:800}.ia-risk-card strong{font-size:22px;white-space:nowrap}.ia-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.ia-columns>div{padding:18px;border-radius:22px;background:#ffffffbf;border:1px solid rgba(255,255,255,.75)}.ia-columns h4{color:var(--primary);margin-bottom:10px;font-size:18px}.ia-columns p{margin:9px 0;color:#38566b;font-weight:800}.ia-analysis-page{display:grid;gap:20px}.ia-main-card{min-height:180px}.ia-main-card span{text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#ffffffbf}.ia-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.ia-mini-grid div{padding:20px;border-radius:24px;background:#ffffffe0;box-shadow:0 18px 42px #0a284614}.ia-mini-grid strong{display:block;font-size:36px;color:var(--primary)}.ia-mini-grid span{color:var(--muted);font-weight:900}.chat-premium-shell{padding:24px}.chat-header-premium{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:12px;margin-bottom:22px}.chat-compose textarea{min-height:86px;border-radius:22px;border:1px solid var(--line);padding:16px;resize:none;outline:none;background:#f7fbff}.chat-feed{display:grid;gap:14px;max-height:620px;overflow:auto;padding-right:6px}.chat-message{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:flex-start}.chat-message.mine{grid-template-columns:1fr 52px}.chat-message.mine .chat-avatar{grid-column:2;grid-row:1}.chat-message.mine .chat-bubble{grid-column:1;grid-row:1;background:linear-gradient(135deg,#10b981,#047857);color:#fff}.chat-message.mine .chat-bubble p,.chat-message.mine .chat-meta span{color:#ffffffe6}.chat-avatar{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#10b981,#3b82f6);color:#fff;font-size:22px;font-weight:950;display:flex;align-items:center;justify-content:center}.chat-bubble{padding:16px;border-radius:22px;background:#fff;box-shadow:0 14px 35px #0a284614}.chat-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.chat-meta strong{color:var(--primary)}.chat-meta span,.chat-bubble p,.chat-empty p{color:var(--muted);font-weight:800}.chat-empty{padding:30px;text-align:center;border-radius:26px;border:1px dashed var(--line);background:#ffffffb3}.dark-theme .dashboard-ai-panel,.dark-theme .ia-medica-hero,.dark-theme .chat-premium-shell,.dark-theme .central-ia-prontuario,.dark-theme .ia-columns>div,.dark-theme .ia-mini-grid div,.dark-theme .chat-bubble,.dark-theme .chat-empty{background:#1e293b!important;color:#fff!important;border-color:#ffffff14}.dark-theme .ia-columns p,.dark-theme .chat-bubble p,.dark-theme .chat-meta span,.dark-theme .chat-empty p{color:#cbd5e1}.chat-premium-shell{display:grid;gap:22px}.chat-hero,.chat-compose-card,.chat-messages-panel,.smart-empty-panel{border-radius:34px;background:radial-gradient(circle at 15% 10%,rgba(0,168,132,.16),transparent 32%),#ffffffdb;border:1px solid rgba(255,255,255,.85);box-shadow:0 24px 70px #0a28461a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.chat-hero,.smart-empty-header{padding:28px;display:flex;align-items:center;justify-content:space-between;gap:18px}.chat-badge{display:inline-flex;width:fit-content;padding:8px 12px;border-radius:999px;background:#00a8841f;color:var(--primary);font-weight:950;margin-bottom:10px}.chat-hero h3,.smart-empty-header h3{font-size:28px;color:var(--primary);margin-bottom:6px}.chat-hero p,.smart-empty-header p{color:var(--muted);font-weight:800}.chat-compose-card{padding:24px;display:grid;gap:16px}.chat-user-chip{display:flex;align-items:center;gap:12px}.chat-user-avatar,.chat-message-avatar{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;overflow:hidden;box-shadow:0 14px 28px #00a88438}.chat-user-avatar img{width:100%;height:100%;object-fit:cover}.chat-user-chip strong{display:block;color:var(--primary);font-size:18px}.chat-user-chip span{color:var(--muted);font-weight:800}.chat-compose-card textarea{min-height:130px;width:100%;border-radius:24px;border:1px solid var(--line);background:#f8fafc;padding:18px;resize:vertical;outline:none}.chat-compose-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.chat-compose-actions small{color:var(--muted);font-weight:800}.chat-messages-panel{padding:24px}.chat-panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.chat-panel-title h3{color:var(--primary);font-size:24px}.chat-panel-title span{min-width:36px;height:36px;border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950}.chat-empty-state{text-align:center;padding:48px 20px;border-radius:28px;background:#f8fafcc2;border:1px dashed #cbd5e1}.chat-empty-state div{font-size:54px;margin-bottom:12px}.chat-empty-state h3{color:var(--primary);font-size:24px;margin-bottom:8px}.chat-empty-state p{color:var(--muted);font-weight:800}.chat-message-list{display:grid;gap:14px}.chat-message-card{display:grid;grid-template-columns:54px 1fr;gap:14px;padding:16px;border-radius:24px;background:#f8fafc;border:1px solid #e2e8f0;animation:fadeUp .22s ease both}.chat-message-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.chat-message-top strong{color:var(--primary)}.chat-message-top span,.chat-message-content small{color:var(--muted);font-weight:800;font-size:13px}.chat-message-content p{color:#1f2937;font-weight:700;line-height:1.6;margin-bottom:7px}.smart-empty-panel{padding:0 24px 24px}.smart-actions{margin-top:22px}.smart-actions button{min-width:160px}.dark-theme .chat-hero,.dark-theme .chat-compose-card,.dark-theme .chat-messages-panel,.dark-theme .smart-empty-panel,.dark-theme .chat-message-card,.dark-theme .chat-empty-state{background:#1e293b!important;color:#fff!important;border-color:#ffffff14}.dark-theme .chat-compose-card textarea{background:#0f172a;color:#fff;border-color:#ffffff1f}.dark-theme .chat-message-content p,.dark-theme .chat-empty-state p,.dark-theme .chat-hero p,.dark-theme .smart-empty-header p{color:#cbd5e1}.receita-premium,.receita-hero,.real-chart-card,.backup-auto-box{border-radius:30px;background:radial-gradient(circle at 14% 10%,rgba(0,168,132,.16),transparent 32%),#ffffffe0;border:1px solid rgba(255,255,255,.85);box-shadow:0 24px 70px #0a28461a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.receita-premium{padding:24px}.receita-hero,.backup-auto-box{padding:24px;margin-bottom:22px;display:flex;justify-content:space-between;gap:18px;align-items:center}.receita-hero h3,.backup-auto-box h3{color:var(--primary);font-size:26px;margin-bottom:8px}.receita-hero p,.backup-auto-box p{color:var(--muted);font-weight:800}.receita-form textarea{grid-column:1 / -1}.dashboard-charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:22px;margin:28px 0}.real-chart-card{padding:24px}.real-chart-card h3{color:var(--primary);font-size:22px;margin-bottom:18px}.real-chart-card>p{color:var(--muted);font-weight:800}.real-chart-bars{display:grid;gap:13px}.real-chart-row{display:grid;grid-template-columns:110px 1fr 42px;align-items:center;gap:12px}.real-chart-row span{color:var(--muted);font-weight:800;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.real-chart-row div{height:14px;border-radius:999px;background:#e2e8f0;overflow:hidden}.real-chart-row i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--primary),var(--primary2));min-width:8px}.real-chart-row strong{color:var(--primary);font-weight:950}.dark-theme .receita-premium,.dark-theme .receita-hero,.dark-theme .real-chart-card,.dark-theme .backup-auto-box{background:#1e293b!important;color:#fff!important;border-color:#ffffff14}.dark-theme .receita-hero p,.dark-theme .backup-auto-box p,.dark-theme .real-chart-row span,.dark-theme .real-chart-card>p{color:#cbd5e1}.dark-theme .real-chart-row div{background:#0f172a}.status-atendido{background:#dcfce7!important;color:#166534!important}.status-retorno{background:#fef3c7!important;color:#92400e!important}.return-alert{width:fit-content;margin-top:8px;padding:7px 10px;border-radius:999px;background:#e0f2fe;color:#075985;font-size:12px;font-weight:950}.return-alert.today{background:#fef3c7;color:#92400e;box-shadow:0 0 0 4px #f59e0b1f}.return-alert.late{background:#fee2e2;color:#991b1b;animation:pulseReturn 1.2s infinite}.retorno-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;background:#020617ad;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:22px}.retorno-modal{width:min(560px,100%);padding:28px;border-radius:30px;background:#fffffff5;box-shadow:0 30px 90px #0000004d;border:1px solid rgba(255,255,255,.8)}.retorno-modal h3{color:var(--primary);font-size:28px;margin-bottom:8px}.retorno-modal p{color:var(--muted);font-weight:800;margin-bottom:18px}.retorno-modal label{display:grid;gap:8px;color:var(--primary);font-weight:900;margin-bottom:16px}.retorno-modal input,.retorno-modal textarea{width:100%;min-height:54px;padding:15px;border-radius:18px;border:1px solid var(--line);background:#f8fafc}.retorno-modal textarea{min-height:120px;resize:vertical}.retorno-modal-actions{display:flex;justify-content:flex-end;gap:12px}.dark-theme .retorno-modal{background:#1e293b;color:#fff;border-color:#ffffff14}.dark-theme .retorno-modal input,.dark-theme .retorno-modal textarea{background:#0f172a;color:#fff;border-color:#ffffff1f}@keyframes pulseReturn{0%,to{box-shadow:0 0 #ef444440}50%{box-shadow:0 0 0 7px #ef44441a}}.real-chart-row i{transition:width .18s ease}.dashboard-charts-grid{margin-bottom:32px}.form,.special-form,.real-chart-card,.history-card,.card{will-change:auto}.form:hover,.special-form:hover{transform:none!important}.notification-card.urgente{background:linear-gradient(135deg,#7f1d1d,#991b1b);border:1px solid rgba(255,255,255,.08);color:#fff;box-shadow:0 18px 40px #ef444440}.notification-card.urgente h4,.notification-card.urgente p,.notification-card.urgente span,.notification-card.urgente strong{color:#fff!important}.retorno-calendar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999999;background:#020617ad;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:24px}.retorno-calendar-modal{width:min(560px,100%);padding:28px;border-radius:32px;background:radial-gradient(circle at 15% 10%,rgba(0,168,132,.18),transparent 34%),#fffffff5;border:1px solid rgba(255,255,255,.85);box-shadow:0 30px 90px #00000057;color:#0f172a}.retorno-calendar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.retorno-calendar-head span{color:var(--primary);font-weight:950}.retorno-calendar-head h3{color:var(--primary);font-size:28px;margin:6px 0}.retorno-calendar-head p{color:var(--muted);font-weight:900}.retorno-close{width:42px;height:42px;min-height:42px;padding:0;border-radius:14px;background:#ef4444!important;color:#fff;font-size:24px;box-shadow:none}.retorno-calendar-modal label{display:grid;gap:8px;color:var(--primary);font-weight:950;margin-bottom:16px}.retorno-calendar-modal input,.retorno-calendar-modal textarea{width:100%;min-height:56px;padding:15px 16px;border-radius:20px;border:1px solid var(--line);background:#f8fafc;color:#0f172a;outline:none}.retorno-calendar-modal input[type=date]{cursor:pointer}.retorno-calendar-modal textarea{min-height:120px;resize:vertical}.retorno-calendar-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:8px}.dark-theme .retorno-calendar-modal{background:#1e293b;color:#fff;border-color:#ffffff1a}.dark-theme .retorno-calendar-modal input,.dark-theme .retorno-calendar-modal textarea{background:#0f172a;color:#fff;border-color:#ffffff24}.dark-theme .retorno-calendar-head p{color:#cbd5e1}.notification-panel .notification-item.urgente,.notification-panel .notification-item.urgent,.notification-item.urgente,.notification-item.urgent,.notification-card.urgente,.notification-card.urgent{background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;border-left:6px solid #f87171!important;border-top:1px solid rgba(255,255,255,.1)!important;border-right:1px solid rgba(255,255,255,.1)!important;border-bottom:1px solid rgba(255,255,255,.1)!important;color:#fff!important;box-shadow:0 18px 40px #ef444447!important}.notification-panel .notification-item.urgente *,.notification-panel .notification-item.urgent *,.notification-item.urgente *,.notification-item.urgent *,.notification-card.urgente *,.notification-card.urgent *{color:#fff!important}.dark-theme .notification-panel .notification-item.urgente,.dark-theme .notification-panel .notification-item.urgent,.dark-theme .notification-item.urgente,.dark-theme .notification-item.urgent,.dark-theme .notification-card.urgente,.dark-theme .notification-card.urgent{background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;color:#fff!important}.dark-theme .notification-panel .notification-item.urgente *,.dark-theme .notification-panel .notification-item.urgent *,.dark-theme .notification-item.urgente *,.dark-theme .notification-item.urgent *,.dark-theme .notification-card.urgente *,.dark-theme .notification-card.urgent *{color:#fff!important}.notification-panel{width:min(430px,calc(100vw - 32px))!important;max-height:72vh!important;overflow-y:auto!important;background:#1e293b!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:28px!important;padding:18px!important;box-shadow:0 25px 70px #00000061!important}.notification-panel h3{color:#fff!important;font-size:26px!important;margin-bottom:16px!important}.notification-panel .notification-item,.notification-panel .notification-card,.notification-panel .notification,.notification-item,.notification-card,.notification{width:100%!important;min-height:auto!important;background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;border-left:6px solid #f87171!important;border-radius:20px!important;padding:16px!important;margin-bottom:12px!important;color:#fff!important;box-shadow:0 18px 40px #ef444447!important;overflow:visible!important;white-space:normal!important}.notification-panel .notification-item *,.notification-panel .notification-card *,.notification-panel .notification *,.notification-item *,.notification-card *,.notification *{color:#fff!important;white-space:normal!important;overflow:visible!important;text-overflow:unset!important;word-break:break-word!important;line-height:1.45!important}.notification-panel .notification-item strong,.notification-panel .notification-card strong,.notification-panel .notification strong{display:block!important;font-size:18px!important;font-weight:950!important;margin-bottom:5px!important}.notification-panel .notification-item p,.notification-panel .notification-card p,.notification-panel .notification p{font-size:14px!important;opacity:.98!important}.area-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.area-actions button{min-height:44px;padding:11px 14px;border-radius:14px;font-size:13px}.surgery-hero{padding:26px;border-radius:30px;background:radial-gradient(circle at 15% 10%,rgba(0,168,132,.16),transparent 32%),#ffffffe0;border:1px solid rgba(255,255,255,.85);box-shadow:0 24px 70px #0a28461a;margin-bottom:24px}.surgery-hero h3{color:var(--primary);font-size:28px;margin-bottom:8px}.surgery-hero p{color:var(--muted);font-weight:800}.surgery-form textarea{grid-column:1 / -1}.surgery-photo-box{padding:18px;border-radius:24px;background:#ffffffc7;border:1px dashed rgba(0,168,132,.45)}.surgery-photo-box label{display:grid;gap:8px;color:var(--primary);font-weight:950}.surgery-photo-box img{width:100%;max-height:250px;object-fit:cover;margin-top:14px;border-radius:22px;border:2px solid rgba(0,168,132,.35)}.surgery-before-after{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-top:16px}.surgery-before-after div{padding:10px;border-radius:18px;background:#ffffffa6;border:1px solid rgba(255,255,255,.75)}.surgery-before-after span{display:block;color:var(--primary);font-weight:950;margin-bottom:8px}.surgery-before-after img{width:100%;height:160px;object-fit:cover;border-radius:14px}.dark-theme .surgery-hero,.dark-theme .surgery-photo-box,.dark-theme .surgery-before-after div{background:#1e293b!important;color:#fff!important;border-color:#ffffff1a}.dark-theme .surgery-hero p{color:#cbd5e1}.notification-panel-head{display:flex;justify-content:flex-end;margin-bottom:8px}.notification-restore{min-height:34px!important;padding:7px 12px!important;border-radius:12px!important;background:#ffffff1a!important;color:#fff!important;box-shadow:none!important;font-size:12px!important}.notification-item{padding-right:48px!important}.notification-close{position:absolute;right:12px;top:12px;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border-radius:10px!important;background:#ffffff29!important;color:#fff!important;font-size:22px!important;line-height:1!important;box-shadow:none!important}.notification-close:hover,.notification-restore:hover{transform:none!important;filter:brightness(1.12)}.notification-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:16px!important}.notification-title-row h3{margin:0!important}.notification-title-actions{display:flex!important;align-items:center!important;gap:8px!important}.notification-panel-close,.notification-close,.notification-restore{box-shadow:none!important;transform:none!important}.notification-panel-close{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:12px!important;background:#ffffff29!important;color:#fff!important;font-size:24px!important;line-height:1!important}.notification-restore{min-height:34px!important;padding:7px 12px!important;border-radius:12px!important;background:#ffffff21!important;color:#fff!important;font-size:12px!important}.notification-item{position:relative!important;padding-right:54px!important}.notification-close{position:absolute!important;right:13px!important;top:13px!important;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border-radius:11px!important;background:#ffffff2e!important;color:#fff!important;font-size:23px!important;line-height:1!important;z-index:5!important}.notification-close:hover,.notification-panel-close:hover,.notification-restore:hover{filter:brightness(1.16)!important;transform:none!important}.notification-empty{color:#fff!important;font-weight:800!important;opacity:.9!important}.area-actions{display:flex!important;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid rgba(148,163,184,.22)}.area-actions button{min-height:44px!important;padding:11px 15px!important;border-radius:14px!important;font-size:13px!important;font-weight:950!important}.success-btn{background:linear-gradient(135deg,#22c55e,#15803d)!important;color:#fff!important;box-shadow:0 14px 32px #22c55e38!important}.return-btn{background:linear-gradient(135deg,#6366f1,#0ea5e9)!important;color:#fff!important;box-shadow:0 14px 32px #6366f138!important}.warning-btn{background:linear-gradient(135deg,#f59e0b,#f97316)!important;color:#fff!important;box-shadow:0 14px 32px #f59e0b38!important}.portal-login-card{width:min(470px,100%)}.portal-login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0;padding:8px;border-radius:20px;background:#e2e8f0}.portal-login-tabs button{min-height:44px;border-radius:15px;box-shadow:none;background:transparent;color:#334155}.portal-login-tabs button.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 12px 26px #00a8842e}.patient-login-info{padding:12px 14px;margin-bottom:12px;border-radius:16px;background:#ecfeff;color:#075985;font-weight:900;text-align:center}.patient-portal-page{min-height:100vh;padding:28px;background:radial-gradient(circle at 12% 8%,rgba(0,168,132,.18),transparent 30%),radial-gradient(circle at 90% 12%,rgba(14,165,233,.16),transparent 30%),linear-gradient(135deg,#eef7f6,#f8fbff)}.patient-portal-shell{width:min(1180px,100%);margin:0 auto}.patient-portal-header,.patient-return-box,.patient-results-section,.patient-exam-card,.patient-portal-card{background:#ffffffdb;border:1px solid rgba(255,255,255,.86);box-shadow:0 24px 70px #0a28461a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.patient-portal-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:28px;border-radius:34px;margin-bottom:22px}.patient-portal-header span{display:inline-flex;padding:8px 12px;border-radius:999px;background:#00a8841f;color:var(--primary);font-weight:950;margin-bottom:10px}.patient-portal-header h1{color:#073b4c;font-size:clamp(34px,5vw,58px);line-height:1;margin-bottom:8px}.patient-portal-header p{color:var(--muted);font-weight:800}.patient-portal-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-bottom:22px}.patient-portal-card{padding:24px;border-radius:28px}.patient-portal-card strong{display:block;color:var(--primary);font-size:36px;font-weight:950;margin-bottom:8px}.patient-portal-card span{color:var(--muted);font-weight:900}.patient-return-box{padding:24px;border-radius:30px;margin-bottom:22px;border-left:7px solid #f59e0b}.patient-return-box.ok{border-left-color:#22c55e}.patient-return-box h2,.patient-results-section h2{font-size:28px;color:var(--primary);margin-bottom:14px}.patient-return-box p{color:#334155;font-weight:800;line-height:1.8}.patient-results-section{padding:24px;border-radius:30px}.patient-empty-results{padding:22px;border-radius:20px;background:#f8fafc;color:var(--muted);font-weight:900;text-align:center}.patient-exam-card{padding:22px;border-radius:26px;margin-top:16px}.patient-exam-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.patient-exam-top h3{color:var(--primary);font-size:23px;margin-bottom:4px}.patient-exam-top p,.patient-exam-top span{color:var(--muted);font-weight:800}.patient-exam-card pre{margin-top:12px;padding:16px;border-radius:18px;background:#082032;color:#c8fff0;white-space:pre-wrap;overflow:auto}@media (max-width:700px){.patient-portal-page{padding:16px}.patient-portal-header{flex-direction:column;align-items:flex-start}}.patient-login-info{padding:12px 14px;border-radius:16px;background:#00a8841f;color:#047857;font-weight:900;margin-bottom:14px;text-align:center}.portal-login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.portal-login-tabs button{min-height:46px;border-radius:16px;background:#e2e8f0;color:#0f172a;box-shadow:none}.portal-login-tabs button.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 14px 32px #00a88438}.dark-theme .patient-login-info{background:#00a8842e;color:#6ee7b7}.patient-login-btn{background:linear-gradient(135deg,#7c3aed,#2563eb)!important;color:#fff!important;box-shadow:0 14px 32px #7c3aed38!important}.patient-login-btn:hover{filter:brightness(1.08)}:root{--premium-bg: #eef7f6;--premium-card: rgba(255,255,255,.88);--premium-dark-card: #1e293b;--premium-shadow: 0 24px 70px rgba(10,40,70,.12)}body{background:radial-gradient(circle at 15% 5%,rgba(0,168,132,.18),transparent 32%),radial-gradient(circle at 90% 20%,rgba(14,165,233,.16),transparent 30%),radial-gradient(circle at 45% 100%,rgba(16,185,129,.12),transparent 38%),linear-gradient(135deg,#eef7f6,#f8fbff)!important}.card,.history-card,.form,.special-form,.profile-card,.vaccine-card,.vaccine-card-editor,.chat-premium-shell,.dashboard-ai-panel,.ia-medica-hero,.central-panel,.logs-hero,.log-item,.patients-table-wrapper{border-radius:30px!important;box-shadow:var(--premium-shadow)!important;border:1px solid rgba(255,255,255,.78)!important}h2{letter-spacing:-1.8px!important;line-height:1!important}h2:after{width:92px!important;height:5px!important;box-shadow:0 8px 18px #00a88447}input,select,textarea,.search-input,.global-search{border-radius:18px!important;min-height:54px!important}button,.exam-btn,.pdf-btn,.secondary-btn{border-radius:17px!important;letter-spacing:-.2px}.login-container{background:radial-gradient(circle at 20% 12%,rgba(14,165,233,.28),transparent 32%),radial-gradient(circle at 90% 88%,rgba(16,185,129,.24),transparent 34%),linear-gradient(135deg,#020617,#064e3b)!important}.login-card{border-radius:34px!important;max-width:430px;width:min(430px,calc(100vw - 28px))!important;padding:34px!important}.login-card h1{font-size:36px!important}.medical-logo{box-shadow:0 18px 42px #00a88452,inset 0 1px #ffffff42}.modern-topbar,.topbar{border-radius:30px!important}.doctor-avatar{box-shadow:0 16px 38px #00a8844d!important}.patients-table-wrapper{border-radius:26px!important}.table-actions button{white-space:nowrap}.notification-panel{border-radius:26px!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.hero-card{min-height:170px;border-radius:28px!important}.hero-card h2{font-size:48px!important}.hero-card p{max-width:160px}.quick-actions{gap:12px!important}.quick-actions button{border-radius:18px!important;min-height:54px}.area-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:18px!important}.area-actions button{min-height:43px!important;padding:10px 14px!important;border-radius:14px!important;font-size:13px!important}.surgery-photo-box,.foto-upload-box,.medico-photo-editor{border-radius:24px!important}.dark-theme{background:radial-gradient(circle at 15% 5%,rgba(0,168,132,.1),transparent 32%),radial-gradient(circle at 85% 12%,rgba(14,165,233,.08),transparent 34%),linear-gradient(135deg,#020617,#0f172a)!important}.dark-theme .card,.dark-theme .history-card,.dark-theme .form,.dark-theme .special-form,.dark-theme .profile-card,.dark-theme .vaccine-card,.dark-theme .vaccine-card-editor,.dark-theme .chat-premium-shell,.dark-theme .dashboard-ai-panel,.dark-theme .ia-medica-hero,.dark-theme .central-panel,.dark-theme .logs-hero,.dark-theme .log-item,.dark-theme .patients-table-wrapper{background:#1e293beb!important;border-color:#ffffff14!important;box-shadow:0 24px 70px #00000059!important}.dark-theme h2,.dark-theme h3,.dark-theme strong{color:#f8fafc}.dark-theme .history-card p,.dark-theme .card h3,.dark-theme .doctor-info p,.dark-theme .chat-bubble p{color:#cbd5e1!important}@media (max-width: 900px){body{background-attachment:fixed}.system{display:block!important}.sidebar{width:100%!important;min-height:auto!important;position:sticky!important;top:0!important;z-index:9000!important;padding:12px!important;display:flex!important;gap:9px!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:0 0 24px 24px;box-shadow:0 18px 45px #00000038!important}.sidebar::-webkit-scrollbar{height:0}.sidebar h1{display:none!important}.sidebar button{width:auto!important;min-width:fit-content!important;white-space:nowrap!important;padding:12px 15px!important;min-height:46px!important;margin:0!important;border-radius:15px!important;font-size:13px!important}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{transform:none!important}.content{padding:16px!important}.modern-topbar,.topbar{grid-template-columns:1fr!important;padding:15px!important;border-radius:24px!important;gap:14px!important;margin-bottom:20px!important}.doctor-box{gap:12px!important}.doctor-avatar{width:54px!important;height:54px!important;border-radius:18px!important;font-size:24px!important}.doctor-info h3{font-size:18px!important}.search-global input,input.global-search{min-height:52px!important;border-radius:18px!important}.topbar-actions{width:100%;display:grid!important;grid-template-columns:56px 1fr 1fr!important;gap:9px!important}.notification-bell{width:52px!important;height:52px!important;border-radius:17px!important}.theme-toggle,.logout-modern{width:100%!important;min-height:52px!important;padding:0 12px!important;border-radius:17px!important;font-size:13px!important}.notification-panel{position:fixed!important;left:12px!important;right:12px!important;top:92px!important;width:auto!important;max-height:72vh!important}h2{font-size:34px!important;margin-bottom:20px!important}.dashboard-hero,.cards,.central-grid,.ia-mini-grid{grid-template-columns:1fr 1fr!important;gap:12px!important}.hero-card,.card{min-height:140px!important;padding:20px!important;border-radius:24px!important}.hero-card h2{font-size:38px!important}.hero-card p,.card h3{font-size:14px!important}.card span{font-size:36px!important}.dashboard-ai-panel{grid-template-columns:1fr!important;text-align:center;padding:22px!important}.dashboard-ai-panel .ai-orb{margin:0 auto}.quick-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.quick-actions button{width:100%!important;min-height:50px!important;font-size:13px!important;padding:12px!important}.form,.special-form,.labeled-form{grid-template-columns:1fr!important;padding:18px!important;border-radius:26px!important;gap:13px!important}.patients-list{grid-template-columns:1fr!important;gap:14px!important}.history-card{padding:20px!important;border-radius:25px!important}.history-card h3{font-size:21px!important}.history-card p{font-size:14px!important;line-height:1.65!important}.patients-table{min-width:850px!important}.chat-hero,.smart-empty-header,.ia-medica-hero{flex-direction:column!important;align-items:flex-start!important;padding:22px!important}.chat-compose{grid-template-columns:1fr!important}.chat-message,.chat-message.mine{grid-template-columns:42px 1fr!important}.chat-message.mine .chat-avatar{grid-column:1!important}.chat-message.mine .chat-bubble{grid-column:2!important}.chat-avatar,.chat-message-avatar,.chat-user-avatar{width:42px!important;height:42px!important;border-radius:15px!important}.central-panels{grid-template-columns:1fr!important}.modal-overlay{padding:14px!important}.confirm-modal{border-radius:26px!important;padding:22px!important}}@media (max-width: 520px){.content{padding:12px!important}.dashboard-hero,.cards,.central-grid,.ia-mini-grid,.quick-actions{grid-template-columns:1fr!important}.hero-card,.card{min-height:130px!important}.topbar-actions{grid-template-columns:52px 1fr 1fr!important}.login-card{padding:26px 20px!important;border-radius:28px!important}.login-card h1{font-size:31px!important}.medical-logo{width:68px!important;height:68px!important;border-radius:22px!important}.form input,.form select,.form textarea,.special-form input,.special-form select,.special-form textarea,.login-card input{min-height:52px!important;padding:14px 15px!important}button,.exam-btn,.pdf-btn,.secondary-btn{min-height:50px!important;padding:12px 16px!important}.area-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.area-actions button{width:100%!important}}:root{--hs-bg-1: #ecfeff;--hs-bg-2: #f8fafc;--hs-card: rgba(255, 255, 255, .88);--hs-card-dark: rgba(15, 23, 42, .92);--hs-border: rgba(255, 255, 255, .78);--hs-border-dark: rgba(255, 255, 255, .08);--hs-text: #0f172a;--hs-muted: #64748b;--hs-primary: #00a884;--hs-primary-2: #0ea5e9;--hs-danger: #ef4444;--hs-warning: #f59e0b;--hs-shadow: 0 24px 70px rgba(10, 40, 70, .12);--hs-shadow-dark: 0 24px 70px rgba(0, 0, 0, .36)}html{scroll-behavior:smooth}body{background:radial-gradient(circle at 10% 0%,rgba(0,168,132,.2),transparent 32%),radial-gradient(circle at 92% 16%,rgba(14,165,233,.18),transparent 34%),radial-gradient(circle at 50% 100%,rgba(16,185,129,.1),transparent 38%),linear-gradient(135deg,var(--hs-bg-1),var(--hs-bg-2))!important;color:var(--hs-text)}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);background-size:42px 42px;-webkit-mask-image:radial-gradient(circle at center,rgba(0,0,0,.18),transparent 70%);mask-image:radial-gradient(circle at center,rgba(0,0,0,.18),transparent 70%);z-index:-1}.login-container{min-height:100vh!important;padding:24px!important;background:radial-gradient(circle at 20% 12%,rgba(14,165,233,.3),transparent 34%),radial-gradient(circle at 88% 85%,rgba(16,185,129,.28),transparent 36%),linear-gradient(135deg,#020617,#064e3b 58%,#0f766e)!important}.login-card{width:min(460px,calc(100vw - 32px))!important;padding:42px 38px!important;border-radius:38px!important;background:linear-gradient(145deg,#fffffff5,#f0fdfae6)!important;border:1px solid rgba(255,255,255,.72)!important;box-shadow:0 38px 110px #00000059,inset 0 1px #ffffffd9!important;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);position:relative;overflow:hidden}.login-card:before{content:"";position:absolute;width:170px;height:170px;right:-62px;top:-62px;border-radius:999px;background:linear-gradient(135deg,#00a88433,#0ea5e929)}.medical-logo{width:86px!important;height:86px!important;border-radius:30px!important;background:linear-gradient(135deg,#00a884,#0ea5e9,#7c3aed)!important;box-shadow:0 22px 48px #00a88457,inset 0 1px #ffffff4d!important}.login-card h1{font-size:42px!important;letter-spacing:-1.6px;color:#062f3d!important}.login-card p,.login-card small{color:#64748b!important;font-weight:800}.login-card input{min-height:58px!important;border-radius:21px!important;background:#f8fafc!important;border:1px solid rgba(148,163,184,.28)!important}.login-card input:focus{background:#fff!important;border-color:var(--hs-primary)!important;box-shadow:0 0 0 5px #00a88424!important}.login-card button{min-height:58px!important;border-radius:21px!important;background:linear-gradient(135deg,#00a884,#0ea5e9)!important;box-shadow:0 18px 42px #00a88447!important}.system{background:transparent!important}.sidebar{background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.16),transparent 32%),linear-gradient(180deg,#022c2d,#064e3b 52%,#0f172a)!important;border-right:1px solid rgba(255,255,255,.08);box-shadow:26px 0 70px #022c2d38!important}.sidebar h1{background:linear-gradient(145deg,#ffffff29,#ffffff14)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:inset 0 1px #ffffff1f}.sidebar button{border-radius:18px!important;background:#ffffff13!important;border:1px solid rgba(255,255,255,.09)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{background:linear-gradient(135deg,#fff,#dff7f0)!important;color:#063b3b!important;box-shadow:0 18px 40px #ffffff24}.modern-topbar,.topbar{background:#ffffffd6!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:34px!important;box-shadow:var(--hs-shadow)!important;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.doctor-avatar,.profile-avatar{background:linear-gradient(135deg,#00a884,#0ea5e9,#7c3aed)!important;box-shadow:0 18px 42px #00a8844d!important}.doctor-info h3{letter-spacing:-.7px}.search-global input,.global-search,.search-input{border-radius:22px!important;background:#f8fafceb!important;border:1px solid rgba(148,163,184,.22)!important;box-shadow:inset 0 1px #ffffffe6!important}.search-global input:focus,.global-search:focus,.search-input:focus{background:#fff!important;border-color:var(--hs-primary)!important;box-shadow:0 0 0 5px #00a88421!important}.card,.history-card,.form,.special-form,.profile-card,.vaccine-card,.vaccine-card-editor,.signature-panel,.chat-premium-shell,.dashboard-ai-panel,.ia-medica-hero,.central-panel,.logs-hero,.log-item,.patients-table-wrapper,.not-found-page,.confirm-modal,.surgery-hero,.surgery-photo-box{background:var(--hs-card)!important;border:1px solid var(--hs-border)!important;border-radius:32px!important;box-shadow:var(--hs-shadow)!important;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.card:before,.history-card:after{opacity:.8}.card:hover,.history-card:hover,.central-panel:hover{transform:translateY(-4px)}h2{color:#062f3d!important;line-height:.98!important;letter-spacing:-2px!important}h2:after{height:6px!important;width:100px!important;box-shadow:0 10px 22px #00a88447}input,select,textarea{border-radius:20px!important}.form input,.form select,.form textarea,.special-form input,.special-form select,.special-form textarea{background:#f8fafcf5!important;border:1px solid rgba(148,163,184,.24)!important}.form input:focus,.form select:focus,.form textarea:focus,.special-form input:focus,.special-form select:focus,.special-form textarea:focus{border-color:var(--hs-primary)!important;background:#fff!important}button,.exam-btn,.pdf-btn,.secondary-btn{border-radius:18px!important;font-weight:950!important;letter-spacing:-.25px}button:not(.notification-close):not(.mini-delete):not(.notification-panel-close):hover,.exam-btn:hover,.pdf-btn:hover{transform:translateY(-3px)}.delete-btn,.logout-btn,.logout-modern,.mini-delete{background:linear-gradient(135deg,#ef4444,#f97316)!important}.warning-btn{background:linear-gradient(135deg,#f59e0b,#f97316)!important}.success-btn{background:linear-gradient(135deg,#22c55e,#15803d)!important}.return-btn,.patient-login-btn{background:linear-gradient(135deg,#6366f1,#0ea5e9)!important}.hero-card{min-height:178px!important;border-radius:32px!important;box-shadow:0 24px 60px #0f172a2e!important}.hero-card:after{width:140px!important;height:140px!important}.dashboard-ai-panel{background:radial-gradient(circle at 8% 20%,rgba(0,168,132,.14),transparent 30%),linear-gradient(135deg,#fffffff0,#ecfdf5d6)!important}.ai-orb{box-shadow:0 22px 48px #6366f138!important}.notification-panel{background:#1e293b!important;color:#fff!important;border:1px solid rgba(255,255,255,.1)!important}.notification-item{background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;color:#fff!important;border-left:6px solid #f87171!important;box-shadow:0 18px 42px #ef444447!important}.dark-theme{background:radial-gradient(circle at 15% 5%,rgba(0,168,132,.12),transparent 34%),radial-gradient(circle at 86% 12%,rgba(14,165,233,.1),transparent 34%),linear-gradient(135deg,#020617,#0f172a)!important}.dark-theme body:before{opacity:.18}.dark-theme .modern-topbar,.dark-theme .topbar,.dark-theme .card,.dark-theme .history-card,.dark-theme .form,.dark-theme .special-form,.dark-theme .profile-card,.dark-theme .vaccine-card,.dark-theme .vaccine-card-editor,.dark-theme .signature-panel,.dark-theme .chat-premium-shell,.dark-theme .dashboard-ai-panel,.dark-theme .ia-medica-hero,.dark-theme .central-panel,.dark-theme .logs-hero,.dark-theme .log-item,.dark-theme .patients-table-wrapper,.dark-theme .not-found-page,.dark-theme .confirm-modal,.dark-theme .surgery-hero,.dark-theme .surgery-photo-box{background:var(--hs-card-dark)!important;border-color:var(--hs-border-dark)!important;box-shadow:var(--hs-shadow-dark)!important;color:#f8fafc!important}.dark-theme h2,.dark-theme h3,.dark-theme strong,.dark-theme .doctor-info h3{color:#f8fafc!important}.dark-theme p,.dark-theme small,.dark-theme .history-card p,.dark-theme .card h3,.dark-theme .doctor-info p,.dark-theme .chat-bubble p{color:#cbd5e1!important}.dark-theme input,.dark-theme select,.dark-theme textarea,.dark-theme .search-global input,.dark-theme .global-search,.dark-theme .search-input{background:#0f172a!important;color:#fff!important;border-color:#ffffff21!important}.dark-theme input::placeholder,.dark-theme textarea::placeholder{color:#e2e8f080!important}@media (max-width: 900px){.system{display:block!important}.sidebar{width:100%!important;min-height:auto!important;position:sticky!important;top:0!important;z-index:9999!important;display:flex!important;gap:9px!important;padding:12px!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:0 0 26px 26px}.sidebar::-webkit-scrollbar{height:0}.sidebar h1{display:none!important}.sidebar button{width:auto!important;min-width:fit-content!important;min-height:46px!important;white-space:nowrap!important;padding:12px 15px!important;margin:0!important;font-size:13px!important;border-radius:15px!important}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{transform:none!important}.content{padding:16px!important}.modern-topbar,.topbar{grid-template-columns:1fr!important;padding:16px!important;border-radius:26px!important;gap:14px!important}.doctor-avatar{width:54px!important;height:54px!important;border-radius:18px!important;font-size:24px!important}.doctor-info h3{font-size:18px!important}.topbar-actions{width:100%;display:grid!important;grid-template-columns:56px 1fr 1fr!important;gap:9px!important}.notification-bell{width:52px!important;height:52px!important;border-radius:17px!important}.theme-toggle,.logout-modern{width:100%!important;min-height:52px!important;padding:0 12px!important;border-radius:17px!important;font-size:13px!important}.notification-panel{position:fixed!important;left:12px!important;right:12px!important;top:92px!important;width:auto!important;max-height:72vh!important}h2{font-size:34px!important;margin-bottom:20px!important}.dashboard-hero,.cards,.central-grid,.ia-mini-grid{grid-template-columns:1fr 1fr!important;gap:12px!important}.hero-card,.card{min-height:140px!important;padding:20px!important;border-radius:24px!important}.hero-card h2{font-size:38px!important}.form,.special-form,.labeled-form{grid-template-columns:1fr!important;padding:18px!important;border-radius:26px!important;gap:13px!important}.patients-list{grid-template-columns:1fr!important;gap:14px!important}.history-card{padding:20px!important;border-radius:25px!important}.patients-table{min-width:850px!important}.quick-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.quick-actions button{width:100%!important;min-height:50px!important;font-size:13px!important;padding:12px!important}.chat-hero,.smart-empty-header,.ia-medica-hero{flex-direction:column!important;align-items:flex-start!important;padding:22px!important}.central-panels{grid-template-columns:1fr!important}}@media (max-width: 520px){.content{padding:12px!important}.dashboard-hero,.cards,.central-grid,.ia-mini-grid,.quick-actions{grid-template-columns:1fr!important}.login-card{padding:28px 22px!important;border-radius:30px!important}.login-card h1{font-size:32px!important}.medical-logo{width:70px!important;height:70px!important;border-radius:23px!important}.area-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.area-actions button{width:100%!important}}@media (display-mode: standalone){body{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}input,textarea{-webkit-user-select:text;user-select:text}.content{padding-bottom:34px!important}}:root{--ultra-1: #00f5c8;--ultra-2: #00a884;--ultra-3: #0ea5e9;--ultra-4: #7c3aed;--ultra-dark: #020617;--ultra-panel: rgba(255,255,255,.76);--ultra-line: rgba(255,255,255,.62);--ultra-shadow: 0 30px 90px rgba(2, 44, 45, .18);--ultra-shadow-hover: 0 40px 110px rgba(0, 168, 132, .23)}body{background:radial-gradient(circle at 8% 8%,rgba(0,245,200,.22),transparent 26%),radial-gradient(circle at 92% 10%,rgba(14,165,233,.22),transparent 28%),radial-gradient(circle at 70% 92%,rgba(124,58,237,.14),transparent 32%),linear-gradient(135deg,#eafffb,#f8fbff 44%,#eef7ff)!important;background-attachment:fixed!important}body:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.48),transparent 18%),linear-gradient(120deg,rgba(255,255,255,.18),transparent 42%,rgba(255,255,255,.16));opacity:.75}.login-container{position:relative;overflow:hidden;background:radial-gradient(circle at 18% 15%,rgba(0,245,200,.32),transparent 28%),radial-gradient(circle at 90% 78%,rgba(14,165,233,.3),transparent 34%),radial-gradient(circle at 70% 30%,rgba(124,58,237,.18),transparent 25%),linear-gradient(135deg,#020617,#052e2f 46%,#065f46)!important}.login-container:before,.login-container:after{content:"";position:absolute;border-radius:999px;filter:blur(4px);opacity:.8;pointer-events:none}.login-container:before{width:360px;height:360px;left:-120px;top:-90px;background:radial-gradient(circle,rgba(0,245,200,.22),transparent 64%)}.login-container:after{width:420px;height:420px;right:-160px;bottom:-160px;background:radial-gradient(circle,rgba(14,165,233,.23),transparent 66%)}.login-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#fffffff5,#ecfdf5c7)!important;border:1px solid rgba(255,255,255,.82)!important;box-shadow:0 45px 130px #00000061,inset 0 1px #fffffff2!important}.login-card:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 34%),radial-gradient(circle at 100% 0%,rgba(0,168,132,.18),transparent 34%)}.medical-logo{background:conic-gradient(from 180deg,var(--ultra-1),var(--ultra-3),var(--ultra-4),var(--ultra-2),var(--ultra-1))!important;box-shadow:0 26px 56px #00a8845c,0 0 0 8px #00a88414,inset 0 1px #fff6!important;animation:ultraFloat 3.2s ease-in-out infinite}@keyframes ultraFloat{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(1deg)}}.login-card h1{font-size:44px!important;background:linear-gradient(135deg,#063b3b,#00a884,#0ea5e9);-webkit-background-clip:text;background-clip:text;color:transparent!important}.login-card button{position:relative;overflow:hidden}.login-card button:before,button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-120%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);transition:.55s ease}.login-card button:hover:before,button:hover:before{transform:translate(120%)}.sidebar{background:radial-gradient(circle at 50% -10%,rgba(0,245,200,.2),transparent 34%),linear-gradient(180deg,#020617,#063b3b 48%,#065f46)!important;box-shadow:28px 0 80px #02061752,inset -1px 0 #ffffff14!important}.sidebar h1{background:linear-gradient(145deg,#ffffff2e,#ffffff12)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 1px #ffffff2e,0 18px 42px #0000002e}.sidebar button{position:relative;overflow:hidden}.sidebar button:after{content:"";position:absolute;left:12px;top:50%;width:5px;height:0;transform:translateY(-50%);border-radius:999px;background:linear-gradient(var(--ultra-1),var(--ultra-3));transition:.25s ease}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{padding-left:26px!important}.modern-topbar,.topbar,.card,.history-card,.form,.special-form,.profile-card,.vaccine-card,.vaccine-card-editor,.signature-panel,.dashboard-ai-panel,.chat-premium-shell,.ia-medica-hero,.central-panel,.logs-hero,.log-item,.patients-table-wrapper,.surgery-hero,.surgery-photo-box,.confirm-modal,.not-found-page{background:linear-gradient(145deg,#ffffffdb,#ffffff9e)!important;border:1px solid rgba(255,255,255,.74)!important;box-shadow:var(--ultra-shadow),inset 0 1px #ffffffe6!important;-webkit-backdrop-filter:blur(26px) saturate(140%);backdrop-filter:blur(26px) saturate(140%)}.card,.history-card,.hero-card,.central-card{transform-style:preserve-3d}.card:hover,.history-card:hover,.hero-card:hover,.central-card:hover,.central-panel:hover{transform:translateY(-7px) scale(1.01)!important;box-shadow:var(--ultra-shadow-hover)!important}h2:after{background:linear-gradient(90deg,var(--ultra-1),var(--ultra-3),var(--ultra-4))!important;box-shadow:0 12px 28px #0ea5e952!important}.hero-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.32)}.hero-card:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;background:radial-gradient(circle at 80% 10%,rgba(255,255,255,.3),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.12),transparent 42%);pointer-events:none}.hero-card h2,.hero-card p,.hero-card .mini-chart{position:relative;z-index:2}.emerald{background:linear-gradient(135deg,#00b894,#047857 58%,#064e3b)!important}.blue{background:linear-gradient(135deg,#38bdf8,#2563eb 55%,#1e3a8a)!important}.red{background:linear-gradient(135deg,#fb7185,#dc2626 55%,#7f1d1d)!important}.purple{background:linear-gradient(135deg,#a78bfa,#7c3aed 55%,#4c1d95)!important}.mini-chart span{background:linear-gradient(180deg,#ffffffeb,#ffffff70)!important;box-shadow:0 8px 18px #0000001a,inset 0 1px #ffffffe6!important}input,select,textarea{background:linear-gradient(145deg,#fffffffa,#f8fafceb)!important;border:1px solid rgba(148,163,184,.28)!important;box-shadow:inset 0 1px #fffffff2,0 10px 26px #0f172a09!important}input:focus,select:focus,textarea:focus{border-color:var(--ultra-2)!important;box-shadow:0 0 0 5px #00a88424,0 12px 28px #00a88414!important}button,.exam-btn,.pdf-btn,.secondary-btn{position:relative;overflow:hidden;box-shadow:0 16px 38px #00a88438,inset 0 1px #ffffff40!important}button:active{transform:translateY(0) scale(.98)!important}.delete-btn,.logout-btn,.logout-modern,.mini-delete{box-shadow:0 16px 38px #ef44443d,inset 0 1px #ffffff3d!important}.warning-btn{box-shadow:0 16px 38px #f59e0b3d,inset 0 1px #ffffff3d!important}.return-btn,.patient-login-btn{box-shadow:0 16px 38px #6366f13d,inset 0 1px #ffffff3d!important}.patients-table th{background:linear-gradient(135deg,#022c2d,#047857 58%,#0ea5e9)!important}.patients-table tr{transition:.22s ease}.patients-table tr:hover td{background:#ecfdf5b8!important}.notification-panel{background:linear-gradient(145deg,#0f172afa,#1e293bf5)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 34px 90px #0000006b!important}.notification-item{background:radial-gradient(circle at 90% 0%,rgba(255,255,255,.16),transparent 32%),linear-gradient(135deg,#b91c1c,#7f1d1d)!important}.ai-orb,.ai-orb.big{background:conic-gradient(from 160deg,var(--ultra-1),var(--ultra-3),var(--ultra-4),var(--ultra-2),var(--ultra-1))!important;box-shadow:0 24px 58px #0ea5e940,0 0 0 10px #0ea5e914!important}.chat-bubble{border:1px solid rgba(255,255,255,.65);background:linear-gradient(145deg,#fffffff0,#f8fafcb8)!important}.dark-theme{background:radial-gradient(circle at 10% 0%,rgba(0,245,200,.1),transparent 30%),radial-gradient(circle at 90% 16%,rgba(14,165,233,.1),transparent 34%),radial-gradient(circle at 70% 90%,rgba(124,58,237,.08),transparent 32%),linear-gradient(135deg,#020617,#0f172a 62%,#031f22)!important}.dark-theme .modern-topbar,.dark-theme .topbar,.dark-theme .card,.dark-theme .history-card,.dark-theme .form,.dark-theme .special-form,.dark-theme .profile-card,.dark-theme .vaccine-card,.dark-theme .vaccine-card-editor,.dark-theme .signature-panel,.dark-theme .dashboard-ai-panel,.dark-theme .chat-premium-shell,.dark-theme .ia-medica-hero,.dark-theme .central-panel,.dark-theme .logs-hero,.dark-theme .log-item,.dark-theme .patients-table-wrapper,.dark-theme .surgery-hero,.dark-theme .surgery-photo-box,.dark-theme .confirm-modal,.dark-theme .not-found-page,.dark-theme .chat-bubble{background:linear-gradient(145deg,#1e293bf5,#0f172ae0)!important;border-color:#ffffff17!important;box-shadow:0 30px 90px #0000006b,inset 0 1px #ffffff0f!important}.dark-theme h2,.dark-theme .dashboard-ai-panel h3,.dark-theme .ia-medica-hero h3,.dark-theme .chat-header-premium h3,.dark-theme .central-panel-title h3,.dark-theme .logs-hero h3,.dark-theme .history-card h3{background:linear-gradient(135deg,#5eead4,#22c55e,#38bdf8);-webkit-background-clip:text;background-clip:text;color:transparent!important}.dark-theme input,.dark-theme select,.dark-theme textarea{background:linear-gradient(145deg,#0f172afa,#020617e0)!important;color:#fff!important;border-color:#ffffff1f!important}@media (max-width: 900px){.sidebar{background:linear-gradient(135deg,#020617,#064e3b,#0f766e)!important;border-radius:0 0 30px 30px!important}.sidebar button{box-shadow:none!important}.modern-topbar,.topbar,.hero-card,.card,.history-card,.form,.special-form{border-radius:28px!important}.dashboard-hero{margin-top:8px!important}.notification-panel{border-radius:28px!important}}@media (max-width: 520px){.login-card{box-shadow:0 34px 88px #0000005c!important}h2{font-size:36px!important}.hero-card h2{font-size:42px!important}}.system,.dark-theme .system{position:relative;overflow:hidden}.system:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;opacity:.22;background-image:url("data:image/svg+xml,%3Csvg width='1200' height='260' viewBox='0 0 1200 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 130 H130 L165 130 L190 80 L225 190 L260 130 H350 L380 130 L405 100 L435 160 L470 130 H650 L685 130 L710 70 L745 205 L785 130 H910 L945 130 L972 106 L1005 156 L1040 130 H1200' fill='none' stroke='%2300f5c8' stroke-width='6' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'/%3E%3C/svg%3E");background-repeat:repeat;background-size:980px 210px;background-position:320px 90px;animation:heartbeatMove 18s linear infinite}.system:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 14% 16%,rgba(0,245,200,.1),transparent 28%),radial-gradient(circle at 84% 20%,rgba(14,165,233,.1),transparent 30%),radial-gradient(circle at 72% 82%,rgba(124,58,237,.07),transparent 32%)}@keyframes heartbeatMove{0%{background-position:320px 90px}to{background-position:-660px 90px}}.sidebar,.content{position:relative;z-index:1}.sidebar{width:310px!important;padding:22px 17px!important;background:linear-gradient(180deg,#020617eb,#064e3bf0),radial-gradient(circle at 50% 0%,rgba(0,245,200,.24),transparent 34%)!important;border-right:1px solid rgba(94,234,212,.16)!important;box-shadow:28px 0 90px #0000005c,inset -1px 0 #ffffff0f!important}.sidebar:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.16;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='520' height='140' viewBox='0 0 520 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 70 H70 L88 70 L105 30 L127 112 L148 70 H215 L235 70 L251 48 L270 92 L290 70 H370 L392 70 L410 24 L436 118 L462 70 H520' fill='none' stroke='%235eead4' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:repeat-y;background-size:420px 115px;background-position:center 34px;animation:sidebarBeat 9s linear infinite}@keyframes sidebarBeat{0%{background-position:center 34px}to{background-position:center -196px}}.sidebar h1{position:relative;overflow:hidden;min-height:104px;display:flex!important;align-items:center;justify-content:center;flex-direction:column;border-radius:30px!important;background:radial-gradient(circle at 20% 0%,rgba(94,234,212,.2),transparent 32%),linear-gradient(145deg,#ffffff29,#ffffff0f)!important;border:1px solid rgba(94,234,212,.22)!important;color:#fff!important;text-shadow:0 8px 22px rgba(0,0,0,.22);box-shadow:0 22px 55px #0000003d,inset 0 1px #fff3!important}.sidebar h1:before{content:"✚";position:absolute;left:18px;top:18px;width:34px;height:34px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#00f5c8,#0ea5e9);color:#fff;font-size:18px;box-shadow:0 14px 30px #00f5c842}.sidebar h1:after{content:"Sistema Médico Hospitalar"!important;display:block!important;margin-top:8px!important;font-size:12px!important;color:#ffffffb3!important;font-weight:800!important;letter-spacing:.04em!important}.menu-section-title,.premium-sidebar .menu-section-title{margin:20px 8px 10px!important;color:#bef264b8!important;font-size:11px!important;letter-spacing:.2em!important;text-transform:uppercase!important;font-weight:950!important}.sidebar button{position:relative!important;overflow:hidden!important;min-height:54px!important;padding:14px 16px 14px 18px!important;margin-bottom:11px!important;border-radius:20px!important;background:linear-gradient(145deg,#ffffff1b,#ffffff0b)!important;border:1px solid rgba(148,255,233,.16)!important;color:#ffffffeb!important;font-size:15px!important;font-weight:950!important;text-align:left!important;box-shadow:inset 0 1px #ffffff14,0 12px 26px #0000001f!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.sidebar button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-120%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);transition:.55s ease}.sidebar button:hover:before{transform:translate(120%)}.sidebar button:after{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 999px 999px 0;background:linear-gradient(180deg,#00f5c8,#0ea5e9);opacity:0;transition:.25s ease}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.28),transparent 30%),linear-gradient(135deg,#ecfeff,#ccfbf1)!important;color:#042f2e!important;transform:translate(5px)!important;border-color:#ffffffb8!important;box-shadow:0 18px 42px #00f5c829,inset 0 1px #ffffffd9!important}.sidebar button:hover:after,.sidebar button.active:after,.premium-sidebar button.premium-active:after{opacity:1}.sidebar button.active,.premium-sidebar button.premium-active{animation:activePulse 2.2s ease-in-out infinite}@keyframes activePulse{0%,to{box-shadow:0 18px 42px #00f5c826,inset 0 1px #ffffffd9}50%{box-shadow:0 20px 54px #00f5c845,inset 0 1px #ffffffe6}}.content{background:radial-gradient(circle at 22% 4%,rgba(0,168,132,.08),transparent 28%),radial-gradient(circle at 82% 18%,rgba(14,165,233,.08),transparent 32%);min-height:100vh}.dark-theme .system:before{opacity:.18}.dark-theme .sidebar{background:linear-gradient(180deg,#020617f5,#042f2ef5),radial-gradient(circle at 50% 0%,rgba(0,245,200,.16),transparent 34%)!important}.dark-theme .sidebar button{background:linear-gradient(145deg,#ffffff14,#ffffff09)!important;border-color:#94ffe91f!important}.dark-theme .sidebar button:hover,.dark-theme .sidebar button.active,.dark-theme .premium-sidebar button.premium-active{background:radial-gradient(circle at 10% 10%,rgba(94,234,212,.24),transparent 30%),linear-gradient(135deg,#0f766e,#0f172a)!important;color:#fff!important}@media (max-width: 900px){.system:before{background-size:760px 160px;background-position:60px 120px;opacity:.15}.sidebar{width:100%!important;border-radius:0 0 28px 28px!important;padding:12px!important;background:radial-gradient(circle at 10% 0%,rgba(0,245,200,.18),transparent 32%),linear-gradient(135deg,#020617,#064e3b,#0f766e)!important}.sidebar:before{opacity:.1;background-size:360px 92px}.sidebar button{min-height:48px!important;border-radius:16px!important;font-size:13px!important;padding:12px 14px!important}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{transform:none!important}}.system{position:relative!important;overflow:hidden!important;isolation:isolate}.system{background:radial-gradient(circle at 12% 10%,rgba(0,245,200,.18),transparent 30%),radial-gradient(circle at 88% 14%,rgba(14,165,233,.16),transparent 34%),radial-gradient(circle at 72% 90%,rgba(124,58,237,.08),transparent 36%),linear-gradient(135deg,#eafffb,#f8fbff 45%,#eef7ff)!important}.dark-theme .system{background:radial-gradient(circle at 12% 10%,rgba(0,245,200,.1),transparent 30%),radial-gradient(circle at 88% 14%,rgba(14,165,233,.1),transparent 34%),radial-gradient(circle at 72% 90%,rgba(124,58,237,.08),transparent 36%),linear-gradient(135deg,#020617,#0f172a 52%,#042f2e)!important}.system:before{content:"";position:fixed;left:310px;right:0;top:0;bottom:0;z-index:-2;pointer-events:none;opacity:.32;background-image:url("data:image/svg+xml,%3Csvg width='1600' height='360' viewBox='0 0 1600 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='4' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%2300f5c8' stop-opacity='0'/%3E%3Cstop offset='18%25' stop-color='%2300f5c8' stop-opacity='.95'/%3E%3Cstop offset='55%25' stop-color='%230ea5e9' stop-opacity='.95'/%3E%3Cstop offset='85%25' stop-color='%237c3aed' stop-opacity='.70'/%3E%3Cstop offset='100%25' stop-color='%237c3aed' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath filter='url(%23glow)' d='M0 180 H150 L195 180 L230 105 L270 285 L315 180 H450 L500 180 L535 145 L570 215 L610 180 H760 L810 180 L850 70 L902 310 L955 180 H1110 L1160 180 L1200 135 L1240 225 L1285 180 H1600' fill='none' stroke='url(%23g)' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:repeat-x;background-size:1450px 310px;background-position:0 120px;animation:heartLineMove 8.8s linear infinite,heartLinePulse 1.55s ease-in-out infinite}.system:after{content:"";position:fixed;left:310px;right:0;top:0;bottom:0;z-index:-3;pointer-events:none;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg width='1100' height='260' viewBox='0 0 1100 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 130 H120 L145 130 L170 90 L198 180 L230 130 H350 L380 130 L405 105 L430 158 L460 130 H620 L650 130 L675 75 L715 205 L755 130 H890 L920 130 L950 100 L980 160 L1015 130 H1100' fill='none' stroke='%2300a884' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.72'/%3E%3C/svg%3E");background-repeat:repeat-x;background-size:1100px 240px;background-position:0 420px;animation:heartLineMoveReverse 14s linear infinite,heartLinePulseSoft 2s ease-in-out infinite}@keyframes heartLineMove{0%{background-position:0 120px}to{background-position:-1450px 120px}}@keyframes heartLineMoveReverse{0%{background-position:-1100px 420px}to{background-position:0 420px}}@keyframes heartLinePulse{0%,to{filter:drop-shadow(0 0 5px rgba(0,245,200,.2));opacity:.24}18%{filter:drop-shadow(0 0 18px rgba(0,245,200,.55));opacity:.42}28%{filter:drop-shadow(0 0 8px rgba(14,165,233,.32));opacity:.3}42%{filter:drop-shadow(0 0 22px rgba(0,245,200,.48));opacity:.4}}@keyframes heartLinePulseSoft{0%,to{opacity:.1}50%{opacity:.2}}.dark-theme .system:before{opacity:.28}.dark-theme .system:after{opacity:.17}.sidebar,.content{position:relative!important;z-index:2!important}.sidebar{width:315px!important;padding:20px 16px!important;background:radial-gradient(circle at 50% -8%,rgba(0,245,200,.22),transparent 35%),radial-gradient(circle at 0% 45%,rgba(14,165,233,.14),transparent 34%),linear-gradient(180deg,#020617f5,#042f2ef5 58%,#065f46f0)!important;border-right:1px solid rgba(94,234,212,.16)!important;box-shadow:32px 0 90px #0006,inset -1px 0 #ffffff0f!important}.sidebar:after{content:"";position:absolute;top:18px;right:7px;width:2px;height:calc(100% - 36px);border-radius:999px;background:linear-gradient(180deg,transparent,rgba(0,245,200,.9),rgba(14,165,233,.7),transparent);box-shadow:0 0 18px #00f5c88c;animation:sidebarEnergy 3.2s ease-in-out infinite;pointer-events:none}@keyframes sidebarEnergy{0%,to{opacity:.45;transform:scaleY(.86)}50%{opacity:1;transform:scaleY(1)}}.sidebar:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.18;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='620' height='150' viewBox='0 0 620 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 75 H70 L92 75 L110 32 L136 125 L162 75 H245 L270 75 L292 50 L315 99 L340 75 H430 L456 75 L478 28 L510 130 L545 75 H620' fill='none' stroke='%235eead4' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:430px 105px;background-repeat:repeat-y;background-position:center 30px;animation:sidebarHeartbeatMove 5.2s linear infinite,sidebarHeartbeatGlow 1.4s ease-in-out infinite}@keyframes sidebarHeartbeatMove{0%{background-position:center 30px}to{background-position:center -285px}}@keyframes sidebarHeartbeatGlow{0%,to{filter:drop-shadow(0 0 4px rgba(94,234,212,.15))}35%{filter:drop-shadow(0 0 18px rgba(94,234,212,.55))}}.sidebar h1{position:relative!important;min-height:112px!important;padding:18px 16px!important;margin-bottom:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;overflow:hidden!important;border-radius:32px!important;background:radial-gradient(circle at 25% 10%,rgba(255,255,255,.24),transparent 34%),linear-gradient(145deg,#ffffff2b,#ffffff0e)!important;border:1px solid rgba(148,255,233,.22)!important;color:#fff!important;text-shadow:0 10px 26px rgba(0,0,0,.28);box-shadow:0 24px 60px #00000040,inset 0 1px #ffffff38!important}.sidebar h1:before{content:"";position:absolute;top:-60%;right:-60%;bottom:-60%;left:-60%;background:conic-gradient(from 90deg,transparent,rgba(0,245,200,.16),transparent 34%);animation:sidebarLogoSweep 5s linear infinite}@keyframes sidebarLogoSweep{to{transform:rotate(360deg)}}.sidebar h1:after{content:"Hospital SUL • Sistema Médico"!important;display:block!important;margin-top:8px!important;color:#ffffffb8!important;font-size:12px!important;font-weight:850!important;letter-spacing:.05em!important}.sidebar h1{font-size:31px!important;letter-spacing:.02em!important}.sidebar h1,.sidebar h1 *{z-index:1}.menu-section-title,.premium-sidebar .menu-section-title{position:relative;margin:22px 9px 11px!important;color:#bef264c7!important;font-size:11px!important;letter-spacing:.22em!important;text-transform:uppercase!important;font-weight:950!important}.menu-section-title:after,.premium-sidebar .menu-section-title:after{content:"";display:block;height:1px;margin-top:9px;background:linear-gradient(90deg,rgba(190,242,100,.45),rgba(0,245,200,.24),transparent)}.sidebar button{position:relative!important;overflow:hidden!important;min-height:56px!important;margin-bottom:11px!important;padding:15px 16px 15px 20px!important;border-radius:21px!important;color:#ffffffeb!important;background:linear-gradient(145deg,#ffffff1b,#ffffff0a)!important;border:1px solid rgba(148,255,233,.15)!important;box-shadow:0 14px 30px #00000024,inset 0 1px #ffffff14!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-weight:950!important;font-size:15px!important}.sidebar button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-130%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);transition:transform .58s ease}.sidebar button:hover:before,.sidebar button.active:before,.premium-sidebar button.premium-active:before{transform:translate(130%)}.sidebar button:after{content:"";position:absolute;left:8px;top:50%;width:4px;height:26px;border-radius:999px;transform:translateY(-50%) scaleY(.25);background:linear-gradient(180deg,#00f5c8,#0ea5e9);opacity:.35;box-shadow:0 0 14px #00f5c859;transition:.25s ease}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{background:radial-gradient(circle at 12% 10%,rgba(255,255,255,.3),transparent 32%),linear-gradient(135deg,#ecfeff,#ccfbf1 62%,#dbeafe)!important;color:#042f2e!important;transform:translate(6px)!important;border-color:#ffffffc7!important;box-shadow:0 20px 52px #00f5c833,inset 0 1px #ffffffe6!important}.sidebar button:hover:after,.sidebar button.active:after,.premium-sidebar button.premium-active:after{opacity:1;transform:translateY(-50%) scaleY(1)}.sidebar button.active,.premium-sidebar button.premium-active{animation:sidebarActiveBeat 1.5s ease-in-out infinite}@keyframes sidebarActiveBeat{0%,to{box-shadow:0 18px 44px #00f5c829,inset 0 1px #ffffffd9}35%{box-shadow:0 22px 58px #00f5c857,inset 0 1px #fffffff2}}.dark-theme .sidebar{background:radial-gradient(circle at 50% -8%,rgba(0,245,200,.16),transparent 35%),radial-gradient(circle at 0% 45%,rgba(14,165,233,.1),transparent 34%),linear-gradient(180deg,#020617fa,#042f2ef7 58%,#020617f5)!important}.dark-theme .sidebar h1{background:radial-gradient(circle at 25% 10%,rgba(94,234,212,.18),transparent 34%),linear-gradient(145deg,#ffffff1f,#ffffff0b)!important}.dark-theme .sidebar button{background:linear-gradient(145deg,#ffffff16,#ffffff08)!important;border-color:#94ffe91f!important}.dark-theme .sidebar button:hover,.dark-theme .sidebar button.active,.dark-theme .premium-sidebar button.premium-active{background:radial-gradient(circle at 12% 10%,rgba(94,234,212,.2),transparent 32%),linear-gradient(135deg,#0f766e,#0f172a 72%)!important;color:#fff!important}.content{position:relative!important;z-index:1!important}.card,.history-card,.form,.special-form,.modern-topbar,.topbar,.dashboard-ai-panel,.central-panel,.patients-table-wrapper{-webkit-backdrop-filter:blur(24px) saturate(140%)!important;backdrop-filter:blur(24px) saturate(140%)!important}@media (max-width: 900px){.system:before,.system:after{left:0}.system:before{background-size:980px 210px;background-position:0 160px;opacity:.18;animation:heartLineMoveMobile 7.6s linear infinite,heartLinePulse 1.55s ease-in-out infinite}@keyframes heartLineMoveMobile{0%{background-position:0 160px}to{background-position:-980px 160px}}.sidebar{width:100%!important;border-radius:0 0 30px 30px!important;padding:12px!important;background:radial-gradient(circle at 12% 0%,rgba(0,245,200,.18),transparent 34%),linear-gradient(135deg,#020617,#064e3b,#0f766e)!important}.sidebar:after{left:18px;right:18px;top:auto;bottom:4px;width:auto;height:2px;background:linear-gradient(90deg,transparent,#00f5c8,#0ea5e9,transparent)}.sidebar:before{opacity:.1;background-size:360px 92px;animation:sidebarHeartbeatMove 7s linear infinite,sidebarHeartbeatGlow 1.4s ease-in-out infinite}.sidebar button{min-height:48px!important;padding:12px 15px!important;border-radius:16px!important;font-size:13px!important}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{transform:none!important}}.system:before,.system:after,.sidebar:before{background-image:none!important;animation:none!important}.system{position:relative!important;overflow:hidden!important;background:radial-gradient(circle at 18% 8%,rgba(0,168,132,.13),transparent 32%),radial-gradient(circle at 90% 18%,rgba(14,165,233,.12),transparent 34%),linear-gradient(135deg,#eef7f6,#f8fbff)!important}.dark-theme .system{background:radial-gradient(circle at 18% 8%,rgba(0,168,132,.08),transparent 32%),radial-gradient(circle at 90% 18%,rgba(14,165,233,.07),transparent 34%),linear-gradient(135deg,#020617,#0f172a)!important}.sidebar{width:318px!important;padding:22px 16px!important;position:sticky!important;top:0!important;min-height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important;background:linear-gradient(180deg,#020617fa,#064e3bf5 58%,#0f172afa)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:30px 0 80px #02061747,inset -1px 0 #ffffff0d!important}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:#5eead447;border-radius:999px}.sidebar:after{content:"";position:absolute;top:22px;right:7px;width:2px;height:calc(100% - 44px);border-radius:999px;background:linear-gradient(180deg,transparent,rgba(0,168,132,.85),rgba(14,165,233,.65),transparent);box-shadow:0 0 22px #0ea5e938;animation:sidebarLineGlow 4s ease-in-out infinite;pointer-events:none}@keyframes sidebarLineGlow{0%,to{opacity:.38;transform:scaleY(.92)}50%{opacity:.9;transform:scaleY(1)}}.sidebar h1{position:relative!important;isolation:isolate;min-height:118px!important;padding:22px 18px!important;margin-bottom:24px!important;border-radius:32px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-size:34px!important;font-weight:950!important;letter-spacing:.02em!important;text-align:center!important;text-shadow:0 10px 24px rgba(0,0,0,.32);background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.2),transparent 34%),linear-gradient(145deg,#ffffff26,#ffffff0e)!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 24px 60px #00000038,inset 0 1px #ffffff29!important}.sidebar h1:before{content:"✚";position:absolute;top:16px;left:16px;width:38px;height:38px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#00a884,#0ea5e9);color:#fff;font-size:19px;box-shadow:0 16px 36px #00a88447,inset 0 1px #ffffff47;z-index:2}.sidebar h1>*,.sidebar h1{z-index:2}.sidebar h1:after{content:"Hospital SUL"!important;display:block!important;margin-top:9px!important;color:#ffffffb8!important;font-size:13px!important;font-weight:850!important;letter-spacing:.04em!important;text-transform:none!important}.sidebar h1 span{position:relative;z-index:2}.sidebar h1{background-size:200% 200%;animation:logoGradientShift 7s ease-in-out infinite}@keyframes logoGradientShift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.menu-section-title,.premium-sidebar .menu-section-title{margin:22px 9px 12px!important;color:#cbd5e1b8!important;font-size:11px!important;letter-spacing:.22em!important;text-transform:uppercase!important;font-weight:950!important;display:flex;align-items:center;gap:10px}.sidebar button{position:relative!important;overflow:hidden!important;width:100%!important;min-height:56px!important;padding:15px 17px 15px 18px!important;margin-bottom:11px!important;border-radius:21px!important;text-align:left!important;color:#ffffffe6!important;font-size:15px!important;font-weight:950!important;letter-spacing:-.25px;background:linear-gradient(145deg,#ffffff18,#ffffff09)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 12px 26px #00000024,inset 0 1px #ffffff0f!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,padding .22s ease!important}.sidebar button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-120%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);transition:transform .55s ease;pointer-events:none}.sidebar button.active,.premium-sidebar button.premium-active{animation:menuActiveSoftPulse 2.6s ease-in-out infinite}@keyframes menuActiveSoftPulse{0%,to{box-shadow:0 18px 44px #00a88429,inset 0 1px #ffffffe6}50%{box-shadow:0 22px 58px #0ea5e93d,inset 0 1px #fffffff2}}.sidebar button{animation:sidebarItemIn .45s ease both}.sidebar button:nth-of-type(1){animation-delay:.02s}.sidebar button:nth-of-type(2){animation-delay:.04s}.sidebar button:nth-of-type(3){animation-delay:.06s}.sidebar button:nth-of-type(4){animation-delay:.08s}.sidebar button:nth-of-type(5){animation-delay:.1s}.sidebar button:nth-of-type(6){animation-delay:.12s}.sidebar button:nth-of-type(7){animation-delay:.14s}.sidebar button:nth-of-type(8){animation-delay:.16s}.sidebar button:nth-of-type(9){animation-delay:.18s}.sidebar button:nth-of-type(10){animation-delay:.2s}.sidebar button:nth-of-type(11){animation-delay:.22s}.sidebar button:nth-of-type(12){animation-delay:.24s}@keyframes sidebarItemIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.dark-theme .sidebar{background:radial-gradient(circle at 50% -8%,rgba(0,168,132,.13),transparent 35%),linear-gradient(180deg,#020617fc,#0f172afa 54%,#042f2ef5)!important;border-right-color:#ffffff12!important}.dark-theme .sidebar h1{background:radial-gradient(circle at 20% 0%,rgba(94,234,212,.13),transparent 34%),linear-gradient(145deg,#ffffff1b,#ffffff09)!important;border-color:#ffffff17!important}.dark-theme .menu-section-title,.dark-theme .premium-sidebar .menu-section-title{color:#cbd5e19e!important}.dark-theme .sidebar button:hover,.dark-theme .sidebar button.active,.dark-theme .premium-sidebar button.premium-active{color:#fff!important;background:radial-gradient(circle at 10% 10%,rgba(94,234,212,.2),transparent 32%),linear-gradient(135deg,#0f766ef5,#0f172af2)!important;border-color:#5eead433!important}@media (max-width: 900px){.sidebar{width:100%!important;min-height:auto!important;position:sticky!important;top:0!important;z-index:9999!important;display:flex!important;gap:9px!important;padding:12px!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:0 0 28px 28px!important;background:linear-gradient(135deg,#020617fa,#064e3bf5,#0f172afa)!important}.sidebar:after{left:18px;right:18px;top:auto;bottom:4px;width:auto;height:2px;background:linear-gradient(90deg,transparent,rgba(0,168,132,.95),rgba(14,165,233,.75),transparent)}.sidebar h1,.menu-section-title,.premium-sidebar .menu-section-title{display:none!important}.sidebar button{width:auto!important;min-width:fit-content!important;min-height:48px!important;white-space:nowrap!important;margin:0!important;padding:12px 15px!important;border-radius:16px!important;font-size:13px!important;animation:none!important}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{transform:none!important;padding-left:15px!important}.sidebar button:after{left:50%;top:auto;bottom:5px;width:24px;height:3px!important;transform:translate(-50%) scaleX(0)}.sidebar button:hover:after,.sidebar button.active:after,.premium-sidebar button.premium-active:after{transform:translate(-50%) scaleX(1)}}:root{--pro-bg: #eef7f6;--pro-card: rgba(255,255,255,.86);--pro-dark-card: rgba(30,41,59,.92);--pro-border: rgba(255,255,255,.78);--pro-primary: #00a884;--pro-primary-2: #0ea5e9;--pro-shadow: 0 24px 70px rgba(10,40,70,.12);--pro-shadow-dark: 0 24px 70px rgba(0,0,0,.34)}body{background:radial-gradient(circle at 14% 7%,rgba(0,168,132,.16),transparent 30%),radial-gradient(circle at 88% 13%,rgba(14,165,233,.14),transparent 32%),radial-gradient(circle at 65% 96%,rgba(124,58,237,.08),transparent 36%),linear-gradient(135deg,#eef7f6,#f8fbff)!important}.dark-theme body,.dark-theme .system,.dark-theme .content{background:radial-gradient(circle at 14% 7%,rgba(0,168,132,.1),transparent 30%),radial-gradient(circle at 88% 13%,rgba(14,165,233,.08),transparent 32%),linear-gradient(135deg,#020617,#0f172a)!important}.login-card{position:relative;overflow:hidden;border-radius:38px!important;background:linear-gradient(145deg,#fffffff5,#ecfdf5d6)!important;border:1px solid rgba(255,255,255,.82)!important;box-shadow:0 40px 110px #00000047,inset 0 1px #ffffffe6!important}.login-card:before{content:"";display:block;width:138px;height:138px;margin:0 auto 18px;border-radius:30px;background:url(../logo-rise-center.webp) center / contain no-repeat,linear-gradient(135deg,#020617,#064e3b);box-shadow:0 24px 56px #00a88438,0 0 0 9px #00a88414;animation:logoFloatSafe 3.4s ease-in-out infinite}@keyframes logoFloatSafe{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.login-card h1{background:linear-gradient(135deg,#063b3b,#00a884,#0ea5e9);-webkit-background-clip:text;background-clip:text;color:transparent!important;letter-spacing:-1.4px}.login-card input{border-radius:22px!important;background:#f8fafc!important}.login-card input:focus{background:#fff!important;border-color:var(--pro-primary)!important;box-shadow:0 0 0 5px #00a88421!important}.sidebar{width:310px!important;padding:22px 16px!important;background:radial-gradient(circle at 50% -10%,rgba(0,168,132,.2),transparent 36%),linear-gradient(180deg,#020617fa,#064e3bf5 58%,#0f172afa)!important;border-right:1px solid rgba(255,255,255,.08);box-shadow:28px 0 80px #0206174d,inset -1px 0 #ffffff0d!important}.sidebar h1{min-height:166px!important;padding:18px!important;margin-bottom:24px!important;border-radius:32px!important;font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;background:radial-gradient(circle at 25% 0%,rgba(255,255,255,.18),transparent 34%),linear-gradient(145deg,#ffffff24,#ffffff0b)!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 22px 56px #00000038,inset 0 1px #ffffff29!important}.sidebar h1:before{content:"";width:118px;height:118px;margin-bottom:8px;border-radius:28px;background:url(../logo-rise-center.webp) center / contain no-repeat,linear-gradient(135deg,#020617,#064e3b);box-shadow:0 20px 46px #00a88438,0 0 0 8px #ffffff0d}.sidebar h1:after{content:"Rise Center"!important;display:block!important;margin-top:4px!important;color:#ffffffd1!important;font-size:14px!important;font-weight:950!important;letter-spacing:.12em!important;text-transform:uppercase}.menu-section-title,.premium-sidebar .menu-section-title{margin:22px 9px 12px!important;color:#cbd5e1b8!important;font-size:11px!important;letter-spacing:.2em!important;text-transform:uppercase!important;font-weight:950!important;display:flex;align-items:center;gap:10px}.sidebar button{position:relative!important;overflow:hidden!important;min-height:56px!important;margin-bottom:11px!important;padding:15px 17px 15px 18px!important;border-radius:21px!important;background:linear-gradient(145deg,#ffffff18,#ffffff09)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 12px 26px #00000024,inset 0 1px #ffffff0f!important;color:#ffffffeb!important;font-size:15px!important;font-weight:950!important;transition:transform .22s ease,background .22s ease,color .22s ease,padding .22s ease!important}.modern-topbar,.topbar,.card,.history-card,.form,.special-form,.profile-card,.vaccine-card,.vaccine-card-editor,.signature-panel,.dashboard-ai-panel,.chat-premium-shell,.ia-medica-hero,.central-panel,.logs-hero,.log-item,.patients-table-wrapper,.confirm-modal,.not-found-page{border-radius:32px!important;box-shadow:var(--pro-shadow),inset 0 1px #ffffffd9!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.card:hover,.history-card:hover,.hero-card:hover,.central-panel:hover{transform:translateY(-5px)!important}h2,.dashboard-ai-panel h3,.ia-medica-hero h3,.chat-header-premium h3,.central-panel-title h3,.logs-hero h3,.history-card h3{background:linear-gradient(135deg,#063b3b,#00a884 48%,#0ea5e9);-webkit-background-clip:text;background-clip:text;color:transparent!important}button,.exam-btn,.pdf-btn,.secondary-btn{position:relative;overflow:hidden}button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-120%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);transition:.55s ease;pointer-events:none}button:hover:before{transform:translate(120%)}.dark-theme .sidebar h1{background:radial-gradient(circle at 20% 0%,rgba(94,234,212,.13),transparent 34%),linear-gradient(145deg,#ffffff1b,#ffffff09)!important}.dark-theme .sidebar button{background:linear-gradient(145deg,#ffffff13,#ffffff06)!important;border-color:#ffffff13!important;color:#ffffffe0!important}.dark-theme .sidebar button:hover,.dark-theme .sidebar button.active,.dark-theme .premium-sidebar button.premium-active{color:#fff!important;background:radial-gradient(circle at 10% 10%,rgba(94,234,212,.2),transparent 32%),linear-gradient(135deg,#0f766ef5,#0f172af2)!important}.dark-theme .modern-topbar,.dark-theme .topbar,.dark-theme .card,.dark-theme .history-card,.dark-theme .form,.dark-theme .special-form,.dark-theme .profile-card,.dark-theme .vaccine-card,.dark-theme .vaccine-card-editor,.dark-theme .signature-panel,.dark-theme .dashboard-ai-panel,.dark-theme .chat-premium-shell,.dark-theme .ia-medica-hero,.dark-theme .central-panel,.dark-theme .logs-hero,.dark-theme .log-item,.dark-theme .patients-table-wrapper,.dark-theme .confirm-modal,.dark-theme .not-found-page{background:var(--pro-dark-card)!important;border-color:#ffffff14!important;box-shadow:var(--pro-shadow-dark)!important;color:#f8fafc!important}@media (max-width:900px){.sidebar{width:100%!important;min-height:auto!important;position:relative!important;display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:12px!important;border-radius:0 0 26px 26px!important}.sidebar h1,.menu-section-title,.premium-sidebar .menu-section-title{display:none!important}.sidebar button{min-width:165px!important;min-height:48px!important;margin:0!important;text-align:center!important;padding:12px 15px!important;border-radius:16px!important;font-size:13px!important}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{transform:none!important;padding-left:15px!important}.login-card:before{width:116px;height:116px;border-radius:26px}}.login-card{overflow:hidden!important;position:relative!important;padding-top:34px!important}.login-card:after{content:none!important;display:none!important}.login-card:before{content:""!important;display:block!important;position:relative!important;inset:auto!important;transform:none!important;width:150px!important;height:150px!important;margin:0 auto 18px!important;border-radius:32px!important;background-color:transparent!important;background-image:url(../logo-rise-center.webp)!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;box-shadow:none!important;animation:logoFloatSafe 3.4s ease-in-out infinite!important}.login-card .medical-logo,.login-card .logo,.login-card img.logo{display:none!important}.sidebar h1{position:relative!important;overflow:hidden!important;min-height:178px!important;padding:20px!important;margin-bottom:24px!important;border-radius:32px!important;font-size:0!important;color:transparent!important;background:linear-gradient(145deg,#ffffff24,#ffffff0b)!important;border:1px solid rgba(255,255,255,.13)!important}.sidebar h1:before{content:""!important;position:relative!important;inset:auto!important;transform:none!important;display:block!important;width:138px!important;height:138px!important;margin:0 auto 8px!important;border-radius:26px!important;background-color:transparent!important;background-image:url(../logo-rise-center.webp)!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;box-shadow:none!important;animation:none!important}.sidebar h1:after{content:"Rise Center"!important;display:block!important;position:relative!important;margin-top:4px!important;color:#ffffffd9!important;font-size:14px!important;font-weight:950!important;letter-spacing:.12em!important;text-transform:uppercase!important;background:none!important;width:auto!important;height:auto!important;transform:none!important;animation:none!important}.sidebar{background:radial-gradient(circle at 50% -10%,rgba(0,168,132,.18),transparent 36%),linear-gradient(180deg,#020617fa,#064e3bf5 58%,#0f172afa)!important}.dark-theme .sidebar h1{background:radial-gradient(circle at 20% 0%,rgba(94,234,212,.1),transparent 34%),linear-gradient(145deg,#ffffff1a,#ffffff09)!important}@media (max-width:900px){.sidebar h1{display:none!important}.login-card:before{width:128px!important;height:128px!important;border-radius:28px!important}}@media (max-width:520px){.login-card:before{width:116px!important;height:116px!important}}.ambulance-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;margin-bottom:24px;padding:28px;border-radius:34px;background:radial-gradient(circle at 10% 10%,rgba(239,68,68,.16),transparent 30%),radial-gradient(circle at 90% 10%,rgba(14,165,233,.16),transparent 32%),linear-gradient(135deg,#ffffffeb,#ecfdf5c7);border:1px solid rgba(255,255,255,.82);box-shadow:0 24px 70px #0a28461c;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.ambulance-hero h2{margin-bottom:8px}.ambulance-hero p{color:var(--muted);font-weight:800;line-height:1.6}.ambulance-stats{display:grid;grid-template-columns:repeat(3,minmax(118px,1fr));gap:12px}.ambulance-stats div{min-height:112px;padding:18px;border-radius:24px;background:linear-gradient(135deg,#ef4444,#991b1b);color:#fff;box-shadow:0 18px 42px #ef444438}.ambulance-stats div:nth-child(2){background:linear-gradient(135deg,#0ea5e9,#1d4ed8);box-shadow:0 18px 42px #0ea5e938}.ambulance-stats div:nth-child(3){background:linear-gradient(135deg,#f59e0b,#b45309);box-shadow:0 18px 42px #f59e0b38}.ambulance-stats strong{display:block;font-size:38px;line-height:1;color:#fff!important}.ambulance-stats span{display:block;margin-top:8px;font-weight:900;opacity:.92}.dark-theme .ambulance-hero{background:radial-gradient(circle at 10% 10%,rgba(239,68,68,.12),transparent 30%),radial-gradient(circle at 90% 10%,rgba(14,165,233,.12),transparent 32%),linear-gradient(135deg,#1e293bf5,#0f172ae0)!important;border-color:#ffffff14;color:#f8fafc}.dark-theme .ambulance-hero p{color:#cbd5e1}@media (max-width: 900px){.ambulance-hero{grid-template-columns:1fr;padding:22px}.ambulance-stats{grid-template-columns:1fr}}:root{--hospital-bg: #eef7f6;--hospital-text: #0f172a;--hospital-muted: #64748b;--hospital-primary: #00a884;--hospital-primary-2: #0ea5e9;--hospital-dark: #020617;--hospital-panel: rgba(255,255,255,.88);--hospital-panel-dark: rgba(15,23,42,.92);--hospital-border: rgba(255,255,255,.76);--hospital-shadow: 0 24px 70px rgba(10,40,70,.12);--hospital-shadow-dark: 0 24px 70px rgba(0,0,0,.38)}body{background:radial-gradient(circle at 12% 8%,rgba(0,168,132,.15),transparent 30%),radial-gradient(circle at 90% 12%,rgba(14,165,233,.13),transparent 32%),radial-gradient(circle at 70% 95%,rgba(124,58,237,.07),transparent 35%),linear-gradient(135deg,#eef7f6,#f8fbff)!important;color:var(--hospital-text)}.dark-theme body,.dark-theme .system,.dark-theme .content{background:radial-gradient(circle at 12% 8%,rgba(0,168,132,.08),transparent 30%),radial-gradient(circle at 90% 12%,rgba(14,165,233,.07),transparent 32%),linear-gradient(135deg,#020617,#0f172a)!important}.login-container{min-height:100vh!important;position:relative;overflow:hidden;background:radial-gradient(circle at 18% 12%,rgba(0,168,132,.26),transparent 32%),radial-gradient(circle at 86% 82%,rgba(14,165,233,.2),transparent 35%),linear-gradient(135deg,#020617,#063b3b 58%,#065f46)!important}.login-container:before{content:"";position:absolute;width:520px;height:520px;left:-170px;top:-180px;border-radius:999px;background:radial-gradient(circle,rgba(0,168,132,.22),transparent 66%);pointer-events:none}.login-container:after{content:"Developer Marcos (Carcar) • Rise Center";position:fixed;left:0;right:0;bottom:18px;text-align:center;color:#ffffff9e;font-size:13px;font-weight:850;letter-spacing:.04em;pointer-events:none}.login-card{width:min(470px,calc(100vw - 32px))!important;position:relative;overflow:hidden!important;border-radius:38px!important;padding:40px 38px 36px!important;background:linear-gradient(145deg,#fffffff5,#ecfdf5db)!important;border:1px solid rgba(255,255,255,.78)!important;box-shadow:0 42px 120px #00000059,inset 0 1px #ffffffeb!important;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.login-card:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 95% 0%,rgba(0,168,132,.12),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.28),transparent 45%);pointer-events:none}.login-card>*{position:relative;z-index:2}.login-card:before{content:"";display:block;width:138px;height:138px;margin:0 auto 18px;border-radius:30px;background:url(../logo-rise-center.webp) center / contain no-repeat,linear-gradient(135deg,#020617,#064e3b);box-shadow:0 24px 56px #00a88438,0 0 0 9px #00a88414;animation:loginLogoFloat 3.6s ease-in-out infinite}.login-card .medical-logo{display:none!important}@keyframes loginLogoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.login-card h1{text-align:center;font-size:40px!important;letter-spacing:-1.5px;margin-bottom:10px!important;background:linear-gradient(135deg,#063b3b,#00a884,#0ea5e9);-webkit-background-clip:text;background-clip:text;color:transparent!important}.login-card p,.login-card small{color:#64748b!important;font-weight:850!important}.login-card input{min-height:58px!important;border-radius:22px!important;background:#f8fafc!important;border:1px solid rgba(148,163,184,.24)!important}.login-card input:focus{background:#fff!important;border-color:var(--hospital-primary)!important;box-shadow:0 0 0 5px #00a88421!important}.login-card button{min-height:58px!important;border-radius:22px!important;background:linear-gradient(135deg,#00a884,#0ea5e9)!important;box-shadow:0 18px 42px #00a88440!important}.sidebar{width:312px!important;padding:22px 16px!important;background:radial-gradient(circle at 50% -10%,rgba(0,168,132,.18),transparent 36%),linear-gradient(180deg,#020617fa,#064e3bf5 58%,#0f172afa)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:28px 0 80px #0206174d,inset -1px 0 #ffffff0d!important;overflow-x:hidden}.sidebar h1{min-height:178px!important;padding:20px!important;margin-bottom:24px!important;border-radius:34px!important;font-size:0!important;color:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:radial-gradient(circle at 50% 0%,rgba(0,168,132,.18),transparent 40%),linear-gradient(145deg,#ffffff21,#ffffff0a)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:0 24px 60px #0000003d,inset 0 1px #ffffff1f!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sidebar h1:before{content:""!important;width:188px!important;height:188px!important;background-image:url(../logo-rise-center.webp)!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;filter:drop-shadow(0 0 22px rgba(14,165,233,.35)) drop-shadow(0 0 34px rgba(0,168,132,.22));animation:sidebarLogoFloat 4s ease-in-out infinite}@keyframes sidebarLogoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.menu-section-title,.premium-sidebar .menu-section-title{margin:22px 9px 12px!important;color:#cbd5e1b3!important;font-size:11px!important;letter-spacing:.2em!important;text-transform:uppercase!important;font-weight:950!important;display:flex;align-items:center;gap:10px}.menu-section-title:after,.premium-sidebar .menu-section-title:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,rgba(94,234,212,.36),transparent)}.sidebar button{position:relative!important;overflow:hidden!important;width:100%!important;min-height:56px!important;padding:15px 17px 15px 18px!important;margin-bottom:11px!important;border-radius:21px!important;text-align:left!important;color:#ffffffeb!important;font-size:15px!important;font-weight:950!important;letter-spacing:-.25px;background:linear-gradient(145deg,#ffffff17,#ffffff08)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 12px 26px #00000024,inset 0 1px #ffffff0d!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:transform .22s ease,background .22s ease,color .22s ease,padding .22s ease!important}.sidebar button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-120%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);transition:transform .55s ease}.sidebar button:after{content:"";position:absolute;left:8px;top:50%;width:4px;height:0;border-radius:999px;transform:translateY(-50%);background:linear-gradient(180deg,#00a884,#0ea5e9);box-shadow:0 0 14px #0ea5e952;transition:height .25s ease}.sidebar button:hover:before,.sidebar button.active:before,.premium-sidebar button.premium-active:before{transform:translate(120%)}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{padding-left:28px!important;transform:translate(5px)!important;color:#042f2e!important;background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.42),transparent 32%),linear-gradient(135deg,#ecfeff,#ccfbf1 68%,#dbeafe)!important;border-color:#ffffffb3!important;box-shadow:0 18px 44px #00a8842e,inset 0 1px #ffffffe6!important}.sidebar button:hover:after,.sidebar button.active:after,.premium-sidebar button.premium-active:after{height:28px}.modern-topbar,.topbar,.card,.history-card,.form,.special-form,.dashboard-ai-panel,.central-panel,.logs-hero,.log-item,.profile-card,.signature-panel,.patients-table-wrapper,.ambulance-hero,.chat-premium-shell,.ia-medica-hero{border-radius:32px!important;background:linear-gradient(145deg,#ffffffe0,#ffffffad)!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:0 24px 70px #0a28461f,inset 0 1px #ffffffd9!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.card:hover,.history-card:hover,.central-panel:hover{transform:translateY(-5px);box-shadow:0 34px 90px #00a8842e,inset 0 1px #ffffffe6!important}h2,.dashboard-ai-panel h3,.ia-medica-hero h3,.chat-header-premium h3,.central-panel-title h3,.logs-hero h3,.history-card h3{background:linear-gradient(135deg,#063b3b,#00a884,#0ea5e9);-webkit-background-clip:text;background-clip:text;color:transparent!important}h2:after{background:linear-gradient(90deg,#00f5c8,#0ea5e9,#7c3aed)!important;box-shadow:0 12px 28px #0ea5e947!important}input,select,textarea{border-radius:20px!important;background:linear-gradient(145deg,#fffffff5,#f8fafceb)!important;border:1px solid rgba(148,163,184,.24)!important}input:focus,select:focus,textarea:focus{border-color:#00a884!important;box-shadow:0 0 0 5px #00a8841f!important}.app-footer{margin-top:34px;padding:20px 24px;border-radius:26px;background:linear-gradient(145deg,#ffffffc2,#ecfdf5a3);border:1px solid rgba(255,255,255,.72);box-shadow:0 18px 48px #0a284614;display:flex;justify-content:space-between;align-items:center;gap:14px;color:#38566b;font-weight:850}.app-footer div{display:grid;gap:4px}.app-footer span,.app-footer p{color:#64748b;font-size:13px;margin:0}.dark-theme .sidebar{background:radial-gradient(circle at 50% -8%,rgba(0,168,132,.13),transparent 35%),linear-gradient(180deg,#020617fc,#0f172afa 54%,#042f2ef5)!important}.dark-theme .modern-topbar,.dark-theme .topbar,.dark-theme .card,.dark-theme .history-card,.dark-theme .form,.dark-theme .special-form,.dark-theme .dashboard-ai-panel,.dark-theme .central-panel,.dark-theme .logs-hero,.dark-theme .log-item,.dark-theme .profile-card,.dark-theme .signature-panel,.dark-theme .patients-table-wrapper,.dark-theme .ambulance-hero,.dark-theme .chat-premium-shell,.dark-theme .ia-medica-hero,.dark-theme .app-footer{background:linear-gradient(145deg,#1e293bf5,#0f172ae0)!important;border-color:#ffffff14!important;box-shadow:0 24px 70px #00000057,inset 0 1px #ffffff0d!important;color:#f8fafc!important}.dark-theme .app-footer span,.dark-theme .app-footer p{color:#cbd5e1}@media (max-width:900px){.sidebar{width:100%!important;min-height:auto!important;position:relative!important;display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:12px!important;border-radius:0 0 26px 26px!important}.sidebar h1,.menu-section-title,.premium-sidebar .menu-section-title{display:none!important}.sidebar button{min-width:165px!important;min-height:48px!important;margin:0!important;text-align:center!important;padding:12px 15px!important;border-radius:16px!important;font-size:13px!important}.sidebar button:hover,.sidebar button.active,.premium-sidebar button.premium-active{transform:none!important;padding-left:15px!important}.app-footer{flex-direction:column;align-items:flex-start}.login-card:before{width:116px;height:116px}}.login-card p{display:none!important}.login-container:after{content:"Developer Marcos (Carcar) • Rise Center"}.app-footer p{font-size:13px;margin:0}.app-footer strong{color:#00a884}.ambulance-hero,.ambulance-stats{display:none!important}.sidebar h1:before{width:188px!important;height:188px!important;background-image:url(../logo-rise-center.webp)!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important}.sidebar h1:after{display:none!important}.login-card{background:linear-gradient(145deg,#fffffffa,#e8f8f4f0)!important}.login-card h1{color:#063b3b!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;font-weight:950!important;text-shadow:none!important}.login-card label,.login-card small,.login-card span,.login-card .remember-login,.login-card .patient-login-info{color:#12324a!important;font-weight:900!important;opacity:1!important;text-shadow:none!important}.login-card input{background:#fff!important;color:#12324a!important;border:1px solid rgba(15,23,42,.16)!important;box-shadow:0 10px 26px #0f172a0f,inset 0 1px #fffffff2!important}.login-card input:focus{background:#fff!important;color:#12324a!important;border-color:#00a884!important;box-shadow:0 0 0 5px #00a88426,0 10px 26px #0f172a14!important}.remember-login{color:#38566b!important;opacity:1!important}.remember-login input{background:#fff!important;accent-color:#00a884!important;box-shadow:none!important}.login-card hr,.login-card .login-divider{border-color:#0f172a24!important;opacity:1!important}.login-card .login-tabs button,.login-card .login-type button,.login-card .tipo-login button,.login-card button{color:#fff!important}.login-card button:nth-of-type(2){color:#062f3d!important}.login-card button:last-child{color:#fff!important}.login-card *{text-shadow:none!important}.login-card input,.login-card textarea,.login-card select{-webkit-text-fill-color:#12324a!important}.login-container:after{color:#ffffffc7!important;content:"Developer Marcos (Carcar) • Rise Center"!important}.login-card>p{display:none!important}.login-card h1{color:#063b3b!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;text-shadow:none!important}.login-card label,.login-card small,.login-card span,.login-card .remember-login,.login-card .patient-login-info{color:#12324a!important;opacity:1!important;font-weight:900!important}.login-card input{color:#12324a!important;-webkit-text-fill-color:#12324a!important;background:#fff!important}.login-card input::placeholder{color:#64748b!important;opacity:1!important}.hospital-command-center{margin-top:28px;display:grid;gap:18px}.command-hero,.command-panel,.medical-timeline-card{border-radius:32px;background:radial-gradient(circle at 12% 8%,rgba(0,168,132,.14),transparent 32%),linear-gradient(145deg,#ffffffe6,#ecfdf5bd);border:1px solid rgba(255,255,255,.78);box-shadow:0 24px 70px #0a28461c,inset 0 1px #ffffffd9;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.command-hero{padding:26px;display:flex;justify-content:space-between;align-items:center;gap:18px}.command-hero h3,.command-panel-title h3,.timeline-title h3{font-size:26px;margin:6px 0;background:linear-gradient(135deg,#063b3b,#00a884,#0ea5e9);-webkit-background-clip:text;background-clip:text;color:transparent!important}.command-hero p{color:#64748b;font-weight:800;line-height:1.6}.command-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.command-panel{padding:22px;min-height:260px}.command-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.command-panel-title span{min-width:40px;height:40px;padding:0 12px;border-radius:999px;background:linear-gradient(135deg,#00a884,#0ea5e9);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950}.command-list{display:grid;gap:12px}.command-list-item,.command-alert{width:100%;display:grid;gap:5px;text-align:left;padding:14px;border-radius:18px;background:#f8fafceb;border:1px solid rgba(226,232,240,.9);box-shadow:none;color:#12324a}.command-list-item strong,.command-alert strong{color:#063b3b;font-size:15px}.command-list-item small,.command-alert small{color:#64748b;font-weight:800}.command-list-item:not(.no-click):hover{transform:translateY(-2px);background:#ecfeff}.command-alert{border-left:5px solid #ef4444;background:#fef2f2}.prontuario-card{background:radial-gradient(circle at 8% 6%,rgba(0,168,132,.12),transparent 32%),linear-gradient(145deg,#ffffffeb,#f8fafcc7)!important}.prontuario-topo{padding:22px;border-radius:28px;background:#f8fafcbd;border:1px solid rgba(226,232,240,.9)}.prontuario-resumo .card{min-height:135px}.medical-timeline-card{margin:22px 0;padding:24px}.timeline-title{margin-bottom:18px}.medical-timeline{display:grid;gap:14px}.timeline-item{position:relative;display:grid;grid-template-columns:46px 1fr;gap:14px;padding:16px;border-radius:22px;background:#f8fafce0;border:1px solid rgba(226,232,240,.9)}.timeline-dot{width:46px;height:46px;border-radius:17px;background:linear-gradient(135deg,#00a884,#0ea5e9);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;box-shadow:0 14px 28px #00a88438}.timeline-item strong{color:#063b3b}.timeline-item p{margin:5px 0;color:#38566b;font-weight:800;line-height:1.5}.timeline-item small{color:#64748b;font-weight:900}.notification-panel{background:linear-gradient(145deg,#1e293b,#0f172a)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:0 28px 80px #00000073!important}.notification-panel h3{color:#fff!important}.notification-item{background:linear-gradient(135deg,#991b1b,#7f1d1d)!important;border-left:6px solid #fb7185!important;color:#fff!important}.notification-item *{color:#fff!important}.upload-area,.upload-box,.upload-card,.arquivo-card,.files-card,.anexo-card{border-radius:28px!important;background:linear-gradient(145deg,#ffffffe6,#ecfdf5b3)!important;border:1px solid rgba(255,255,255,.78)!important;box-shadow:0 22px 60px #0a28461a!important}.upload-area input[type=file],.upload-box input[type=file],.foto-upload-box input[type=file]{background:#fff!important;border:2px dashed rgba(0,168,132,.45)!important;padding:18px!important;border-radius:20px!important}.card,.history-card,.form,.special-form,.dashboard-ai-panel,.central-panel,.logs-hero,.log-item,.profile-card,.signature-panel,.patients-table-wrapper,.chat-premium-shell,.ia-medica-hero{border-radius:32px!important;box-shadow:0 24px 70px #0a28461f,inset 0 1px #ffffffd9!important}.dark-theme .command-hero,.dark-theme .command-panel,.dark-theme .medical-timeline-card,.dark-theme .prontuario-topo,.dark-theme .timeline-item,.dark-theme .command-list-item,.dark-theme .command-alert,.dark-theme .upload-area,.dark-theme .upload-box,.dark-theme .upload-card,.dark-theme .arquivo-card,.dark-theme .files-card,.dark-theme .anexo-card{background:linear-gradient(145deg,#1e293bf5,#0f172ae0)!important;border-color:#ffffff14!important;color:#f8fafc!important}.dark-theme .command-hero p,.dark-theme .command-list-item small,.dark-theme .command-alert small,.dark-theme .timeline-item p,.dark-theme .timeline-item small{color:#cbd5e1!important}.dark-theme .command-list-item strong,.dark-theme .command-alert strong,.dark-theme .timeline-item strong{color:#f8fafc!important}@media (max-width: 900px){.command-hero{flex-direction:column;align-items:flex-start}.command-grid{grid-template-columns:1fr}.timeline-item{grid-template-columns:40px 1fr}.timeline-dot{width:40px;height:40px;border-radius:14px}}.surgery-card .area-actions .pdf-btn,.surgery-form .pdf-btn{background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;color:#fff!important;box-shadow:0 14px 32px #0ea5e93d!important}.surgery-card{border:1px solid rgba(14,165,233,.18)!important}.surgery-before-after{margin:16px 0}.surgery-before-after img{max-height:240px;object-fit:contain;background:#f8fafc}.surgery-card .area-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important}.surgery-card .area-actions .pdf-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:12px 16px!important;border-radius:14px!important;background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;color:#fff!important;font-weight:950!important;box-shadow:0 14px 32px #0ea5e940!important}.paramedic-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;margin-bottom:24px;padding:30px;border-radius:34px;background:radial-gradient(circle at 12% 10%,rgba(239,68,68,.14),transparent 32%),radial-gradient(circle at 92% 10%,rgba(14,165,233,.16),transparent 34%),linear-gradient(135deg,#ffffffeb,#ecfdf5c2);border:1px solid rgba(255,255,255,.8);box-shadow:0 24px 70px #0a28461f,inset 0 1px #ffffffd6;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.paramedic-hero h2{margin-bottom:10px}.paramedic-hero p{color:#64748b;font-weight:850;line-height:1.6}.paramedic-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}.paramedic-stats div{min-height:112px;padding:18px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#ef4444,#991b1b);box-shadow:0 18px 42px #ef444438}.paramedic-stats div:nth-child(2){background:linear-gradient(135deg,#0ea5e9,#1d4ed8)}.paramedic-stats div:nth-child(3){background:linear-gradient(135deg,#00a884,#047857)}.paramedic-stats strong{display:block;font-size:38px;line-height:1;color:#fff!important}.paramedic-stats span{display:block;margin-top:8px;font-weight:950;opacity:.94}.paramedic-mini-card{border-left:6px solid #ef4444!important}.dark-theme .paramedic-hero{background:radial-gradient(circle at 12% 10%,rgba(239,68,68,.11),transparent 32%),radial-gradient(circle at 92% 10%,rgba(14,165,233,.11),transparent 34%),linear-gradient(135deg,#1e293bf5,#0f172ae0)!important;border-color:#ffffff14;color:#f8fafc}.dark-theme .paramedic-hero p{color:#cbd5e1}@media (max-width: 900px){.paramedic-hero{grid-template-columns:1fr;padding:22px}.paramedic-stats{grid-template-columns:1fr}}.obstetricia-evolucao-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;margin-bottom:24px;padding:30px;border-radius:34px;background:radial-gradient(circle at 12% 10%,rgba(236,72,153,.15),transparent 32%),radial-gradient(circle at 92% 10%,rgba(14,165,233,.14),transparent 34%),linear-gradient(135deg,#fffffff0,#fdf2f8c7);border:1px solid rgba(255,255,255,.82);box-shadow:0 24px 70px #0a28461c,inset 0 1px #ffffffdb;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.obstetricia-evolucao-hero h2{margin:8px 0}.obstetricia-evolucao-hero p{color:#64748b;font-weight:850;line-height:1.65}.obstetricia-evolucao-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px}.obstetricia-evolucao-stats div{min-height:112px;padding:18px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#ec4899,#be185d);box-shadow:0 18px 42px #ec489938}.obstetricia-evolucao-stats div:nth-child(2){background:linear-gradient(135deg,#0ea5e9,#1d4ed8);box-shadow:0 18px 42px #0ea5e938}.obstetricia-evolucao-stats strong{display:block;font-size:38px;line-height:1;color:#fff!important}.obstetricia-evolucao-stats span{display:block;margin-top:8px;font-weight:950;opacity:.94}.dark-theme .obstetricia-evolucao-hero{background:radial-gradient(circle at 12% 10%,rgba(236,72,153,.11),transparent 32%),radial-gradient(circle at 92% 10%,rgba(14,165,233,.1),transparent 34%),linear-gradient(135deg,#1e293bf5,#0f172ae0)!important;border-color:#ffffff14}.dark-theme .obstetricia-evolucao-hero p{color:#cbd5e1}@media (max-width: 900px){.obstetricia-evolucao-hero{grid-template-columns:1fr;padding:22px}.obstetricia-evolucao-stats{grid-template-columns:1fr}}.loading-screen{display:none!important}.pediatria-card-saved{position:relative}.pediatria-card-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.pediatria-card-actions button{min-height:48px;border-radius:16px}.pediatria-card-actions .warning-btn{background:linear-gradient(135deg,#f59e0b,#f97316)!important;color:#fff!important;box-shadow:0 14px 32px #f59e0b38!important}.vaccine-card-editor .secondary-btn{background:#eef8f9!important;color:#0f4c5c!important;border:1px solid var(--line)!important;box-shadow:none!important}.saved-vaccine-card{margin-top:24px}.dark-theme .pediatria-card-actions .secondary-btn,.dark-theme .vaccine-card-editor .secondary-btn{background:#0f172a!important;color:#f8fafc!important;border-color:#ffffff1f!important}.vaccine-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mini-edit{min-height:34px!important;height:34px!important;padding:0 12px!important;border-radius:12px!important;background:linear-gradient(135deg,#f59e0b,#f97316)!important;color:#fff!important;font-size:12px!important;font-weight:950!important;box-shadow:0 10px 22px #f59e0b38!important}.vaccine-form .secondary-btn{background:#eef8f9!important;color:#0f4c5c!important;border:1px solid var(--line)!important;box-shadow:none!important}.dark-theme .mini-edit{background:linear-gradient(135deg,#f59e0b,#f97316)!important;color:#fff!important}.dark-theme .vaccine-form .secondary-btn{background:#0f172a!important;color:#f8fafc!important;border-color:#ffffff1f!important}.saved-vaccine-head,.saved-vaccine-row,.vaccine-table-head,.vaccine-table-row{grid-template-columns:1.1fr .6fr .85fr .85fr 1fr!important}.saved-vaccine-row .vaccine-actions{justify-content:flex-start}.saved-vaccine-row .mini-edit,.saved-vaccine-row .mini-delete,.vaccine-table-row .mini-edit,.vaccine-table-row .mini-delete{display:inline-flex!important;align-items:center!important;justify-content:center!important}@media (max-width: 700px){.saved-vaccine-head,.saved-vaccine-row,.vaccine-table-head,.vaccine-table-row{grid-template-columns:1fr!important}.saved-vaccine-row .vaccine-actions,.vaccine-table-row .vaccine-actions{margin-top:8px}}.saved-vaccine-head,.saved-vaccine-row{grid-template-columns:1fr .55fr .8fr .8fr 1.25fr!important}.vaccine-actions-visible{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap!important;min-width:150px!important;position:relative!important;z-index:5!important}.vaccine-actions-visible .mini-edit,.vaccine-actions-visible .mini-delete{display:inline-flex!important;opacity:1!important;visibility:visible!important;align-items:center!important;justify-content:center!important;min-height:36px!important;height:36px!important;width:auto!important;min-width:68px!important;padding:0 12px!important;border-radius:12px!important;font-size:12px!important;font-weight:950!important;color:#fff!important;line-height:1!important}.vaccine-actions-visible .mini-edit{background:linear-gradient(135deg,#f59e0b,#f97316)!important;box-shadow:0 10px 22px #f59e0b38!important}.vaccine-actions-visible .mini-delete{background:linear-gradient(135deg,#ef4444,#dc2626)!important;box-shadow:0 10px 22px #ef444438!important}.pediatria-main-actions-top{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:18px 0 8px!important}.pediatria-main-actions-top button{min-height:44px!important;border-radius:15px!important;padding:10px 16px!important}.pediatria-main-actions-top .warning-btn{background:linear-gradient(135deg,#f59e0b,#f97316)!important;color:#fff!important}@media (max-width: 900px){.saved-vaccine-head,.saved-vaccine-row{grid-template-columns:1fr!important}.vaccine-actions-visible{margin-top:10px!important}}
