/* ==========================================================================
   Back office
   Same tokens as the public site, in a workspace frame of its own: a sidebar
   of sections, the signed-in person, and a denser content column. No public
   navigation or footer -- staff are not visitors.
   ========================================================================== */
body.bo { margin: 0; background: var(--mist); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.55; }
.bo-shell { display: grid; min-height: 100vh; grid-template-columns: 236px minmax(0, 1fr); }

.bo-side { background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; gap: 18px;
           position: sticky; top: 0; height: 100vh; padding: 18px 14px; box-sizing: border-box; }
.bo-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; padding: 4px 8px; }
.bo-brand img { width: 30px; height: 30px; flex: none; }
.bo-brand strong { display: block; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.1; }
.bo-brand small { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); font-weight: 700; margin-top: 2px; }
.bo-brand--dark { color: var(--ink); padding: 0; }
.bo-brand--dark small { color: var(--brand-dark); }

.bo-nav { display: flex; flex-direction: column; gap: 2px; }
.bo-nav a { color: var(--on-ink-muted); text-decoration: none; font-weight: 600; font-size: .92rem;
            padding: 9px 12px; border-radius: 10px; border-left: 3px solid transparent; }
.bo-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.bo-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); border-left-color: var(--aqua); }
.bo-nav-group { margin: 14px 12px 4px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); opacity: .75; font-weight: 700; }

.bo-side-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; display: grid; gap: 10px; }
.bo-user { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; min-width: 0; }
.bo-user-name { font-size: .86rem; color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-side-links { display: flex; gap: 14px; padding: 0 8px; }
.bo-side-links a { color: var(--on-ink-muted); font-size: .82rem; text-decoration: none; }
.bo-side-links a:hover { color: var(--aqua); }

.bo-main { min-width: 0; }
.bo-topbar { display: none; align-items: center; gap: 12px; padding: 10px 14px; background: var(--ink); color: #fff; }
.bo-topbar-title { font-weight: 700; }
.bo-menu { width: 38px; height: 34px; border: 1px solid rgba(255, 255, 255, .25); background: none; border-radius: 8px; cursor: pointer; position: relative; }
.bo-menu span, .bo-menu span::before, .bo-menu span::after { content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; border-radius: 2px; }
.bo-menu span { top: 16px; }
.bo-menu span::before { top: -6px; left: 0; right: 0; }
.bo-menu span::after { top: 6px; left: 0; right: 0; }

.bo-content { padding: 26px clamp(16px, 3vw, 40px) 64px; max-width: 1400px; }
.bo-content h1 { font-size: 1.55rem; margin: 0 0 4px; letter-spacing: -.02em; line-height: 1.2; }
.bo-content h1 .muted { font-size: .95rem; font-weight: 500; }
.bo-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.bo-page-actions { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.bo-crumb { margin: 0 0 8px; font-size: .88rem; }
.bo-crumb a { color: var(--muted); text-decoration: none; }
.bo-crumb a:hover { color: var(--brand-dark); }

@media (max-width: 900px) {
  .bo-shell { grid-template-columns: 1fr; }
  .bo-side { position: fixed; inset: 0 auto 0 0; width: 264px; transform: translateX(-100%); transition: transform .2s ease; z-index: 50; }
  .bo-side.is-open { transform: none; box-shadow: var(--sh-3); }
  .bo-topbar { display: flex; }
}

/* sign-in */
.bo-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box; }
.bo-login-card { width: min(440px, 100%); background: #fff; border-radius: var(--r-xl); padding: 30px; box-shadow: var(--sh-3); box-sizing: border-box; }
.bo-login-card h1 { font-size: 1.5rem; margin: 16px 0 2px; letter-spacing: -.02em; }
.bo-login-card > .muted { margin: 0 0 18px; }

/* a stored panel that is being re-searched says so, in place */
.bo-panel .htmx-indicator { font-weight: 600; }
.bo-panel.htmx-request { opacity: .75; }

.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-1); margin-top: 20px; }
.admin-card h2 { font-size: 1.05rem; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.admin-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .admin-grid { grid-template-columns: 1fr 1fr; } }

.admin-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 20px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.admin-stat b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.admin-stat span { font-size: .85rem; color: var(--muted); }

.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; display: block; overflow-x: auto; }
.admin-table th { text-align: left; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--mist-2); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.small { font-size: .82em; }
.muted { color: var(--muted); font-weight: 500; }

.pill { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--mist-2); color: var(--ink-3); }
.pill--ok { background: rgba(47, 217, 190, .22); color: #0A5B4C; }
.pill--bad { background: rgba(180, 35, 28, .12); color: #8C1C16; }
.pill--warn { background: rgba(255, 176, 32, .22); color: var(--amber-ink); }
.pill--pasted { background: var(--brand); color: #fff; }
/* A card-programme negotiated fare (Amex Platinum). Silver, so it reads as a
   tier rather than a warning. */
.fare-badge { display: inline-block; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.fare-badge--platinum { background: linear-gradient(135deg, #eceef2, #c9ced8); color: #1f2733; border: 1px solid #b4bbc7; }
.fare-options { margin-top: 3px; font-size: .8rem; font-weight: 400; }
.fare-options > summary { cursor: pointer; color: var(--brand); font-weight: 600; list-style: none; }
.fare-options > summary::-webkit-details-marker { display: none; }
.fare-options > summary::before { content: "▸ "; font-size: .7em; }
.fare-options[open] > summary::before { content: "▾ "; }
.fare-options ul { list-style: none; margin: 4px 0 0; padding: 0; min-width: 260px; }
.fare-options li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.fare-options-cabin { color: var(--ink-3); }
.fare-book { margin-left: 8px; font-weight: 700; color: var(--brand); }
.pill--platinum { background: linear-gradient(135deg, #eceef2, #c9ced8); color: #1f2733; border: 1px solid #b4bbc7; }

/* The row that is the pasted GDS itinerary, flight for flight. */
.admin-table tr.is-pasted td { background: rgba(15, 118, 214, .09); border-bottom-color: rgba(15, 118, 214, .25); }
.admin-table tr.is-pasted td:first-child { box-shadow: inset 4px 0 0 var(--brand); }
.pasted-note { margin: 0 0 14px; font-size: .88rem; line-height: 1.6; color: var(--ink-3); }
.pasted-note .mono { font-weight: 700; color: var(--ink); }
.pasted-note--missing { color: var(--muted); }

.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.admin-filters input, .admin-filters select { font: inherit; font-size: .92rem; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; }
.admin-filters input:focus, .admin-filters select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,214,.14); }

.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.admin-row-actions { display: flex; gap: 6px; }
.admin-hint { font-size: .85rem; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.admin-pager { display: flex; gap: 18px; align-items: center; justify-content: center; margin-top: 22px; font-size: .9rem; }

.admin-dl { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.admin-dl dt { font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.admin-dl dd { margin: 3px 0 0; font-weight: 600; color: var(--ink); }

.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.admin-tabs a { padding: 8px 15px; border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--ink-3); background: #fff; border: 1px solid var(--line); }
.admin-tabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.setting-row { display: grid; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--mist-2); }
@media (min-width: 820px) { .setting-row { grid-template-columns: 300px 1fr; gap: 24px; align-items: start; } }
.setting-meta label { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; font-weight: 700; color: var(--ink); }
.setting-meta p { margin: 5px 0 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.setting-input { display: flex; gap: 8px; align-items: flex-start; }
.setting-static { margin: 6px 0; font-size: .95rem; }
.fx-table { width: auto; min-width: 420px; }
.fx-table td, .fx-table th { padding: 6px 12px; }
.setting-input input, .setting-input select, .setting-input textarea {
  font: inherit; font-size: .93rem; width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--text);
}
.setting-input textarea { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.5; resize: vertical; }
.setting-input input:focus, .setting-input select:focus, .setting-input textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,214,.14); }

.allowlist { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.allowlist li { background: var(--mist-2); padding: 5px 12px; border-radius: 999px; font-size: .85rem; }

.htmx-indicator { opacity: 0; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }

/* --------------------------------------------------------- admin search */
.admin-search-layout { display: grid; gap: 22px; align-items: start; margin-top: 8px; }
@media (min-width: 1080px) { .admin-search-layout { grid-template-columns: 400px minmax(0, 1fr); } }
.admin-search-form .quote-card { box-shadow: var(--sh-1); border: 1px solid var(--line); }
.admin-search-results { display: grid; gap: 0; min-width: 0; }
.admin-search-results .admin-card:first-child { margin-top: 0; }

/* ------------------------------------------ browser-worker vendor panels */
.worker-pill--pending { background: var(--mist-2); color: var(--ink-3); }
.worker-pill--processing { background: rgba(15, 118, 214, .15); color: var(--brand-dark); }
/* A queued job is genuinely in progress, so it gets the same live treatment as
   a slow vendor rather than looking like a dead panel. */
.worker-panel .skeletons { margin-top: 14px; }
.worker-pill--processing::after { content: "…"; }

/* ------------------------------------------------------ re-price history */
.admin-history > summary { cursor: pointer; font-weight: 700; color: var(--ink-3); }
.admin-history .admin-card { box-shadow: none; border-color: var(--mist-2); }

/* ------------------------------------------------------------- booking */
.book-layout { align-items: start; }
.book-slice { margin: 10px 0 14px; }
.book-slice > strong { display: block; margin-bottom: 4px; }
.admin-table--tight td { padding: 5px 8px; font-size: .88rem; }
.book-form .field { display: grid; gap: 4px; font-size: .85rem; color: var(--ink-3); }
.book-form .field > span { font-weight: 600; }
.book-form input, .book-form select { font: inherit; font-size: .92rem; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); }
.book-form input:focus, .book-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,214,.14); }
.pax-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 12px; }
.pax-card legend { font-weight: 700; padding: 0 6px; }
.pax-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.form-errors { margin: 6px 0 0 18px; padding: 0; }
.admin-pre { font-size: .75rem; line-height: 1.4; max-height: 420px; overflow: auto; background: var(--mist); padding: 12px; border-radius: 10px; }
.card-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.card-section duffel-card-form { display: block; min-height: 120px; margin-bottom: 10px; }
.book-form .field--check { grid-template-columns: auto 1fr; align-items: start; gap: 8px; }

/* invoices */
.invoice-rows { display: table; }
.invoice-rows input, .invoice-rows textarea { width: 100%; min-width: 90px; padding: 7px 10px; }
.invoice-rows .invoice-detail-cell { width: 42%; }
.invoice-rows input[name="type"] { min-width: 150px; }
.invoice-rows .invoice-detail { min-width: 220px; min-height: 0; line-height: 1.4; resize: none; overflow: hidden; font-family: inherit; }
.invoice-rows .invoice-amount { text-align: right; min-width: 110px; }
.invoice-rows .invoice-row-n { color: var(--muted); width: 2.4em; }
.invoice-rows tfoot td { border-bottom: none; border-top: 2px solid var(--ink); font-weight: 800; }
.invoice-total-label { text-align: right; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.invoice-rows tfoot #invoice-total { display: block; text-align: right; padding-right: 10px; }
.invoice-no { font-size: 1.05rem; }
.book-form textarea { font: inherit; font-size: .92rem; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.book-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,214,.14); }
.invoice-textarea { margin-top: 12px; }
.invoice-note-field { margin-top: 0; }
.invoice-note-field > span { font-weight: 500; color: var(--muted); }
.nowrap { white-space: nowrap; }

/* AI chat */
.ai-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.ai-layout .admin-card { margin-top: 20px; }
.ai-list-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ai-list-items li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; }
.ai-list-items li.is-active { background: var(--mist-2); }
.ai-list-items a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-list-items a:hover { color: var(--brand-dark); }
.ai-main-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ai-main-head h2 { margin: 0 0 8px; }
.ai-messages { display: grid; gap: 14px; max-height: 60vh; overflow-y: auto; padding: 6px 2px; }
.ai-msg { display: grid; gap: 4px; max-width: 85%; }
.ai-msg--user { justify-self: end; }
.ai-msg--assistant { justify-self: start; }
.ai-msg-who { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ai-msg--user .ai-msg-who { text-align: right; }
.ai-msg-body { padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-msg--user .ai-msg-body { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg--assistant .ai-msg-body { background: var(--mist); color: var(--ink); border-bottom-left-radius: 4px; white-space: normal; }
.ai-msg--pending { opacity: .7; }
.ai-msg-body p { margin: 0 0 .7em; }
.ai-msg-body p:last-child, .ai-msg-body ul:last-child, .ai-msg-body ol:last-child { margin-bottom: 0; }
.ai-msg-body ul, .ai-msg-body ol { margin: 0 0 .7em; padding-left: 1.3em; }
.ai-msg-body h3, .ai-msg-body h4, .ai-msg-body h5 { margin: .4em 0 .3em; font-size: 1em; }
.ai-msg-body pre { margin: 0 0 .7em; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; font-size: .85em; line-height: 1.45; white-space: pre; }
.ai-msg-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.ai-msg-body p code, .ai-msg-body li code { background: #fff; padding: 1px 5px; border-radius: 5px; border: 1px solid var(--line); }
.ai-form { margin-top: 14px; display: grid; gap: 8px; }
.ai-form textarea { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; resize: vertical; min-height: 64px; }
.ai-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,214,.14); }
.ai-form-row { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.ai-busy { color: var(--muted); font-weight: 600; }
.ai-usage { font-weight: 500; text-transform: none; letter-spacing: 0; }
@media (max-width: 900px) { .ai-layout { grid-template-columns: 1fr; } .ai-list { order: 2; } .ai-msg { max-width: 100%; } }

.ai-tool { justify-self: stretch; max-width: 100%; font-size: .82rem; border: 1px dashed var(--line-2); border-radius: 10px; padding: 6px 10px; background: #fff; }
.ai-tool > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none; }
.ai-tool > summary::-webkit-details-marker { display: none; }
.ai-tool > summary::before { content: "▸"; color: var(--muted); }
.ai-tool[open] > summary::before { content: "▾"; }
.ai-tool-name { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.ai-tool-body { margin-top: 8px; display: grid; gap: 4px; }
.ai-tool-body pre { margin: 0 0 6px; max-height: 260px; overflow: auto; background: var(--mist); padding: 8px 10px; border-radius: 8px; font-size: .78rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-tool-body .inv-label { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.ai-msg-body .ai-table { border-collapse: collapse; width: 100%; margin: 4px 0 .8em; font-size: .86em; display: block; overflow-x: auto; }
.ai-msg-body .ai-table th, .ai-msg-body .ai-table td { border: 1px solid var(--line-2); padding: 6px 8px; vertical-align: top; text-align: left; background: #fff; }
.ai-msg-body .ai-table th { background: var(--mist-2); font-weight: 700; white-space: nowrap; }
.ai-msg-body .ai-table .al-right { text-align: right; white-space: nowrap; }
.ai-msg-body .ai-table .al-center { text-align: center; }

/* result filters */
.results-filters { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 12px 18px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .88rem; }
.filter-group label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; }
.filter-label { font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-right: 4px; }
.filter-group--end { margin-left: auto; }
.filter-carriers label { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }
.offer-row.is-filtered { display: none; }
.filter-note { margin: 8px 0 0; }
.offer-times { white-space: nowrap; }
.offer-leg + .offer-leg { margin-top: 2px; }
.offer-day { font-size: .7em; color: var(--muted); margin-left: 1px; }
.partner-thumb { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; border-radius: 4px; margin-right: 4px; }
.book-form textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.45; }

.nav-count { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--amber-ink, #8a5a00); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; line-height: 18px; vertical-align: 1px; }
.stack-sm { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* trade partners (shared with the partner portal) */
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.neg { color: #8C1C16; }
.pos { color: #0A5B4C; }
.panel-note--ok { background: rgba(47, 217, 190, .16); color: #0A5B4C; }
.stack-form { display: grid; gap: 12px; }
.book-form textarea { font: inherit; font-size: .92rem; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.trade-pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.5; background: var(--mist, #f3f6f9); padding: 10px 12px; border-radius: 10px; margin: 8px 0; white-space: pre-wrap; overflow-x: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* sidebar sections that fold */
.bo-nav-section { display: block; }
.bo-nav-section > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 0; border-radius: 6px; user-select: none; }
.bo-nav-section > summary::-webkit-details-marker { display: none; }
.bo-nav-section > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.bo-nav-section[open] > summary::before { transform: rotate(45deg); }
.bo-nav-section > summary:hover { color: #fff; opacity: 1; }
.bo-nav-section > summary:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.bo-nav-section[open] .bo-nav-section-count { display: none; }
.bo-nav-section:first-child > summary { margin-top: 4px; }
.bo-nav-links { display: flex; flex-direction: column; gap: 2px; }
