/* THE BID PORTAL (2026-10-14). bid.rmpacone.com: the small landing, register and
   log in (.bps, the site), and the app a bidder works in (.bpx), which the
   RMPAC ONE panel also mounts for its "see what a bidder sees" preview. Dark
   tokens by default, html.light below, the same switch as rmpacone.com. */
.bps, .bpx {
  --bg: #0b0b0d; --panel: #141417; --panel2: #1b1b20; --panel3: #23232a; --ink: #f2f2f5; --ink2: #c3c3cb; --ink3: #8c8c96;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.15); --red: #d42020; --red2: #a51212; --red-soft: rgba(212,32,32,.14);
  --good: #3cc77f; --good-soft: rgba(60,199,127,.14); --warn: #e8a915; --warn-soft: rgba(232,169,21,.15); --blue: #4aa3ff; --blue-soft: rgba(74,163,255,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.35); --radius: 14px;
}
html.light .bps, html.light .bpx {
  --bg: #f5f5f7; --panel: #ffffff; --panel2: #f4f4f7; --panel3: #ebebf0; --ink: #141418; --ink2: #44444d; --ink3: #7c7c86;
  --line: rgba(0,0,0,.08); --line2: rgba(0,0,0,.15); --red: #c41717; --red2: #9e1010; --red-soft: rgba(196,23,23,.08);
  --good: #13854b; --good-soft: rgba(19,133,75,.1); --warn: #9a6a00; --warn-soft: rgba(230,167,0,.14); --blue: #0b6fd0; --blue-soft: rgba(11,111,208,.09);
  --shadow: 0 1px 2px rgba(16,16,24,.05), 0 10px 28px rgba(16,16,24,.07);
}

/* ═══ THE SITE ═══════════════════════════════════════════════════════════ */
body.bps { margin: 0; background-color: var(--bg); color: var(--ink); font-family: "Space Grotesk", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
.bps a { color: inherit; }
.bps-hd { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px clamp(16px, 4vw, 40px); background-color: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bps-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.bps-brand img { height: 24px; width: auto; max-width: none; display: block; }
.bps-brand .is-dark { display: none; }
html:not(.light) .bps-brand .is-light { display: none; }
html:not(.light) .bps-brand .is-dark { display: block; }
.bps-brand span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding-left: 12px; border-left: 1px solid var(--line2); white-space: nowrap; }
.bps-hd-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bps-theme { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line2); background-color: transparent; color: var(--ink2); cursor: pointer; display: inline-grid; place-items: center; }
.bps-theme:hover { color: var(--ink); background-color: var(--panel2); }
.bps-theme svg { width: 17px; height: 17px; }
.bps-link { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink2); text-decoration: none; padding: 8px 12px; border-radius: 10px; background-color: transparent; border: 0; cursor: pointer; }
.bps-link:hover { color: var(--ink); background-color: var(--panel2); }
.bps-btn { font: inherit; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--red); background: linear-gradient(180deg, #e02828, var(--red) 55%, var(--red2)); color: #fff; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(196,23,23,.25); white-space: nowrap; }
.bps-btn:hover { filter: brightness(1.06); }
.bps-btn:disabled { opacity: .6; cursor: default; }
.bps-btn.is-ghost { background: transparent; color: var(--ink); border-color: var(--line2); box-shadow: none; }
.bps-btn.is-ghost:hover { border-color: var(--ink3); }
.bps-btn.is-lg { padding: 13px 24px; font-size: 15px; }
.bps-main { flex: 1 1 auto; }
.bps-ft { border-top: 1px solid var(--line); padding: 22px clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 12.5px; color: var(--ink3); }
.bps-ft a { color: var(--ink2); text-decoration: none; }
.bps-ft a:hover { color: var(--ink); }
.bps-ft .bps-ft-r { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
.bps-boot { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 90px 20px; color: var(--ink3); }
.bps-spin, .bpx-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--red); animation: bps-spin .8s linear infinite; flex: none; }
@keyframes bps-spin { to { transform: rotate(360deg); } }

/* the landing */
.bps-hero { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 92px) clamp(16px, 4vw, 40px) 40px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bps-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.bps-hero h1 { margin: 14px 0 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
.bps-hero h1 em { font-style: normal; color: var(--red); }
.bps-hero p { margin: 0 0 26px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; color: var(--ink2); max-width: 560px; }
.bps-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.bps-note { margin-top: 18px; font-size: 13px; color: var(--ink3); display: flex; gap: 8px; align-items: flex-start; max-width: 520px; line-height: 1.5; }
.bps-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--red); }
/* the picture of the portal, drawn in CSS */
.bps-art { position: relative; min-height: 420px; }
.bps-art .bps-card { position: absolute; background-color: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; }
.bps-art .a1 { left: 0; top: 10px; right: 64px; }
.bps-art .a2 { left: 56px; top: 178px; right: 0; }
.bps-art .a3 { left: 18px; top: 322px; width: 58%; }
.bps-k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.bps-t { font-size: 16px; font-weight: 700; margin: 4px 0 2px; }
.bps-s { font-size: 13px; color: var(--ink3); }
.bps-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.bps-row .bps-ring { margin-left: auto; }
.bps-pill { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background-color: var(--panel2); color: var(--ink2); white-space: nowrap; }
.bps-pill.is-red { background-color: var(--red-soft); color: var(--red); }
.bps-pill.is-good { background-color: var(--good-soft); color: var(--good); }
.bps-bar { height: 8px; border-radius: 99px; background-color: var(--panel3); overflow: hidden; flex: 1 1 auto; }
.bps-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--red), #ff5a3c); }
.bps-ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--red) 0 72%, var(--panel3) 72% 100%); flex: none; }
.bps-ring b { width: 42px; height: 42px; border-radius: 50%; background-color: var(--panel); display: grid; place-items: center; font-size: 13px; }
.bps-photos { display: flex; gap: 6px; margin-top: 10px; }
.bps-photos i { width: 44px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #8a96a8, #46505e); opacity: .85; }
.bps-photos i:nth-child(2) { background: linear-gradient(135deg, #b69a72, #6b5537); }
.bps-photos i:nth-child(3) { background: linear-gradient(135deg, #7da38a, #3e5a47); }
.bps-steps { max-width: 1180px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 40px) 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bps-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background-color: var(--panel); }
.bps-step b { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background-color: var(--red-soft); color: var(--red); font-weight: 700; flex: none; }
.bps-step h3 { margin: 2px 0 4px; font-size: 15px; }
.bps-step p { margin: 0; font-size: 13.5px; color: var(--ink3); line-height: 1.5; }
.bps-feats { max-width: 1180px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px) 70px; }
.bps-feats h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; letter-spacing: -.01em; }
.bps-feats > p { margin: 0 0 22px; color: var(--ink3); }
.bps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bps-feat { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background-color: var(--panel); }
.bps-feat i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background-color: var(--panel2); color: var(--red); margin-bottom: 12px; }
.bps-feat i svg { width: 20px; height: 20px; }
.bps-feat h3 { margin: 0 0 6px; font-size: 15.5px; }
.bps-feat p { margin: 0; font-size: 13.5px; color: var(--ink3); line-height: 1.55; }
.bps-feat small { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--good); }
@media (max-width: 900px) { .bps-hero { grid-template-columns: 1fr; } .bps-art { min-height: 400px; max-width: 520px; } .bps-grid { grid-template-columns: 1fr 1fr; } .bps-steps { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bps-grid { grid-template-columns: 1fr; } .bps-brand span { display: none; } .bps-hd .bps-link.is-hide-sm { display: none; } .bps-art { min-height: 430px; } .bps-art .a1 { right: 0; } .bps-art .a2 { left: 18px; } .bps-art .a3 { width: 82%; } }

/* register and log in */
.bps-auth { max-width: 980px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) clamp(16px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.bps-auth.is-narrow { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.bps-auth h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 10px; letter-spacing: -.01em; line-height: 1.12; }
.bps-auth .bps-lede { color: var(--ink2); line-height: 1.6; margin: 0 0 18px; font-size: 15px; }
.bps-invite { border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--red) 35%, var(--line)); background-color: var(--red-soft); padding: 16px 18px; margin-bottom: 16px; }
.bps-invite b { display: block; font-size: 16px; margin: 4px 0; }
.bps-invite span { font-size: 13px; color: var(--ink2); }
.bps-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.bps-checks li { display: flex; gap: 10px; font-size: 14px; color: var(--ink2); }
.bps-checks svg { width: 18px; height: 18px; color: var(--good); flex: none; }
.bps-form { border-radius: 18px; border: 1px solid var(--line); background-color: var(--panel); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); }
.bps-form h2 { margin: 0 0 4px; font-size: 20px; }
.bps-form .bps-sub { margin: 0 0 18px; font-size: 13.5px; color: var(--ink3); }
.bps-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bps-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bps-f.is-wide { grid-column: 1 / -1; }
.bps-f > span { font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.bps-f input { font: inherit; font-size: 15px; height: 44px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line2); background-color: var(--panel2); color: var(--ink); outline: none; box-sizing: border-box; width: 100%; }
.bps-f input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.bps-f input[readonly] { color: var(--ink3); }
.bps-f small { font-size: 12px; color: var(--ink3); }
.bps-code input { letter-spacing: .4em; font-size: 22px; text-align: center; font-weight: 700; }
.bps-err { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background-color: var(--red-soft); color: var(--red); font-size: 13.5px; line-height: 1.45; }
.bps-ok { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background-color: var(--good-soft); color: var(--good); font-size: 13.5px; }
.bps-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.bps-acts .bps-btn { flex: 1 1 auto; }
.bps-alt { margin-top: 16px; font-size: 13.5px; color: var(--ink3); text-align: center; }
.bps-alt a, .bps-alt button { color: var(--red); font-weight: 700; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.bps-agree { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink2); line-height: 1.45; }
.bps-agree input { margin-top: 3px; accent-color: var(--red); }
.bps-agree a { color: var(--red); }
@media (max-width: 820px) { .bps-auth { grid-template-columns: 1fr; } .bps-fields { grid-template-columns: 1fr; } }

/* ═══ THE APP ════════════════════════════════════════════════════════════ */
.bpx { color: var(--ink); font-size: 14px; line-height: 1.45; }
.bpx * { box-sizing: border-box; }
.bpx-wrap { max-width: 1240px; margin: 0 auto; padding: 22px clamp(14px, 3vw, 32px) 60px; }
.bpx.is-embedded .bpx-wrap { padding: 4px 0 30px; max-width: none; }
.bpx-boot { display: flex; align-items: center; gap: 12px; padding: 60px 10px; color: var(--ink3); justify-content: center; }
.bpx-i { width: 18px; height: 18px; flex: none; }
.bpx-preview { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); background-color: var(--blue-soft); color: var(--ink); margin-bottom: 16px; font-size: 13.5px; }
.bpx-preview b { color: var(--blue); }
.bpx-preview .bpx-sp { flex: 1 1 auto; }
.bpx-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background-color: var(--panel); margin-bottom: 18px; }
.bpx-pick span { font-size: 13px; color: var(--ink2); font-weight: 600; }
.bpx select, .bpx input, .bpx textarea { font: inherit; font-size: 14px; color: var(--ink); background-color: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; outline: none; }
.bpx select, .bpx input { height: 38px; padding: 0 11px; }
.bpx textarea { padding: 10px 12px; resize: vertical; min-height: 76px; width: 100%; line-height: 1.5; }
.bpx select:focus, .bpx input:focus, .bpx textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.bpx input[type="checkbox"], .bpx input[type="radio"] { height: auto; accent-color: var(--red); }
.bpx input[type="range"] { padding: 0; height: 20px; border: 0; background: none; accent-color: var(--red); box-shadow: none; }
.bpx-btn { font: inherit; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--red); background: linear-gradient(180deg, #e02828, var(--red) 55%, var(--red2)); color: #fff; cursor: pointer; white-space: nowrap; text-decoration: none; }
.bpx-btn:hover { filter: brightness(1.06); }
.bpx-btn:disabled { opacity: .55; cursor: default; filter: none; }
.bpx-btn.is-ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.bpx-btn.is-ghost:hover { border-color: var(--ink3); }
.bpx-btn.is-soft { background: var(--panel2); color: var(--ink); border-color: var(--line); }
.bpx-btn.is-sm { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.bpx-btn .bpx-i { width: 15px; height: 15px; }
.bpx-link { font: inherit; color: var(--red); background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; text-decoration: none; }
.bpx-link.is-quiet { color: var(--ink3); font-weight: 600; }
.bpx-x { width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: var(--ink3); cursor: pointer; display: inline-grid; place-items: center; }
.bpx-x:hover { color: var(--red); background-color: var(--red-soft); }
.bpx-x .bpx-i { width: 15px; height: 15px; }
.bpx-card { background-color: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.bpx-card + .bpx-card { margin-top: 14px; }
.bpx-card h2 { margin: 0 0 12px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.bpx-card h2 small { font-size: 12.5px; color: var(--ink3); font-weight: 500; margin-left: auto; }
.bpx-card h3 { margin: 0 0 8px; font-size: 14px; }
.bpx-quiet { color: var(--ink3); font-size: 13.5px; }
.bpx-err { padding: 10px 12px; border-radius: 10px; background-color: var(--red-soft); color: var(--red); font-size: 13.5px; margin: 10px 0; }
.bpx-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background-color: var(--panel2); color: var(--ink2); white-space: nowrap; }
.bpx-pill.is-open { background-color: var(--blue-soft); color: var(--blue); }
.bpx-pill.is-submitted { background-color: var(--warn-soft); color: var(--warn); }
.bpx-pill.is-awarded, .bpx-pill.is-good { background-color: var(--good-soft); color: var(--good); }
.bpx-pill.is-declined { background-color: var(--panel3); color: var(--ink3); }
.bpx-pill.is-red { background-color: var(--red-soft); color: var(--red); }
.bpx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background-color: var(--panel2); border: 1px solid var(--line); color: var(--ink2); white-space: nowrap; }
.bpx-chip b { color: var(--ink); }

/* home */
.bpx-hello { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bpx-hello h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; }
.bpx-hello p { margin: 4px 0 0; color: var(--ink3); }
.bpx-hello .bpx-sp { flex: 1 1 auto; }
.bpx-finish { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); background-color: var(--warn-soft); margin-bottom: 18px; flex-wrap: wrap; }
.bpx-finish b { display: block; }
.bpx-finish span { font-size: 13px; color: var(--ink2); }
.bpx-finish .bpx-sp { flex: 1 1 auto; }
.bpx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.bpx-stat { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background-color: var(--panel); display: flex; flex-direction: column; gap: 6px; }
.bpx-stat span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.bpx-stat b { font-size: 28px; line-height: 1; letter-spacing: -.02em; }
.bpx-stat.is-red b { color: var(--red); } .bpx-stat.is-good b { color: var(--good); } .bpx-stat.is-warn b { color: var(--warn); }
.bpx-sec { margin-bottom: 26px; }
.bpx-sec > h2 { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin: 0 0 10px; }
.bpx-sec > h2 em { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 99px; background-color: var(--panel2); color: var(--ink2); letter-spacing: 0; }
.bpx-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.bpx-job { position: relative; display: flex; gap: 14px; align-items: flex-start; text-align: left; font: inherit; color: inherit; padding: 16px 16px 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); background-color: var(--panel); cursor: pointer; overflow: hidden; transition: transform .14s, border-color .14s, box-shadow .14s; }
.bpx-job:hover { transform: translateY(-1px); border-color: var(--line2); box-shadow: var(--shadow); }
.bpx-job::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background-color: var(--blue); }
.bpx-job.is-submitted::before { background-color: var(--warn); } .bpx-job.is-awarded::before { background-color: var(--good); } .bpx-job.is-declined::before { background-color: var(--ink3); }
.bpx-job-m { flex: 1 1 auto; min-width: 0; }
.bpx-job-m b { display: block; font-size: 15.5px; line-height: 1.3; }
.bpx-job-m > span { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 3px; }
.bpx-job-c { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bpx-due { flex: none; width: 60px; text-align: center; }
.bpx-due b { display: block; font-size: 22px; line-height: 1; }
.bpx-due span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.bpx-due.is-hot b { color: var(--red); }
.bpx-dot { position: absolute; top: 12px; right: 12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background-color: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.bpx-empty { text-align: center; padding: 40px 20px; border-radius: var(--radius); border: 1px dashed var(--line2); background-color: var(--panel); }
.bpx-empty h2 { margin: 12px 0 6px; font-size: 19px; }
.bpx-empty p { margin: 0 auto 16px; max-width: 480px; color: var(--ink3); line-height: 1.55; }
.bpx-empty .bpx-big { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; background-color: var(--red-soft); color: var(--red); }
.bpx-claim { display: flex; gap: 8px; max-width: 560px; }
.bpx-empty .bpx-claim { margin: 0 auto; }
.bpx-claim input { flex: 1 1 auto; min-width: 0; }

/* a job */
.bpx-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink3); background: none; border: 0; cursor: pointer; padding: 0; margin-bottom: 10px; font-family: inherit; }
.bpx-back:hover { color: var(--ink); }
.bpx-jh { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.bpx-jh-m { flex: 1 1 380px; min-width: 0; }
.bpx-jh h1 { margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -.01em; line-height: 1.15; }
.bpx-jh-s { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink3); font-size: 13.5px; }
.bpx-jh-r { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bpx-count { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background-color: var(--panel); border: 1px solid var(--line); }
.bpx-count b { font-size: 22px; line-height: 1; }
.bpx-count span { font-size: 12px; color: var(--ink3); line-height: 1.25; }
.bpx-count.is-hot b { color: var(--red); }
.bpx-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: thin; }
.bpx-tab { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink3); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 13px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; margin-bottom: -1px; }
.bpx-tab:hover { color: var(--ink); }
.bpx-tab.is-on { color: var(--ink); border-bottom-color: var(--red); }
.bpx-tab.is-locked { color: var(--ink3); opacity: .7; }
.bpx-tab .bpx-i { width: 14px; height: 14px; }
.bpx-tab em { font-style: normal; font-size: 11px; padding: 0 6px; border-radius: 99px; background-color: var(--panel2); color: var(--ink2); }
.bpx-tab em.is-hot { background-color: var(--red); color: #fff; }
.bpx-tsep { width: 1px; background-color: var(--line2); margin: 10px 6px; flex: none; }
.bpx-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.bpx-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
.bpx-kv div { padding: 10px 12px; border-radius: 10px; background-color: var(--panel2); }
.bpx-kv span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.bpx-kv b { display: block; font-size: 14px; margin-top: 3px; }
.bpx-pkg { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bpx-pkg + .bpx-pkg { margin-top: 10px; }
.bpx-pkg-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bpx-pkg-h b { font-size: 15px; }
.bpx-num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background-color: var(--red-soft); color: var(--red); }
.bpx-text { white-space: pre-wrap; color: var(--ink2); line-height: 1.6; font-size: 13.5px; margin: 10px 0 0; }
.bpx-people { display: flex; flex-direction: column; gap: 8px; }
.bpx-person { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.bpx-person i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background-color: var(--panel3); font-style: normal; font-size: 12px; font-weight: 700; flex: none; }
.bpx-person small { margin-left: auto; color: var(--ink3); font-size: 12px; }
.bpx-files { display: flex; flex-direction: column; }
.bpx-file { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); }
.bpx-file:first-child { border-top: 0; }
.bpx-file .bpx-ext { width: 36px; height: 40px; border-radius: 8px; display: grid; place-items: center; background-color: var(--panel2); border: 1px solid var(--line); font-size: 9.5px; font-weight: 800; color: var(--red); flex: none; text-transform: uppercase; }
.bpx-file-m { flex: 1 1 auto; min-width: 0; }
.bpx-file-m b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bpx-file-m span { font-size: 12px; color: var(--ink3); }
.bpx-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border: 2px dashed var(--line2); border-radius: 12px; text-align: center; cursor: pointer; color: var(--ink2); }
.bpx-drop:hover, .bpx-drop.is-over { border-color: var(--red); background-color: var(--red-soft); }
.bpx-drop b { color: var(--red); }
.bpx-drop small { color: var(--ink3); }
.bpx-job-prog { margin-top: 8px; }
.bpx-up { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink2); margin-top: 8px; }
.bpx-up .bpx-bar { flex: 1 1 auto; }
.bpx-bar { height: 8px; border-radius: 99px; background-color: var(--panel3); overflow: hidden; }
.bpx-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--red), #ff6a3c); transition: width .2s; }
.bpx-bar.is-good i { background: linear-gradient(90deg, var(--good), #6bd99f); }
.bpx-money { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line2); border-radius: 12px; background-color: var(--panel2); padding: 0 14px; }
.bpx-money span { font-size: 22px; color: var(--ink3); font-weight: 600; }
.bpx-money input { border: 0; background: none; height: 54px; font-size: 26px; font-weight: 700; padding: 0; flex: 1 1 auto; min-width: 0; box-shadow: none !important; }
.bpx-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; }
.bpx-status.is-submitted { background-color: var(--warn-soft); }
.bpx-status.is-declined { background-color: var(--panel2); }
.bpx-status.is-awarded { background-color: var(--good-soft); }
.bpx-status b { display: block; }
.bpx-status span { font-size: 13px; color: var(--ink2); }
.bpx-thread { display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; padding: 4px; margin-bottom: 12px; }
.bpx-msg { max-width: 78%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background-color: var(--panel2); border: 1px solid var(--line); }
.bpx-msg.is-me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background-color: var(--red-soft); border-color: color-mix(in srgb, var(--red) 25%, transparent); }
.bpx-msg div { white-space: pre-wrap; line-height: 1.5; }
.bpx-msg small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink3); }
.bpx-compose { display: flex; gap: 10px; align-items: flex-end; }
.bpx-compose textarea { min-height: 52px; }
.bpx-lock { text-align: center; padding: 46px 20px; }
.bpx-lock .bpx-big { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; background-color: var(--panel2); color: var(--ink3); }
.bpx-lock h2 { margin: 12px 0 6px; font-size: 18px; justify-content: center; }
.bpx-lock p { margin: 0 auto; max-width: 460px; color: var(--ink3); line-height: 1.55; }

/* the awarded workspace */
.bpx-prog { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bpx-prog .bpx-bar { flex: 1 1 auto; height: 12px; }
.bpx-prog b { font-size: 26px; line-height: 1; }
.bpx-div { margin-top: 16px; }
.bpx-div h3 { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); margin: 0 0 8px; }
.bpx-scope { display: grid; grid-template-columns: minmax(0, 1fr) 150px 170px 34px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background-color: var(--panel); }
.bpx-scope + .bpx-scope { margin-top: 6px; }
.bpx-scope.is-done .bpx-scope-t { text-decoration: line-through; color: var(--ink3); }
.bpx-scope-t { font-weight: 600; min-width: 0; }
.bpx-scope-t input { width: 100%; background: transparent; border-color: transparent; font-weight: 600; padding: 0 6px; }
.bpx-scope-t input:hover { border-color: var(--line2); }
.bpx-scope select { width: 100%; height: 34px; }
.bpx-pct { display: flex; align-items: center; gap: 8px; }
.bpx-pct input[type="range"] { flex: 1 1 auto; }
.bpx-pct b { width: 40px; text-align: right; font-size: 13px; }
.bpx-add { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.bpx-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bpx-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bpx-f.is-2 { grid-column: span 2; }
.bpx-f.is-wide { grid-column: 1 / -1; }
.bpx-f > span { font-size: 12px; font-weight: 600; color: var(--ink2); }
.bpx-f input, .bpx-f select { width: 100%; }
.bpx-f.is-missing > span::after { content: " · needed"; color: var(--red); }
.bpx-day { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background-color: var(--panel); }
.bpx-day + .bpx-day { margin-top: 10px; }
.bpx-day-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bpx-day-h b { font-size: 15px; }
.bpx-day-h .bpx-sp { flex: 1 1 auto; }
.bpx-day dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 14px; margin: 12px 0 0; font-size: 13.5px; }
.bpx-day dt { color: var(--ink3); font-weight: 600; }
.bpx-day dd { margin: 0; white-space: pre-wrap; line-height: 1.5; }
.bpx-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bpx-thumb { position: relative; width: 104px; height: 78px; border-radius: 10px; overflow: hidden; background-color: var(--panel3); border: 1px solid var(--line); cursor: zoom-in; padding: 0; }
.bpx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bpx-thumb .bpx-x { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; background-color: rgba(0,0,0,.55); color: #fff; }
.bpx-gantt { margin-top: 12px; }
.bpx-gr { display: grid; grid-template-columns: 220px minmax(0, 1fr) 30px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.bpx-gr:first-child { border-top: 0; }
.bpx-gr-t b { display: block; font-size: 13.5px; }
.bpx-gr-t span { font-size: 12px; color: var(--ink3); }
.bpx-track { position: relative; height: 22px; border-radius: 6px; background-color: var(--panel2); }
.bpx-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; background-color: color-mix(in srgb, var(--red) 30%, transparent); overflow: hidden; min-width: 6px; }
.bpx-track i u { position: absolute; left: 0; top: 0; bottom: 0; background-color: var(--red); }
.bpx-track i.is-done { background-color: var(--good-soft); } .bpx-track i.is-done u { background-color: var(--good); }
.bpx-track .bpx-today { position: absolute; top: -3px; bottom: -3px; width: 2px; background-color: var(--blue); }
.bpx-weeks { display: grid; grid-template-columns: 220px minmax(0, 1fr) 30px; gap: 12px; font-size: 11px; color: var(--ink3); }
.bpx-weeks div { display: flex; justify-content: space-between; }
.bpx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bpx-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.bpx-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bpx-table tr:last-child td { border-bottom: 0; }
.bpx-scroll { overflow-x: auto; }
.bpx-period { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.bpx-period + .bpx-period { margin-top: 10px; }
.bpx-period-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bpx-period-h b { font-size: 15px; }
.bpx-period-h .bpx-sp { flex: 1 1 auto; }
.bpx-checklist { display: grid; gap: 6px; margin: 10px 0; }
.bpx-checklist label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }

/* profile */
.bpx-prof { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.bpx-prof-nav { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; }
.bpx-prof-nav a { font-size: 13.5px; font-weight: 600; color: var(--ink2); text-decoration: none; padding: 8px 12px; border-radius: 9px; }
.bpx-prof-nav a:hover { background-color: var(--panel2); color: var(--ink); }
.bpx-meter { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background-color: var(--panel); margin-bottom: 10px; }
.bpx-meter b { font-size: 24px; }
.bpx-divs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.bpx-divs label { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; background-color: var(--panel2); }
.bpx-divs label.is-on { border-color: color-mix(in srgb, var(--red) 55%, transparent); background-color: var(--red-soft); }
.bpx-divs label b { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: var(--red); }
.bpx-save { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; justify-content: flex-end; padding: 12px 0 4px; background: linear-gradient(transparent, var(--bg) 40%); margin-top: 6px; }
.bpx.is-embedded .bpx-save { background: none; }

.bpx-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 9000; padding: 11px 16px; border-radius: 12px; background-color: #17171b; color: #fff; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: min(560px, calc(100vw - 32px)); }
.bpx-toast.is-bad { background-color: #8f1010; }
.bpx-light { position: fixed; inset: 0; z-index: 9500; background-color: rgba(0,0,0,.82); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.bpx-light img { max-width: 100%; max-height: 100%; border-radius: 10px; }

@media (max-width: 1000px) { .bpx-cols { grid-template-columns: 1fr; } .bpx-stats { grid-template-columns: 1fr 1fr; } .bpx-prof { grid-template-columns: 1fr; } .bpx-prof-nav { position: static; flex-direction: row; flex-wrap: wrap; } .bpx-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .bpx-scope { grid-template-columns: minmax(0, 1fr) 34px; } .bpx-scope select, .bpx-pct { grid-column: 1 / -1; }
  .bpx-add { grid-template-columns: 1fr; } .bpx-form { grid-template-columns: 1fr; } .bpx-f.is-2 { grid-column: auto; }
  .bpx-gr, .bpx-weeks { grid-template-columns: 120px minmax(0, 1fr) 30px; } .bpx-day dl { grid-template-columns: 1fr; } .bpx-jobs { grid-template-columns: 1fr; }
}

/* Phones (2026-10-28): the header on one line. The wordmark does not
   shrink (max-width: none above), so at 390 px it ran into the theme
   button and "Log in" wrapped to two lines; here it steps down with the
   spacing and the buttons keep their labels on one line. */
@media (max-width: 430px) {
    .bps-hd { gap: 8px; padding: 10px 12px; }
    .bps-hd-r { gap: 4px; }
    .bps-brand img { height: 19px; }
    .bps-hd .bps-link { padding: 8px; white-space: nowrap; }
    .bps-hd .bps-btn { padding: 9px 14px; white-space: nowrap; }
}
@media (max-width: 370px) {
    .bps-brand img { height: 16px; }
    .bps-hd .bps-btn { padding: 9px 11px; }
}