body:has(:is(#tab-empresas,#tab-carteira).active) {background:#151619}
:is(#tab-empresas,#tab-carteira).active {
  margin-top:0;background:linear-gradient(150deg,#232426,#18191c 60%,#1d1917);
}
:is(#tab-empresas,#tab-carteira) .gp40 {padding: 4px 8px 0; color:#fff6e8}
:is(#tab-empresas,#tab-carteira) .gp40 h2,
#gp-confirmar-comercio h2 {margin:0 0 10px;color:#ffc454;font-size:21px}
:is(#tab-empresas,#tab-carteira) .gp40 :is(.gp40-panel,.gp40-item,.gp40-stat),
#gp-confirmar-comercio {
  background:linear-gradient(150deg,#232426,#18191c 60%,#1d1917);
  border:1px solid #786247;border-radius:9px;padding:10px;
}
:is(#tab-empresas,#tab-carteira) .gp40 :is(.gp40-item,.gp40-stat) {
  background:linear-gradient(145deg,#202124,#141518 75%);border-color:#ffffff24;
}
:is(#tab-empresas,#tab-carteira) .gp40 :is(input,select) {
  box-sizing:border-box;max-width:100%;min-height:40px;padding:6px 8px;border:1px solid #786247;
  border-radius:7px;background:#171719;color:#fff6e8;color-scheme:dark;
}
:is(#tab-empresas,#tab-carteira) .gp40 .loja-cancelar {margin:4px 4px 4px 0}
:is(#tab-empresas,#tab-carteira) .gp40 button:disabled {opacity:.48;cursor:not-allowed}
#tab-empresas .gp40-tabs button,
#tab-empresas .gp40-tabs button.active {
  min-height:42px;padding:6px 11px;border:1px solid #786247;border-radius:7px;
  background:linear-gradient(150deg,#3b3022,#211c17);color:#ffe4a9;box-shadow:none;
}
#tab-empresas .gp40-tabs button.active {border-color:#d5a75b;box-shadow:inset 0 -2px #d5a75b}
#tab-empresas .gp40-item + .gp40-item {margin-top:8px}
#tab-empresas .gp40-row label {display:grid;gap:3px;flex:1 1 40%}
#tab-empresas .gp40-row :is(input,select) {width:100%}
#tab-empresas .gp40-pumphead p {margin:2px 0;font-size:12px}
#tab-empresas .gp40-pumphead .gp40-art {width:76px;height:62px}
#tab-empresas .gp40-pumphead img {width:100%;height:100%;object-fit:contain}
#tab-carteira .gp40-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
#tab-carteira .gp40-stat {min-height:0}
#tab-carteira .gp40-line {display:grid;gap:4px;overflow-wrap:anywhere}
#tab-carteira .gp40-line p {margin:0}
.gp-carteira-grupo summary {cursor:pointer;padding:6px 0;color:#ffe1a1;font-weight:700}
.gp-carteira-grupo[open] > div {padding-top:8px;border-top:1px solid #66533b}
#gp-confirmar-comercio {box-sizing:border-box;width:calc(100% - 24px);max-width:440px;padding:14px;color:#fff6e8}
#gp-confirmar-comercio::backdrop {background:#0a050bbf}
