/* Hospeda Master - Area do Cliente Premium 0.16.1 */
:root{--hcp-bg:#f3f6fb;--hcp-card:#fff;--hcp-text:#132238;--hcp-muted:#64748b;--hcp-line:#e3e9f2;--hcp-brand:#0f766e;--hcp-brand2:#115e59;--hcp-dark:#0f1d32;--hcp-radius:16px;--hcp-shadow:0 8px 28px rgba(15,29,50,.07)}
html{background:var(--hcp-bg);overflow-x:hidden}body{background:var(--hcp-bg)!important;color:var(--hcp-text)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;overflow-x:hidden;margin:0}*{box-sizing:border-box}a{transition:.18s ease}button,input,select,textarea{font:inherit}button,.btn,[class$="btn"],[class*=" btn"]{border-radius:10px!important;min-height:38px!important;font-weight:800!important}input,select,textarea{border-radius:10px!important;border:1px solid #cfd9e7!important;background:#fff!important;color:var(--hcp-text)!important;outline:none}input:focus,select:focus,textarea:focus{border-color:#5aa9a1!important;box-shadow:0 0 0 3px rgba(15,118,110,.1)!important}
.shell,.rc-shell,.hm-shell,.page,.container,.wrap{max-width:none!important;width:100%!important;margin:0!important;padding-left:18px!important;padding-right:18px!important}.top,.page-head,.hero,header:not(.hmcp-topbar){margin-top:0}.top h1,.page-head h1,header h1{font-size:clamp(24px,2.5vw,34px)!important;letter-spacing:-.035em!important;color:var(--hcp-text)!important}.muted,.rc-muted,.sub,.hint,small{color:var(--hcp-muted)}
.nav{background:var(--hcp-dark)!important;border:0!important;border-radius:14px!important;padding:7px!important;gap:4px!important;box-shadow:var(--hcp-shadow)}.nav a{background:transparent!important;border:0!important;color:#cbd5e1!important;border-radius:9px!important;padding:9px 11px!important;font-size:13px!important}.nav a:hover,.nav a.active,.nav .active{background:rgba(255,255,255,.12)!important;color:#fff!important}
.card,.box,.panel,.filter,.filters,.log,.event,.rc-card,.summary>div,.hm-card{background:var(--hcp-card)!important;border:1px solid var(--hcp-line)!important;border-radius:var(--hcp-radius)!important;box-shadow:var(--hcp-shadow)!important}.card,.panel,.box,.rc-card{padding:16px!important}.summary{gap:10px!important}.summary>div{padding:14px!important}.summary strong{font-size:24px!important;color:var(--hcp-text)!important}
.actions{gap:7px!important}.btn.primary,.primary,button[type="submit"]{background:var(--hcp-brand)!important;border-color:var(--hcp-brand)!important;color:#fff!important}.btn.primary:hover,.primary:hover,button[type="submit"]:hover{background:var(--hcp-brand2)!important}.btn:not(.primary),a.btn:not(.primary){background:#fff!important;color:var(--hcp-text)!important;border:1px solid var(--hcp-line)!important}
table{width:100%;border-collapse:separate!important;border-spacing:0!important;background:#fff;border:1px solid var(--hcp-line);border-radius:14px;overflow:hidden}th{background:#f7f9fc!important;color:#536277!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.04em}th,td{padding:10px 12px!important;border-bottom:1px solid #edf1f6!important}tr:last-child td{border-bottom:0!important}
.hmcp-shell{max-width:none!important;padding:0!important}.hmcp-main{padding:16px 18px 70px!important}.hmcp-content{max-width:none!important}.hmcp-sidebar{width:224px!important}.hmcp-card{border-radius:16px!important;box-shadow:var(--hcp-shadow)!important}.hmcp-grid{gap:12px!important}
.swal2-popup{border-radius:18px!important}.swal2-confirm{background:var(--hcp-brand)!important}
@media(max-width:820px){.shell,.rc-shell,.hm-shell,.page,.container,.wrap{padding-left:10px!important;padding-right:10px!important}.nav{display:grid!important;grid-template-columns:1fr 1fr!important}.card,.panel,.box,.rc-card{padding:13px!important}.layout,.grid,.summary,.filters,.filter{grid-template-columns:1fr!important}.hmcp-main{padding:10px 10px 78px!important}table,thead,tbody,tr,th,td{display:block!important;width:100%!important}thead{display:none!important}tr{background:#fff;border:1px solid var(--hcp-line);border-radius:13px;margin-bottom:9px;padding:8px!important}td{border:0!important;padding:5px 7px!important}td:empty{display:none!important}}
/* 0.16.3 - shell unico: sidebar ocupa toda a altura e acompanha o conteudo */
body.hm-shell-active{margin:0!important;background:#f1f5f9!important;color:#0f172a!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;overflow-x:hidden}.hm-client-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr);align-items:stretch;background:linear-gradient(90deg,#0b1220 0,#111c31 238px,#f1f5f9 238px,#f1f5f9 100%)}.hm-client-side{background:linear-gradient(180deg,#0b1220,#111c31);color:#fff;padding:18px 13px;display:flex;flex-direction:column;position:relative;top:auto;height:auto;min-height:100vh;align-self:stretch;box-sizing:border-box;z-index:50}.hm-client-brand{display:flex;align-items:center;gap:10px;padding:4px 7px 18px}.hm-client-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#fff;color:#0b1220;font-weight:950;font-size:13px}.hm-client-brand strong{display:block;font-size:14px}.hm-client-brand span{display:block;font-size:10px;color:#94a3b8;margin-top:2px}.hm-client-company{padding:11px 10px;margin:0 3px 13px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);border-radius:13px}.hm-client-company small{display:block;color:#94a3b8;font-size:9px;font-weight:900;letter-spacing:.11em}.hm-client-company strong{display:block;font-size:12px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-client-nav{display:grid;gap:4px}.hm-client-nav a{display:flex;align-items:center;min-height:39px;padding:0 11px;border-radius:10px;color:#cbd5e1!important;text-decoration:none!important;font-size:12px;font-weight:750;background:transparent!important;border:0!important}.hm-client-nav a:hover,.hm-client-nav a.active{background:rgba(255,255,255,.1)!important;color:#fff!important}.hm-client-sidefoot{margin-top:auto;padding:12px 9px 4px;color:#64748b;font-size:10px}.hm-client-main{min-width:0}.hm-client-topbar{height:66px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:40}.hm-client-top-left{display:flex;align-items:center;gap:10px}.hm-client-topbar small{display:block;font-size:9px;font-weight:900;letter-spacing:.1em;color:#64748b}.hm-client-topbar h1{margin:3px 0 0;font-size:20px;color:#0f172a}.hm-client-user{width:34px;height:34px;border-radius:11px;background:#e2e8f0;display:grid;place-items:center;font-size:12px;font-weight:900}.hm-client-menu{display:none;border:0;background:transparent;font-size:20px}.hm-client-content{min-width:0;padding:16px 18px 34px}.hm-client-content>main,.hm-client-content>.shell,.hm-client-content>.hms{max-width:none!important;width:auto!important;margin:0!important;padding:0!important}.hm-client-content .nav{display:none!important}.hm-client-content .top{margin-bottom:14px}.hm-client-content .top h1{font-size:clamp(24px,3vw,32px)!important;line-height:1.08!important;margin:4px 0 3px!important}.hm-client-content .top p,.hm-client-content .top .muted{font-size:13px!important}.hm-client-overlay{display:none}
@media(max-width:900px){.hm-client-shell{grid-template-columns:1fr;background:#f1f5f9}.hm-client-side{position:fixed;top:0;bottom:0;left:-250px;width:238px;height:100vh;min-height:100vh;transition:left .2s}.hm-client-menu-open .hm-client-side{left:0}.hm-client-menu-open .hm-client-overlay{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:45}.hm-client-menu{display:block}.hm-client-topbar{height:58px;padding:0 12px}.hm-client-content{padding:12px 10px 78px}.hm-client-content table{display:block;width:100%;overflow-x:auto}.hm-client-content .cards,.hm-client-content .grid{grid-template-columns:1fr!important}}

/* 0.16.4 - padronizacao total da pasta /cliente */
body.hm-shell-active .hm-client-content>.top,body.hm-shell-active .hm-client-content>main>.top,body.hm-shell-active .hm-client-content>.hms>.top{display:none!important}
body.hm-shell-active .hm-client-content>.nav,body.hm-shell-active .hm-client-content>main>.nav,body.hm-shell-active .hm-client-content>.hms>.nav{display:none!important}
body.hm-shell-active .hm-client-content{max-width:none!important;width:100%!important}
body.hm-shell-active .hm-client-content>.hmcp-hero{margin:0 0 14px!important}
body.hm-shell-active .hmcp-hero{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.hm-shell-active .hmcp-kicker{font-size:10px!important}
body.hm-shell-active .hmcp-title{font-size:26px!important;margin:3px 0!important}
body.hm-shell-active .hmcp-sub{font-size:13px!important;margin:0!important}
body.hm-shell-active .hmcp-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;gap:12px!important}
body.hm-shell-active .hmcp-card,body.hm-shell-active .box,body.hm-shell-active .card,body.hm-shell-active .panel{border:1px solid #e2e8f0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 28px rgba(15,29,50,.06)!important}
body.hm-shell-active .section{margin-top:16px!important}
body.hm-shell-active .section>h2{font-size:17px!important;margin:0 0 9px!important;color:#0f172a!important}
body.hm-shell-active .cards{gap:10px!important}
body.hm-shell-active .sum,body.hm-shell-active .summary{gap:10px!important;margin:0 0 14px!important}
body.hm-shell-active .tabs{margin:0 0 12px!important}
body.hm-shell-active .regularize{margin:0 0 12px!important}
body.hm-shell-active .hm-client-side{min-height:100vh!important;height:auto!important}
@media(max-width:900px){body.hm-shell-active .hmcp-grid{grid-template-columns:1fr!important}body.hm-shell-active .hm-client-content>.hmcp-hero{margin-bottom:10px!important}}

/* 0.16.6 - identidade visual unica para TODA a area /cliente */
body.hm-shell-active{--cl-bg:#f4f7fb;--cl-card:#fff;--cl-text:#142033;--cl-muted:#6b7a90;--cl-line:#e4eaf2;--cl-primary:#0f766e;--cl-primary-dark:#0b5f59;--cl-danger:#be123c;--cl-warning:#b45309;--cl-success:#047857;background:var(--cl-bg)!important}
body.hm-shell-active .hm-client-shell{background:linear-gradient(90deg,#0b1220 0,#111c31 238px,var(--cl-bg) 238px,var(--cl-bg) 100%)}
body.hm-shell-active .hm-client-content{padding:20px 22px 40px!important}
body.hm-shell-active .hm-client-content>*{max-width:1320px!important;margin-left:auto!important;margin-right:auto!important}
body.hm-shell-active .hm-client-content>.hms,body.hm-shell-active .hm-client-content>.shell,body.hm-shell-active .hm-client-content>.rc-shell,body.hm-shell-active .hm-client-content>main{max-width:1320px!important;width:100%!important;padding:0!important}
body.hm-shell-active .hm-client-content h1,body.hm-shell-active .hm-client-content h2,body.hm-shell-active .hm-client-content h3{color:var(--cl-text)!important;letter-spacing:-.02em}
body.hm-shell-active .hm-client-content h2{font-size:18px!important}body.hm-shell-active .hm-client-content h3{font-size:15px!important}
body.hm-shell-active .hm-client-content .muted,body.hm-shell-active .hm-client-content .rc-muted,body.hm-shell-active .hm-client-content .hint,body.hm-shell-active .hm-client-content .meta{color:var(--cl-muted)!important}
body.hm-shell-active .hm-client-content .card,body.hm-shell-active .hm-client-content .box,body.hm-shell-active .hm-client-content .panel,body.hm-shell-active .hm-client-content .rc-card,body.hm-shell-active .hm-client-content .event,body.hm-shell-active .hm-client-content .log,body.hm-shell-active .hm-client-content .notice,body.hm-shell-active .hm-client-content .filter,body.hm-shell-active .hm-client-content .filters{background:var(--cl-card)!important;border:1px solid var(--cl-line)!important;border-radius:15px!important;box-shadow:0 5px 20px rgba(15,23,42,.045)!important}
body.hm-shell-active .hm-client-content .card,body.hm-shell-active .hm-client-content .box,body.hm-shell-active .hm-client-content .panel,body.hm-shell-active .hm-client-content .rc-card{padding:15px!important}
body.hm-shell-active .hm-client-content .grid,body.hm-shell-active .hm-client-content .layout,body.hm-shell-active .hm-client-content .cards,body.hm-shell-active .hm-client-content .list,body.hm-shell-active .hm-client-content .logs{gap:12px!important}
body.hm-shell-active .hm-client-content .btn,body.hm-shell-active .hm-client-content button:not(.hm-client-menu):not(.swal2-close){min-height:38px!important;padding:8px 13px!important;border-radius:10px!important;font-size:12px!important;font-weight:850!important;box-shadow:none!important}
body.hm-shell-active .hm-client-content .btn.primary,body.hm-shell-active .hm-client-content button[type=submit]{background:var(--cl-primary)!important;color:#fff!important;border:1px solid var(--cl-primary)!important}
body.hm-shell-active .hm-client-content .btn.primary:hover,body.hm-shell-active .hm-client-content button[type=submit]:hover{background:var(--cl-primary-dark)!important}
body.hm-shell-active .hm-client-content input,body.hm-shell-active .hm-client-content select,body.hm-shell-active .hm-client-content textarea{min-height:40px!important;border:1px solid #d7e0eb!important;border-radius:10px!important;background:#fff!important;padding:8px 10px!important;font-size:13px!important}
body.hm-shell-active .hm-client-content textarea{min-height:90px!important}
body.hm-shell-active .hm-client-content .field{gap:5px!important}body.hm-shell-active .hm-client-content .field label{font-size:11px!important;font-weight:850!important;color:#536277!important}
body.hm-shell-active .hm-client-content .flash,body.hm-shell-active .hm-client-content .regularize,body.hm-shell-active .hm-client-content .rc-note,body.hm-shell-active .hm-client-content .rc-success{border-radius:12px!important;padding:11px 13px!important;font-size:12px!important}
body.hm-shell-active .hm-client-content .badge,body.hm-shell-active .hm-client-content .status,body.hm-shell-active .hm-client-content .state{font-size:10px!important;font-weight:900!important;border-radius:999px!important}
body.hm-shell-active .hm-client-content .summary,body.hm-shell-active .hm-client-content .sum,body.hm-shell-active .hm-client-content .metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:10px!important}
body.hm-shell-active .hm-client-content .summary>*,body.hm-shell-active .hm-client-content .sum>*,body.hm-shell-active .hm-client-content .metric{background:#fff!important;border:1px solid var(--cl-line)!important;border-radius:14px!important;box-shadow:none!important;padding:13px 14px!important}
body.hm-shell-active .hm-client-content .tabs,body.hm-shell-active .hm-client-content .toolbar,body.hm-shell-active .hm-client-content .actions{gap:7px!important}
body.hm-shell-active .hm-client-content .tabs a{min-height:34px!important;padding:7px 10px!important;border-radius:9px!important;font-size:11px!important}
/* Financeiro premium: leitura em linha e acoes PIX compactas */
body.hm-shell-active .hm-client-content #cobrancas .cards{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
body.hm-shell-active .hm-client-content #cobrancas .box{display:grid!important;grid-template-columns:minmax(220px,1.7fr) minmax(110px,.55fr) minmax(175px,.8fr) auto!important;align-items:center!important;column-gap:16px!important;padding:13px 14px!important}
body.hm-shell-active .hm-client-content #cobrancas .box>.row{display:contents!important}
body.hm-shell-active .hm-client-content #cobrancas .box>.row>div:first-child{grid-column:1;grid-row:1/3!important;min-width:0}
body.hm-shell-active .hm-client-content #cobrancas .box>.row>.badge{grid-column:4;grid-row:1;justify-self:end!important}
body.hm-shell-active .hm-client-content #cobrancas .amount{grid-column:2;grid-row:1/3;margin:0!important;font-size:18px!important;white-space:nowrap}
body.hm-shell-active .hm-client-content #cobrancas .meta{grid-column:3;grid-row:1/3;margin:0!important;display:grid!important;gap:2px!important;font-size:11px!important}
body.hm-shell-active .hm-client-content #cobrancas .pix-actions{grid-column:4;grid-row:2;display:flex!important;justify-content:flex-end!important;gap:6px!important;margin:5px 0 0!important}
body.hm-shell-active .hm-client-content #cobrancas .pix-actions .pix{width:auto!important;min-height:34px!important;padding:6px 10px!important;font-size:10px!important;white-space:nowrap}
body.hm-shell-active .hm-client-content #recursos .cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}
body.hm-shell-active .hm-client-content #recursos .amount{font-size:17px!important}
/* notificacoes, atividade e auditoria seguem a mesma densidade */
body.hm-shell-active .hm-client-content .notice,body.hm-shell-active .hm-client-content .event,body.hm-shell-active .hm-client-content .log{padding:13px 14px!important;margin:0!important}
body.hm-shell-active .hm-client-content .notice.unread{border-left:3px solid var(--cl-primary)!important}
/* elimina fundos/layouts legados que quebravam a padronizacao */
body.hm-shell-active .hm-client-content .body,body.hm-shell-active .hm-client-content .rc-body{background:transparent!important}
body.hm-shell-active .hm-client-content .rc-nav{display:none!important}
@media(max-width:900px){body.hm-shell-active .hm-client-content{padding:12px 10px 78px!important}body.hm-shell-active .hm-client-content #cobrancas .box{display:block!important}body.hm-shell-active .hm-client-content #cobrancas .box>.row{display:flex!important}body.hm-shell-active .hm-client-content #cobrancas .amount{margin-top:8px!important}body.hm-shell-active .hm-client-content #cobrancas .meta{display:flex!important;margin-top:6px!important}body.hm-shell-active .hm-client-content #cobrancas .pix-actions{display:grid!important;grid-template-columns:1fr 1fr!important;margin-top:10px!important}body.hm-shell-active .hm-client-content #cobrancas .pix-actions .pix{width:100%!important;white-space:normal}.hm-client-topbar h1{font-size:17px!important}}
@media(max-width:520px){body.hm-shell-active .hm-client-content .summary,body.hm-shell-active .hm-client-content .sum,body.hm-shell-active .hm-client-content .metrics{grid-template-columns:1fr!important}body.hm-shell-active .hm-client-content #cobrancas .pix-actions{grid-template-columns:1fr!important}}

/* 0.16.7 - respiro global de 10px entre menu, conteudo e barra de rolagem */
@media(min-width:901px){
  body.hm-shell-active .hm-client-shell{column-gap:10px;background:linear-gradient(90deg,#0b1220 0,#111c31 238px,var(--cl-bg,#f4f7fb) 238px,var(--cl-bg,#f4f7fb) 100%)!important;padding-right:10px!important}
  body.hm-shell-active .hm-client-main{min-width:0!important}
  body.hm-shell-active .hm-client-content{padding-left:0!important;padding-right:0!important}
  body.hm-shell-active .hm-client-topbar{margin-right:0!important}
}
@media(max-width:900px){
  body.hm-shell-active .hm-client-shell{padding-right:0!important;column-gap:0!important}
  body.hm-shell-active .hm-client-content{padding-left:10px!important;padding-right:10px!important}
}

/* 0.16.9 - fechamento operacional da Central do Cliente */
.hm-client-nav a{position:relative}.hm-client-count{margin-left:auto;display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:9px;font-weight:900}
body.hm-shell-active .hm-client-content .hmcp-alert{border-radius:11px!important;padding:9px 11px!important;font-size:11px!important}
body.hm-shell-active .hm-client-content .rc-card.cancelled,body.hm-shell-active .hm-client-content .rc-card.rejected{opacity:1!important;border-style:dashed!important}
body.hm-shell-active .hm-client-content .rc-card.cancelled .rc-check,body.hm-shell-active .hm-client-content .rc-card.rejected .rc-check{color:var(--cl-primary)!important}
body.hm-shell-active .hm-client-content .hmcp-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important}
body.hm-shell-active .hm-client-content .hmcp-actions .hmcp-btn{min-height:35px!important;padding:7px 10px!important;font-size:11px!important}
@media(max-width:520px){body.hm-shell-active .hm-client-content .hmcp-actions{display:grid!important;grid-template-columns:1fr!important}body.hm-shell-active .hm-client-content .hmcp-actions .hmcp-btn{width:100%!important}}
