/* The overview becomes the entry point into the first detailed chapter. */
#system>.shell{position:relative}
.bs-db-detail{position:relative;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:clamp(32px,5vw,72px);align-items:center;margin-top:180px;padding:48px 40px;background:radial-gradient(ellipse at 15% 15%,#ff956b07,transparent 60%),linear-gradient(145deg,#ffffff03,transparent);border:1px solid #ffffff0b;border-radius:24px;--detail-progress:1;--result-progress:1}
.bs-db-copy{grid-column:2;grid-row:1;position:relative}
.bs-db-node{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #ffb180a6;border-radius:50%;color:#ffb18a;background:#252422;box-shadow:0 0 22px #ff956b22,inset 0 0 16px #ff956b0d;font-size:14px;font-weight:600;margin:0 0 16px}
.bs-db-label{font-size:13px;letter-spacing:1px;color:#ffab85;margin:0 0 22px;font-weight:600}
#system .bs-db-copy h2{font-size:clamp(30px,2.8vw,42px);line-height:1.18;letter-spacing:-1.6px;margin-bottom:25px}
.bs-db-description{font-size:16px;line-height:1.75;color:#b8bdbd;margin:0}
.bs-db-benefits{list-style:none;margin:24px 0 0;padding:20px 0 0;border-top:0;display:grid;gap:12px;color:#dddeda;font-size:14px;line-height:1.5}
.bs-db-benefits li{position:relative;padding-left:29px}
.bs-db-benefits li::before{content:"✓";position:absolute;left:0;color:#ffab85}
.bs-profile-panel{position:relative;grid-column:1;grid-row:1;width:100%;max-width:460px;justify-self:center;background:linear-gradient(145deg,#343332,#292928 70%);border:1px solid #ffffff19;border-radius:16px;padding:24px;box-shadow:0 18px 42px #0003,inset 0 1px 0 #ffffff0b;transform:translateY(calc((1 - var(--detail-progress))*12px));opacity:var(--detail-progress)}
.bs-profile-header{display:flex;justify-content:space-between;gap:14px;align-items:start;margin:0 0 18px}
#system .bs-profile-header h3{font-size:21px;color:#faf9f6;letter-spacing:-.4px;margin:0 0 7px}
.bs-profile-header p{font-size:14px;line-height:1.6;color:#b8bdbd;margin:0}
.bs-profile-header>span{font-size:12px;color:#999e9c;padding-top:4px}
.bs-profile-tags{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px}
.bs-profile-tags span{background:#ffffff07;border:1px solid #ffffff0b;padding:6px 9px;border-radius:6px;font-size:12px;color:#c6cac7}
.bs-profile-row{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #ffffff0b}
.bs-profile-avatar{flex:0 0 34px;height:36px;border-radius:11px;background:#ffffff08;border:1px solid #ffffff0b;display:flex;align-items:center;justify-content:center;color:#dededa;font-size:13px;font-weight:600}
.bs-profile-info{flex:1;min-width:0}
.bs-profile-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;line-height:1.5;color:#f0f0ec}
.bs-profile-title strong{font-weight:500}
.bs-profile-score{white-space:nowrap;font-variant-numeric:tabular-nums;color:#ffc4a4}
.bs-profile-bar{height:3px;margin:8px 0 6px;border-radius:5px;background:#ffffff0b;overflow:hidden}
.bs-profile-bar i{height:100%;display:block;width:100%;background:linear-gradient(90deg,#b96543,#ffad7e);border-radius:5px;transform:scaleX(var(--match-progress,1));transform-origin:left center;box-shadow:0 0 10px #ff956b50}
.bs-profile-info p{font-size:12px;line-height:1.5;color:#a4aaa6;margin:0}
.bs-profile-outside{opacity:.45;border-bottom:0}
.bs-profile-result{display:flex;gap:10px;align-items:center;color:#ffc3a0;font-size:13px;line-height:1.6;margin:18px 0 0;opacity:var(--result-progress)}
.bs-profile-result>span{display:flex;align-items:center;justify-content:center;flex:0 0 22px;height:22px;border-radius:50%;background:#ff956b16}

html.bs-system-motion .bs-db-copy>*{opacity:var(--detail-progress,0)}
html.bs-system-motion .bs-db-copy>.bs-db-node{opacity:var(--node-progress,0)}
@media(max-width:1050px){
 .bs-db-detail{grid-template-columns:1fr;margin-top:130px;gap:32px;padding:32px}
 .bs-db-copy{grid-column:1;grid-row:1;max-width:690px}
 .bs-profile-panel{grid-column:1;grid-row:2;max-width:460px;width:100%}
 #system .bs-db-copy h2{font-size:38px}
 .bs-db-description{font-size:17px}
 .bs-db-node{width:48px;height:48px}
}
@media(max-width:600px){
 .bs-db-detail{padding:24px 16px;margin-top:110px;gap:28px;border-radius:18px}
 .bs-profile-panel{padding:18px 14px;border-radius:14px}
 .bs-profile-header{gap:8px}.bs-profile-header p{font-size:12px}
 .bs-profile-row{gap:9px;padding:13px 0}
 .bs-profile-avatar{flex-basis:32px;height:36px;font-size:12px}
 .bs-profile-title{font-size:12px;gap:6px}
 .bs-profile-info p{font-size:11px}
 .bs-profile-tags{gap:5px}.bs-profile-tags span{font-size:11px;padding:5px 7px}
 #system .bs-db-copy h2{font-size:32px;letter-spacing:-1px}
 .bs-db-description{font-size:16px}.bs-db-benefits{font-size:15px}
 .bs-db-label{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .bs-profile-panel{opacity:1;transform:none}.bs-profile-result{opacity:1}
 .bs-db-copy>*{opacity:1!important}
}

.bs-db-node{position:relative;z-index:1}
.bs-db-copy{z-index:1}
.bs-profile-panel{z-index:2}
@media(max-width:600px){.bs-profile-tags span{font-size:11px;padding:5px}.bs-profile-title{font-size:12px}.bs-profile-info p{font-size:11px}.bs-profile-avatar{flex-basis:28px}.bs-profile-header>span{font-size:11px}.bs-db-benefits{font-size:14px}}

.bs-db-node{border-color:color-mix(in srgb,#ffad788c,#ffe0bf calc(var(--node-light,0)*100%));color:color-mix(in srgb,#ffb18a,#fff1dc calc(var(--node-light,0)*100%));box-shadow:inset 0 0 12px rgb(255 173 120 / calc(.07 + var(--node-light,0)*.12)),0 0 9px rgb(255 173 120 / calc(.12 + var(--node-light,0)*.32)),0 0 22px rgb(255 149 107 / calc(var(--node-light,0)*.2))}
/* A consistent text wordmark wherever the brand is written out. */
.bs-brand-name{white-space:nowrap;font-weight:400;letter-spacing:inherit}
.bs-brand-name strong{font-weight:800!important}
.bs-brand-name>span{font-weight:400!important}
/* Hold the complete chapter once it fits comfortably below the navigation. */
.bs-db-track{margin-top:180px;position:relative}
.bs-db-track .bs-db-detail{margin-top:0}
.bs-profile-stage{grid-column:1;grid-row:1;min-width:0;display:block;width:100%;max-width:460px;justify-self:center}
.bs-db-pin-section{height:var(--db-track-height)}
.bs-db-pin-section>.bs-db-detail{position:sticky;top:var(--db-pin-top)}
.bs-db-pin-panel .bs-profile-stage{height:var(--db-stage-height)}
.bs-db-pin-panel .bs-profile-panel{position:sticky;top:var(--db-pin-top);transform:none}
.bs-db-compact .bs-db-detail{padding:28px}
.bs-db-compact .bs-profile-panel{padding:18px}
.bs-db-compact .bs-profile-row{padding-block:9px}
.bs-db-compact .bs-profile-header{margin-bottom:12px}
.bs-db-compact .bs-profile-tags{margin-bottom:10px}
.bs-db-compact .bs-db-copy h2{font-size:32px;margin-bottom:18px}
.bs-db-compact .bs-db-benefits{margin-top:18px;padding-top:16px;gap:10px}
.bs-db-ready .bs-profile-row{opacity:calc(var(--row-progress,0)*var(--row-muted,1));transform:translateY(calc((1 - var(--row-progress,0))*8px))}
.bs-profile-outside{--row-muted:.45}
.bs-profile-result>.bs-result-dot{display:block;flex:0 0 8px;width:8px;height:8px;margin:0 7px;border-radius:50%;background:#ff956b;box-shadow:0 0 0 4px #ff956b12}
.bs-db-complete .bs-result-dot{animation:bs-result-pulse 2.4s ease-in-out infinite}
@keyframes bs-result-pulse{0%,100%{box-shadow:0 0 0 3px #ff956b18,0 0 8px #ff956b20;opacity:.75}50%{box-shadow:0 0 0 7px #ff956b06,0 0 13px #ff956b55;opacity:1}}
@media(max-width:1050px){.bs-db-track{margin-top:130px}.bs-profile-stage{grid-column:1;grid-row:2}.bs-db-pin-panel .bs-profile-stage{align-self:start}}
@media(max-width:600px){.bs-db-track{margin-top:110px}.bs-db-compact .bs-db-detail{padding:24px 16px}.bs-db-compact .bs-profile-panel{padding:18px 14px}}
@media(prefers-reduced-motion:reduce){.bs-db-track,.bs-db-pin-panel .bs-profile-stage{height:auto}.bs-db-track>.bs-db-detail,.bs-db-pin-panel .bs-profile-panel{position:relative;top:auto}.bs-db-ready .bs-profile-row{opacity:var(--row-muted,1);transform:none}.bs-db-complete .bs-result-dot{animation:none}}
/* A neutral data field with small orange points that breathe in place. */
@property --db-dot-size{syntax:'<length>';inherits:false;initial-value:.65px}
.bs-db-detail{isolation:isolate;background:transparent;border-color:transparent;border-radius:0;--db-edge-fade:clamp(64px,9vh,110px);--db-edge-mask:linear-gradient(to bottom,transparent,#000 var(--db-edge-fade),#000 calc(100% - var(--db-edge-fade)),transparent)}
.bs-db-detail::before,.bs-db-detail::after{content:"";position:absolute;top:0;bottom:0;left:var(--db-background-offset,calc(50% - 50vw));width:var(--db-background-width,100vw);border-radius:0;pointer-events:none;z-index:-1}
.bs-db-detail::before{background:linear-gradient(125deg,#272727,#202020 65%,#252525);opacity:var(--backdrop-progress,1);mask-image:var(--db-edge-mask)}
.bs-db-detail::after{background-image:radial-gradient(circle,#ff956b55 var(--db-dot-size),transparent calc(var(--db-dot-size) + .45px));background-size:24px 24px;animation:bs-db-dot-breathe 3.8s ease-in-out infinite;animation-play-state:paused;opacity:var(--backdrop-progress,1);mask-image:var(--db-edge-mask),linear-gradient(110deg,#0009, #0003 50%, #0009);mask-composite:intersect}
.is-db-pinned .bs-db-detail::after{animation-play-state:running}
@keyframes bs-db-dot-breathe{0%,100%{--db-dot-size:.6px;background-position:0 0}50%{--db-dot-size:1.35px;background-position:.35px -.35px}}
@media(prefers-reduced-motion:reduce){.bs-db-detail::after{animation:none;--db-dot-size:.8px}}
/* Arrival, chapter copy and profile panel have separate reveal beats. */
.bs-db-ready{--backdrop-progress:0;--detail-progress:0;--panel-progress:0;--node-progress:0}
.bs-db-ready .bs-profile-panel{opacity:var(--panel-progress);transform:none}
html.bs-system-motion .bs-db-ready .bs-db-copy>:not(.bs-db-node){opacity:var(--detail-progress)}
@media(prefers-reduced-motion:reduce){.bs-db-ready{--backdrop-progress:1;--detail-progress:1;--panel-progress:1;--node-progress:1}.bs-db-ready .bs-profile-panel{opacity:1}}
