/* ANIMUS Verde v0.4.12 — mobile nativo, independente do React shell */
.mn-header,.mn-bottom,.mn-sheet-layer{display:none}
@media (max-width:820px){
  html.mn-mobile-app,html.mn-mobile-app body{overflow-x:hidden!important;background:#f2f6f3!important}
  html.mn-mobile-app .topnav-shell,html.mn-mobile-app .topnav-overlay-actions,html.mn-mobile-app .mobile-topnav-strip,html.mn-mobile-app .mobile-capture-fab,html.mn-mobile-app .mobile-app-header,html.mn-mobile-app .mobile-bottom-nav{display:none!important}
  html.mn-mobile-app .topnav-layout{padding-top:0!important;min-height:100dvh!important}
  html.mn-mobile-app .topnav-main{padding:calc(72px + env(safe-area-inset-top)) 0 calc(92px + env(safe-area-inset-bottom))!important;min-height:100dvh!important}
  html.mn-mobile-app .topnav-main>.content,html.mn-mobile-app .topnav-main>div>.content,html.mn-mobile-app .content{width:100%!important;max-width:none!important;box-sizing:border-box!important;padding-left:12px!important;padding-right:12px!important;padding-bottom:24px!important;margin:0!important}

  .mn-header{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;position:fixed;z-index:3000;left:0;right:0;top:0;min-height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;background:rgba(248,251,249,.94);border-bottom:1px solid rgba(28,76,61,.09);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 8px 28px rgba(19,60,47,.06)}
  .mn-brand{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#0d624d;color:#fff;text-decoration:none;box-shadow:0 8px 20px rgba(13,98,77,.20)}
  .mn-brand svg{width:22px;height:22px}.mn-brand-mark{display:grid;place-items:center}
  .mn-title{min-width:0;display:flex;flex-direction:column;justify-content:center}.mn-title small{font-size:9px;line-height:1.1;font-weight:900;letter-spacing:.14em;color:#6c867c}.mn-title strong{margin-top:3px;font-size:17px;line-height:1.1;color:#183c32;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.02em}
  .mn-profile{position:relative;width:42px;height:42px;border:0;border-radius:15px;background:#e8f1ec;color:#205546;font-size:12px;font-weight:900;display:grid;place-items:center;padding:0}.mn-profile b{font-size:12px}.mn-online-dot{position:absolute;right:3px;bottom:3px;width:9px;height:9px;border-radius:50%;background:#34a46f;border:2px solid #fff}.mn-online-dot.offline{background:#d39a42}

  .mn-bottom{display:block;position:fixed;z-index:3000;left:8px;right:8px;bottom:calc(7px + env(safe-area-inset-bottom));height:72px;border:1px solid rgba(32,76,62,.11);border-radius:24px;background:rgba(250,252,251,.96);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 15px 44px rgba(15,52,41,.16)}
  .mn-bottom-inner{height:100%;display:grid;grid-template-columns:1fr 1fr 1.1fr 1fr 1fr;align-items:center;padding:5px 6px}
  .mn-bottom-link{height:58px;border:0;background:transparent;color:#789087;text-decoration:none;display:flex;align-items:center;justify-content:center;border-radius:18px;padding:0;position:relative}.mn-bottom-link>span,.mn-bottom-link{font-family:inherit}.mn-bottom-link svg{display:block;margin:0 auto}.mn-bottom-link span{display:block;margin-top:3px;font-size:9px;font-weight:800}.mn-bottom-link.active{color:#0c684f;background:#eaf5ef}.mn-bottom-link.active:after{content:"";position:absolute;bottom:3px;width:18px;height:3px;border-radius:99px;background:#15805f}
  .mn-more{width:100%;cursor:pointer}.mn-create{justify-self:center;align-self:end;width:62px;height:62px;margin-bottom:22px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(150deg,#18815f,#0b5d48);color:#fff;text-decoration:none;border:5px solid #f7faf8;box-shadow:0 13px 27px rgba(11,93,72,.30)}.mn-create svg{width:28px;height:28px}.mn-create span{position:absolute;margin-top:78px;color:#557269;font-size:9px;font-weight:900}.mn-create:active{transform:scale(.94)}

  .mn-sheet-layer{display:block;position:fixed;z-index:4000;inset:0;pointer-events:none;visibility:hidden}.mn-sheet-layer.open{pointer-events:auto;visibility:visible}.mn-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(5,24,18,.34);opacity:0;transition:opacity .2s}.mn-sheet-layer.open .mn-sheet-backdrop{opacity:1}.mn-sheet{position:absolute;left:8px;right:8px;bottom:calc(7px + env(safe-area-inset-bottom));max-height:min(78dvh,650px);overflow:auto;background:#fbfdfc;border:1px solid #dce8e2;border-radius:28px;padding:10px 14px 18px;box-shadow:0 28px 80px rgba(8,37,29,.30);transform:translateY(calc(100% + 30px));transition:transform .28s cubic-bezier(.2,.8,.2,1)}.mn-sheet-layer.open .mn-sheet{transform:translateY(0)}.mn-sheet-handle{width:42px;height:5px;border-radius:99px;background:#d7e2dc;margin:2px auto 12px}.mn-sheet-profile{display:grid;grid-template-columns:48px 1fr;gap:11px;align-items:center;padding:8px 4px 14px;border-bottom:1px solid #e7efeb}.mn-sheet-avatar{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#0f654f;color:#fff;font-weight:900}.mn-sheet-profile strong{display:block;font-size:14px;color:#1e4539}.mn-sheet-profile small{display:block;margin-top:3px;color:#80918a;font-size:10px}.mn-sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.mn-sheet-grid a{min-width:0;min-height:100px;padding:14px;border-radius:19px;background:#f1f7f4;border:1px solid #e0ebe5;text-decoration:none;color:#2f6655;display:flex;flex-direction:column;align-items:flex-start}.mn-sheet-grid a svg{margin-bottom:12px}.mn-sheet-grid a strong{font-size:12px;color:#244e41}.mn-sheet-grid a small{font-size:9px;color:#81938b;margin-top:4px}.mn-logout{width:100%;height:48px;margin-top:12px;border:1px solid #f0d9d6;border-radius:16px;background:#fff7f6;color:#a44b43;font-weight:900}.mn-sheet-open body{overflow:hidden!important}

  /* Página e cabeçalhos */
  .page-header{gap:10px!important;margin:0 0 14px!important;padding:2px 2px 0!important}.page-header h1{font-size:28px!important;line-height:1.02!important;letter-spacing:-.035em!important}.page-header p{font-size:12px!important;line-height:1.5!important}.page-header .eyebrow{font-size:9px!important}.page-header-action{width:100%!important}.panel{border-radius:20px!important}
  .search-box{min-height:46px!important;border-radius:14px!important}.search-box input{font-size:16px!important;min-width:0!important}.ghost-button,.primary-button,.next-button,.text-button{min-height:44px!important}

  /* Visão Geral: app, não desktop empilhado */
  .info-overview-page{padding:10px 10px 24px!important;max-width:none!important}.info-overview-header{display:block!important;margin:0 2px 16px!important}.info-overview-header h1{font-size:30px!important;line-height:1!important;margin-top:5px!important}.info-overview-header p{font-size:12px!important;line-height:1.5!important;margin-top:8px!important}.info-updated{display:none!important}.info-hero-grid{display:block!important}.info-primary-card{min-height:235px!important;border-radius:24px!important;padding:22px!important}.info-primary-label{margin-top:25px!important}.info-primary-value{font-size:72px!important}.info-primary-action{min-height:48px!important}.info-metrics-grid{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:10px!important;margin:12px -10px 0!important;padding:0 10px 5px!important;scrollbar-width:none}.info-metrics-grid::-webkit-scrollbar{display:none}.info-metric-link{flex:0 0 78vw!important;max-width:320px!important;scroll-snap-align:start}.info-metric{min-height:145px!important;border-radius:21px!important;padding:18px!important}.info-metric-value{font-size:28px!important}.info-sections-grid{grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important}.info-panel,.info-operation-strip{border-radius:22px!important;padding:18px!important;min-height:0!important}.info-panel-head h2,.info-operation-copy h2{font-size:20px!important}.info-composition-highlight{grid-template-columns:1fr 1fr!important}.month-strip{display:flex!important;overflow-x:auto!important;gap:9px!important;margin-right:-18px!important;padding-right:18px!important;scroll-snap-type:x mandatory}.month-card{flex:0 0 145px!important;scroll-snap-align:start!important}.info-operation-strip{display:block!important}.info-operation-items{grid-template-columns:1fr 1fr!important;margin-top:14px!important}.info-operation-items a{min-height:84px!important}

  /* Inventário: se a versão tiver feed mobile, use. Se não, converte a tabela em cartões */
  .table-toolbar.panel{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;padding:10px!important;margin-bottom:10px!important}.table-toolbar .ghost-button{width:100%!important}.table-panel{padding:10px!important}.table-summary{padding:4px 4px 10px!important;gap:8px!important;flex-wrap:wrap!important}.mobile-tree-list{display:grid!important;gap:10px!important}.mobile-tree-card{background:#fff;border:1px solid #dfe9e4;border-radius:20px;padding:15px;box-shadow:0 8px 24px rgba(25,65,52,.05)}.mobile-tree-card-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center}.mobile-tree-icon{width:42px;height:42px;border-radius:14px;background:#e9f4ee;color:#267157;display:grid;place-items:center}.mobile-tree-title{min-width:0}.mobile-tree-title strong,.mobile-tree-title em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-tree-title strong{font-size:14px;color:#214b3e}.mobile-tree-title em{font-size:10px;color:#85958e;margin-top:2px}.mobile-tree-code{display:flex;justify-content:space-between;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #edf2ef;font-size:10px;color:#738880}.mobile-tree-code span{display:flex;align-items:center;gap:4px}.mobile-tree-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.mobile-tree-meta>span{min-width:0;background:#f6f9f7;border-radius:12px;padding:9px}.mobile-tree-meta small{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:#8a9993;margin-bottom:5px}.mobile-tree-meta strong{font-size:11px;color:#2a5145}.mobile-tree-street{display:flex;align-items:center;gap:5px;margin-top:10px;color:#788b84;font-size:10px}.mobile-tree-list+.desktop-tree-table{display:none!important}
  /* fallback quando mobile-tree-list não existir */
  .data-table-wrap{overflow:visible!important}.data-table thead{display:none!important}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block!important;width:100%!important}.data-table tr{margin-bottom:10px;padding:13px 14px;border:1px solid #dfe9e4;border-radius:19px;background:#fff;box-shadow:0 7px 22px rgba(25,65,52,.04)}.data-table td{display:grid!important;grid-template-columns:92px minmax(0,1fr);gap:9px;align-items:center;border:0!important;border-bottom:1px solid #eef3f0!important;padding:8px 0!important;font-size:11px!important}.data-table td:last-child{border-bottom:0!important}.data-table td:before{font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#8a9993}.data-table td:nth-child(1):before{content:'ID'}.data-table td:nth-child(2):before{content:'Espécie'}.data-table td:nth-child(3):before{content:'Local'}.data-table td:nth-child(4):before{content:'Origem'}.data-table td:nth-child(5):before{content:'Saúde'}.data-table td:nth-child(6):before{content:'Risco'}.data-table td:nth-child(7):before{content:'Validação'}.data-table td:nth-child(8):before{content:'Ações'}

  /* Mapa de campo */
  .map-content{padding-left:0!important;padding-right:0!important;padding-bottom:0!important}.map-content .page-header{padding-left:12px!important;padding-right:12px!important}.map-toolbar.panel{margin:0 10px 10px!important;padding:10px!important;display:grid!important;grid-template-columns:1fr!important;gap:9px!important;border-radius:18px!important}.filter-chips{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:6px!important;padding-bottom:2px;scrollbar-width:none}.filter-chips::-webkit-scrollbar{display:none}.filter-chips button{flex:0 0 auto;min-height:38px!important;white-space:nowrap}.map-shell.panel{margin:0 8px!important;padding:0!important;border-radius:20px!important;overflow:hidden!important;height:calc(100dvh - 245px)!important;min-height:440px!important}.main-map{height:100%!important;min-height:100%!important}.map-floating-tools{right:10px!important;top:10px!important}.map-legend{left:10px!important;bottom:10px!important;max-width:calc(100% - 20px)!important}

  /* Catálogo */
  .catalog-page{padding-bottom:25px!important}.catalog-page .page-header{margin-bottom:12px!important}.catalog-intro{display:none!important}.catalog-toolbar.panel{padding:10px!important;display:grid!important;gap:9px!important;position:sticky;top:calc(64px + env(safe-area-inset-top));z-index:20;background:rgba(249,252,250,.96)!important;backdrop-filter:blur(14px)}.origin-tabs{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none}.origin-tabs::-webkit-scrollbar{display:none}.origin-tabs button{flex:0 0 auto!important;min-height:38px!important}.catalog-grid{grid-template-columns:1fr!important;gap:12px!important}.species-card{border-radius:21px!important;overflow:hidden!important}.species-visual{min-height:190px!important}.species-card-body{padding:16px!important}.species-card-body h3{font-size:20px!important}.compare-dock{left:10px!important;right:10px!important;bottom:calc(88px + env(safe-area-inset-bottom))!important;width:auto!important;border-radius:20px!important;display:grid!important;gap:10px!important}.compare-dock .primary-button{width:100%!important}

  /* Ficha da espécie */
  .dossier-hero,.dossier-two-col,.gallery-layout,.local-evidence-grid,.urban-summary-grid,.dossier-kpis{grid-template-columns:1fr!important}.dossier-hero{gap:14px!important}.dossier-hero-copy h1{font-size:30px!important}.species-gallery.panel,.panel.dossier-section{padding:16px!important}.gallery-main{min-height:280px!important}.gallery-image-stage img{max-height:320px!important;object-fit:contain!important}.gallery-thumbs{display:flex!important;overflow-x:auto!important;gap:8px!important}.gallery-thumbs>*{flex:0 0 76px!important}.dossier-facts-grid{grid-template-columns:1fr 1fr!important}.recent-tree-strip{overflow-x:auto!important}

  /* Validações e ocorrências */
  .validation-layout{grid-template-columns:1fr!important;gap:10px!important}.validation-queue,.validation-focus{min-height:0!important}.validation-focus{position:static!important}.validation-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.validation-actions button{width:100%!important}.occurrence-metrics{display:flex!important;overflow-x:auto!important;gap:9px!important;scroll-snap-type:x mandatory}.occurrence-metrics>*{flex:0 0 72vw!important;scroll-snap-align:start}.occurrence-row{grid-template-columns:44px minmax(0,1fr)!important;gap:10px!important}.occurrence-meta{grid-column:2!important;display:flex!important;flex-wrap:wrap!important}

  /* Relatórios e configurações */
  .reports-grid,.settings-grid{grid-template-columns:1fr!important;gap:10px!important}.report-card,.settings-card{padding:16px!important}.diagnostic-warning{font-size:11px!important}

  /* Cadastro de campo */
  .capture-page{padding:8px 10px calc(105px + env(safe-area-inset-bottom))!important;max-width:none!important}.capture-header{padding:5px 2px 12px!important}.capture-header h1{font-size:27px!important}.capture-progress{overflow-x:auto!important;justify-content:flex-start!important;gap:5px!important;padding-bottom:4px!important}.capture-progress>*{flex:0 0 auto!important}.capture-body{max-width:none!important}.capture-card{border-radius:22px!important;padding:18px!important}.capture-card h2{font-size:22px!important}.capture-card p{font-size:12px!important}.form-grid.two{grid-template-columns:1fr!important}.capture-card input,.capture-card select,.capture-card textarea{font-size:16px!important;min-height:46px!important}.photo-drop{min-height:150px!important;border-radius:19px!important}.photo-grid,.photo-grid-v035{grid-template-columns:1fr 1fr!important;gap:8px!important}.photo-tile,.photo-tile-v035{min-width:0!important}.photo-tile img{height:145px!important;object-fit:cover!important}.photo-guidance{grid-template-columns:1fr 1fr!important}.capture-nav{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:14px!important}.capture-nav button{width:100%!important;min-height:50px!important}.candidate-list{gap:8px!important}.candidate{grid-template-columns:54px minmax(0,1fr)!important;padding:10px!important}.candidate-photo{width:54px!important;height:54px!important}.confidence{grid-column:1/-1!important;width:100%!important}.check-grid{grid-template-columns:1fr!important}.selected-species{align-items:flex-start!important;flex-wrap:wrap!important}.selected-species .mini-link{width:100%!important}

  .api-issue-banner{left:10px!important;right:10px!important;top:calc(68px + env(safe-area-inset-top))!important;max-width:none!important;border-radius:16px!important}
}
@media (max-width:390px){
  .mn-bottom{left:5px;right:5px}.mn-bottom-inner{padding-left:2px;padding-right:2px}.mn-bottom-link span{font-size:8px}.mn-create{width:58px;height:58px}.mn-sheet-grid{grid-template-columns:1fr}.info-metric-link{flex-basis:84vw!important}.info-operation-items{grid-template-columns:1fr!important}.info-composition-highlight{grid-template-columns:1fr!important}.dossier-facts-grid{grid-template-columns:1fr!important}.mobile-tree-meta{grid-template-columns:1fr 1fr!important}.photo-grid,.photo-grid-v035{grid-template-columns:1fr!important}.photo-tile img{height:210px!important}}
