/* /playbooks/how-teams-work/: styles from the WordPress page https://novatools.org/training-how-teams-work/ (ported by scripts/port/port.mjs) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  /* Enterprise palette (matches the home page and src/css/playbooks.css): navy ink, grey text,
     hairlines, no decorative colour. */
  :root {
    --bg-page: #f9fcfe;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fcfe;
    --text-primary: #13233d;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-hint: #94a3b8;
    --border: #e6ebf2;
    --border-mid: #d5dce7;
    --hair: #edf2f9;
    --accent: #13233d;
    --accent-dark: #13233d;
    --accent-light: #ffffff;
    --accent-mid: #94a3b8;
    --ch-num-color: #94a3b8;
    --serif: 'Playfair Display',Georgia,'Times New Roman',serif;
    --sans: 'Figtree',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  }
  .interface-book-root { font-family:var(--sans); background:var(--bg-page); color:var(--text-primary); line-height:1.6; padding:3.5rem 1rem 5rem; box-sizing:border-box; position:relative; }
  .interface-book-root::before { content:""; position:absolute; inset:0 0 auto 0; height:520px; background:radial-gradient(ellipse 72% 60% at 50% 0%, rgba(211,227,254,.38) 0%, transparent 70%); pointer-events:none; }
  .interface-book-root .book-wrap { position:relative; max-width:720px; margin:0 auto; background:var(--bg-primary); border-radius:18px; border:1px solid var(--border); padding:3.5rem 3rem 3rem; }
  @media(max-width:600px){ .interface-book-root .book-wrap{padding:2rem 1.25rem 2rem;border-radius:14px;} .interface-book-root{padding:1.5rem 12px 3rem;} }


  .lang-body { display: block; }
  .lang-body[hidden] { display: none; }
  .chapter { display:none; padding:2rem 0 2.5rem; }
  .chapter.active { display:block; }
  /* cover */
  .cover-label { font-size:12px; font-weight:700; letter-spacing:.12em; color:var(--text-muted); text-transform:uppercase; margin-bottom:1.5rem; }
  .cover-title { font-family:var(--sans); font-size:48px; font-weight:900; letter-spacing:-.04em; line-height:1.05; color:var(--text-primary); margin-bottom:.9rem; }
  .cover-sub { font-family:var(--serif); font-style:italic; font-weight:500; font-size:21px; color:var(--text-primary); margin-bottom:2.25rem; line-height:1.5; }
  .cover-rule { width:44px; height:2px; background:var(--accent); border:none; margin-bottom:2.25rem; }
  .cover-meta { font-size:13.5px; color:var(--text-muted); line-height:1.9; }
  .cover-intro { margin-top:2.5rem; padding:1.25rem 1.5rem; background:#fff; border:1px solid var(--border); border-left:2px solid var(--accent); border-radius:0 12px 12px 0; }
  .cover-intro p { font-size:15px; color:var(--text-secondary); line-height:1.8; }
  /* chapter headers */
  .ch-eyebrow { font-size:12px; font-weight:700; letter-spacing:.12em; color:var(--text-muted); text-transform:uppercase; margin-bottom:.5rem; }
  .ch-num { font-family:var(--serif); font-style:italic; font-size:64px; font-weight:500; line-height:1; color:var(--ch-num-color); margin-bottom:.5rem; opacity:.6; }
  .ch-title { font-family:var(--sans); font-size:32px; font-weight:850; letter-spacing:-.03em; color:var(--text-primary); margin-bottom:.6rem; line-height:1.15; }
  .ch-deck { font-size:19px; color:var(--text-primary); margin-bottom:2rem; font-family:var(--serif); font-style:italic; font-weight:500; line-height:1.5; }
  .ch-header-rule { width:36px; height:2px; background:var(--accent); border:none; margin-bottom:2rem; }
  /* body */
  .body-text { font-size:16px; color:var(--text-secondary); line-height:1.8; margin-bottom:1.25rem; }
  /* pull quote */
  .pull-quote { border-left:2px solid var(--accent); padding:.4rem 1rem .4rem 1.25rem; margin:2rem 0; }
  .pull-quote p { font-family:var(--serif); font-size:19px; font-weight:500; line-height:1.55; color:var(--text-primary); font-style:italic; }
  .pull-quote cite { font-size:12px; color:var(--text-muted); font-style:normal; display:block; margin-top:.5rem; }
  /* spotlight */
  .spotlight { background:#fff; border:1px solid var(--border); border-left:2px solid var(--accent); border-radius:0 12px 12px 0; padding:1.15rem 1.4rem; margin:1.25rem 0; }
  .spotlight-label { font-size:11.5px; font-weight:700; letter-spacing:.12em; color:var(--text-muted); text-transform:uppercase; margin-bottom:.55rem; }
  .spotlight-title { font-size:16px; font-weight:800; color:var(--text-primary); margin-bottom:.4rem; letter-spacing:-.01em; }
  .spotlight p { font-size:14.5px; color:var(--text-secondary); line-height:1.7; }
  .section-rule { border:none; border-top:1px solid var(--border); margin:2rem 0; }
  /* finding rows */
  .finding-row { display:flex; gap:1rem; margin:1.5rem 0; align-items:flex-start; }
  .finding-num { font-family:var(--sans); font-size:22px; font-weight:800; color:var(--text-primary); flex-shrink:0; line-height:1.1; width:36px; font-variant-numeric:tabular-nums; }
  .finding-body { flex:1; }
  .finding-body strong { font-size:15px; font-weight:800; color:var(--text-primary); display:block; margin-bottom:.2rem; }
  .finding-body span { font-size:14px; color:var(--text-muted); line-height:1.65; }
  /* TOC */
  .toc-item { display:flex; align-items:baseline; gap:1rem; padding:.8rem 0; border-bottom:1px solid var(--border); cursor:pointer; }
  .toc-item:hover .toc-ch-title { color:var(--text-muted); }
  .toc-num { font-size:13px; font-weight:700; color:var(--text-hint); width:34px; flex-shrink:0; font-variant-numeric:tabular-nums; }
  .toc-ch-title { font-size:15.5px; font-weight:650; color:var(--text-primary); flex:1; transition:color .15s; }
  .toc-author { font-size:12px; color:var(--text-hint); }
  /* layer blocks */
  .layer-block { display:flex; gap:1rem; margin:1rem 0; align-items:flex-start; }
  .layer-badge { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:750; flex-shrink:0; margin-top:0; background:#fff; border:1.5px solid var(--accent); color:var(--accent); }
  .layer-badge.l1, .layer-badge.l2, .layer-badge.l3 { background:#fff; color:var(--accent); }
  .layer-body strong { font-size:15px; font-weight:800; color:var(--text-primary); display:block; margin-bottom:.2rem; }
  .layer-body span { font-size:14px; color:var(--text-muted); line-height:1.6; }
  /* myth pills */
  .myth-grid { display:flex; flex-wrap:wrap; gap:.45rem; margin:1.25rem 0; }
  .myth-pill { font-size:12.5px; font-weight:600; padding:.3rem .8rem; border-radius:999px; border:1px solid var(--border); color:var(--text-muted); background:#fff; line-height:1.4; }
  .myth-pill.danger, .myth-pill.warn, .myth-pill.info { background:#fff; color:var(--text-muted); border-color:var(--border); }
  /* level rows */
  .level-row { display:flex; gap:1rem; margin:0; align-items:flex-start; padding:1rem 0; background:none; border:0; border-bottom:1px solid var(--border); border-radius:0; }
  .level-badge { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:750; flex-shrink:0; flex-direction:column; gap:0; background:#fff; border:1.5px solid var(--accent); color:var(--accent); }
  .level-badge .lnum { font-size:16px; font-weight:800; line-height:1; }
  .level-badge .ltxt { font-size:8px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); }
  .level-row-body strong { font-size:15px; font-weight:800; color:var(--text-primary); display:block; margin-bottom:.15rem; }
  .level-row-body em { font-size:15px; color:var(--text-primary); font-family:var(--serif); font-style:italic; font-weight:500; }
  .level-row-body p { font-size:13.5px; color:var(--text-muted); line-height:1.6; margin-top:.3rem; }
  /* axioms */
  .axiom-block { border-left:2px solid var(--accent); padding:.6rem 1rem .6rem 1.25rem; margin:1.5rem 0; }
  .axiom-label { font-size:11.5px; font-weight:700; letter-spacing:.12em; color:var(--text-muted); text-transform:uppercase; margin-bottom:.3rem; }
  .axiom-title { font-size:16px; font-weight:800; color:var(--text-primary); margin-bottom:.4rem; }
  .axiom-rule { font-size:14px; color:var(--text-secondary); line-height:1.65; margin-bottom:.3rem; }
  .axiom-because { font-size:13px; color:var(--text-muted); line-height:1.7; font-style:italic; }
  /* presence cols */
  .presence-cols { display:flex; gap:1rem; margin:2rem 0; flex-wrap:wrap; }
  .presence-col { flex:1; min-width:220px; padding:1.1rem 1.25rem; border-radius:12px; border:1px solid var(--border); background:#fff; }
  .signal-item { font-size:13.5px; color:var(--text-secondary); padding:.4rem 0; border-bottom:1px solid var(--hair); line-height:1.5; }
  .signal-item:last-child { border-bottom:none; }
  .red-flag { font-size:11px; font-weight:700; color:var(--text-muted); background:#fff; border:1px solid var(--border); padding:.1rem .45rem; border-radius:6px; margin-right:.35rem; }
  /* nova principles */
  .nova-principle { padding:1.1rem 0 1.1rem 0; border-radius:0; background:none; border:0; border-bottom:1px solid var(--border); margin:0; }
  .np-num { font-family:var(--serif); font-style:italic; font-size:26px; font-weight:500; color:var(--text-hint); line-height:1; margin-bottom:.35rem; }
  .np-title { font-size:15px; font-weight:800; color:var(--text-primary); margin-bottom:.25rem; }
  .np-body { font-size:14px; color:var(--text-secondary); line-height:1.65; margin-bottom:.3rem; }
  .np-question { font-size:15px; color:var(--text-primary); font-family:var(--serif); font-style:italic; font-weight:500; }
  .np-flag { font-size:12px; color:var(--text-muted); margin-top:.3rem; }
  /* summary grid */
  .summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin:1.5rem 0; border-top:1px solid var(--border); }
  .summary-card { background:none; border-radius:0; padding:1.75rem 1.25rem 1.6rem; border:0; border-bottom:1px solid var(--border); min-width:0; }
  .summary-card:nth-child(odd) { border-right:1px solid var(--border); padding-left:0; }
  .summary-card:nth-child(even) { padding-right:0; }
  .sc-art { display:flex; justify-content:center; margin-bottom:1rem; color:var(--accent); }
  .sc-art .art { width:132px; height:auto; display:block; }
  .sc-label { font-size:11.5px; font-weight:700; color:var(--text-hint); margin-bottom:.4rem; text-transform:uppercase; letter-spacing:.12em; }
  .sc-name { font-size:16px; font-weight:800; color:var(--text-primary); margin-bottom:.35rem; letter-spacing:-.01em; }
  .sc-insight { font-size:13.5px; color:var(--text-muted); line-height:1.6; }
  /* principle items */
  .principle-item { display:flex; gap:.75rem; margin:.85rem 0; align-items:flex-start; }
  .principle-dot { width:8px; height:8px; border-radius:50%; background:none; border:1.5px solid var(--accent); flex-shrink:0; margin-top:8px; }
  .principle-body { font-size:15px; color:var(--text-secondary); line-height:1.7; }
  .principle-body strong { font-weight:800; color:var(--text-primary); }
  /* closing quote */
  .closing-quote { margin-top:2rem; padding:1.5rem 0 0; border-top:1px solid var(--border); }
  .closing-quote p { font-family:var(--serif); font-size:19px; font-weight:500; color:var(--text-primary); line-height:1.7; font-style:italic; }
  .closing-quote cite { font-size:12px; color:var(--text-muted); font-style:normal; display:block; margin-top:.65rem; }
  /* hero quotes */
  .hero-quote { margin:2.5rem 0; padding:2.75rem 2rem 1.75rem; background:var(--bg-secondary); border-radius:14px; border:1px solid var(--border); text-align:center; position:relative; }
  .hero-quote::before { content:'\201C'; font-family:var(--serif); font-size:64px; line-height:1; color:var(--text-hint); opacity:.6; position:absolute; top:10px; left:50%; transform:translateX(-50%); pointer-events:none; }
  .hero-quote-text { font-family:var(--serif); font-style:italic; font-size:21px; font-weight:500; line-height:1.55; color:var(--text-primary); margin-bottom:1rem; position:relative; z-index:1; }
  .hero-quote-text em { font-style:italic; color:var(--text-primary); font-weight:600; }
  .hero-quote-cite { font-size:12px; font-weight:700; color:var(--text-muted); letter-spacing:.12em; text-transform:uppercase; }
  /* compare table (dead vs live) */
  .compare-table { width:100%; border-collapse:separate; border-spacing:0; margin:1.5rem 0; font-size:13.5px; background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
  .compare-table th { padding:.7rem .85rem; text-align:left; font-weight:700; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; border-bottom:1px solid var(--border); background:var(--bg-secondary); }
  .compare-table th:first-child { color:var(--text-hint); border-right:1px solid var(--border); }
  .compare-table th:last-child { color:var(--text-primary); }
  .compare-table td { padding:.6rem .85rem; color:var(--text-secondary); border-bottom:1px solid var(--hair); vertical-align:top; line-height:1.5; }
  .compare-table td:first-child { color:var(--text-hint); border-right:1px solid var(--border); }
  .compare-table td:last-child { color:var(--text-primary); }
  .compare-table tr:last-child td { border-bottom:none; }
  /* noise protector section */
  .noise-quote { margin:1.5rem 0; padding:1rem 1.25rem; border-radius:0 12px 12px 0; background:#fff; border:1px solid var(--border); border-left:2px solid var(--accent); }
  .noise-quote-text { font-family:var(--serif); font-size:19px; font-weight:500; color:var(--text-primary); font-style:italic; line-height:1.5; }
  .noise-quote-auth { font-size:11.5px; font-weight:700; color:var(--text-muted); margin-top:.5rem; letter-spacing:.12em; text-transform:uppercase; }
  /* CTA */
  .cta-block { margin:2.5rem 0 .5rem; text-align:center; }
  .cta-btn { display:inline-block; padding:.9rem 2rem; background:var(--accent); color:#fff; font-size:15px; font-weight:800; border-radius:12px; text-decoration:none; letter-spacing:.01em; cursor:pointer; border:1px solid var(--accent); font-family:var(--sans); transition:background .2s,color .2s; }
  .cta-btn:hover { background:#fff; color:var(--accent); }
  .cta-label { font-size:12.5px; color:var(--text-hint); margin-top:.75rem; }
  .cta-final { margin:2.5rem 0 1rem; padding:2.25rem 2rem; border-radius:16px; background:var(--accent); border:0; text-align:center; }
  .cta-final h3 { font-family:var(--sans); font-size:24px; font-weight:850; letter-spacing:-.02em; color:#fff; margin-bottom:.5rem; }
  .cta-final p { font-size:15px; color:#c4cdd9; margin-bottom:1.5rem; line-height:1.65; }
  /* nav */
  .nav-bar { display:flex; align-items:center; justify-content:space-between; padding:1.25rem 0 0; border-top:1px solid var(--border); margin-top:1.5rem; flex-wrap:wrap; gap:.5rem; }

  /* Language switcher */
  .lang-switcher { display:flex; align-items:center; justify-content:flex-end; gap:.5rem; margin-bottom:2rem; }
  .lang-btn { background:#fff; border:1px solid var(--border); border-radius:8px; padding:.25rem .7rem; font-size:12px; font-weight:700; color:var(--text-muted); cursor:pointer; font-family:var(--sans); letter-spacing:.06em; transition:all .15s; line-height:normal; text-decoration:none; }
  .lang-btn.active { background:var(--accent); color:#fff; border-color:var(--accent); }
  .lang-btn:not(.active):hover { background:var(--bg-secondary); }
  .lang-sep { font-size:12px; color:var(--text-hint); }
  .nav-left { display:flex; gap:.5rem; align-items:center; }
  .nav-btn { background:#fff; border:1px solid var(--border); border-radius:10px; padding:.5rem 1rem; font-size:13.5px; font-weight:700; color:var(--text-primary); cursor:pointer; font-family:var(--sans); transition:border-color .12s; }
  .nav-btn:disabled { opacity:.3; cursor:default; }
  .nav-btn:not(:disabled):hover { border-color:var(--accent); }
  .nav-index-btn { background:#fff; border:1px solid var(--border); border-radius:10px; padding:.45rem .6rem; color:var(--text-primary); cursor:pointer; font-family:var(--sans); transition:border-color .12s; line-height:0; }
  .nav-index-btn svg { width:18px; height:18px; stroke-width:1.75; }
  .nav-index-btn:hover { border-color:var(--accent); }
  .nav-progress { display:flex; gap:4px; align-items:center; flex-wrap:wrap; justify-content:center; max-width:280px; }
  .nav-dot { width:5px; height:5px; border-radius:50%; background:var(--border-mid); cursor:pointer; transition:background .15s; }
  .nav-dot.active { background:var(--accent); }
  .nav-bottom { text-align:center; margin-top:1rem; }
  .nav-demo-hint { font-size:12px; color:var(--text-hint); margin-bottom:.5rem; }
  .nav-demo { display:inline-block; padding:.5rem 1.2rem; background:var(--accent); color:#fff; font-size:13px; font-weight:800; border-radius:10px; text-decoration:none; white-space:nowrap; }

  /* Line-art visuals (src/_includes/art/), drawn in navy like the home page. */
  .cover-art { color:var(--accent); margin:0 0 1.75rem; }
  .cover-art .art { display:block; width:150px; height:auto; }
  .layer-art { color:var(--accent); display:flex; justify-content:center; margin:1.75rem 0 1rem; padding:1.25rem 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
  .layer-art .art { display:block; width:160px; height:auto; }
  .layer-block { margin:0; padding:1rem 0; border-bottom:1px solid var(--hair); align-items:flex-start; }
  .level-row.top .level-row-body strong { font-size:16px; }
  .level-badge.solid { background:var(--accent); color:#fff; }
  .level-badge.solid .ltxt { color:#c4cdd9; }
  .presence-col.maker { border:1.5px solid var(--accent); }
  .pc-label { font-size:11.5px; font-weight:700; color:var(--text-muted); margin-bottom:.75rem; letter-spacing:.12em; text-transform:uppercase; }
  .presence-col.maker .pc-label { color:var(--text-primary); }
  .pc-q { font-family:var(--serif); font-style:italic; font-weight:500; font-size:16px; color:var(--text-primary); line-height:1.5; margin-bottom:.75rem; }
  @media(max-width:600px){
    .cover-title { font-size:38px; }
    .ch-title { font-size:27px; }
    .summary-grid { grid-template-columns:1fr; }
    .summary-card, .summary-card:nth-child(odd), .summary-card:nth-child(even) { border-right:0; padding:1.5rem 0; }
    .presence-col { min-width:0; flex-basis:100%; }
    .hero-quote { padding:2.5rem 1.25rem 1.5rem; }
    .compare-table th, .compare-table td { padding:.55rem .6rem; }
    .cta-final { padding:1.75rem 1.25rem; }
  }
  .np-flag { display:flex; gap:.5rem; align-items:flex-start; }
  .np-flag svg { flex:none; width:14px; height:14px; margin-top:2px; color:var(--text-primary); stroke-width:1.75; }
