.bd-wrap { --bd-acc:#2563eb; max-width:1400px; margin:0 auto; }
:where(.bd-wrap) .kh-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:7px 13px;
  border:1px solid var(--border-color); border-radius:9px; background:#fff; color:var(--text-main);
  font:inherit; font-size:14px; line-height:1.25; text-decoration:none; cursor:pointer; white-space:nowrap; }
:where(.bd-wrap) .kh-btn:hover { border-color:var(--bd-acc); color:var(--bd-acc); }
:where(.bd-wrap) .kh-btn.ok { background:var(--bd-acc); border-color:var(--bd-acc); color:#fff; }
:where(.bd-wrap) .kh-btn.ok:hover { filter:brightness(1.08); color:#fff; }
:where(.bd-wrap) .kh-btn[disabled] { opacity:.55; cursor:default; }
.bd-head { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:18px 0 10px; }
.bd-head .ico { font-size:34px; line-height:1; }
.bd-head h1 { margin:0; font-size:26px; }
.bd-head .sub { color:var(--text-muted); font-size:13px; }
.bd-head .sub .bd-who { color:inherit; text-decoration:underline dotted; text-underline-offset:3px; }
.bd-head .sub .bd-who:hover { color:var(--bd-acc); }
.bd-head .sp { flex:1; }
.bd-head > div { flex:1 1 220px; min-width:0; }
.bd-head .bd-pin { margin-inline-start:auto; }
.bd-vw-end { display:flex; justify-content:flex-end; padding:18px 0 10px; }
.bd-h1-off { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
.bd-pin { background:var(--bd-acc); color:#fff; border-radius:999px; padding:3px 11px; font-size:12px; font-weight:600; }
.bd-intents { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px,1fr)); gap:10px; margin:6px 0 18px; }
.bd-intent { display:flex; flex-direction:column; gap:3px; padding:13px 14px; border:1.5px solid var(--border-color);
  border-radius:14px; background:#fff; text-decoration:none; color:var(--text-main); transition:.15s; }
.bd-intent:hover { border-color:var(--bd-acc); transform:translateY(-1px); }
.bd-intent.on { border-color:var(--bd-acc); background:color-mix(in srgb, var(--bd-acc) 8%, #fff); }
.bd-intent .i { font-size:22px; }
.bd-intent b { font-size:14.5px; }
.bd-intent small { color:var(--text-muted); font-size:11.5px; line-height:1.3; }
.bd-panel { border:1px solid var(--border-color); border-radius:14px; background:#fff; padding:14px 16px; margin-bottom:16px; }
.bd-panel > h3 { margin:0 0 10px; font-size:14px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); }
.bd-fsum { margin:0 0 10px; font-size:14px; text-transform:uppercase; letter-spacing:.04em;
  color:var(--text-muted); list-style:none; cursor:pointer; display:flex; gap:8px; align-items:center; }
.bd-fsum::-webkit-details-marker { display:none; }
.bd-fbox:not([open]) > .bd-fsum { margin-bottom:0; }
.bd-fsum .n { font-weight:600; color:var(--bd-acc); text-transform:none; letter-spacing:0; }
@media (max-width:900px) {
  .bd-fsum::after { content:'▾'; margin-left:auto; font-size:12px; transition:transform .15s; }
  .bd-fbox:not([open]) > .bd-fsum::after { transform:rotate(-90deg); }
}
.bd-facet { margin-bottom:12px; }
.bd-facet > b { display:block; font-size:12.5px; color:var(--text-muted); margin-bottom:5px; }
.bd-fgroup { border-top:1px solid var(--border-color); padding:8px 0 2px; }
.bd-fgroup:first-of-type { border-top:0; padding-top:0; }
.bd-fgroup > summary { cursor:pointer; list-style:none; display:flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; padding:5px 0; margin-bottom:6px; }
.bd-fgroup > summary::-webkit-details-marker { display:none; }
.bd-fgroup > summary::before { content:'▸'; color:var(--text-muted); font-size:11px; transition:transform .15s; }
.bd-fgroup[open] > summary::before { transform:rotate(90deg); }
.bd-fgroup > summary .n { margin-left:auto; font-weight:400; font-size:11.5px; color:var(--text-muted);
  background:#f1f5f9; border-radius:999px; padding:1px 8px; }
.bd-fgroup[open] > summary .n { background:transparent; }
.bd-chips { display:flex; flex-wrap:wrap; gap:6px; }
.bd-chip { display:inline-flex; align-items:center; gap:4px; padding:5px 12px; border-radius:999px;
  border:1px solid var(--border-color); background:#fff; font-size:13px; text-decoration:none; color:var(--text-main); }
.bd-chip:hover { border-color:var(--bd-acc); }
.bd-chip.on { background:var(--bd-acc); border-color:var(--bd-acc); color:#fff; }
.bd-range { display:flex; gap:6px; align-items:center; }
.bd-range input { width:96px; padding:6px 8px; border:1px solid var(--border-color); border-radius:8px; font-size:13px; }
.bd-subs { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px,1fr)); gap:10px; }
.bd-sub { border:1px solid var(--border-color); border-radius:12px; padding:10px 12px; background:#fff; text-decoration:none; color:var(--text-main); }
.bd-sub:hover { border-color:var(--bd-acc); }
.bd-sub b { display:block; font-size:14px; }
.bd-sub .n { color:var(--text-muted); font-size:11.5px; }
.bd-sub .kids { margin-top:6px; display:flex; flex-wrap:wrap; gap:4px; }
.bd-sub .kids a { font-size:11.5px; color:var(--text-muted); text-decoration:none; border-bottom:1px dotted var(--border-color); }
.bd-sub .kids a:hover { color:var(--bd-acc); }
.bd-colls { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:12px; }
.bd-coll { position:relative; min-height:132px; border-radius:14px; overflow:hidden; text-decoration:none;
  background:#e8edf5 center/cover no-repeat; display:flex; align-items:flex-end; }
.bd-coll .g { width:100%; padding:12px 14px; background:linear-gradient(transparent, rgba(0,0,0,.72)); color:#fff; }
.bd-coll b { display:block; font-size:15px; }
.bd-coll small { opacity:.85; font-size:11.5px; }
.bd-brands { display:flex; flex-wrap:wrap; gap:6px; }
.bd-brand { padding:6px 12px; border:1px solid var(--border-color); border-radius:10px; background:#fff;
  font-size:13px; text-decoration:none; color:var(--text-main); }
.bd-brand span { color:var(--text-muted); font-size:11px; margin-left:4px; }
.bd-skills { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:12px; }
.bd-skgrp b { font-size:13px; display:block; margin-bottom:5px; }
.bd-skgrp .bd-chips { max-height:118px; overflow:auto; }
.bd-note { color:var(--text-muted); font-size:12.5px; margin:4px 0 0; }
.bd-toolbar { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:12px; }
.bd-toolbar form { display:flex; flex:1; min-width:220px; gap:6px; }
.bd-toolbar input[type=search] { flex:1; padding:9px 12px; border:1px solid var(--border-color); border-radius:10px; }
.bd-empty { padding:38px 16px; text-align:center; color:var(--text-muted); border:1px dashed var(--border-color); border-radius:14px; }
.bd-edit { border:1px dashed var(--bd-acc); border-radius:12px; padding:9px 12px; margin-bottom:14px; font-size:13px;
  background:color-mix(in srgb, var(--bd-acc) 6%, #fff); }
.bd-strength { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; }
.bd-strength label { display:flex; flex-direction:column; gap:4px; font-size:12.5px; color:var(--text-muted); }
.bd-pyr { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px,1fr)); gap:10px; }
.bd-stage { border:1px solid var(--border-color); border-radius:12px; padding:11px 12px; }
.bd-stage b { display:block; font-size:13.5px; }
.bd-stage i { display:block; font-style:normal; font-size:11.5px; color:var(--text-muted); margin-bottom:8px; }
.bd-phrase { margin-top:10px; padding:10px 12px; border-radius:10px; background:#f6f7f9; font-size:13.5px; line-height:1.6; }
.bd-warn { border-color:#e2b872; background:#fffaf0; }
.bd-chip.warn { border-color:#e6c98f; }
.bd-chip.bad { border-color:#dda2a2; color:#8b2f2f; }
.bd-hist { display:flex; flex-direction:column; }
.bd-hrow { display:grid; grid-template-columns:88px minmax(0,1fr); gap:12px; padding:9px 0;
  border-top:1px solid var(--border-color); text-decoration:none; color:var(--text-main); }
.bd-hrow:first-child { border-top:0; }
.bd-hrow .y { font-size:13px; font-weight:600; }
.bd-hrow .b { font-size:13.5px; }
.bd-hrow .b i { display:block; font-style:normal; font-size:11.5px; color:var(--text-muted); }
.bd-stalls { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(290px, 100%),1fr)); gap:10px; }
.bd-stall { border:1px solid var(--border-color); border-radius:14px; padding:11px 12px; background:#fff; min-width:0; }
.bd-sh { display:flex; align-items:center; gap:9px; }
.bd-ava { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:12.5px; font-weight:600; background:color-mix(in srgb, var(--bd-acc) 12%, #fff); color:var(--bd-acc); }
.bd-sn { flex:1; min-width:0; }
.bd-sn b { display:block; font-size:14px; }
.bd-sn i { display:block; font-style:normal; font-size:11.5px; color:var(--text-muted); }
.bd-dot { width:7px; height:7px; border-radius:50%; display:inline-block; margin-right:5px; background:#b4b2a9; }
.bd-dot.now { background:#639922; }
.bd-dot.today { background:#ef9f27; }
.bd-srep { display:flex; flex-wrap:wrap; gap:4px 0; margin-top:7px; font-size:12px; color:var(--text-muted); }
.bd-srep span + span::before { content:' · '; white-space:pre; }
.bd-srep span:first-child { color:var(--text-main); font-weight:600; }
.bd-sg { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; margin:10px 0; }
.bd-gd { border:1px solid var(--border-color); border-radius:8px; overflow:hidden; text-decoration:none; color:var(--text-main); }
.bd-gd .p { display:block; height:52px; background:#eef2f7 center/cover no-repeat; }
.bd-gd .c { display:block; padding:5px 6px; font-size:11.5px; font-weight:600; }
.bd-sa { display:flex; gap:7px; flex-wrap:wrap; align-items:center; }
.bd-sa small { color:var(--text-muted); font-size:11.5px; }
.bd-cols { grid-template-columns:repeat(var(--bd-cols,4), minmax(0,1fr)); }
@media (max-width:820px) { .bd-cols { grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); } }
.mkt-grid.bd-cols.bd-c1 { grid-template-columns:minmax(0,1fr); }
.bd-hero { margin:0 0 18px; }
.bd-hero .lead { margin:0 0 14px; max-width:70ch; font-size:15.5px; line-height:1.55; color:var(--text-muted); }
.bd-find { display:flex; gap:8px; max-width:720px; margin:0 0 12px; }
.bd-find input { flex:1; min-width:0; padding:13px 16px; font-size:15px; border-radius:12px;
  border:1.5px solid var(--border-color); background:#fff; }
.bd-find input:focus { outline:none; border-color:var(--bd-acc); }
.bd-find button { padding:0 22px; font-size:15px; }
.bd-stats { display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center; font-size:13px; color:var(--text-muted); }
.bd-stats b { color:var(--text-main); font-weight:600; }
.bd-stats .sep { opacity:.45; }
.kh-portal:has(.bd-wrap .kh-plane-in[style*="--kh-lanes"]) { max-width:1240px; }
.bd-wrap .kh-lane > .bd-panel:last-child,
.bd-wrap .kh-lane > .bd-maxw:last-child > .bd-panel:last-child { margin-bottom:0; }
.bd-wrap .bd-maxw { min-width:0; }
.bd-applied { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:0 0 14px; }
.bd-applied .bd-chip.on b { font-weight:600; }
.bd-applied .bd-chip .x { opacity:.75; font-size:14px; line-height:1; }
.bd-applied .clr { border-style:dashed; color:var(--text-muted); }
.bd-gh { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin:6px 0 10px; }
.bd-gh h2 { margin:0; font-size:20px; }
.bd-gh .sp { flex:1; }
.bd-sort { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text-muted); }
.bd-sort select { padding:6px 10px; border:1px solid var(--border-color); border-radius:9px;
  background:#fff; font-size:13px; color:var(--text-main); }
.bd-pages { display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; margin-top:20px; }
.bd-pages .now { font-size:13px; color:var(--text-muted); }
.bd-fbar > summary { display:none; }
@media (max-width:900px) {
  .bd-fbar > summary { display:flex; align-items:center; gap:8px; justify-content:center; cursor:pointer;
    list-style:none; margin:4px 0 12px; padding:9px 14px; border:1px solid var(--border-color);
    border-radius:10px; background:#fff; font-size:14px; }
  .bd-fbar > summary::-webkit-details-marker { display:none; }
  .bd-fbar > summary::after { content:'▾'; font-size:12px; color:var(--text-muted); transition:transform .15s; }
  .bd-fbar:not([open]) > summary::after { transform:rotate(-90deg); }
  .bd-fbar > summary .n { font-weight:600; color:var(--bd-acc); }
}
.bd-frow { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; margin:4px 0 12px; }
.bd-frow-row { align-items:flex-end; justify-content:flex-start; }
.bd-frow-row .bd-fin { margin:0 12px 0 0; }
.bd-pop { position:relative; }
.bd-pop > summary { list-style:none; }
.bd-pop > summary::-webkit-details-marker { display:none; }
.bd-pbtn { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border:1px solid var(--border-color);
  border-radius:8px; background:#fff; font:inherit; font-size:13px; line-height:1.3; color:var(--text-main);
  cursor:pointer; text-decoration:none; white-space:nowrap; user-select:none; }
.bd-pop > .bd-pbtn::after { content:'▾'; font-size:11px; color:var(--text-muted); }
.bd-pbtn:hover { border-color:var(--bd-acc); }
.bd-pbtn.on { background:var(--bd-acc); border-color:var(--bd-acc); color:#fff; }
.bd-pop > .bd-pbtn.on::after { color:#fff; }
.bd-pbtn i { font-style:normal; font-weight:600; }
.bd-reset, .bd-reset:hover { border-color:transparent; background:transparent; color:#dc2626; }
.bd-pbody { position:absolute; z-index:60; top:calc(100% + 6px); inset-inline-start:0; min-width:230px;
  max-width:min(340px, calc(100vw - 32px)); background:#fff; border:1px solid var(--border-color); border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.14); padding:12px; display:flex; flex-direction:column; gap:10px; }
.bd-pbody .bd-chips { max-height:260px; overflow:auto; }
.bd-pbody > .kh-btn { align-self:flex-start; }
.bd-fbox .bd-pbody { position:static; box-shadow:none; max-width:none; margin-top:8px; }
.bd-dates .bd-pbody { width:300px; }
.bd-fbox .bd-dates .bd-pbody { width:auto; }
.bd-dhint { margin:0; font-size:11.5px; line-height:1.4; color:var(--text-muted); text-align:center; }
.bd-cal-h { display:flex; align-items:center; justify-content:space-between; font-size:14px; margin-bottom:4px; }
.bd-cal-h b { text-transform:capitalize; }
.bd-cal-h button { border:0; background:transparent; font-size:20px; line-height:1; cursor:pointer; padding:2px 10px; border-radius:8px; color:var(--text-main); }
.bd-cal-h button:hover { background:#f1f5f9; }
.bd-cal table { width:100%; border-collapse:collapse; table-layout:fixed; }
.bd-cal th { font-size:11px; font-weight:500; color:var(--text-muted); padding:2px 0 4px; }
.bd-cal td { padding:1px; text-align:center; }
.bd-day { position:relative; display:block; width:100%; padding:6px 0 10px; border:0; border-radius:8px;
  background:transparent; font:inherit; font-size:13px; color:var(--text-main); cursor:pointer; }
.bd-day::after { content:''; position:absolute; bottom:3px; left:50%; transform:translateX(-50%);
  width:5px; height:5px; border-radius:50%; background:transparent; }
.bd-day.ok::after, .bd-legend .ok { background:#16a34a; }
.bd-day.low::after, .bd-legend .low { background:#f59e0b; }
.bd-day.full::after, .bd-legend .full { background:#dc2626; }
.bd-day:hover:not([disabled]) { background:#f1f5f9; }
.bd-day[disabled] { color:#cbd5e1; cursor:default; }
.bd-day[disabled]::after { background:transparent; }
.bd-day.in { background:color-mix(in srgb, var(--bd-acc) 14%, #fff); border-radius:0; }
.bd-day.a, .bd-day.b { background:var(--bd-acc); color:#fff; }
.bd-day.a::after, .bd-day.b::after { background:#fff; }
.bd-legend { display:flex; gap:12px; justify-content:center; font-size:11px; color:var(--text-muted); }
.bd-legend i { display:inline-block; width:8px; height:8px; border-radius:50%; margin-inline-end:4px; vertical-align:middle; }
.bd-dinp.js { display:none; }
.bd-dinp input { width:auto; }
.bd-dfree { margin:0; text-align:center; font-size:13px; font-weight:600; min-height:1em; }
.bd-dbtns { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.bd-presets { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:0 0 20px; }
.bd-preset { font-weight:500; }
.bd-tagfs { margin-top:-8px; }
.bd-tagf small, .bd-tagf-sub small { color:var(--text-muted); font-weight:400; }
.bd-tagf-sub { font-size:12.5px; opacity:.9; }
.bd-foot { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; padding:24px 0 8px; }
.bd-foot .bd-pages { margin-top:0; }
.bd-total { font-size:12.5px; color:var(--text-muted); }
.kh-portal:has(.mkt-grid.bd-air) { max-width:1480px; }
@media (min-width:901px) {
  .mkt-grid.bd-air { display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:56px 104px;
    padding:0 56px; margin:0 auto;
    max-width:calc(var(--bd-cols,3) * 380px + (var(--bd-cols,3) - 1) * 104px + 112px); box-sizing:border-box; overflow-x:clip; }
  .mkt-grid.bd-air > .card-wrapper { flex:0 1 380px; width:380px; max-width:100%; }
  .mkt-grid.bd-air > .card-wrapper::before, .mkt-grid.bd-air > .card-wrapper::after { display:block; }
  .mkt-grid.bd-air > .card-wrapper .hover-actions { left:calc(100% + 8px); right:auto; }
  .mkt-grid.bd-air > .card-wrapper .hover-actions-left { right:calc(100% + 8px); left:auto; }
  .mkt-grid.bd-air > .card-wrapper .hover-nav-right { left:calc(100% + 8px); right:auto; }
  .mkt-grid.bd-air > .card-wrapper .hover-nav-left { right:calc(100% + 8px); left:auto; }
  .mkt-grid.bd-air > .card-wrapper .hover-del { left:calc(100% + 8px); right:auto; }
}
@media (max-width:900px) {
  .mkt-grid.bd-air { gap:36px 32px; grid-template-columns:repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
}
.bd-pinned .top { display:flex; align-items:center; gap:10px; }
.bd-pinned .bd-ava { width:42px; height:42px; font-size:14px; }
.bd-pinned .nm { min-width:0; }
.bd-pinned .nm b { display:block; font-size:15px; line-height:1.25; }
.bd-pinned .nm i { display:block; font-style:normal; font-size:11.5px; color:var(--text-muted); }
.bd-pinned .ab { margin:10px 0 12px; font-size:13px; line-height:1.5; color:var(--text-main); }
.bd-pinned .kh-btn { width:100%; justify-content:center; text-align:center; }
.bd-ver { color:#0f766e; font-size:12px; }
