/*
 * Enterprise style for the playbooks (/playbooks/ and its guides), matching the home page:
 * navy ink, grey text, hairline dividers, monochrome line art (src/_includes/art/), and the
 * Playfair italic accent. Load after site.css and add class "pg-ent" to <main class="pg">.
 *
 * Colour rule: no decorative colour. Teal only means "complete" (status tags, done steps);
 * amber and red only mean "at risk" and "off track". Mockups of the app (app-ui.css) keep the
 * app's own colours.
 */
.pg.pg-ent {
  --ink: #13233d;
  --body: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e6ebf2;
  --hair: #edf2f9;
  --bg: #f9fcfe;
  --done: #0d7566;
  --done-tint: #e3f6f2;
  background: var(--bg);
}

/* ---------- Type ---------- */
.pg-ent .pg-hero::before { background: radial-gradient(ellipse 72% 42% at 50% 0%, rgba(211, 227, 254, 0.38) 0%, transparent 66%); }
.pg-ent .pg-eyebrow { color: var(--muted); letter-spacing: 0.12em; }
.pg-ent .pg-eyebrow::before { width: 6px; height: 6px; background: var(--ink); }
.pg-ent h1 { font-weight: 900; letter-spacing: -0.04em; }
.pg-ent .pg-accent, .pg-ent .ent-accent {
  background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -0.01em;
}
.pg-ent .pg-lead { color: var(--muted); }
.pg-ent a { color: var(--ink); text-decoration: underline; text-decoration-color: #c4cdd9; text-underline-offset: 3px; }
.pg-ent a:hover { text-decoration-color: var(--ink); }

/* ---------- Buttons ---------- */
.pg-ent .pg-btn { border-radius: 12px; background: var(--ink); border-color: var(--ink); text-decoration: none; box-shadow: 0 4px 16px rgba(19, 35, 61, 0.16); }
.pg-ent .pg-btn:hover { background: #edf2f9; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink); }
.pg-ent .pg-btn.ghost { background: #fff; border-color: var(--line); box-shadow: none; }
.pg-ent .pg-btn.ghost:hover { border-color: var(--ink); background: #fff; box-shadow: none; }
.pg-ent .pg-final { background: var(--ink); }
.pg-ent .pg-final .pg-btn { background: #fff; color: var(--ink) !important; box-shadow: none; }
.pg-ent .pg-final .pg-btn:hover { background: #edf2f9; }
.pg-ent .pg-final .pg-btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.35); }
.pg-ent .pg-final .pg-btn.ghost:hover { background: #fff; color: var(--ink) !important; }

/* ---------- Jump links ---------- */
.pg-ent .pg-toc { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 900px; margin-top: 40px; }
.pg-ent .pg-toc li { display: flex; }
.pg-ent .pg-toc li + li { border-left: 1px solid var(--line); }
.pg-ent .pg-toc a { height: 46px; padding: 0 18px; border: 0; border-radius: 0; background: none; color: var(--ink); font-weight: 650; text-decoration: none; }
.pg-ent .pg-toc a:hover { background: #fff; }
.pg-ent .pg-toc b { color: var(--faint); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .pg-ent .pg-toc { display: grid; grid-template-columns: 1fr 1fr; }
  .pg-ent .pg-toc li + li { border-left: 0; }
  .pg-ent .pg-toc li { border-bottom: 1px solid var(--hair); }
  .pg-ent .pg-toc li:nth-child(even) { border-left: 1px solid var(--hair); }
  .pg-ent .pg-toc a { padding: 0 12px; font-size: 13.5px; }
}

/* ---------- Parts and long text ---------- */
.pg-ent .pg-part { border-top-color: var(--line); padding-top: 56px; }
.pg-ent .pg-part-num { color: var(--muted); }
.pg-ent .prose h2 { font-weight: 850; letter-spacing: -0.03em; }
.pg-ent .prose strong { color: var(--ink); }
.pg-ent .prose th { color: var(--muted); }
.pg-ent .prose td, .pg-ent .prose th { border-bottom-color: var(--line); }
.pg-ent .prose table { background: #fff; border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.pg-ent .prose tr:last-child td { border-bottom: 0; }
.pg-ent .pg-callout, .pg-ent .pg-callout.teal { background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--ink); border-radius: 0 12px 12px 0; }

/* Numbered steps: hairline rows, the number in an open navy circle. */
.pg-ent .pg-steps { gap: 0 !important; border-top: 1px solid var(--line); }
.pg-ent .pg-steps > li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 22px 0 22px 56px; }
.pg-ent .pg-steps > li::before {
  left: 0; top: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 750;
}
.pg-ent .pg-when { background: none; border: 1px solid var(--line); color: var(--muted); font-weight: 650; letter-spacing: 0.02em; }

/* Checklist: a thin navy tick, no fill. */
.pg-ent .pg-checks li::before { top: 6px; width: 16px; height: 16px; border-radius: 50%; background: none; border: 1.5px solid var(--ink); }
.pg-ent .pg-checks li::after { left: 6px; top: 9px; width: 4px; height: 7px; border-color: var(--ink); border-width: 0 1.5px 1.5px 0; }

/* Stats as a hairline row. */
.pg-ent .pg-stats { gap: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.pg-ent .pg-stat { border: 0; border-radius: 0; box-shadow: inset -1px -1px 0 var(--line); }

/* Status tags: the only colour on the page. */
.pg-ent .st { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pg-ent .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pg-ent .st.done { background: var(--done-tint); color: var(--done); }
.pg-ent .st.track { background: #eef2f7; color: #475569; }
.pg-ent .st.risk { background: #fdf3e1; color: #92400e; }
.pg-ent .st.off { background: #fde8e8; color: #991b1b; }

/* ---------- Line-art grid (like the home page's value grid) ---------- */
.ent-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ent-values.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ent-value { padding: 32px 28px; color: var(--body) !important; text-decoration: none !important; }
.ent-values > .ent-value { box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.ent-value .art { display: block; width: 150px; height: auto; margin: 0 auto 22px; color: var(--ink); }
.ent-value h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; font-weight: 800; }
.ent-value p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ent-value .pg-more { display: inline-block; margin-top: 14px; color: var(--ink); font-size: 14.5px; font-weight: 700; }
.ent-value .pg-more::after { content: " →"; }
a.ent-value { transition: background 0.2s; }
a.ent-value:hover { background: #fff; }
.ent-value .ent-kicker { display: block; margin: 0 0 8px; color: var(--faint); font-size: 12px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.prose .ent-values { margin-left: 0; margin-right: 0; }
.prose .ent-value { padding: 26px 20px; }
.prose .ent-value h3 { margin-top: 0; font-size: 17px; }
.prose .ent-value p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .ent-values.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ent-values, .ent-values.three { grid-template-columns: 1fr; }
  .ent-values > .ent-value { box-shadow: inset 0 -1px 0 var(--line); padding: 28px 4px; }
}

/* A diagram drawn in line art, with labels, used to explain a concept. */
.ent-diagram { margin: 32px 0; padding: 28px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.ent-diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.ent-diagram text { fill: var(--ink); font-family: Figtree, sans-serif; font-size: 12.5px; font-weight: 650; }
.ent-diagram text.sub { fill: var(--muted); font-size: 11px; font-weight: 500; }
.ent-diagram figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }
.ent-diagram .narrow { display: none; }
@media (max-width: 560px) {
  .ent-diagram { padding: 20px 14px 16px; }
  .ent-diagram .wide { display: none; }
  .ent-diagram .narrow { display: block; }
}

/* ---------- Hub cards in a hairline grid ---------- */
.pg-ent .pg-section-head h2 { font-weight: 850; letter-spacing: -0.03em; }

/* ---------- Template bar ---------- */
.pg-ent .pg-sticky { background: var(--ink); border-radius: 14px; box-shadow: 0 10px 30px rgba(19, 35, 61, 0.22); }
.pg-ent .pg-sticky-icon { background: none; border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; }
.pg-ent .pg-sticky .pg-btn { background: #fff; color: var(--ink) !important; box-shadow: none; }
.pg-ent .pg-sticky .pg-btn:hover { background: #edf2f9; }

/* "In English" tag on a card in another language. */
.pg-ent .pg-tag.untranslated { display: inline-flex; margin: 0 0 10px; background: #fff; border: 1px solid var(--line); color: var(--muted); }

/* ---------- Diagrams built from HTML (they reflow on phones) ---------- */
.ent-fig { margin: 32px 0; padding: 26px 24px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ent-fig-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 22px; color: var(--ink); font-size: 15px; font-weight: 800; }
.ent-fig-title span { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.ent-fig figcaption { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Timeline: nodes on a line. Open circles; .key is filled. Vertical on narrow screens. */
.prose ol.ent-timeline, .ent-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.ent-timeline > li { position: relative; margin: 0; padding: 26px 10px 0 0; font-size: 13.5px; line-height: 1.4; }
.ent-timeline > li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1.5px solid var(--ink); }
.ent-timeline > li:last-child::before { right: auto; width: 24px; border-top-style: dashed; opacity: 0.4; }
.ent-timeline > li::after { content: ""; position: absolute; left: 0; top: 1px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); box-sizing: border-box; }
.ent-timeline > li.key::after { background: var(--ink); width: 15px; height: 15px; top: 0; }
.ent-timeline .when { display: block; margin: 0 0 4px; color: var(--muted); font-size: 11.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.ent-timeline b { display: block; color: var(--ink); font-weight: 750; }
.ent-timeline small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.ent-timeline.vertical, .ent-fig.narrow-stack .ent-timeline { grid-auto-flow: row; }
.ent-timeline.vertical > li { padding: 0 0 18px 30px; }
.ent-timeline.vertical > li::before { left: 6px; right: auto; top: 8px; bottom: -8px; border-top: 0; border-left: 1.5px solid var(--ink); }
.ent-timeline.vertical > li:last-child::before { display: none; }
.ent-timeline.vertical > li::after { top: 2px; }
@media (max-width: 640px) {
  .ent-timeline { grid-auto-flow: row; }
  .ent-timeline > li { padding: 0 0 18px 30px; }
  .ent-timeline > li::before { left: 6px; right: auto; top: 8px; bottom: -8px; width: auto; border-top: 0; border-left: 1.5px solid var(--ink); }
  .ent-timeline > li:last-child::before { display: none; }
  .ent-timeline > li::after { top: 2px; }
  .ent-timeline > li.key::after { top: 1px; }
}

/* Agenda: one bar split by minutes (--m on each block). The highlighted block is navy. */
.ent-agenda { display: flex; gap: 3px; margin: 0; padding: 0; list-style: none; }
.prose .ent-agenda { padding: 0; }
.ent-agenda > li { flex: var(--m) 1 0; min-width: 84px; margin: 0; }
.ent-agenda b { padding-right: 6px; }
.ent-agenda .bar { display: block; height: 34px; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; }
.ent-agenda .hl .bar { background: var(--ink); }
.ent-agenda b { display: block; margin-top: 8px; color: var(--ink); font-size: 12.5px; font-weight: 750; line-height: 1.25; }
.ent-agenda small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 640px) {
  .ent-agenda { flex-direction: column; gap: 10px; }
  .ent-agenda > li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 7em; align-items: center; gap: 2px 12px; }
  .ent-agenda .bar { grid-column: 1; grid-row: 1 / span 2; height: 22px; width: calc(var(--m) * 5%); min-width: 14px; max-width: 100%; }
  .ent-agenda b, .ent-agenda small { grid-column: 2; margin: 0; }
}

/* Status bar: share of objectives in each status (--n on each segment). Colour = status only. */
.ent-status { display: flex; gap: 3px; height: 14px; margin: 0 0 12px; }
.ent-status > span { flex: var(--n) 1 0; border-radius: 4px; }
.ent-status .done, .ent-legend .done::before { background: #15bba4; }
.ent-status .track, .ent-legend .track::before { background: #94a3b8; }
.ent-status .risk, .ent-legend .risk::before { background: #f59e0b; }
.ent-status .off, .ent-legend .off::before { background: #ef4444; }
.ent-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.ent-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }
.ent-legend b { color: var(--ink); }
.ent-rows { border-top: 1px solid var(--hair); }
.ent-rows > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.ent-rows > div:last-child { border-bottom: 0; }
.ent-rows b { color: var(--ink); font-weight: 750; }
.ent-rows .grow { flex: 1; min-width: 12em; color: var(--muted); }

/* ---------- Hub: coloured type tags, hover, topic filter ----------
   Tags are the one place with brand colour on the hub. Mint/teal stays reserved for "complete". */
.ent-tag { display: inline-flex; align-items: center; height: 24px; margin: 0 0 10px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.ent-tag.blue { background: #eef1ff; color: #2f45b8; }
.ent-tag.indigo { background: #e9ecfb; color: #13233d; }
.ent-tag.violet { background: #f1edff; color: #5b3fc4; }
.ent-tag.sky { background: #e6f2fa; color: #1d628d; }
.ent-tag.rose { background: #fdeef2; color: #a3305a; }
.ent-tag.sand { background: #f6f0e4; color: #765717; }
.ent-tag.slate { background: #eef2f7; color: #334155; }
.ent-value .pg-tag.untranslated + .ent-tag { margin-left: 6px; }

/* Card hover: the card lifts and "Read the playbook" turns into an outlined button. */
a.ent-value { position: relative; transition: background 0.2s, transform 0.25s cubic-bezier(.23, 1, .32, 1), box-shadow 0.25s; }
a.ent-value:hover { background: #fff; transform: translateY(-3px); box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line), 0 14px 32px rgba(19, 35, 61, 0.08); z-index: 1; }
a.ent-value:hover .art { opacity: 1; }
.ent-value .pg-more {
  display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0 -12px; padding: 7px 12px;
  border: 1.5px solid transparent; border-radius: 10px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.ent-value .pg-more::after { content: "→"; transition: transform 0.25s cubic-bezier(.23, 1, .32, 1); }
a.ent-value:hover .pg-more, a.ent-value:focus-visible .pg-more { border-color: var(--ink); background: #fff; box-shadow: 0 4px 12px rgba(19, 35, 61, 0.1); }
a.ent-value:hover .pg-more::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { a.ent-value, a.ent-value:hover, .ent-value .pg-more::after { transform: none !important; transition: none; } }

/* Topic filter under the hub hero. */
.ent-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px auto 0; max-width: 860px; }
.ent-filter[hidden] { display: none; }
.ent-filter button {
  height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.ent-filter button:hover { border-color: var(--ink); transform: translateY(-1px); }
.ent-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ent-values > [hidden], .pg-section[hidden] { display: none !important; }

/* ---------- Landing pages (one search term, one template) ---------- */
.ent-land-hero { padding: 64px 0 48px; }
.ent-land-hero .pg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; text-align: left; }
.ent-land-hero h1 { margin-left: 0; font-size: clamp(36px, 5vw, 56px); }
.ent-land-hero .pg-lead { margin-left: 0; }
.ent-land-hero .pg-ctas { justify-content: flex-start; }
.ent-land-hero figure.ui { margin: 0; }
.ent-quick { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: var(--body); font-size: 15.5px; }
.ent-quick li { position: relative; padding-left: 28px; }
.ent-quick li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink); }
.ent-quick li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 4px; height: 7px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
@media (max-width: 900px) {
  .ent-land-hero { padding-top: 48px; }
  .ent-land-hero .pg-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
.ent-band { padding: 56px 0; border-top: 1px solid var(--line); }
.ent-band .pg-section-head { margin-bottom: 8px; }
.ent-band .ent-values { margin-bottom: 0; }
.ent-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.ent-compare th, .ent-compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ent-compare tr:last-child td { border-bottom: 0; }
.ent-compare th { color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.ent-compare td:first-child { color: var(--ink); font-weight: 700; }
.ent-compare td.yes { color: var(--ink); }
.ent-compare td.no { color: var(--muted); }
.ent-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .ent-related { grid-template-columns: minmax(0, 1fr); } }
.ent-start-demo { margin: 20px 0 0; color: var(--muted); font-size: 15.5px; text-align: center; }
.ent-related > .ent-value { box-shadow: inset -1px 0 0 var(--line); }
@media (max-width: 760px) { .ent-related > .ent-value { box-shadow: inset 0 -1px 0 var(--line); } }
.pg-micro.ent-dwy { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.prose .ent-standalone { margin: -4px 0 20px; font-size: 15px; font-weight: 650; }

/* ---------- Nova app mockups, in the app's current list style ----------
   Flat rows with hairlines, small radius, square avatars, plain numbers, status as a dot pill.
   Teal only for "Done"; the light indigo only for the one item that is in progress.
   <div class="ui-frame nq"> with .nq-head, .nq-row (.done .active .todo .risk .off), .nq-stats. */
figure.ui .ui-frame.nq { background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; box-shadow: 0 1px 2px rgba(19, 35, 61, 0.04), 0 8px 24px rgba(19, 35, 61, 0.05); font-size: 13.5px; color: #13233d; }
.nq-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 16px; border-bottom: 1px solid #edf1f6; }
.nq-icon { width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: #13233d; color: #fff; font-size: 14px; flex: none; }
.nq-head b { font-size: 15px; font-weight: 750; }
.nq-meta { color: #64748b; font-size: 13px; }
.nq-head .grow { flex: 1; }
.nq-note { padding: 10px 16px; border-bottom: 1px solid #edf1f6; color: #64748b; font-size: 13px; }
.nq-note b { color: #13233d; font-weight: 700; }
.nq-row { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto minmax(92px, max-content); align-items: center; gap: 4px 12px; padding: 11px 16px 11px 20px; border-bottom: 1px solid #edf1f6; }
.nq-row:last-child { border-bottom: 0; }
.nq-row::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: #d5dce6; }
.nq-row.done::before { background: #15bba4; }
.nq-row.active::before { background: #5170ff; }
.nq-row.risk::before { background: #f59e0b; }
.nq-row.off::before { background: #ef4444; }
.nq-num { color: #94a3b8; font-size: 13px; font-variant-numeric: tabular-nums; }
.nq-main { min-width: 0; }
.nq-main b { display: block; font-size: 14px; font-weight: 650; line-height: 1.3; }
.nq-row.done .nq-main b { color: #64748b; font-weight: 600; }
.nq-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; color: #64748b; font-size: 12.5px; }
.nq-sub svg.lucide { width: 13px; height: 13px; }
.nq-who { display: flex; }
.nq-av { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.nq-av + .nq-av { margin-left: -4px; }
.nq-av.c1 { background: #3d8fd6; } .nq-av.c2 { background: #e0a033; } .nq-av.c3 { background: #d6488c; } .nq-av.c4 { background: #58c3a6; } .nq-av.c5 { background: #7c6fd6; } .nq-av.c6 { background: #64748b; }
.nq-av.ai { background: #4f63e8; }
.nq-av.ai::after { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #fff; }
.nq-st { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; background: #f1f4f8; color: #64748b; font-size: 12px; font-weight: 650; white-space: nowrap; }
.nq-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nq-st.done { background: #e3f6f2; color: #0d7566; }
.nq-st.active { background: #eef0ff; color: #3b4fd8; }
.nq-st.risk { background: #fdf3e1; color: #92400e; }
.nq-st.off { background: #fde8e8; color: #991b1b; }
.nq-st.plain::before { display: none; }
.nq-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid #e3e8ef; border-radius: 5px; color: #475569; font-size: 11.5px; font-weight: 600; }
.nq-cat { display: inline-flex; align-items: center; gap: 6px; color: #475569; font-size: 12.5px; font-weight: 650; }
.nq-cat svg.lucide { width: 14px; height: 14px; color: #64748b; }
.nq-ai { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #edf1f6; color: #475569; font-size: 13px; }
.nq-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 7px; background: #13233d; color: #fff; font-size: 12.5px; font-weight: 700; }
.nq-btn.ghost { background: #fff; color: #13233d; border: 1px solid #d8dfe8; }
.nq-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #edf1f6; }
.nq-stats > div { padding: 10px 14px; border-right: 1px solid #edf1f6; }
.nq-stats > div:last-child { border-right: 0; }
.nq-stats span { display: block; color: #64748b; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.nq-stats b { font-size: 20px; font-weight: 800; }
.nq-stats .zero b { color: #c3cbd6; }
@container ui (max-width: 520px) {
  .nq-row { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .nq-row .nq-st { grid-column: 2; grid-row: 2; }
  .nq-row .nq-who { grid-column: 3; grid-row: 1; }
  .nq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nq-stats > div:nth-child(2) { border-right: 0; }
  .nq-stats > div:nth-child(-n+2) { border-bottom: 1px solid #edf1f6; }
}

/* ---------- Less round, less light blue (enterprise pass) ---------- */
.pg-ent .pg-btn { border-radius: 8px; }
.pg-ent .pg-sticky { border-radius: 10px; }
.pg-ent .pg-sticky-icon { border-radius: 7px; }
.ent-filter button { border-radius: 8px; }
.ent-tag { border-radius: 5px; }
.ent-tag.sky { background: #edf0f4; color: #13233d; }
.ent-tag.indigo { background: #f5eef5; color: #7a2e78; }
.ent-value .pg-more { border-radius: 7px; }
.ent-fig, .pg-ent .prose table, .ent-compare, .pg-ent .pg-stats { border-radius: 8px; }
.pg-ent .pg-callout, .pg-ent .pg-callout.teal { border-radius: 0 8px 8px 0; }
.pg-ent .pg-when { border-radius: 5px; }
.pg-ent .st { border-radius: 5px; }
.pg-ent .pg-steps > li::before { border-radius: 8px; width: 30px; height: 30px; font-size: 13.5px; }
.ent-agenda .bar { border-radius: 4px; }
.ent-status > span { border-radius: 3px; }

/* ---------- Video previews (src/_includes/video.html) ---------- */
.ent-video { margin: 28px 0; }
.ent-video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid #e3e8ef; border-radius: 10px; background: #13233d; cursor: pointer; box-shadow: 0 1px 2px rgba(19, 35, 61, 0.04), 0 12px 32px rgba(19, 35, 61, 0.08); }
.ent-video-frame img, .ent-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.ent-video-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.2s, background 0.2s; }
.ent-video-play svg { width: 24px; height: 24px; fill: #13233d; }
.ent-video-frame:hover .ent-video-play, .ent-video-frame:focus-visible .ent-video-play { transform: translate(-50%, -50%) scale(1.06); background: #edf2f9; }
.ent-video figcaption { margin-top: 10px; color: var(--muted, #64748b); font-size: 14px; }
.ent-video-band { padding: 8px 0 48px; }
.ent-video-band .pg-wrap { max-width: 920px; }
.ent-video-band .pg-section-head { margin-bottom: 4px; }
.ent-land-hero .pg-crumbs { margin-bottom: 14px; }
.pg-ent .pg-crumbs a { text-decoration: none; }
.pg-micro.ent-trust { margin-top: 12px; }

/* ---------- Phone fixes ---------- */
@media (max-width: 640px) {
  .prose ol.ent-timeline, .ent-timeline { grid-auto-flow: row; }
  .ent-land-hero .pg-ctas .pg-btn, .pg-ent .pg-hero .pg-ctas .pg-btn { flex: 1 1 100%; }
  .pg-ent .pg-final .pg-ctas .pg-btn { flex: 1 1 100%; max-width: 360px; }
  .ent-compare { font-size: 14px; }
  .ent-compare th, .ent-compare td { padding: 10px 10px; }
  .ent-band, .ent-video-band { padding-top: 40px; padding-bottom: 40px; }
  .ent-fig { padding: 20px 16px 16px; }
}

/* Phone tables: one card per row, each cell labelled with its column (stack-tables.html). */
@media (max-width: 640px) {
  .pg-ent .prose table.stacks, .pg-ent .prose table.stacks tbody { display: block; border: 0; background: none; }
  .pg-ent .prose table.stacks thead { display: none; }
  .pg-ent .prose table.stacks tr { display: block; margin: 0 0 10px; padding: 4px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
  .pg-ent .prose table.stacks td { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
  .pg-ent .prose table.stacks td:last-child { border-bottom: 0; }
  .pg-ent .prose table.stacks td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
  .pg-ent .prose table.stacks td:first-child { display: block; color: var(--ink); font-weight: 750; }
  .pg-ent .prose table.stacks td:first-child::before { display: none; }
  .pg-ent .prose .table-scroll:has(table.stacks) { overflow: visible; }
}

/* Template bar: slides in after the hero buttons (sticky-bar.html). */
.pg-ent .pg-sticky { transition: opacity 0.25s, transform 0.3s cubic-bezier(.23, 1, .32, 1); }
.pg-ent .pg-sticky.is-away { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
.pg-ent .pg-sticky .pg-btn svg.lucide, .pg-ent .pg-btn svg.lucide { width: 17px; height: 17px; transition: transform 0.2s; }
.pg-ent .pg-btn:hover svg.lucide { transform: translateX(3px); }
.pg-ent .pg-sticky .pg-btn { font-weight: 800 !important; padding: 0 16px 0 20px; }
@media (prefers-reduced-motion: reduce) { .pg-ent .pg-sticky { transition: none; } }

/* Template bar with two buttons: an expert (opens the request form) and the template. */
.pg-sticky-ctas { display: flex; gap: 8px; flex: none; }
.pg-ent .pg-sticky .pg-btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.35); box-shadow: none; }
.pg-ent .pg-sticky .pg-btn.ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.pg-ent .pg-sticky { width: min(860px, calc(100% - 24px)); }
@media (max-width: 760px) {
  .pg-ent .pg-sticky-text { display: none; }
  .pg-ent .pg-sticky-icon { display: none; }
  .pg-ent .pg-sticky { padding: 8px; }
  .pg-sticky-ctas { flex: 1; }
  .pg-sticky-ctas .pg-btn { flex: 1 1 0; min-width: 0; padding: 0 10px !important; font-size: 13.5px; white-space: normal; text-align: center; line-height: 1.2; }
}
@media (max-width: 760px) {
  .pg-sticky-ctas .pg-btn.ghost { flex: 1.45 1 0; }
  .pg-sticky-ctas .pg-btn { font-size: 13px; letter-spacing: -0.01em; }
  .pg-sticky-ctas .pg-btn svg.lucide { width: 15px; height: 15px; }
}
.nq-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nq-search { display: inline-flex; align-items: center; gap: 6px; height: 26px; min-width: 150px; margin-right: 6px; padding: 0 10px; border: 1px solid #d8dfe8; border-radius: 6px; background: #fff; color: #94a3b8; font-size: 12.5px; }
.nq-search svg.lucide { width: 13px; height: 13px; }
.nq-chip.on { background: #13233d; border-color: #13233d; color: #fff; }

/* ---------- Demo block (src/_includes/demo-block.html) ---------- */
.ent-demo { background: #fff; }
.ent-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ent-demo h2 { margin-bottom: 12px; }
.ent-demo-lead { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.ent-demo .pg-ctas { justify-content: flex-start; }
.ent-demo-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: demo; }
.ent-demo-list li { position: relative; padding: 16px 0 16px 46px; border-bottom: 1px solid var(--line); counter-increment: demo; }
.ent-demo-list li::before { content: counter(demo); position: absolute; left: 0; top: 16px; width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 13.5px; font-weight: 750; }
.ent-demo-list b { display: block; color: var(--ink); font-size: 16px; }
.ent-demo-list span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .ent-demo-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Three videos in a row (executive operating system page). One column on phones. */
.ent-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ent-videos .ent-video { margin: 0; }
.ent-videos .ent-video figcaption b { display: block; color: var(--ink); font-size: 15px; }
.ent-videos .ent-video-play { width: 56px; height: 40px; }
@media (max-width: 900px) { .ent-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ent-videos { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
