/* 648 — Painéis achatados ("muito card, muita caixinha").
   A ficha do campo e do abrigo tinha 4 níveis de moldura: painel › abas em
   caixa › barra de navegação em caixa › 6 azulejos grandes, cada um com ícone,
   título e valor. Aqui a mesma marcação vira UMA lista: cada azulejo é uma
   linha (ícone · nome · valor · ›) separada por um fio, sem caixa própria; as
   abas viram um seletor com sublinhado; os botões da barra de navegação
   perdem a moldura. Nada muda no HTML nem nas ações — só a aparência.
   Carregado por último. */

/* Abas das áreas (Produção, Mercado, Gestão): sem caixa em cada aba. */
#app #gamePanel :is(.production-icon-tabs,.market-icon-tabs,.management-tabs,#gamePanelTabs>nav){gap:0!important;padding:0!important;margin:0 0 6px!important;background:none!important;border:0!important;border-bottom:1px solid rgba(120,96,58,.22)!important;border-radius:0!important;box-shadow:none!important}
#app #gamePanel :is(.production-icon-tabs,.market-icon-tabs,.management-tabs,#gamePanelTabs>nav)>button{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:44px!important;color:#6b5a3e!important}
#app #gamePanel :is(.production-icon-tabs,.market-icon-tabs,.management-tabs,#gamePanelTabs>nav)>button:is([aria-pressed=true],.active){color:#2f4a1c!important;box-shadow:inset 0 -3px #6b843f!important;background:rgba(107,132,63,.08)!important}

/* Barra "‹ Campo 1 ›": botões sem moldura, rótulo sem caixa. */
#app #gamePanel:is([data-theme=production],[data-theme=management]) :is(.production-field-toolbar,.production-field-detail-head)>button{background:transparent!important;border:0!important;box-shadow:none!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-current{background:transparent!important;border:0!important}

/* Os 6 azulejos viram uma lista de linhas. */
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-dashboard{display:flex!important;flex-direction:column!important;gap:0!important;height:100%!important;min-height:0!important;padding:0!important;border-radius:12px!important;background:transparent!important;border:0!important;overflow-x:hidden!important;overflow-y:auto!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile{display:grid!important;grid-template-columns:30px auto minmax(0,1fr) 14px!important;align-items:center!important;gap:8px!important;width:100%!important;height:auto!important;min-height:42px!important;padding:4px 10px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(120,96,58,.14)!important;border-radius:0!important;background:rgba(255,255,255,.55)!important;box-shadow:none!important;text-align:left!important;flex:0 0 auto!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile:first-child{border-radius:12px 12px 0 0!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile:last-child{border-radius:0 0 12px 12px!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile:last-child{border-bottom:0!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile::after{content:'›';color:#a08a62;font-size:20px;line-height:1;justify-self:end}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile .production-field-tile-icon{font-size:20px!important;width:30px!important;height:auto!important;margin:0!important;text-align:center}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile strong{font-size:14px!important;line-height:1.2!important;margin:0!important;white-space:nowrap}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile small{font-size:13px!important;line-height:1.25!important;margin:0!important;text-align:right!important;color:#6b5a3e!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important;-webkit-line-clamp:unset!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile.needs-attention{background:rgba(232,168,64,.12)!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile.needs-attention small{color:#9a5a12!important;font-weight:700}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-tile:active{background:rgba(107,132,63,.14)!important}

/* Botão de ação principal embaixo: um botão só, sem caixa em volta. */
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-go-bar{padding:6px 0 0!important;background:none!important;border:0!important;box-shadow:none!important}

/* Galeria de lavouras/espécies e do mercado: azulejos mais leves. */
#app #gamePanel :is(.production-catalog-grid,.market-thumbnail-grid)>button{border-color:rgba(120,96,58,.18)!important;box-shadow:none!important;background:rgba(236,226,196,.45)!important}
/* Tela de detalhe (Água, Ração, Galinhas…): sem cartão verde em volta,
   status como uma faixa, números como linhas de texto. */
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-detail-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px 0!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-detail-status{border:0!important;border-left:4px solid #7e9b48!important;border-radius:6px!important;background:rgba(126,155,72,.10)!important;box-shadow:none!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-detail-status.needs-attention{border-left-color:#d08a2a!important;background:rgba(232,168,64,.12)!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-detail-grid{gap:0!important;border-top:1px solid rgba(120,96,58,.14)}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-detail-grid>*{background:transparent!important;border:0!important;border-bottom:1px solid rgba(120,96,58,.14)!important;border-radius:0!important;box-shadow:none!important}
/* A lista rola dentro do espaço dela; o botão de ação fica sempre à vista. */
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-shell{height:100%!important;max-height:100%!important;min-height:0!important}
#app #gamePanel:is([data-theme=production],[data-theme=management]) .production-field-shell>.production-field-dashboard{height:auto!important;max-height:100%!important;align-self:stretch}
