/* ══════════════════════════════════════
   BOOK (/book/...) — livre en ligne : couverture + une page par chapitre + checklist + glossaire.
   Pages générées par book-drafts/build.py. Réutilise les tokens de /style.css.
══════════════════════════════════════ */
html { scroll-padding-top: 84px; }

/* ── Titre de couverture : mot tapé en boucle, comme le hero de la page d'accueil ── */
.bk-tw { display: inline-block; min-height: 0.95em; color: #009c74; }   /* darker than --c-priv: 3.5:1 on the white panel (the script uses the same darker set) */

.bk-sub { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.bk-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bk-c, var(--muted)); }

.priv { --bk-c: var(--c-priv); }
.auto { --bk-c: var(--c-dece); }
.mono { --bk-c: var(--c-mono); }
.plain { --bk-c: var(--white); }

/* ── Couverture : hero blanc/noir comme la page d'accueil, la moitié droite est le tableau de bord ── */
.bk-hero { min-height: 88vh; }
.bk-hero .hero-left { justify-content: center; }
.bk-hero-label { position: relative; z-index: 1; color: var(--black); }
.bk-hero-title {
  position: relative; z-index: 1;
  font-family: 'Righteous', sans-serif; font-weight: 400;
  font-size: clamp(48px, 6.3vw, 94px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em;
}
.bk-hero-note { position: relative; z-index: 1; margin-top: 32px; max-width: 440px; font-size: 15px; line-height: 1.75; color: rgba(8,8,8,0.6); }

.bk-dash { justify-content: center; }
.bk-dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.bk-dash-stat { background: var(--black); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.bk-dash-n { font-family: 'Righteous', sans-serif; font-size: 22px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-dash-n b { font-weight: 400; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--white); }
.bk-dash-l { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bk-dash-stat .bk-bar { flex: none; margin-top: 10px; }
.bk-bar i.white { background: var(--white); }

.bk-dash-parts { list-style: none; margin-top: 28px; }
.bk-dash-parts li { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.bk-dash-p { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bk-c); }
.bk-dash-parts .bk-bar i { background: var(--bk-c); }
.bk-dash-c { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }

.bk-dash-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.bk-dash-link { display: inline-block; padding: 5px 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-underline-offset: 3px; }
.bk-dash-link:hover { color: var(--white); }

/* ── Progression dans la barre de navigation (toutes les pages) ── */
.bk-navp {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 6px 0;   /* 24px target (WCAG 2.5.8) without changing the nav height */
  font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.6);
  font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.15s;
}
.bk-navp:hover { color: var(--white); }
.bk-navp-l { color: var(--c-priv); font-size: 12px; }
.bk-navp .bk-bar { flex: none; width: 90px; }
.bk-navps { display: flex; align-items: center; gap: 22px; }
.bk-navr .bk-bar i { background: var(--white); }
.bk-navr .bk-navp-l { color: var(--white); }
svg.bk-navp-l { display: block; flex: none; }

/* ── Progression de lecture : ligne fine sous la barre de navigation (pages de chapitre) ── */
.bk-read { position: fixed; top: 60px; left: 0; right: 0; height: 2px; z-index: 190; background: transparent; pointer-events: none; }
.bk-read i { display: block; height: 100%; width: 0; background: var(--bk-c, var(--white)); }

/* Logo : PROOF (retour au site de la conférence) partout, sauf sur téléphone dans les pages intérieures du book,
   où il devient BOOK et ramène à la couverture du book en 1 clic */
.bk-logo-book { display: none; }

/* ── Menu téléphone ── */
.bk-menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 9px; margin-left: 0;
  background: transparent; border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
}
.bk-menu-btn span { display: block; height: 2px; background: var(--white); transition: transform 0.2s, opacity 0.2s; }
.bk-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bk-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bk-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.bk-menu {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 195;
  background: rgba(8,8,8,0.98); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 8px 24px 20px;
}
.bk-menu[hidden] { display: none; }
.bk-menu a {
  padding: 16px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; letter-spacing: 0.06em; text-transform: lowercase; text-decoration: none; color: var(--white);
}
.bk-menu a:last-child { border-bottom: 0; }
.bk-menu .bk-menu-lang { text-transform: none; color: var(--muted); }
@media (min-width: 769px) { .bk-menu { display: none !important; } }

/* ── Sommaire (couverture) ── */
.bk-toc-wrap { background: var(--black); border-top: 1px solid var(--border); padding: 56px 56px 80px; }
.bk-toc-wrap > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.bk-toc-part { margin-top: 48px; }
.bk-toc-part h3 { font-family: 'Righteous', sans-serif; font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1; text-transform: uppercase; margin-top: 10px; }
.bk-toc-part h3 a { color: var(--white); text-decoration: none; }
.bk-toc-part h3 a:hover { color: var(--bk-c); }
.bk-toc { list-style: none; margin-top: 16px; border-top: 1px solid var(--border); }
.bk-toc li { border-bottom: 1px solid var(--border); }
.bk-toc a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 13px 4px; text-decoration: none; color: var(--white);
  font-size: 15px; line-height: 1.4;
  transition: padding-left 0.15s, color 0.15s;
}
.bk-toc a span { font-size: 11px; letter-spacing: 0.1em; color: var(--bk-c, var(--muted)); min-width: 24px; flex-shrink: 0; }
.bk-toc a:hover { padding-left: 12px; color: var(--bk-c, var(--white)); }
.bk-toc li.read a { color: var(--muted); }
.bk-toc li.read a::after { content: '✓'; margin-left: auto; padding-left: 12px; color: var(--bk-c, var(--white)); font-size: 12px; }
.bk-sub-row { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }

/* ── Page de chapitre ── */
.bk-page { background: var(--black); padding-left: 56px; padding-right: 56px; padding-bottom: 96px; }
.bk-page > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.bk-head { padding: 72px 0 40px; border-bottom: 1px solid var(--border); }
.bk-head h1 {
  font-family: 'Righteous', sans-serif; font-weight: 400;
  font-size: clamp(34px, 5vw, 60px); line-height: 0.98; text-transform: uppercase; margin-top: 14px;
}

.bk-article { padding-top: 8px; }
.bk-article h2 {
  font-family: 'Righteous', sans-serif; font-weight: 400;
  font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em;
  margin-top: 56px; padding-left: 14px; border-left: 3px solid var(--bk-c);
}
.bk-article h3 { font-family: 'Righteous', sans-serif; font-weight: 400; font-size: 19px; line-height: 1.2; text-transform: uppercase; margin-top: 40px; color: var(--bk-c); }
.bk-article p, .bk-article li { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.78); }
.bk-article p { margin-top: 16px; }
.bk-article strong { color: var(--white); font-weight: 500; }
/* Liens dans la couleur de la partie (vert, violet, orange) */
.bk-article a { color: var(--bk-c, var(--white)); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bk-article a:hover { color: var(--white); }
.bk-table td:first-child a { font-weight: 500; }
.bk-article ul, .bk-article ol { margin-top: 16px; padding-left: 24px; }
.bk-article li { margin-top: 10px; padding-left: 4px; }
.bk-article li::marker { color: var(--bk-c); }
.bk-article blockquote { margin-top: 16px; padding-left: 16px; border-left: 1px solid var(--border); }
.bk-article code { font-family: inherit; color: var(--white); background: rgba(255,255,255,0.08); padding: 1px 5px; }

/* Glossaire : une couleur par thème, comme les parties du livre */
.bk-gloss h2 { color: var(--bk-c); }
.bk-gloss p > strong:first-child { color: var(--bk-c); }

/* Tableaux comparatifs : défilement horizontal sur mobile */
/* Plus larges que la colonne de texte (720px) : jusqu'à 1180px, centrés sur la page, pour que les cellules respirent */
.bk-table {
  margin-top: 24px; margin-bottom: 8px; overflow-x: auto; border: 1px solid var(--border); -webkit-overflow-scrolling: touch;
  width: min(1180px, calc(100vw - 112px)); position: relative; left: 50%; transform: translateX(-50%);
}
.bk-table table { border-collapse: collapse; width: 100%; min-width: 720px; }
.bk-table th, .bk-table td { text-align: left; vertical-align: top; padding: 14px 18px; font-size: 13.5px; line-height: 1.6; border-bottom: 1px solid var(--border); }
.bk-table th { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bk-c); font-weight: 500; background: rgba(255,255,255,0.03); }
.bk-table td { color: rgba(255,255,255,0.7); }
.bk-table td:first-child { color: var(--white); min-width: 150px; }
.bk-table td { min-width: 120px; }
.bk-table tr:last-child td { border-bottom: 0; }

/* ── Checklist (fin de chapitre + page récapitulative) ── */
.bk-cl-box { margin-top: 64px; padding: 28px 28px 20px; background: var(--warm); border: 1px solid var(--border); border-top: 3px solid var(--bk-c); }
.bk-cl-box h2 { font-family: 'Righteous', sans-serif; font-weight: 400; font-size: 22px; text-transform: uppercase; }
.bk-cl-all { margin-top: 16px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.bk-cl-all a { color: var(--muted); text-underline-offset: 3px; }
.bk-cl-all a:hover { color: var(--white); }

.bk-tools-bar {
  display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap;
  margin-top: 32px; padding: 14px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.bk-progress {
  flex: 1 1 220px; display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bk-progress strong { color: var(--white); font-weight: 500; }
.bk-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.08); display: flex; }
.bk-bar i { display: block; height: 100%; width: 0; transition: width 0.3s; }
.bk-bar .priv { background: var(--c-priv); }
.bk-bar .auto { background: var(--c-dece); }
.bk-bar .mono { background: var(--c-mono); }

.bk-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.bk-filter, .bk-reset {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em;
  background: transparent; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2); padding: 6px 10px; cursor: pointer; transition: all 0.2s;
}
.bk-filter:hover, .bk-reset:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.bk-filter[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.bk-reset { border-color: transparent; text-decoration: underline; padding: 6px 0; }
.bk-reset.armed { color: #ff5a5a; border-color: #ff5a5a; text-decoration: none; padding: 6px 10px; }

.bk-cl-group { margin-top: 48px; }
.bk-cl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.bk-cl-name { font-family: 'Righteous', sans-serif; font-size: 24px; text-transform: uppercase; color: var(--bk-c); }
.bk-count { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-cl-chapter { margin-top: 28px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.bk-cl-chapter a { color: var(--muted); text-decoration: none; }
.bk-cl-chapter a:hover { color: var(--white); }
.bk-cl-chapter[hidden] { display: none; }
.bk-cl { list-style: none; margin-top: 10px; border-top: 1px solid var(--border); }
.bk-cl-item {
  display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 0 14px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.bk-cl-item[hidden] { display: none; }
.bk-cl-title { font-size: 14px; line-height: 1.45; color: var(--white); cursor: pointer; }
.bk-cl-more { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-underline-offset: 3px; white-space: nowrap; }
.bk-cl-more:hover { color: var(--white); }
.bk-effort { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bk-c); white-space: nowrap; }
.bk-cl-item.done .bk-cl-title { text-decoration: line-through; color: var(--muted); }
.bk-cl-item.done .bk-effort { opacity: 0.4; }

.bk-check { position: relative; width: 28px; height: 24px; cursor: pointer; display: block; }
.bk-check input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.bk-box { display: block; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,0.35); transition: all 0.15s; position: relative; }
.bk-check input:focus-visible + .bk-box { outline: 2px solid var(--white); outline-offset: 2px; }
.bk-check input:checked + .bk-box { background: var(--bk-c); border-color: var(--bk-c); }
.bk-check input:checked + .bk-box::after {
  content: ''; position: absolute; left: 6px; top: 1px; width: 7px; height: 13px;
  border: solid var(--black); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

.bk-alldone {
  margin-top: 40px; padding: 18px 20px; text-align: center;
  font-family: 'Righteous', sans-serif; font-size: 20px; text-transform: uppercase;
  background: var(--white); color: var(--black);
}
.bk-alldone[hidden] { display: none; }

/* ── Précédent / suivant ── */
.bk-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 72px; background: var(--border); border: 1px solid var(--border); }
.bk-pager > * { background: var(--black); padding: 20px; }
.bk-pager a { display: block; text-decoration: none; color: var(--white); font-family: 'Righteous', sans-serif; font-size: 16px; line-height: 1.25; text-transform: uppercase; transition: background 0.15s; }
.bk-pager a span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 8px; }
.bk-pager a:hover { background: rgba(255,255,255,0.05); }
.bk-next { text-align: right; }
.bk-back { margin-top: 24px; text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.bk-back a { color: var(--muted); text-underline-offset: 3px; }
.bk-back a:hover { color: var(--white); }

/* ── Écrans moyens : les deux jauges de la nav s'empilent pour laisser respirer les liens ── */
@media (max-width: 1100px) {
  .bk-navps { flex-direction: column; align-items: flex-end; gap: 6px; }
  .bk-navp { font-size: 10px; line-height: 1; gap: 8px; }
  .bk-navp .bk-bar { width: 70px; height: 3px; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .bk-table { width: calc(100vw - 48px); }
  .bk-table th, .bk-table td { padding: 12px 14px; font-size: 13px; }
  .bk-hero { min-height: 0; }
  .bk-hero .hero-left { min-height: 0 !important; padding: 56px 24px !important; }
  .bk-hero-note { margin-left: auto; margin-right: auto; }
  .bk-dash { padding: 48px 24px; }
  .bk-dash-parts li { grid-template-columns: 1fr auto; }
  .bk-dash-parts .bk-bar { grid-column: 1 / -1; grid-row: 2; }
  /* Phone nav: logo on the left (back to the conference site), the 2 gauges in the middle, menu button on the right */
  .lang-btn { display: none; }
  .bk-menu-btn { display: flex; }
  .bk-inner-nav .bk-logo-proof { display: none; }
  .bk-inner-nav .bk-logo-book { display: inline; }
  .bk-navps { margin: 0 auto; flex-direction: column; align-items: flex-start; gap: 6px; }
  .bk-navp { gap: 7px; font-size: 10px; line-height: 1; }
  .bk-navp .bk-bar { width: 84px; height: 3px; }
  .bk-toc-wrap { padding: 40px 24px 56px; }
  .bk-page { padding-left: 24px; padding-right: 24px; padding-bottom: 64px; }
  .bk-head { padding: 48px 0 28px; }
  .bk-article h2 { font-size: 22px; margin-top: 44px; }
  .bk-cl-box { padding: 20px 16px 14px; }
  .bk-cl-item { grid-template-columns: 28px 1fr auto; gap: 2px 12px; }
  .bk-cl-more { grid-column: 2 / -1; }
  .bk-pager { grid-template-columns: 1fr; }
  .bk-next { text-align: left; }
}

/* ── Impression : version papier lisible ── */
@media print {
  nav, .bk-menu, footer, .bk-dash, .bk-read, .bk-after, .bk-tools-bar, .bk-alldone, .bk-cl-more, .bk-pager, .bk-back, .tw-cursor, .hero-btn { display: none !important; }
  body, .bk-page, .bk-toc-wrap, .prog-header, .bk-cl-box, .bk-table th { background: #fff !important; color: #000 !important; }
  .page-top { padding-top: 0; }
  .bk-page { padding: 0; }
  .bk-gloss h2, .bk-gloss p > strong:first-child { color: #000 !important; }
  .bk-head h1, .bk-article h2, .bk-article h3, .bk-article strong, .bk-article a, .prog-header h2, .prog-note, .bk-tw, .bk-toc a, .bk-toc-part h3 a, .bk-cl-title, .bk-cl-box h2, .bk-table td:first-child { color: #000 !important; }
  .bk-article p, .bk-article li, .bk-table td, .bk-table th, .bk-label, .bk-sub, .bk-count { color: #222 !important; }
  .bk-table, .bk-table th, .bk-table td, .bk-cl-box, .bk-cl, .bk-cl-item, .bk-head { border-color: #ccc !important; }
  .bk-table { overflow: visible; width: 100%; left: 0; transform: none; } .bk-table table { min-width: 0; } .bk-table td { min-width: 0; }
  .bk-box { border-color: #000; }
  .bk-article h2, .bk-table, .bk-cl-box { break-inside: avoid; }
  .bk-cl-item[hidden] { display: grid !important; }
}

/* ── Sponsor code (home + chapter 15) ── */
.bk-code { margin-top: 48px; padding: 24px 24px 20px; background: var(--warm); border: 1px solid var(--border); border-top: 3px solid var(--bk-c, var(--white)); max-width: 640px; }
.bk-code-row { display: flex; align-items: flex-start; gap: 24px; margin-top: 14px; flex-wrap: wrap; }
.bk-code-key { font-family: 'JetBrains Mono', monospace; font-size: 30px; letter-spacing: 0.18em; padding: 12px 18px 12px 22px; border: 1px dashed rgba(255,255,255,0.4); color: var(--white); line-height: 1; white-space: nowrap; }
.bk-code-txt { flex: 1 1 260px; font-size: 14px; line-height: 1.65; }
.bk-code-txt p + p { margin-top: 8px; }
.bk-code-note { font-size: 12px; color: var(--muted); }
.bk-code-todo { color: var(--c-party); }
.bk-code-copy { display: inline-block; margin-top: 10px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-family: inherit; }
.bk-code-copy:hover { color: var(--white); }
/* light variant (book home, white column) */
.bk-code.light { background: rgba(8,8,8,0.035); border-color: rgba(8,8,8,0.12); border-top-color: var(--black); }
.bk-code.light .bk-code-key { border-color: rgba(8,8,8,0.45); color: var(--black); }
.bk-code.light .bk-code-note { color: rgba(8,8,8,0.62); }
.bk-code.light .bk-code-copy { color: rgba(8,8,8,0.5); }
.bk-code.light .bk-code-copy:hover { color: var(--black); }
@media (max-width: 640px) { .bk-code { padding: 20px 18px 16px; } .bk-code-key { font-size: 24px; } }

/* ticket variant (chapter 15): centred, code in the middle, copy button on its right */
.bk-ticket { position: relative; text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; padding: 26px 32px 26px; border: 1px dashed rgba(255,255,255,0.35); border-top: 3px solid var(--bk-c, var(--white)); }
.bk-ticket::before, .bk-ticket::after { content: ''; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--black); border: 1px dashed rgba(255,255,255,0.35); }
.bk-ticket::before { left: -12px; clip-path: inset(0 0 0 50%); }
.bk-ticket::after { right: -12px; clip-path: inset(0 50% 0 0); }
.bk-ticket .bk-label { color: var(--bk-c); }
.bk-ticket-mid { position: relative; display: inline-block; margin: 22px 0 20px; }
.bk-ticket .bk-code-key { display: block; font-size: 44px; letter-spacing: 0.22em; padding: 14px 18px 14px 26px; border: 1px solid rgba(255,255,255,0.25); }
.bk-ticket .bk-code-copy { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin: 0 0 0 14px; padding: 8px 10px; border: 1px solid rgba(255,255,255,0.25); text-decoration: none; color: var(--white); white-space: nowrap; }
.bk-ticket .bk-code-copy:hover { border-color: var(--white); }
.bk-ticket .bk-code-txt { max-width: 440px; margin: 0 auto; font-size: 14px; line-height: 1.65; }
.bk-ticket .bk-code-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .bk-ticket { padding: 22px 18px 22px; }
  .bk-ticket .bk-code-key { font-size: 32px; }
  .bk-ticket .bk-code-copy { position: static; transform: none; display: block; margin: 10px auto 0; width: max-content; }
}
/* ticket, light variant (book home) */
.bk-ticket.light { border-color: rgba(8,8,8,0.45); border-top: 3px solid var(--black); margin-left: 0; }
.bk-ticket.light::before, .bk-ticket.light::after { background: var(--white); border-color: rgba(8,8,8,0.45); }
.bk-ticket.light .bk-label { color: var(--black); }
.bk-ticket.light .bk-code-key, .bk-ticket.light .bk-code-copy { border-color: rgba(8,8,8,0.3); color: var(--black); }
.bk-ticket.light .bk-code-copy:hover { border-color: var(--black); }
