/* Portal de operadores turísticos */
.ptop { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; background: #101828; color: #fff; position: sticky; top: 0; z-index: 20; }
.ptop .pbrand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ptop .pbrand i { width: 34px; height: 34px; border-radius: 10px; background: #c2410c; display: grid; place-items: center; font-style: normal; }
.ptop .pbrand small { display: block; font-weight: 400; opacity: .7; font-size: 12px; }
.ptop .who { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.ptop .btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.portal main { max-width: 1280px; margin: 0 auto; padding: 22px 24px 60px; }
.portal .tur-tabs { margin: 0 0 18px; }
.portal .tur-tabs a.on { background: #101828; color: #fff; border-color: #101828; }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.paccount { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.notice-op { border-left: 4px solid #2563eb; }
/* Cargador de carga masiva (compartido con el sistema interno) */
.bulk { display: flex; flex-direction: column; gap: 14px; }
.bulk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bulk-steps div { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.bulk-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #101828; color: #fff; font-size: 12px; margin-right: 6px; }
.file-btn { cursor: pointer; }
.bulk-help { font-size: 13px; } .bulk-help summary { cursor: pointer; font-weight: 600; }
.bulk-help h4 { margin: 8px 0 4px; }
.bulk-sum { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.bulk-sum div { background: #f8fafc; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.bulk-sum b { font-size: 18px; } .bulk-sum span { font-size: 12px; color: var(--muted); }
.bulk-sum .tot { background: #101828; color: #fff; } .bulk-sum .tot span { color: #cbd5e1; }
.bulk-wrap { max-height: 52vh; overflow: auto; }
.bulk-tbl input { padding: 4px 6px; font-size: 12px; }
.bulk-tbl input.auto::placeholder { color: #15803d; font-style: italic; opacity: 1; }
.bulk-tbl td.auto { color: #15803d; font-style: italic; }
.bulk-tbl .msgs { font-size: 12px; padding-top: 0; } .bulk-tbl .msgs .badge { margin: 1px 2px 1px 0; white-space: normal; }
.bulk-tbl tr.msgrow td { border-top: 0; }
.bulk label, .bulk-op { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
.bulk label.file-btn { display: inline-flex; flex-direction: row; }
.bulk-tbl td { white-space: nowrap; }
.bulk-tbl tr.row-err td { background: #fef2f2; }
.bulk-groups summary { cursor: pointer; font-weight: 600; font-size: 13px; }
@media (max-width: 800px) { .bulk-steps, .bulk-sum { grid-template-columns: 1fr 1fr; } .ptop { padding: 10px 14px; } .portal main { padding: 16px 12px 50px; } }
/* Portal de votación de la Asamblea */
.asamblea main { max-width: 760px; }
.asamblea .ptop .pbrand i { background: #7c2d12; }
.vote-card h2 { margin: 4px 0 10px; }
.vote-part { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.vote-part .bar { flex: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; } .vote-part .bar i { display: block; height: 100%; background: #7c2d12; }
.vote-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.vote-btns .btn { flex-direction: column; padding: 14px 6px; font-size: 15px; height: auto; display: flex; align-items: center; gap: 4px; }
.vote-btns .btn span { font-size: 26px; }
.vote-btns .vb-favor.primary { background: #15803d; border-color: #15803d; } .vote-btns .vb-contra.primary { background: #b91c1c; border-color: #b91c1c; } .vote-btns .vb-abst.primary { background: #475467; border-color: #475467; }
@media (max-width: 560px) { .ptop .who span { display: none; } .ptop .pbrand small { display: none; } .vote-btns .btn { font-size: 13px; } }

/* Licitaciones en el portal de la Asamblea */
.offers { display: grid; gap: 10px; margin: 10px 0; }
.offer { border: 1px solid var(--line, #e2e8f0); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.offer.mine { border-color: var(--accent, #0f766e); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent, #0f766e) 25%, transparent); }
.offer-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.offer-n { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.offer-n span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted, #64748b); } .offer-n b { font-size: 15px; color: var(--ink, #0f172a); }

/* Portal público de licitaciones */
.licit main { max-width: 900px; margin: 0 auto; padding: 16px; }
.tcard { display: block; color: inherit; text-decoration: none; transition: box-shadow .15s; }
.tcard:hover { box-shadow: 0 6px 20px rgba(15, 23, 42, .08); }
.tcard h2 { margin: 6px 0; }
.qa { border-top: 1px solid var(--line); padding: 8px 0; font-size: 14px; }
@media print { .ptop, form, .btn { display: none !important; } }
