/* /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; }
  :root {
    --bg-page: #EBF1F8;
    --bg-primary: #F4F7FB;
    --bg-secondary: #E2EAF4;
    --text-primary: #152240;
    --text-secondary: #5A7291;
    --text-hint: #8AAAC8;
    --border: rgba(62,120,185,0.13);
    --border-mid: rgba(62,120,185,0.22);
    --accent: #3E8DD8;
    --accent-teal: #45C4B0;
    --accent-dark: #1B5C99;
    --accent-light: #DDF0FA;
    --accent-mid: #6DB3E8;
    --ch-num-color: #7AAFD4;
    --serif: Georgia,'Times New Roman',serif;
    --sans: -apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',sans-serif;
  }
  .interface-book-root { font-family:var(--sans); background:linear-gradient(160deg,#DDE8F5 0%,#EBF1F8 50%,#E4EEF8 100%); color:var(--text-primary); line-height:1.6; padding:3.5rem 1rem 5rem; box-sizing:border-box; }
  .interface-book-root .book-wrap { max-width:700px; margin:0 auto; background:var(--bg-primary); border-radius:20px; border:1px solid rgba(62,120,185,0.18); padding:3.5rem 2.5rem 3rem; box-shadow:0 4px 32px rgba(30,80,160,0.07); }
  @media(max-width:600px){ .interface-book-root .book-wrap{padding:2rem 1.25rem 2rem;border-radius:12px;} .interface-book-root{padding:2rem 1rem 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:11px; letter-spacing:.13em; color:var(--accent); text-transform:uppercase; margin-bottom:2.5rem; }
  .cover-title { font-family:var(--serif); font-size:48px; font-weight:normal; line-height:1.1; color:var(--text-primary); margin-bottom:.75rem; }
  .cover-sub { font-family:var(--serif); font-size:19px; color:var(--text-secondary); margin-bottom:2.5rem; line-height:1.55; }
  .cover-rule { width:44px; height:2px; background:var(--accent); border:none; margin-bottom:2.5rem; }
  .cover-meta { font-size:13px; color:var(--text-secondary); line-height:1.9; }
  .cover-intro { margin-top:2.5rem; padding:1.25rem 1.5rem; background:var(--bg-secondary); border-radius:12px; border:1px solid var(--border); }
  .cover-intro p { font-size:14px; color:var(--text-secondary); line-height:1.8; font-style:italic; }
  /* chapter headers */
  .ch-eyebrow { font-size:11px; letter-spacing:.12em; color:var(--accent); text-transform:uppercase; margin-bottom:.5rem; }
  .ch-num { font-family:var(--serif); font-size:76px; font-weight:normal; line-height:1; color:var(--ch-num-color); margin-bottom:.4rem; opacity:.55; }
  .ch-title { font-family:var(--serif); font-size:30px; font-weight:normal; color:var(--text-primary); margin-bottom:.5rem; line-height:1.2; }
  .ch-deck { font-size:15px; color:var(--text-secondary); margin-bottom:2rem; font-family:var(--serif); font-style:italic; line-height:1.6; }
  .ch-header-rule { width:36px; height:2px; background:var(--accent); border:none; margin-bottom:2rem; }
  /* body */
  .body-text { font-size:15px; color:var(--text-primary); line-height:1.85; margin-bottom:1.25rem; }
  /* pull quote */
  .pull-quote { border-left:3px solid var(--accent); padding:.5rem 1rem .5rem 1.25rem; margin:2rem 0; }
  .pull-quote p { font-family:var(--serif); font-size:17px; line-height:1.6; color:var(--text-primary); font-style:italic; }
  .pull-quote cite { font-size:12px; color:var(--text-secondary); font-style:normal; display:block; margin-top:.5rem; }
  /* spotlight */
  .spotlight { background:var(--bg-secondary); border-radius:12px; padding:1.25rem 1.5rem; margin:2rem 0; border:1px solid var(--border); }
  .spotlight-label { font-size:11px; letter-spacing:.1em; color:var(--accent-dark); text-transform:uppercase; margin-bottom:.65rem; }
  .spotlight-title { font-size:15px; font-weight:500; color:var(--text-primary); margin-bottom:.45rem; }
  .spotlight p { font-size:14px; color:var(--text-secondary); line-height:1.75; }
  .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(--serif); font-size:34px; font-weight:normal; color:var(--accent-mid); flex-shrink:0; line-height:1; width:36px; }
  .finding-body { flex:1; }
  .finding-body strong { font-size:14px; font-weight:500; color:var(--text-primary); display:block; margin-bottom:.2rem; }
  .finding-body span { font-size:13px; color:var(--text-secondary); line-height:1.65; }
  /* TOC */
  .toc-item { display:flex; align-items:baseline; gap:1rem; padding:.65rem 0; border-bottom:1px solid var(--border); cursor:pointer; }
  .toc-item:hover .toc-ch-title { color:var(--accent); }
  .toc-num { font-family:var(--serif); font-size:13px; color:var(--text-hint); width:28px; flex-shrink:0; }
  .toc-ch-title { font-size:15px; 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:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:500; flex-shrink:0; margin-top:2px; }
  .layer-badge.l1 { background:var(--accent-light); color:var(--accent-dark); }
  .layer-badge.l2 { background:#D8EAF8; color:#1B5C99; }
  .layer-badge.l3 { background:#D4EFF0; color:#1A7A6E; }
  .layer-body strong { font-size:14px; font-weight:500; color:var(--text-primary); display:block; margin-bottom:.2rem; }
  .layer-body span { font-size:13px; color:var(--text-secondary); line-height:1.6; }
  /* myth pills */
  .myth-grid { display:flex; flex-wrap:wrap; gap:.45rem; margin:1.25rem 0; }
  .myth-pill { font-size:12px; padding:.3rem .8rem; border-radius:20px; border:1px solid var(--border-mid); color:var(--text-secondary); background:var(--bg-secondary); line-height:1.4; }
  .myth-pill.danger { background:#D4E5F7; color:#1B5C99; border-color:#7AAFD4; }
  .myth-pill.warn { background:#D4EDF5; color:#1A6882; border-color:#7ABFD4; }
  .myth-pill.info { background:var(--accent-light); color:var(--accent-dark); border-color:var(--accent-mid); }
  /* level rows */
  .level-row { display:flex; gap:1rem; margin:.6rem 0; align-items:flex-start; padding:.85rem 1rem; background:var(--bg-secondary); border-radius:10px; border:1px solid var(--border); }
  .level-badge { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:500; flex-shrink:0; flex-direction:column; gap:1px; }
  .level-badge .lnum { font-size:17px; font-weight:500; line-height:1; }
  .level-badge .ltxt { font-size:9px; letter-spacing:.05em; }
  .level-row-body strong { font-size:14px; font-weight:500; color:var(--text-primary); display:block; margin-bottom:.15rem; }
  .level-row-body em { font-size:12px; color:var(--text-secondary); font-style:italic; }
  .level-row-body p { font-size:12px; color:var(--text-secondary); line-height:1.6; margin-top:.3rem; }
  /* axioms */
  .axiom-block { border-left:3px solid var(--accent); padding:.75rem 1rem .75rem 1.25rem; margin:1.5rem 0; }
  .axiom-label { font-size:11px; letter-spacing:.1em; color:var(--accent); text-transform:uppercase; margin-bottom:.3rem; }
  .axiom-title { font-size:15px; font-weight:500; color:var(--text-primary); margin-bottom:.4rem; }
  .axiom-rule { font-size:13px; color:var(--text-secondary); line-height:1.65; margin-bottom:.3rem; }
  .axiom-because { font-size:12px; color:var(--text-secondary); 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:1rem 1.25rem; border-radius:12px; border:1px solid var(--border); }
  .signal-item { font-size:13px; color:var(--text-secondary); padding:.35rem 0; border-bottom:1px solid var(--border); line-height:1.5; }
  .signal-item:last-child { border-bottom:none; }
  .red-flag { font-size:11px; color:#1B5C99; background:#D4E5F7; padding:.15rem .5rem; border-radius:4px; margin-right:.35rem; }
  /* nova principles */
  .nova-principle { padding:1rem 1.25rem; border-radius:10px; background:var(--bg-secondary); border:1px solid var(--border); margin:.75rem 0; }
  .np-num { font-family:var(--serif); font-size:26px; color:var(--accent-mid); line-height:1; margin-bottom:.3rem; }
  .np-title { font-size:14px; font-weight:500; color:var(--text-primary); margin-bottom:.2rem; }
  .np-body { font-size:13px; color:var(--text-secondary); line-height:1.65; margin-bottom:.3rem; }
  .np-question { font-size:12px; color:var(--accent-dark); font-style:italic; }
  .np-flag { font-size:11px; color:#5A6A80; margin-top:.3rem; }
  /* summary grid */
  .summary-grid { display:grid; grid-template-columns:1fr 1fr; gap:.85rem; margin:1.5rem 0; }
  .summary-card { background:var(--bg-secondary); border-radius:10px; padding:1rem; border:1px solid var(--border); }
  .sc-label { font-size:11px; color:var(--text-hint); margin-bottom:.4rem; text-transform:uppercase; letter-spacing:.08em; }
  .sc-name { font-size:13px; font-weight:500; color:var(--text-primary); margin-bottom:.3rem; }
  .sc-insight { font-size:12px; color:var(--text-secondary); line-height:1.55; }
  /* principle items */
  .principle-item { display:flex; gap:.75rem; margin:.85rem 0; align-items:flex-start; }
  .principle-dot { width:7px; height:7px; border-radius:50%; background:var(--accent); flex-shrink:0; margin-top:5px; }
  .principle-body { font-size:14px; color:var(--text-primary); line-height:1.7; }
  .principle-body strong { font-weight:500; }
  /* closing quote */
  .closing-quote { margin-top:2rem; padding:1.5rem; border-top:2px solid var(--accent); }
  .closing-quote p { font-family:var(--serif); font-size:16px; color:var(--text-primary); line-height:1.85; font-style:italic; }
  .closing-quote cite { font-size:12px; color:var(--text-secondary); font-style:normal; display:block; margin-top:.65rem; }
  /* hero quotes */
  .hero-quote { margin:2.5rem 0; padding:2rem 2rem 1.75rem; background:linear-gradient(135deg,#EBF4FD 0%,#E0F5F2 100%); border-radius:16px; border:1px solid rgba(62,140,200,0.18); text-align:center; position:relative; }
  .hero-quote::before { content:'\201C'; font-family:var(--serif); font-size:72px; line-height:1; color:rgba(62,140,200,0.18); position:absolute; top:10px; left:50%; transform:translateX(-50%); pointer-events:none; }
  .hero-quote-text { font-family:var(--serif); font-size:18px; font-weight:normal; line-height:1.65; color:#152240; margin-bottom:1rem; position:relative; z-index:1; }
  .hero-quote-text em { font-style:normal; background:linear-gradient(90deg,#3E8DD8 0%,#45C4B0 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; font-weight:500; }
  .hero-quote-cite { font-size:12px; color:var(--text-secondary); letter-spacing:.05em; text-transform:uppercase; }
  /* compare table (dead vs live) */
  .compare-table { width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:13px; }
  .compare-table th { padding:.65rem .85rem; text-align:left; font-weight:500; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
  .compare-table th:first-child { color:#5A6A80; background:#D8E8F5; border-radius:8px 0 0 0; }
  .compare-table th:last-child { color:#1A7A6E; background:#D4EFF0; border-radius:0 8px 0 0; }
  .compare-table td { padding:.55rem .85rem; color:var(--text-secondary); border-bottom:1px solid var(--border); vertical-align:top; line-height:1.5; }
  .compare-table td:first-child { background:#F0F5FA; }
  .compare-table td:last-child { background:#F0FAF8; }
  .compare-table tr:last-child td { border-bottom:none; }
  /* noise protector section */
  .noise-quote { margin:1.5rem 0; padding:1rem 1.25rem; border-radius:10px; background:linear-gradient(135deg,#EBF4FD,#E0F5F2); border:1px solid rgba(62,140,200,0.2); }
  .noise-quote-text { font-family:var(--serif); font-size:17px; color:#152240; font-style:italic; line-height:1.55; }
  .noise-quote-auth { font-size:11px; color:var(--text-secondary); margin-top:.5rem; letter-spacing:.05em; text-transform:uppercase; }
  /* CTA */
  .cta-block { margin:2.5rem 0 .5rem; text-align:center; }
  .cta-btn { display:inline-block; padding:.9rem 2.25rem; background:linear-gradient(90deg,#3E8DD8 0%,#45C4B0 100%); color:#fff; font-size:15px; font-weight:500; border-radius:40px; text-decoration:none; letter-spacing:.01em; cursor:pointer; border:none; font-family:var(--sans); transition:opacity .2s,transform .15s; }
  .cta-btn:hover { opacity:.9; transform:translateY(-1px); }
  .cta-label { font-size:12px; color:var(--text-hint); margin-top:.75rem; }
  .cta-final { margin:2.5rem 0 1rem; padding:2rem; border-radius:16px; background:linear-gradient(135deg,#EBF4FD 0%,#E0F5F2 100%); border:1px solid rgba(62,140,200,0.18); text-align:center; }
  .cta-final h3 { font-family:var(--serif); font-size:22px; font-weight:normal; color:var(--text-primary); margin-bottom:.5rem; }
  .cta-final p { font-size:14px; color:var(--text-secondary); 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:transparent; border:1px solid var(--border-mid); border-radius:20px; padding:.25rem .75rem; font-size:12px; font-weight:500; color:var(--text-secondary); 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:transparent; border:1px solid var(--border-mid); border-radius:8px; padding:.45rem .95rem; font-size:13px; color:var(--text-primary); cursor:pointer; font-family:var(--sans); transition:background .12s; }
  .nav-btn:disabled { opacity:.3; cursor:default; }
  .nav-btn:not(:disabled):hover { background:var(--bg-secondary); }
  .nav-index-btn { background:transparent; border:1px solid var(--border-mid); border-radius:8px; padding:.45rem .7rem; font-size:15px; color:var(--text-secondary); cursor:pointer; font-family:var(--sans); transition:background .12s; line-height:1; }
  .nav-index-btn:hover { background:var(--bg-secondary); color:var(--accent); }
  .nav-progress { display:flex; gap:4px; align-items:center; flex-wrap:wrap; justify-content:center; max-width:280px; }
  .nav-dot { width:4px; height:4px; 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:.4rem 1.1rem; background:linear-gradient(90deg,#3E8DD8,#45C4B0); color:#fff; font-size:12px; font-weight:500; border-radius:20px; text-decoration:none; white-space:nowrap; }
