/* Meu Pássaro v0.9.9 — layout clean verde, mobile-first e compacto */
:root{
  --mp-green:#0b4a39;
  --mp-green-deep:#08392c;
  --mp-green-hover:#115843;
  --mp-green-soft:#eaf3ef;
  --mp-green-softer:#f3f7f5;
  --mp-gold:#c7a25a;
  --mp-bg:#f7f9f8;
  --mp-card:#ffffff;
  --mp-line:#e2e9e5;
  --mp-text:#1f2f29;
  --mp-muted:#6f7c76;
}

html,body{background:var(--mp-bg)!important}
body.mp-shell-v97::before,body.mp-shell-v97::after{display:none!important;content:none!important;background:none!important}
body.mp-shell-v97{background:var(--mp-bg)!important;color:var(--mp-text)!important}
body.mp-shell-v97 .creator-banner-v8,body.mp-shell-v97 .creator-side-v8,body.mp-shell-v97 .sidebar-brand-v91,body.mp-shell-v97 .sidebar-brand-v90,body.mp-shell-v97 .sidebar-brand-v89{display:none!important}
body.mp-shell-v97 .mp-top-brand-v91{display:none!important}
body.mp-shell-v97 .mp-product-brand-v91{display:flex!important;align-items:center!important;min-width:auto!important;overflow:visible!important;text-decoration:none!important}
body.mp-shell-v97 .mp-product-brand-v91 .mp-brand-text-v97{display:block!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:.95rem!important;font-weight:760!important;color:#fff!important;letter-spacing:.005em!important}

/* Barra superior: verde vira a identidade principal */
body.mp-shell-v97>.topbar{
  position:sticky!important;top:0!important;z-index:80!important;width:100%!important;margin:0!important;
  min-height:54px!important;height:54px!important;padding:0 16px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  background:linear-gradient(90deg,var(--mp-green-deep) 0%,var(--mp-green) 52%,#0e5943 100%)!important;
  border:0!important;box-shadow:0 1px 0 rgba(4,42,31,.22)!important;color:#fff!important;box-sizing:border-box!important;
}
body.mp-shell-v97>.topbar .top-actions{display:flex!important;align-items:center!important;gap:9px!important;margin-left:auto!important}
body.mp-shell-v97>.topbar .icon-btn{width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:none!important;font-size:.9rem!important}
body.mp-shell-v97>.topbar .icon-btn:hover{background:rgba(255,255,255,.14)!important}
body.mp-shell-v97 .mp-top-creator-v99{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;min-width:0!important;line-height:1.08!important;color:#fff!important}
body.mp-shell-v97 .mp-top-creator-v99 b{font-size:.68rem!important;font-weight:760!important;max-width:190px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.mp-shell-v97 .mp-top-creator-v99 small{font-size:.56rem!important;color:rgba(255,255,255,.72)!important;margin-top:2px!important;max-width:190px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Tipografia compacta e mais produto, menos landing page */
body.mp-shell-v97 .hero{margin:0 0 12px!important;padding:0!important}
body.mp-shell-v97 .hero .eyebrow,body.mp-shell-v97 .home-welcome-v8 .eyebrow{
  display:block!important;font-size:.59rem!important;line-height:1.2!important;letter-spacing:.11em!important;font-weight:800!important;
  margin:0 0 4px!important;color:#60716a!important;text-transform:uppercase!important
}
body.mp-shell-v97 .hero h1,body.mp-shell-v97 .home-welcome-v8 h1{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:clamp(1.28rem,1.85vw,1.62rem)!important;line-height:1.14!important;font-weight:760!important;
  letter-spacing:-.025em!important;margin:0 0 4px!important;color:var(--mp-green-deep)!important;max-width:none!important
}
body.mp-shell-v97 .hero p,body.mp-shell-v97 .home-welcome-v8 p{
  font-size:.78rem!important;line-height:1.42!important;color:var(--mp-muted)!important;margin:0!important;max-width:760px!important
}
body.mp-shell-v97 .section-head h2,body.mp-shell-v97 .dashboard-title-v8 h2,body.mp-shell-v97 .card h2,body.mp-shell-v97 .section-mini-title{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:.78rem!important;line-height:1.25!important;font-weight:800!important;letter-spacing:.025em!important;color:#31443c!important
}
body.mp-shell-v97 .section-head p,body.mp-shell-v97 .dashboard-title-v8 p{font-size:.69rem!important;line-height:1.4!important;color:#77827d!important}
body.mp-shell-v97 .dashboard-title-v8{margin-bottom:8px!important}
body.mp-shell-v97 .home-dashboard-v8{gap:10px!important}
body.mp-shell-v97 .home-hero-v8{margin-bottom:0!important}

/* Cards e controles compactos */
body.mp-shell-v97 .card,body.mp-shell-v97 .dashboard-panel-v8,body.mp-shell-v97 .kpi-card-v8,body.mp-shell-v97 .quick-action-v8{
  background:var(--mp-card)!important;border-color:var(--mp-line)!important;box-shadow:0 2px 10px rgba(28,52,43,.035)!important
}
body.mp-shell-v97 .dashboard-panel-v8{padding:12px!important;border-radius:13px!important}
body.mp-shell-v97 .kpi-card-v8,body.mp-shell-v97 .stat-mini{min-height:76px!important;padding:10px 12px!important;border-radius:13px!important}
body.mp-shell-v97 .kpi-card-v8 strong{font-size:1.15rem!important;line-height:1!important;color:#152720!important}
body.mp-shell-v97 .kpi-card-v8 small{font-size:.62rem!important;color:#69766f!important}
body.mp-shell-v97 .kpi-icon-v8{width:36px!important;height:36px!important;font-size:.95rem!important;background:var(--mp-green-soft)!important;color:var(--mp-green)!important}
body.mp-shell-v97 .kpi-icon-v8.gold{background:#f8f0df!important;color:#b58930!important}
body.mp-shell-v97 .kpi-icon-v8.gray{background:#f1f3f2!important;color:#7f8884!important}
body.mp-shell-v97 .quick-actions-v8{gap:8px!important}
body.mp-shell-v97 .quick-action-v8{min-height:62px!important;padding:9px 10px!important;border-radius:11px!important;gap:8px!important}
body.mp-shell-v97 .quick-action-v8 i{width:32px!important;height:32px!important;min-width:32px!important;border-radius:9px!important;background:var(--mp-green-soft)!important;color:var(--mp-green)!important;font-size:.92rem!important}
body.mp-shell-v97 .quick-action-v8 b{font-size:.69rem!important;color:#25372f!important}
body.mp-shell-v97 .quick-action-v8 small{font-size:.57rem!important;color:#77827d!important}
body.mp-shell-v97 .btn{min-height:36px!important;padding:7px 12px!important;border-radius:9px!important;font-size:.72rem!important;font-weight:760!important;box-shadow:none!important}
body.mp-shell-v97 .btn.forest,body.mp-shell-v97 .btn.primary{background:var(--mp-green)!important;border-color:var(--mp-green)!important;color:#fff!important}
body.mp-shell-v97 .btn.gold{background:var(--mp-green)!important;border-color:var(--mp-green)!important;color:#fff!important}
body.mp-shell-v97 .btn.ghost{background:#fff!important;color:var(--mp-green-deep)!important;border-color:var(--mp-line)!important}
body.mp-shell-v97 .input,body.mp-shell-v97 .select,body.mp-shell-v97 .textarea{font-size:.78rem!important;border-color:#dfe7e3!important;border-radius:9px!important;box-shadow:none!important}
body.mp-shell-v97 .input,body.mp-shell-v97 .select{min-height:40px!important}
body.mp-shell-v97 .field label{font-size:.67rem!important;font-weight:760!important;color:#465851!important}

/* Estados e links */
body.mp-shell-v97 a{accent-color:var(--mp-green)}
body.mp-shell-v97 .tag{background:var(--mp-green-soft)!important;color:var(--mp-green-deep)!important;border-color:transparent!important}
body.mp-shell-v97 .dashboard-title-v8 a,body.mp-shell-v97 .section-head a{color:var(--mp-green)!important;font-size:.64rem!important;font-weight:760!important}

@media (min-width:1024px){
  body.mp-shell-v97{padding-left:204px!important}
  body.mp-shell-v97 .mp-desktop-sidebar-v97{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:204px!important;z-index:100!important;
    display:flex!important;flex-direction:column!important;background:#fff!important;border-right:1px solid var(--mp-line)!important;
    padding:10px 10px 10px!important;box-sizing:border-box!important;overflow-y:auto!important
  }
  body.mp-shell-v97 .mp-side-title-v97{
    display:flex!important;align-items:center!important;min-height:44px!important;padding:0 10px 8px!important;margin:0 0 7px!important;
    border-bottom:1px solid var(--mp-line)!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:.94rem!important;font-weight:780!important;color:var(--mp-green-deep)!important;text-decoration:none!important;letter-spacing:-.01em!important
  }
  body.mp-shell-v97 .mp-side-links-v97{display:flex!important;flex-direction:column!important;gap:2px!important}
  body.mp-shell-v97 .mp-side-link-v97{
    display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:38px!important;padding:0 10px!important;
    border-radius:9px!important;color:#56665f!important;font-size:.73rem!important;font-weight:720!important;text-decoration:none!important;box-sizing:border-box!important
  }
  body.mp-shell-v97 .mp-side-link-v97 i{display:grid!important;place-items:center!important;width:20px!important;min-width:20px!important;font-style:normal!important;font-size:.9rem!important;color:var(--mp-green)!important}
  body.mp-shell-v97 .mp-side-link-v97.active{background:var(--mp-green-soft)!important;color:var(--mp-green-deep)!important;box-shadow:inset 3px 0 var(--mp-gold)!important}
  body.mp-shell-v97 .mp-side-link-v97:hover{background:var(--mp-green-softer)!important;color:var(--mp-green-deep)!important}
  body.mp-shell-v97 .mp-side-creator-v97{display:block!important;margin-top:auto!important;padding:9px 10px!important;border:1px solid var(--mp-line)!important;border-radius:10px!important;background:#fbfcfb!important;color:#273a32!important;text-decoration:none!important}
  body.mp-shell-v97 .mp-side-creator-v97 b{display:block!important;font-size:.67rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mp-shell-v97 .mp-side-creator-v97 small{display:block!important;font-size:.55rem!important;color:#6b7671!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mp-shell-v97>.bottom-nav{display:none!important}
  body.mp-shell-v97>.app-shell{width:auto!important;max-width:1480px!important;margin:0 auto!important;padding:14px 20px 32px!important}
  body[data-page="home-v7"].mp-shell-v97 .home-hero-v8{display:block!important}
  body[data-page="home-v7"].mp-shell-v97 .home-welcome-v8{max-width:760px!important}
  body[data-page="home-v7"].mp-shell-v97 .kpi-grid-v8{gap:10px!important}
  body[data-page="home-v7"].mp-shell-v97 .home-main-grid-v8{gap:10px!important}
}

/* Tablet e celular: prioridade de uso, não de decoração */
@media (max-width:1023px){
  .mp-desktop-sidebar-v97{display:none!important}
  body.mp-shell-v97{padding-left:0!important}
  body.mp-shell-v97 .topbar .brand{background:none!important;width:auto!important;min-width:auto!important;height:auto!important;flex:0 0 auto!important}
  body.mp-shell-v97 .topbar .brand>*{display:none!important}
  body.mp-shell-v97 .topbar .brand .mp-brand-text-v97{display:block!important}
  body.mp-shell-v97>.app-shell{width:100%!important;max-width:100%!important;margin:0!important;padding:10px 12px calc(82px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important}
  body.mp-shell-v97 .hero h1,body.mp-shell-v97 .home-welcome-v8 h1{font-size:1.22rem!important;line-height:1.14!important;margin:0 0 4px!important}
  body.mp-shell-v97 .hero p,body.mp-shell-v97 .home-welcome-v8 p{font-size:.75rem!important;line-height:1.4!important}
  body.mp-shell-v97 .hero{margin-bottom:9px!important}
  body.mp-shell-v97 .mp-top-creator-v99{display:none!important}
  body.mp-shell-v97>.topbar{padding:0 11px!important;min-height:52px!important;height:52px!important}
  body.mp-shell-v97>.topbar .icon-btn{width:34px!important;height:34px!important;min-width:34px!important;border-radius:9px!important}
  body.mp-shell-v97 .mp-product-brand-v91 .mp-brand-text-v97{font-size:.9rem!important}
  body.mp-shell-v97 .kpi-grid-v8{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.mp-shell-v97 .kpi-card-v8,body.mp-shell-v97 .stat-mini{min-height:68px!important;padding:8px 9px!important;grid-template-columns:32px minmax(0,1fr)!important;gap:7px!important}
  body.mp-shell-v97 .kpi-icon-v8{width:32px!important;height:32px!important;font-size:.85rem!important}
  body.mp-shell-v97 .quick-actions-v8{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;overflow:visible!important}
  body.mp-shell-v97 .quick-action-v8{min-height:58px!important;padding:8px!important}
  body.mp-shell-v97 .quick-action-v8:nth-child(5){grid-column:1/-1!important}
  body.mp-shell-v97 .home-main-grid-v8{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  body.mp-shell-v97 .dashboard-panel-v8{padding:10px!important;border-radius:12px!important}
  body.mp-shell-v97 .bottom-nav{background:rgba(255,255,255,.98)!important;border-top:1px solid var(--mp-line)!important;box-shadow:0 -4px 18px rgba(24,49,39,.06)!important}
  body.mp-shell-v97 .bottom-nav .nav-link{color:#6a7871!important;font-size:.59rem!important}
  body.mp-shell-v97 .bottom-nav .nav-link i{font-size:.95rem!important}
  body.mp-shell-v97 .bottom-nav .nav-link.active{color:var(--mp-green)!important}
}

@media (max-width:599px){
  body.mp-shell-v97>.app-shell{padding-left:10px!important;padding-right:10px!important}
  body.mp-shell-v97 .hero h1,body.mp-shell-v97 .home-welcome-v8 h1{font-size:1.12rem!important}
  body.mp-shell-v97 .hero .eyebrow,body.mp-shell-v97 .home-welcome-v8 .eyebrow{font-size:.56rem!important}
  body.mp-shell-v97 .section-head h2,body.mp-shell-v97 .dashboard-title-v8 h2,body.mp-shell-v97 .card h2{font-size:.75rem!important}
  body.mp-shell-v97 .kpi-card-v8 strong{font-size:1.05rem!important}
  body.mp-shell-v97 .quick-action-v8 b{font-size:.66rem!important}
  body.mp-shell-v97 .quick-action-v8 small{font-size:.55rem!important}
  body.mp-shell-v97 .btn{min-height:34px!important;padding:6px 10px!important;font-size:.68rem!important}
}

/* Login mínimo e coerente com a nova identidade */
body.auth-body{background:var(--mp-bg)!important;display:grid!important;place-items:center!important;min-height:100vh!important;padding:16px!important}
body.auth-body::before,body.auth-body::after{display:none!important;content:none!important}
.auth-card{width:min(410px,100%)!important;min-height:0!important;display:block!important;padding:22px!important;border-radius:14px!important;background:#fff!important;border:1px solid var(--mp-line)!important;box-shadow:0 12px 30px rgba(20,42,34,.055)!important}
.auth-brand{display:none!important}
.auth-card>form,.auth-card>.divider,.auth-card>.auth-footer{padding-left:0!important;padding-right:0!important;grid-column:auto!important}
body.auth-body .btn{background:var(--mp-green)!important;border-color:var(--mp-green)!important;color:#fff!important}
