/* =====================================================================
   Ajeita AI — Fidelity UI v16
   Camada final de layout baseada nas referências visuais do cliente.
   Bootstrap continua como base estrutural; esta folha controla fidelidade,
   escala tipográfica, cores, espaçamentos, contraste e responsividade.
   ===================================================================== */

:root{
  --g7v16-navy-950:#051644;
  --g7v16-navy-900:#071d50;
  --g7v16-navy-850:#09245d;
  --g7v16-blue:#1d73f8;
  --g7v16-blue-600:#1767f7;
  --g7v16-blue-100:#eaf3ff;
  --g7v16-yellow:#f8c839;
  --g7v16-green:#15956c;
  --g7v16-ink:#111827;
  --g7v16-muted:#6b7687;
  --g7v16-line:#d8e0e8;
  --g7v16-line-strong:#cbd6e1;
  --g7v16-canvas:#eef4f8;
  --g7v16-surface:#ffffff;
  --g7v16-soft:#f7f9fb;
  --g7v16-shadow:0 10px 28px rgba(22,49,83,.055);
  --g7v16-font:Inter,Avenir,"Segoe UI",Arial,sans-serif;
}

html,body{min-height:100%;}
body.g7-ref-public,
body.g7-ref-auth-body,
body.g7-ref-dashboard{
  font-family:var(--g7v16-font)!important;
  color:var(--g7v16-ink)!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:geometricPrecision;
}
a{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;}
.g7-icon-svg{width:1em;height:1em;display:inline-block;vertical-align:-.125em;fill:currentColor;stroke:currentColor;flex:0 0 auto;}

/* ---------------------------------------------------------------------
   AUTH — reproduz a geometria da referência enviada (1199 x 653).
   --------------------------------------------------------------------- */
body.g7-ref-auth-body{background:#fff!important;overflow-x:hidden;}
.g7-ref-auth-shell{
  min-height:100vh!important;
  display:grid!important;
  grid-template-columns:48.8% 51.2%!important;
  background:#fff!important;
}
.g7-ref-auth-art{
  min-height:100vh!important;
  position:relative!important;
  overflow:hidden!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 59% 53%,rgba(14,47,115,.88) 0,rgba(9,35,89,.72) 27%,rgba(6,27,76,.50) 47%,transparent 67%),
    linear-gradient(145deg,#071b50 0%,#081f57 46%,#061747 100%)!important;
}
.g7-ref-auth-art:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(100deg,rgba(3,12,36,.10),transparent 54%,rgba(4,14,42,.08));
}
.g7-ref-auth-rings{position:absolute!important;border:1px solid rgba(72,112,190,.28)!important;border-radius:50%!important;z-index:1;}
.g7-ref-auth-rings.r1{width:410px!important;height:410px!important;right:-30px!important;top:18px!important;}
.g7-ref-auth-rings.r2{width:210px!important;height:210px!important;left:-42px!important;bottom:-52px!important;}
.g7-ref-auth-dot{z-index:2!important;position:absolute!important;border-radius:50%!important;box-shadow:0 0 0 1px rgba(255,255,255,.03);}
.g7-ref-auth-dot.d1{width:13px!important;height:13px!important;left:-1px!important;bottom:80px!important;background:var(--g7v16-yellow)!important;}
.g7-ref-auth-dot.d2{width:10px!important;height:10px!important;right:55px!important;bottom:56px!important;background:#2d82f7!important;}
.g7-ref-auth-copy{
  position:absolute!important;
  z-index:3!important;
  left:13.8%!important;
  top:28.9%!important;
  transform:none!important;
  width:min(420px,72%)!important;
}
.g7-ref-brand-auth{margin:0 0 58px!important;color:#fff!important;gap:10px!important;}
.g7-ref-brand-auth .g7-ref-brand-box{width:34px!important;height:34px!important;border-radius:10px!important;background:linear-gradient(135deg,#8269ff 0%,#327cf8 58%,#2ba3ff 100%)!important;box-shadow:0 5px 15px rgba(55,105,255,.28)!important;}
.g7-ref-brand-auth .g7-ref-brand-box img{width:21px!important;height:25px!important;}
.g7-ref-brand-auth strong{font-size:15px!important;font-weight:760!important;letter-spacing:-.025em!important;color:#fff!important;}
.g7-ref-auth-kicker{display:block!important;color:var(--g7v16-yellow)!important;font-size:10px!important;line-height:1!important;letter-spacing:.22em!important;font-weight:850!important;margin:0!important;}
.g7-ref-auth-copy h2{font-size:33px!important;line-height:1.12!important;letter-spacing:-.042em!important;font-weight:730!important;color:#fff!important;margin:21px 0 16px!important;}
.g7-ref-auth-copy p{font-size:13px!important;line-height:1.65!important;font-weight:400!important;color:#b7c2d6!important;margin:0!important;max-width:390px!important;}
.g7-ref-auth-bars{display:flex!important;gap:8px!important;margin-top:49px!important;align-items:center!important;}
.g7-ref-auth-bars i{display:block!important;height:6px!important;border-radius:999px!important;}
.g7-ref-auth-bars i:nth-child(1){width:48px!important;background:var(--g7v16-yellow)!important;}
.g7-ref-auth-bars i:nth-child(2){width:30px!important;background:#297af7!important;}
.g7-ref-auth-bars i:nth-child(3){width:20px!important;background:#8798ae!important;}
.g7-ref-auth-main{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  background:#fff!important;
  padding:74px 54px 42px clamp(74px,9.35vw,132px)!important;
  min-width:0!important;
}
.g7-ref-auth-card{width:min(430px,100%)!important;margin:0!important;}
.g7-ref-auth-heading{margin:0!important;}
.g7-ref-auth-heading h1{font-size:29px!important;line-height:1.15!important;letter-spacing:-.038em!important;font-weight:760!important;color:#111827!important;margin:0 0 7px!important;}
.g7-ref-auth-heading p{font-size:12px!important;line-height:1.55!important;color:#697386!important;margin:0 0 22px!important;}
.g7-ref-auth-form{display:grid!important;gap:13px!important;margin:0!important;}
.g7-ref-auth-form>div{min-width:0!important;}
.g7-ref-auth-form label{display:block!important;color:#101827!important;font-size:11px!important;line-height:1.3!important;font-weight:760!important;margin:0 0 8px!important;}
.g7-ref-label-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;}
.g7-ref-label-row a{color:#145dc6!important;font-size:9.5px!important;font-weight:520!important;text-decoration:none!important;margin-bottom:8px!important;white-space:nowrap!important;}
.g7-ref-label-row a:hover{text-decoration:underline!important;}
.g7-ref-input-icon{position:relative!important;padding-top:14px!important;}
.g7-ref-input-icon>.g7-icon-svg,
.g7-ref-input-icon>i{
  position:absolute!important;
  left:0!important;
  top:0!important;
  transform:none!important;
  width:14px!important;
  height:14px!important;
  font-size:14px!important;
  color:#111827!important;
  z-index:2!important;
}
.g7-ref-auth-form .g7-ref-input-icon .form-control{padding-left:35px!important;}
.g7-ref-auth-form .form-control,
.g7-ref-auth-form .form-select{
  width:100%!important;
  min-height:43px!important;
  height:43px!important;
  border:1px solid #d9dde3!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#202a37!important;
  font-family:var(--g7v16-font)!important;
  font-size:12px!important;
  font-weight:400!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.g7-ref-auth-form .form-control::placeholder{color:#6e7683!important;opacity:1!important;}
.g7-ref-auth-form .form-control:focus,
.g7-ref-auth-form .form-select:focus{border-color:#82b4fb!important;box-shadow:0 0 0 3px rgba(29,115,248,.10)!important;}
.g7-ref-auth-form .g7-ref-primary-block{
  width:100%!important;
  min-height:43px!important;
  height:43px!important;
  margin-top:5px!important;
  border:0!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#2580fb 0%,#1769f5 100%)!important;
  color:#fff!important;
  box-shadow:0 8px 19px rgba(25,105,242,.28)!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
}
.g7-ref-auth-form .g7-ref-primary-block:hover{transform:translateY(-1px)!important;box-shadow:0 10px 24px rgba(25,105,242,.32)!important;}
.g7-ref-auth-benefits{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px 16px!important;
  min-height:60px!important;
  margin:12px 0 0!important;
  padding:9px 12px!important;
  border:1px solid #dde3e9!important;
  border-radius:8px!important;
  background:#fafbfd!important;
  color:#5f6c7d!important;
  box-shadow:none!important;
  font-size:9.5px!important;
  line-height:1.25!important;
}
.g7-ref-auth-benefits span{color:#5c697b!important;white-space:nowrap!important;}
.g7-ref-auth-legal{margin:12px auto 0!important;max-width:425px!important;text-align:center!important;color:#687281!important;font-size:9px!important;line-height:1.55!important;}
.g7-ref-auth-switch{margin:19px 0 0!important;text-align:center!important;color:#5e6877!important;font-size:10.5px!important;line-height:1.4!important;}
.g7-ref-auth-switch a{color:#175ebc!important;font-weight:750!important;text-decoration:none!important;}
.g7-ref-auth-switch a:hover{text-decoration:underline!important;}
.g7-ref-check{padding:10px 11px!important;border:1px solid #dfe4e9!important;border-radius:8px!important;background:#fafbfd!important;color:#4f5a69!important;font-size:10px!important;line-height:1.45!important;}
.g7-ref-check input{accent-color:var(--g7v16-blue)!important;}

/* ---------------------------------------------------------------------
   DASHBOARD — sidebar sempre presente em desktop e escala operacional.
   --------------------------------------------------------------------- */
body.g7-dashboard-body.g7-ref-dashboard{margin:0!important;background:var(--g7v16-canvas)!important;color:var(--g7v16-ink)!important;}
.g7-client-dashboard-frame{display:block!important;min-height:100vh!important;background:var(--g7v16-canvas)!important;}
.g7-client-sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:248px!important;
  height:100vh!important;
  padding:0 14px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  color:#fff!important;
  background:linear-gradient(180deg,#071d50 0%,#061846 62%,#05143b 100%)!important;
  border-right:1px solid rgba(255,255,255,.045)!important;
  box-shadow:8px 0 28px rgba(9,26,63,.07)!important;
  z-index:110!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(255,255,255,.16) transparent!important;
}
.g7-sidebar-brand{
  min-height:84px!important;
  height:84px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:0 9px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  margin-bottom:9px!important;
}
.g7-sidebar-brand .g7-brand{display:flex!important;align-items:center!important;gap:10px!important;color:#fff!important;text-decoration:none!important;min-width:0!important;}
.g7-sidebar-brand .g7-brand-mark{width:34px!important;height:34px!important;border-radius:10px!important;background:linear-gradient(135deg,#7d65ff,#2484ff)!important;box-shadow:0 6px 18px rgba(37,91,255,.25)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;}
.g7-sidebar-brand .g7-brand-mark img{width:21px!important;height:25px!important;filter:brightness(0) invert(1)!important;}
.g7-sidebar-brand .g7-brand span:last-child{font-size:14px!important;font-weight:760!important;letter-spacing:-.02em!important;color:#fff!important;white-space:nowrap!important;}
.g7-sidebar-collapse{width:30px!important;height:30px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:8px!important;background:rgba(255,255,255,.055)!important;color:#aebddd!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.g7-client-sidebar-nav{display:grid!important;gap:3px!important;padding:0!important;}
.g7-client-sidebar-nav .g7-nav-section{padding:17px 11px 5px!important;color:#7489b1!important;font-size:9px!important;line-height:1!important;font-weight:850!important;letter-spacing:.16em!important;text-transform:uppercase!important;}
.g7-client-sidebar-nav a{
  min-height:39px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  padding:0 11px!important;
  border-radius:9px!important;
  color:#aebddd!important;
  text-decoration:none!important;
  font-size:11.5px!important;
  font-weight:550!important;
  border:1px solid transparent!important;
  position:relative!important;
}
.g7-client-sidebar-nav a .g7-icon-svg,
.g7-client-sidebar-nav a i{width:16px!important;height:16px!important;font-size:16px!important;color:#849bd0!important;}
.g7-client-sidebar-nav a:hover{background:rgba(255,255,255,.055)!important;color:#fff!important;}
.g7-client-sidebar-nav a:hover .g7-icon-svg,
.g7-client-sidebar-nav a:hover i{color:#b9caff!important;}
.g7-client-sidebar-nav a.active{
  color:#fff!important;
  background:linear-gradient(90deg,#155eea 0%,#1f73f6 100%)!important;
  border-color:rgba(255,255,255,.07)!important;
  box-shadow:0 7px 18px rgba(20,83,214,.22)!important;
  font-weight:720!important;
}
.g7-client-sidebar-nav a.active:before{content:"";position:absolute!important;left:-15px!important;top:8px!important;bottom:8px!important;width:3px!important;border-radius:0 4px 4px 0!important;background:var(--g7v16-yellow)!important;}
.g7-client-sidebar-nav a.active .g7-icon-svg,
.g7-client-sidebar-nav a.active i{color:#fff!important;}
.g7-context-card{margin:14px 7px 0!important;padding:11px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:10px!important;background:rgba(255,255,255,.045)!important;}
.g7-context-card label{display:block!important;color:#8fa4cd!important;font-size:9px!important;font-weight:700!important;margin-bottom:6px!important;}
.g7-context-card select{width:100%!important;min-height:34px!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:7px!important;background:#0c285f!important;color:#eef4ff!important;padding:0 9px!important;font-size:10px!important;}
.g7-sidebar-spacer{flex:1 1 auto!important;min-height:18px!important;}
.g7-help-card{margin:12px 7px 0!important;padding:11px!important;display:grid!important;grid-template-columns:32px 1fr 15px!important;align-items:center!important;gap:8px!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:11px!important;background:rgba(255,255,255,.035)!important;color:#fff!important;text-decoration:none!important;}
.g7-help-card>span{width:32px!important;height:32px!important;border:1px solid rgba(61,129,255,.7)!important;border-radius:50%!important;color:#5d9aff!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.g7-help-card strong{display:block!important;color:#f6f8fd!important;font-size:10px!important;font-weight:720!important;}
.g7-help-card small{display:block!important;color:#8ea2c9!important;font-size:8.5px!important;margin-top:2px!important;}
.g7-sidebar-footer{padding:13px 9px 0!important;color:#7287ae!important;display:flex!important;flex-direction:column!important;gap:2px!important;font-size:8px!important;}
.g7-client-dashboard-main{
  margin-left:248px!important;
  width:calc(100% - 248px)!important;
  min-height:100vh!important;
  background:var(--g7v16-canvas)!important;
}
.g7-client-topbar{
  position:sticky!important;
  top:0!important;
  z-index:85!important;
  min-height:78px!important;
  height:78px!important;
  padding:0 28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #dde5ec!important;
  box-shadow:0 3px 14px rgba(21,48,79,.025)!important;
  backdrop-filter:blur(12px)!important;
}
.g7-topbar-greeting{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;}
.g7-topbar-greeting strong{display:block!important;color:#182234!important;font-size:16px!important;line-height:1.2!important;font-weight:760!important;letter-spacing:-.025em!important;}
.g7-topbar-greeting small{display:block!important;color:#748196!important;font-size:10px!important;line-height:1.3!important;margin-top:4px!important;}
.g7-topbar-actions{display:flex!important;align-items:center!important;gap:9px!important;}
.g7-client-topbar .g7-ref-theme,
.g7-client-topbar .g7-notification,
.g7-client-topbar .g7-logout-btn{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border:1px solid #d9e1e8!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#385778!important;
  box-shadow:0 4px 12px rgba(25,54,89,.045)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.g7-client-topbar .g7-ref-theme{width:52px!important;border-radius:999px!important;gap:4px!important;}
.g7-client-topbar .g7-ref-theme span{color:#dfa21f!important;}
.g7-client-topbar .g7-ref-theme small{color:#8290a3!important;}
.g7-client-topbar .g7-notification{position:relative!important;}
.g7-client-topbar .g7-notification>span{position:absolute!important;right:-3px!important;top:-3px!important;min-width:17px!important;height:17px!important;border-radius:999px!important;background:#1767f7!important;color:#fff!important;font-size:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;}
.g7-user-menu{display:flex!important;align-items:center!important;gap:9px!important;padding-left:2px!important;}
.g7-user-avatar{width:38px!important;height:38px!important;border-radius:50%!important;background:linear-gradient(135deg,#274f90,#bb8662)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;font-weight:820!important;}
.g7-user-menu strong{display:block!important;color:#243147!important;font-size:10px!important;font-weight:740!important;max-width:170px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.g7-user-menu small{display:block!important;color:#8994a3!important;font-size:8.5px!important;max-width:190px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:2px!important;}
.g7-dashboard-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:22px 26px 36px!important;
}
.g7-ref-dashboard-shell{width:100%!important;max-width:1460px!important;margin:0 auto!important;}

/* Dashboard cards / títulos / botões */
.g7-ref-dash-card,
.g7-ref-dashboard-shell .g7-card,
.g7-ref-dashboard-shell .g7-panel{
  background:#fff!important;
  border:1px solid var(--g7v16-line-strong)!important;
  border-radius:15px!important;
  box-shadow:var(--g7v16-shadow)!important;
  color:var(--g7v16-ink)!important;
}
.g7-ref-dash-card{padding:25px!important;}
.g7-ref-page-head,
.g7-ref-user-home-head,
.g7-ref-super-head{gap:24px!important;}
.g7-ref-page-head h1,
.g7-ref-user-home-head h1,
.g7-ref-super-head h1,
.g7-ref-dashboard-shell .g7-page-heading h1{
  color:#172033!important;
  font-size:29px!important;
  line-height:1.12!important;
  font-weight:760!important;
  letter-spacing:-.035em!important;
}
.g7-ref-page-head p,
.g7-ref-user-home-head p,
.g7-ref-super-head p,
.g7-ref-dashboard-shell .g7-page-heading p{
  color:#667589!important;
  font-size:13px!important;
  line-height:1.55!important;
}
.g7-ref-eyebrow,
.g7-ref-dashboard-shell .g7-kicker{
  color:#2564a9!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.g7-ref-primary,
.g7-ref-dashboard-shell .btn-primary,
.g7-ref-dashboard-shell .btn-g7-primary{
  border-color:transparent!important;
  background:linear-gradient(180deg,#2780fb 0%,#1768f5 100%)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(23,104,245,.18)!important;
}
.g7-ref-primary:hover,
.g7-ref-dashboard-shell .btn-primary:hover,
.g7-ref-dashboard-shell .btn-g7-primary:hover{transform:translateY(-1px)!important;box-shadow:0 9px 20px rgba(23,104,245,.24)!important;}
.g7-ref-outline,
.g7-ref-dashboard-shell .btn-outline-primary,
.g7-ref-dashboard-shell .btn-light{
  background:#fff!important;
  border-color:#d5dee7!important;
  color:#31587f!important;
  box-shadow:none!important;
}
.g7-ref-dashboard-shell .btn{border-radius:8px!important;min-height:39px!important;font-size:12px!important;font-weight:650!important;}

/* Home cliente */
.g7-ref-user-home{padding:26px 29px!important;}
.g7-ref-user-home hr{border-color:#dbe3eb!important;opacity:1!important;margin:26px 0!important;}
.g7-ref-next-step{background:#f8fafc!important;border:1px solid #d9e2ea!important;border-radius:13px!important;padding:20px!important;}
.g7-ref-next-icon{width:40px!important;height:40px!important;border-radius:10px!important;background:#eaf3ff!important;color:#1767f7!important;}
.g7-ref-next-copy h2{color:#172033!important;font-size:21px!important;font-weight:760!important;letter-spacing:-.025em!important;}
.g7-ref-next-copy>strong{font-size:13px!important;color:#34445a!important;}
.g7-ref-next-copy h3{font-size:15px!important;color:#1e2a3b!important;font-weight:720!important;}
.g7-ref-next-copy p{font-size:12px!important;color:#68768a!important;}
.g7-ref-inline-pills span{background:#fff!important;border:1px solid #d6e0e9!important;color:#617084!important;font-size:10.5px!important;}
.g7-ref-subhead h2{font-size:17px!important;font-weight:740!important;color:#1b2638!important;}
.g7-ref-subhead a{font-size:11px!important;color:#1767f7!important;}
.g7-ref-case-list{border-color:#d7e0e9!important;border-radius:11px!important;background:#fff!important;}
.g7-ref-case-list>a{padding:13px 15px!important;border-color:#e4e9ee!important;}
.g7-ref-case-list>a:hover{background:#f8fbff!important;}
.g7-ref-case-list strong{color:#243147!important;font-size:13px!important;}
.g7-ref-case-list small{color:#8290a1!important;font-size:10.5px!important;}
.g7-ref-case-list>a>span{color:#5c6a7d!important;font-size:11.5px!important;}
.g7-ref-case-list b{font-size:11px!important;color:#1767f7!important;}
.g7-ref-user-shortcuts a{background:#fff!important;border-color:#d8e0e8!important;border-radius:9px!important;font-size:11.5px!important;color:#31435a!important;}
.g7-ref-user-shortcuts a:hover{border-color:#b7cdf0!important;background:#f8fbff!important;color:#1767f7!important;}

/* Meus casos */
.g7-ref-case-summary>div{background:#fff!important;border-color:#d7e1ea!important;border-radius:11px!important;}
.g7-ref-case-summary small{font-size:9.5px!important;color:#758399!important;}
.g7-ref-case-summary strong{font-size:24px!important;color:#18243a!important;}
.g7-ref-case-toolbar{background:#fff!important;border-color:#d7e0e8!important;padding:11px 14px!important;}
.g7-ref-case-toolbar>label{border-color:#d8e1e9!important;background:#fff!important;}
.g7-ref-case-toolbar input{font-size:12px!important;color:#253247!important;}
.g7-ref-filter-pills button{border-color:#d8e1e9!important;background:#fff!important;font-size:10.5px!important;color:#526276!important;}
.g7-ref-filter-pills button:first-child{background:#1767f7!important;border-color:#1767f7!important;color:#fff!important;}
.g7-ref-case-table{border-color:#d7e0e8!important;background:#fff!important;}
.g7-ref-case-row{padding:13px 15px!important;border-color:#e5eaef!important;font-size:12px!important;color:#37465a!important;}
.g7-ref-case-row.head{background:#f7f9fb!important;color:#7a8799!important;font-size:9px!important;font-weight:800!important;}
.g7-ref-case-row>div strong{font-size:12.5px!important;color:#243147!important;}
.g7-ref-case-row>div small{font-size:10px!important;color:#8490a0!important;}
.g7-ref-status{font-size:10px!important;padding:4px 9px!important;}

/* Nova análise */
.g7-ref-analysis-form{background:#fff!important;border:1px solid #cbd7e3!important;border-radius:15px!important;box-shadow:var(--g7v16-shadow)!important;overflow:hidden!important;}
.g7-ref-analysis-head{padding:23px 24px 18px!important;background:#fff!important;}
.g7-ref-analysis-head h1{font-size:27px!important;color:#172033!important;font-weight:760!important;letter-spacing:-.03em!important;}
.g7-ref-analysis-head p{font-size:12.5px!important;color:#67778a!important;}
.g7-ref-analysis-stats>div{background:#f8fafc!important;border-color:#d9e2e9!important;}
.g7-ref-analysis-stats strong{font-size:17px!important;color:#20314a!important;}
.g7-ref-analysis-stats small{font-size:10px!important;color:#7c899b!important;}
.g7-ref-warning-box{background:#fff9df!important;border-color:#eadb96!important;color:#665522!important;}
.g7-ref-warning-box p{font-size:11.5px!important;}
.g7-ref-stepbar{background:#f8fafc!important;border-color:#d9e2e9!important;}
.g7-ref-stepbar>div{border-color:#e0e7ee!important;}
.g7-ref-stepbar b{font-size:11.5px!important;color:#2f3e52!important;}
.g7-ref-stepbar small{font-size:9.5px!important;color:#7c899b!important;}
.g7-ref-data-card{background:#fff!important;border-color:#d6e1e8!important;border-radius:12px!important;}
.g7-ref-data-card header h2{font-size:16px!important;color:#1c293d!important;font-weight:740!important;}
.g7-ref-data-card header p{font-size:10.5px!important;color:#798698!important;}
.g7-ref-data-card label,.g7-ref-analysis-label{font-size:10.5px!important;color:#34445a!important;font-weight:700!important;}
.g7-ref-data-card .form-control,.g7-ref-data-card .form-select,.g7-ref-analysis-textarea{min-height:42px!important;border-color:#d7e0e8!important;border-radius:8px!important;font-size:12.5px!important;color:#253247!important;background:#fff!important;box-shadow:none!important;}
.g7-ref-data-card .form-control:focus,.g7-ref-data-card .form-select:focus,.g7-ref-analysis-textarea:focus{border-color:#8eb9f8!important;box-shadow:0 0 0 3px rgba(29,115,248,.09)!important;}
.g7-ref-choice-row label{font-size:11.5px!important;border-color:#d7e0e8!important;}
.g7-ref-proof-box,.g7-ref-mini-stat,.g7-ref-next-box{background:#fff!important;border-color:#d7e1e8!important;}
.g7-ref-upload{font-size:10.5px!important;}

/* Conta / suporte / planos */
.g7-ref-profile-card,.g7-ref-security-card,.g7-ref-plan-side,.g7-ref-plan-help,.g7-ref-support-cards article{background:#fff!important;border-color:#d4dee7!important;box-shadow:0 7px 20px rgba(23,49,80,.03)!important;}
.g7-ref-profile-name{color:#1b283b!important;font-size:18px!important;}
.g7-ref-profile-copy small{font-size:10px!important;color:#77869a!important;}
.g7-ref-security-card h2{font-size:14px!important;color:#1c293d!important;}
.g7-ref-security-card p{font-size:10.5px!important;color:#6f7d90!important;}
.g7-ref-plan-side h2,.g7-ref-plan-help h2{color:#18263b!important;}
.g7-ref-plan-grid article{background:#fff!important;border-color:#d3dee8!important;box-shadow:0 7px 20px rgba(23,49,80,.025)!important;}
.g7-ref-support-cards strong{font-size:11.5px!important;color:#253247!important;}
.g7-ref-support-cards small,.g7-ref-support-cards a{font-size:9.5px!important;}
.g7-ref-leonardo{border-color:#d3dfe9!important;background:#eff6fd!important;}
.g7-ref-chat-area{background:#f6f9fd!important;}

/* Superadmin e CRUD genérico */
.g7-ref-superadmin{padding:23px 25px!important;}
.g7-ref-super-warning{font-size:11.5px!important;border-color:#eadb98!important;background:#fff9df!important;color:#745f1e!important;}
.g7-ref-super-tabs a{font-size:10.5px!important;border-color:#d7e0e8!important;color:#3d4d62!important;background:#fff!important;}
.g7-ref-super-tabs a.active{background:#1767f7!important;border-color:#1767f7!important;color:#fff!important;}
.g7-ref-super-kpis{gap:10px!important;}
.g7-ref-super-kpis article{background:#fff!important;border-color:#d4dee7!important;border-radius:11px!important;box-shadow:0 6px 18px rgba(23,49,80,.025)!important;}
.g7-ref-super-kpis small{font-size:9.5px!important;color:#6c7b90!important;}
.g7-ref-super-kpis strong{font-size:21px!important;color:#1b2940!important;}
.g7-ref-super-columns>section,.g7-ref-super-activity{background:#fff!important;border-color:#d4dee7!important;box-shadow:0 6px 18px rgba(23,49,80,.025)!important;}
.g7-ref-super-columns h2,.g7-ref-super-activity h2{font-size:15px!important;color:#1b293d!important;}
.g7-ref-super-columns p,.g7-ref-super-activity>p{font-size:10.5px!important;color:#7a8798!important;}
.g7-ref-company-row{border-color:#dce4eb!important;background:#fff!important;}
.g7-ref-company-row:hover{background:#f8fbff!important;border-color:#c7d8ea!important;}

.g7-ref-dashboard-shell .g7-admin-page,
.g7-ref-dashboard-shell .g7-admin-dashboard{display:grid!important;gap:17px!important;color:#202c3e!important;}
.g7-ref-dashboard-shell .g7-page-heading{margin-bottom:1px!important;}
.g7-ref-dashboard-shell .g7-panel{padding:19px!important;}
.g7-ref-dashboard-shell .g7-panel-head{margin-bottom:13px!important;}
.g7-ref-dashboard-shell .g7-panel-head h2{color:#1a273a!important;font-size:16px!important;font-weight:740!important;}
.g7-ref-dashboard-shell .g7-panel-head p{color:#778598!important;font-size:11px!important;}
.g7-ref-dashboard-shell .g7-kpi-card{background:#fff!important;border:1px solid #d4dee7!important;border-radius:11px!important;box-shadow:0 6px 18px rgba(23,49,80,.025)!important;min-height:98px!important;}
.g7-ref-dashboard-shell .g7-kpi-card small{color:#738297!important;}
.g7-ref-dashboard-shell .g7-kpi-card strong{color:#1a283e!important;}
.g7-ref-dashboard-shell .form-label{font-size:11px!important;font-weight:720!important;color:#35455a!important;margin-bottom:6px!important;}
.g7-ref-dashboard-shell .form-control,
.g7-ref-dashboard-shell .form-select{
  min-height:42px!important;
  border:1px solid #d6dfe7!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#263449!important;
  box-shadow:none!important;
  font-size:12.5px!important;
}
.g7-ref-dashboard-shell textarea.form-control{min-height:104px!important;}
.g7-ref-dashboard-shell .form-control:focus,
.g7-ref-dashboard-shell .form-select:focus{border-color:#8fbaf7!important;box-shadow:0 0 0 3px rgba(29,115,248,.09)!important;}
.g7-ref-dashboard-shell .table-responsive{border-radius:10px!important;border:1px solid #d9e1e8!important;overflow:auto!important;background:#fff!important;}
.g7-ref-dashboard-shell .table{margin:0!important;--bs-table-bg:#fff!important;--bs-table-color:#314055!important;--bs-table-border-color:#e3e8ed!important;}
.g7-ref-dashboard-shell .g7-table th,
.g7-ref-dashboard-shell .table th{padding:11px 12px!important;background:#f7f9fb!important;color:#748197!important;font-size:9.5px!important;font-weight:820!important;letter-spacing:.065em!important;text-transform:uppercase!important;white-space:nowrap!important;border-bottom:1px solid #dde4ea!important;}
.g7-ref-dashboard-shell .g7-table td,
.g7-ref-dashboard-shell .table td{padding:12px!important;color:#334258!important;font-size:12px!important;vertical-align:middle!important;border-color:#e7ebef!important;}
.g7-ref-dashboard-shell .g7-table tbody tr:hover td,
.g7-ref-dashboard-shell .table tbody tr:hover td{background:#f9fbfd!important;}
.g7-ref-dashboard-shell .g7-table td strong{font-size:12.5px!important;color:#253349!important;}
.g7-ref-dashboard-shell .g7-table td small{font-size:10px!important;color:#8290a1!important;}
.g7-ref-dashboard-shell .g7-status,
.g7-ref-dashboard-shell .g7-pill{font-size:9.5px!important;border-radius:999px!important;padding:4px 8px!important;}
.g7-ref-dashboard-shell .g7-filterbar{background:#fff!important;border:1px solid #d8e1e8!important;border-radius:11px!important;padding:12px!important;}
.g7-ref-dashboard-shell .g7-empty,
.g7-ref-dashboard-shell .g7-empty-card,
.g7-ref-empty-row{color:#7c899a!important;font-size:11px!important;}

/* Notification drawer */
.g7-notification-drawer{background:#fff!important;border-left:1px solid #d8e1e8!important;box-shadow:-16px 0 45px rgba(20,46,78,.12)!important;}
.g7-notification-drawer-head{border-bottom-color:#e1e6eb!important;}
.g7-notification-drawer-head strong{color:#1d293b!important;}
.g7-notification-drawer-head small{color:#7b8797!important;}

/* ---------------------------------------------------------------------
   PÚBLICO — branco/azul, sem branco-sobre-branco e com escala consistente.
   --------------------------------------------------------------------- */
body.g7-public-body.g7-ref-public{margin:0!important;background:#fff!important;color:var(--g7v16-ink)!important;}
.g7-ref-shell{width:min(1180px,calc(100% - 52px))!important;}
.g7-ref-header{height:74px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e4e9ef!important;box-shadow:0 3px 15px rgba(18,43,78,.025)!important;}
.g7-ref-header-row{height:74px!important;gap:27px!important;}
.g7-ref-brand{gap:9px!important;color:#111827!important;}
.g7-ref-brand-box{width:34px!important;height:34px!important;border-radius:10px!important;background:linear-gradient(135deg,#7b62ff,#2485ff)!important;box-shadow:0 5px 15px rgba(57,93,245,.17)!important;}
.g7-ref-brand strong{font-size:15px!important;font-weight:760!important;color:inherit!important;}
.g7-ref-nav{gap:20px!important;}
.g7-ref-drop>a,.g7-ref-contact-link,.g7-ref-login{font-size:11px!important;font-weight:580!important;color:#1f2b3c!important;}
.g7-ref-drop.active>a{background:#edf4ff!important;color:#1767f7!important;}
.g7-ref-login{border-color:#d7dfe7!important;background:#fff!important;}
.g7-ref-header-actions{gap:9px!important;}
.g7-ref-header-actions .g7-ref-primary{min-height:38px!important;padding:0 16px!important;font-size:11px!important;border-radius:999px!important;}
.g7-ref-public-theme{width:37px!important;height:37px!important;border-color:#d8e1e8!important;box-shadow:none!important;}
.g7-ref-mega{border-color:#dbe3ea!important;box-shadow:0 18px 42px rgba(20,46,81,.13)!important;}
.g7-ref-main{min-height:54vh!important;}
.g7-ref-help-hero{padding:78px 0 88px!important;background:radial-gradient(circle at 12% 34%,rgba(218,236,255,.58),transparent 29%),radial-gradient(circle at 88% 64%,rgba(255,238,179,.44),transparent 24%),#fff!important;}
.g7-ref-help-hero .g7-ref-centered{max-width:790px!important;}
.g7-ref-help-hero h1{color:#111827!important;font-size:42px!important;line-height:1.05!important;letter-spacing:-.045em!important;font-weight:760!important;margin:16px 0 18px!important;}
.g7-ref-help-hero p{color:#626f80!important;font-size:14px!important;line-height:1.65!important;max-width:660px!important;}
.g7-ref-soft-section{padding:46px 0!important;background:#f3f6fa!important;border-color:#e4eaf0!important;}
.g7-ref-info-three{gap:15px!important;}
.g7-ref-info-three article{padding:22px!important;border-color:#dfe6ed!important;border-radius:13px!important;box-shadow:0 8px 25px rgba(18,46,82,.04)!important;}
.g7-ref-info-three h3{color:#1c293c!important;font-size:13.5px!important;font-weight:720!important;}
.g7-ref-info-three p{color:#687587!important;font-size:11.5px!important;}
.g7-ref-icon-soft{background:#eef5ff!important;border-color:#d7e6f8!important;color:#2168d7!important;}
.g7-ref-faq-section,.g7-ref-how-section,.g7-ref-common-section,.g7-ref-final-cta,.g7-ref-contact-hero,.g7-ref-contact-form-section{color:#111827!important;}
.g7-ref-section-heading h2,.g7-ref-how-head h2,.g7-ref-final-cta h2{color:#111827!important;font-weight:750!important;}
.g7-ref-section-heading p,.g7-ref-how-head p,.g7-ref-final-cta p{color:#697688!important;}
.g7-ref-faq-list details{border-color:#dce3ea!important;border-radius:9px!important;}
.g7-ref-faq-list summary{color:#253246!important;font-size:12px!important;font-weight:650!important;}
.g7-ref-faq-list p{color:#687587!important;font-size:11.5px!important;}
.g7-ref-category-hero{background:radial-gradient(circle at 82% 38%,#173c7a 0,#0d2b61 20%,#071e52 48%,#061747 100%)!important;}
.g7-ref-category-copy h1{font-size:41px!important;font-weight:760!important;color:#fff!important;}
.g7-ref-category-copy p{font-size:13.5px!important;color:#d1d9e7!important;}
.g7-ref-common-grid>a{border-color:#dde5ec!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(27,49,77,.035)!important;}
.g7-ref-common-grid>a:hover{transform:translateY(-2px)!important;border-color:#bfd2e7!important;box-shadow:0 12px 26px rgba(27,49,77,.07)!important;}
.g7-ref-common-grid h3{color:#1b283b!important;font-size:13px!important;}
.g7-ref-common-grid p{color:#6a7686!important;font-size:11px!important;}
.g7-ref-dark-cta,.g7-ref-result-section{background:radial-gradient(circle at 72% 52%,#12376f 0,#081f55 36%,#061747 72%)!important;color:#fff!important;}
.g7-ref-dark-cta h2,.g7-ref-result-section h2{color:#fff!important;font-weight:750!important;}
.g7-ref-dark-cta p,.g7-ref-result-section p{color:#bec9da!important;}
.g7-ref-contact-card,.g7-ref-form-card,.g7-ref-legal-card{border-color:#dbe3ea!important;box-shadow:0 12px 32px rgba(22,47,80,.055)!important;}
.g7-ref-footer{background:#03091c!important;color:#c7cfdf!important;}
.g7-ref-footer h3{color:#fff!important;}
.g7-ref-footer a{color:#9ba7b9!important;}
.g7-ref-footer p{color:#8e9aae!important;}

/* ---------------------------------------------------------------------
   DARK MODE — mantido consistente, sem inversões acidentais.
   --------------------------------------------------------------------- */
html[data-resolved-theme="dark"] body.g7-ref-dashboard{background:#081421!important;color:#edf4ff!important;}
html[data-resolved-theme="dark"] .g7-client-dashboard-main{background:#081421!important;}
html[data-resolved-theme="dark"] .g7-client-topbar{background:rgba(9,22,38,.96)!important;border-bottom-color:#20364e!important;}
html[data-resolved-theme="dark"] .g7-topbar-greeting strong,
html[data-resolved-theme="dark"] .g7-user-menu strong{color:#f1f6ff!important;}
html[data-resolved-theme="dark"] .g7-topbar-greeting small,
html[data-resolved-theme="dark"] .g7-user-menu small{color:#9db0c7!important;}
html[data-resolved-theme="dark"] .g7-ref-dash-card,
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .g7-card,
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .g7-panel,
html[data-resolved-theme="dark"] .g7-ref-profile-card,
html[data-resolved-theme="dark"] .g7-ref-security-card,
html[data-resolved-theme="dark"] .g7-ref-plan-side,
html[data-resolved-theme="dark"] .g7-ref-plan-help,
html[data-resolved-theme="dark"] .g7-ref-super-kpis article,
html[data-resolved-theme="dark"] .g7-ref-super-columns>section,
html[data-resolved-theme="dark"] .g7-ref-super-activity{background:#102139!important;border-color:#29415f!important;color:#eef4ff!important;}
html[data-resolved-theme="dark"] .g7-ref-page-head h1,
html[data-resolved-theme="dark"] .g7-ref-user-home-head h1,
html[data-resolved-theme="dark"] .g7-ref-super-head h1,
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .g7-page-heading h1,
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .g7-panel h2,
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .g7-panel h3{color:#f2f6ff!important;}
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .form-control,
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .form-select{background:#0c1b30!important;border-color:#304765!important;color:#f1f6ff!important;}
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .table{--bs-table-bg:#102139!important;--bs-table-color:#edf4ff!important;--bs-table-border-color:#29415f!important;}
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .table th{background:#0d1d31!important;color:#9dafc5!important;}
html[data-resolved-theme="dark"] .g7-ref-dashboard-shell .table td{color:#dce7f7!important;}

html[data-resolved-theme="dark"] body.g7-ref-public{background:#081421!important;color:#eef4ff!important;}
html[data-resolved-theme="dark"] .g7-ref-header{background:#09162a!important;border-bottom-color:#20344c!important;}
html[data-resolved-theme="dark"] .g7-ref-header .g7-ref-brand,
html[data-resolved-theme="dark"] .g7-ref-header .g7-ref-drop>a,
html[data-resolved-theme="dark"] .g7-ref-header .g7-ref-contact-link,
html[data-resolved-theme="dark"] .g7-ref-header .g7-ref-login{color:#eaf2ff!important;}
html[data-resolved-theme="dark"] .g7-ref-header .g7-ref-login,
html[data-resolved-theme="dark"] .g7-ref-public-theme{background:#102139!important;border-color:#2d4260!important;}
html[data-resolved-theme="dark"] .g7-ref-help-hero,
html[data-resolved-theme="dark"] .g7-ref-faq-section,
html[data-resolved-theme="dark"] .g7-ref-how-section,
html[data-resolved-theme="dark"] .g7-ref-final-cta,
html[data-resolved-theme="dark"] .g7-ref-common-section,
html[data-resolved-theme="dark"] .g7-ref-contact-hero,
html[data-resolved-theme="dark"] .g7-ref-contact-form-section,
html[data-resolved-theme="dark"] .g7-ref-legal-page{background:#081421!important;color:#eef4ff!important;}
html[data-resolved-theme="dark"] .g7-ref-help-hero h1,
html[data-resolved-theme="dark"] .g7-ref-section-heading h2,
html[data-resolved-theme="dark"] .g7-ref-how-head h2,
html[data-resolved-theme="dark"] .g7-ref-final-cta h2{color:#f2f6ff!important;}
html[data-resolved-theme="dark"] .g7-ref-soft-section{background:#0b1929!important;border-color:#20364e!important;}
html[data-resolved-theme="dark"] .g7-ref-info-three article,
html[data-resolved-theme="dark"] .g7-ref-faq-list details,
html[data-resolved-theme="dark"] .g7-ref-common-grid>a,
html[data-resolved-theme="dark"] .g7-ref-contact-card,
html[data-resolved-theme="dark"] .g7-ref-form-card{background:#102139!important;border-color:#29415f!important;color:#eef4ff!important;}

/* ---------------------------------------------------------------------
   RESPONSIVIDADE
   --------------------------------------------------------------------- */
@media (max-width:1199px){
  .g7-ref-auth-main{padding-left:clamp(50px,6.5vw,82px)!important;padding-right:40px!important;}
  .g7-ref-nav{gap:13px!important;}
  .g7-ref-header-row{gap:17px!important;}
  .g7-ref-contact-link{display:none!important;}
  .g7-ref-super-kpis{grid-template-columns:repeat(3,1fr)!important;}
}

@media (max-width:991.98px){
  .g7-client-sidebar{width:274px!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:20px 0 45px rgba(4,14,35,.22)!important;}
  body.g7-dashboard-menu-open .g7-client-sidebar,
  .g7-client-sidebar.is-open{transform:translateX(0)!important;}
  .g7-client-dashboard-main{margin-left:0!important;width:100%!important;}
  .g7-sidebar-backdrop{display:block!important;position:fixed!important;inset:0!important;background:rgba(2,12,30,.50)!important;z-index:105!important;opacity:0!important;visibility:hidden!important;transition:.2s ease!important;}
  body.g7-dashboard-menu-open .g7-sidebar-backdrop,
  .g7-client-sidebar.is-open~.g7-sidebar-backdrop{opacity:1!important;visibility:visible!important;}
  .g7-client-topbar{padding:0 16px!important;height:70px!important;min-height:70px!important;}
  .g7-dashboard-content{padding:16px 13px 28px!important;}
  .g7-ref-auth-shell{grid-template-columns:1fr!important;}
  .g7-ref-auth-art{min-height:310px!important;height:310px!important;}
  .g7-ref-auth-copy{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;padding:45px 40px!important;}
  .g7-ref-brand-auth{margin-bottom:31px!important;}
  .g7-ref-auth-copy h2{font-size:28px!important;margin:15px 0 10px!important;}
  .g7-ref-auth-bars{margin-top:28px!important;}
  .g7-ref-auth-main{padding:38px 22px 46px!important;justify-content:center!important;}
  .g7-ref-nav{display:none!important;}
  .g7-ref-mobile-menu{display:inline-flex!important;align-items:center!important;justify-content:center!important;}
  .g7-ref-header-actions .g7-ref-login{display:none!important;}
}

@media (min-width:992px){
  .g7-client-sidebar.is-collapsed{width:84px!important;}
  .g7-client-sidebar.is-collapsed+.g7-client-dashboard-main{margin-left:84px!important;width:calc(100% - 84px)!important;}
  .g7-client-sidebar.is-collapsed .g7-sidebar-brand .g7-brand span:last-child,
  .g7-client-sidebar.is-collapsed .g7-client-sidebar-nav a span,
  .g7-client-sidebar.is-collapsed .g7-nav-section,
  .g7-client-sidebar.is-collapsed .g7-context-card,
  .g7-client-sidebar.is-collapsed .g7-help-card div,
  .g7-client-sidebar.is-collapsed .g7-help-card>i,
  .g7-client-sidebar.is-collapsed .g7-sidebar-footer{display:none!important;}
  .g7-client-sidebar.is-collapsed .g7-sidebar-brand{padding-inline:10px!important;justify-content:center!important;}
  .g7-client-sidebar.is-collapsed .g7-sidebar-collapse{position:absolute!important;right:-15px!important;top:27px!important;background:#fff!important;color:#385778!important;border-color:#d6e0e8!important;box-shadow:0 5px 15px rgba(17,42,75,.12)!important;}
  .g7-client-sidebar.is-collapsed .g7-client-sidebar-nav a{justify-content:center!important;padding:0!important;}
  .g7-client-sidebar.is-collapsed .g7-client-sidebar-nav a.active:before{left:-14px!important;}
  .g7-client-sidebar.is-collapsed .g7-help-card{grid-template-columns:1fr!important;justify-items:center!important;padding:9px!important;}
}

@media (max-width:767.98px){
  .g7-ref-shell{width:min(100% - 28px,1180px)!important;}
  .g7-ref-header{height:64px!important;}
  .g7-ref-header-row{height:64px!important;grid-template-columns:auto 1fr auto!important;}
  .g7-ref-brand strong{font-size:13.5px!important;}
  .g7-ref-brand-box{width:30px!important;height:30px!important;}
  .g7-ref-header-actions .g7-ref-public-theme{display:none!important;}
  .g7-ref-header-actions .g7-ref-primary{min-height:34px!important;padding:0 11px!important;font-size:10px!important;}
  .g7-ref-help-hero{padding:50px 0 58px!important;}
  .g7-ref-help-hero h1{font-size:31px!important;}
  .g7-ref-help-hero p{font-size:13px!important;}
  .g7-ref-info-three,.g7-ref-common-grid,.g7-ref-how-grid{grid-template-columns:1fr!important;}
  .g7-ref-footer-grid{grid-template-columns:1fr!important;gap:27px!important;}
  .g7-ref-footer-bottom{flex-direction:column!important;gap:8px!important;}
  .g7-ref-user-home-head,.g7-ref-page-head,.g7-ref-super-head{flex-direction:column!important;align-items:flex-start!important;}
  .g7-ref-page-head h1,.g7-ref-user-home-head h1,.g7-ref-super-head h1,.g7-ref-dashboard-shell .g7-page-heading h1{font-size:25px!important;}
  .g7-ref-dash-card{padding:17px!important;border-radius:13px!important;}
  .g7-ref-superadmin{padding:17px!important;}
  .g7-ref-dashboard-shell .g7-panel{padding:15px!important;}
  .g7-ref-user-home{padding:17px!important;}
  .g7-ref-next-step{grid-template-columns:40px 1fr!important;}
  .g7-ref-next-step>a{grid-column:1/-1!important;justify-self:start!important;}
  .g7-ref-case-list>a{grid-template-columns:1fr auto!important;}
  .g7-ref-case-list>a>span{grid-column:1/2!important;}
  .g7-ref-user-shortcuts{grid-template-columns:1fr!important;}
  .g7-ref-case-summary{grid-template-columns:1fr!important;}
  .g7-ref-case-toolbar{flex-direction:column!important;}
  .g7-ref-case-toolbar>label{width:100%!important;}
  .g7-ref-filter-pills{overflow:auto!important;padding-bottom:2px!important;}
  .g7-ref-case-row.head{display:none!important;}
  .g7-ref-case-row{grid-template-columns:1fr auto!important;gap:7px!important;}
  .g7-ref-case-row>div:nth-child(2){grid-column:1/2!important;}
  .g7-ref-case-row>div:nth-child(3){grid-column:2/3!important;grid-row:1/2!important;}
  .g7-ref-case-row>div:nth-child(4){display:none!important;}
  .g7-ref-case-row>div:nth-child(5){grid-column:1/-1!important;justify-content:flex-end!important;}
  .g7-ref-analysis-head{flex-direction:column!important;align-items:flex-start!important;}
  .g7-ref-analysis-stats{width:100%!important;}
  .g7-ref-analysis-lower{grid-template-columns:1fr!important;}
  .g7-ref-super-columns{grid-template-columns:1fr!important;}
  .g7-ref-super-kpis{grid-template-columns:1fr 1fr!important;}
  .g7-topbar-greeting>div{display:none!important;}
  .g7-user-menu>div{display:none!important;}
}

@media (max-width:520px){
  .g7-ref-auth-art{min-height:265px!important;height:265px!important;}
  .g7-ref-auth-copy{padding:34px 27px!important;}
  .g7-ref-brand-auth{margin-bottom:24px!important;}
  .g7-ref-auth-copy h2{font-size:25px!important;}
  .g7-ref-auth-copy p{font-size:11.5px!important;}
  .g7-ref-auth-bars{margin-top:23px!important;}
  .g7-ref-auth-main{padding:30px 18px 40px!important;}
  .g7-ref-auth-heading h1{font-size:26px!important;}
  .g7-ref-auth-benefits{gap:7px 12px!important;}
  .g7-ref-auth-benefits span{white-space:normal!important;}
  .g7-ref-super-kpis{grid-template-columns:1fr!important;}
  .g7-ref-header-actions .g7-ref-primary{font-size:0!important;width:38px!important;padding:0!important;}
  .g7-ref-header-actions .g7-ref-primary:after{content:"→"!important;font-size:15px!important;}
}

/* =====================================================================
   Ajeita AI — Finalização funcional v17
   Componentes adicionados ao fechamento do produto: OAuth, onboarding,
   casos, áudio, RBAC, white label e gestão operacional.
   ===================================================================== */
:root{--g7-brand-primary:#0a1f52;--g7-brand-secondary:#2477f3;--g7-brand-background:#fff;--g7-brand-text:#101828;}
body.g7-ref-public,body.g7-ref-auth-body,body.g7-ref-dashboard{--bs-primary:var(--g7-brand-secondary);--bs-primary-rgb:36,119,243;}
.btn-primary,.g7-ref-primary,.g7-ref-primary-block{background:var(--g7-brand-secondary)!important;border-color:var(--g7-brand-secondary)!important;}
.btn-outline-primary{color:var(--g7-brand-secondary)!important;border-color:color-mix(in srgb,var(--g7-brand-secondary) 48%,#fff)!important;}
.btn-outline-primary:hover{color:#fff!important;background:var(--g7-brand-secondary)!important;border-color:var(--g7-brand-secondary)!important;}
.g7-client-sidebar,.g7-premium-sidebar{background:linear-gradient(180deg,color-mix(in srgb,var(--g7-brand-primary) 96%,#000),var(--g7-brand-primary))!important;}
body.g7-ref-public{background:var(--g7-brand-background)!important;color:var(--g7-brand-text)!important;}

.g7-google-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:42px!important;border:1px solid #d8e0e8!important;border-radius:8px!important;background:#fff!important;color:#243043!important;font-size:11.5px!important;font-weight:680!important;text-decoration:none!important;box-shadow:0 3px 12px rgba(31,55,86,.035)!important;}
.g7-google-button:hover{border-color:#bfcbd8!important;background:#f9fbfd!important;color:#101828!important;}
.g7-google-button i{font-size:14px!important;color:#3168cf!important;}
.g7-auth-divider{display:flex!important;align-items:center!important;gap:10px!important;margin:3px 0!important;color:#8b96a5!important;font-size:9.5px!important;text-transform:uppercase!important;letter-spacing:.08em!important;}
.g7-auth-divider:before,.g7-auth-divider:after{content:"";height:1px;background:#e0e6ec;flex:1;}

.g7-sidebar-plan{margin:12px 15px 4px;padding:12px 13px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.07);display:grid;gap:2px;color:#fff;}
.g7-sidebar-plan small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.58);}
.g7-sidebar-plan strong{font-size:12px;font-weight:750;}
.g7-sidebar-plan span{font-size:10px;color:rgba(255,255,255,.72);}
.g7-client-sidebar.is-collapsed .g7-sidebar-plan{display:none!important;}

.g7-onboarding{position:fixed;right:24px;bottom:24px;z-index:1040;width:min(350px,calc(100vw - 32px));padding:18px 19px;border:1px solid #d8e5f4;border-radius:15px;background:#fff;box-shadow:0 18px 48px rgba(13,42,79,.17);}
.g7-onboarding>span{display:block;color:var(--g7-brand-secondary);font-size:9px;font-weight:850;letter-spacing:.13em;margin-bottom:5px;}
.g7-onboarding>strong{display:block;color:#172338;font-size:14px;line-height:1.3;margin-right:24px;}
.g7-onboarding>p{margin:7px 0 13px;color:#66758a;font-size:11px;line-height:1.55;}
.g7-onboarding>div{display:flex;gap:8px;justify-content:flex-end;}
.g7-onboarding-close{position:absolute;right:10px;top:9px;border:0;background:transparent;color:#8896a8;font-size:19px;line-height:1;}

.g7-case-advanced-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(130px,1fr)) auto;gap:9px;align-items:end;margin:16px 0;}
.g7-case-search{position:relative;}.g7-case-search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8492a5;}.g7-case-search input{padding-left:34px!important;}
.g7-case-detail{display:grid;gap:16px;}
.g7-case-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid #dce4ec;border-radius:15px;background:#fff;box-shadow:var(--g7v16-shadow);}
.g7-case-detail-head h1{margin:4px 0 5px;font-size:25px;letter-spacing:-.035em;font-weight:760;color:#162235;}.g7-case-detail-head p{margin:0;color:#718096;font-size:11.5px;}
.g7-case-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.g7-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px;}.g7-card-heading h2{margin:0!important;font-size:14px!important;}.g7-card-heading p{margin:4px 0 0;color:#718096;font-size:10.5px;}
.g7-prewrap{white-space:pre-wrap;word-break:break-word;}
.g7-chat-list{display:grid;gap:10px;max-height:560px;overflow:auto;padding-right:3px;}
.g7-chat-message{max-width:86%;padding:11px 13px;border-radius:12px;background:#f3f6f9;border:1px solid #e0e7ee;color:#29374a;font-size:11.5px;line-height:1.55;}
.g7-chat-message.is-user{margin-left:auto;background:#edf5ff;border-color:#d2e4fb;}.g7-chat-message.is-assistant{margin-right:auto;}
.g7-chat-meta{display:flex;align-items:center;gap:7px;margin-bottom:5px;color:#748399;font-size:9px;font-weight:650;}.g7-chat-meta strong{color:#43536a;}
.g7-chat-compose{display:grid;gap:9px;margin-top:13px;}.g7-chat-compose textarea{min-height:92px;}
.g7-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.g7-channel-item{padding:11px 12px;border:1px solid #dde5ed;border-radius:10px;background:#fafbfd;display:grid;gap:3px;}.g7-channel-item strong{font-size:11px;color:#233249}.g7-channel-item a,.g7-channel-item span{font-size:10px;word-break:break-word;}
.g7-detail-list{display:grid;gap:0;}.g7-detail-list>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #edf1f5;font-size:10.5px;}.g7-detail-list>div:last-child{border-bottom:0}.g7-detail-list span{color:#718096}.g7-detail-list strong{text-align:right;color:#253349;}
.g7-document-version{padding:13px 0;border-top:1px solid #e8edf2;}.g7-document-version:first-of-type{border-top:0;}.g7-document-version header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;}.g7-document-version header strong{font-size:11.5px;}.g7-placeholder-list{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0;}.g7-placeholder-list button{border:1px solid #cadcf1;background:#f1f7ff;color:#245fae;border-radius:999px;padding:4px 8px;font-size:9px;}
.g7-file-row,.g7-audio-row,.g7-history-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e9eef3;}.g7-file-row:first-child,.g7-audio-row:first-child,.g7-history-row:first-child{border-top:0}.g7-file-row>div,.g7-audio-row>div,.g7-history-row>div{min-width:0}.g7-file-row strong,.g7-audio-row strong,.g7-history-row strong{display:block;color:#26354b;font-size:10.8px;}.g7-file-row small,.g7-audio-row small,.g7-history-row small{display:block;color:#7b899b;font-size:9.5px;}.g7-audio-row audio{width:min(300px,100%);height:34px;margin-top:6px;}
.g7-empty-mini{padding:14px;border:1px dashed #d6dfe8;border-radius:10px;background:#fafbfd;color:#7b8798;font-size:10.5px;text-align:center;}

.g7-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin-top:12px;}.g7-permission-item{display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border:1px solid #e0e7ee;border-radius:10px;background:#fbfcfd;}.g7-permission-item input{margin-top:2px}.g7-permission-item strong{display:block;font-size:10.5px;color:#26354a}.g7-permission-item small{display:block;color:#7d8999;font-size:9.2px;margin-top:2px;}

@media(max-width:1199px){.g7-case-advanced-filters{grid-template-columns:repeat(3,minmax(0,1fr));}.g7-case-search{grid-column:span 2;}}
@media(max-width:767.98px){.g7-case-advanced-filters{grid-template-columns:1fr;}.g7-case-search{grid-column:auto}.g7-case-detail-head{flex-direction:column;padding:16px}.g7-case-head-actions{justify-content:flex-start}.g7-chat-message{max-width:95%}.g7-channel-grid,.g7-permission-grid{grid-template-columns:1fr}.g7-onboarding{right:16px;bottom:16px}.g7-sidebar-plan{margin-inline:13px}}

/* v17 — separação administrativa de planos */
.g7-plan-scope-section{margin:0 0 28px}.g7-plan-scope-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 14px;padding:0 2px}.g7-plan-scope-heading h2{font-size:18px;margin:6px 0 2px;color:#101828}.g7-plan-scope-heading p{margin:0;color:#667085;font-size:13px}.g7-plan-scope-heading>strong{min-width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eef4ff;color:#175cd3;font-size:14px}

/* v17 — agrupamento dos arquivos do caso */
.g7-file-section-label{margin:14px 0 7px;font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#71809a}
.g7-file-section-label:first-of-type{margin-top:2px}
.g7-file-row span a{font-size:.74rem;font-weight:700;text-decoration:none}

/* =====================================================================
   Ajeita AI — Especificação Geral v18 (16/08/2026)
   Camada consolidada: tipografia, tema, busca, acessibilidade e responsivo.
   ===================================================================== */
:root{
  --surface:#fff;--surface-secondary:#f7f9fc;--surface-tertiary:#eef3f9;
  --text-primary:#101828;--text-secondary:#667085;--border:#d9e0ea;
  --input-bg:#fff;--hover:#f3f6fb;--focus:#2477f3;
}
html[data-resolved-theme="dark"],html[data-theme="dark"]{
  --surface:#101a31;--surface-secondary:#0c1529;--surface-tertiary:#17233e;
  --text-primary:#f5f8ff;--text-secondary:#aebbd1;--border:#293855;
  --input-bg:#121f38;--hover:#182844;--focus:#6da4ff;
}
.g7-ref-eyebrow,.g7-kicker{font-size:11px!important;font-weight:700!important;letter-spacing:.16em!important;text-transform:uppercase}
.g7-ref-main p,.g7-ref-section p{font-size:16px;line-height:1.58}
.g7-ref-page-hero h1,.g7-ref-detail-hero h1{font-size:clamp(42px,4vw,52px)!important;line-height:1.09!important;font-weight:800!important;max-width:820px}
.g7-ref-section-heading h2,.g7-admin-page .g7-page-heading h1{font-weight:800;line-height:1.15}
.g7-ref-section-heading h2{font-size:clamp(28px,3vw,36px)}
.g7-admin-page .g7-page-heading h1{font-size:clamp(30px,3vw,36px)}
.g7-admin-page .g7-page-heading p{font-size:15px;color:var(--text-secondary)}
.g7-panel h2,.g7-panel h3{font-weight:700}
.g7-admin-page table thead th{font-size:11.5px!important;font-weight:700!important;letter-spacing:.04em}
.g7-admin-page table tbody td{font-size:13.5px!important}
.g7-client-sidebar-nav a,.g7-admin-sidebar a{font-size:13.5px!important}

/* busca pública */
.g7-ref-public-search,.g7-ref-public-theme{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid #d7deea;background:#fff;border-radius:10px;color:#16233c;transition:.18s ease}
.g7-ref-public-search:hover,.g7-ref-public-theme:hover{background:#f6f8fc;border-color:#bfcbe0}
.g7-ref-public-search svg,.g7-ref-public-search i{width:18px;height:18px;font-size:18px}
.g7-public-search-dialog{width:min(680px,calc(100vw - 28px));border:0;border-radius:18px;padding:0;box-shadow:0 32px 90px rgba(4,16,45,.28);background:var(--surface);color:var(--text-primary)}
.g7-public-search-dialog::backdrop{background:rgba(4,15,39,.62);backdrop-filter:blur(3px)}
.g7-search-dialog-body{padding:34px 36px 38px}.g7-search-dialog-body h2{font-size:30px;font-weight:800;margin:6px 0 8px}.g7-search-dialog-body p{color:var(--text-secondary);margin-bottom:22px}
.g7-search-dialog-close-form{position:absolute;right:14px;top:14px}.g7-search-dialog-close{width:38px;height:38px;border:0;border-radius:10px;background:var(--surface-secondary);color:var(--text-primary)}
.g7-public-search-field{display:flex;align-items:center;gap:10px;position:relative}.g7-public-search-field>i,.g7-public-search-field>.g7-icon-svg{position:absolute;left:16px;width:18px;height:18px;z-index:2;color:#6c7890}.g7-public-search-field input{height:48px;padding-left:45px;background:var(--input-bg);color:var(--text-primary);border-color:var(--border)}.g7-public-search-field .g7-ref-primary{height:48px;white-space:nowrap;border:0}
.g7-search-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.g7-search-shortcuts a{font-size:13px;padding:8px 11px;border:1px solid var(--border);border-radius:999px;color:var(--text-primary);text-decoration:none;background:var(--surface-secondary)}
.g7-search-page-hero .g7-public-search-page-form{max-width:760px;margin-top:26px}.g7-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.g7-search-result{display:block;padding:22px;border:1px solid var(--border);border-radius:14px;background:var(--surface);text-decoration:none;color:var(--text-primary);transition:.18s ease}.g7-search-result:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(17,36,72,.08);border-color:#b8c7de}.g7-search-result-type{font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#2477f3}.g7-search-result h3{font-size:17px;font-weight:750;margin:7px 0}.g7-search-result p{font-size:13.5px;color:var(--text-secondary);margin:0 0 12px}.g7-search-result>span:last-child{font-size:13px;font-weight:700;color:#1769db}

/* cartões de situações por categoria */
.g7-common-grid,.g7-situations-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.g7-common-card,.g7-situation-card{padding:20px!important;border-radius:11px!important;border:1px solid var(--border)!important;box-shadow:0 4px 14px rgba(18,39,79,.035)!important;background:var(--surface)!important;color:var(--text-primary)!important}
.g7-common-card h3,.g7-situation-card h3{font-size:15px!important;font-weight:700!important}.g7-common-card p,.g7-situation-card p{font-size:13px!important;line-height:1.46!important;color:var(--text-secondary)!important}.g7-common-card i,.g7-common-card svg,.g7-situation-card i,.g7-situation-card svg{width:19px;height:19px;font-size:19px}

/* sidebar: sem linha/risco no item ativo */
.g7-client-sidebar-nav a.active,.g7-admin-sidebar a.active{height:42px!important;min-height:42px!important;border:0!important;border-top:0!important;border-bottom:0!important;outline:0!important;box-shadow:none!important;border-radius:9px!important;padding-left:13px!important;padding-right:13px!important;font-weight:700!important;background:#2477f3!important;color:#fff!important;position:relative!important}
.g7-client-sidebar-nav a.active::before,.g7-client-sidebar-nav a.active::after,.g7-admin-sidebar a.active::before,.g7-admin-sidebar a.active::after{display:none!important;content:none!important;border:0!important;box-shadow:none!important}
.g7-client-sidebar-nav a svg,.g7-client-sidebar-nav a i,.g7-admin-sidebar a svg,.g7-admin-sidebar a i{width:17px!important;height:17px!important;font-size:17px!important}

/* tema global administrativo */
.g7-admin-page,.g7-dashboard-content{color:var(--text-primary)}
.g7-admin-page .g7-panel,.g7-admin-page .card,.g7-admin-page .modal-content,.g7-admin-page .dropdown-menu,.g7-admin-page .g7-table-wrap,.g7-admin-page .g7-admin-table-wrap{background:var(--surface)!important;color:var(--text-primary)!important;border-color:var(--border)!important}
.g7-admin-page .table,.g7-admin-page table{--bs-table-bg:var(--surface)!important;--bs-table-color:var(--text-primary)!important;--bs-table-striped-bg:var(--surface-secondary)!important;--bs-table-striped-color:var(--text-primary)!important;--bs-table-hover-bg:var(--hover)!important;--bs-table-hover-color:var(--text-primary)!important;color:var(--text-primary)!important;border-color:var(--border)!important}
.g7-admin-page table th,.g7-admin-page table td{background-color:transparent!important;color:var(--text-primary)!important;border-color:var(--border)!important}
.g7-admin-page table thead th{background:var(--surface-secondary)!important;color:var(--text-secondary)!important}
.g7-admin-page .form-control,.g7-admin-page .form-select,.g7-admin-page textarea,.g7-admin-page input{background:var(--input-bg)!important;color:var(--text-primary)!important;border-color:var(--border)!important}.g7-admin-page .form-control::placeholder{color:var(--text-secondary)!important;opacity:.72}.g7-admin-page .form-control:focus,.g7-admin-page .form-select:focus{border-color:var(--focus)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 18%,transparent)!important}.g7-admin-page .text-muted,.g7-admin-page small{color:var(--text-secondary)!important}
.g7-admin-page .modal-header,.g7-admin-page .modal-footer{border-color:var(--border)!important}.g7-admin-page .btn-close{filter:var(--bs-btn-close-white-filter,none)}html[data-resolved-theme="dark"] .g7-admin-page .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}
.g7-admin-page tbody tr:nth-child(even){background:var(--surface-secondary)!important}.g7-admin-page tbody tr:hover{background:var(--hover)!important}
.g7-admin-page .alert{border-color:var(--border)}

/* casos: busca/filtros proporcionais */
.g7-case-advanced-filters,.g7-case-filters{display:grid!important;grid-template-columns:minmax(260px,2.25fr) repeat(4,minmax(145px,1fr)) 92px auto!important;gap:10px!important;align-items:end!important;width:100%}
.g7-case-advanced-filters .form-control,.g7-case-advanced-filters .form-select,.g7-case-filters .form-control,.g7-case-filters .form-select{height:44px!important;min-width:0!important}
.g7-case-search-field{position:relative}.g7-case-search-field>i,.g7-case-search-field>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--text-secondary);pointer-events:none}.g7-case-search-field input{padding-left:42px!important}
.g7-case-filter-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.g7-case-filter-actions .btn-primary{width:92px}

/* estados */
.g7-empty-state,.g7-loading-state,.g7-error-state{padding:34px 24px;text-align:center;border:1px dashed var(--border);border-radius:14px;background:var(--surface-secondary);color:var(--text-secondary)}.g7-empty-state i,.g7-empty-state svg{width:26px;height:26px;font-size:26px;margin-bottom:8px;color:#6c86ad}.g7-empty-state h3{font-size:16px;color:var(--text-primary);font-weight:700;margin:4px 0}.g7-empty-state p{font-size:13.5px;margin:0 0 14px}

/* Google auth */
.g7-google-button{height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;border-color:#d7dce4!important;background:#fff!important;color:#202124!important;font-size:14px!important;font-weight:600!important;border-radius:8px!important}.g7-google-button:hover{background:#f8f9fa!important;color:#202124!important}.g7-google-icon{width:19px;height:19px;flex:0 0 auto}.g7-auth-divider span{text-transform:none!important}

/* contraste legal */
.g7-legal-hero,.g7-ref-legal-hero{color:#fff!important}.g7-legal-hero h1,.g7-legal-hero p,.g7-legal-hero small,.g7-ref-legal-hero h1,.g7-ref-legal-hero p,.g7-ref-legal-hero small{color:#f7f9ff!important}.g7-legal-version{background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.28)!important}

/* acessibilidade */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 44%,transparent)!important;outline-offset:2px!important}.g7-ref-primary:focus-visible,.g7-ref-secondary:focus-visible{outline-color:#89afff!important}
[aria-busy="true"]{cursor:progress;opacity:.78}

/* responsividade */
@media(max-width:1280px){.g7-case-advanced-filters,.g7-case-filters{grid-template-columns:minmax(250px,2fr) repeat(2,minmax(160px,1fr)) 92px auto}.g7-case-advanced-filters>*:nth-child(4),.g7-case-advanced-filters>*:nth-child(5),.g7-case-filters>*:nth-child(4),.g7-case-filters>*:nth-child(5){grid-row:2}}
@media(max-width:991.98px){.g7-ref-page-hero h1,.g7-ref-detail-hero h1{font-size:clamp(38px,6vw,44px)!important}.g7-common-grid,.g7-situations-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.g7-search-results{grid-template-columns:1fr}.g7-case-advanced-filters,.g7-case-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.g7-case-advanced-filters>*:first-child,.g7-case-filters>*:first-child{grid-column:1/-1}.g7-case-advanced-filters>*,.g7-case-filters>*{grid-row:auto!important}.g7-case-filter-actions{grid-column:1/-1}.g7-admin-page .table-responsive,.g7-admin-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media(max-width:767.98px){.g7-ref-page-hero h1,.g7-ref-detail-hero h1{font-size:clamp(30px,9vw,36px)!important}.g7-ref-section-heading h2{font-size:clamp(24px,7vw,30px)}.g7-common-grid,.g7-situations-grid{grid-template-columns:1fr!important}.g7-search-dialog-body{padding:30px 20px 24px}.g7-public-search-field{flex-wrap:wrap}.g7-public-search-field input{flex:1 1 100%}.g7-public-search-field .g7-ref-primary{width:100%}.g7-case-advanced-filters,.g7-case-filters{grid-template-columns:1fr!important}.g7-case-advanced-filters>*,.g7-case-filters>*{grid-column:1!important}.g7-case-filter-actions{flex-wrap:wrap}.g7-case-filter-actions .btn{flex:1 1 130px}.g7-admin-page{max-width:100%;overflow-x:hidden}.g7-admin-page .modal-dialog{margin:10px}.g7-admin-page .modal-content{max-height:calc(100vh - 20px);overflow:auto}}

/* =====================================================================
   Ajeita AI v18.1 — ajustes finais da especificação consolidada
   ===================================================================== */

/* Hero e cards das páginas segmentadas: medidas da especificação. */
body.g7-ref-public .g7-ref-category-copy h1{font-size:clamp(42px,4.25vw,52px)!important;line-height:1.09!important;font-weight:800!important;letter-spacing:-.035em!important;max-width:820px}
body.g7-ref-public .g7-ref-category-copy p{font-size:16px!important;line-height:1.6!important;max-width:600px!important}
body.g7-ref-public .g7-ref-category-copy .g7-ref-primary,
body.g7-ref-public .g7-ref-category-copy .g7-ref-outline{min-height:46px!important;border-radius:23px!important;font-size:14px!important;font-weight:700!important}
body.g7-ref-public .g7-ref-evidence-card{width:min(100%,380px)!important;padding:24px!important}
body.g7-ref-public .g7-ref-common-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
body.g7-ref-public .g7-ref-common-grid>a{padding:20px!important;border-radius:11px!important;min-height:138px!important;background:var(--surface)!important;color:var(--text-primary)!important}
body.g7-ref-public .g7-ref-common-grid>a h3{font-size:15px!important;font-weight:700!important;color:var(--text-primary)!important}
body.g7-ref-public .g7-ref-common-grid>a p{font-size:13px!important;line-height:1.46!important;color:var(--text-secondary)!important}
body.g7-ref-public .g7-ref-common-grid>a i{font-size:19px!important}

/* Termos e Privacidade: contraste do header azul-marinho, inclusive contra regras antigas. */
body.g7-ref-public .g7-ref-legal-card>header{background:linear-gradient(135deg,#061747,#0d2b61)!important;color:#fff!important}
body.g7-ref-public .g7-ref-legal-card>header h1,
body.g7-ref-public .g7-ref-legal-card>header p,
body.g7-ref-public .g7-ref-legal-card>header span,
body.g7-ref-public .g7-ref-legal-card>header aside,
body.g7-ref-public .g7-ref-legal-card>header aside strong{color:#f8fbff!important}
body.g7-ref-public .g7-ref-legal-card>header p{opacity:.88!important}
body.g7-ref-public .g7-ref-legal-card>header aside{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.23)!important}

/* Componentes Bootstrap que costumam vazar branco no dark mode. */
.g7-admin-page .accordion-item,.g7-admin-page .accordion-button,.g7-admin-page .list-group-item,.g7-admin-page .nav-tabs,.g7-admin-page .offcanvas,.g7-admin-page .popover,.g7-admin-page .tooltip-inner{background:var(--surface)!important;color:var(--text-primary)!important;border-color:var(--border)!important}
.g7-admin-page .accordion-button:not(.collapsed){background:var(--surface-secondary)!important;color:var(--text-primary)!important;box-shadow:inset 0 calc(-1 * var(--bs-border-width)) 0 var(--border)!important}
.g7-admin-page .accordion-button::after{filter:none}html[data-resolved-theme="dark"] .g7-admin-page .accordion-button::after{filter:invert(1)}
.g7-admin-page .badge.text-bg-light,.g7-admin-page .bg-white,.g7-admin-page .bg-light{background:var(--surface-secondary)!important;color:var(--text-primary)!important}
.g7-admin-page .btn-light{background:var(--surface-secondary)!important;color:var(--text-primary)!important;border-color:var(--border)!important}
.g7-admin-page .btn-light:hover{background:var(--hover)!important}
.g7-admin-page .dropdown-item{color:var(--text-primary)!important}.g7-admin-page .dropdown-item:hover,.g7-admin-page .dropdown-item:focus{background:var(--hover)!important;color:var(--text-primary)!important}
.g7-admin-page .form-check-input{background-color:var(--input-bg)!important;border-color:var(--border)!important}.g7-admin-page .form-check-input:checked{background-color:#2477f3!important;border-color:#2477f3!important}

/* Leads, documentos, SEO e demais formulários operacionais. */
.g7-lead-filters{display:grid;grid-template-columns:minmax(230px,2fr) repeat(4,minmax(135px,1fr)) auto;gap:10px;align-items:end}
.g7-document-toolbar,.g7-seo-toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:space-between}
.g7-document-preview,.g7-email-preview{border:1px solid var(--border);border-radius:10px;background:var(--surface-secondary);overflow:hidden}
.g7-email-preview iframe{display:block;width:100%;min-height:240px;border:0;background:#fff}
.g7-admin-page code,.g7-admin-page pre{color:var(--text-primary)}
.g7-panel .table-responsive{border-radius:10px}

/* Página pública Empresas. */
.g7-company-flow-card{padding:24px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.08);color:#fff;backdrop-filter:blur(8px)}
.g7-company-flow-card>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.g7-company-flow-card b{padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.12);font-size:13px}.g7-company-flow-card small{display:block;margin-top:15px;color:#dbe5f4}
.g7-company-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.g7-company-steps article,.g7-company-role,.g7-company-feature{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:20px;color:var(--text-primary)}
.g7-company-role-grid,.g7-company-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.g7-company-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.g7-company-role h3,.g7-company-feature h3,.g7-company-steps h3{font-size:15px;font-weight:750}.g7-company-role p,.g7-company-feature p,.g7-company-steps p{font-size:13px;line-height:1.55;color:var(--text-secondary)}

/* Estados vazios de tabelas sem “buraco” visual. */
.g7-admin-page tbody:empty::after{content:"Nenhum registro encontrado.";display:block;padding:24px;color:var(--text-secondary)}

/* Mobile: cards segmentados em uma coluna, sem overflow da página inteira. */
@media(max-width:1199px){.g7-lead-filters{grid-template-columns:minmax(240px,2fr) repeat(2,minmax(150px,1fr)) auto}.g7-company-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991.98px){body.g7-ref-public .g7-ref-category-copy h1{font-size:clamp(38px,6vw,44px)!important}.g7-company-role-grid,.g7-company-feature-grid{grid-template-columns:1fr 1fr}.g7-lead-filters{grid-template-columns:1fr 1fr}.g7-lead-filters>*:first-child{grid-column:1/-1}}
@media(max-width:767.98px){body.g7-ref-public .g7-ref-category-copy h1{font-size:clamp(30px,9vw,36px)!important}body.g7-ref-public .g7-ref-common-grid{grid-template-columns:1fr!important}body.g7-ref-public .g7-ref-evidence-card{width:100%!important}.g7-company-steps,.g7-company-role-grid,.g7-company-feature-grid,.g7-lead-filters{grid-template-columns:1fr}.g7-lead-filters>*{grid-column:1!important}.g7-company-flow-card{margin-top:18px}.g7-admin-page,.g7-ref-dashboard-shell,body{max-width:100%;overflow-x:hidden}.g7-admin-page .table-responsive{overflow-x:auto!important}}


/* =====================================================================
   Ajeita AI v18.2 — fechamento visual/QA da especificação
   ===================================================================== */
/* Tipografia global da vitrine institucional. Landings segmentadas mantêm
   o range próprio definido no bloco v18.1 acima. */
body.g7-ref-public .g7-ref-help-hero h1,
body.g7-ref-public .g7-ref-contact-hero h1,
body.g7-ref-public .g7-ref-company-hero h1,
body.g7-ref-public .g7-search-page-hero h1{font-size:clamp(46px,4.6vw,54px)!important;line-height:1.09!important;font-weight:800!important;letter-spacing:-.035em!important;max-width:820px}
body.g7-ref-public .g7-ref-help-hero p,
body.g7-ref-public .g7-ref-contact-hero p,
body.g7-ref-public .g7-ref-company-hero p{font-size:16px!important;line-height:1.6!important}
body.g7-ref-public .g7-ref-section h2{font-size:clamp(28px,3vw,36px)!important;font-weight:700!important;line-height:1.15!important}
body.g7-ref-public .g7-ref-eyebrow,body.g7-ref-public .g7-kicker{font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase}

/* Dashboard: densidade tipográfica consistente entre cards e navegação. */
.g7-admin-page .g7-kpi-card small,.g7-admin-page .g7-metric-card small,.g7-ref-dashboard-shell .g7-card-title{font-size:14px!important;font-weight:700!important}
.g7-admin-page .g7-kpi-card p,.g7-admin-page .g7-metric-card p,.g7-ref-dashboard-shell .g7-card-description{font-size:13px!important;line-height:1.5!important;color:var(--text-secondary)!important}
.g7-ref-dashboard-sidebar a,.g7-ref-sidebar a{font-size:13.5px!important}

/* Notificações: metadados operacionais legíveis e responsivos. */
.g7-notification-meta{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:8px;color:var(--text-secondary);font-size:12px;line-height:1.45}
.g7-notification-meta b{color:var(--text-primary);font-weight:700}

@media(max-width:991.98px){body.g7-ref-public .g7-ref-help-hero h1,body.g7-ref-public .g7-ref-contact-hero h1,body.g7-ref-public .g7-ref-company-hero h1,body.g7-ref-public .g7-search-page-hero h1{font-size:clamp(38px,6vw,44px)!important}}
@media(max-width:767.98px){body.g7-ref-public .g7-ref-help-hero h1,body.g7-ref-public .g7-ref-contact-hero h1,body.g7-ref-public .g7-ref-company-hero h1,body.g7-ref-public .g7-search-page-hero h1{font-size:clamp(30px,9vw,36px)!important}body.g7-ref-public .g7-ref-section h2{font-size:clamp(24px,7vw,30px)!important}.g7-notification-meta{display:grid;grid-template-columns:1fr}}

/* =====================================================================
   Ajeita AI v18.3 — contrato final de tema escuro administrativo
   Sobrescreve regras históricas com #fff!important sem alterar a vitrine.
   ===================================================================== */
html[data-resolved-theme="dark"] body.g7-ref-dashboard{
  background:var(--surface-secondary)!important;color:var(--text-primary)!important;
}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-dashboard-content,
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell{
  background:var(--surface-secondary)!important;color:var(--text-primary)!important;
}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell :is(
  .g7-panel,.g7-card,.card,.g7-kpi-card,.g7-metric-card,.g7-ref-case-list,
  .g7-ref-case-summary>div,.g7-ref-case-toolbar,.g7-ref-analysis-form,
  .g7-ref-analysis-head,.g7-ref-data-card,.g7-ref-proof-box,.g7-ref-mini-stat,
  .g7-ref-next-box,.g7-ref-profile-card,.g7-ref-security-card,.g7-ref-plan-side,
  .g7-ref-plan-help,.g7-ref-support-cards article,.g7-ref-plan-grid article,
  .g7-ref-super-kpis article,.g7-ref-super-columns>section,.g7-ref-super-activity,
  .g7-ref-company-row,.g7-ref-filterbar,.g7-notification-drawer,.g7-case-detail-head,
  .g7-permission-item,.g7-onboarding,.list-group-item,.accordion-item,.accordion-button,
  .dropdown-menu,.modal-content,.offcanvas
){background:var(--surface)!important;color:var(--text-primary)!important;border-color:var(--border)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell :is(
  .g7-ref-case-toolbar>label,.g7-ref-filter-pills button,.g7-ref-inline-pills span,
  .g7-ref-user-shortcuts a,.g7-placeholder-list button,.g7-channel-item,.g7-empty-mini
){background:var(--surface-secondary)!important;color:var(--text-primary)!important;border-color:var(--border)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell :is(
  .form-control,.form-select,textarea,input:not([type="checkbox"]):not([type="radio"])
){background:var(--input-bg)!important;color:var(--text-primary)!important;border-color:var(--border)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell :is(
  h1,h2,h3,h4,h5,h6,strong,th,td,label,.modal-title,.dropdown-item,.list-group-item
){color:var(--text-primary)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell :is(
  p,small,.text-muted,.form-text,.g7-card-heading p,.g7-detail-list span
){color:var(--text-secondary)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell .table-responsive,
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell table,
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell .table{
  background:var(--surface)!important;color:var(--text-primary)!important;border-color:var(--border)!important;
  --bs-table-bg:var(--surface)!important;--bs-table-color:var(--text-primary)!important;
  --bs-table-striped-bg:var(--surface-secondary)!important;--bs-table-striped-color:var(--text-primary)!important;
  --bs-table-hover-bg:var(--hover)!important;--bs-table-hover-color:var(--text-primary)!important;
}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell table thead th{background:var(--surface-secondary)!important;color:var(--text-secondary)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell table tbody tr:nth-child(even){background:var(--surface-secondary)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell table tbody tr:hover{background:var(--hover)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell .g7-chat-message{background:var(--surface-secondary)!important;color:var(--text-primary)!important;border-color:var(--border)!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell .g7-chat-message.is-user{background:#152b4d!important;border-color:#294d78!important;}
html[data-resolved-theme="dark"] body.g7-ref-dashboard .g7-ref-dashboard-shell .g7-email-preview iframe{background:#fff!important;}

/* =====================================================================
   Ajeita AI v20 — Login Premium fiel ao mockup aprovado
   Escopo exclusivo da rota /login para não alterar cadastro/recuperação.
   ===================================================================== */
body.g7-ref-auth-body.g7-auth-login-v20{
  --g7-login-navy:#06194b;
  --g7-login-navy-deep:#04153f;
  --g7-login-blue:#1474ff;
  --g7-login-blue-2:#0866f4;
  --g7-login-text:#07162f;
  --g7-login-muted:#6f7d94;
  --g7-login-border:#d9e2ef;
  background:#fff!important;
  overflow:hidden!important;
}
body.g7-auth-login-v20 .g7-ref-auth-shell{
  min-height:100vh!important;
  grid-template-columns:48.8% 51.2%!important;
  background:#fff!important;
}
body.g7-auth-login-v20 .g7-ref-auth-art{
  min-height:100vh!important;
  background:
    radial-gradient(circle at 56% 50%,rgba(19,65,152,.30) 0%,rgba(8,33,86,.08) 37%,transparent 62%),
    radial-gradient(circle at 17% 91%,rgba(9,73,184,.12) 0%,transparent 23%),
    linear-gradient(145deg,#06184a 0%,#08225e 50%,#051745 100%)!important;
}
body.g7-auth-login-v20 .g7-ref-auth-art:after{
  background:
    radial-gradient(circle at 60% 55%,rgba(31,105,255,.05),transparent 44%),
    linear-gradient(100deg,rgba(1,8,27,.12),transparent 56%,rgba(2,12,37,.08))!important;
}
body.g7-auth-login-v20 .g7-ref-auth-rings{
  border-color:rgba(84,139,235,.34)!important;
  box-shadow:0 0 30px rgba(23,107,255,.018)!important;
}
body.g7-auth-login-v20 .g7-ref-auth-rings.r1{
  width:430px!important;height:430px!important;
  right:-60px!important;top:-78px!important;
}
body.g7-auth-login-v20 .g7-ref-auth-rings.r1:after{
  content:"";position:absolute;width:7px;height:7px;border-radius:50%;
  left:11px;top:103px;background:#2b86ff;box-shadow:0 0 17px rgba(43,134,255,.95);
}
body.g7-auth-login-v20 .g7-ref-auth-rings.r2{
  width:205px!important;height:205px!important;
  left:-76px!important;bottom:-78px!important;
}
body.g7-auth-login-v20 .g7-ref-auth-dot.d1{
  width:12px!important;height:12px!important;left:17px!important;bottom:92px!important;
  background:#ffc62e!important;box-shadow:0 0 18px rgba(255,198,46,.72)!important;
}
body.g7-auth-login-v20 .g7-ref-auth-dot.d2{
  width:9px!important;height:9px!important;right:52px!important;bottom:78px!important;
  background:#1e82ff!important;box-shadow:0 0 16px rgba(30,130,255,.85)!important;
}
body.g7-auth-login-v20 .g7-ref-auth-copy{
  left:13.1%!important;top:29.8%!important;
  width:min(510px,75%)!important;
}
body.g7-auth-login-v20 .g7-ref-brand-auth{
  display:inline-flex!important;align-items:center!important;
  margin:0 0 48px!important;gap:17px!important;text-decoration:none!important;
}
body.g7-auth-login-v20 .g7-ref-brand-auth .g7-ref-brand-box{
  width:54px!important;height:54px!important;border-radius:15px!important;
  display:grid!important;place-items:center!important;
  background:linear-gradient(135deg,#826cff 0%,#2f7af8 56%,#20a8ff 100%)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 10px 28px rgba(47,121,255,.40),0 0 20px rgba(44,149,255,.23)!important;
}
body.g7-auth-login-v20 .g7-ref-brand-auth .g7-ref-brand-box img{
  width:31px!important;height:36px!important;object-fit:contain!important;
}
body.g7-auth-login-v20 .g7-ref-brand-auth strong{
  color:#fff!important;font-size:20px!important;line-height:1!important;font-weight:760!important;
  letter-spacing:-.025em!important;text-shadow:0 1px 0 rgba(0,0,0,.08)!important;
}
body.g7-auth-login-v20 .g7-ref-auth-kicker{
  font-size:11px!important;letter-spacing:.28em!important;font-weight:850!important;color:#ffd02f!important;
}
body.g7-auth-login-v20 .g7-ref-auth-copy h2{
  margin:28px 0 20px!important;
  color:#fff!important;font-size:39px!important;line-height:1.08!important;font-weight:800!important;
  letter-spacing:-.045em!important;max-width:520px!important;
}
body.g7-auth-login-v20 .g7-ref-auth-copy p{
  color:#e0e8f6!important;font-size:15px!important;line-height:1.6!important;max-width:500px!important;
}
body.g7-auth-login-v20 .g7-ref-auth-bars{margin-top:47px!important;gap:9px!important;}
body.g7-auth-login-v20 .g7-ref-auth-bars i{height:6px!important;}
body.g7-auth-login-v20 .g7-ref-auth-bars i:nth-child(1){width:53px!important;background:#ffc838!important;}
body.g7-auth-login-v20 .g7-ref-auth-bars i:nth-child(2){width:42px!important;background:#197cff!important;}
body.g7-auth-login-v20 .g7-ref-auth-bars i:nth-child(3){width:33px!important;background:#8395af!important;}

body.g7-auth-login-v20 .g7-ref-auth-main{
  min-height:100vh!important;
  align-items:flex-start!important;justify-content:center!important;
  padding:96px 62px 56px!important;background:#fff!important;
}
body.g7-auth-login-v20 .g7-ref-auth-card.g7-auth-login-card-v20{
  width:min(560px,100%)!important;margin:0!important;
}
body.g7-auth-login-v20 .g7-login-v20{width:100%!important;}
body.g7-auth-login-v20 .g7-login-heading-v20 h1{
  margin:0 0 11px!important;color:var(--g7-login-text)!important;
  font-size:40px!important;line-height:1.08!important;font-weight:800!important;letter-spacing:-.045em!important;
}
body.g7-auth-login-v20 .g7-login-heading-v20 p{
  margin:0 0 45px!important;color:var(--g7-login-muted)!important;
  font-size:16px!important;line-height:1.55!important;font-weight:430!important;
}
body.g7-auth-login-v20 .g7-login-form-v20{
  display:grid!important;gap:31px!important;margin:0!important;
}
body.g7-auth-login-v20 .g7-login-field-v20 label{
  display:block!important;margin:0 0 10px!important;color:#0a1730!important;
  font-size:14px!important;line-height:1.3!important;font-weight:750!important;
}
body.g7-auth-login-v20 .g7-login-label-row-v20{
  align-items:flex-end!important;margin:0!important;
}
body.g7-auth-login-v20 .g7-login-label-row-v20 label{margin-bottom:10px!important;}
body.g7-auth-login-v20 .g7-login-label-row-v20 a{
  margin:0 0 10px!important;color:#0667ec!important;font-size:13px!important;font-weight:650!important;text-decoration:none!important;
}
body.g7-auth-login-v20 .g7-login-label-row-v20 a:hover{text-decoration:underline!important;}
body.g7-auth-login-v20 .g7-login-input-v20{
  position:relative!important;display:flex!important;align-items:center!important;
}
body.g7-auth-login-v20 .g7-login-input-v20 .form-control{
  height:64px!important;min-height:64px!important;width:100%!important;
  border:1px solid var(--g7-login-border)!important;border-radius:12px!important;
  background:#fff!important;color:#0e1c34!important;
  padding:0 58px 0 68px!important;
  font-family:var(--g7v16-font)!important;font-size:15px!important;font-weight:520!important;
  box-shadow:0 4px 18px rgba(16,49,88,.018)!important;
  outline:0!important;
}
body.g7-auth-login-v20 .g7-login-input-v20 .form-control::placeholder{color:#8b97aa!important;}
body.g7-auth-login-v20 .g7-login-input-v20 .form-control:focus{
  border-color:#80b5ff!important;box-shadow:0 0 0 4px rgba(31,117,255,.10),0 9px 28px rgba(25,88,173,.055)!important;
}
body.g7-auth-login-v20 .g7-login-input-icon-v20{
  position:absolute!important;left:16px!important;top:50%!important;transform:translateY(-50%)!important;
  width:36px!important;height:36px!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;z-index:2!important;
  background:#f5f8fc!important;border:1px solid #e8eef6!important;color:#14233e!important;
}
body.g7-auth-login-v20 .g7-login-input-icon-v20 i{font-size:16px!important;line-height:1!important;}
body.g7-auth-login-v20 .g7-login-password-toggle-v20{
  position:absolute!important;right:13px!important;top:50%!important;transform:translateY(-50%)!important;
  width:38px!important;height:38px!important;border:0!important;border-radius:10px!important;
  display:grid!important;place-items:center!important;background:#f6f8fb!important;color:#15233e!important;
  z-index:3!important;cursor:pointer!important;transition:.16s ease!important;
}
body.g7-auth-login-v20 .g7-login-password-toggle-v20:hover{background:#edf3fb!important;color:#0b68ed!important;}
body.g7-auth-login-v20 .g7-login-password-toggle-v20 i{font-size:17px!important;}
body.g7-auth-login-v20 .g7-login-submit-v20{
  width:100%!important;height:64px!important;min-height:64px!important;margin-top:0!important;
  border:0!important;border-radius:11px!important;
  background:linear-gradient(180deg,#2582ff 0%,#0868f5 100%)!important;color:#fff!important;
  box-shadow:0 13px 28px rgba(22,108,245,.25)!important;
  font-size:15px!important;font-weight:800!important;letter-spacing:-.012em!important;
}
body.g7-auth-login-v20 .g7-login-submit-v20:hover{
  transform:translateY(-1px)!important;background:linear-gradient(180deg,#2c86ff 0%,#0864ed 100%)!important;
  box-shadow:0 16px 32px rgba(22,108,245,.31)!important;
}
body.g7-auth-login-v20 .g7-login-benefits-v20{
  margin:26px 0 0!important;padding:0!important;min-height:98px!important;
  display:grid!important;grid-template-columns:1fr 1fr 1.36fr!important;align-items:center!important;gap:0!important;
  border:1px solid #dbe4ef!important;border-radius:13px!important;background:#fbfcfe!important;
  box-shadow:0 5px 20px rgba(23,48,81,.025)!important;overflow:hidden!important;
}
body.g7-auth-login-v20 .g7-login-benefits-v20 span{
  min-width:0!important;height:54px!important;padding:0 18px!important;
  display:flex!important;align-items:center!important;gap:10px!important;color:#26364e!important;
  white-space:normal!important;font-size:13px!important;line-height:1.35!important;
}
body.g7-auth-login-v20 .g7-login-benefits-v20 span+span{border-left:1px solid #dde5ef!important;}
body.g7-auth-login-v20 .g7-login-benefits-v20 i{font-size:18px!important;color:#1475ff!important;flex:0 0 auto!important;}
body.g7-auth-login-v20 .g7-login-benefits-v20 b{font-weight:520!important;}
body.g7-auth-login-v20 .g7-login-legal-v20{
  max-width:520px!important;margin:25px auto 0!important;text-align:center!important;
  color:#6f7d92!important;font-size:12.5px!important;line-height:1.55!important;
}
body.g7-auth-login-v20 .g7-login-legal-v20 a{color:#0868ee!important;text-decoration:none!important;font-weight:570!important;}
body.g7-auth-login-v20 .g7-login-legal-v20 a:hover{text-decoration:underline!important;}
body.g7-auth-login-v20 .g7-login-switch-v20{
  margin:35px 0 0!important;text-align:center!important;color:#76839a!important;font-size:14px!important;line-height:1.5!important;
}
body.g7-auth-login-v20 .g7-login-switch-v20 a{color:#0667ee!important;font-weight:800!important;text-decoration:none!important;}
body.g7-auth-login-v20 .g7-login-switch-v20 a:hover{text-decoration:underline!important;}
body.g7-auth-login-v20 .g7-google-button-v20{
  height:54px!important;margin:-21px 0 19px!important;border-radius:11px!important;font-size:14px!important;
}
body.g7-auth-login-v20 .g7-auth-divider-v20{margin:0 0 22px!important;font-size:11px!important;}

@media (max-width:1199.98px){
  body.g7-auth-login-v20 .g7-ref-auth-shell{grid-template-columns:46% 54%!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy{left:10%!important;width:80%!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy h2{font-size:34px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-main{padding:72px 42px 48px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-card.g7-auth-login-card-v20{width:min(520px,100%)!important;}
}
@media (max-width:991.98px){
  body.g7-ref-auth-body.g7-auth-login-v20{overflow:auto!important;}
  body.g7-auth-login-v20 .g7-ref-auth-shell{display:block!important;min-height:100vh!important;}
  body.g7-auth-login-v20 .g7-ref-auth-art{min-height:330px!important;height:330px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy{position:relative!important;left:auto!important;top:auto!important;width:auto!important;padding:48px 42px!important;}
  body.g7-auth-login-v20 .g7-ref-brand-auth{margin-bottom:30px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy h2{font-size:31px!important;margin:20px 0 12px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy p{font-size:14px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-bars{margin-top:24px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-main{min-height:auto!important;padding:56px 28px 64px!important;}
}
@media (max-width:575.98px){
  body.g7-auth-login-v20 .g7-ref-auth-art{min-height:290px!important;height:290px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy{padding:34px 24px!important;}
  body.g7-auth-login-v20 .g7-ref-brand-auth{gap:12px!important;margin-bottom:24px!important;}
  body.g7-auth-login-v20 .g7-ref-brand-auth .g7-ref-brand-box{width:44px!important;height:44px!important;border-radius:13px!important;}
  body.g7-auth-login-v20 .g7-ref-brand-auth strong{font-size:17px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-kicker{font-size:9px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy h2{font-size:28px!important;margin:16px 0 10px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-copy p{font-size:12.5px!important;}
  body.g7-auth-login-v20 .g7-ref-auth-main{padding:40px 18px 52px!important;}
  body.g7-auth-login-v20 .g7-login-heading-v20 h1{font-size:32px!important;}
  body.g7-auth-login-v20 .g7-login-heading-v20 p{font-size:14px!important;margin-bottom:34px!important;}
  body.g7-auth-login-v20 .g7-login-form-v20{gap:24px!important;}
  body.g7-auth-login-v20 .g7-login-input-v20 .form-control{height:58px!important;min-height:58px!important;padding-left:62px!important;}
  body.g7-auth-login-v20 .g7-login-submit-v20{height:58px!important;min-height:58px!important;}
  body.g7-auth-login-v20 .g7-login-benefits-v20{grid-template-columns:1fr!important;min-height:0!important;}
  body.g7-auth-login-v20 .g7-login-benefits-v20 span{height:auto!important;min-height:58px!important;padding:12px 18px!important;}
  body.g7-auth-login-v20 .g7-login-benefits-v20 span+span{border-left:0!important;border-top:1px solid #dde5ef!important;}
  body.g7-auth-login-v20 .g7-login-legal-v20{font-size:11.5px!important;}
  body.g7-auth-login-v20 .g7-login-switch-v20{font-size:13px!important;margin-top:27px!important;}
}


/* =====================================================================
   v24 — CORREÇÃO DO SELETOR DE TEMA
   Substitui glifos Unicode de sol/lua por Bootstrap Icons para evitar
   caracteres quebrados em diferentes fontes/navegadores/SO.
   ===================================================================== */
.g7-theme-switch-v24{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:2px!important;
  width:58px!important;
  min-width:58px!important;
  height:36px!important;
  padding:3px!important;
  border:1px solid #d7e0ea!important;
  border-radius:999px!important;
  background:#f7f9fc!important;
  box-shadow:0 3px 10px rgba(27,50,83,.05)!important;
  overflow:hidden!important;
  line-height:1!important;
}
.g7-theme-switch-v24 .g7-theme-icon-v24{
  position:relative!important;
  z-index:1!important;
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  color:#7e8b9d!important;
  background:transparent!important;
  font-size:14px!important;
  transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.g7-theme-switch-v24 .g7-theme-icon-v24 i,
.g7-theme-switch-v24 .g7-theme-icon-v24 .bi{
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1!important;
}
.g7-theme-switch-v24[data-resolved-theme="light"] .g7-theme-sun-v24{
  background:#fff4cf!important;
  color:#d79a00!important;
  box-shadow:0 2px 7px rgba(181,130,0,.14)!important;
}
.g7-theme-switch-v24[data-resolved-theme="dark"] .g7-theme-moon-v24{
  background:#223653!important;
  color:#dce9ff!important;
  box-shadow:0 2px 8px rgba(3,14,33,.22)!important;
}
.g7-theme-switch-v24:hover .g7-theme-icon-v24{transform:none!important;}
.g7-theme-switch-v24:focus-visible{
  outline:3px solid rgba(37,111,255,.22)!important;
  outline-offset:2px!important;
}
html[data-resolved-theme="dark"] .g7-theme-switch-v24{
  background:#0d1b30!important;
  border-color:#2b4160!important;
}
/* neutraliza estilos antigos direcionados aos antigos span/small de emoji */
.g7-client-topbar .g7-theme-switch-v24 span,
.g7-client-topbar .g7-theme-switch-v24 small,
.g7-ref-header-actions .g7-theme-switch-v24 span,
.g7-ref-header-actions .g7-theme-switch-v24 small{
  color:inherit!important;
}

/* Tour contextual v32: iniciado somente pelo usuário, válido em qualquer página do dashboard. */
.g7-tour-topbar-btn{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 11px;border:1px solid #d9e3f1;border-radius:10px;background:#fff;color:#26364d;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}
.g7-tour-topbar-btn:hover{border-color:#b8cae2;background:#f7faff;color:var(--g7-brand-primary);transform:translateY(-1px)}
.g7-tour-topbar-btn .g7-icon-svg{width:16px;height:16px}
html[data-resolved-theme="dark"] .g7-tour-topbar-btn{border-color:#2d405c;background:#122036;color:#dce8f8}
html[data-resolved-theme="dark"] .g7-tour-topbar-btn:hover{border-color:#466487;background:#172a45;color:#fff}
.g7-tour-spotlight{position:fixed;z-index:2147483000;border:2px solid rgba(36,119,243,.95);border-radius:13px;box-shadow:0 0 0 9999px rgba(7,18,35,.62),0 10px 30px rgba(0,0,0,.22);pointer-events:none;transition:left .18s ease,top .18s ease,width .18s ease,height .18s ease}
.g7-tour-popover{position:fixed;z-index:2147483001;max-width:calc(100vw - 28px);padding:17px 18px 16px;border:1px solid #d7e3f2;border-radius:14px;background:#fff;box-shadow:0 20px 60px rgba(5,24,55,.28);color:#172338}
.g7-tour-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.g7-tour-popover-head>span{font-size:9px;font-weight:850;letter-spacing:.12em;color:var(--g7-brand-secondary);text-transform:uppercase}
.g7-tour-popover-head button{border:0;background:transparent;color:#7c899a;font-size:22px;line-height:1;padding:0 2px}
.g7-tour-popover>strong{display:block;margin:0 22px 7px 0;font-size:15px;line-height:1.3;color:#172338}
.g7-tour-popover>p{margin:0 0 13px;color:#637188;font-size:11.5px;line-height:1.58}
.g7-tour-progress{height:4px;margin:0 0 14px;border-radius:999px;background:#eaf0f7;overflow:hidden}
.g7-tour-progress i{display:block;height:100%;width:0;border-radius:inherit;background:var(--g7-brand-primary);transition:width .18s ease}
.g7-tour-actions{display:flex;justify-content:flex-end;gap:8px}
.g7-tour-actions .btn{min-width:78px}
html[data-resolved-theme="dark"] .g7-tour-popover{border-color:#30445f;background:#101c2e;color:#e9f1fb;box-shadow:0 20px 64px rgba(0,0,0,.55)}
html[data-resolved-theme="dark"] .g7-tour-popover>strong{color:#f3f7fc}
html[data-resolved-theme="dark"] .g7-tour-popover>p{color:#aebdd0}
html[data-resolved-theme="dark"] .g7-tour-progress{background:#283951}
html.g7-tour-open{scroll-behavior:smooth}
@media(max-width:767.98px){.g7-tour-topbar-btn{padding:0 9px}.g7-tour-topbar-btn span{display:none}.g7-tour-popover{padding:15px 16px}.g7-tour-spotlight{border-radius:10px}}
