.bo-page{--ink:#102f33;--muted:#5f7274;--line:#dce7e5;--accent:#17616a;--surface:#f5faf9;color:var(--ink);background:white;font:14px/1.7 Inter,"Segoe UI",sans-serif;margin:0 calc(50% - 50vw);padding:0 32px 35px}.bo-page *{box-sizing:border-box}.bo-page [hidden]{display:none!important}.bo-page h1,.bo-page h2,.bo-page h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em;color:var(--ink)}.bo-page a{color:var(--accent)}.bo-page :is(h1,h2,h3,p,strong,a){overflow-wrap:anywhere}.bo-page button{font:inherit;cursor:pointer}.bo-page button:disabled{opacity:.4;cursor:default}.bo-page :is(button,input,select,a,summary):focus-visible{outline:3px solid #74b6ae;outline-offset:3px}.bo-shell{max-width:1528px;display:grid;grid-template-columns:56px minmax(0,1fr) 286px;gap:0 26px;margin:auto;align-items:start;transition:grid-template-columns .22s}.bo-page.bo-side-open .bo-shell{grid-template-columns:210px minmax(0,1fr) 286px}.bo-side{grid-column:1;grid-row:1/4;border-right:1px solid var(--line);padding-right:10px;height:100%}.bo-side-toggle{position:sticky;top:20px;display:flex;flex-direction:column;align-items:center;gap:17px;min-height:220px;width:100%;padding:15px 6px;margin-top:24px;background:white;color:var(--accent);border:1px solid var(--line);border-radius:16px}.bo-side-toggle>span:nth-child(2){writing-mode:vertical-rl;transform:rotate(180deg);font-size:11px;font-weight:700;letter-spacing:1px}.bo-side-toggle>span:first-child{font-size:22px}.bo-side-toggle b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--surface);font-size:11px}.bo-side-toggle>span:last-child{margin-top:auto}.bo-side-open .bo-side-toggle{flex-direction:row;min-height:45px;border-radius:999px;padding:10px;gap:10px}.bo-side-open .bo-side-toggle>span:nth-child(2){writing-mode:horizontal-tb;transform:none;letter-spacing:0}.bo-side-open .bo-side-toggle b{margin-left:auto}.bo-side-open .bo-side-toggle>span:last-child{margin:0;transform:rotate(180deg)}#boSidePanel{position:sticky;top:85px;margin-top:20px}#boSidePanel nav{max-height:65vh;overflow:auto}#boSidePanel button{width:100%;background:none;border:1px solid transparent;text-align:left;border-radius:12px;padding:12px 9px;font-size:12px}#boSidePanel strong{display:block;font-size:12px}#boSidePanel small{color:var(--muted);font-size:10px}#boSidePanel button[aria-pressed=true],.bo-all{background:#e9f5f2!important;border-color:#c5dcd6!important;color:var(--accent)}#boSidePanel>a{display:block;border-top:1px solid var(--line);padding:15px 4px;font-size:12px}.bo-discovery{grid-column:2;grid-row:1;min-width:0;padding-top:24px}.bo-intro{padding:31px 25px;text-align:center;border-radius:24px;background:linear-gradient(135deg,#e9f5f2,#f7efe1);margin-bottom:26px}.bo-intro h1{font-size:clamp(35px,3.4vw,50px);line-height:1.06;margin:0 0 18px}.bo-intro h1 span{color:var(--accent)}.bo-intro>p{max-width:560px;margin:0 auto 23px;color:var(--muted);font-size:14px}.bo-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin-top:19px;font-size:11px;color:var(--muted)}.bo-stats strong{font:18px Georgia,serif;color:var(--ink);margin-right:4px}.bo-atlas{border:1px solid var(--line);border-radius:18px;overflow:hidden}.bo-atlas header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px 0}.bo-atlas h2{font-size:25px;margin:0}.bo-atlas header p{font-size:11px;color:var(--muted);margin:0}.bo-network{height:265px;position:relative;isolation:isolate;background:radial-gradient(#a7c5bf38 .7px,transparent .7px);background-size:18px 18px;margin-top:15px}.bo-network>svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#76a9a1;opacity:.4}.bo-network ellipse{stroke-dasharray:3 7;opacity:.4}.bo-core{position:absolute;top:calc(50% - 49px);left:calc(50% - 49px);width:98px;height:98px;border:1px solid #6ba79e77;border-radius:50%;font:58px/98px Georgia,serif;text-align:center;color:var(--accent);background:#e9f5f244}.bo-core:before,.bo-core:after{content:'';position:absolute;inset:-12px;border:1px solid #a6c8c155;border-radius:50%;transform:scaleX(.7) rotate(40deg)}.bo-core:after{transform:scaleX(.7) rotate(-40deg)}.bo-node{position:absolute;min-width:135px;max-width:35%;text-align:left;border:1px solid #d2e2de;border-radius:12px;background:white;padding:12px;color:var(--ink);box-shadow:0 4px 14px #1d474a05}.bo-node strong{display:block;font-size:11px;font-weight:600;line-height:1.5}.bo-node small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.bo-node[aria-pressed=true]{background:#e9f5f2;color:var(--accent);border-color:#6ea79f;box-shadow:0 0 0 3px #17616a08}.bo-node.node-0{left:5%;top:12%}.bo-node.node-1{right:5%;top:12%}.bo-node.node-2{left:5%;bottom:10%}.bo-node.node-3{right:5%;bottom:10%}.bo-atlas-pages{display:flex;justify-content:center;gap:15px;align-items:center;border-top:1px solid var(--line);padding:10px;font-size:11px}.bo-atlas-pages button{background:none;border:1px solid var(--line);border-radius:50%;width:30px;height:30px}.bo-thread{grid-column:2;grid-row:2;min-width:0;padding:25px 0}.bo-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--accent);font-weight:700;margin:0 0 8px}.bo-thread h2{font-size:27px;margin:0 0 12px}.bo-thread>p:not(.bo-kicker){color:var(--muted);font-size:13px}.bo-thread-row{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:16px 0}.bo-thread-row strong{font-size:13px;font-weight:600}.bo-thread-row small{display:block;font-size:11px;color:var(--muted)}.bo-thread-row>span:last-child{margin-left:auto}.bo-activity{grid-column:3;grid-row:1/3;padding:28px 0 0 22px;border-left:1px solid var(--line);min-width:0}.bo-activity h2{font-size:26px;margin:0 0 12px}.bo-activity ul{list-style:none;padding:0;margin:0 0 16px}.bo-activity li{padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.bo-activity li>a,.bo-notice{font-weight:600;line-height:1.5}.bo-notice{border:0;background:none;padding:0;text-align:left;color:var(--accent);font-size:13px}.bo-activity li small{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:5px}.bo-activity li small span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bo-activity time{flex:none}.bo-text-button{border:0;background:none;color:var(--accent);font-size:12px!important;font-weight:700!important;padding:7px 0}.bo-event{padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}.bo-event h3{font-size:22px;margin:0 0 15px}.bo-event time{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.bo-event h4{font:500 15px/1.6 Inter,"Segoe UI",sans-serif;margin:10px 0 14px}.bo-event>a{font-size:12px}.bo-catalogue{grid-column:2/4;grid-row:3;min-width:0;padding:26px 0 0;border-top:1px solid var(--line)}.bo-catalogue>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.bo-catalogue h2{font-size:34px;margin:0 0 8px}.bo-catalogue header p{color:var(--muted);font-size:13px;margin:0}.bo-row{display:grid;grid-template-columns:120px minmax(0,1fr) 130px;gap:22px;border-top:1px solid var(--line);padding:23px 0}.bo-tag{display:inline-block;background:var(--surface);border-radius:999px;padding:4px 9px;color:var(--accent);font-size:10px;font-weight:700}.bo-row>div:first-child small{display:block;font-size:11px;color:var(--muted);margin-top:9px}.bo-row h3{font-size:22px;margin:0 0 9px;line-height:1.3}.bo-row p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:10px}.bo-row>div>small{color:var(--muted);font-size:11px}.bo-row-open{align-self:center;justify-self:end;font-size:12px;font-weight:700}.bo-empty{background:var(--surface);padding:30px;border-radius:16px;color:var(--muted)}.bo-footer{max-width:1528px;margin:30px auto 0;padding:28px 0 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px}.bo-footer img{width:155px;height:40px;object-fit:contain}.bo-footer>div{display:flex;flex-wrap:wrap;gap:22px;font-size:12px}.bo-page dialog{width:min(700px,calc(100% - 32px));max-height:85vh;overflow:auto;padding:30px;border:1px solid var(--line);border-radius:18px;color:var(--ink);box-shadow:0 25px 80px #102f3333}.bo-page dialog::backdrop{background:#102f3399;backdrop-filter:blur(3px)}.bo-dialog-close{float:right;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:white;font-size:22px!important;line-height:1}.bo-page dialog h2{font-size:30px;margin:10px 0 20px}.bo-history-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.bo-history-filters select{min-width:0;max-width:100%;border:1px solid #bfcfcd;border-radius:999px;padding:9px;font-size:12px;background:white}.bo-history-item{padding:18px 0;border-top:1px solid var(--line)}.bo-history-item h3{font-size:22px;margin:5px 0 10px}.bo-history-item p,.bo-history-item small{font-size:12px;color:var(--muted)}
@media(max-width:1250px){.bo-shell{grid-template-columns:52px minmax(0,1fr) 250px;gap:0 22px}.bo-page.bo-side-open .bo-shell{grid-template-columns:180px minmax(0,1fr) 250px}.bo-activity{padding-left:18px}.bo-node{min-width:110px;padding:10px}.bo-node strong{font-size:10px}.bo-row{grid-template-columns:95px minmax(0,1fr) 110px;gap:17px}.bo-side-open .bo-side-toggle{gap:7px;font-size:11px}}
@media(max-width:1020px){.bo-shell{grid-template-columns:48px minmax(0,1fr)}.bo-page.bo-side-open .bo-shell{grid-template-columns:175px minmax(0,1fr)}.bo-side{grid-row:1/5}.bo-thread{grid-column:2;grid-row:2}.bo-activity{grid-column:2;grid-row:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;padding:24px 0;border-left:0}.bo-activity>h2,.bo-activity>ul,.bo-activity>#boViewActivity{grid-column:1}.bo-activity>h2{grid-row:1;margin:0}.bo-activity>ul{grid-row:2/4;margin:0}.bo-activity>#boViewActivity{grid-row:4;justify-self:start}.bo-event{grid-column:2;grid-row:1/5;margin:0;padding:0 0 0 22px;border-top:0;border-left:1px solid var(--line)}.bo-catalogue{grid-column:2;grid-row:4}.bo-row{grid-template-columns:85px minmax(0,1fr) 100px;gap:15px}}
@media(max-width:720px){.bo-page{padding:0 20px 30px}.bo-shell{display:flex;flex-direction:column}.bo-side{width:100%;padding:0;border:0;height:auto}.bo-side-toggle,.bo-side-open .bo-side-toggle{position:static;flex-direction:row;min-height:48px;margin-top:5px;padding:11px 13px;border-radius:999px;gap:11px}.bo-side-toggle>span:nth-child(2){writing-mode:horizontal-tb;transform:none;letter-spacing:0;font-size:12px}.bo-side-toggle b{margin-left:auto}.bo-side-toggle>span:last-child{margin:0;transform:rotate(90deg)}.bo-side-open .bo-side-toggle>span:last-child{transform:rotate(-90deg)}#boSidePanel{position:static;margin-top:15px}#boSidePanel nav{display:grid;grid-template-columns:1fr 1fr;max-height:none;gap:5px}.bo-discovery{width:100%;padding-top:22px}.bo-intro{padding:27px 17px}.bo-intro h1{font-size:36px}.bo-intro>p{font-size:13px}.bo-stats{gap:14px;font-size:10px}.bo-atlas header{padding:18px 15px 0}.bo-atlas h2{font-size:23px}.bo-atlas header p{font-size:10px;max-width:105px;text-align:right}.bo-node{min-width:101px;max-width:37%;padding:9px}.bo-node strong{font-size:9px}.bo-node small{font-size:8px}.bo-core{transform:scale(.75)}.bo-thread,.bo-activity,.bo-catalogue{width:100%}.bo-catalogue>header{align-items:center}.bo-catalogue h2{font-size:30px}.bo-row{display:flex;flex-direction:column;gap:12px}.bo-row>div:first-child{display:flex;align-items:center;justify-content:space-between}.bo-row>div:first-child small{margin:0}.bo-row-open{align-self:start}.bo-footer{flex-direction:column;align-items:start}.bo-page dialog{padding:22px}.bo-history-filters select{flex:1}}
@media(max-width:540px){.bo-activity{display:block}.bo-activity ul{margin:0 0 15px}.bo-event{padding:22px 0 0;margin-top:24px;border-left:0;border-top:1px solid var(--line)}.bo-activity h2{margin-bottom:10px}.bo-intro h1{font-size:33px}.bo-node{min-width:95px}.bo-node strong{font-size:8px}.bo-node small{font-size:7px}}
@media(prefers-reduced-motion:reduce){.bo-shell{transition:none}}

/* Both search bars use the same embedded field selector and rounded focus ring. */
.bo-search { max-width: 700px; margin: auto; }
.bo-search, .bo-catalogue-search { container: bo-search / inline-size; min-width: 0; }
.bo-search-control {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 4px; padding: 6px; min-width: 0;
  border: 1px solid #bfcfcd; border-radius: 999px; background: white; text-align: left;
}
.bo-search-control:focus-within { outline: 3px solid #74b6ae; outline-offset: 3px; border-color: var(--accent); }
.bo-query-field { display: flex; align-items: center; gap: 10px; min-width: 0; padding-left: 12px; }
.bo-query-field > svg { flex: none; color: var(--muted); }
.bo-page .bo-query-field input[type=search],
.bo-page .bo-query-field input[type=search]:focus,
.bo-page .bo-query-field input[type=search]:focus-visible {
  appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; margin: 0;
  border: 0; border-radius: 999px; padding: 9px 0; outline: none; box-shadow: none;
  background: transparent; color: var(--ink); font: 13px/1.6 Inter,"Segoe UI",sans-serif;
}
.bo-query-field input::placeholder { color: var(--muted); opacity: 1; }
.bo-search-options { min-width: 0; }
.bo-search-options > summary {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; list-style: none;
  border-left: 1px solid var(--line); color: var(--accent); font-size: 11px; font-weight: 600;
  line-height: 1.5; cursor: pointer;
}
.bo-search-options > summary::-webkit-details-marker { display: none; }
.bo-search-options > summary > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-search-options > summary > svg { flex: none; }
.bo-search-options[open] > summary { background: #e9f5f2; border-radius: 999px; border-left-color: transparent; }
.bo-search-control:has(.bo-search-options[open]) { z-index: 20; }
.bo-search-options-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; width: min(370px, 100%);
  max-height: min(430px, 65vh); overflow: auto; padding: 18px; border: 1px solid var(--line);
  border-radius: 18px; background: white; box-shadow: 0 16px 45px #102f3326; color: var(--ink);
}
.bo-search-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.bo-search-shortcuts button { border: 1px solid #c5dcd6; border-radius: 999px; padding: 6px 12px; background: var(--surface); color: var(--accent); font-size: 12px; font-weight: 600; }
.bo-search-options-panel fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; border: 0; padding: 0; margin: 0 0 14px; }
.bo-search-options-panel legend { width: auto; border: 0; padding: 0; margin: 0 0 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.bo-search-options-panel label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 5px 0; font-size: 12px; font-weight: 400; cursor: pointer; }
.bo-search-options-panel input[type=checkbox] { flex: none; width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
.bo-search-options-panel .bo-exact-match { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 600; }
.bo-search-options-panel p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 8px 0 0; }
.bo-search-submit { display: flex; align-items: center; gap: 7px; min-height: 40px; border: 0; border-radius: 999px; background: var(--accent); color: white; padding: 10px 17px; font-size: 12px !important; font-weight: 700 !important; white-space: nowrap; }
.bo-search-submit:hover { background: #114c54; }
/* The query gets the main row; facets and sorting have their own hierarchy. */
#boFilters { display: block; padding: 0; border: 0; background: none; }
.bo-catalogue-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px; }
.bo-filter-toggle { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 10px 17px; border: 1px solid #bfcfcd; border-radius: 999px; background: white; color: var(--accent); font-size: 12px !important; font-weight: 600 !important; }
.bo-filter-toggle[aria-expanded=true] { border-color: #8bb9b0; background: var(--surface); }
.bo-filter-chevron { display: inline-block; transition: transform .15s; }
.bo-filter-toggle[aria-expanded=true] .bo-filter-chevron { transform: rotate(180deg); }
.bo-filter-count { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: white; font-size: 10px; }
.bo-filter-panel { padding: 18px 20px 20px; margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.bo-filter-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 31px; margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 700; }
.bo-filter-panel-heading .bo-text-button { padding: 0; }
.bo-facet-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; min-width: 0; padding: 0; border: 0; margin: 0; }
.bo-facet { min-width: 0; }
.bo-facet > label { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.bo-facet select, .bo-sort-controls select { width: 100%; min-width: 0; max-width: 100%; min-height: 41px; padding: 9px 28px 9px 12px; border: 1px solid #c5d6d2; border-radius: 10px; background: white; color: var(--ink); font: 12px/1.5 Inter,"Segoe UI",sans-serif; text-overflow: ellipsis; }
.bo-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.bo-filter-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; border: 1px solid #c5dcd6; border-radius: 999px; padding: 5px 11px; background: #e9f5f2; color: var(--accent); font-size: 11px !important; }
.bo-filter-chip > span:first-child { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-filter-chip > span:last-child { font-size: 16px; line-height: 1; }
.bo-results-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 18px 0 12px; }
#boCatalogueStatus { font-size: 12px; color: var(--muted); margin: 0; }
.bo-sort-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bo-sort-controls label { margin: 0 3px 0 0; white-space: nowrap; font-size: 11px; font-weight: 400; color: var(--muted); }
.bo-sort-controls select { width: auto; max-width: 180px; min-height: 36px; padding: 7px 9px; border-color: var(--line); border-radius: 999px; font-size: 11px; }
@container bo-search (max-width: 540px) {
  .bo-search-control { grid-template-columns: minmax(0, 1fr) auto; border-radius: 24px; gap: 2px 8px; padding: 8px; }
  .bo-query-field { grid-column: 1 / -1; padding: 0 7px; }
  .bo-search-options > summary { border-left: 0; padding: 8px; }
  .bo-search-submit { min-height: 36px; padding: 8px 14px; }
}
@media (max-width: 1020px) { .bo-facet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .bo-catalogue-toolbar { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bo-filter-toggle { justify-self: start; min-height: 40px; padding: 8px 14px; }
  .bo-filter-panel { padding: 14px; }
  .bo-facet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bo-results-toolbar { align-items: start; }
  .bo-sort-controls { flex-wrap: wrap; }
  .bo-search-options-panel { padding: 14px; }
  .bo-search-options-panel fieldset { gap: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) { .bo-filter-chevron { transition: none; } }

/* Searchable catalogue facets reuse the Select2 assets already loaded by LiFE. */
.bo-facet { position: relative; }
.bo-facet select.select2-hidden-accessible { min-height: 0; }
.bo-facet > .select2-container { width: 100% !important; min-width: 0; font: 12px/1.5 Inter,"Segoe UI",sans-serif; }
.bo-facet .select2-selection--single {
  height: 41px; border: 1px solid #c5d6d2; border-radius: 10px; background: white;
}
.bo-facet .select2-selection--single .select2-selection__rendered { padding-left: 12px; padding-right: 28px; line-height: 39px; color: var(--ink); }
.bo-facet .select2-selection--single .select2-selection__placeholder { color: var(--muted); }
.bo-facet .select2-selection--single .select2-selection__arrow { height: 39px; right: 6px; }
.bo-facet .select2-selection--single .select2-selection__arrow b { border-top-color: var(--accent); }
.bo-facet .select2-selection--single .select2-selection__clear { margin-left: 6px; font-size: 18px; font-weight: 400; color: var(--muted); }
.bo-facet .select2-container--focus .select2-selection--single,
.bo-facet .select2-container--open .select2-selection--single,
.bo-facet .select2-selection--single:focus-visible { border-color: var(--accent); outline: 3px solid #74b6ae; outline-offset: 2px; }
.bo-facet .select2-dropdown { border: 1px solid #c5d6d2; border-radius: 10px; background: white; color: var(--ink); box-shadow: 0 12px 30px #102f3321; overflow: hidden; }
.bo-facet .select2-search--dropdown { padding: 8px; }
.bo-facet .select2-search--dropdown .select2-search__field { width: 100%; min-width: 0; border: 1px solid #bfcfcd; border-radius: 7px; background: white; color: var(--ink); padding: 7px 8px; font: inherit; }
.bo-facet .select2-search--dropdown .select2-search__field:focus { border-color: var(--accent); outline: 2px solid #74b6ae; outline-offset: 1px; }
.bo-facet .select2-results__options { max-height: 220px; }
.bo-facet .select2-results__option { padding: 8px 12px; overflow-wrap: anywhere; }
.bo-facet .select2-results__option[aria-selected=true] { background: #e9f5f2; }
.bo-facet .select2-results__option--highlighted[aria-selected] { background: var(--accent); color: white; }
@media (max-width: 720px) { .bo-facet .select2-search--dropdown .select2-search__field { font-size: 16px; } }

/* Give search the whole content width, then pair collections with community updates. */
.bo-shell > .bo-side { grid-row: 1 / 5; }
.bo-intro.bo-intro-wide { grid-column: 2 / 4; grid-row: 1; margin: 24px 0 26px; padding: 36px 25px; }
.bo-intro-wide .bo-search { max-width: 850px; }
.bo-shell > .bo-atlas { grid-column: 2; grid-row: 2; min-width: 0; }
.bo-shell > .bo-thread { grid-column: 2 / 4; grid-row: 3; }
.bo-shell > .bo-activity { grid-column: 3; grid-row: 2; padding: 22px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 18px; background: #f8fbfa; }
.bo-shell > .bo-catalogue { grid-column: 2 / 4; grid-row: 4; }
.bo-atlas { border-color: #aed4c9; background: linear-gradient(125deg,#e5f6ed,#eaf3ff 65%,#fdf1df); box-shadow: 0 8px 26px #17616a0d; }
.bo-atlas header { padding-top: 23px; }
.bo-atlas h2 { color: #105a60; font-size: 29px; }
.bo-atlas header p { color: #365f64; font-size: 12px; }
.bo-network { height: 335px; margin-top: 20px; background: radial-gradient(#7aa99d55 1px,transparent 1px); background-size: 18px 18px; }
.bo-network > svg { opacity: .75; stroke: #3c9689; }
.bo-core { color: #147667; background: #d7f1e6; border-color: #86c6b4; }
.bo-node { border-color: #b4d6cc; border-left: 4px solid #258a77; box-shadow: 0 5px 18px #17616a15; background: #fffffff2; }
.bo-node.node-1 { border-left-color: #4183b7; }
.bo-node.node-2 { border-left-color: #c59230; }
.bo-node.node-3 { border-left-color: #8771b3; }
.bo-node strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 13px; font-weight: 700; color: #124d53; }
.bo-node small { color: #436b6d; font-size: 10px; }
.bo-node:hover { border-color: #67ad9a; box-shadow: 0 6px 20px #17616a26; }
.bo-node[aria-pressed=true] { background: #d8f1e7; border-color: #258a77; box-shadow: 0 0 0 3px #258a7726; }
.bo-atlas-pages { background: #ffffff70; border-top-color: #c6dfd7; }
.bo-thread-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.bo-thread-heading h2 { margin-bottom: 0; }
.bo-collection-link { border: 1px solid #b9d8ce; border-radius: 999px; padding: 8px 13px; background: var(--surface); font-size: 11px; font-weight: 600; }
.bo-description { margin-bottom: 9px; }
.bo-description-more { padding: 3px 0; font-size: 11px !important; }
.bo-activity h2 { font-size: 25px; }
.bo-activity #boActivityItems { min-height: 370px; }
.bo-activity li { padding: 12px 0; }
.bo-activity li > :is(a,button) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12px; }
.bo-activity-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 10px; color: var(--muted); margin: 8px 0; }
.bo-activity-controls button { border: 1px solid #c5dcd6; border-radius: 999px; background: white; color: var(--accent); padding: 4px 8px; font-size: 10px; }
.bo-activity-controls #boActivityPause { border: 0; background: none; padding-left: 0; }
@media (max-width: 1250px) {
  .bo-shell > .bo-activity { padding: 17px; }
  .bo-node strong { font-size: 12px; }
  .bo-atlas h2 { font-size: 26px; }
}
@media (max-width: 1020px) {
  .bo-shell > .bo-side { grid-row: 1 / 6; }
  .bo-intro.bo-intro-wide { grid-column: 2; }
  .bo-shell > .bo-thread { grid-column: 2; }
  .bo-shell > .bo-activity { display: block; grid-column: 2; grid-row: 4; margin-top: 24px; }
  .bo-shell > .bo-catalogue { grid-column: 2; grid-row: 5; }
  .bo-activity #boActivityItems { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; min-height: 0; }
  .bo-activity .bo-event { border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; padding: 20px 0 0; }
}
@media (max-width: 720px) {
  .bo-intro.bo-intro-wide { width: 100%; margin-top: 22px; padding: 27px 17px; }
  .bo-network { height: 300px; }
  .bo-node { min-width: 95px; max-width: 40%; padding: 9px; }
  .bo-node strong { font-size: 11px; }
  .bo-node small { font-size: 9px; }
  .bo-atlas h2 { font-size: 25px; }
  .bo-atlas header p { font-size: 11px; }
}
@media (max-width: 540px) { .bo-activity #boActivityItems { display: block; } }

/* Shared grid-row stretching keeps both panels exactly aligned without clipping. */
@media (min-width: 1021px) {
  .bo-shell > .bo-atlas, .bo-shell > .bo-activity { align-self: stretch; margin-bottom: 24px; }
  .bo-shell > .bo-atlas, .bo-shell > .bo-activity { display: flex; flex-direction: column; }
  .bo-atlas .bo-network { height: auto; min-height: 335px; flex: 1; }
  .bo-atlas .bo-atlas-pages { flex-shrink: 0; }
  .bo-activity #boActivityItems { flex: 1; }
  .bo-activity #boViewActivity { align-self: start; }
}
.bo-activity #boActivityItems { opacity: 1; transition: opacity 900ms cubic-bezier(.22,.61,.36,1); }
.bo-activity.is-activity-fading #boActivityItems { opacity: 0; transition-duration: 550ms; }
@media (prefers-reduced-motion: reduce) {
  .bo-activity #boActivityItems, .bo-activity.is-activity-fading #boActivityItems { opacity: 1; transition: none; }
}

/* Compact catalogue rows keep metadata, tags and complete project actions together. */
.bo-catalogue .bo-row { display: block; padding: 14px 0; }
.bo-row-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.bo-row .bo-row-heading h3 { font-size: 20px; margin: 0; }
.bo-row-heading > small { color: var(--muted); font-size: 10px; }
.bo-row .bo-row-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 3px 0 5px; color: var(--muted); font-size: 11px; }
.bo-row-meta > span + span { border-left: 1px solid var(--line); padding-left: 12px; }
.bo-row .bo-description { display: flex; align-items: center; gap: 10px; margin: 0 0 5px; min-width: 0; }
.bo-row .showcase-description-preview { flex: 1; min-width: 0; -webkit-line-clamp: 1; max-height: 1.7em; font-size: 12px; }
.bo-row .bo-description-more { flex: none; white-space: nowrap; padding: 2px 5px; font-size: 11px !important; }
.bo-row-details { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; margin: 5px 0 7px; }
.bo-row-tags, .bo-row-stats { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); font-size: 10px; }
.bo-row-tags > span { padding: 1px 6px; background: #edf5f3; border-radius: 5px; color: #35676b; overflow-wrap: anywhere; }
.bo-row-stats strong { color: var(--accent); font-weight: 700; }
.bo-row-stats small { font-size: 10px; }
.bo-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.bo-row-actions :is(.btn,.bo-project-page) { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 4px 9px; border: 1px solid transparent; border-radius: 7px; font: 600 10px/1.6 Inter,"Segoe UI",sans-serif; white-space: normal; }
.bo-row-actions .material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-size: 15px; width: 16px; flex: none; overflow: hidden; white-space: nowrap; line-height: 1; }
.bo-row-actions .btn-primary, .bo-row-actions .bo-project-page { color: #175568; background: #e7f3f8; border-color: #c7dfe9; }
.bo-row-actions .btn-default { color: #48626a; background: #f2f6f6; border-color: #dae5e4; }
.bo-row-actions .btn-info { color: #3d5c9b; background: #edf1ff; border-color: #d4ddf5; }
.bo-row-actions .btn-success { color: #246844; background: #e8f5ec; border-color: #c8e5d2; }
.bo-row-actions .btn-warning { color: #876018; background: #fff4dc; border-color: #efdcad; }
.bo-row-actions .btn-danger { color: #a64754; background: #fcecf0; border-color: #f0d0d8; }
.bo-row-actions .btn:not(:disabled):hover, .bo-row-actions .bo-project-page:hover { filter: brightness(.96); text-decoration: none; }
.bo-row-actions .btn:disabled { opacity: .55; cursor: not-allowed; }
.bo-row-actions .showcase-studio-access-note { flex-basis: 100%; margin: 1px 0; color: var(--muted); font-size: 10px; }
.bo-row-actions .showcase-studio-access-note .material-symbols-outlined { vertical-align: middle; }
.bo-footer-identity { max-width: 780px; }
.bo-footer .bo-footer-identity { display: block; }
.bo-footer-identity p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.bo-footer-identity strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .bo-row .bo-row-heading h3 { font-size: 20px; }
  .bo-row-actions :is(.btn,.bo-project-page) { min-height: 32px; font-size: 11px; }
  .bo-row-details { align-items: start; }
}

.bo-catalogue .bo-row .bo-row-heading { align-items: baseline; justify-content: flex-start; }
.bo-catalogue .bo-row .bo-row-heading > small { display: inline; margin: 0; font-size: 10px; }

.bo-row .showcase-description-preview { flex: 0 1 auto; }
.bo-row-actions .showcase-action-icon { width: 14px; height: 14px; flex: none; vertical-align: middle; }
.bo-row-actions .showcase-studio-access-note { order: 1; }

/* Quieter rows: details on demand, restrained tags, and labelled icon actions. */
.bo-row-heading .bo-description-more { margin-left: 2px; padding: 2px 8px; min-height: 24px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 11px !important; line-height: 1.5; }
.bo-row-tags > span { max-width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bo-row-tags [data-bo-tags-toggle] { border: 0; border-radius: 5px; background: none; color: var(--muted); padding: 1px 4px; font-size: 10px; }
.bo-row-tags [data-bo-tags-toggle]:hover { color: var(--accent); background: var(--surface); }
.bo-row-actions :is(.btn,.bo-project-page) { width: 34px; height: 32px; min-width: 34px; min-height: 32px; padding: 0; }
.bo-row-actions .showcase-action-icon { width: 17px; height: 17px; }
.bo-row-actions .showcase-action-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bo-row-actions [data-studio-access-hint] { display: none; }
.bo-row-actions button:disabled { pointer-events: auto; }
@media (max-width: 720px) { .bo-row-actions :is(.btn,.bo-project-page) { width: 36px; height: 36px; min-width: 36px; min-height: 36px; } }
