.rb-support-dialog{box-sizing:border-box;display:flex;flex-direction:column;width:min(540px,calc(100vw - 28px));height:min(740px,90dvh);max-height:90dvh;padding:0;border-radius:22px;background:#0e1c2f;color:#eff4fb;border:1px solid #415873;overflow:hidden}.rb-support-dialog:not([open]){display:none}.rb-support-dialog::backdrop{background:#020914bf}.rb-support-head{flex:none;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:20px;background:#152b43;border-bottom:1px solid #42576d}.rb-support-head strong{font-size:20px;display:block}.rb-support-head small{display:block;color:#dfc574;font-size:12px;margin-top:5px}.rb-support-close{background:#0a192a;color:#fff;border:1px solid #6c8098;border-radius:10px;min-height:44px;padding:8px 12px;cursor:pointer}.rb-support-log{flex:1;min-height:80px;overflow:auto;padding:20px;overscroll-behavior:contain}.rb-support-msg{background:#1c3049;padding:14px 16px;border-radius:16px;margin:0 22px 14px 0;overflow-wrap:anywhere}.rb-support-msg.user{margin:0 0 14px 30px;background:#28433f}.rb-support-msg small{color:#e5cb7e;font-size:11px}.rb-support-msg p{font-size:14px;line-height:1.65;margin:7px 0 0;white-space:pre-wrap}.rb-support-choices,.rb-support-resources{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px;flex:none;max-height:120px;overflow:auto}.rb-support-choice{border:1px solid #536984;background:#172b43;color:#e7eef7;padding:10px 12px;min-height:44px;max-width:100%;border-radius:12px;font:inherit;font-size:12px;cursor:pointer}.rb-support-status{padding:0 18px;margin:8px 0;font-size:12px;color:#f0ca7b;flex:none}.rb-support-compose{display:flex;align-items:end;gap:10px;padding:12px 16px;border-top:1px solid #31465d;flex:none}.rb-support-compose textarea{resize:none;flex:1;min-width:0;max-height:120px;font:inherit;font-size:16px;line-height:1.5;padding:10px;border-radius:12px;border:1px solid #526883}.rb-support-compose .btn{min-height:48px;padding:10px 16px;cursor:pointer}.rb-support-foot{padding:0 16px 12px;display:flex;justify-content:space-between;gap:10px;flex:none}.rb-support-foot button{min-height:44px;cursor:pointer;font-size:11px}.rb-support-resources .btn{min-height:44px;white-space:normal;font-size:12px;padding:10px 14px;line-height:1.4}.rb-support-note{font-size:12px;color:#b0c1d5;line-height:1.6}.rb-support-admin{padding:24px;margin-bottom:24px;max-width:1000px}.rb-support-admin label{display:grid;gap:8px;margin:18px 0}.rb-support-admin input,.rb-support-admin textarea{font:inherit;font-size:16px;padding:12px;width:100%;border-radius:10px;border:1px solid #415873;box-sizing:border-box}.rb-support-admin input[type=checkbox]{width:24px;height:24px}.rb-support-admin .btn{margin:8px 8px 8px 0;min-height:48px}.rb-support-admin details{padding:18px;border-top:1px solid #415873;overflow-wrap:anywhere}.rb-support-admin summary{cursor:pointer}.rb-support-admin details p{white-space:pre-wrap;line-height:1.6}.hub-help{margin:32px 0 20px;padding:24px;border:1px solid #2e435b;border-radius:18px;background:#0c192a}.hub-help-title{font-size:21px;margin:0 0 6px}.hub-help-intro{font-size:13px;color:#a9bbcf;margin:0 0 20px}.hub-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hub-help-card{display:flex;align-items:flex-start;gap:14px;text-align:left;padding:18px;border:1px solid #354c66;background:#14263c;border-radius:14px;color:#eef3fa;cursor:pointer;font:inherit;min-width:0}.hub-help-card>span{font-size:24px;line-height:1.2;color:#e3c45e}.hub-help-card strong{font-size:14px;display:block}.hub-help-card small{display:block;font-size:11px;line-height:1.6;color:#a8bdd4;margin-top:5px}.hub-help-purchase{margin-top:18px;padding-top:14px;border-top:1px solid #2d4057;display:flex;align-items:center;justify-content:space-between;gap:12px}.hub-help-purchase p{font-size:12px;color:#acbed2;margin:0}.hub-help-purchase button{font-size:12px;min-height:44px;padding:10px 14px;white-space:normal;cursor:pointer}.hub-help-chat{border-color:#a98e4d;background:linear-gradient(120deg,#263143,#1b2c3d)}
.hub-nav-icon{display:none}
@media(max-width:760px){.hub-sidebar{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:auto;gap:3px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));min-height:64px}.hub-sidebar.has-vip{grid-template-columns:repeat(5,minmax(0,1fr))}.hub-sidebar .hub-nav{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:54px;padding:6px 2px;font-size:10px;line-height:1.2;border-radius:10px}.hub-sidebar .hub-nav-icon{display:block;font-size:19px;line-height:1}.hub-sidebar .hub-nav-label{display:block;white-space:nowrap}.hub-sidebar>.eyebrow,.hub-sidebar .hub-nav:nth-last-child(-n+2){display:none}.hub-content{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.hub-help{padding:18px;margin-top:26px}.hub-help-grid{grid-template-columns:1fr}.hub-help-card{padding:16px;min-height:78px;align-items:center}.hub-help-card strong{font-size:15px}.hub-help-card small{font-size:12px}.hub-help-purchase{align-items:flex-start;flex-direction:column;gap:5px}.hub-help-purchase button{padding-left:0}.hub-footer{padding-top:10px;margin-top:18px;font-size:10px}.rb-support-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.rb-support-head{padding-top:calc(16px + env(safe-area-inset-top))}.rb-support-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.rb-support-log{padding:16px}.rb-support-admin{padding:16px}}
@media(prefers-reduced-motion:reduce){.hub-help-card{transition:none}}

@media(max-width:760px){.hub-content{padding-bottom:calc(28px + env(safe-area-inset-bottom))}}

/* Conversa limpa e balão personalizado. */
.hub-help-collapsible{padding:0;overflow:hidden}.hub-help-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:18px 22px;cursor:pointer;font-size:16px;font-weight:700;list-style:none}.hub-help-summary::-webkit-details-marker{display:none}.hub-help-chevron{color:#e3c45e;font-size:22px;transition:transform .25s}.hub-help-collapsible[open] .hub-help-chevron{transform:rotate(180deg)}.hub-help-content{padding:0 22px 22px}.hub-help-collapsible .hub-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-support-bubble{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));right:20px;z-index:30;display:flex;align-items:center;gap:10px;min-height:64px;padding:7px 18px 7px 8px;border:1px solid #dfbf64;border-radius:36px 36px 9px 36px;background:linear-gradient(130deg,#22384e,#0c1d30);box-shadow:0 6px 28px #0008,0 0 0 4px #e3c45e12;color:#f4dc8e;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.hub-support-bubble img{border-radius:50%;width:48px;height:48px;object-fit:contain}.hub-support-bubble:hover{border-color:#fff1b9;background:#243e56}.hub-support-bubble:focus-visible{outline:3px solid #fff0b4;outline-offset:4px}.rb-support-identity{display:flex;gap:12px;align-items:center}.rb-support-identity img{border-radius:50%;flex:none}.rb-support-dialog .rb-support-msg .btn{display:flex;width:fit-content;margin-top:12px;padding:10px 14px;min-height:44px;border-radius:10px;font-size:13px;white-space:normal;line-height:1.5;cursor:pointer}.rb-support-close{font-size:25px;line-height:1;min-width:44px}.hub-content{padding-bottom:100px}
@media(min-width:761px){.rb-support-dialog{margin:auto 20px 20px auto;width:440px;height:min(680px,88dvh)}}
@media(max-width:760px){.hub-help-summary{padding:16px 18px;font-size:16px}.hub-help-content{padding:0 18px 18px}.hub-help-collapsible .hub-help-grid{grid-template-columns:1fr}.hub-support-bubble{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));min-height:60px;padding:6px 14px 6px 6px;gap:8px;font-size:12px}.hub-support-bubble img{width:44px;height:44px}.hub-content{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.rb-support-dialog{margin:0;width:100vw;height:100dvh;max-height:100dvh}}
@media(prefers-reduced-motion:reduce){.hub-help-chevron{transition:none}}

@media(max-width:760px){.rb-support-compose{padding-bottom:calc(12px + env(safe-area-inset-bottom))}}

.rb-support-msg.user{display:block;gap:0}.rb-support-msg small{display:block;white-space:nowrap;overflow-wrap:normal}.rb-support-msg p{display:block;min-width:0}.rb-support-compose textarea{min-height:48px;height:64px;max-height:120px;margin:0}.rb-support-compose{align-items:center}.rb-support-log{scroll-padding:16px}

@media(max-width:760px){.rb-support-dialog{max-width:100vw;max-height:100dvh;inset:0}.rb-support-head{padding:calc(16px + env(safe-area-inset-top)) 16px 16px}.rb-support-msg{margin-right:12px}.rb-support-msg.user{margin-left:18px}.rb-support-msg p{font-size:15px;line-height:1.65}}

/* Visual financeiro e sócios */

.finance-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:14px!important}
.finance-stats .stat{min-width:0!important;padding:20px!important;border-radius:16px!important}
.finance-stats .stat strong{font-size:clamp(21px,1.7vw,29px)!important;white-space:nowrap}
.partner-panel{overflow:hidden;border-radius:18px!important}
.partner-content{padding:22px}
.partner-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px 24px;background:linear-gradient(120deg,#1d3047,#122137);border:1px solid #344c65;border-radius:14px;margin-bottom:20px}
.partner-summary small{display:block;color:#afc1d6;margin-bottom:7px}
.partner-summary strong{font-size:30px;letter-spacing:-1px;color:#f4c7ad}
.partner-summary .partner-status{padding:8px 12px;border-radius:24px;background:#543b2c;color:#ffd9bd;font-size:12px;font-weight:600}
.partner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.partner-card{padding:22px;background:#102136;border:1px solid #2c445f;border-radius:15px}
.partner-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.partner-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#263f5a;color:#e3c45e;font-weight:700;font-size:18px}
.partner-heading strong{display:block;font-size:17px}
.partner-heading small{display:block;color:#9cb2cc;font-size:12px;margin-top:3px}
.partner-card .partner-label{color:#a8bad0;font-size:12px}
.partner-card .partner-value{font-size:30px;font-weight:700;letter-spacing:-1px;margin:7px 0 15px}
.partner-track{height:5px;border-radius:10px;background:#263c54;overflow:hidden}
.partner-track span{display:block;height:100%;width:50%;background:#e3c45e;border-radius:10px}
.partner-card footer{margin-top:14px;color:#93abc6;font-size:12px}
.partner-profit{margin-top:22px;padding-top:20px;border-top:1px solid #2b4058}
.partner-profit h3{margin:0 0 5px;font-size:16px}
.partner-profit>p{margin:0 0 16px;color:#9eb2ca;font-size:13px}
.partner-profit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.partner-profit-card{background:#0b192b;border:1px solid #253c55;border-radius:12px;padding:17px}
.partner-profit-card small{display:block;color:#a1b6ce}
.partner-profit-card strong{display:block;margin-top:10px;font-size:23px;color:#65d8b2}
.partner-note{margin:18px 0 0;color:#9bb0c8;font-size:12px;line-height:1.6}
@media(max-width:650px){.partner-content{padding:15px}.partner-grid,.partner-profit-grid{grid-template-columns:1fr}.partner-summary{padding:18px}.partner-card .partner-value{font-size:27px}}


/* Organização dos painéis financeiros */
.finance-side-panels{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:20px;
 align-items:start;
}
.finance-side-panels>section{min-width:0;margin-top:0}
.finance-side-panels>section{overflow-x:auto}
@media(max-width:900px){
 .finance-side-panels{grid-template-columns:minmax(0,1fr)}
}

/* Meta mensal do Dashboard */
.monthly-goal-panel{grid-column:1/-1;min-width:0}
.monthly-goal-panel>form,.monthly-goal-panel>.stats,
.monthly-goal-panel>p{margin:18px 22px}
.monthly-goal-panel>progress{
 display:block;width:calc(100% - 44px);height:14px;
 margin:20px 22px;accent-color:#e3c45e;
}
.monthly-goal-panel .stats{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important}

/* Personalização do menu administrativo */
.custom-menu-group{margin:5px 0;border:1px solid #25394f;border-radius:10px;overflow:hidden}
.custom-menu-group>summary{padding:13px 15px;color:#cbd8e8;cursor:pointer;font-weight:600;font-size:13px}
.custom-menu-group[open]>summary{color:#e3c45e;background:#15263b}
.custom-menu-children{padding:3px 7px 8px 14px}
.custom-menu-children>.nav{font-size:13px}
.custom-menu-edit{margin-top:16px!important;border:1px dashed #476078!important;color:#e3c45e!important}
.menu-editor-dialog{width:min(960px,95vw);max-width:95vw}
.menu-editor-list{margin-top:18px}
.menu-editor-item{margin:8px 0;border:1px solid #304760;border-radius:11px;background:#102136;overflow:hidden}
.menu-editor-row{display:flex;gap:12px;align-items:center;padding:12px;flex-wrap:wrap}
.menu-editor-row>strong{flex:1;min-width:120px}
.menu-editor-row .actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.menu-editor-row select{max-width:190px;padding:8px;background:#0c192b;color:#edf3fb;border:1px solid #3a5069;border-radius:7px}
.menu-drag-handle{cursor:grab;padding:8px;color:#e3c45e;font-size:22px;user-select:none}
.menu-editor-children{padding:4px 12px 12px 28px}
.menu-drop-zone{padding:14px;border:1px dashed #425b76;border-radius:8px;color:#9db2ca;font-size:12px;margin-top:8px}
.menu-drop-active{background:#28415a!important;outline:2px solid #e3c45e}
.menu-visible{display:flex!important;align-items:center;gap:6px;font-size:12px}
.menu-visible input{width:auto!important}
@media(max-width:650px){.menu-editor-row>.actions{width:100%}.menu-editor-children{padding-left:12px}}
