html, body, #root { margin: 0; min-height: 100%; }
body { background: linear-gradient(180deg, #f2f3f7 0, #f2f3f7 260px) #f2f3f7 no-repeat; overflow-x: hidden; }
.bm-app { --text: #10233a; --muted: #5a6b84; --accent: #0c5a78; --amber: #9a6410; --tint: #e1e5f0; --line: #d2d8e6; max-width: 960px; margin: 0 auto; padding: 0 16px 40px; box-sizing: border-box; color: var(--text); font-family: Inter, Assistant, Heebo, system-ui, sans-serif; min-height: 100vh; }
.bm-app a { color: var(--accent); }
.bm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bm-logo { white-space: nowrap; font-weight: 800; font-size: 22px; color: var(--text) !important; text-decoration: none; line-height: 1.2; }
.bm-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.bm-h2 { font-size: 26px; font-weight: 800; margin: 20px 0 14px; }
.bm-h3 { font-size: 19px; font-weight: 700; margin: 10px 0; }
.bm-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bm-grid { grid-template-columns: 1fr 1fr 1fr; } }
.bm-card { display: block; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; color: inherit !important; text-decoration: none; background: #fff; box-shadow: 0 6px 20px rgba(16, 35, 58, 0.08); padding: 14px; }
.bm-banner { height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 20px; color: var(--text); font-weight: 700; font-size: 20px; box-sizing: border-box; }
.bm-banner.is-tall { height: 200px; }
.bm-body { padding: 14px 4px 4px; }
.bm-moneyrow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 6px 0; }
.bm-moneyrow small { font-size: 13px; color: var(--muted); }
.bm-moneyrow strong { font-size: 22px; font-weight: 800; }
.bm-pct { font-size: 22px; font-weight: 800; color: var(--accent); }
.bm-bar { height: 14px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0; }
.bm-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.bm-title { font-size: 30px; font-weight: 800; margin: 14px 0 8px; }
.bm-box { border: 1px solid var(--line); border-radius: 24px; padding: 18px; margin: 14px 0 20px; background: #fff; box-shadow: 0 6px 20px rgba(16, 35, 58, 0.06); }
.bm-amts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.bm-amt { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--text); cursor: pointer; }
.bm-amt.is-on { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 700; }
.bm-donate { width: 100%; min-height: 52px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.bm-donate:disabled { background: #a9bfc3; cursor: default; }
.bm-note { font-size: 14px; color: #5a4300; background: #fbefd0; padding: 10px 14px; border-radius: 14px; }
.bm-p { line-height: 1.7; color: var(--muted); }
.bm-steps { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bm-steps { grid-template-columns: 1fr 1fr 1fr; } }
.bm-step { background: var(--tint); border-radius: 20px; padding: 16px; }
.bm-step p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.bm-form { display: grid; gap: 12px; max-width: 520px; }
.bm-form label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.bm-form input, .bm-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; box-sizing: border-box; width: 100%; color: var(--text); background: #fff; }
.bm-admin { list-style: none; padding: 0; margin: 0; }
.bm-admin li { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bm-tag { font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: #fbefd0; color: var(--amber); }
.bm-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.bm-link { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.bm-link code { word-break: break-all; background: var(--tint); padding: 8px 12px; border-radius: 12px; font-size: 14px; }
.bm-tabs { display: flex; gap: 4px; background: var(--tint); border-radius: 999px; padding: 4px; margin: 4px 0 12px; }
.bm-tab { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 500; color: var(--muted); cursor: pointer; }
.bm-tab.is-on { background: #fff; color: var(--accent); font-weight: 700; box-shadow: 0 2px 6px rgba(16, 35, 58, 0.12); }
.bm-scroll { overflow-x: auto; flex-wrap: nowrap; margin-bottom: 16px; }
.bm-scroll .bm-tab { flex: none; padding: 0 16px; }
.bm-linkbtn { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 500; color: var(--accent); cursor: pointer; text-align: start; display: inline-flex; align-items: center; gap: 8px; }
.bm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 20px; }
.bm-pair .bm-box { margin: 0; padding: 12px; border-radius: 20px; min-width: 0; }
.bm-pair .bm-moneyrow { flex-direction: column; align-items: flex-start; gap: 0; }
.bm-pair .bm-moneyrow > span:first-child { display: flex; flex-direction: column; }
.bm-pair .bm-moneyrow strong { font-size: 20px; }
.bm-pair .bm-pct { font-size: 18px; }
.bm-seg { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.bm-seg button { min-height: 38px; min-width: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.bm-seg button.is-on { background: var(--accent); color: #fff; font-weight: 700; }
.bm-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.bm-acct { position: relative; }
.bm-iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.bm-menu { position: absolute; top: 50px; inset-inline-end: 0; z-index: 5; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 10px 28px rgba(16, 35, 58, 0.16); display: grid; }
.bm-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.bm-menu .bm-sub { padding: 6px 12px; }
.bm-head { flex-wrap: wrap; }
.bm-iconbtn.is-in { background: var(--accent); color: #fff; }
.bm-btnlink { display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff !important; box-sizing: border-box; }
.bm-who { font-weight: 700; color: var(--text); }
.bm-tag { white-space: nowrap; flex: none; align-self: center; height: fit-content; }
.bm-gear { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none; }
.bm-rowend { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.bm-form select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; width: 100%; box-sizing: border-box; background: #fff; color: var(--text); }
.bm-err { font-size: 14px; color: #8a1c1c; background: #fbe3e3; padding: 10px 14px; border-radius: 14px; }
.bm-ok { font-size: 14px; color: #0b4a2c; background: #dff3e6; padding: 10px 14px; border-radius: 14px; }
.bm-mini { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; }
.bm-mini.is-danger { color: #8a1c1c; }

.bm-form label.bm-toggle { display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; font-size: 15px; color: var(--text); }
.bm-toggle input[type=checkbox] { width: 22px; height: 22px; min-width: 22px; padding: 0; margin: 0; flex: none; accent-color: var(--accent); }
.bm-toggle span { flex: 1; line-height: 1.35; }
.bm-toggle.is-off { color: var(--muted); }
.bm-group { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px 14px; }
.bm-group .bm-toggle + .bm-toggle { border-top: 1px solid var(--line); }
.bm-gh { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.bm-app p, .bm-app a, .bm-app li { overflow-wrap: anywhere; } 

.bm-camp { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 8px 0 20px; }
@media (min-width: 760px) { .bm-camp { grid-template-columns: 1.6fr 1fr; align-items: start; } .bm-app { max-width: 1040px; } }
.bm-heroimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block; background: var(--tint); }
.bm-herofill { display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; text-align: center; font-size: 26px; font-weight: 800; color: var(--accent); background: linear-gradient(135deg, #d6dff0, #f2f3f7); }
.bm-statcard { margin: 0; padding: 22px 20px; display: grid; gap: 14px; }
.bm-center { text-align: center; }
.bm-bigraised { font-size: 38px; font-weight: 800; text-align: center; line-height: 1.1; }
.bm-pctwrap { position: relative; padding-top: 26px; }
.bm-pctwrap .bm-bar { margin: 0; }
.bm-pcttag { position: absolute; top: 0; inset-inline-start: 0; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 8px; }
.bm-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bm-cdcell { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px; text-align: center; display: grid; gap: 2px; }
.bm-cdcell b { font-size: 24px; background: var(--tint); border-radius: 8px; padding: 4px 0; }
.bm-cdcell small { color: var(--muted); font-size: 12px; }
.bm-ov { position: fixed; inset: 0; background: rgba(10, 24, 40, 0.55); z-index: 50; display: flex; align-items: stretch; justify-content: center; }
.bm-panel { background: #fff; width: 100%; max-width: 640px; display: flex; flex-direction: column; font-family: Inter, Assistant, Heebo, system-ui, sans-serif; color: #10233a; --accent: #0c5a78; --tint: #e1e5f0; --line: #d2d8e6; --muted: #5a6b84; }
@media (min-width: 700px) { .bm-ov { align-items: center; } .bm-panel { max-height: 92vh; border-radius: 24px; overflow: hidden; } }
.bm-phead { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #eceef5; font-size: 20px; }
.bm-x { width: 44px; height: 44px; border: 0; background: none; font-size: 32px; line-height: 1; color: var(--accent); cursor: pointer; }
.bm-pbody { padding: 18px 20px 24px; overflow-y: auto; flex: 1; display: grid; gap: 14px; align-content: start; }
.bm-steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 6px; }
.bm-steps::before { content: ''; position: absolute; top: 13px; inset-inline: 12%; height: 2px; background: var(--line); }
.bm-stp { position: relative; display: grid; justify-items: center; gap: 6px; flex: 1; color: var(--muted); font-size: 14px; }
.bm-stn { width: 28px; height: 28px; border-radius: 8px; background: var(--tint); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; position: relative; }
.bm-stp.is-on .bm-stn, .bm-stp.is-done .bm-stn { background: var(--accent); color: #fff; }
.bm-stp.is-on { color: var(--text, #10233a); font-weight: 700; }
.bm-h4 { margin: 4px 0 0; font-size: 16px; }
.bm-pa { background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 2px 14px; font-weight: 800; }
.bm-amtbox { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; direction: ltr; }
.bm-cur { padding: 0 16px; font-size: 22px; font-weight: 800; color: var(--muted); background: var(--tint); align-self: stretch; display: flex; align-items: center; }
.bm-amtbox input { flex: 1; border: 0; font: inherit; font-size: 24px; font-weight: 700; padding: 16px; min-width: 0; outline: none; }
.bm-pnav { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.bm-pnav .bm-donate { flex: 1; }
.bm-pnav .bm-mini { min-height: 52px; padding: 0 18px; }
.bm-pfoot { display: flex; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); background: #f6f7fb; font-size: 16px; }
.bm-mcard { border: 1.5px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.bm-mcard.is-on { border-color: var(--accent); }
.bm-mhead { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px; border: 0; background: none; font: inherit; font-size: 16px; cursor: pointer; text-align: start; color: #10233a; }
.bm-mcard.is-off .bm-mhead { cursor: default; color: var(--muted); }
.bm-soon { margin-inline-start: auto; background: var(--tint); padding: 2px 10px; border-radius: 999px; }
.bm-radio { width: 22px; height: 22px; border: 2px solid var(--accent); border-radius: 50%; flex: none; box-sizing: border-box; }
.bm-radio.is-on { background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.bm-mbody { padding: 0 16px 16px; }
.bm-tinfo { background: var(--tint); border-radius: 14px; padding: 12px 14px; }
.bm-thumb { max-width: 100%; max-height: 160px; border-radius: 14px; display: block; margin-bottom: 8px; }

.bm-cardimg { width: 100%; height: 160px; object-fit: cover; border-radius: 20px; display: block; background: var(--tint); }

.bm-board { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bm-board { grid-template-columns: repeat(2, 1fr); } }
.bm-tcard { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; text-decoration: none; color: var(--text) !important; }
.bm-tcard .bm-bar { margin: 2px 0 0; }


.bm-dd { position: relative; }
.bm-dd-trig { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: #10233a; text-align: start; cursor: pointer; }
.bm-dd-trig::after { content: '\25BE'; float: inline-end; opacity: .6; }
.bm-dd-q { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; font: inherit; outline: none; }
.bm-dd-list { max-height: 210px; overflow-y: auto; }
.bm-dd-opt { display: block; width: 100%; text-align: start; padding: 12px 14px; border: 0; background: #fff; font: inherit; color: #10233a; cursor: pointer; }
.bm-dd-opt.is-on { background: #e3e9f6; font-weight: 700; color: var(--accent); }


.bm-side { display: grid; gap: 14px; align-content: start; }
.bm-side .bm-statcard { padding: 18px 20px; }
.bm-bigraised.bm-small { font-size: 28px; }
.bm-tabs .bm-tab { white-space: nowrap; padding: 0 8px; }
@media (min-width: 760px) { .bm-tabs { width: fit-content; max-width: 100%; } }
.bm-head { direction: ltr; position: sticky; top: 0; z-index: 40; margin: -24px -16px 8px; padding: 12px 16px; background: rgba(238, 245, 244, 0.96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); align-items: center; }
.bm-head .bm-tools { direction: ltr; display: flex; align-items: center; gap: 10px; }

.bm-form .bm-lab { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.bm-form .bm-lab .bm-dd-trig { min-height: 48px; border-width: 1px; border-radius: 16px; font-size: 16px; }

.bm-row2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .bm-row2 { grid-template-columns: 1fr 1fr; } .bm-form { max-width: none; } }

.bm-cardmock { display: grid; gap: 8px; pointer-events: none; user-select: none; }
.bm-demo { background: #fff4dc; color: var(--amber); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.bm-mlab { font-size: 14px; color: var(--muted); margin-top: 4px; }
.bm-mfield { min-height: 48px; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #f7fafa; color: #8aa0a4; font-size: 16px; direction: ltr; text-align: start; }
.bm-head { margin-bottom: 18px; }

.bm-namerow { display: grid; gap: 4px; align-items: end; }
@media (min-width: 560px) { .bm-namerow { grid-template-columns: 1fr auto; gap: 14px; } .bm-namerow .bm-toggle { white-space: nowrap; } }

.bm-head { margin: 0 -16px 18px; padding: 14px 16px; background: #f2f3f7; box-shadow: 0 0 0 100vmax #f2f3f7; clip-path: inset(0 -100vmax); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.bm-head::after { content: ''; position: absolute; left: -100vmax; right: -100vmax; bottom: 0; height: 1px; background: var(--line); }
.bm-logo { font-family: 'Playfair Display', 'Frank Ruhl Libre', serif; letter-spacing: .02em; font-weight: 700; }
.bm-app button, .bm-app input, .bm-app textarea, .bm-app select { font-family: inherit; }
.bm-side .bm-tabs { margin: 4px 0 0; }

.bm-pbody { min-height: 0; }
.bm-pnav { margin: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); flex: none; }
.bm-pfoot { flex: none; }
.bm-dd-list { max-height: 220px; }
.bm-dd-q { border-radius: 0; }
.bm-dd-opt:hover { background: #f2f3f7; }

.bm-side .bm-tabs { margin: 6px 0 18px; }
.bm-pane > * + * { margin-top: 12px; }
.bm-board { gap: 14px; }
.bm-tcard { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.bm-tcard .bm-sub { display: block; margin: 0; }
.bm-tcard .bm-bar, .bm-tcard > div:last-child { margin-top: 6px; }

@media (min-width: 760px) {
  .bm-camp { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto 1fr; align-items: start; column-gap: 24px; row-gap: 0; }
  .bm-mediabox { grid-column: 1; grid-row: 1; align-self: stretch; position: relative; min-height: 0; }
  .bm-mediabox .bm-heroimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .bm-side { grid-column: 2; grid-row: 1; }
  .bm-pane { grid-column: 2; grid-row: 2; margin-top: 16px; }
}
.bm-side .bm-tabs { margin: 4px 0 0; }
@media (max-width: 759px) { .bm-pane { margin-top: 4px; } }

.bm-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.bm-head .bm-tools { justify-self: end; }
.bm-hcamps { justify-self: center; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent) !important; padding: 8px 10px; white-space: nowrap; }
@media (max-width: 420px) { .bm-hcamps { font-size: 13px; padding: 8px 4px; } }

body { background: #f2f3f7 !important; }

.bm-tabs:empty, .bm-pane:empty { display: none; margin: 0; }

.bm-abouthead .bm-tab { cursor: default; flex: 1; }
.bm-about { margin-top: 16px; }
@media (min-width: 760px) { .bm-about { grid-column: 1; grid-row: 2; margin-top: 20px; } .bm-abouthead { max-width: 300px; } }

.bm-head { background: #e6e9f2 !important; box-shadow: 0 0 0 100vmax #e6e9f2 !important; border: 0 !important; }
.bm-head::after { display: none !important; }

.bm-head { clip-path: none !important; box-shadow: none !important; background: transparent !important; overflow: visible !important; }
.bm-head::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vmax; right: -100vmax; background: #e6e9f2; }
.bm-head .bm-tools, .bm-head .bm-menu, .bm-head [class*="menu"] { z-index: 60; }
.bm-abouthead .bm-tab { display: flex; align-items: center; justify-content: center; }
.bm-dd-ddp { position: absolute; inset-inline: 0; top: 100%; z-index: 30; margin-top: 4px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 12px 28px rgba(16, 35, 58, 0.22); }
.bm-dd-ddp[hidden] { display: none; }
.bm-dd { position: relative; }
.bm-head::before { left: 50% !important; right: auto !important; width: 100vw; transform: translateX(-50%); }
html { overflow-x: hidden; }
@media (max-width: 480px) { .bm-head .bm-menu { margin-inline-end: 20px; } }
.bm-abouttitle { margin: 0 0 8px; }
@media (min-width: 760px) { .bm-camp { margin-top: 16px; } }
@media (max-width: 480px) { .bm-head { grid-template-columns: auto 1fr auto; gap: 4px; } .bm-head .bm-logo { font-size: 17px; } .bm-hcamps { font-size: 12px; padding: 8px 2px; } .bm-head .bm-tools { gap: 6px; } }

.bm-cardform { display: grid; gap: 8px; }
.bm-ifr { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-sizing: border-box; direction: ltr; }
.bm-exp { min-height: 48px; box-sizing: border-box; direction: ltr; }

.bm-logoimg { display: block; height: 30px; width: auto; }
@media (max-width: 480px) { .bm-head .bm-logoimg { height: 24px; } }

.bm-abouthead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bm-abouthead .bm-title { margin: 0 0 8px; min-width: 0; overflow-wrap: anywhere; }
.bm-cl { display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 2px; }
.bm-clb { border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 600; color: var(--accent); min-width: 34px; min-height: 28px; padding: 0 8px; border-radius: 999px; cursor: pointer; }
.bm-clb.is-on { background: var(--accent); color: #fff; }

.bm-ifr { height: 48px; overflow: hidden; }
.bm-exp { width: 100%; padding: 0 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 16px; font-family: inherit; color: var(--text); }

.bm-abouthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bm-abouthead .bm-abouttitle { flex: 1; min-width: 0; margin: 0; }
.bm-abouthead .bm-cl { display: inline-flex; flex: none; background: transparent; margin: 0; }
.bm-fielderr { display: block; margin-top: 6px; font-size: 14px; color: #8a1c1c; }
.bm-bad { border-color: #c0392b !important; box-shadow: 0 0 0 2px #fbe3e3; }
.bm-head .bm-seg { background: transparent; }
.bm-head .bm-iconbtn:not(.is-in) { background: transparent; }
@media (min-width: 760px) { .bm-abouthead { max-width: none; } }


.bm-mtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bm-mtop .bm-pct { background: var(--accent); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 2px 10px; }

.bm-gear.is-danger { color: #8a1c1c; }
.bm-admin li.is-off { opacity: .6; }
.bm-rowend { gap: 8px; }


.bm-ovrow { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.bm-ovrow select { width: 100%; min-height: 44px; }

.bm-colbox { margin: 4px 0 10px; }
.bm-rowmain { display: grid; gap: 4px; min-width: 0; }
.bm-cols { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.bm-colchip { display: inline-flex; gap: 5px; align-items: baseline; font-size: 13px; color: var(--text); background: #eef0f6; border-radius: 10px; padding: 2px 8px; max-width: 100%; overflow-wrap: anywhere; }
.bm-colchip small { color: var(--muted); font-size: 12px; }

.bm-admin li > span:first-child { flex: 1 1 240px; min-width: 0; text-align: start; }
.bm-admin li > span:first-child .bm-sub { text-align: start; }
.bm-form .is-bad { border-color: #c0392b; }
.bm-ferr { font-size: 13px; color: #8a1c1c; }

.bm-tabrow { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.bm-tabrow .bm-tabs { margin: 0; flex: 0 1 auto; min-width: 0; }
.bm-addslot { margin-inline-start: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; }
.bm-count { font-size: 14px; color: var(--muted); min-width: 24px; }

.bm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-tabrow { position: relative; }
.bm-colpanel { position: absolute; z-index: 30; top: 100%; inset-inline-end: 0; margin-top: 6px; width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(15, 30, 60, .18); padding: 6px 8px; }
.bm-colpanel[hidden] { display: none; }
.bm-colrow { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); background: #fff; }
.bm-colrow:last-child { border-bottom: 0; }
.bm-colrow input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.bm-colrow.is-locked { opacity: .55; }
.bm-colrow.is-drag { background: var(--tint); box-shadow: 0 4px 14px rgba(15, 30, 60, .18); }
.bm-colname { flex: 1; font-size: 15px; color: var(--text); min-width: 0; }
.bm-colhandle { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); cursor: grab; touch-action: none; letter-spacing: -2px; font-weight: 700; border-radius: 10px; user-select: none; }
.bm-colhandle:focus-visible { outline: 2px solid var(--accent); }
.bm-arrow { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font-size: 16px; line-height: 1; padding: 0; cursor: pointer; }
.bm-arrow:disabled { opacity: .35; cursor: default; }
.bm-admin li { background: #fff; padding: 12px 14px; border: 0; border-radius: 16px; margin-bottom: 8px; }
.bm-head .bm-hcamps + .bm-hcamps { margin-inline-start: 14px; }
.bm-hnav { justify-self: center; display: flex; align-items: center; gap: 6px; }
.bm-iconbtn, .bm-iconbtn.is-in { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.bm-bar { height: 16px; background: #fff; border: 1.5px solid #8a97b0; box-shadow: inset 0 1px 3px rgba(16, 35, 58, .12); }
.bm-mbox { display: grid; gap: 4px; justify-items: stretch; min-width: 96px; text-align: center; }
.bm-minitxt { font-size: 13px; }
.bm-minibar { display: block; height: 10px; border-radius: 999px; background: #fff; border: 1.5px solid #8a97b0; overflow: hidden; direction: ltr; }
.bm-minibar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.bm-chiplink { color: var(--accent); text-decoration: underline; word-break: break-all; }
.bm-tab { position: relative; }
.bm-addslot { min-width: 92px; min-height: 44px; justify-content: flex-end; }
.bm-tabrow { min-height: 48px; }
.bm-app section > div:last-child { min-height: 60vh; }
.bm-tabs.bm-subtabs { background: transparent; padding: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); gap: 18px; box-shadow: none; }
.bm-subtabs .bm-tab { flex: none; min-height: 40px; padding: 0 2px; border-radius: 0; background: transparent; box-shadow: none; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 500; color: var(--muted); }
.bm-subtabs .bm-tab.is-on { background: transparent; box-shadow: none; color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); padding-inline-end: 2px; }

@media (max-width: 480px) {
  .bm-tabrow { flex-wrap: wrap; }
  .bm-tabrow .bm-tabs { flex: 1 1 100%; }
  .bm-addslot { flex: 1 1 100%; justify-content: flex-start; min-width: 0; }
  .bm-head .bm-logoimg { width: 112px; height: auto; }
  .bm-hnav { gap: 0; }
  .bm-hcamps { padding: 8px 5px; }
  .bm-tools .bm-iconbtn { width: 38px; height: 38px; }
}

.bm-tablewrap { overflow-x: auto; background: #fff; border-radius: 16px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.bm-table { border-collapse: collapse; width: 100%; font-size: 14px; background: #fff; }
.bm-table th { background: #f4f6fb; text-align: start; font-weight: 700; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); color: var(--text); }
.bm-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; background: #fff; }
.bm-table tbody tr:last-child td { border-bottom: 0; }
.bm-table .bm-tdchk { width: 36px; padding-inline-end: 0; }
.bm-table input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.bm-table .bm-tdend { text-align: end; white-space: nowrap; }
.bm-table .bm-tdmain { min-width: 140px; font-weight: 600; }
.bm-sortbtn { border: 0; background: transparent; font: inherit; font-weight: 700; color: inherit; cursor: pointer; padding: 0; display: inline-flex; gap: 4px; align-items: center; }
.bm-sortic { font-size: 10px; color: var(--muted); }
.bm-table .bm-rowend { display: inline-flex; align-items: center; gap: 8px; }

.bm-tabrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.bm-tabrow .bm-backbtn { justify-self: start; }
.bm-tabrow .bm-tabs { justify-self: center; grid-column: 2; }
.bm-addslot { margin-inline-start: 0; justify-self: end; grid-column: 3; min-width: 0; }
@media (max-width: 480px) {
  .bm-tabrow { grid-template-columns: auto 1fr; row-gap: 8px; }
  .bm-tabrow .bm-tabs { grid-column: 1 / -1; grid-row: 1; justify-self: stretch; }
  .bm-tabrow .bm-backbtn { grid-row: 2; grid-column: 1; }
  .bm-addslot { grid-row: 2; grid-column: 2; flex: none; justify-content: flex-end; }
}

.bm-table .bm-tdmain { font-weight: 500; }
.bm-table .bm-tdmain strong, .bm-table .bm-tdmain .bm-linkbtn { font-weight: 500; }
.bm-namebtn, .bm-table .bm-linkbtn { cursor: pointer; text-align: start; }
.bm-table .bm-linkbtn:hover { text-decoration: underline; }
.bm-tabrow .bm-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; white-space: nowrap; }
.bm-tabico { display: inline-flex; flex: none; }
@media (max-width: 480px) { .bm-tabrow .bm-tab { gap: 4px; padding: 0 6px; font-size: 14px; } .bm-tabico svg { width: 16px; height: 16px; } }
.bm-table .bm-tdend { position: sticky; inset-inline-end: 0; background: #fff; } .bm-table th.bm-tdend { background: #f4f6fb; }
.bm-table th.bm-tdend .bm-gear { background: transparent; border: 0; box-shadow: none; }

.bm-adminview .bm-donate { width: auto; min-width: 120px; padding: 0 28px; min-height: 46px; font-size: 16px; justify-self: start; }
.bm-row3 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bm-row3 { grid-template-columns: 1fr 1fr 1fr; } }
.bm-rowlink { flex: 1; min-width: 0; display: flex; justify-content: center; padding: 0 8px; } .bm-rowlink .bm-link { display: flex; align-items: center; gap: 8px; max-width: 100%; } .bm-rowlink .bm-chiplink { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
@media (max-width: 560px) { .bm-rowlink { flex-basis: 100%; order: 3; justify-content: flex-start; padding: 6px 0 0; } }
.bm-subtabs .bm-tab { margin-bottom: 0 !important; }
.bm-tabs.bm-subtabs { overflow-y: hidden; }
.bm-panel .bm-donate { width: auto; min-width: 120px; padding: 0 28px; min-height: 46px; font-size: 16px; justify-self: start; }
.bm-panel .bm-mini.is-danger { justify-self: start; }
