/* ═══════════════════════════════════════════════════════════════
   ACCELERATE Part B: Home, Ideas, Stage 1 & 2, InFlight hand-over.
   Tokens are the PRODUCTION V1 colours (docs/reviews/2026-10-28-landing-
   page-wireframes/accelerate-landing.css). New classes are pb- prefixed so
   nothing collides with V1's .panel / .btn / .header / .modal.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --acc-brand-orange: #F26522;
  --acc-brand-orange-hover: #D95A1E;
  --acc-navy-900: #1E2A3A;
  --acc-navy-800: #2C3E50;
  --acc-bar-grad: linear-gradient(135deg, #1E2A3A, #2C3E50);
  --acc-link-on-dark: #88C0FF;
  --acc-theme-speed: #00A0AF;
  --acc-theme-drag: #F26522;
  --acc-theme-runway: #0DB14B;
  --acc-rag-g: #0DB14B;
  --acc-rag-a: #F7921E;
  --acc-rag-r: #B3181D;
  --acc-stamp-hold: #E07A00;
  --acc-stamp-new: #0078D4;
  --acc-rasci-r: #1E4D7B;
  --acc-lock: #2C3E50;
  --acc-like: #F26522;
  --acc-bubble-comment: #F4F6F8;
  --acc-bubble-idea: rgba(224,122,95,.1);
  --acc-bubble-risk: rgba(155,44,44,.08);
  --acc-bubble-question: rgba(30,77,123,.1);
}

/* layout */
.pb-wrap { max-width: 1280px; margin: 0 auto; }
.pb-grid2 { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.pb-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pb-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .pb-grid2, .pb-grid3, .pb-grid4 { grid-template-columns: 1fr; } }
.pb-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pb-sp { flex: 1; }
.pb-muted { color: var(--text-muted); font-size: 12px; }
.pb-small { font-size: 11px; }
.pb-hidden { display: none !important; }

/* hero banner: V1 .header gradient */
.pb-hero { background: var(--acc-bar-grad); border-radius: 12px; padding: 22px 28px; margin-bottom: 16px; color: #fff; }
.pb-hero h1 { font-size: 22px; font-weight: 900; margin: 0 0 8px; color: #fff; }
.pb-hero h1 .o { color: var(--acc-brand-orange); }
.pb-hero p { color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.5; margin: 0 0 14px; max-width: 640px; }
.pb-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.pb-hero .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.pb-hero .btn-ghost:hover { background: rgba(255,255,255,.18); }
.pb-banner-fields { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 10px; }
.pb-banner-fields div { font-size: 12px; color: #fff; }
.pb-banner-fields span { display: block; font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* doors on Home */
.pb-door { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.pb-door:hover, .pb-door:focus { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.1); outline: none; }
.pb-door h3 { font-size: 14px; font-weight: 800; margin: 6px 0 4px; }
.pb-door p { font-size: 12px; color: var(--text-secondary); margin: 0 0 8px; line-height: 1.45; }
.pb-door .pb-count { font-size: 12px; font-weight: 400; color: var(--text-secondary, #5E6570); } /* Jeff 3 Nov 11:19: normal text, not bold or orange */
.pb-door svg { width: 24px; height: 24px; color: var(--acc-brand-orange); }
.pb-faded { opacity: .55; }
.pb-soon { font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); border: 1px dashed #bbb; border-radius: 4px; padding: 1px 6px; }

/* six steps */
.pb-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 1000px) { .pb-steps { grid-template-columns: repeat(2, 1fr); } }
.pb-step { background: var(--bg-surface-alt); border-radius: 8px; padding: 10px; font-size: 11px; border-top: 3px solid var(--acc-navy-800); }
.pb-step b { display: block; font-size: 12px; margin-bottom: 2px; }
.pb-dec { display: inline-block; background: var(--acc-brand-orange); color: #fff; font-weight: 900; font-size: 9px; border-radius: 3px; padding: 0 4px; margin-left: 4px; }

/* list rows */
.pb-list-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 12px; cursor: pointer; }
.pb-list-row:last-child { border-bottom: none; }
.pb-list-row:hover { background: var(--row-hover); }
.pb-ref { font-size: 10px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }

/* pills and badges */
.pb-pill { display: inline-block; border-radius: 20px; padding: 1px 9px; font-size: 10px; font-weight: 700; background: var(--bg-surface-alt); color: var(--text-secondary); border: 1px solid var(--border-medium); white-space: nowrap; }
.pb-pill.s1 { background: #E8F1FB; color: #1E4D7B; border-color: #C7DCF3; }
.pb-pill.s2 { background: #FFF1E8; color: #B4501A; border-color: #F8D2BC; }
.pb-pill.s3 { background: #E7F7EE; color: #0B7F37; border-color: #BFE8CF; }
.pb-pill.off { background: #F1F1F1; color: #777; }
.pb-lock { display: inline-flex; align-items: center; gap: 3px; background: var(--acc-lock); color: #fff; border-radius: 4px; padding: 1px 6px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; vertical-align: middle; white-space: nowrap; }
.pb-lock svg { width: 10px; height: 10px; }
.pb-origin { display: inline-block; font-size: 10px; font-weight: 700; border-radius: 4px; padding: 1px 6px; background: #EEF3F8; color: #1E4D7B; }
.pb-stamp-setup { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 2px solid var(--acc-stamp-new); border-radius: 5px; color: var(--acc-stamp-new); font-size: 9px; font-weight: 900; letter-spacing: 1px; transform: rotate(-4deg); vertical-align: middle; white-space: nowrap; }

/* idea cards */
.pb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.pb-card { display: flex; gap: 12px; background: var(--bg-panel); border-radius: 12px; box-shadow: 0 2px 12px var(--shadow-card); padding: 12px; cursor: pointer; border: 1px solid transparent; }
.pb-card:hover, .pb-card:focus { border-color: var(--acc-brand-orange); outline: none; }
.pb-card-thumb { width: 88px; height: 66px; border-radius: 8px; object-fit: cover; background: var(--bg-surface-alt); flex: none; display: flex; align-items: center; justify-content: center; color: #bbb; }
.pb-card-body { flex: 1; min-width: 0; }
.pb-card h3 { font-size: 13px; font-weight: 800; margin: 3px 0; line-height: 1.3; }
.pb-card p { font-size: 11.5px; color: var(--text-secondary); margin: 0 0 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pb-card-foot { display: flex; gap: 12px; align-items: center; font-size: 11px; color: var(--text-muted); }
.pb-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.pb-filters .range-btn.active { background: var(--acc-brand-orange); color: #fff; }
.pb-filters input, .pb-filters select { padding: 6px 10px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 12px; background: var(--bg-surface); color: var(--text-primary); }

/* likes */
.pb-like { display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid var(--acc-like); color: var(--acc-like); border-radius: 20px; padding: 3px 11px; font-size: 11px; font-weight: 700; background: var(--bg-surface); cursor: pointer; font-family: inherit; }
.pb-like.on { background: var(--acc-like); color: #fff; }
.pb-like.sm { padding: 1px 8px; font-size: 10px; }
.pb-like svg { width: 12px; height: 12px; }
.pb-like:disabled { opacity: .5; cursor: not-allowed; }

/* gallery and lightbox */
.pb-gallery { display: flex; gap: 8px; flex-wrap: wrap; }
.pb-thumb { width: 96px; height: 64px; border-radius: 6px; object-fit: cover; cursor: zoom-in; border: 1px solid var(--border-medium); background: var(--bg-surface-alt); }
.pb-gallery.sm .pb-thumb { width: 64px; height: 44px; }
.pb-lightbox { position: fixed; inset: 0; background: rgba(20,28,40,.86); z-index: 2000; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.pb-lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 8px; background: #fff; }
.pb-lightbox .pb-lb-cap { color: #fff; font-size: 12px; margin-top: 10px; max-width: 80vw; text-align: center; }
.pb-lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }
.pb-lb-close { top: 18px; right: 18px; }
.pb-lb-prev { left: 18px; top: 50%; }
.pb-lb-next { right: 18px; top: 50%; }

/* conversation: V1 project-detail commentary column */
.pb-conv { background: var(--bg-panel); border-radius: 12px; box-shadow: 0 2px 12px var(--shadow-card); overflow: hidden; }
.pb-conv-head { background: var(--acc-navy-900); color: rgba(255,255,255,.9); padding: 10px 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: flex; gap: 8px; align-items: center; }
.pb-conv-head .pb-cnt { background: var(--acc-brand-orange); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 10px; }
.pb-likebar { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border-light); font-size: 12px; }
.pb-feed { max-height: 560px; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.pb-msg-bubble { background: var(--acc-bubble-comment); border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.pb-msg.question .pb-msg-bubble { background: var(--acc-bubble-question); }
.pb-msg.idea .pb-msg-bubble { background: var(--acc-bubble-idea); }
.pb-msg.risk .pb-msg-bubble { background: var(--acc-bubble-risk); }
.pb-msg.hidden .pb-msg-bubble { font-style: italic; color: var(--text-muted); }
.pb-msg-meta { display: flex; gap: 6px; align-items: center; padding: 3px 2px; font-size: 10px; color: var(--text-muted); flex-wrap: wrap; }
.pb-msg-meta b { color: var(--text-secondary); }
.pb-type { font-size: 9px; font-weight: 800; text-transform: uppercase; border-radius: 3px; padding: 0 4px; background: #e9ecf0; color: #555; }
.pb-linkbtn { background: none; border: none; color: #1E4D7B; font-size: 10px; cursor: pointer; padding: 0; font-family: inherit; }
.pb-composer { padding: 10px 12px; border-top: 1px solid var(--border-light); background: var(--bg-surface-alt); }
.pb-composer textarea { width: 100%; min-height: 54px; padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 12px; resize: vertical; background: var(--bg-surface); color: var(--text-primary); }
.pb-composer select { padding: 5px 8px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 11px; }
.pb-attach-list { font-size: 10px; color: var(--text-muted); }

/* tag people picker */
.pb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.pb-chip { display: inline-flex; gap: 4px; align-items: center; background: var(--bg-surface-alt); border: 1px solid var(--border-medium); border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.pb-chip button { background: none; border: none; cursor: pointer; color: #999; font-size: 12px; padding: 0; }
.pb-privacy { border: 1px solid var(--border-medium); border-radius: 10px; padding: 12px; background: var(--bg-surface-alt); }
.pb-switch { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; cursor: pointer; }

/* Stage 1 & 2 board */
.pb-kan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .pb-kan { grid-template-columns: 1fr 1fr; } }
.pb-lane { background: rgba(255,255,255,.55); border-radius: 12px; padding: 10px; min-height: 160px; }
[data-theme="dark"] .pb-lane { background: rgba(255,255,255,.04); }
.pb-lane-h { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; margin: 2px 2px 10px; display: flex; gap: 6px; align-items: center; }
.pb-kcard { background: var(--bg-panel); border-radius: 10px; padding: 10px; margin-bottom: 8px; box-shadow: 0 1px 6px var(--shadow-card); cursor: pointer; font-size: 12px; }
.pb-kcard:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.pb-kcard b { display: block; margin: 3px 0; }

/* decisions */
.pb-decision { border: 2px solid var(--acc-brand-orange); border-radius: 12px; padding: 14px 16px; background: var(--bg-panel); margin-bottom: 16px; }
.pb-decision h2 { display: flex; gap: 8px; align-items: center; }
.pb-decision h2 .pb-dec { font-size: 12px; padding: 1px 7px; }
.pb-opt { display: block; border: 1px solid var(--border-medium); border-radius: 8px; padding: 9px 12px; margin-bottom: 8px; cursor: pointer; font-size: 12px; }
.pb-opt input { margin-right: 8px; }
.pb-opt.on { border-color: var(--acc-brand-orange); background: #FFF6F0; }
[data-theme="dark"] .pb-opt.on { background: rgba(242,101,34,.12); }
.pb-opt-extra { margin: 8px 0 0 24px; }
.pb-error { color: var(--acc-rag-r); font-size: 12px; font-weight: 600; margin: 6px 0; }
.pb-ok { color: var(--acc-rag-g); font-size: 12px; font-weight: 600; }

/* checks */
.pb-check { border: 1px solid var(--border-medium); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.pb-check-h { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; }
.pb-check textarea { width: 100%; min-height: 60px; margin-top: 8px; padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 12px; background: var(--bg-surface); color: var(--text-primary); }
.pb-check .st-done { color: var(--acc-rag-g); }
.pb-check .st-in_progress { color: var(--acc-rag-a); }
.pb-check .st-not_started { color: var(--text-muted); }

/* history */
.pb-hist { list-style: none; padding: 0; margin: 0; font-size: 11.5px; }
.pb-hist li { padding: 5px 0 5px 14px; border-left: 2px solid var(--border-medium); position: relative; }
.pb-hist li::before { content: ''; position: absolute; left: -5px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc-navy-800); }

/* Ready for InFlight meter + checklist */
.pb-meter { background: var(--bg-surface-alt); border-radius: 8px; padding: 10px 12px; }
.pb-meter-l { font-size: 12px; }
.pb-meter-bar { height: 9px; background: #e3e6ea; border-radius: 6px; margin: 6px 0; overflow: hidden; }
.pb-meter-bar span { display: block; height: 100%; background: var(--acc-rag-g); border-radius: 6px; }
.pb-delta { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.pb-delta th, .pb-delta td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.pb-delta th { font-size: 10px; text-transform: uppercase; color: var(--text-muted); letter-spacing: .3px; }
.pb-delta td.tick { width: 22px; font-size: 13px; }
.pb-delta tr.done td.tick { color: var(--acc-rag-g); }
.pb-delta tr.todo td.tick { color: #bbb; }
.pb-kind { font-size: 9.5px; font-weight: 700; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.pb-kind.carried { background: #EEF3F8; color: #1E4D7B; }
.pb-kind.required { background: #FFF1E8; color: #B4501A; }
.pb-readiness { border-left: 4px solid var(--acc-stamp-new); }

/* AI slots (PR-ACC-094, later): faded, never clickable */
.pb-ai { border: 1px dashed #c8ccd2; border-radius: 8px; padding: 6px 10px; font-size: 11px; color: var(--text-muted); background: var(--bg-surface-alt); opacity: .7; pointer-events: none; display: flex; gap: 6px; align-items: center; margin: 8px 0; }
.pb-ai b { font-size: 9px; text-transform: uppercase; letter-spacing: .4px; }

/* simple modal on V1 colours */
.pb-modal-bg { position: fixed; inset: 0; background: rgba(20,28,40,.55); z-index: 1500; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 12px; }
.pb-modal { background: var(--bg-panel); border-radius: 12px; width: 640px; max-width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.pb-modal-h { background: var(--acc-bar-grad); color: #fff; padding: 14px 18px; border-radius: 12px 12px 0 0; font-weight: 800; display: flex; align-items: center; }
.pb-modal-h button { margin-left: auto; background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.pb-modal-b { padding: 16px 18px; }
.pb-modal-f { padding: 12px 18px; border-top: 1px solid var(--border-light); display: flex; gap: 8px; justify-content: flex-end; }

/* toast */
.pb-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--acc-navy-900); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 12px; z-index: 3000; box-shadow: 0 4px 16px rgba(0,0,0,.3); }

/* not found: identical for private and made-up references */
.pb-notfound { text-align: center; padding: 60px 20px; }
.pb-notfound h2 { font-size: 18px; margin-bottom: 6px; }

/* how it works */
.pb-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pb-table th, .pb-table td { padding: 8px 10px; border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.pb-table th { background: var(--bg-surface-alt); font-size: 10px; text-transform: uppercase; letter-spacing: .3px; color: var(--text-secondary); }

/* Part B: three more tabs in the V1 topbar. Keep every label on one line,
   tighten the padding, and show the Gantt legend only on the InFlight tabs
   (index.html toggles body.pb-gantt). */
.topbar-tab { white-space: nowrap; padding: 16px 13px; }
@media (max-width: 1500px) { .topbar-tab { padding: 16px 9px; font-size: 11px; letter-spacing: .3px; } }
body:not(.pb-gantt) .topbar .legend { display: none; }
@media (max-width: 1650px) { body.pb-gantt .topbar .legend .legend-item:nth-child(n+4) { display: none; } }
.empty-state a { color: var(--acc-brand-orange); font-weight: 700; }
@media (max-width: 1500px) {
  body.pb-gantt .topbar .legend .legend-item:nth-child(n+3) { display: none; }
  .topbar-right .topbar-meta { display: none; }
  .topbar-right .topbar-sep:first-of-type { display: none; }
}

/* Jeff 2026-10-29: on the landing pages the top bar, sub-bar and breadcrumbs
   line up with the 1280px content (.pb-wrap inside .content's 16px padding).
   The InFlight Gantt pages stay full width, like their content. */
body.pb-narrow .topbar,
body.pb-narrow .breadcrumbs { max-width: 1280px; width: calc(100% - 32px); margin-left: auto; margin-right: auto; box-sizing: border-box; }
body.pb-narrow .breadcrumbs { padding-left: 12px; padding-right: 12px; }

/* InFlight sub-bar */
.subnav { display: flex; align-items: center; gap: 2px; margin: 8px 16px 0; padding: 0 14px;
  background: var(--bg-panel, #fff); border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.subnav-tab { background: none; border: none; border-bottom: 3px solid transparent; padding: 10px 12px; font: inherit;
  font-size: 12px; font-weight: 700; color: var(--text-secondary, #666); cursor: pointer; white-space: nowrap; }
.subnav-tab:hover { color: var(--text-primary, #1a1a1a); }
.subnav-tab.active { color: var(--text-primary, #1a1a1a); border-bottom-color: var(--accel-brand-orange, #F26522); }
.subnav-gap { flex: 1; }

/* InFlight tile: RAG counts */
.pb-rag-counts { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--text-primary, #1a1a1a); }
.pb-rag-counts span { display: inline-flex; align-items: center; gap: 5px; }
.pb-rag-counts i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* 2026-10-29: InFlight window toolbar ("Now ±3 months", year stepper) and
   cross-year month labels. */
.range-toolbar .range-now { font-weight: 800; }
.range-toolbar .range-year { display: inline-flex; align-items: center; gap: 2px; margin: 0 6px 0 4px; }
.range-toolbar .range-step { padding-left: 8px; padding-right: 8px; }
.range-toolbar .range-year-label { font-size: 12px; font-weight: 800; min-width: 38px; text-align: center; color: var(--text-primary, #1a1a1a); }
.range-toolbar .range-label { font-weight: 700; }
.month-row .month-span.month-year { font-weight: 900; }
.bp-header .cell.today-head { color: var(--accel-brand-orange, #F26522); font-weight: 900; }
.bp-grandchild-row .proj-name { font-size: 10.5px !important; }
.overdue-badge { display: inline-block; margin-right: 6px; padding: 1px 6px; background: #FDF3E1; color: #8A4B00; border: 1px solid #F0D28A; border-radius: 3px; font-size: 9px; font-weight: 800; letter-spacing: .5px; vertical-align: middle; }
.bar-overdue { height: 18px; border-radius: 4px; width: 100%; background: repeating-linear-gradient(135deg, rgba(247,146,30,.45) 0 4px, rgba(247,146,30,.12) 4px 8px); }

/* 30 Oct (Jeff): each step's decision letter sits centred at the bottom of
   its tile, so A-E line up across the row whatever the text length. */
.pb-step { display: flex; flex-direction: column; }
.pb-step-desc { flex: 1; }
.pb-step-gate { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--border-subtle, rgba(0,0,0,.08)); text-align: center; }
.pb-step-gate .pb-dec { margin-left: 0; font-size: 11px; padding: 1px 9px; border-radius: 4px; }
.pb-dec-none { visibility: hidden; }

/* 30 Oct (Jeff): a soft light pulse behind Log an idea */
.pb-pulse { position: relative; z-index: 0; }
.pb-pulse::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--acc-brand-orange, #F26522); animation: pb-pulse 2.4s ease-out infinite; }
@keyframes pb-pulse { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35, 1.6); } }

/* Home tiles: a clearer lift on hover or keyboard focus */
.pb-door { border-top: 3px solid transparent; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pb-door:hover, .pb-door:focus { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(30,42,58,.22);
  border-top-color: var(--acc-brand-orange, #F26522); outline: none; }
.pb-door:focus-visible { outline: 3px solid var(--acc-brand-orange, #F26522); outline-offset: 2px; }
.pb-door svg { transition: transform .18s ease; }
.pb-door:hover svg, .pb-door:focus svg { transform: scale(1.15); }

/* Top bar text links: How it works, Documentation */
.topbar-link { background: none; border: none; border-bottom: 3px solid transparent; color: rgba(255,255,255,.75); font: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 16px 8px; cursor: pointer; white-space: nowrap; }
.topbar-link:hover { color: #fff; }
.topbar-link.active { color: #fff; border-bottom-color: var(--acc-brand-orange, #F26522); }

@media (prefers-reduced-motion: reduce) {
  .pb-pulse::before { animation: none; opacity: 0; }
  .pb-door, .pb-door svg { transition: none; }
  .pb-door:hover, .pb-door:focus { transform: none; }
}

/* 30 Oct (Jeff): steps pop 1-6 in turn, with a flow pulse along the row */
.pb-steps { position: relative; }
.pb-steps::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #00A0AF, #F26522, #0DB14B); transform-origin: left center; transform: scaleX(0); opacity: 0; }
.pb-steps-play::after { animation: pb-flow 1.9s cubic-bezier(.6,0,.25,1) forwards; }
@keyframes pb-flow { 0% { transform: scaleX(0); opacity: 1; } 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .35; } }
.pb-steps-play .pb-step { animation: pb-pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.pb-steps-play .pb-step:nth-child(2) { animation-delay: .28s; }
.pb-steps-play .pb-step:nth-child(3) { animation-delay: .56s; }
.pb-steps-play .pb-step:nth-child(4) { animation-delay: .84s; }
.pb-steps-play .pb-step:nth-child(5) { animation-delay: 1.12s; }
.pb-steps-play .pb-step:nth-child(6) { animation-delay: 1.4s; }
@keyframes pb-pop { 0% { transform: translateY(6px) scale(.92); }
  55% { transform: translateY(-4px) scale(1.06); box-shadow: 0 10px 24px rgba(242,101,34,.35); border-top-color: #F26522; }
  100% { transform: none; } }
.pb-steps-play .pb-step .pb-dec { animation: pb-gate .5s ease-out both; }
.pb-steps-play .pb-step:nth-child(2) .pb-dec { animation-delay: .5s; }
.pb-steps-play .pb-step:nth-child(3) .pb-dec { animation-delay: .78s; }
.pb-steps-play .pb-step:nth-child(4) .pb-dec { animation-delay: 1.06s; }
.pb-steps-play .pb-step:nth-child(5) .pb-dec { animation-delay: 1.34s; }
.pb-steps-play .pb-step:nth-child(6) .pb-dec { animation-delay: 1.62s; }
@keyframes pb-gate { 0% { transform: scale(.6); opacity: .3; } 60% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pb-steps-play .pb-step, .pb-steps-play .pb-dec, .pb-steps-play::after { animation: none; } }

/* 30 Oct (D-19): four stages with three gate diamonds between them. The pop
   runs across all seven items in order; letters and stage numbers sit centred
   in the bottom strip so the row lines up. */
.pb-steps.pb-steps-7 { grid-template-columns: 1fr 74px 1fr 74px 1fr 74px 1fr; gap: 6px; }
@media (max-width: 1000px) { .pb-steps.pb-steps-7 { grid-template-columns: 1fr 1fr; } }
.pb-step.pb-gate { background: transparent; border-top-color: transparent; padding: 10px 2px; text-align: center; align-items: center; }
.pb-gate-q { flex: 1; font-size: 11px; font-weight: 800; color: var(--text-primary, #1a1a1a); line-height: 1.25; display: flex; align-items: center; }
.pb-step.pb-gate .pb-step-gate { border-top-color: transparent; width: 100%; }
.pb-diamond { display: inline-flex !important; width: 26px; height: 26px; padding: 0 !important; align-items: center; justify-content: center;
  transform: rotate(45deg); border-radius: 4px !important; }
.pb-diamond i { font-style: normal; transform: rotate(-45deg); }
.pb-stage-no { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 4px; font-size: 11px; font-weight: 900;
  background: var(--acc-navy-800, #1E2A3A); color: #fff; }
.pb-steps-play .pb-step:nth-child(7) { animation-delay: 1.68s; }
.pb-steps-play .pb-step:nth-child(7) .pb-dec { animation-delay: 1.9s; }
.pb-steps-play .pb-step.pb-gate .pb-diamond { animation-name: pb-gate-d; }
@keyframes pb-gate-d { 0% { transform: rotate(45deg) scale(.6); opacity: .3; } 60% { transform: rotate(45deg) scale(1.35); opacity: 1; } 100% { transform: rotate(45deg) scale(1); } }
.pb-steps-play .pb-stage-no { animation: pb-gate .5s ease-out both; }
.pb-steps-play .pb-step:nth-child(1) .pb-stage-no { animation-delay: .22s; }
.pb-steps-play .pb-step:nth-child(3) .pb-stage-no { animation-delay: .78s; }
.pb-steps-play .pb-step:nth-child(5) .pb-stage-no { animation-delay: 1.34s; }
.pb-steps-play .pb-step:nth-child(7) .pb-stage-no { animation-delay: 1.9s; }
@media (prefers-reduced-motion: reduce) { .pb-steps-play .pb-stage-no { animation: none; } }

/* D-19: Move stage pop-up and button */
.pd-move-stage { margin-left: 8px; padding: 2px 9px; font: inherit; font-size: 10px; font-weight: 800; letter-spacing: .3px; cursor: pointer;
  background: var(--acc-brand-orange, #F26522); color: #fff; border: none; border-radius: 5px; vertical-align: middle; }
.pd-move-stage:hover { filter: brightness(1.08); }
.accel-sm .pb-modal { width: 560px; }
.accel-sm .sm-label { display: block; font-size: 11px; font-weight: 800; color: var(--text-secondary, #555); margin: 12px 0 4px; }
.accel-sm .sm-input { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #ccd2d9; border-radius: 6px; font: inherit; font-size: 13px; }
.accel-sm .sm-now { font-size: 12px; color: var(--text-secondary, #555); }
.accel-sm .sm-gate { margin-top: 8px; font-size: 12px; display: flex; align-items: center; gap: 8px; min-height: 26px; }
.accel-sm .sm-diamond { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; transform: rotate(45deg);
  background: var(--acc-brand-orange, #F26522); color: #fff; font-weight: 900; font-size: 11px; border-radius: 4px; }
.accel-sm .sm-diamond i { transform: rotate(-45deg); font-style: normal; }
.accel-sm .sm-plain { color: #888; font-size: 12px; }
.accel-sm .sm-outcomes { display: flex; flex-wrap: wrap; gap: 6px; }
.accel-sm .sm-chip { padding: 5px 12px; border-radius: 20px; border: 1px solid #ccd2d9; background: #f4f6f8; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.accel-sm .sm-chip.on { background: #0DB14B; border-color: #0DB14B; color: #fff; }
.accel-sm .sm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.accel-sm .sm-person { background: #eef1f4; border-radius: 20px; padding: 3px 4px 3px 10px; font-size: 12px; }
.accel-sm .sm-person button { border: none; background: none; cursor: pointer; font-size: 14px; color: #666; }
.accel-sm .sm-error { color: #B3181D; font-size: 12px; font-weight: 700; margin-top: 10px; min-height: 16px; }
.accel-sm .pb-modal-f { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px 16px; }
.pb-steps.pb-steps-7 .pb-step-gate { height: 36px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding-top: 0; }

/* ===== Home 30 Oct (Jeff) ===== */
/* One 4-column grid that matches the tiles above: the side column is exactly
   the width of the How it works tile, so all the edges line up. */
.pb-home-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pb-home-main { grid-column: span 3; min-width: 0; }
.pb-home-side { grid-column: span 1; min-width: 0; }
.pb-home-full .pb-home-main { grid-column: 1 / -1; }
.pb-home-full .pb-home-side { display: none; }
@media (max-width: 1000px) { .pb-home-cols { grid-template-columns: 1fr; } .pb-home-main, .pb-home-side { grid-column: auto; } }

/* Steps: slower pops (0.9s each, 0.45s apart) */
.pb-steps-play .pb-step { animation-duration: .9s; }
.pb-steps-play .pb-step:nth-child(2) { animation-delay: .45s; }
.pb-steps-play .pb-step:nth-child(3) { animation-delay: .9s; }
.pb-steps-play .pb-step:nth-child(4) { animation-delay: 1.35s; }
.pb-steps-play .pb-step:nth-child(5) { animation-delay: 1.8s; }
.pb-steps-play .pb-step:nth-child(6) { animation-delay: 2.25s; }
.pb-steps-play .pb-step:nth-child(7) { animation-delay: 2.7s; }
.pb-steps-play .pb-step .pb-dec, .pb-steps-play .pb-stage-no { animation-duration: .8s; }
.pb-steps-play .pb-step:nth-child(1) .pb-stage-no { animation-delay: .3s; }
.pb-steps-play .pb-step:nth-child(2) .pb-dec { animation-delay: .75s; }
.pb-steps-play .pb-step:nth-child(3) .pb-stage-no { animation-delay: 1.2s; }
.pb-steps-play .pb-step:nth-child(4) .pb-dec { animation-delay: 1.65s; }
.pb-steps-play .pb-step:nth-child(5) .pb-stage-no { animation-delay: 2.1s; }
.pb-steps-play .pb-step:nth-child(6) .pb-dec { animation-delay: 2.55s; }
.pb-steps-play .pb-step:nth-child(7) .pb-stage-no { animation-delay: 3s; }
.pb-steps-play::after { animation-duration: 3.6s; }

/* My ideas: header controls and the start-to-finish line */
.pb-ideas-head { gap: 8px; flex-wrap: wrap; }
.pb-select { font: inherit; font-size: 12px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border-subtle, #ccd2d9); background: var(--bg-panel, #fff); color: inherit; }
.pb-idea-line { padding: 10px 6px 14px; border-bottom: 1px solid var(--border-subtle, #eef0f3); cursor: pointer; border-radius: 6px; }
.pb-idea-line:hover, .pb-idea-line:focus { background: var(--bg-surface-alt, #f6f8fa); outline: none; }
.pb-il-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.pb-il-title { flex: 1; font-weight: 700; font-size: 13px; }
.pb-ln { position: relative; height: 22px; margin: 0 14px; display: flex; justify-content: space-between; align-items: center; }
.pb-ln-track, .pb-ln-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.pb-ln-track { right: 0; background: var(--border-subtle, #dde1e6); }
.pb-ln-fill { background: linear-gradient(90deg, #00A0AF, #F26522 60%, #0DB14B); }
.pb-ln.off .pb-ln-fill { background: #9AA3AD; }
.pb-ln-node { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--bg-panel, #fff); border: 2px solid #C3CAD2; }
.pb-ln-node.g { border-radius: 2px; transform: rotate(45deg); width: 9px; height: 9px; }
.pb-ln-node.done { background: #0DB14B; border-color: #0DB14B; }
.pb-ln.off .pb-ln-node.done { background: #9AA3AD; border-color: #9AA3AD; }
.pb-ln-icon { position: absolute; z-index: 2; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #F26522; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pb-ln-icon svg { width: 15px; height: 15px; }
.pb-st-approved { background: #0DB14B; } .pb-st-steerco { background: #F26522; } .pb-st-investigate { background: #00A0AF; }
.pb-st-new { background: #F7921E; } .pb-st-parked, .pb-st-deferred, .pb-st-merged { background: #6B7682; } .pb-st-rejected { background: #B3181D; }

/* ===== InFlight status report (30 Oct) ===== */
.sr-head { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 12px; }
.sr-title { font-size: 22px; font-weight: 900; margin: 0 0 2px; }
.sr-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sr-chip { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; padding: 8px 14px; border-radius: 20px;
  border: 1px solid var(--border-subtle, #d5dbe1); background: var(--bg-panel, #fff); cursor: pointer; }
.sr-chip i { width: 12px; height: 12px; border-radius: 50%; }
.sr-chip.on { border-color: var(--acc-brand-orange, #F26522); box-shadow: 0 0 0 2px rgba(242,101,34,.25); }
.sr-chip-plain { cursor: default; }
.sr-group h2 { font-size: 16px; margin: 18px 0 4px; }
.sr-card { margin: 10px 0; border-left: 5px solid #C3CAD2; }
.sr-card.sr-red { border-left-color: #B3181D; }
.sr-card.sr-amber3 { border-left-color: #E07A00; } .sr-card.sr-amber2, .sr-card.sr-amber1, .sr-card.sr-amber_none { border-left-color: #F7921E; }
.sr-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.sr-rag { width: 12px; height: 12px; border-radius: 50%; }
.sr-name { font-weight: 800; font-size: 15px; color: inherit; text-decoration: none; }
.sr-name:hover { text-decoration: underline; }
.sr-streak { font-size: 11px; font-weight: 800; color: #8A4B00; background: rgba(247,146,30,.15); padding: 2px 8px; border-radius: 20px; }
.sr-spark { display: inline-flex; gap: 3px; }
.sr-spark i { width: 12px; height: 16px; border-radius: 3px; display: inline-block; }
.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
@media (max-width: 900px) { .sr-grid { grid-template-columns: 1fr; } }
.sr-para { margin: 6px 0; font-size: 12.5px; }
.sr-para b { display: block; font-size: 11px; text-transform: none; color: var(--text-secondary, #5b6672); margin-bottom: 2px; }
.sr-risks { width: 100%; border-collapse: collapse; font-size: 12px; }
.sr-risks td { padding: 4px 6px; border-bottom: 1px solid var(--border-subtle, #eef0f3); vertical-align: top; }
.sr-rt { width: 50%; }
.sr-sev { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: #EEF1F4; }
.sr-sev-critical, .sr-sev-high { background: #B3181D; color: #fff; } .sr-sev-medium { background: #F7921E; color: #fff; } .sr-sev-low { background: #DDE1E6; }
.sr-kids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sr-kid { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 9px; border-radius: 20px; background: var(--bg-surface-alt, #f4f6f8); cursor: pointer; }
.sr-kid i { width: 9px; height: 9px; border-radius: 50%; }
.sr-green summary { cursor: pointer; font-size: 13px; color: var(--text-secondary, #5b6672); }
.pb-rag-btn { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-weight: 700; background: none; border: 0; padding: 2px 4px; border-radius: 6px; cursor: pointer; color: inherit; }
.pb-rag-btn:hover, .pb-rag-btn:focus-visible { background: rgba(0,0,0,.06); outline: none; }
.pb-rag-btn i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
@media print {
  .topbar, .subnav, .breadcrumbs, .viewas-banner, .sr-noprint, .accel-intro { display: none !important; }
  body { background: #fff !important; }
  .sr-card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ccc; border-left-width: 5px; }
  .sr-green[open] summary, .sr-green summary { display: none; }
  .sr-green .sr-kids { display: flex; }
}

/* ===== View as (TST testing) ===== */
.viewas-wrap { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.8); margin-right: 10px; }
.viewas-wrap select { font: inherit; font-size: 11px; padding: 3px 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; }
.viewas-wrap select option { color: #1a1a1a; }
.viewas-banner { max-width: 1280px; width: calc(100% - 32px); margin: 8px auto 0; padding: 8px 14px; border-radius: 8px;
  background: #FFF4E5; border: 1px solid #F7921E; color: #5C3300; font-size: 13px; box-sizing: border-box; }
.viewas-banner button { margin-left: 10px; font: inherit; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; border: 1px solid #E07A00; background: #fff; cursor: pointer; }
/* 30 Oct (Jeff): a stronger pulse behind Log an idea - brighter, wider, twice a cycle */
.pb-pulse::before { animation: pb-pulse-strong 2s ease-out infinite; }
.pb-pulse::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--acc-brand-orange, #F26522); animation: pb-pulse-strong 2s ease-out 1s infinite; }
.pb-pulse { box-shadow: 0 0 0 0 rgba(242,101,34,.0); }
@keyframes pb-pulse-strong { 0% { opacity: .85; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(1.55, 2.1); } }
/* both rings play for everyone (Jeff 30 Oct); the PRD reduced-motion decision covers this too */

/* D-20 (30 Oct): Stage 1 & 2 in four bands, the backlog, did not make it through */
.pb-st-backlog { background: #00A0AF; }
.pb-bands { display: grid; gap: 16px; }
.pb-band { background: var(--bg-panel, #fff); border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 4px rgba(0,0,0,.06); border-top: 4px solid #C3CAD2; }
.pb-band.b1 { border-top-color: #F7921E; } .pb-band.b2 { border-top-color: #00A0AF; } .pb-band.b3 { border-top-color: #0DB14B; } .pb-band.b4 { border-top-color: #9AA3AD; }
.pb-band-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pb-band-h h2 { margin: 0; font-size: 16px; }
/* UAT R-12 (Jeff, 2 Nov): the stage breaks stand out from the idea cards: a navy
   bar like the Home hero, white text, and the stage colour as a stripe on the left. */
.pb-band { padding-top: 0; border-top: 0; overflow: hidden; }
.pb-band > .pb-band-h { background: var(--acc-bar-grad); color: #fff; margin: 0 -18px 12px; padding: 12px 18px;
  border-left: 8px solid #C3CAD2; }
.pb-band.b1 > .pb-band-h { border-left-color: #F7921E; } .pb-band.b2 > .pb-band-h { border-left-color: #00A0AF; }
.pb-band.b3 > .pb-band-h { border-left-color: #0DB14B; } .pb-band.b4 > .pb-band-h { border-left-color: #9AA3AD; }
.pb-band > .pb-band-h h2 { color: #fff; font-size: 17px; letter-spacing: .2px; }
.pb-band > .pb-band-h .pb-pill { background: #fff; color: var(--acc-navy-900); border-color: #fff; font-size: 12px; }
/* UAT R-13 (Jeff, 2 Nov): each tile in a stage is light grey (about 10%) with a
   thin edge, so several on a row read as separate cards. */
.pb-band-cards > .pb-card, .pb-band-cards > .pb-bcard { background: #EEF0F2; border: 1px solid #D5DAE0; box-shadow: none; }
.pb-band-cards > .pb-card:hover, .pb-band-cards > .pb-bcard:hover { border-color: #9AA3AD; }
[data-theme="dark"] .pb-band-cards > .pb-card, [data-theme="dark"] .pb-band-cards > .pb-bcard { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.pb-band-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.pb-bcard { border: 1px solid var(--border-subtle, #e3e7ec); border-radius: 10px; padding: 10px 12px; cursor: pointer; background: var(--bg-surface-alt, #f8f9fb); }
.pb-bcard:hover, .pb-bcard:focus { border-color: #F26522; outline: none; }
.pb-bcard b { display: block; margin: 2px 0 4px; }
.pb-bcard .pb-why { font-size: 12px; color: var(--text-secondary, #555); margin-top: 6px; border-left: 3px solid #C3CAD2; padding-left: 8px; }
.pb-stop { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 4px; background: #E9ECF0; color: #3B4652; }
.pb-planned { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 4px; background: rgba(0,160,175,.14); color: #006F7A; }
.pb-band-sub { font-size: 12px; font-weight: 800; color: var(--text-secondary, #666); margin: 12px 0 0; }

/* ===== 30 Oct (Jeff) ===== */
/* Top bar identical on every page: the narrow width applies everywhere; the Gantt
   legend lives in the InFlight sub-bar instead. The Gantt content below can still
   use the full width. */
body.pb-narrow .subnav { max-width: 1280px; width: calc(100% - 32px); margin-left: auto; margin-right: auto; box-sizing: border-box; }
/* 3 Nov (Jeff): on the InFlight Gantt pages only, the top bar, sub-bar and
   breadcrumbs are as wide as the Gantt chart (the content's 16px margins). */
body.pb-narrow.pb-gantt .topbar,
body.pb-narrow.pb-gantt .subnav,
body.pb-narrow.pb-gantt .breadcrumbs,
body.pb-narrow.pb-wide .topbar,
body.pb-narrow.pb-wide .subnav,
body.pb-narrow.pb-wide .breadcrumbs,
body.pb-narrow.pb-wide .viewas-banner { max-width: none; width: calc(100% - 32px); }
.subnav-legend { display: flex; align-items: center; margin-right: 12px; }
.subnav-legend .legend { display: flex; gap: 10px; font-size: 11px; color: var(--text-secondary, #666); }
.subnav-legend .legend-item { display: flex; align-items: center; gap: 4px; }
@media (max-width: 1350px) { .subnav-legend .legend-item:nth-child(n+4) { display: none; } }
/* Gate 1 due dates */
.pb-due { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 20px; }
.pb-due-ok { background: rgba(13,177,75,.14); color: #087A35; }
.pb-due-soon { background: rgba(247,146,30,.18); color: #8A4B00; }
.pb-due-late { background: #B3181D; color: #fff; }

/* Docs hub: how the roles fit together beside who can get to what (Jeff 30 Oct) */
.ah-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; margin-bottom: 16px; }
.ah-pair > * { margin: 0 !important; min-width: 0; }
.ah-pair .ag-hero { flex-direction: column; }
.ah-pair .ag-rings { max-width: 300px; margin: 8px auto 0; }
@media (max-width: 1100px) { .ah-pair { grid-template-columns: 1fr; } }

/* the idea's graphic follows it (Jeff 30 Oct) */
.pb-bcard-t { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pb-il-title { display: flex; align-items: center; gap: 8px; }
.pb-bcard-t .ba-graphic, .pb-il-title .ba-graphic { flex: 0 0 auto; }
/* Who can see this (Jeff 30 Oct): a small button, not a page-sized lock */
.pb-privacy-btn { align-self: flex-start; justify-self: start; display: inline-flex; align-items: center; gap: 6px; width: auto; }
.pb-privacy-btn svg { width: 14px; height: 14px; flex: none; }

/* E006 (full user test 31 Oct): How it works at phone width. The five-column table scrolls inside its own
   panel instead of pushing the whole page sideways, and the Templates / tiers pair stacks. */
.pb-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pb-table-scroll:focus-visible { outline: 3px solid var(--acc-brand-orange, #C2410C); outline-offset: 2px; }
@media (max-width: 640px) {
  #pb-how .pb-grid2 { grid-template-columns: 1fr !important; }
  #pb-how .pb-table-scroll .pb-table { min-width: 560px; }
}

/* F-25: add photos from a phone (QR code on the idea page; the phone view) */
.pb-phone-qr { text-align: center; }
.pb-phone-qr-code { display: inline-block; background: #fff; padding: 6px; border-radius: 8px; border: 1px solid var(--border-subtle, rgba(0,0,0,.08)); }
.pb-phone-qr-code svg { display: block; width: 220px; height: 220px; }
.pb-phone-qr-steps { text-align: left; font-size: 12px; margin: 12px auto 8px; padding-left: 20px; max-width: 380px; }
.pb-phone-qr-steps li { margin-bottom: 4px; }
.pb-phone-qr-link { word-break: break-all; }
.pb-phone-add { border-top: 3px solid var(--acc-brand-orange, #F26522); }
.pb-phone-add-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; font-size: 16px; padding: 16px; margin: 10px 0 8px; cursor: pointer; }

/* 046 / PR-ACC-143: the flow is drawn from the framework (five phases, four
   gates for July 2026). Columns are set inline from the data; the pop and the
   gate numbers light in order across every item. */
.pb-steps.pb-steps-flow, .pb-steps.pb-steps-9 { gap: 6px; }
.pb-steps.pb-steps-9 { grid-template-columns: 1fr 74px 1fr 74px 1fr 74px 1fr 74px 1fr; }
@media (max-width: 1000px) { .pb-steps.pb-steps-flow, .pb-steps.pb-steps-9 { grid-template-columns: 1fr 1fr !important; } }
.pb-gate-who { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .4px; color: var(--text-secondary, #5E6570); margin-top: 2px; }
.pb-steps .pb-stage-no { min-width: 0; padding: 1px 8px; font-size: 9.5px; letter-spacing: .4px; text-transform: uppercase; }
.pb-small-route { grid-row: 2; margin-top: 2px; padding: 4px 8px; border: 1px dashed var(--acc-brand-orange, #F26522); border-radius: 6px;
  font-size: 10.5px; font-weight: 700; color: var(--text-secondary, #5E6570); text-align: center; }
.pb-route-note { margin: 12px 0 0; font-size: 11px; color: var(--text-secondary, #5E6570); }
.pb-steps-play .pb-step:nth-child(8) { animation-delay: 3.15s; }
.pb-steps-play .pb-step:nth-child(9) { animation-delay: 3.6s; }
.pb-steps-play .pb-step:nth-child(10) { animation-delay: 4.05s; }
.pb-steps-play .pb-step:nth-child(11) { animation-delay: 4.5s; }
.pb-steps-play .pb-step:nth-child(8) .pb-dec { animation-delay: 3.37s; }
.pb-steps-play .pb-step:nth-child(10) .pb-dec { animation-delay: 4.27s; }
.pb-steps-play .pb-step:nth-child(9) .pb-stage-no { animation-delay: 3.82s; }
.pb-steps-play .pb-step:nth-child(11) .pb-stage-no { animation-delay: 4.72s; }
.pb-steps-flow.pb-steps-play::after, .pb-steps-9.pb-steps-play::after { animation-duration: 3.8s; }
/* the phase and gate strips line up along the bottom of the row */
.pb-steps-flow .pb-step-gate, .pb-steps-9 .pb-step-gate { min-height: 34px; display: flex; align-items: center; justify-content: center; }

/* F-08 (Jeff 2 Nov): one footer on every page: version, help and contact. */
.accel-footer { max-width: 1280px; margin: 8px auto 20px; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  font-size: 11px; color: var(--text-secondary, #5E6570); border-top: 1px solid var(--border-subtle, rgba(0,0,0,.08)); }
.accel-footer button { background: none; border: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.accel-footer button:hover, .accel-footer button:focus-visible { color: var(--acc-brand-orange, #F26522); }
.accel-footer .sp { flex: 1; }

/* Jeff 3 Nov 10:36: Latest decisions: small round gate markers in calm colours,
   bigger text, and the idea name gets the full width (the details go under it). */
.pb-ldec-row { align-items: flex-start; gap: 10px; padding: 9px 0; }
.pb-ldec { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 10.5px; font-weight: 800; background: #EEF1F5; color: #1E2A3A; border: 1px solid #D5DCE4; margin-top: 1px; }
.pb-ldec.wide { width: auto; min-width: 22px; padding: 0 6px; border-radius: 11px; }
.pb-ldec-A { background: #E6F4F5; color: #00636B; border-color: #BFE3E6; }
.pb-ldec-B { background: #EEF1F5; color: #1E2A3A; border-color: #D5DCE4; }
.pb-ldec-D { background: #E8F5EC; color: #0A6B30; border-color: #C3E6CF; }
.pb-ldec-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pb-ldec-t { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--text-primary, #1a1a1a); }
.pb-ldec-m { font-size: 11px; color: var(--text-secondary, #5E6570); line-height: 1.4; }
[data-theme="dark"] .pb-ldec { background: #2A3646; color: #E6EBF1; border-color: #3A4758; }

/* Jeff 3 Nov 10:40: a dotted box around Ideate and Plan (the small route), with
   room above and below; the route note now sits in the footer. */
.pb-steps-flow { margin: 18px 0 30px; }
.pb-steps-flow.pb-has-small { padding: 0; }
.pb-small-box { position: relative; margin: -10px -4px; border: 1.5px dotted var(--acc-brand-orange, #F26522); border-radius: 12px; pointer-events: none; z-index: 0; }
.pb-small-box span { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); white-space: nowrap; padding: 0 8px;
  background: var(--bg-surface, #fff); font-size: 10.5px; font-weight: 700; color: var(--text-secondary, #5E6570); }
.pb-steps-flow .pb-step { position: relative; z-index: 1; }
.pb-steps-flow::after { bottom: -26px; }

/* Jeff 3 Nov 10:41: the round team window in the hero; people pop through at random. */
.pb-hero { position: relative; }
.pb-team-window { position: absolute; right: 44px; bottom: 6px; margin: 0; text-align: center; }
/* Jeff 3 Nov 11:05: bigger, and the person's head pops out through the top of the frame.
   The ring sits behind; the clip box is the ring's width, rounded along the bottom half
   only, so the body stays inside the circle and the head rises above it. */
.pb-team-ring { position: relative; width: 136px; height: 136px; }
.pb-team-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #33465E, #1E2A3A 70%);
  border: 3px solid var(--acc-brand-orange, #F26522); box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.pb-team-clip { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; clip-path: inset(0 0 0 0 round 0 0 68px 68px); }
.pb-team-clip img { position: absolute; left: 50%; bottom: 0; width: 168px; height: 168px; margin-left: -84px; object-fit: contain; object-position: bottom; }
.pb-team-ring.pop img { animation: pb-team-pop .65s cubic-bezier(.3,1.45,.5,1) both; }
@keyframes pb-team-pop { 0% { transform: translateY(75%); } 65% { transform: translateY(-5%); } 100% { transform: none; } }
.pb-team-window figcaption { margin-top: 4px; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .3px; }
@media (max-width: 1000px) { .pb-team-window { display: none; } }
@media (prefers-reduced-motion: reduce) { .pb-team-ring.pop img { animation: none; } }
.accel-footer .pb-anim-toggle { font-size: 11px; }

/* Jeff 3 Nov 10:37 / 11:16: every table shades every second row so a line is
   easy to follow, and the header row stands apart. Same in dark mode. */
:root { --row-zebra: #F3F6F9; }
[data-theme="dark"] { --row-zebra: rgba(255,255,255,0.04); }
.content table:not(.ag-matrix) > tbody > tr:nth-child(even) > td { background: var(--row-zebra); }
.content table:not(.ag-matrix) > tbody > tr:hover > td { background: var(--row-hover-strong, rgba(242,101,34,.06)); }
.content table > thead th { white-space: nowrap; }
.content table td.num, .content table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Latest decisions (Jeff 11:16): the idea, then the outcome, then who and when on its own line. */
.pb-ldec-o { font-size: 11.5px; font-weight: 700; color: var(--text-primary, #1a1a1a); }
.pb-ldec-who { font-size: 11px; color: var(--text-secondary, #5E6570); }

/* Jeff 3 Nov 20:03-20:11: the header and the footer stay on screen on every page; only the
   page between them scrolls. The window still scrolls (tooltips and sticky Gantt headers keep
   working); the header block sticks to the top and the footer to the bottom. */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > .content { flex: 1 0 auto; min-height: 0; min-width: 0; width: 100%; box-sizing: border-box; }
.accel-head { position: sticky; top: 0; z-index: 100; background: var(--bg-body); padding-bottom: 2px; }
.accel-head .topbar { position: relative; top: auto; }
.accel-footer { position: sticky; bottom: 0; z-index: 90; width: calc(100% - 32px); max-width: 1280px; box-sizing: border-box;
  margin: 0 auto; background: var(--bg-body); border-top: 1px solid var(--border-subtle, rgba(0,0,0,.12)); box-shadow: 0 -4px 10px rgba(0,0,0,.06); }
body.pb-wide .accel-footer { max-width: none; }
.accel-footer-ball { width: 24px; height: 24px; flex: none; margin-right: -8px; }
/* The Gantt grid (.broadplan) scrolls inside its own box, so its sticky month and week rows
   (top 0 / 26px) are unaffected by the sticky page header. */
@media print { body { display: block; } .accel-head, .accel-footer { position: static; box-shadow: none; } }
/* The footer in two tidy rows: who / release / links on the first, the framework note under it. */
.accel-footer { padding: 6px 16px 7px; gap: 2px 16px; font-size: 11px; }
.accel-footer #accel-footer-fw { order: 20; flex-basis: 100%; font-size: 10.5px; line-height: 1.35; padding-left: 32px; }
.accel-footer #accel-footer-fw:empty { display: none; }

/* Jeff 3 Nov 20:22: decision lists are a table with equal, centred columns. */
.pb-dec-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.pb-dec-table th, .pb-dec-table td { text-align: center; vertical-align: middle; padding: 7px 8px; overflow-wrap: anywhere; border-bottom: 1px solid var(--border-light, #eef0f3); }
.pb-dec-table th { font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--text-secondary, #5E6570); background: var(--bg-surface-alt, #f8f9fb); }
.pb-dec-table td .pb-dec { margin-left: 0; }
