/* Meu Pássaro v0.9.4 — marca registrada, mobile-first e identidade padrão */
:root{--mp91-forest:#0b332b;--mp91-forest-deep:#06271f;--mp91-gold:#c79b45;--mp91-cream:#f7f4ec;--mp91-line:#e4e9e6;--mp91-muted:#6b7671}

/* ========================= AUTENTICAÇÃO ========================= */
body.auth-body{min-height:100vh!important;background:radial-gradient(circle at 50% 8%,#164a3b 0,#082f2a 44%,#061f1a 100%)!important;padding:18px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.auth-body::before,body.auth-body::after{display:none!important;content:none!important}
.auth-card{width:min(1180px,94vw)!important;min-height:620px!important;display:grid!important;grid-template-columns:minmax(560px,1.18fr) minmax(440px,.82fr)!important;gap:0!important;padding:0!important;overflow:hidden!important;border-radius:24px!important;background:#fff!important;border:1px solid rgba(255,255,255,.6)!important;box-shadow:0 24px 80px rgba(0,0,0,.20)!important}
.auth-brand{margin:0!important;min-height:620px!important;padding:0!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;background:var(--mp91-cream)!important;overflow:hidden!important;position:relative!important}
.auth-brand>.brand-mark,.auth-brand>h1,.auth-brand>p,.auth-brand::before,.auth-brand::after{display:none!important;content:none!important}
.auth-logo-v091{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;filter:saturate(.98) contrast(1.015)!important}
.auth-logo-v090,.auth-logo-v089,.auth-logo-v088,.auth-logo-v087,.auth-logo-v086,.auth-logo-fallback-v086{display:none!important}
.auth-card>form,.auth-card>.divider,.auth-card>.auth-footer{grid-column:2;padding-left:38px!important;padding-right:38px!important}
.auth-card>form{align-self:center;padding-top:46px!important;padding-bottom:18px!important}
.auth-card>.divider{margin:0 38px!important;padding:0!important}
.auth-card>.auth-footer{padding-top:18px!important;padding-bottom:34px!important}

/* ========================= SHELL ÚNICO ========================= */
body.mp-shell-v91 .bottom-nav::before,body.mp-shell-v91 .topbar .brand::before,body.mp-shell-v91 .topbar .brand::after{display:none!important;content:none!important;background:none!important}
body.mp-shell-v91 .mp-product-brand-v91{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;overflow:hidden!important}
body.mp-shell-v91 .mp-top-brand-v91{display:block!important;width:128px!important;height:48px!important;object-fit:contain!important;object-position:left center!important;flex:0 0 128px!important}
body.mp-shell-v91 .sidebar-brand-v8,body.mp-shell-v91 .sidebar-brand-v89,body.mp-shell-v91 .sidebar-brand-v90{display:none!important}
body.mp-shell-v91 .sidebar-brand-v91{display:none}

/* marca padrão onde o criatório ainda não enviou a própria */
.creator-banner-logo-v8.is-default-brand-v94{object-fit:contain!important;object-position:center!important;background:var(--mp91-cream)!important;padding:4px!important;border-color:rgba(255,255,255,.30)!important}
.creator-side-v8 .creator-default-logo-v94{object-fit:contain!important;object-position:center!important;background:var(--mp91-cream)!important}

/* marca d'água institucional em todo o ambiente interno */
body.mp-shell-v91{position:relative!important;background:#f6f8f7!important}
body.mp-shell-v91::before{display:block!important;content:""!important;position:fixed!important;left:0;right:0;top:58px;bottom:0;z-index:0!important;pointer-events:none!important;background-image:url('/assets/meu-passaro-brand-registered-v092.webp?v=0.9.4')!important;background-repeat:no-repeat!important;background-position:center 52%!important;background-size:min(860px,72vw) auto!important;opacity:.045!important;filter:grayscale(.08) saturate(.75) contrast(.92)!important;mix-blend-mode:multiply!important}
body.mp-shell-v91>.topbar,body.mp-shell-v91>.app-shell,body.mp-shell-v91>.bottom-nav,body.mp-shell-v91>.toast{position:relative!important;z-index:1!important}
body.mp-shell-v91 .app-shell{background:transparent!important}

@media(min-width:1024px){
 body.mp-shell-v91::before{left:220px;background-size:min(820px,58vw) auto!important;opacity:.042!important}
 body.mp-shell-v91 .bottom-nav{gap:3px!important}
 body.mp-shell-v91 .sidebar-brand-v91{display:flex!important;order:1!important;flex:0 0 150px!important;width:100%!important;min-height:150px!important;max-height:150px!important;margin:0 0 10px!important;padding:8px 12px 14px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;border-bottom:1px solid var(--mp91-line)!important;background:#fff!important;box-sizing:border-box!important}
 body.mp-shell-v91 .sidebar-brand-v91>a{display:flex!important;width:100%!important;height:128px!important;align-items:center!important;justify-content:center!important}
 body.mp-shell-v91 .sidebar-brand-v91 img{display:block!important;width:100%!important;height:128px!important;object-fit:contain!important;object-position:center!important}
 body.mp-shell-v91 .bottom-nav>.nav-link{position:relative!important;z-index:1!important;flex:0 0 auto!important;order:10!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/"]{order:11!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/plantel.html"]{order:12!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/reproducao.html"]{order:13!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/genealogia.html"]{order:14!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/manejo.html"]{order:15!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/resultados.html"]{order:16!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/configuracoes.html"]{order:18!important}
 body.mp-shell-v91 .bottom-nav>.nav-link[href="/mais.html"]{order:19!important}
 body.mp-shell-v91 .creator-side-v8{display:flex!important;order:30!important;margin-top:auto!important;flex:0 0 auto!important}
}

@media(max-width:1023px){
 body.mp-shell-v91::before{top:64px;bottom:74px;background-size:84vw auto!important;background-position:center 44%!important;opacity:.028!important}
 body.mp-shell-v91 .sidebar-brand-v91{display:none!important}
 body.mp-shell-v91 .topbar{min-height:64px!important;padding:5px 10px!important}
 body.mp-shell-v91 .topbar .icon-btn{width:42px!important;height:42px!important;min-width:42px!important}
 body.mp-shell-v91 .mp-top-brand-v91{width:122px!important;height:54px!important;flex-basis:122px!important;object-fit:contain!important}
 body[data-page="reproducao-v7"] #cycleList>.card{padding:9px 10px!important}
 body[data-page="reproducao-v7"] #cycleList .bird-avatar{display:none!important}
 body[data-page="reproducao-v7"] #cycleList .timeline{display:none!important}
 body[data-page="reproducao-v7"] #cycleList>.card.open .timeline{display:block!important}
 body[data-page="genealogia-v7"] .pedigree-stage-v8{min-width:760px!important;min-height:520px!important;transform-origin:top left}
 body[data-page="genealogia-v7"] .pedigree-node-v8{width:138px!important;min-height:60px!important;padding:7px 8px!important}
 body[data-page="genealogia-v7"] .pedigree-node-v8.root{width:160px!important}
 body[data-page="genealogia-v7"] .pedigree-node-v8 b{font-size:.68rem!important}
 body[data-page="genealogia-v7"] .pedigree-node-v8 small{font-size:.54rem!important}
}

/* ========================= MOBILE-FIRST ========================= */
@media(max-width:759px){
 html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
 body[data-page$="-v7"],body.mp-shell-v91{min-width:0!important}
 body.mp-shell-v91::before{top:70px!important;bottom:76px!important;background-size:92vw auto!important;background-position:center 38%!important;opacity:.022!important}

 body[data-page$="-v7"] .topbar,body.mp-shell-v91 .topbar{width:100%!important;max-width:100%!important;min-height:70px!important;height:70px!important;padding:5px 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;box-sizing:border-box!important}
 body[data-page$="-v7"] .topbar .brand,body.mp-shell-v91 .topbar .brand{display:block!important;width:132px!important;min-width:132px!important;height:60px!important;flex:0 0 132px!important;margin:0!important;padding:0!important;background-image:url('/assets/meu-passaro-brand-registered-v092.webp?v=0.9.4')!important;background-repeat:no-repeat!important;background-position:left center!important;background-size:contain!important;overflow:hidden!important}
 body[data-page$="-v7"] .topbar .brand>*,body.mp-shell-v91 .topbar .brand>*{display:none!important}
 body[data-page$="-v7"] .top-actions,body.mp-shell-v91 .top-actions{margin-left:auto!important;flex:0 0 auto!important}
 body[data-page$="-v7"] .topbar .icon-btn,body.mp-shell-v91 .topbar .icon-btn{width:44px!important;height:44px!important;min-width:44px!important;border-radius:13px!important}

 body[data-page$="-v7"] .app-shell,body.mp-shell-v91 .app-shell{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:10px 12px calc(92px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important;overflow:visible!important}
 body[data-page="home-v7"] .home-dashboard-v8,body[data-page="home-v7"] .home-hero-v8,body[data-page="home-v7"] .home-main-grid-v8,body[data-page="home-v7"] .dashboard-panel-v8,body[data-page="home-v7"] .kpi-grid-v8,body[data-page="home-v7"] .quick-actions-v8{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body[data-page="home-v7"] .home-dashboard-v8{display:grid!important;gap:10px!important}
 body[data-page="home-v7"] .home-hero-v8{display:block!important}
 body[data-page="home-v7"] .home-welcome-v8{width:100%!important;min-width:0!important;padding:6px 2px 10px!important}
 body[data-page="home-v7"] .home-welcome-v8 .eyebrow{font-size:.70rem!important;letter-spacing:.13em!important}
 body[data-page="home-v7"] .home-welcome-v8 h1{font-size:clamp(1.72rem,8.3vw,2.25rem)!important;line-height:1.04!important;margin:6px 0 7px!important;max-width:100%!important;overflow-wrap:anywhere!important}
 body[data-page="home-v7"] .home-welcome-v8 p{font-size:.80rem!important;line-height:1.42!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:0!important}

 body[data-page="home-v7"] .creator-banner-v8{width:100%!important;max-width:100%!important;min-width:0!important;min-height:142px!important;margin:0!important;border-radius:14px!important;overflow:hidden!important}
 body[data-page="home-v7"] .creator-banner-content-v8{min-height:142px!important;padding:15px 14px!important;gap:11px!important;min-width:0!important}
 body[data-page="home-v7"] .creator-banner-logo-v8{width:64px!important;height:64px!important;min-width:64px!important;border-radius:12px!important;object-fit:cover!important}
 body[data-page="home-v7"] .creator-banner-logo-v8.is-default-brand-v94{width:72px!important;height:72px!important;min-width:72px!important;object-fit:contain!important;padding:3px!important}
 body[data-page="home-v7"] .creator-banner-content-v8>div:last-child{min-width:0!important}
 body[data-page="home-v7"] .creator-banner-content-v8 h2{font-size:1.12rem!important;line-height:1.1!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body[data-page="home-v7"] .creator-banner-content-v8 p{font-size:.70rem!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body[data-page="home-v7"] .creator-banner-edit-v8{right:8px!important;top:8px!important;font-size:.62rem!important;min-height:30px!important;padding:5px 8px!important}

 body[data-page="home-v7"] .kpi-grid-v8{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body[data-page="home-v7"] .kpi-card-v8,body[data-page="home-v7"] .stat-mini{width:100%!important;max-width:100%!important;min-width:0!important;min-height:72px!important;padding:9px 10px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important;border-radius:13px!important}
 body[data-page="home-v7"] .kpi-icon-v8{width:34px!important;height:34px!important;font-size:.95rem!important}
 body[data-page="home-v7"] .kpi-card-v8 strong{font-size:1.2rem!important}
 body[data-page="home-v7"] .kpi-card-v8 small{font-size:.61rem!important;line-height:1.15!important}

 body[data-page="home-v7"] .dashboard-panel-v8{padding:11px!important;border-radius:14px!important;overflow:hidden!important}
 body[data-page="home-v7"] .dashboard-title-v8{margin-bottom:9px!important;min-width:0!important}
 body[data-page="home-v7"] .dashboard-title-v8 h2{font-size:.72rem!important;letter-spacing:.055em!important;min-width:0!important}
 body[data-page="home-v7"] .dashboard-title-v8 a{font-size:.62rem!important;white-space:nowrap!important}
 body[data-page="home-v7"] .quick-actions-v8{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important}
 body[data-page="home-v7"] .quick-action-v8{width:100%!important;max-width:100%!important;min-width:0!important;min-height:68px!important;padding:9px!important;gap:8px!important}
 body[data-page="home-v7"] .quick-action-v8:nth-child(5){grid-column:1/-1!important}
 body[data-page="home-v7"] .quick-action-v8 span{min-width:0!important}
 body[data-page="home-v7"] .quick-action-v8 b{font-size:.72rem!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body[data-page="home-v7"] .quick-action-v8 small{font-size:.58rem!important;white-space:normal!important;overflow-wrap:anywhere!important}

 body[data-page="home-v7"] .home-main-grid-v8{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body[data-page="home-v7"] .species-chart-v8{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;width:100%!important;min-width:0!important;align-items:center!important}
 body[data-page="home-v7"] .donut-v8{width:72px!important;height:72px!important;min-width:72px!important}
 body[data-page="home-v7"] .donut-v8::after{width:45px!important;height:45px!important}
 body[data-page="home-v7"] .donut-v8 strong{font-size:.78rem!important}
 body[data-page="home-v7"] .species-list-v8,body[data-page="home-v7"] .species-list-v8 .species-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body[data-page="home-v7"] .species-list-v8 .species-card{padding:7px 8px!important;font-size:.66rem!important;display:flex!important;justify-content:space-between!important;gap:8px!important;overflow:hidden!important}
 body[data-page="home-v7"] .species-list-v8 .species-card span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

 body[data-page="home-v7"] .repro-mini-list-v8,body[data-page="home-v7"] .repro-mini-v8{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body[data-page="home-v7"] .repro-mini-v8{grid-template-columns:minmax(0,1fr) auto!important;padding:9px!important;gap:7px!important}
 body[data-page="home-v7"] .repro-mini-v8>span:first-child{min-width:0!important}
 body[data-page="home-v7"] .repro-mini-v8 b,body[data-page="home-v7"] .repro-mini-v8 small{white-space:normal!important;overflow-wrap:anywhere!important}
 body[data-page="home-v7"] .stage-pill-v8{font-size:.55rem!important;padding:4px 6px!important;white-space:nowrap!important}
 body[data-page="home-v7"] .season-summary-v8{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;width:100%!important;min-width:0!important}
 body[data-page="home-v7"] .summary-mini-v8{min-width:0!important;padding:8px!important}

 body.mp-shell-v91 .bottom-nav,body[data-page$="-v7"] .bottom-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:68px!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;background:rgba(255,255,255,.97)!important;border-top:1px solid var(--mp91-line)!important;box-shadow:0 -5px 24px rgba(15,45,36,.08)!important;z-index:50!important;box-sizing:border-box!important;overflow:hidden!important}
 body.mp-shell-v91 .bottom-nav>.desktop-extra-v8,body[data-page$="-v7"] .bottom-nav>.desktop-extra-v8,body.mp-shell-v91 .bottom-nav>.sidebar-brand-v91,body.mp-shell-v91 .bottom-nav>.creator-side-v8{display:none!important}
 body.mp-shell-v91 .bottom-nav>.nav-link,body[data-page$="-v7"] .bottom-nav>.nav-link{width:100%!important;min-width:0!important;max-width:none!important;height:56px!important;margin:0!important;padding:5px 2px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;border-radius:10px!important;overflow:hidden!important}
 body.mp-shell-v91 .bottom-nav>.nav-link i,body[data-page$="-v7"] .bottom-nav>.nav-link i{font-size:1rem!important;line-height:1!important}
 body.mp-shell-v91 .bottom-nav>.nav-link span,body[data-page$="-v7"] .bottom-nav>.nav-link span{font-size:.52rem!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}

 body.auth-body{padding:12px!important;align-items:flex-start!important}
 .auth-card{display:block!important;width:min(460px,100%)!important;min-height:0!important;margin:18px auto!important}
 .auth-brand{min-height:300px!important;height:300px!important;padding:0!important}
 .auth-logo-v091{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center center!important}
 .auth-card>form,.auth-card>.auth-footer{padding-left:20px!important;padding-right:20px!important}
 .auth-card>form{padding-top:24px!important}
 .auth-card>.divider{margin:0 20px!important}
 .auth-card>.auth-footer{padding-bottom:24px!important}
}
