/* Orvate V55: modo claro opcional. Modo escuro original permanece intacto. */
.orvate-theme-switch{position:fixed;right:17px;bottom:18px;z-index:9000;display:flex;align-items:center;gap:9px;padding:9px 13px!important;border:1px solid #c29c56!important;border-radius:999px!important;background:#161a1d!important;color:#f5d99d!important;box-shadow:0 8px 30px #0007!important;font:600 12px Arial,sans-serif!important;cursor:pointer!important;width:auto!important;height:auto!important;line-height:1.3!important}
.orvate-theme-switch:hover{filter:brightness(1.12)}.orvate-theme-switch:focus-visible{outline:3px solid #d1a453;outline-offset:3px}
html[data-orvate-theme="light"]{color-scheme:light!important;background:#f3f5f8!important;color:#1e2935!important}
html[data-orvate-theme="light"] body{background:#f3f5f8!important;color:#1e2935!important}
html[data-orvate-theme="light"] body::before{opacity:.05!important}
html[data-orvate-theme="light"] #application>header,html[data-orvate-theme="light"] header,html[data-orvate-theme="light"] .mainnav,html[data-orvate-theme="light"] .bottomnav{background:#fff!important;color:#172331!important;border-color:#e2d5bd!important}
html[data-orvate-theme="light"] .side,html[data-orvate-theme="light"] .right,html[data-orvate-theme="light"] .workspace,html[data-orvate-theme="light"] .chat,html[data-orvate-theme="light"] .layout,html[data-orvate-theme="light"] main{background:#f6f8fa!important;color:#1e2935!important}
html[data-orvate-theme="light"] .panelhead,html[data-orvate-theme="light"] .chathead,html[data-orvate-theme="light"] .compose,html[data-orvate-theme="light"] .messages,html[data-orvate-theme="light"] .lead-list{background:#fff!important;color:#1c2935!important;border-color:#e6e7ea!important}
html[data-orvate-theme="light"] .lead,html[data-orvate-theme="light"] .box,html[data-orvate-theme="light"] .card,html[data-orvate-theme="light"] .stat,html[data-orvate-theme="light"] .top-search,html[data-orvate-theme="light"] .filter-panel,html[data-orvate-theme="light"] .filters-box,html[data-orvate-theme="light"] .clock,html[data-orvate-theme="light"] .nav-bottom,html[data-orvate-theme="light"] .bottomnav a{background:#fff!important;color:#1e2935!important;border-color:#dfd8ca!important;box-shadow:0 3px 13px #1b2a3810!important}
html[data-orvate-theme="light"] .lead:hover,html[data-orvate-theme="light"] .lead.active,html[data-orvate-theme="light"] .navlink:hover,html[data-orvate-theme="light"] .navlink.active{background:#fff3d8!important;border-color:#c79c46!important;color:#4e3512!important}
html[data-orvate-theme="light"] .navlink{color:#26313b!important}
html[data-orvate-theme="light"] .stat b,html[data-orvate-theme="light"] .stat span,html[data-orvate-theme="light"] .clock,html[data-orvate-theme="light"] .right-tab.active,html[data-orvate-theme="light"] .lead strong,html[data-orvate-theme="light"] h1,html[data-orvate-theme="light"] h2,html[data-orvate-theme="light"] h3{color:#202a35!important}
html[data-orvate-theme="light"] .muted,html[data-orvate-theme="light"] .subtle,html[data-orvate-theme="light"] .stat span{color:#56616e!important}
html[data-orvate-theme="light"] input:not([type="checkbox"]):not([type="radio"]),html[data-orvate-theme="light"] select,html[data-orvate-theme="light"] textarea{background:#fff!important;color:#1d2935!important;border-color:#c8cbd0!important;box-shadow:none!important}
html[data-orvate-theme="light"] input::placeholder,html[data-orvate-theme="light"] textarea::placeholder{color:#7b8792!important}
html[data-orvate-theme="light"] select option,html[data-orvate-theme="light"] select optgroup{background:#fff!important;color:#202b37!important}
html[data-orvate-theme="light"] label{color:#77531b!important}
html[data-orvate-theme="light"] .pill,html[data-orvate-theme="light"] button.secondary{background:#f3f4f6!important;color:#26313b!important;border-color:#cdd2d7!important}
html[data-orvate-theme="light"] .pill.active{background:#c49a45!important;color:#1d180e!important;border-color:#b58a37!important}
html[data-orvate-theme="light"] .bubble.in{background:#edf0f4!important;color:#202c38!important}
html[data-orvate-theme="light"] .bubble.out{background:#f8e8c6!important;color:#33271a!important}
html[data-orvate-theme="light"] .bubble small{color:#666b73!important}
html[data-orvate-theme="light"] .right-tab{color:#76571f!important}
html[data-orvate-theme="light"] .orvate-financeira{color:#26303b!important}
html[data-orvate-theme="light"] .orvate-modal-card{background:#fff!important;color:#1c2935!important}
html[data-orvate-theme="light"] .login-side{background:radial-gradient(circle,#faf5e9,#e9edf2)!important}
html[data-orvate-theme="light"] .premium-login-card{background:#fff!important;color:#1d2835!important;box-shadow:0 18px 70px #1c2a3420!important}
html[data-orvate-theme="light"] .login-welcome{color:#1e2935!important}
html[data-orvate-theme="light"] .login-intro{color:#556270!important}
html[data-orvate-theme="light"] .login-input-wrap{background:#fff!important;border-color:#bdc5ce!important}
html[data-orvate-theme="light"] .login-input-wrap input{color:#1d2935!important}
html[data-orvate-theme="light"] .login-help{color:#7e5a25!important}
html[data-orvate-theme="light"] .orvate-theme-switch{background:#fff!important;color:#52380d!important;box-shadow:0 6px 22px #1e2d3b30!important}
/* Universal fallbacks for secondary pages */
html[data-orvate-theme="light"] table,html[data-orvate-theme="light"] th,html[data-orvate-theme="light"] td{color:#1e2935!important;border-color:#d8dfe5!important}
html[data-orvate-theme="light"] th{background:#f1f3f5!important}
html[data-orvate-theme="light"] a:not(.navlink):not(.bottomnav a){color:#805817}
html[data-orvate-theme="light"] .login-showcase{filter:brightness(1.08)}
@media(max-width:700px){.orvate-theme-switch{right:10px;bottom:10px;font-size:11px!important;padding:8px 10px!important}}
html[data-orvate-theme="light"] #login.orvate-login-page input#username,html[data-orvate-theme="light"] #login.orvate-login-page input#password{color:#1d2935!important}
html[data-orvate-theme="light"] #login.orvate-login-page .login-input-wrap{background:#fff!important}
html[data-orvate-theme="light"] #login.orvate-login-page button.show-password{color:#596471!important}
html[data-orvate-theme="light"] .right .box,html[data-orvate-theme="light"] .admin,html[data-orvate-theme="light"] .panelhead{border-color:#e2e4e7!important}
