/* Alternância claro/escuro do Hostina Hub. Os contornos violeta identificam o tema noturno. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 10px;border:1px solid rgba(135,92,180,.28);border-radius:8px;color:#765a92;background:rgba(245,238,252,.62);font-size:.72rem;white-space:nowrap;box-shadow:0 2px 8px rgba(93,63,128,.06);transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
.theme-toggle:hover{color:#68458d;background:rgba(231,216,249,.82);border-color:rgba(143,101,195,.5);box-shadow:0 4px 12px rgba(93,63,128,.12);transform:translateY(-1px)}
.theme-toggle-icon{font-size:1rem;line-height:1}.login-form{position:relative}.login-form>.theme-toggle{position:absolute;top:24px;right:26px;z-index:2;width:auto;padding:6px 10px}
html[data-theme="dark"]{color-scheme:dark;--ink:#eeeaf4;--muted:#aaa2b7;--line:rgba(167,139,230,.25);--bg:#17151e;--dark:#8d70cf;--accent:#c7a9ff;--brand-pink:#30263f;--brand-pink-strong:#9e7be0;--brand-pink-ink:#e7d9ff;--status-green-bg:#1b3028;--status-green-ink:#9ee0b2;--status-yellow-bg:#352d1d;--status-yellow-ink:#f1d58e;--status-orange-bg:#3a291f;--status-orange-ink:#ffc28e;--status-red-bg:#3a222a;--status-red-ink:#ffabb4;color:var(--ink)}
html[data-theme="dark"] body{background-color:#17151e;background-image:radial-gradient(ellipse 66vw 62vh at 2% 0%,rgba(94,56,153,.3),transparent 70%),radial-gradient(ellipse 58vw 60vh at 100% 25%,rgba(79,50,123,.29),transparent 72%),radial-gradient(ellipse 54vw 60vh at 44% 100%,rgba(54,44,85,.3),transparent 72%),linear-gradient(135deg,#17151e 0%,#1d1925 52%,#17151e 100%);background-attachment:fixed;color:var(--ink)}
html[data-theme="dark"] .main,html[data-theme="dark"] .content{background:transparent;color:var(--ink)}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] strong{color:#f0ebf8}
html[data-theme="dark"] .subtitle,html[data-theme="dark"] .caption,html[data-theme="dark"] .muted,html[data-theme="dark"] .nav-label{color:#aaa1b7}html[data-theme="dark"] .eyebrow{color:#c7a9ff}
html[data-theme="dark"] .sidebar{color:#e6def2;border:1px solid rgba(178,145,244,.38);background:linear-gradient(155deg,rgba(42,34,55,.91),rgba(29,25,39,.85));box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 20px 44px -25px rgba(0,0,0,.68),0 0 28px rgba(133,93,205,.09)}html[data-theme="dark"] .sidebar:hover{border-color:rgba(198,169,255,.64);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 24px 50px -25px rgba(0,0,0,.72),0 0 30px rgba(133,93,205,.16)}html[data-theme="dark"] .brand{color:#f1ebfa}html[data-theme="dark"] .brand span{color:#c7a9ff}
html[data-theme="dark"] .nav button{color:#c5bbd3}html[data-theme="dark"] .nav button:hover,html[data-theme="dark"] .nav .nav-sub button:hover{background:rgba(154,119,217,.16);color:#f2eaff}html[data-theme="dark"] .nav button.active,html[data-theme="dark"] .nav .nav-sub button.active,html[data-theme="dark"] .nav-sub button.active{color:#f1e9ff;background:linear-gradient(135deg,rgba(117,82,172,.47),rgba(71,53,103,.68));border-color:rgba(191,161,255,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 18px rgba(138,99,214,.12)}html[data-theme="dark"] .nav button.active-parent{color:#e8dcff;background:rgba(132,99,185,.2);box-shadow:none}html[data-theme="dark"] .nav .nav-sub{border-left-color:rgba(176,142,236,.35);background:transparent}html[data-theme="dark"] .nav-divider,html[data-theme="dark"] .nav-business-divider{background:rgba(177,145,226,.25)}
html[data-theme="dark"] .topbar{color:#ece6f4;border:1px solid rgba(177,145,236,.35);background:linear-gradient(135deg,rgba(36,31,47,.9),rgba(27,24,36,.84));box-shadow:inset 0 1px 0 rgba(255,255,255,.065),0 12px 34px -24px rgba(0,0,0,.75),0 0 24px rgba(132,97,199,.08)}html[data-theme="dark"] .topbar .muted{color:#aaa1b7}html[data-theme="dark"] .topbar-count{border-color:rgba(174,139,237,.33);background:rgba(83,63,117,.23);color:#c7bdd6}html[data-theme="dark"] .topbar-count strong{color:#d0b5ff}
html[data-theme="dark"] .card,html[data-theme="dark"] .kpi:not(.featured),html[data-theme="dark"] .property-tile,html[data-theme="dark"] .lead-card{color:#eeeaf4;border-color:rgba(171,139,232,.31);background:linear-gradient(145deg,rgba(43,36,55,.88),rgba(30,27,39,.82));box-shadow:inset 0 1px 0 rgba(255,255,255,.07),inset 0 -1px 0 rgba(173,139,234,.08),0 16px 36px -24px rgba(0,0,0,.66),0 0 20px rgba(123,85,187,.055)}html[data-theme="dark"] .cardhead{color:#eeeaf4;background:rgba(46,38,59,.58);border-color:rgba(171,139,232,.21)}html[data-theme="dark"] .card:hover,html[data-theme="dark"] .kpi:not(.featured):hover,html[data-theme="dark"] .property-tile:hover,html[data-theme="dark"] .lead-card:hover{border-color:rgba(203,177,255,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 18px 38px -23px rgba(0,0,0,.72),0 0 22px rgba(147,103,224,.14);filter:saturate(1.08) brightness(1.08)}html[data-theme="dark"] .card::before,html[data-theme="dark"] .kpi:not(.featured)::before,html[data-theme="dark"] .property-tile::before,html[data-theme="dark"] .lead-card::before{background:linear-gradient(112deg,transparent 18%,rgba(202,177,255,.18) 46%,rgba(160,128,222,.13) 54%,transparent 72%)}
html[data-theme="dark"] .kpi.featured{color:#f0eaf8;border-color:rgba(191,161,255,.47);background:linear-gradient(135deg,rgba(57,43,81,.97),rgba(38,31,55,.95));box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 17px 36px -23px rgba(0,0,0,.7),0 0 24px rgba(132,92,202,.12)}html[data-theme="dark"] .kpi.featured .label,html[data-theme="dark"] .kpi.featured small{color:#c8bdd9}html[data-theme="dark"] .kpi.featured strong{color:#d8bdff}
html[data-theme="dark"] .crm-column{color:#eae4f2;border:1px solid rgba(168,134,229,.3);background:rgba(44,36,58,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 13px 28px -22px rgba(0,0,0,.65)}html[data-theme="dark"] .crm-column-head{color:#ddd2ed}html[data-theme="dark"] .marketing-column.drag-over,html[data-theme="dark"] .crm-column.drag-over{background:rgba(104,73,151,.36);border-color:#b692f4;box-shadow:inset 0 0 0 2px rgba(180,145,240,.32),0 0 18px rgba(139,97,211,.12)}html[data-theme="dark"] .marketing-empty{border-color:rgba(176,142,236,.4);color:#aaa1b7}
html[data-theme="dark"] .workspace,html[data-theme="dark"] .filters,html[data-theme="dark"] .range-switch,html[data-theme="dark"] .tabs{border-color:rgba(174,139,237,.28);background:rgba(39,33,50,.68);color:#e8e1f1;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 22px rgba(0,0,0,.16)}html[data-theme="dark"] .range-switch button.active,html[data-theme="dark"] .tabs button.active{color:#f3eaff;background:linear-gradient(135deg,rgba(127,91,184,.75),rgba(83,61,123,.88));border-color:rgba(193,164,255,.46);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 3px 13px rgba(89,61,135,.22)}
html[data-theme="dark"] label{color:#d0c6dc}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color:#f0eaf6;border-color:rgba(171,139,232,.35);background:rgba(27,24,36,.84);box-shadow:inset 0 1px 2px rgba(0,0,0,.22)}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8f869e}html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:#b493f0;box-shadow:0 0 0 3px rgba(158,119,221,.2);background:#211c2b}html[data-theme="dark"] select option{background:#211c2b;color:#f0eaf6}
html[data-theme="dark"] button:not(.ghost):not(.danger):not(.clean-completion-button):not(.clean-completion-final):not(.ledger-status):not(.table-sort-button):not(.primary):not(.nav button){border-color:rgba(177,145,236,.42);background:linear-gradient(145deg,rgba(55,45,72,.94),rgba(40,34,53,.96));color:#e9e0f5;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 4px 12px rgba(0,0,0,.22)}html[data-theme="dark"] button:not(.ghost):not(.danger):not(.clean-completion-button):not(.clean-completion-final):not(.ledger-status):not(.table-sort-button):not(.primary):not(.nav button):hover{border-color:rgba(204,180,255,.72);background:linear-gradient(145deg,rgba(75,58,102,.98),rgba(52,42,73,.98));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 7px 19px rgba(0,0,0,.3),0 0 14px rgba(149,105,220,.12)}html[data-theme="dark"] button.primary{border-color:#a889df;background:linear-gradient(145deg,#9876d2,#7252ab);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 5px 16px rgba(67,43,111,.42)}html[data-theme="dark"] button.primary:hover{border-color:#c4a7fa;background:linear-gradient(145deg,#aa8ce3,#8362bf);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.27),0 8px 21px rgba(67,43,111,.5)}html[data-theme="dark"] button.ghost,html[data-theme="dark"] .ghost{color:#d8cde8;background:transparent;border-color:transparent;box-shadow:none}html[data-theme="dark"] button.ghost:hover,html[data-theme="dark"] .ghost:hover{color:#fff;background:rgba(160,125,222,.16);border-color:rgba(180,145,240,.2);box-shadow:none}html[data-theme="dark"] .danger,html[data-theme="dark"] button.danger{color:#ffb1b3;border-color:rgba(234,119,132,.42);background:rgba(112,40,55,.24)}html[data-theme="dark"] .danger:hover,html[data-theme="dark"] button.danger:hover{background:rgba(132,48,64,.4);border-color:rgba(255,144,155,.58)}
html[data-theme="dark"] .table-wrap{border-color:rgba(171,139,232,.27);background:rgba(31,27,40,.56)}html[data-theme="dark"] table,html[data-theme="dark"] .table-wrap table{color:#e6deed}html[data-theme="dark"] th,html[data-theme="dark"] .table-wrap th{color:#cbbde0;border-color:rgba(171,139,232,.23);background:linear-gradient(180deg,rgba(57,46,74,.94),rgba(43,36,57,.95))}html[data-theme="dark"] td{border-color:rgba(171,139,232,.19)}html[data-theme="dark"] .table-wrap tbody tr:nth-child(even) td{background:rgba(73,57,98,.14)}html[data-theme="dark"] .table-wrap tbody tr:hover td{background:rgba(130,94,185,.2)}html[data-theme="dark"] .table-sort-button:hover{background:rgba(168,132,230,.2)}
html[data-theme="dark"] .badge{color:#d8d0e2;border-color:rgba(178,157,207,.22);background:rgba(95,81,116,.3)}html[data-theme="dark"] .badge.status-green{background:var(--status-green-bg);color:var(--status-green-ink);border-color:rgba(105,184,131,.37)}html[data-theme="dark"] .badge.status-yellow{background:var(--status-yellow-bg);color:var(--status-yellow-ink);border-color:rgba(222,183,83,.37)}html[data-theme="dark"] .badge.status-orange{background:var(--status-orange-bg);color:var(--status-orange-ink);border-color:rgba(219,145,86,.4)}html[data-theme="dark"] .badge.status-red{background:var(--status-red-bg);color:var(--status-red-ink);border-color:rgba(225,112,127,.4)}
html[data-theme="dark"] .badge.green{color:#a5e2b4;border-color:rgba(105,184,131,.34);background:rgba(37,93,60,.32)}html[data-theme="dark"] .badge.amber{color:#f0d08e;border-color:rgba(222,183,83,.34);background:rgba(115,82,27,.28)}html[data-theme="dark"] .badge.red{color:#ffadb2;border-color:rgba(225,112,127,.36);background:rgba(113,40,55,.3)}html[data-theme="dark"] .ledger-status.selected,html[data-theme="dark"] .clean-completion-button.is-done{color:#a5e2b4;background:rgba(37,93,60,.32);border-color:rgba(105,184,131,.43)}html[data-theme="dark"] .clean-completion-button{color:#a5e2b4;background:rgba(37,93,60,.24);border-color:rgba(105,184,131,.34)}html[data-theme="dark"] .clean-completion-final{color:white;background:#31784a;border-color:#4a9a65}html[data-theme="dark"] .clean-completion-final:hover{color:white;background:#28663d;border-color:#3d8755}
html[data-theme="dark"] .notice,html[data-theme="dark"] .quick-alert,html[data-theme="dark"] .calendar-api-note,html[data-theme="dark"] .calendar-chat-empty{color:#e3d9ee;border-color:rgba(179,141,231,.34);background:linear-gradient(135deg,rgba(55,42,70,.9),rgba(39,33,49,.92))}html[data-theme="dark"] .notice.warn{color:#f1d89c;border-color:rgba(219,178,89,.34);background:rgba(84,65,31,.27)}html[data-theme="dark"] .quick-alert:hover{background:rgba(86,62,121,.58);border-color:#ac8cde}html[data-theme="dark"] .quick-alert strong{color:#d2b5ff}
html[data-theme="dark"] .property-symbol{color:#decaff;border:1px solid rgba(178,143,238,.35);background:rgba(111,79,157,.3)}html[data-theme="dark"] .property-code,html[data-theme="dark"] .unit-code-tooltip{color:#d2b6ff}html[data-theme="dark"] .unit-code-tooltip{border-bottom-color:rgba(196,163,255,.6)}html[data-theme="dark"] .unit-tooltip-popover{color:#f0eaf6;border-color:rgba(188,154,245,.47);background:rgba(36,30,48,.97);box-shadow:0 10px 28px rgba(0,0,0,.52),0 0 18px rgba(138,98,209,.12)}
html[data-theme="dark"] .property-tile .unit-meta>span,html[data-theme="dark"] .stay-finance-kpis.compact>div,html[data-theme="dark"] .calendar-guest-details div,html[data-theme="dark"] .property-ledger-row{color:#e7dfee;border-color:rgba(171,139,232,.27);background:rgba(51,42,65,.68)}html[data-theme="dark"] .stay-access-box,html[data-theme="dark"] .stay-finance-box{color:#e7dfee;border-color:rgba(174,139,237,.34);background:linear-gradient(120deg,rgba(58,45,75,.84),rgba(38,33,50,.9));box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}html[data-theme="dark"] .stay-access-box:hover,html[data-theme="dark"] .stay-finance-box:hover{border-color:rgba(202,175,255,.66);background:linear-gradient(120deg,rgba(79,57,111,.88),rgba(47,38,63,.96))}html[data-theme="dark"] .stay-access-box .stay-action-title,html[data-theme="dark"] .stay-finance-box .stay-action-title,html[data-theme="dark"] .stay-finance-open{color:#c6a9f4}
html[data-theme="dark"] .positive,html[data-theme="dark"] .income,html[data-theme="dark"] .kpi.income:not(.featured) strong{color:#8fdbac}html[data-theme="dark"] .negative,html[data-theme="dark"] .expense,html[data-theme="dark"] .kpi.expense strong{color:#ff9e9f}html[data-theme="dark"] .bar{background:#62be88}html[data-theme="dark"] .bar.cost{background:#e6767a}html[data-theme="dark"] .legend i{background:#62be88}html[data-theme="dark"] .legend .cost{background:#e6767a}
html[data-theme="dark"] .calendar,html[data-theme="dark"] .day,html[data-theme="dark"] .weekday{color:#e6deed;border-color:rgba(171,139,232,.24)}html[data-theme="dark"] .weekday{background:rgba(59,48,76,.9)}html[data-theme="dark"] .day.dim{background:rgba(31,27,40,.48)}html[data-theme="dark"] .event{color:#c9f1d4;background:rgba(40,102,70,.37)}html[data-theme="dark"] .event.clean{color:#ffdbab;background:rgba(130,85,36,.38)}html[data-theme="dark"] .event.blocked{color:#d1c4e0;background:rgba(86,73,102,.44)}
html[data-theme="dark"] dialog{color:#eeeaf4;border-color:rgba(185,151,243,.42);background:linear-gradient(145deg,rgba(39,33,51,.98),rgba(28,25,37,.985));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 72px rgba(0,0,0,.62),0 0 36px rgba(124,84,189,.13)}html[data-theme="dark"] dialog::backdrop{background:rgba(12,10,17,.69);backdrop-filter:blur(7px)}html[data-theme="dark"] .modalhead,html[data-theme="dark"] .modalfoot{border-color:rgba(174,139,237,.25)}html[data-theme="dark"] #form-error,html[data-theme="dark"] .error{color:#ff9fa8}html[data-theme="dark"] #toast{color:#f4edff;background:#342944;border:1px solid rgba(190,157,248,.38);box-shadow:0 12px 32px rgba(0,0,0,.44)}
html[data-theme="dark"] .login{background:#191621}html[data-theme="dark"] .login-aside{color:#eee8f5;border-color:rgba(183,146,241,.28);background:radial-gradient(ellipse at 12% 4%,rgba(119,78,172,.39),transparent 55%),linear-gradient(145deg,#30263d,#211c2b 76%)}html[data-theme="dark"] .login-aside h1,html[data-theme="dark"] .login-aside .brand{color:#f1ebf9}html[data-theme="dark"] .login-aside p{color:#c0b4ce}html[data-theme="dark"] .login-aside .mark{color:#d0b5ff}html[data-theme="dark"] .login-form{color:#eeeaf4;background:rgba(32,27,42,.74)}
html[data-theme="dark"] .theme-toggle{color:#dfd2f2;background:rgba(115,83,159,.16);border-color:rgba(173,139,233,.38);box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}html[data-theme="dark"] .theme-toggle:hover{color:#fff;background:rgba(143,106,198,.28);border-color:rgba(206,178,255,.65);box-shadow:0 0 15px rgba(153,113,220,.17)}
html[data-theme="dark"] .report-page{color:#eeeaf4;border-color:rgba(178,143,237,.35);background:#211c2a;box-shadow:0 22px 52px -33px rgba(0,0,0,.75)}html[data-theme="dark"] .report-section-head h2{color:#eeeaf4}html[data-theme="dark"] .report-section-head p,html[data-theme="dark"] .report-property-list p{color:#b6a9c4}html[data-theme="dark"] .report-property-list{border-color:rgba(173,139,232,.28)}html[data-theme="dark"] .report-metric{color:#e7deee;border-color:rgba(174,139,237,.29);background:rgba(49,40,62,.74)}html[data-theme="dark"] .report-metric span{color:#b9aec7}html[data-theme="dark"] .report-page th{color:#d8c6ef;border-color:rgba(173,139,232,.25);background:rgba(68,52,91,.82)}html[data-theme="dark"] .report-page td{border-color:rgba(173,139,232,.18)}html[data-theme="dark"] .report-page tbody tr:nth-child(even){background:rgba(75,55,101,.17)}html[data-theme="dark"] .report-contract-note,html[data-theme="dark"] .report-disclaimer{color:#d7cce2;border-color:rgba(173,139,232,.29);background:rgba(54,43,69,.8)}html[data-theme="dark"] .report-section-number{color:#dfcbff;background:rgba(127,89,184,.35)}html[data-theme="dark"] .report-footer{color:#b0a1c0;border-color:rgba(173,139,232,.25)}
html[data-theme="dark"] a{color:#d0b5ff}html[data-theme="dark"] a:hover{color:#e2d1ff}html[data-theme="dark"] .empty{color:#aaa1b7}html[data-theme="dark"] .empty strong{color:#eeeaf4}
@media(max-width:700px){.login-form>.theme-toggle{top:13px;right:14px}.topbar .theme-toggle{gap:4px;padding:5px 7px}}@media(max-width:390px){.topbar .theme-toggle>span:last-child{display:none}}
@media print{html[data-theme="dark"] .report-page{color:#493a36!important;border:0!important;background:#fffdfa!important;box-shadow:none!important}html[data-theme="dark"] .report-page .report-body{background:#fffdfa!important;color:#493a36!important}html[data-theme="dark"] .report-page h1,html[data-theme="dark"] .report-page h2,html[data-theme="dark"] .report-page h3,html[data-theme="dark"] .report-page strong,html[data-theme="dark"] .report-page td{color:#493a36!important}html[data-theme="dark"] .report-page .report-cover h1{color:#fff!important}html[data-theme="dark"] .report-page .report-metric{background:#fff8f5!important;border-color:#efdeda!important}html[data-theme="dark"] .report-page th{color:#765c54!important;background:#f7e7e1!important}html[data-theme="dark"] .report-page tbody tr:nth-child(even){background:#fff8f6!important}html[data-theme="dark"] .report-page .report-contract-note,html[data-theme="dark"] .report-page .report-disclaimer{color:#71564d!important;background:#fff5f0!important}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none!important}}
