/* phone-nexus.css 0.1.0: the PXLnexus page on a phone. Every rule is under html.pk: desktop and tablet never read one. */
html.pk { --pk-accent: #d7005a; --pk-accent-2: #f2b705; --pk-surface: #141414; --pk-text: #f3f1ed; --pk-dim: #a9a7a4; }

/* The bar and the menu */
html.pk .top-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--pk-bar); z-index: 900; }
html.pk .top-bar-inner { height: var(--pk-bar); padding: 0 12px; }
html.pk .nav-burger, html.pk .nav-menu, html.pk .nav-right { display: none !important; }
html.pk .top-bar .nav-brand-logo { height: 34px !important; width: auto; }
html.pk .pk-menu-btn { max-width: calc(100vw - 166px); }
html.pk .pk-menu-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
html.pk .pk-menu-link { flex: 1 1 40%; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--pk-line); border-radius: 10px; color: var(--pk-text); font-size: 14px; text-decoration: none; }
html.pk .pk-menu-socials { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
html.pk .pk-menu-socials a { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--pk-text); }
html.pk.xp-open body { overflow-y: hidden !important; }
html.pk .xp { z-index: 1000; }

/* Sections */
html.pk .mk-sec, html.pk .nx-hero { padding: 0; border: 0; min-height: 0; }
html.pk .mk-sec.pk-chapter, html.pk .nx-hero.pk-chapter { padding: 14px 0 12px; }
html.pk .mk-sec.pk-chapter.pk-has-more { padding-bottom: 52px; }
html.pk .pk-chapter > .pg { position: relative; z-index: 1; width: 100%; max-width: none; margin: 0; padding: 0 16px; box-sizing: border-box; }
html.pk .pk-chapter h1 { font-size: 36px; line-height: 1.06; margin: 0 0 10px; white-space: normal; }
html.pk .pk-chapter h2 { font-size: 26px; line-height: 1.12; margin: 0 0 10px; white-space: normal; }
html.pk .nw { white-space: normal; }
html.pk .g12 { display: block; }
html.pk .e-eyebrow { margin: 0 0 6px; font-size: 12px; }
html.pk .glass-plate { padding: 0; margin: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.pk .nx-plate-bg, html.pk .nx-plate-fade-l, html.pk .nx-plate-fade-b { position: absolute; inset: 0; z-index: 0; }
html.pk .nx-plate-pg { padding: 0 16px; }
html.pk .pipe-grid { display: block; }
html.pk .head-row { margin: 0 0 8px; }
html.pk .head-side .big { font-size: 18px; line-height: 1.3; margin: 0 0 6px; }

/* First screens */
html.pk .nx-hero-inner { padding-top: 0; padding-bottom: 0; }
html.pk .nx-hero-logo { height: 60px; width: auto; margin: 0 0 8px -6px; }
html.pk .nx-sub { font-size: 15px; line-height: 1.3; margin: 0 0 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
html.pk .nx-sub .cc-logo { height: 34px; width: auto; margin: -8px 0; }
html.pk #top .lead, html.pk #hub-sec .lead { font-size: 16px; line-height: 1.45; margin: 0 0 10px; }
html.pk .byline { font-size: 13px; margin: 0 0 12px; }
html.pk .ctas { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; }
html.pk .ctas .e-btn { width: 100%; box-sizing: border-box; text-align: center; }
html.pk .ctas .mk-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* The fourteen roles under one plate */
html.pk .pk-graph { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
html.pk .pk-graph::before { content: ""; position: absolute; left: 50%; top: 12px; bottom: 30px; width: 2px; margin-left: -1px; background: linear-gradient(var(--pk-accent), var(--pk-accent-2)); z-index: 0; }
html.pk .pk-graph .nhb-n { position: relative !important; left: auto !important; top: auto !important; right: auto !important; transform: none !important; opacity: 1 !important; visibility: visible !important; z-index: 1; width: auto !important; height: auto !important; }
html.pk .pk-in { display: flex; justify-content: center; gap: 6px; }
html.pk .pk-in .nhb-chip { padding: 2px 10px; font-size: 12px; line-height: 1.5; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 999px; white-space: nowrap; }
html.pk .pk-graph .nhb-brain { padding: 4px 10px; text-align: center; font-size: 12px; line-height: 1.25; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 10px; }
html.pk .pk-graph .nhb-brain * { font-size: 12px !important; position: static !important; }
html.pk .pk-graph .nhb-plate { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 8px; padding: 3px 10px; text-align: center; font-size: 12px; line-height: 1.25; background: #17121a; border: 1px solid var(--pk-accent); border-radius: 12px; }
html.pk .pk-graph .nhb-sui { border-color: var(--pk-accent-2); background: #17140b; }
html.pk .pk-graph .nhb-plate * { position: static !important; transform: none !important; font-size: 12px !important; line-height: 1.25 !important; }
html.pk .pk-graph .nhb-logo { width: 110px !important; height: 26px !important; overflow: visible !important; flex: none; }
html.pk .pk-graph .nhb-pw { display: inline-flex; align-items: center; gap: 2px; }
html.pk .pk-graph .nhb-pw .nhb-logo { width: 34px !important; height: 26px !important; }
html.pk .pk-graph .nhb-nex-crew { flex: 1 1 100%; }
html.pk .pk-graph .nhb-sui .nhb-suiline { white-space: normal; }
html.pk .pk-graph .nhb-logo img { position: static !important; display: block; width: 100% !important; height: 100% !important; object-fit: contain; left: auto !important; top: auto !important; }
html.pk .pk-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; position: relative; z-index: 1; }
html.pk .pk-role { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 32px; padding: 1px 4px; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 10px; }
html.pk .pk-role .nhb-pod { flex: none; width: 24px !important; height: 24px !important; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--pk-accent); background: #1b1014; }
html.pk .pk-role .nhb-pod svg { width: 15px; height: 15px; position: static !important; }
html.pk .pk-role .nhb-lbl { flex: 1 1 0; min-width: 0; text-align: left; white-space: normal; }
html.pk .pk-role .nhb-lbl { transform: none !important; display: block; align-items: flex-start; }
html.pk .pk-role .nhb-lbl-t { display: block; white-space: normal; }
html.pk .pk-role .nhb-lbl-n { display: block; font-size: 13px; line-height: 1.1; font-weight: 600; color: var(--pk-text); }
html.pk .pk-role .nhb-lbl-tag { display: block; font-size: 12px; line-height: 1.1; color: var(--pk-dim); letter-spacing: 0; text-transform: none; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.pk .pk-role .nhb-lbl-j { display: none; }
html.pk .pk-graph .nhb-gate { text-align: center; padding: 3px 12px; align-self: center; font-size: 12px; background: var(--pk-surface); border: 1px solid #fff; border-radius: 999px; }
html.pk .pk-apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; position: relative; z-index: 1; background: #0d0d0d; }
html.pk .pk-app { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; text-align: center; }
html.pk .pk-app .nhb-app { width: 26px !important; height: 26px !important; display: flex; align-items: center; justify-content: center; }
html.pk .pk-app .nhb-app img { position: static !important; width: 100% !important; height: 100% !important; object-fit: contain; }
html.pk .pk-app .nhb-aname { font-size: 12px; line-height: 1.05; white-space: normal; text-align: center !important; }
html.pk .pk-sheet-body .nhb-mono { display: block; position: static !important; font-size: 13px; margin: 0 0 8px; transform: none !important; }
html.pk .pk-sheet-body .nhb-legend { position: static; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; opacity: 1 !important; transform: none !important; }

/* Laid out from the drawings' own nodes */
html.pk .pk-canvas { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; }
html.pk .pk-canvas .l2card, html.pk .pk-canvas .l1-node, html.pk .pk-canvas .l2-ph, html.pk .pk-canvas .q-ph, html.pk .pk-canvas .bb-grp, html.pk .pk-canvas .l1-stage, html.pk .pk-canvas .l1-lbl, html.pk .pk-canvas #bb-origin, html.pk .pk-results .tile, html.pk .pk-results .thumb, html.pk .nx-chart-sec .cap, html.pk .nx-chart-sec .rl, html.pk .nx-chart-sec .bar, html.pk .nx-chart-sec .vl {
  position: relative !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; transform: none !important; opacity: 1 !important; visibility: visible !important; height: auto !important; max-width: none;
}
html.pk .pk-canvas .l2card, html.pk .pk-canvas .l1-node { width: auto !important; display: block; box-sizing: border-box; line-height: 1.15; min-height: 0; padding: 5px 9px; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 10px; }
html.pk .pk-canvas .l2-ph, html.pk .pk-canvas .q-ph, html.pk .pk-canvas .bb-grp, html.pk .pk-canvas .l1-stage { display: block; width: auto !important; font-size: 12px; letter-spacing: 0.08em; line-height: 1.3; margin: 0 0 2px; color: var(--pk-accent-2); text-align: left; }
html.pk .pk-canvas .cn { display: inline; font-size: 12px; color: var(--pk-dim); margin: 0 6px 0 0; }
html.pk .pk-canvas .cnm { display: inline; font-size: 13px; line-height: 1.15; font-weight: 600; color: var(--pk-text); }
html.pk .pk-canvas .dl { display: block; font-size: 12px; line-height: 1.2; margin: 2px 0 0; }
html.pk .pk-g { min-width: 0; }
html.pk .pk-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
html.pk .pk-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }

/* Where the days go */
html.pk #question h2 { font-size: 20px; margin: 0 0 4px; }
html.pk #question .e-eyebrow { margin-bottom: 2px; }
html.pk .pk-path { gap: 4px; padding-left: 18px; margin: 2px 0 0; }
html.pk .pk-path::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 2px; background: var(--pk-accent-2); overflow: hidden; }
html.pk .pk-path .q-end { display: inline-flex !important; flex-direction: row; align-items: center; gap: 6px; align-self: flex-start; padding: 1px 8px; min-height: 0; }
html.pk .pk-path .q-end svg { width: 16px; height: 16px; position: static; }
html.pk .pk-path .q-end .nm { font-size: 13px; line-height: 1.2; }
html.pk .pk-stops { display: flex; flex-direction: column; gap: 3px; }
html.pk .pk-ph2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
html.pk .q-box .dl { color: var(--pk-accent-2); }

/* One brain */
html.pk #brain .nx-sheets { display: flex; gap: 14px; margin: 6px 0 0; }
html.pk #brain .nx-sheets .mk-link { min-height: 40px; }
html.pk .pk-flow { gap: 3px; }
html.pk .pk-flow .pk-step { position: relative; }
html.pk .pk-flow .pk-3 .l2card, html.pk .pk-flow .pk-2 .l2card { padding: 4px 8px; }
html.pk .pk-flow .cn { display: none; }
html.pk .pk-flow .dl { display: none; }
html.pk .pk-flow .pk-gold .l2card { border-color: var(--pk-accent-2); }
html.pk .pk-flow .br-list { display: flex; flex-wrap: wrap; gap: 0 12px; margin: 1px 0 0; }
html.pk .pk-flow .br-list span { position: static !important; font-size: 12px; line-height: 1.25; padding-left: 0 !important; }
html.pk .pk-flow .br-list span::before { display: none !important; }
html.pk .pk-flow .gate { border-color: #fff; }
html.pk .pk-sheet-body .br-meth, html.pk .pk-sheet-body .lgd, html.pk .pk-sheet-body .l2-ph { display: block; position: static !important; width: auto !important; font-size: 14px; line-height: 1.4; margin: 0 0 8px; }

/* The apps */
html.pk .pk-apps-gfx .nx-node { display: flex !important; align-items: center; justify-content: center; gap: 8px; border-color: var(--pk-accent); padding: 8px; }
html.pk .pk-apps-gfx .nx-node-logo { height: 34px; width: auto; }
html.pk .pk-apps-gfx .nx-node-by { font-size: 12px; display: inline-flex; align-items: center; gap: 2px; position: static; }
html.pk .pk-apps-gfx .cc-logo { height: 30px; width: auto; margin: -6px 0; }
html.pk .pk-apps-gfx .nx-stagecard { padding: 8px; }
html.pk .pk-apps-gfx .lgarea, html.pk .pk-apps-gfx .row { display: flex !important; position: static !important; flex-wrap: wrap; gap: 6px; height: auto !important; margin: 6px 0; }
html.pk .pk-apps-gfx .lg { position: relative; width: 34px !important; height: 34px !important; padding: 0; background: none; border: 0; }
html.pk .pk-apps-gfx .lg img { width: 100%; height: 100%; object-fit: contain; }
html.pk .nx-more { margin: 8px 0 0; font-size: 14px; }
html.pk .nx-more .mk-link { min-height: 40px; display: inline-flex; align-items: center; }

/* Underneath */
html.pk .pk-bb .pk-origin { display: flex; align-items: center; gap: 8px; order: 9; }
html.pk .pk-bb #bb-origin { width: 24px !important; height: 24px !important; flex: none; }
html.pk .pk-bb .l1-raillbl { display: block; width: auto !important; font-size: 13px !important; line-height: 1.25 !important; }
html.pk .pk-bb .l1-node { padding: 6px 8px; display: flex !important; flex-direction: column; align-items: flex-start; gap: 2px; justify-content: flex-start; }
html.pk .pk-bb .bb-logo { position: static !important; height: 28px !important; width: auto !important; max-width: 100%; margin: 0 0 0 -3px; }
html.pk .pk-bb .sb { position: static !important; font-size: 12px; line-height: 1.2; text-align: left; white-space: normal; }
html.pk #pipeline .head-side .sub { font-size: 14px; line-height: 1.35; margin: 0 0 6px; }
html.pk #pipeline .nx-sheets { margin: 0 0 4px; }
html.pk #pipeline .nx-sheets .e-btn { min-height: 40px; padding: 6px 16px; font-size: 14px; display: inline-flex; align-items: center; }
html.pk .pk-apps-gfx .nx-stagecard .cnm { font-size: 15px; }

/* One system */
html.pk #orch .nx-orch { display: block; }
html.pk #orch .nx-h3 { font-size: 24px; line-height: 1.15; margin: 0 0 10px; }
html.pk #orch p { font-size: 15px; line-height: 1.45; margin: 0 0 10px; }
html.pk #orch .mk-link { min-height: 44px; display: inline-flex; align-items: center; }
html.pk #orch .nx-ptn { display: block; position: static; width: auto; padding: 0; margin: 10px 0 0; background: none; border: 0; }
html.pk #orch .ro-more { display: block; }
html.pk #orch .k { font-size: 12px; margin: 0 0 8px; letter-spacing: 0.06em; }
html.pk #orch .pt-l { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: center; justify-items: center; }
html.pk #orch .pt-l img { width: auto; max-width: 100%; height: 34px; object-fit: contain; border-radius: 0; }

/* Studio */
html.pk .lyrs { display: flex; flex-direction: column; gap: 6px; margin: 0; }
html.pk .lyr { padding: 8px 12px; min-height: 0; text-align: left; }
html.pk .lyr-k { font-size: 16px; }
html.pk .lyr-l { font-size: 13px; line-height: 1.3; }
html.pk .lyr-go { font-size: 13px; margin-top: 2px; }
html.pk .nx-cta-line { margin: 10px 0 0; text-align: center; }
html.pk .nx-cta-line .e-btn { width: 100%; box-sizing: border-box; }

/* Results: two numbers and the work */
html.pk #results h2 { font-size: 23px; }
html.pk #results .nx-sheets { margin: 0 0 6px; }
html.pk #results .mk-link { min-height: 40px; display: inline-flex; align-items: center; font-size: 14px; }
html.pk .pk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.pk .pk-results .tile { width: auto !important; padding: 10px; box-sizing: border-box; border-radius: 12px; background: rgba(20, 20, 20, 0.9); border: 1px solid var(--pk-line); }
html.pk .pk-results .tile .big, html.pk .pk-results .tile .big2 { position: static; font-size: 26px !important; line-height: 1.1; }
html.pk .pk-results .tile p { position: static; font-size: 12px; line-height: 1.25; margin: 6px 0 0; }
html.pk .pk-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0 0; }
html.pk .pk-results .thumb { width: auto !important; }
html.pk .pk-results .thumb img { display: block; width: 100% !important; height: 54px !important; object-fit: cover; border-radius: 6px; position: static !important; }
html.pk .pk-results .thumb span { display: block; position: static !important; font-size: 12px; line-height: 1.15; text-align: center; margin: 2px 0 0; }

/* The bars */
html.pk .nx-chart-sec .cap { font-size: 22px; line-height: 1.15; font-weight: 700; color: var(--pk-text); margin: 0 0 8px; width: auto !important; }
html.pk .pk-bar-row { margin: 0 0 7px; }
html.pk .nx-chart-sec .rl { width: auto !important; text-align: left; }
html.pk .nx-chart-sec .rl .a { display: inline; font-size: 13px; font-weight: 600; line-height: 1.2; }
html.pk .nx-chart-sec .rl .b { display: inline; font-size: 12px; line-height: 1.2; margin: 0 0 0 6px; color: var(--pk-dim); }
html.pk .pk-track { display: flex; align-items: center; min-height: 15px; }
html.pk .nx-chart-sec .bar { display: block; flex: none; width: var(--pk-w) !important; height: 11px !important; }
html.pk .nx-chart-sec .vl { display: block; white-space: nowrap; font-size: 12px; line-height: 1.1; margin: 0 0 0 6px; }

/* About: his picture with no box, a small shadow only */
html.pk #about .bt-band { display: block; }
html.pk #about .bt-fig { margin: 0 auto 10px; padding: 0; border: 0; background: none; width: auto; height: auto; text-align: center; }
html.pk #about .bt-fig img { display: block; margin: 0 auto; width: auto; height: 18vh; height: 18dvh; object-fit: contain; border: 0; border-radius: 12px; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45); }
html.pk #about h2 { margin: 0 0 2px; text-align: center; }
html.pk #about .bt-role { margin: 0 0 8px; text-align: center; font-size: 13px; }
html.pk #about .bt-bio { font-size: 14px; line-height: 1.42; margin: 0 0 10px; }
html.pk #about .bt-ledger { margin: 0; }
html.pk #about .bt-row { display: block; margin: 0 0 8px; padding: 0; border: 0; }
html.pk #about .bt-row dt { font-size: 12px; margin: 0 0 4px; text-align: center; }
html.pk #about .bt-row dd { margin: 0; display: block; }
html.pk #about .bt-clients, html.pk #about .bt-studios { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; }
html.pk #about .bt-clients img { height: 26px; width: auto; max-width: 70px; }
html.pk #about .bt-studios img { height: 14px; width: auto; max-width: 70px; }
html.pk #about .bt-note { display: block; font-size: 12px; text-align: center; margin: 2px 0 0; }
html.pk .pk-sheet-body .bt-cert { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
html.pk .pk-sheet-body .bt-ves { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
html.pk .pk-sheet-body .bt-ves img { height: 34px; width: auto; }
html.pk .pk-sheet-body .bt-row dt { font-size: 13px; margin: 0 0 6px; }
html.pk .pk-sheet-body .bt-row dd { margin: 0; }
html.pk .pk-sheet-body .bt-partners { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 8px; }
html.pk .pk-sheet-body .bt-partners img { height: 30px; width: auto; max-width: 110px; object-fit: contain; }
html.pk .pk-sheet-body .bt-note { font-size: 14px; line-height: 1.4; }
html.pk .pk-sheet-body p { font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
html.pk .pk-sheet-body .sub { font-size: 15px; line-height: 1.55; }
html.pk .pk-sheet-body .nx-band-l { font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
@media (max-height: 660px) {
  html.pk #about .bt-band { padding: 12px; }
  html.pk #about .bt-fig img { height: 110px; }
  html.pk #about .bt-bio { line-height: 1.34; margin-bottom: 6px; }
  html.pk #about h2 { font-size: 24px; }
}

/* How we start: four steps on a line */
html.pk #how-we-start .spec { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 8px 0 0; padding: 0 0 0 26px; list-style: none; }
html.pk #how-we-start .spec::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 26px; width: 2px; background: var(--pk-accent-2); }
html.pk #how-we-start .spec li { position: relative; font-size: 15px; line-height: 1.4; padding: 0; border: 0; background: none; }
html.pk #how-we-start .spec li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--pk-accent-2); }
html.pk #how-we-start .spec b { display: block; font-size: 19px; line-height: 1.2; margin: 0 0 3px; color: var(--pk-text); }

/* Contact */
html.pk #contact .ct-row2 { display: block; }
html.pk #contact .ct-lead { font-size: 14px; line-height: 1.42; margin: 0 0 8px; }
html.pk #contact .e-btn { width: 100%; box-sizing: border-box; text-align: center; }
html.pk #contact .ct-routes { margin: 8px 0 0; padding: 0; list-style: none; }
html.pk #contact .mk-route { min-height: 46px; padding: 4px 10px; }
html.pk #contact .rt-l { font-size: 14px; }
html.pk #contact .rt-s { font-size: 12px; line-height: 1.2; }

/* Footer */
html.pk footer.bm-footer { margin: 0; padding: 14px 16px 12px; border: 0; }
html.pk footer.bm-footer .footer-inner { padding: 0; }
html.pk .footer-val a { display: inline-flex; min-height: 34px; align-items: center; }

/* The plates: one line each */
html.pk .pk-graph .nhb-plate { min-height: 0 !important; flex-wrap: wrap; }
html.pk .pk-graph .nhb-pw, html.pk .pk-graph .nhb-nex-crew, html.pk .pk-graph .nhb-suiline { margin: 0 !important; padding: 0 !important; }
html.pk .pk-graph .nhb-logo { margin: 0 !important; }
html.pk .pk-graph .nhb-brain { min-height: 0 !important; display: flex; align-items: center; justify-content: center; gap: 8px; }
html.pk .pk-graph .nhb-brain svg { width: 20px; height: 20px; flex: none; }
html.pk .pk-graph .nhb-brain > * { margin: 0 !important; }
html.pk .pk-graph .nhb-gate { min-height: 0 !important; display: inline-flex; align-items: center; gap: 6px; }
html.pk .pk-graph .nhb-gate svg { width: 16px; height: 16px; }

/* Work travels the line: a dot goes down the spine and the path */
html.pk .pk-graph::after, html.pk .pk-path::after { content: ""; position: absolute; width: 2px; height: 44px; background: linear-gradient(transparent, #fff); animation: pk-travel 3.4s linear infinite; z-index: 0; opacity: 0.9; }
html.pk .pk-graph::after { left: 50%; margin-left: -1px; top: 12px; }
html.pk .pk-path::after { left: 6px; top: 14px; }
@keyframes pk-travel { from { transform: translateY(0); opacity: 0; } 10% { opacity: 0.9; } 90% { opacity: 0.9; } to { transform: translateY(480px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html.pk .pk-graph::after, html.pk .pk-path::after { animation: none; display: none; } }

/* Bars: joined, in one track */
html.pk .nx-chart-sec .bar { margin: 0 !important; border-radius: 0; }

/* The list behind the + */
html.pk .pk-role-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
html.pk .pk-role-list li { font-size: 14px; line-height: 1.35; }
html.pk .pk-role-list b { display: block; font-size: 15px; color: var(--pk-text); }
html.pk .pk-role-list span, html.pk .pk-role-list div { display: block; position: static !important; font-size: 14px; color: var(--pk-dim); white-space: normal; text-align: left; }

/* Short phones: closer together, the words stay readable */
@media (max-height: 660px) {
  html.pk .pk-canvas .l2card, html.pk .pk-canvas .l1-node { padding: 3px 8px; }
  html.pk .pk-canvas { gap: 3px; }
  html.pk #question h2 { font-size: 18px; }
  html.pk .pk-chapter h2 { font-size: 22px; margin-bottom: 6px; }
  html.pk .pk-bb .bb-logo { height: 24px !important; }
  html.pk .lyr { padding: 5px 10px; }
  html.pk .lyr-go { margin-top: 0; }
  html.pk .pk-graph { gap: 3px; }
}

/* The drawing the nodes came from: the page's script still draws its wires into it, out of sight */
html.pk #hub-sec .nhb-wrap { display: none; }
html.pk .pk-apps { gap: 2px; }
html.pk .pk-app .nhb-aname { font-size: 12px; line-height: 1; }
html.pk .pk-in .nhb-chip { line-height: 1.3; }
html.pk .pk-graph .nhb-brain { padding: 2px 8px; }

html.pk .pk-role { min-height: 30px; padding: 0 4px; }
html.pk .pk-roles { gap: 3px 8px; }
html.pk .pk-graph .nhb-plate { padding: 1px 8px; }
