/* Portal WR v13.15 — acabamento do tema escuro e dashboard mobile.
   A página institucional não participa destas regras. */
.wr15-mobilebar,.wr15-mobile-home,.wr15-nav-scrim,.wr15-mobile-menu-actions{display:none}
.wr15-desktop-home{display:block}
.wr15-mobilebar button,.wr15-quick-link,.wr15-nav-scrim{font-family:inherit}

/* Paleta escura revisada: evitar superfícies brancas, divisórias brilhantes
   e tipografia azul escura nos cards do CRM, Academy e aniversariantes. */
html[data-wr-theme="dark"] .layout{
 --wr15-base:#081425;--wr15-panel:#0e1f37;--wr15-raised:#122a4a;
 --wr15-edge:#294563;--wr15-title:#edf5ff;--wr15-copy:#adbfda;
 --wr15-accent:#57b6ff;--wr15-link:#8bcfff;
 background:var(--wr15-base);color:var(--wr15-title);
}
html[data-wr-theme="dark"] .layout .main-column{background:var(--wr15-base)}
html[data-wr-theme="dark"] .layout .topbar{background:#0b1c32;border-color:#213c59}
html[data-wr-theme="dark"] .layout :is(.wr4-kanban-col,.wr4-lesson,.wr4-contact,.wr-birthday-entry,.wr135-birth-entry,.wr4-preview,.wr4-secret,.wr4-checkboxgrid label,.wr4-reel-row,.wr4-person-toolbar,.wr4-selectall){
 background:var(--wr15-panel)!important;border-color:var(--wr15-edge)!important;color:var(--wr15-title)!important;box-shadow:none!important;
}
html[data-wr-theme="dark"] .layout .wr4-kanban-col{background:#10243e!important;border:1px solid #284461!important;min-height:260px}
html[data-wr-theme="dark"] .layout .wr4-contact{background:#183452!important;border:1px solid #345575!important;transition:border-color .2s,background .2s}
html[data-wr-theme="dark"] .layout .wr4-contact:hover{border-color:#4481b5!important;background:#1d3c60!important}
html[data-wr-theme="dark"] .layout :is(.wr4-kanban-title,.wr4-kanban-title b,.wr4-contact h3,.wr4-lesson h3,.wr4-reel-row strong,.wr4-lesson small,.wr135-birth-entry strong,.wr-birthday-entry strong,.wr4-secret code){color:var(--wr15-title)!important}
html[data-wr-theme="dark"] .layout :is(.wr4-contact p,.wr4-empty-small,.wr4-lesson p,.wr4-soon,.wr4-lesson-index,.wr-birthday-entry small,.wr135-birth-entry small,.wr4-reel-row small){color:var(--wr15-copy)!important}
html[data-wr-theme="dark"] .layout .wr4-kanban-title{border-bottom:1px solid #254262;padding-bottom:14px;margin-bottom:12px}
html[data-wr-theme="dark"] .layout .wr4-kanban-title span{background:#21466d!important;color:#d9edff!important}
html[data-wr-theme="dark"] .layout .wr4-mini-dot{background:#4db6ff}
html[data-wr-theme="dark"] .layout :is(.wr4-contact button,.wr4-rowbtn,.wr4-lesson button,.wr4-reel-row a,.wr4-reel-row button){color:var(--wr15-link)!important}
html[data-wr-theme="dark"] .layout .wr4-contact select{background:#0d223d!important;color:#e9f3ff!important;border-color:#365878!important}
html[data-wr-theme="dark"] .layout .wr4-lesson{background:#112844!important;min-height:143px;align-items:flex-start}
html[data-wr-theme="dark"] .layout .wr4-lesson-icon{background:#1b4269;color:#8bd0ff}
html[data-wr-theme="dark"] .layout .wr4-lesson-index{color:#a3b9d5!important}
html[data-wr-theme="dark"] .layout .wr4-course-head{background:linear-gradient(115deg,#0b2952,#19518b);border:1px solid #2b578a}
html[data-wr-theme="dark"] .layout .wr4-course-head :is(h2,strong){color:#f1f7ff!important}
html[data-wr-theme="dark"] .layout .wr4-course-head p{color:#c2daf6!important}
html[data-wr-theme="dark"] .layout :is(.wr4-tablescroll,.wr4-people-list,.wr4-web-list,.wr4-kanban,.wr4-history,.wr4-person-list){scrollbar-color:#365e84 #10243d!important}
html[data-wr-theme="dark"] .layout :is(.wr4-tablescroll,.wr4-people-list,.wr4-web-list,.wr4-kanban,.wr4-history,.wr4-person-list)::-webkit-scrollbar-track{background:#10243d!important}
html[data-wr-theme="dark"] .layout :is(.wr4-tablescroll,.wr4-people-list,.wr4-web-list,.wr4-kanban,.wr4-history,.wr4-person-list)::-webkit-scrollbar-thumb{background:#365e84!important;border-color:#10243d!important}
html[data-wr-theme="dark"] .layout :is(.wr4-heading,.wr4-course-head,.wr4-lesson,.wr4-card,.wr4-person,.wr4-metrics>div,.wr4-contact,.wr4-kanban-col,.panel,.panel-head,.wr-birthday-month,.wr-birthday-entry,.wr135-birth-directory,.wr135-birth-grid,.wr135-birth-entry,.profile-tools,.bday-empty,.wr4-tablescroll,.wr4-table tr,.wr4-table td,.wr4-table th){border-color:#294563!important}
html[data-wr-theme="dark"] .layout :is(.wr-birthday-day,.wr135-birth-entry span){color:#87caff!important}
html[data-wr-theme="dark"] .layout :is(.wr4-heading p,.wr4-lesson p,.wr4-contact p){line-height:1.65}
html[data-wr-theme="dark"] .layout :is(.bday-empty h2,.wr135-birth-directory summary,.wr4-contact h3){color:#e9f3ff!important}
html[data-wr-theme="dark"] .layout :is(.bday-empty p,.small-notice,.person-photo>span){color:#b5c7df!important}
html[data-wr-theme="dark"] .layout .wr4-lesson :is(.wr4-soon,.wr4-edit){background:#173656;border-color:#305374;color:#a8d8ff!important}
html[data-wr-theme="dark"] .layout :is(.wr4-metrics>div,.wr4-card,.panel){background:#11243d!important}
html[data-wr-theme="dark"] .layout .wr4-metrics strong{color:#edf5ff!important}
html[data-wr-theme="dark"] .layout :is(.wr4-preview,.wr4-secret,.wr4-report-alert,.calc-insurance-note){background:#183451!important;border-color:#375a79!important;color:#d6e9fa!important}
html[data-wr-theme="dark"] .layout :is(.wr4-table th,.wr4-table td){border-color:#294663!important}
html[data-wr-theme="dark"] .layout .wr4-table tr:hover{background:#183553!important}

/* Layout mobile: abre na tela inicial, sem menu lateral ocupando a tela. */
@media(max-width:820px){
 .layout{display:block!important;min-width:0;overflow-x:clip}
 .layout>.main-column{margin-left:0!important;width:100%!important;max-width:100%!important;min-width:0!important}
 .layout .main-column>.topbar{display:none!important}
 .wr15-mobilebar{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;min-height:86px;padding:13px 18px;background:#fff;border-bottom:1px solid #dce6f1}
 .wr15-mobilebar .wr15-menu-open{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid #d5e2f0;color:#174e86;background:#eff6fd;font-size:19px;cursor:pointer}
 .wr15-mobilebrand{display:grid;justify-items:center;align-items:center;gap:1px;min-width:0}
 .wr15-mobilebrand img{height:35px;width:auto;max-width:115px;object-fit:contain}
 .wr15-mobilebrand span{font-size:9px;font-weight:850;letter-spacing:2px;color:#326da0;white-space:nowrap}
 .wr15-mobilebar>.wr14-theme-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;justify-self:end;border-radius:12px;min-width:0}
 .wr15-mobilebar>.wr14-theme-toggle [data-wr-theme-label]{display:none}
 .wr15-nav-scrim{display:block;position:fixed;inset:0;z-index:1099;pointer-events:none;visibility:hidden;opacity:0;background:rgba(2,12,29,.7);border:0;transition:opacity .22s,visibility .22s}
 .layout.wr15-menu-open>.wr15-nav-scrim{visibility:visible;opacity:1;pointer-events:auto}
 .layout>.sidebar{display:flex!important;position:fixed!important;inset:0 auto 0 0!important;top:0!important;left:0!important;bottom:0!important;right:auto!important;transform:translateX(-110%);visibility:hidden;pointer-events:none;transition:transform .25s ease,visibility .25s;z-index:1100!important;width:min(308px,86vw)!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;padding:18px 13px 12px!important;margin:0!important;overflow:hidden!important;flex-direction:column!important;box-shadow:16px 0 48px #030e2055}
 .layout.wr15-menu-open>.sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}
 .layout>.sidebar .side-brand{flex:0 0 auto;padding:8px 8px 16px}
 .layout>.sidebar .side-label{display:none}
 .layout>.sidebar>nav{display:flex!important;flex-direction:column!important;gap:6px!important;flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;max-height:none!important;min-height:0!important;padding:4px 4px 12px!important}
 .layout>.sidebar>nav .nav-item{flex:0 0 auto!important;min-height:43px!important;width:100%!important;text-align:left}
 .layout>.sidebar>.side-bottom{flex:0 0 auto!important;position:relative!important;top:auto!important;right:auto!important;margin:0 -13px!important;padding:12px 17px!important;box-shadow:none!important}
 .layout>.sidebar .side-bottom .me-avatar{display:grid!important}
 .layout>.sidebar .side-bottom .me-text{display:block!important}
 .layout>.sidebar .side-bottom .logout{display:none!important}
 .wr15-mobile-menu-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px;padding:10px 4px 3px;flex:0 0 auto}
 .wr15-mobile-menu-actions button{height:44px;border-radius:10px;font-size:12px;font-weight:800;border:1px solid #345b83;background:#153459;color:#e7f4ff;cursor:pointer}
 .wr15-mobile-menu-actions .wr15-menu-logout{background:#0f2949;border-color:#4b739b}
 .wr15-mobile-home{display:block;max-width:580px;margin:0 auto}
 .wr15-desktop-home{display:none}
 .layout .main-column .main{padding:22px 16px 48px!important;width:100%;max-width:100%;min-width:0}
 .wr15-welcome{margin:2px 0 23px}
 .wr15-overline{font-size:9px;letter-spacing:1.5px;font-weight:900;color:#367eb8}
 .wr15-welcome h1{font-size:clamp(29px,7.6vw,40px);font-weight:850;letter-spacing:-1.1px;margin:12px 0 6px;line-height:1.15;color:#15345a}
 .wr15-welcome h1 span{color:#4f9dd7;font-size:.7em}
 .wr15-welcome p{color:#627c99;font-size:13px;line-height:1.65;margin:0}
 .wr15-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#0d2a57 0%,#0e539a 100%);border:1px solid #276aaf;border-radius:17px;color:white;padding:26px 22px 29px;min-height:186px;box-shadow:0 9px 30px #06234e16}
 .wr15-hero::after{content:"";position:absolute;z-index:-1;right:-46px;bottom:-62px;width:180px;height:180px;border-radius:50%;border:25px solid #65baff3e;transform:rotate(15deg)}
 .wr15-hero>span{font-size:9px;letter-spacing:2px;color:#a4d6ff;font-weight:900}
 .wr15-hero h2{font-size:clamp(22px,5.5vw,30px);line-height:1.15;letter-spacing:-.8px;margin:13px 0 11px;max-width:290px;color:#fff}
 .wr15-hero p{color:#d2e7ff;font-size:12px;line-height:1.7;margin:0;max-width:320px}
 .wr15-quick-title{margin:26px 0 16px}
 .wr15-quick-title h2{font-size:25px;letter-spacing:-.6px;color:#17395d;margin:0 0 5px}
 .wr15-quick-title p{font-size:12px;color:#69839d;margin:0}
 .wr15-quick-list{display:flex;flex-direction:column;gap:11px}
 .wr15-quick-link{display:grid;grid-template-columns:52px minmax(0,1fr) 18px;gap:14px;align-items:center;width:100%;min-height:88px;padding:14px 16px;border:1px solid #cbdced;background:#fff;border-radius:15px;text-align:left;color:#193d62;box-shadow:0 4px 18px #0c31540c;cursor:pointer;transition:border-color .2s,transform .2s,background .2s}
 .wr15-quick-link:hover{transform:translateY(-1px);border-color:#4d96d5}
 .wr15-quick-link:focus-visible,.wr15-menu-open:focus-visible,.wr15-mobile-menu-actions button:focus-visible{outline:3px solid #52bbff;outline-offset:2px}
 .wr15-quick-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:#e4f1ff;color:#2b7dba}
 .wr15-quick-icon svg{width:25px;height:25px}
 .wr15-quick-copy{min-width:0;display:grid;gap:3px}
 .wr15-quick-copy strong{font-weight:850;color:inherit;font-size:15px}
 .wr15-quick-copy small{color:#607d9b;font-size:11px;line-height:1.35}
 .wr15-chevron{justify-self:end;font-size:29px;line-height:1;color:#6d91b5}
 html[data-wr-theme="dark"] .layout .wr15-mobilebar{background:#07172b;border-color:#24435f}
 html[data-wr-theme="dark"] .layout .wr15-mobilebar .wr15-menu-open{background:#14304e;border-color:#345978;color:#dfedff}
 html[data-wr-theme="dark"] .layout .wr15-mobilebrand span{color:#92caff}
 html[data-wr-theme="dark"] .layout .wr15-overline{color:#89caff}
 html[data-wr-theme="dark"] .layout .wr15-welcome h1{color:#f2f7ff}
 html[data-wr-theme="dark"] .layout .wr15-welcome p{color:#b0c4dc}
 html[data-wr-theme="dark"] .layout .wr15-welcome h1 span{color:#8dd5ff}
 html[data-wr-theme="dark"] .layout .wr15-quick-title h2{color:#eff7ff}
 html[data-wr-theme="dark"] .layout .wr15-quick-title p{color:#a1b9d6}
 html[data-wr-theme="dark"] .layout .wr15-quick-link{background:#10243d;border-color:#315677;box-shadow:none;color:#f1f7ff}
 html[data-wr-theme="dark"] .layout .wr15-quick-link:hover{background:#183552;border-color:#4d9dd8}
 html[data-wr-theme="dark"] .layout .wr15-quick-copy strong{color:#f1f7ff}
 html[data-wr-theme="dark"] .layout .wr15-quick-copy small{color:#b1c7df}
 html[data-wr-theme="dark"] .layout .wr15-quick-icon{background:#193c5d;color:#65b9f6}
 html[data-wr-theme="dark"] .layout .wr15-chevron{color:#d7e8fa}
 .layout .footer{padding:12px 18px 25px;text-align:center}
}
@media(max-width:360px){.wr15-mobilebar{min-height:77px;padding:10px 12px}.wr15-quick-link{gap:10px;padding:12px;grid-template-columns:46px minmax(0,1fr) 16px}.wr15-quick-icon{width:46px;height:46px}.wr15-quick-copy small{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.wr15-quick-link,.layout>.sidebar,.wr15-nav-scrim{transition:none!important}}
