/* Mobile is the base layout; desktop expands into the reference control center. */
#revenueShell[hidden],#revenueShell [hidden],#revenueHome [hidden]{display:none!important}.revenue-mode{--bg-base:#0b0f19;--bg-card:#121826;--border-color:#263044;--text-primary:#f4f6fb;--text-secondary:#93a0b8;background:#0b0f19;color:#f4f6fb}.revenue-mode .view-toggle-bar,.revenue-mode .fixed-nav-spacer{display:none!important}.revenue-mode #appShell{padding-top:78px!important}.rc-home{padding:18px 16px 32px;max-width:1600px;margin:auto;font-family:Arial,sans-serif}.rc-home h1,.rc-home h2,.rc-home h3,.rc-brand{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}.rc-home button,#revenueShell button{font-family:Arial,sans-serif;cursor:pointer;color:inherit}.rc-home svg,#revenueShell svg{width:24px;height:24px;flex-shrink:0}.rc-home button:focus-visible,#revenueShell button:focus-visible,#revenueShell input:focus-visible,#revenueShell select:focus-visible{outline:2px solid #09b7ce;outline-offset:3px}.rc-sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#0b0f19;z-index:2201;padding:24px 20px;display:flex;flex-direction:column;transform:translateX(-100%);transition:transform .2s}.rc-brand{font-size:28px;line-height:1.2;white-space:nowrap}.rc-company{font-size:13px;color:#a7afb5;margin:12px 0 34px;line-height:1.6}.rc-sidebar nav{display:grid;gap:8px}.rc-sidebar button{display:flex;gap:16px;align-items:center;min-height:48px;padding:12px;border:0;background:none;text-align:left;border-radius:8px;font-size:14px}.rc-sidebar nav button.active{background:#09b7ce30;color:#09b7ce;border-left:3px solid #09b7ce}.rc-side-bottom{margin-top:auto;padding-top:24px}.rc-side-bottom>button{width:100%;border-top:1px solid #2b343b;border-radius:0}.rc-user span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}.rc-user strong{font-size:13px;font-weight:400}.rc-user small{font-size:11px;color:#9ba5b0}.rc-avatar{position:relative;overflow:hidden;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#3a4851}.rc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rc-logout{font-size:11px!important;min-height:32px!important;color:#a7afb5!important}.rc-shade{display:none;position:fixed;inset:0;background:#0009;border:0;z-index:2200}.menu-open .rc-sidebar{transform:none}.menu-open .rc-shade{display:block}.rc-top{position:fixed;top:0;right:0;left:0;z-index:1500;height:70px;padding:10px 16px;display:flex;align-items:center;gap:12px;background:#121826f5;border-bottom:1px solid #2a3238;backdrop-filter:blur(14px)}.rc-top button{display:grid;place-items:center;min-width:44px;height:44px;border:0;background:transparent;border-radius:8px}.rc-location{font-size:13px;flex:1;white-space:nowrap}.rc-search{display:none}.rc-venue{display:none;background:#0b0f19;color:#d7dce1;border:1px solid #343d44;border-radius:8px;padding:12px;font-size:12px;max-width:220px}.rc-refresh{font-size:25px}.rc-heading h1{font-size:38px;margin:8px 0}.rc-heading p{margin:0 0 25px;color:#aeb5bf;font-size:15px;text-transform:capitalize}.rc-dashboard{display:grid;gap:18px}.rc-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rc-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:164px;padding:19px 15px 32px;background:linear-gradient(120deg,#121826,#121826);border:1px solid #323c42;border-radius:12px;text-align:left;box-shadow:inset 0 1px #ffffff03}.rc-tile>svg{width:38px;height:38px;color:#09b7ce;margin-bottom:14px}.rc-tile h2{font-size:23px;margin:0 0 10px}.rc-tile p{display:flex;align-items:center;gap:7px;margin:0;color:#b9c0c7;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.rc-tile p i{display:block;width:7px;height:7px;background:#78c9a3;border-radius:50%;flex-shrink:0}.rc-tile:nth-child(1) p i,.rc-tile:nth-child(4) p i{background:#263244}.rc-chevron{position:absolute;right:14px;bottom:13px;color:#aab1b9}.rc-chevron svg{width:16px;height:16px}.rc-tile:hover{border-color:#09b7ce;background:#1a2233}.rc-next{min-width:0;padding:18px;border:1px solid #323c42;border-radius:12px;background:linear-gradient(120deg,#121826,#0b0f19)}.rc-next h2{font-size:27px;margin:0 0 18px}.rc-event-photo{height:190px;overflow:hidden;border-radius:8px;background:linear-gradient(135deg,#1a2233,#121826);display:grid;place-items:center;color:#09b7ce}.rc-event-photo>svg{width:64px;height:64px}.rc-event-photo img{width:100%;height:100%;object-fit:cover}.rc-event-body h3{font-size:26px;margin:18px 0 6px}.rc-event-body p{font-size:13px;color:#aab3bd;line-height:1.5;margin:6px 0 14px}.rc-event-date{display:flex;align-items:center;gap:10px;text-transform:capitalize;color:#e6e7e9!important}.rc-progress-label{display:flex;justify-content:space-between;font-size:12px;margin:22px 0 8px}.rc-progress{height:9px;border-radius:8px;background:#27323e;overflow:hidden}.rc-progress span{display:block;height:100%;background:#263244;border-radius:8px}.rc-event-body ul{list-style:none;padding:0;min-height:42px;display:grid;gap:12px;color:#abb3bc;font-size:12px;margin:20px 0}.rc-open-event{width:100%;display:flex;justify-content:space-between;align-items:center;min-height:48px;background:#263244;color:#ffffff!important;border:1px solid #09b7ce;border-radius:8px;padding:12px 18px;font-size:14px}.rc-day{margin-top:18px;display:grid;gap:12px;border:1px solid #323c42;border-radius:12px;padding:18px;background:#121826}.rc-day>div{display:flex;gap:16px;align-items:center}.rc-day h2{font-size:24px;margin:0 0 6px}.rc-day p{font-size:11px;color:#9da8b4;margin:0}.rc-day>button{display:flex;justify-content:center;align-items:center;gap:12px;min-height:52px;border:1px solid #92989f;background:transparent;border-radius:9px;font-size:13px}.rc-feedback{font-size:12px;color:#93a0b8;min-height:16px}.revenue-mode #settingsScreen,.revenue-mode .planner-screen,.revenue-mode .finance-screen{max-width:1400px}.revenue-mode .lead-card,.revenue-mode .settings-card{border-color:#303a43}.revenue-mode .topbar{scroll-margin-top:82px}.revenue-mode #receptionMainNav{display:none!important}
@media(min-width:700px){.rc-home{padding:28px}.rc-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rc-tile{min-height:210px;padding:24px 20px}.rc-day{grid-template-columns:1.2fr 1fr 1fr;align-items:center}.rc-top .rc-search{display:flex;flex:1;max-width:460px;border:1px solid #3a444b;border-radius:8px;padding:9px 12px;gap:10px;background:#121826}.rc-search input{width:100%;min-width:0;border:0;background:transparent;color:#e4e8ec;font:inherit;font-size:13px;outline:none}.rc-location{flex:0 0 auto;margin-right:auto}.rc-venue{display:block}.rc-heading h1{font-size:48px}}
@media(min-width:1100px){.revenue-mode #appShell{padding-left:250px!important;padding-top:80px!important}.rc-sidebar{transform:none}.rc-top{left:250px;height:80px;padding:16px 28px;gap:24px}.rc-menu{display:none!important}.rc-home{padding:24px 28px}.rc-heading{width:62%}.rc-heading h1{font-size:clamp(44px,4vw,64px);margin:0 0 8px}.rc-heading p{font-size:20px;margin-bottom:38px}.rc-dashboard{grid-template-columns:1.55fr 1fr;gap:24px;align-items:stretch}.rc-tiles{gap:14px}.rc-tile{min-height:250px;padding:30px 22px}.rc-tile>svg{width:64px;height:64px;margin-bottom:28px}.rc-tile h2{font-size:32px}.rc-tile p{font-size:13px}.rc-next{margin-top:-122px;padding:20px}.rc-next h2{font-size:32px}.rc-event-photo{height:240px}.rc-day{padding:22px;margin-top:22px}.rc-day h2{font-size:29px}.rc-day>button{min-height:68px;font-size:16px}.rc-shade{display:none!important}.rc-sidebar nav button{min-height:56px}.revenue-mode #miCrmScreen>.topbar{position:relative;top:auto}.revenue-mode .fixed-nav-spacer{height:0!important}}
@media(prefers-reduced-motion:reduce){.rc-sidebar{transition:none}}
#revenueShell,#revenueShell *,#revenueHome,#revenueHome *{box-sizing:border-box}#revenueShell{font-family:Arial,sans-serif}.rc-home{display:flex;flex-direction:column}.rc-heading{order:0}.rc-day{order:1;margin:0 0 18px}.rc-dashboard{order:2}.rc-feedback{order:3}@media(min-width:1100px){.rc-day{order:3;margin:22px 0 0}.rc-feedback{order:4}}
.rc-home>*{min-width:0}.rc-day>*{min-width:0}.rc-day>div>span{min-width:0}.rc-day>button{width:100%;white-space:normal}.rc-heading h1{overflow-wrap:break-word}.rc-sidebar{overflow-y:auto}
.rc-top .notification-wrap{position:relative}.rc-top .notification-panel{right:0;left:auto;width:min(360px,calc(100vw - 24px));color:var(--text-primary)}.rc-top .notification-bell{background:none;border:0;color:#c7cdd3;font-size:23px}@media(max-width:699px){.rc-top{gap:6px;padding:10px}.rc-top .notification-panel{position:fixed;right:12px}.rc-top .rc-refresh{display:none}}

/* Keep mobile navigation clear of the status bar, camera cutout and home indicator. */
@media(max-width:1099px){
 .revenue-mode{--rc-safe-top:env(safe-area-inset-top,0px);--rc-safe-bottom:env(safe-area-inset-bottom,0px);--rc-safe-left:env(safe-area-inset-left,0px);--rc-safe-right:env(safe-area-inset-right,0px)}
 .rc-top{height:calc(70px + var(--rc-safe-top));padding-top:calc(10px + var(--rc-safe-top));padding-left:max(10px,var(--rc-safe-left));padding-right:max(10px,var(--rc-safe-right))}
 .revenue-mode #appShell{padding-top:calc(78px + var(--rc-safe-top))!important}
 .rc-sidebar{padding-top:calc(24px + var(--rc-safe-top));padding-bottom:calc(24px + var(--rc-safe-bottom));padding-left:max(20px,var(--rc-safe-left))}
 .revenue-mode .topbar{scroll-margin-top:calc(82px + var(--rc-safe-top))}
 .rc-home{padding-bottom:calc(32px + var(--rc-safe-bottom))}
}
.revenue-mode{--accent-blue:#09b7ce;--bg-card:#121826;--bg-card-hover:#1a2233}.revenue-mode #miCrmScreen .mini-stat,.revenue-mode #miCrmScreen .card,.revenue-mode .settings-card{background:#121826}.revenue-mode #miCrmScreen .mini-stat i,.revenue-mode #miCrmScreen .chart-card i{color:#09b7ce!important}.revenue-mode .settings-topic>summary i{color:#09b7ce!important}.revenue-mode .view-toggle-btn.active{color:#ffffff}.revenue-mode .planner-progress>span{background:#263244}
.revenue-mode #miCrmScreen .mini-chart-card i{color:#09b7ce!important}
.client-module{max-width:1400px;padding:24px 20px;margin:auto}.client-module>h1{font:400 40px Georgia,serif;margin:0 0 24px}.client-module>.modal-btn{margin-bottom:20px}.revenue-mode #subtabResumen,.revenue-mode #subtabCalendar{display:none!important}.revenue-mode #subtabLeads,.revenue-mode #subtabCerrados{min-height:44px;display:inline-flex;gap:8px;align-items:center;padding:10px 16px;width:auto}
.home-client-overview{order:4;min-width:0;margin-top:24px}.home-client-overview>h2{font:400 30px Georgia,serif;margin:0 0 18px}.home-client-overview .mini-stats-row,.home-client-overview .money-stats-row{margin-bottom:16px}.home-client-overview .mini-chart-grid{margin-bottom:0}
/* Shared workspace palette; lead-status colors remain owned by their configuration. */
.revenue-mode{--bg-base:#0b0f19;--bg-card:#121826;--bg-card-hover:#1a2233;--border-color:#263044;--text-primary:#f3eee5;--text-secondary:#b3bfC3;--accent-blue:#09b7ce;background:#0b0f19}
.revenue-mode .rc-sidebar{background:#0b0f19}.revenue-mode .rc-top{background:#0b0f19f5;border-color:#263044}
.revenue-mode .rc-tile,.revenue-mode .rc-next{background:linear-gradient(120deg,#263044,#121826);border-color:#263044}.revenue-mode .rc-day,.revenue-mode .team-page .agent-mini-card{background:#121826;border-color:#263044}
.revenue-mode #miCrmScreen .card,.revenue-mode .settings-card,.revenue-mode .home-client-overview .mini-stat,.revenue-mode .home-client-overview .mini-chart-card,.revenue-mode .home-client-overview .money-stat-card{background:#121826}
.revenue-mode .subtab-btn.active,.revenue-mode .modal-btn.primary{background:#263244;border-color:#09b7ce;color:#ffffff}
.revenue-mode .calendar-day{background:#0b0f19}.revenue-mode .calendar-day.con-tour{background:#09b7ce29}.revenue-mode .calendar-day.hoy{border-color:#09b7ce}
.revenue-mode .planner-plan-progress>span{background:#263244}
.revenue-mode .home-client-overview .mini-stat:first-child i,.revenue-mode .home-client-overview .mini-stat:nth-child(2) i,.revenue-mode .home-client-overview .mini-chart-card h4 i{color:#09b7ce!important}
.revenue-mode .rc-tile:focus-visible,.revenue-mode .calendar-nav-btn:focus-visible{outline:2px solid #09b7ce;outline-offset:3px}
/* Compact mobile menu spacing while preserving touch targets and safe areas. */
@media(max-width:699px){
 .rc-sidebar{padding-top:calc(16px + var(--rc-safe-top));padding-bottom:calc(12px + var(--rc-safe-bottom));padding-right:16px;padding-left:max(16px,var(--rc-safe-left))}
 .rc-sidebar .rc-brand{font-size:25px}
 .rc-sidebar .rc-company{font-size:12px;line-height:1.3;margin:6px 0 14px}
 .rc-sidebar nav{gap:0}
 .rc-sidebar nav button{min-height:44px;padding:8px 10px;gap:12px;font-size:13px}
 .rc-sidebar nav svg{width:20px;height:20px}
 .rc-sidebar .rc-side-bottom{margin-top:12px;padding-top:8px}
 .rc-sidebar .rc-side-bottom>button{min-height:44px;padding:8px 10px;gap:10px}
 .rc-sidebar .rc-avatar{width:32px;height:32px;flex-basis:32px}
 .rc-sidebar .rc-user small{font-size:10px}
}
/* Mobile Home is a greeting and the permitted module shortcuts only. */
@media(max-width:699px){
 #revenueHome .rc-heading p,
 #revenueHome .rc-next,
 #revenueHome .rc-day,
 #revenueHome .home-client-overview,
 #revenueHome .rc-feedback{display:none!important}
 #revenueHome .rc-heading{order:0}
 #revenueHome .rc-heading h1{font-size:32px;margin:0 0 20px}
 #revenueHome .rc-dashboard{order:1;display:block}
 #revenueHome .rc-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
/* Home activity uses the same surfaces and scale as the module cards. */
#revenueHome .home-client-overview{padding:22px;border:1px solid #263044;border-radius:14px;background:#0b0f19;margin-top:24px}
#revenueHome .home-client-overview>h2{font-size:28px;margin-bottom:18px}
#revenueHome #resumenSubview{display:grid;gap:16px}
#revenueHome .mini-stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;overflow:visible;margin:0;padding:0}
#revenueHome .money-stats-row{gap:12px;margin:0}
#revenueHome .mini-stat,#revenueHome .money-stat-card,#revenueHome .mini-chart-card{background:linear-gradient(120deg,#263044,#121826);border:1px solid #435056;border-radius:12px;box-shadow:none}
#revenueHome .mini-stat,#revenueHome .money-stat-card{min-height:110px;padding:16px;display:flex;flex-direction:column;justify-content:center;text-align:left}
#revenueHome .mini-stat i{font-size:17px;margin-bottom:9px}
#revenueHome .mini-stat:first-child i,#revenueHome .mini-stat:nth-child(2) i,#revenueHome .mini-stat:nth-child(4) i{color:#09b7ce!important}
#revenueHome .mini-stat .mini-val,#revenueHome .money-stat-value{font:500 26px Arial,sans-serif;color:#09b7ce}
#revenueHome .money-stat-value{color:#09b7ce!important;overflow-wrap:anywhere}
#revenueHome .mini-label,#revenueHome .money-stat-title{font-size:10px;line-height:1.5;letter-spacing:.03em;color:#bac4c7;white-space:normal}
#revenueHome .mini-chart-grid{gap:16px;margin:0;min-width:0}
#revenueHome .mini-chart-card{padding:18px}
#revenueHome .mini-chart-card h4{margin:0 0 18px;font-size:13px;color:#d4dcdd}
#revenueHome .mini-chart-box{height:210px}
@media(min-width:1200px){
 #revenueHome #resumenSubview{grid-template-columns:minmax(0,4fr) minmax(0,3fr)}
 #revenueHome .mini-chart-grid{grid-column:1/-1}
 #revenueHome .mini-stat,#revenueHome .money-stat-card{padding:14px;min-height:118px}
}
/* Compact navigation consistently on desktop and mobile. */
#revenueShell .rc-sidebar nav{gap:2px;align-content:start}#revenueShell .rc-sidebar nav button{min-height:44px;height:auto;padding:8px 10px;gap:12px;font-size:13px;line-height:20px;margin:0}#revenueShell .rc-sidebar nav button svg{width:21px;height:21px}#revenueShell .rc-sidebar .rc-company{margin:8px 0 18px;line-height:1.4}#revenueShell .rc-sidebar .rc-side-bottom{padding-top:12px}
