:root{--bg:#0d0f17;--surface:#181924;--inset:#12131e;--line:#272738;--hover:#1e2030;--text:#f1f5f9;--track:#12131e;--thumb:#6d28d9;--link:#c4b5fd;color-scheme:dark}
html[data-theme=light]{--bg:#f4f5fa;--surface:#fff;--inset:#f1f3f9;--line:#d9dce9;--hover:#e8eaf4;--text:#0f172a;--track:#eceef6;--thumb:#a78bfa;--link:#6d28d9;color-scheme:light}
*{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
html{-webkit-text-size-adjust:100%}
body{background-color:var(--bg);color:var(--text);overscroll-behavior-y:none}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:var(--track)}
::-webkit-scrollbar-thumb{background:var(--thumb);border-radius:4px}
.sidebar-item{transition:background-color .15s,color .15s}
.sidebar-item:hover,.sidebar-item.active{background:var(--hover);color:var(--text)}
.sidebar-item.active{border-left:3px solid #7c3aed}
.link-btn{color:var(--link);background:transparent;cursor:pointer}
.modal-anim{animation:modalIn .2s cubic-bezier(.16,1,.3,1)}
@keyframes modalIn{from{opacity:0;transform:scale(.97) translateY(8px)}to{opacity:1;transform:none}}
.drop-zone{border:2px dashed var(--line);transition:border-color .2s,background-color .2s}
.drop-zone.drag-over{border-color:#7c3aed;background:rgba(124,58,237,.08)}
input:focus,select:focus,textarea:focus{outline:none;border-color:#7c3aed!important}
button:focus-visible,a:focus-visible{outline:2px solid #8b5cf6;outline-offset:2px}
/* ---------- responsivo ---------- */
#auth-screen{min-height:100vh;min-height:100dvh;align-items:flex-start}
#auth-screen>div{margin-block:auto;padding-block:1rem}
#app-screen{min-height:100vh;min-height:100dvh}
#sidebar{transform:translateX(-100%);transition:transform .2s ease;padding-bottom:env(safe-area-inset-bottom);padding-top:env(safe-area-inset-top);overflow-y:auto}
#sidebar.open{transform:none;box-shadow:0 0 40px rgba(0,0,0,.45)}
#sidebar-backdrop{display:none;z-index:35}
#sidebar-backdrop.open{display:block}
#app-modal-body{max-height:92vh;max-height:92dvh}
.overflow-x-auto>table{min-width:720px}
.sidebar-item,#mobile-bar button{min-height:40px}
#patient-screen{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
@media (min-width:1024px){#sidebar{transform:none;padding-top:0}#sidebar-backdrop{display:none!important}}
@media (max-width:639px){
  input,select,textarea{font-size:16px!important}
  #app-modal{align-items:flex-end;padding:0}
  #app-modal-body{border-radius:1rem 1rem 0 0;max-height:94dvh;max-width:100%}
  #toast-container{left:12px;right:12px;top:calc(env(safe-area-inset-top) + 8px);max-width:none;width:auto}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
html[data-theme=light] .bg-\[\#090a0f\]{background-color:#eceef6}
html[data-theme=light] .bg-\[\#0d0f17\]{background-color:#f4f5fa}
html[data-theme=light] .bg-\[\#0d0f17\]\/90{background-color:rgba(244,245,250,0.9)}
html[data-theme=light] .bg-\[\#12131e\]{background-color:#f1f3f9}
html[data-theme=light] .bg-\[\#12131e\]\/50{background-color:rgba(241,243,249,0.5)}
html[data-theme=light] .bg-\[\#181924\]{background-color:#ffffff}
html[data-theme=light] .bg-\[\#181926\]{background-color:#ffffff}
html[data-theme=light] .bg-\[\#1e2030\]{background-color:#e8eaf4}
html[data-theme=light] .bg-\[\#272738\]{background-color:#e2e5f0}
html[data-theme=light] .bg-amber-900\/40{background-color:rgba(217,119,6,.12)}
html[data-theme=light] .bg-amber-950\/60{background-color:rgba(217,119,6,.12)}
html[data-theme=light] .bg-emerald-900\/40{background-color:rgba(5,150,105,.12)}
html[data-theme=light] .bg-emerald-950\/50{background-color:rgba(5,150,105,.12)}
html[data-theme=light] .bg-emerald-950\/60{background-color:rgba(5,150,105,.12)}
html[data-theme=light] .bg-purple-900\/30{background-color:rgba(124,58,237,.12)}
html[data-theme=light] .bg-purple-900\/40{background-color:rgba(124,58,237,.12)}
html[data-theme=light] .bg-purple-900\/50{background-color:rgba(124,58,237,.12)}
html[data-theme=light] .bg-purple-950\/20{background-color:rgba(124,58,237,.12)}
html[data-theme=light] .bg-purple-950\/60{background-color:rgba(124,58,237,.12)}
html[data-theme=light] .bg-red-950\/20{background-color:rgba(220,38,38,.12)}
html[data-theme=light] .bg-red-950\/50{background-color:rgba(220,38,38,.12)}
html[data-theme=light] .border-\[\#1e2030\]{border-color:#e2e5f0}
html[data-theme=light] .border-\[\#272738\]{border-color:#d9dce9}
html[data-theme=light] .border-\[\#2d2250\]{border-color:#ddd6fe}
html[data-theme=light] .border-amber-800\/40{border-color:rgba(217,119,6,.35)}
html[data-theme=light] .border-amber-900\/40{border-color:rgba(217,119,6,.35)}
html[data-theme=light] .border-emerald-800\/40{border-color:rgba(5,150,105,.35)}
html[data-theme=light] .border-emerald-900\/40{border-color:rgba(5,150,105,.35)}
html[data-theme=light] .border-purple-900\/40{border-color:rgba(124,58,237,.35)}
html[data-theme=light] .border-red-800{border-color:rgba(220,38,38,.35)}
html[data-theme=light] .border-red-800\/40{border-color:rgba(220,38,38,.35)}
html[data-theme=light] .border-red-900\/60{border-color:rgba(220,38,38,.35)}
html[data-theme=light] .divide-\[\#272738\]\/60{border-color:rgba(217,220,233,0.6)}
html[data-theme=light] .hover\:bg-\[\#12131e\]:hover{background-color:#f1f3f9}
html[data-theme=light] .hover\:bg-\[\#181924\]:hover{background-color:#ffffff}
html[data-theme=light] .hover\:bg-\[\#1e2030\]:hover{background-color:#e8eaf4}
html[data-theme=light] .hover\:bg-\[\#1e2030\]\/50:hover{background-color:rgba(232,234,244,0.5)}
html[data-theme=light] .hover\:bg-\[\#26283d\]:hover{background-color:#dfe2ef}
html[data-theme=light] .hover\:bg-emerald-950\/30:hover{background-color:rgba(5,150,105,.12)}
html[data-theme=light] .hover\:bg-purple-950:hover{background-color:rgba(124,58,237,.12)}
html[data-theme=light] .hover\:bg-red-950\/20:hover{background-color:rgba(220,38,38,.12)}
html[data-theme=light] .hover\:border-purple-800:hover{border-color:rgba(124,58,237,.35)}
html[data-theme=light] .text-white{color:#0f172a}
html[data-theme=light] .text-slate-100{color:#0f172a}
html[data-theme=light] .text-gray-100{color:#1e293b}
html[data-theme=light] .text-gray-200{color:#1e293b}
html[data-theme=light] .text-gray-300{color:#334155}
html[data-theme=light] .text-gray-400{color:#475569}
html[data-theme=light] .text-gray-500{color:#64748b}
html[data-theme=light] .text-gray-600{color:#94a3b8}
html[data-theme=light] .text-purple-100{color:#6d28d9}
html[data-theme=light] .text-purple-200{color:#6d28d9}
html[data-theme=light] .text-purple-300{color:#6d28d9}
html[data-theme=light] .text-purple-400{color:#7c3aed}
html[data-theme=light] .text-emerald-100{color:#065f46}
html[data-theme=light] .text-emerald-200{color:#047857}
html[data-theme=light] .text-emerald-300{color:#047857}
html[data-theme=light] .text-emerald-400{color:#059669}
html[data-theme=light] .text-amber-100{color:#92400e}
html[data-theme=light] .text-amber-200{color:#92400e}
html[data-theme=light] .text-amber-300{color:#b45309}
html[data-theme=light] .text-amber-400{color:#b45309}
html[data-theme=light] .text-red-200{color:#b91c1c}
html[data-theme=light] .text-red-300{color:#b91c1c}
html[data-theme=light] .text-red-400{color:#dc2626}
html[data-theme=light] .text-rose-200{color:#9f1239}
html[data-theme=light] .text-rose-300{color:#be123c}
html[data-theme=light] .text-pink-300{color:#be185d}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-white,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-white{color:#fff}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-slate-100,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-slate-100{color:#f1f5f9}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-gray-100,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-gray-100{color:#f3f4f6}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-gray-200,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-gray-200{color:#e5e7eb}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-gray-300,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-gray-300{color:#d1d5db}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-gray-400,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-gray-400{color:#9ca3af}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-gray-500,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-gray-500{color:#6b7280}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-gray-600,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-gray-600{color:#4b5563}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-purple-100,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-purple-100{color:#f3e8ff}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-purple-200,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-purple-200{color:#e9d5ff}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-purple-300,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-purple-300{color:#d8b4fe}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-purple-400,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-purple-400{color:#c084fc}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-emerald-100,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-emerald-100{color:#d1fae5}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-emerald-200,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-emerald-200{color:#a7f3d0}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-emerald-300,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-emerald-300{color:#6ee7b7}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-emerald-400,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-emerald-400{color:#34d399}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-amber-100,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-amber-100{color:#fef3c7}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-amber-200,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-amber-200{color:#fde68a}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-amber-300,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-amber-300{color:#fcd34d}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-amber-400,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-amber-400{color:#fbbf24}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-red-200,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-red-200{color:#fecaca}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-red-300,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-red-300{color:#fca5a5}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-red-400,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-red-400{color:#f87171}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-rose-200,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-rose-200{color:#fecdd3}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-rose-300,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-rose-300{color:#fda4af}
html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]) .text-pink-300,html[data-theme=light] :is(.bg-\[\#7c3aed\],.bg-\[\#6d28d9\],.bg-\[\#581c87\],.bg-\[\#059669\],.bg-red-600,.bg-red-700,.bg-gradient-to-br,#view-header,[style*="#2a1b5e"]).text-pink-300{color:#f9a8d4}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#090a0f\]{background-color:#090a0f}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#0d0f17\]{background-color:#0d0f17}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#0d0f17\]\/90{background-color:rgba(13,15,23,0.9)}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#12131e\]{background-color:#12131e}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#12131e\]\/50{background-color:rgba(18,19,30,0.5)}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#181924\]{background-color:#181924}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#181926\]{background-color:#181926}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#1e2030\]{background-color:#1e2030}
html[data-theme=light] [style*="#2a1b5e"] .bg-\[\#272738\]{background-color:#272738}
html[data-theme=light] [style*="#2a1b5e"] .border-\[\#1e2030\]{border-color:#1e2030}
html[data-theme=light] [style*="#2a1b5e"] .border-\[\#272738\]{border-color:#272738}
html[data-theme=light] [style*="#2a1b5e"] .border-\[\#2d2250\]{border-color:#2d2250}
html[data-theme=light] [style*="#2a1b5e"] .divide-\[\#272738\]\/60{border-color:rgba(39,39,56,0.6)}
html[data-theme=light] [style*="#2a1b5e"] .hover\:bg-\[\#12131e\]:hover{background-color:#12131e}
html[data-theme=light] [style*="#2a1b5e"] .hover\:bg-\[\#181924\]:hover{background-color:#181924}
html[data-theme=light] [style*="#2a1b5e"] .hover\:bg-\[\#1e2030\]:hover{background-color:#1e2030}
html[data-theme=light] [style*="#2a1b5e"] .hover\:bg-\[\#1e2030\]\/50:hover{background-color:rgba(30,32,48,0.5)}
html[data-theme=light] [style*="#2a1b5e"] .hover\:bg-\[\#26283d\]:hover{background-color:#26283d}
html[data-theme=light] .text-white[style*="background"]{color:#fff}
html[data-theme=light] .placeholder-gray-500::placeholder{color:#94a3b8}
html[data-theme=light] .shadow-2xl,html[data-theme=light] .shadow-xl{box-shadow:0 10px 30px rgba(30,41,90,.10)}
html[data-theme=light] #sidebar.open{box-shadow:0 0 40px rgba(30,41,90,.25)}
#session-splash{display:none}
html.indica-aps-restoring-session #auth-screen{display:none!important}
html.indica-aps-restoring-session #session-splash{display:flex!important}


/* INDICA APS+ — área administrativa separada em /admin. */
body.indica-aps-admin-route #sidebar,
body.indica-aps-admin-route #sidebar-backdrop,
body.indica-aps-admin-route #mobile-bar,
body.indica-aps-admin-route #license-top-bar,
body.indica-aps-admin-route #view-header { display:none !important; }
body.indica-aps-admin-route #app-main { margin-left:0 !important; }
body.indica-aps-admin-route #admin-route-header { display:flex !important; }
body.indica-aps-admin-route #page-content { width:100%; max-width:1600px; padding-top:1.5rem; }
body.indica-aps-admin-route #app-screen { min-height:100vh; min-height:100dvh; }
