/* The portal as the content pages draw it (Soluciones, Tecnología), since 2026-10-27 (#2407).
   These pages showed four JPG screenshots of September's portal (Satoshi, teal, the old sidebar),
   which no longer looks like the product. They now draw the same panels as the landing's
   «Agentes por departamento» boards: the inbox (.ib) and the accounting cards (.ac_*), with
   sample data, static (the landing's .rv reveal is left out, a hero panel is read at once).
   The inbox drops the landing's sidebar: the hero column is about 460 px at 1440, and with a
   172 px sidebar beside it every supplier name and chip was cut short.
   The rules are copied from landing.css and scoped under .pv, because site.css has its own
   .ok and the landing's sheet cannot be linked here (it restyles every element's font). */

.pv { border-radius: 28px; background: #F7F6F4; padding: 20px; }
.pv .pn { height: 420px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,17,21,.05), 0 0 0 1px rgba(15,17,21,.04); letter-spacing: 0; line-height: 1.35; }
.pv-note { margin: 12px 4px 0; font-size: 12.5px; color: var(--text-3); text-align: center; }

/* inbox: documents or bank movements */
.pv .ib { height: 100%; font-size: 13px; }
.pv .ib_mn { display: flex; flex-direction: column; min-width: 0; position: relative; background: #F7F6F4; overflow: hidden; }
.pv .ib_mn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(to bottom, rgba(247,246,244,0), #F7F6F4); pointer-events: none; }
.pv .ib_tb2 { display: flex; gap: 18px; padding: 14px 16px 10px; border-bottom: 1px solid #ECEBE8; font-size: 14px; color: #9AA0AB; background: #fff; white-space: nowrap; }
.pv .ib_tb2 b { color: #0F1115; font-weight: 500; }
.pv .ib_tb2 i { font-style: normal; font-size: 11.5px; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #E9E8E5; color: #5F6672; }
.pv .ib_row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; align-items: center; margin: 8px 12px 0; padding: 11px 13px; background: #fff; border: 1px solid #E9E8E5; border-radius: 14px; box-shadow: 0 1px 2px rgba(15,17,21,.05); }
.pv .ib_av { position: relative; width: 38px; height: 38px; }
.pv .ib_av img, .pv .ib_ini { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ECEBE8; background: #fff; box-sizing: border-box; }
.pv .ib_av img { object-fit: contain; padding: 5px; }
.pv .ib_ini { display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; color: #3A404B; background: #F1F0EE; }
.pv .ib_bd { position: absolute; right: -4px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pv .ib_bd img { width: 13px; height: 13px; border: 0; padding: 0; border-radius: 0; }
.pv .ib_tt { font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv .ib_ds { color: #6A7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.pv .ib_pl { display: flex; gap: 6px; margin-top: 6px; min-width: 0; overflow: hidden; }
.pv .ib_p { white-space: nowrap; flex: none; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; background: #E6F6EE; color: #0B7A4B; }
.pv .ib_p.ib_g { background: #EEF0F3; color: #4B5563; }
.pv .ib_p.ib_o { background: #FEF0DB; color: #B45309; }
.pv .ib_p.ib_b { background: #E8EEFF; color: #2F4FD8; }
.pv .ib_rt { text-align: right; color: #9AA0AB; font-size: 12px; white-space: nowrap; }
.pv .ib_rt b { display: block; color: #0F1115; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.pv .ib_rt b.ib_in { color: #0B7A4B; }

/* accounting: journal entries and tax models */
.pv .ac_tb { display: flex; gap: 2px; padding: 10px 12px 0; border-bottom: 1px solid #ECEBE8; background: #FAFAF9; }
.pv .ac_tb span { padding: 7px 12px; border-radius: 8px 8px 0 0; color: #6A7280; font-size: 12px; }
.pv .ac_tb span.on { background: #F7F6F4; color: #0F1115; border: 1px solid #ECEBE8; border-bottom: 1px solid #F7F6F4; margin-bottom: -1px; font-weight: 500; }
.pv .ac_bd { position: relative; height: calc(100% - 41px); background: #F7F6F4; padding: 10px 12px 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; font-size: 12px; font-variant-numeric: tabular-nums; }
.pv .ac_bd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(to bottom, rgba(247,246,244,0), #F7F6F4); pointer-events: none; }
.pv .ac_c { background: #fff; border: 1px solid #E9E8E5; border-radius: 12px; padding: 9px 12px; box-shadow: 0 1px 2px rgba(15,17,21,.05); }
.pv .ac_t { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.pv .ac_h { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.pv .ac_h b { font-weight: 600; }
.pv .ac_h em { font-style: normal; color: #8A8F99; }
.pv .ac_h span { margin-left: auto; color: #3A404B; }
.pv .ac_l { display: grid; grid-template-columns: minmax(0,1fr) 70px 70px; gap: 8px; padding: 3px 0; border-top: 1px solid #F1F0EE; white-space: nowrap; }
.pv .ac_l span:first-child { overflow: hidden; text-overflow: ellipsis; }
.pv .ac_l span:nth-child(n+2) { text-align: right; }
.pv .ac_l.hd { border-top: 0; color: #9AA0AB; font-size: 10.5px; padding-top: 0; }
.pv .ok { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #E6F6EE; color: #0B7A4B; font-size: 11px; font-weight: 500; white-space: nowrap; }
.pv .ac_doc { display: flex; align-items: center; gap: 12px; }
.pv .ac_doc img { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E4E3E0; object-fit: contain; padding: 3px; box-sizing: border-box; background: #fff; }
.pv .ac_doc > span:nth-child(2) { flex: 1; min-width: 0; }
.pv .ac_doc small { display: block; color: #8A8F99; font-size: 12px; }

@media (max-width: 600px) {
  .pv { padding: 12px; border-radius: 22px; }
  .pv .pn { height: 380px; }
  .pv .ib_tb2 { gap: 14px; padding: 12px 12px 8px; font-size: 13px; }
  .pv .ib_row { grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin: 8px 8px 0; padding: 10px 11px; }
  .pv .ib_av { display: none; }
  .pv .ib_pl { flex-wrap: wrap; }
  .pv .ac_l { grid-template-columns: minmax(0,1fr) 60px 60px; }
}
