/* The Bid Portal pane in RMPAC ONE (2026-10-14): bpa- classes. The portal itself
   inside it is portal.css (.bpx); this is the frame round it. Dark by default,
   html.light below; background-color, never the shorthand, on controls. */
.bpa-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.bpa-acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.bpa-acts .up-btn { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.bpa-acts svg, .bpa-tab svg, .bpa-bar svg, .bpa-link svg { width: 16px; height: 16px; flex: none; }
.bpa-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border, rgba(255,255,255,.08)); margin: 16px 0 14px; overflow-x: auto; }
.bpa-tab { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--gray-light, #aeaeb2); background-color: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.bpa-tab:hover { color: var(--white, #fff); }
.bpa-tab.is-on { color: var(--white, #fff); border-bottom-color: var(--red, #c41717); }
html.light .bpa-tab { color: #6e6e73; }
html.light .bpa-tab:hover, html.light .bpa-tab.is-on { color: #111; }
.bpa-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(74,163,255,.5); background-color: rgba(74,163,255,.08); margin-bottom: 16px; font-size: 13.5px; }
html.light .bpa-bar { border-color: rgba(11,111,208,.4); background-color: rgba(11,111,208,.06); }
.bpa-bar select { font: inherit; font-size: 13.5px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--border, rgba(255,255,255,.15)); background-color: var(--off-black, #111); color: inherit; max-width: 100%; min-width: 260px; }
html.light .bpa-bar select { background-color: #fff; border-color: rgba(0,0,0,.15); }
.bpa-sw { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
.bpa-sw input { accent-color: var(--red, #c41717); }
.bpa-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--red, #c41717); text-decoration: none; }
.bpa-stage { min-height: 300px; }
.bpa-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--border, rgba(255,255,255,.15)); border-radius: 14px; }
.bpa-empty svg { width: 34px; height: 34px; color: var(--red, #c41717); }
.bpa-empty h3 { margin: 10px 0 6px; }
.bpa-empty p { margin: 0 auto; max-width: 480px; color: var(--gray-light, #aeaeb2); line-height: 1.55; }
html.light .bpa-empty p { color: #6e6e73; }
.bpa-feed { display: flex; flex-direction: column; gap: 8px; }
.bpa-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border, rgba(255,255,255,.08)); background-color: var(--off-black, #111); }
html.light .bpa-item { background-color: #fff; border-color: rgba(0,0,0,.08); }
.bpa-kind { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; text-align: center; background-color: rgba(74,163,255,.14); color: #4aa3ff; }
.bpa-kind.is-scope { background-color: rgba(60,199,127,.14); color: #3cc77f; }
.bpa-kind.is-schedule { background-color: rgba(232,169,21,.15); color: #e8a915; }
html.light .bpa-kind { color: #0b6fd0; } html.light .bpa-kind.is-scope { color: #13854b; } html.light .bpa-kind.is-schedule { color: #9a6a00; }
.bpa-item-m b { font-size: 14px; }
.bpa-item-m span { color: var(--gray-light, #aeaeb2); font-size: 13px; }
.bpa-item-m p { margin: 4px 0; white-space: pre-wrap; line-height: 1.5; font-size: 13.5px; }
.bpa-item-m small { color: var(--gray-mid, #6e6e73); font-size: 12px; }
.bpa-item time { font-size: 12px; color: var(--gray-mid, #6e6e73); white-space: nowrap; }
.bpa-table-wrap { overflow-x: auto; border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 12px; }
.bpa-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bpa-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-mid, #6e6e73); padding: 9px 12px; border-bottom: 1px solid var(--border, rgba(255,255,255,.08)); white-space: nowrap; }
.bpa-table td { padding: 10px 12px; border-bottom: 1px solid var(--border, rgba(255,255,255,.08)); vertical-align: top; }
.bpa-table td div { color: var(--gray-light, #aeaeb2); font-size: 12px; }
.bpa-ok { font-size: 11px; font-weight: 700; color: #3cc77f; margin-left: 6px; }
html.light .bpa-ok { color: #13854b; }
@media (max-width: 700px) { .bpa-item { grid-template-columns: 1fr; } .bpa-link { margin-left: 0; } .bpa-bar select { min-width: 0; width: 100%; } }
