/* Scoped fictional workday board. Shared landing tokens retain ownership of the palette. */
.b2b-demo{--b2b-blue:var(--brand-action,#2457d6);--b2b-navy:var(--brand-dark-surface,#0c1c38);--b2b-ice:var(--brand-selected-background,#edf5ff);--b2b-border:var(--brand-border,#cbdcf2);color:var(--brand-text,#172c4b);font-family:inherit;font-variant-numeric:tabular-nums;scroll-margin-top:32px}
.b2b-demo *{box-sizing:border-box}
.b2b-demo h2,.b2b-demo h3,.b2b-demo p,.b2b-demo ol,.b2b-demo figure{margin:0}
.b2b-demo button,.b2b-demo input{font:inherit}
.b2b-demo button{cursor:pointer;touch-action:manipulation}
.b2b-demo button:disabled{cursor:default;opacity:.46}
.b2b-demo :focus-visible{outline:3px solid var(--b2b-blue);outline-offset:4px}
.b2b-demo [hidden]{display:none!important}
.b2b-demo-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:30px}
.b2b-demo-heading h2{font-size:clamp(32px,4vw,52px);line-height:1.05;letter-spacing:-.045em;font-weight:600}
.b2b-demo-heading p{max-width:350px;color:var(--brand-text-secondary,#536883);font-size:16px;line-height:1.5}
.b2b-eyebrow{display:block;color:var(--b2b-blue);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}
.b2b-board{overflow:hidden;background:#fff;border:1px solid var(--b2b-border);border-radius:20px;box-shadow:0 24px 65px #0c1c380a}
.b2b-board-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;background:var(--b2b-navy);color:#fff}
.b2b-board-project{font-size:17px;font-weight:600;line-height:1.4}
.b2b-board-meta{margin-top:5px!important;font-size:12px!important;color:#c7ddf8;line-height:1.5}
.b2b-demo-badge{display:inline-flex;align-items:center;gap:7px;flex:none;border:1px solid #6cb8ff66;border-radius:30px;padding:7px 11px;color:#c7ddf8;font-size:11px;font-weight:600;white-space:nowrap}
.b2b-demo-badge::before{content:"";width:6px;height:6px;flex:none;border-radius:50%;background:#6cb8ff}
.b2b-demo-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--b2b-border);padding:0 24px;background:#fff}
.b2b-demo-tabs button{display:flex;justify-content:center;align-items:center;gap:9px;min-height:61px;padding:14px 8px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--brand-text-secondary,#536883);font-size:14px;font-weight:600;line-height:1.3}
.b2b-demo-tabs button:hover{background:var(--b2b-ice);color:var(--b2b-blue)}
.b2b-demo-tabs button[aria-selected=true]{border-bottom-color:var(--b2b-blue);color:var(--b2b-blue)}
.b2b-demo svg.b2b-tab-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.b2b-panels{display:grid}
.b2b-panel{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:stretch;gap:28px;padding:28px;min-width:0}
.b2b-panel[aria-hidden=true]{visibility:hidden;pointer-events:none}
.b2b-panel-main,.b2b-panel-side{min-width:0}
.b2b-panel-main{display:flex;flex-direction:column}
.b2b-panel h3{font-size:21px;font-weight:600;letter-spacing:-.025em;line-height:1.2}
.b2b-panel-intro{font-size:13px!important;line-height:1.55!important;color:var(--brand-text-secondary,#536883);margin-top:9px!important}
.b2b-panel-note{font-size:11px!important;line-height:1.55!important;color:var(--brand-text-secondary,#536883);margin-top:16px!important}
.b2b-panel-side{border:1px solid var(--b2b-border);border-radius:14px;background:var(--b2b-ice);padding:23px;display:flex;flex-direction:column}
.b2b-side-eyebrow{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-text-secondary,#536883);margin-bottom:13px!important}
.b2b-side-title{font-size:18px!important;line-height:1.3!important;font-weight:600;letter-spacing:-.02em}
.b2b-side-copy{font-size:12px!important;line-height:1.6!important;color:var(--brand-text-secondary,#536883);margin-top:12px!important}
.b2b-side-copy.b2b-reserved-copy{min-height:58px}
.b2b-switch{display:flex;gap:4px;align-self:flex-start;border:1px solid var(--b2b-border);border-radius:9px;padding:4px;margin:18px 0;background:#f7faff}
.b2b-switch button{border:0;border-radius:5px;background:transparent;color:var(--brand-text-secondary,#536883);padding:8px 13px;min-height:36px;font-size:12px;font-weight:600;white-space:nowrap}
.b2b-switch button[aria-pressed=true]{background:var(--b2b-blue);color:#fff;box-shadow:0 2px 6px #2457d624}
.b2b-switch button:hover:not([aria-pressed=true]){background:#fff;color:var(--b2b-blue)}
.b2b-schedule{width:100%;border-collapse:collapse;font-size:12px;margin-top:2px}
.b2b-schedule th{padding:8px 6px;border-bottom:1px solid var(--b2b-border);color:var(--brand-text-secondary,#536883);text-align:right;font-size:10px;line-height:1.4;font-weight:500}
.b2b-schedule th:first-child{text-align:left;padding-left:0}
.b2b-schedule td{padding:13px 6px;border-bottom:1px solid #e8eff8;text-align:right;vertical-align:middle;white-space:nowrap}
.b2b-schedule td:first-child{text-align:left;padding-left:0;white-space:normal}
.b2b-schedule td:last-child{padding-right:0;color:var(--b2b-blue);font-size:10px;font-weight:600}
.b2b-stop-name{font-weight:600;display:block}
.b2b-stop-detail{display:block;font-size:10px;color:var(--brand-text-secondary,#536883);margin-top:3px}
.b2b-demo svg.b2b-route{display:block;width:100%;height:154px;min-height:154px;margin:7px 0 15px;fill:none;stroke:none}
.b2b-route path{stroke-linecap:round;stroke-linejoin:round}
.b2b-route text{font-family:inherit;font-size:11px;fill:#0c1c38;text-anchor:middle;dominant-baseline:central}
.b2b-route-caption{font-size:10px!important;color:var(--brand-text-secondary,#536883);text-align:right;margin-bottom:14px!important}
.b2b-endpoint{display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--b2b-border);padding-top:16px;margin-top:auto}
.b2b-endpoint strong{font-size:34px;font-weight:600;line-height:1;letter-spacing:-.04em}
.b2b-endpoint span{font-size:11px;color:var(--brand-text-secondary,#536883);line-height:1.4;text-align:right}
.b2b-cargo-list{border:0;padding:0;margin:20px 0 0;min-width:0}
.b2b-cargo-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #e8eff8;cursor:pointer}
.b2b-cargo-row input{width:18px;height:18px;margin:0;accent-color:var(--b2b-blue);cursor:pointer}
.b2b-cargo-row strong{font-size:13px;font-weight:600;line-height:1.4}
.b2b-cargo-row small{display:block;font-size:10px;line-height:1.5;color:var(--brand-text-secondary,#536883);margin-top:3px}
.b2b-cargo-metric{text-align:right;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap}
.b2b-cargo-total{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:13px 0 20px}
.b2b-cargo-total strong{display:block;font-size:34px;font-weight:600;letter-spacing:-.045em;line-height:1.1;white-space:nowrap}
.b2b-cargo-total span{display:block;font-size:11px;color:var(--brand-text-secondary,#536883);margin-top:5px}
.b2b-capacity-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--brand-text-secondary,#536883);margin-bottom:8px}
.b2b-meter{height:7px;background:#d3e2f6;border-radius:10px;overflow:hidden;margin-bottom:20px}
.b2b-meter span{display:block;height:100%;border-radius:10px;background:var(--b2b-blue);transition:width .2s ease}
.b2b-cargo-status{padding-top:16px;border-top:1px solid var(--b2b-border);font-size:12px!important;font-weight:600;line-height:1.55!important;min-height:55px;margin-top:auto!important}
.b2b-panel-side[data-over=true]{border-color:var(--b2b-blue)}
.b2b-panel-side[data-over=true] .b2b-cargo-status{color:var(--b2b-blue)}
.b2b-stages{list-style:none;padding:0;margin:21px 0 0!important}
.b2b-stage{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;position:relative;min-height:62px;padding:8px 0}
.b2b-stage:not(:last-child)::after{content:"";position:absolute;left:13px;top:46px;bottom:-14px;width:2px;background:var(--b2b-border)}
.b2b-stage[data-state=complete]:not(:last-child)::after{background:var(--b2b-blue)}
.b2b-stage-number{display:grid;place-items:center;width:28px;height:28px;background:#edf3fb;border:1px solid var(--b2b-border);border-radius:50%;font-size:11px;z-index:1}
.b2b-stage[data-state=complete] .b2b-stage-number{background:var(--b2b-blue);border-color:var(--b2b-blue);color:#fff}
.b2b-stage[data-state=current] .b2b-stage-number{border:2px solid var(--b2b-blue);color:var(--b2b-blue);background:#fff}
.b2b-stage strong{font-size:12px;line-height:1.4;display:block;font-weight:600}
.b2b-stage small{display:block;font-size:10px;color:var(--brand-text-secondary,#536883);margin-top:4px}
.b2b-stage time{font-size:12px;color:var(--brand-text-secondary,#536883)}
.b2b-control-progress{appearance:none;width:100%;height:8px;border:0;border-radius:9px;background:#d3e2f6;margin:21px 0 12px;overflow:hidden}
.b2b-control-progress::-webkit-progress-bar{background:#d3e2f6;border-radius:9px}
.b2b-control-progress::-webkit-progress-value{background:var(--b2b-blue);border-radius:9px}
.b2b-control-progress::-moz-progress-bar{background:var(--b2b-blue);border-radius:9px}
.b2b-control-count{font-size:12px;color:var(--b2b-blue);font-weight:600;margin-bottom:25px!important}
.b2b-control-title{min-height:48px}
.b2b-control-description{min-height:58px}
.b2b-control-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.b2b-action{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:9px 13px;border:1px solid var(--b2b-border);border-radius:7px;background:#fff;color:var(--b2b-navy);font-size:12px;font-weight:600}
.b2b-action-primary{min-width:133px;background:var(--b2b-blue);border-color:var(--b2b-blue);color:#fff}
.b2b-action:hover:not(:disabled){border-color:var(--b2b-blue)}
.b2b-step-action{align-self:flex-start;background:transparent;border:0;padding:11px 0 3px;min-height:38px;color:var(--b2b-blue);text-decoration:underline;text-underline-offset:3px;font-size:11px}
.b2b-motion-note{font-size:10px!important;line-height:1.5!important;color:var(--brand-text-secondary,#536883);margin-top:10px!important}
.b2b-hours-label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;margin:2px 0 16px}
.b2b-hours-label output{font-size:22px;line-height:1;font-weight:600;color:var(--b2b-blue);letter-spacing:-.025em}
.b2b-hours-input{display:block;width:100%;margin:0;height:24px;accent-color:var(--b2b-blue);cursor:pointer}
.b2b-range-ends{display:flex;justify-content:space-between;margin-top:5px;font-size:10px;color:var(--brand-text-secondary,#536883)}
.b2b-formula{margin:26px 0 0;border-top:1px solid var(--b2b-border)}
.b2b-formula-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #e8eff8;font-size:12px}
.b2b-formula-row span{color:var(--brand-text-secondary,#536883)}
.b2b-formula-row strong{font-size:14px;font-weight:600;white-space:nowrap}
.b2b-total{display:block;font-size:clamp(36px,4vw,49px);line-height:1.05;font-weight:600;letter-spacing:-.05em;margin:24px 0 9px;white-space:nowrap}
.b2b-total-formula{font-size:12px!important;color:var(--brand-text-secondary,#536883)}
.b2b-calculation-caption{padding-top:19px;margin-top:auto!important;border-top:1px solid var(--b2b-border);font-size:11px!important;line-height:1.6!important;color:var(--brand-text-secondary,#536883)}
.b2b-board-foot{border-top:1px solid var(--b2b-border);padding:15px 28px;background:#fbfdff;font-size:11px;line-height:1.5;color:var(--brand-text-secondary,#536883)}
.b2b-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.b2b-demo-heading{display:block}
.b2b-demo-heading p{margin-top:16px;max-width:480px;font-size:14px}
.b2b-board{border-radius:14px}
.b2b-board-head{padding:18px 20px}
.b2b-board-project{font-size:15px}
.b2b-demo-badge{font-size:10px;padding:6px 8px}
.b2b-board-meta{font-size:10px!important}
.b2b-demo-tabs{padding:0 12px}
.b2b-demo-tabs button{font-size:12px;min-height:56px;gap:6px}
.b2b-demo svg.b2b-tab-icon{display:none;width:15px;height:15px}
.b2b-panel{grid-template-columns:minmax(0,1fr);gap:20px;padding:22px;align-content:start}
.b2b-panel-side{padding:20px}
.b2b-panel-main{min-height:332px}
.b2b-panel-side{min-height:335px}
.b2b-panel h3{font-size:20px}
.b2b-board-foot{padding:15px 22px}
.b2b-demo svg.b2b-route{height:135px;min-height:135px}
.b2b-panel[data-b2b-panel=schedule] .b2b-side-title{min-height:47px}
.b2b-side-copy.b2b-reserved-copy{min-height:78px}
.b2b-total{font-size:43px}
.b2b-control-title{min-height:47px}
.b2b-control-description{min-height:58px}
.b2b-cargo-status{min-height:55px}
.b2b-panel-note{font-size:11px!important}
}
@media(max-width:380px){.b2b-board-head{display:block;padding:16px}
.b2b-demo-badge{margin-top:11px}
.b2b-demo-tabs{padding:0 5px}
.b2b-demo-tabs button{font-size:10px;padding:12px 3px;gap:4px;min-height:50px}
.b2b-demo svg.b2b-tab-icon{width:13px;height:13px}
.b2b-panel{padding:17px;gap:17px}
.b2b-panel-side{padding:17px}
.b2b-panel h3{font-size:18px}
.b2b-panel-main{min-height:350px}
.b2b-panel-side{min-height:360px}
.b2b-switch button{padding:8px 10px;font-size:11px}
.b2b-cargo-row{gap:8px;grid-template-columns:18px minmax(0,1fr) auto}
.b2b-cargo-row strong{font-size:12px}
.b2b-cargo-metric{font-size:11px}
.b2b-cargo-total strong{font-size:31px}
.b2b-schedule td{padding:13px 3px;font-size:11px}
.b2b-schedule th{padding:8px 3px}
.b2b-schedule td:last-child{font-size:9px}
.b2b-schedule td:first-child{max-width:95px}
.b2b-board-foot{padding:14px 17px}
.b2b-control-title{min-height:44px}
.b2b-control-description{min-height:58px}
}
@media(prefers-reduced-motion:reduce){.b2b-demo *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
