/* cbc-bytelabs-blocks.css (v1382) - public styles for the content blocks added by the blog-style writer
   (h1-size heading, lists, quote, table, provider embeds) plus the review-copy banner and the full-width layout
   used when the author hides the table of contents. Loaded by bytelabs/usecase.php after cbc-bytelabs.css. */
h2.bl-h.bl-h1{font-size:1.7rem;}
.bl-list{margin:0 0 14px;padding-left:24px;color:var(--bl-ink2);font-size:1.02rem;}
.bl-list li{margin:5px 0;}
.bl-list a,.bl-quote a,.bl-table a{color:var(--bl-brand);font-weight:600;}
.bl-quote{margin:16px 0;padding:6px 0 6px 18px;border-left:3px solid var(--bl-line);color:var(--bl-ink2);font-size:1.04rem;font-style:italic;}
.bl-table{margin:16px 0;overflow-x:auto;border:1px solid var(--bl-line);border-radius:var(--bl-r-sm);}
.bl-table table{border-collapse:collapse;width:100%;font-size:.92rem;}
.bl-table table.bl-table-fixed{table-layout:fixed;}                 /* v1462: honour author-dragged column widths */
.bl-table th,.bl-table td{padding:9px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--bl-line);border-right:1px solid var(--bl-line);}
.bl-table td{overflow-wrap:break-word;word-break:break-word;}
.bl-table th:last-child,.bl-table td:last-child{border-right:0;}
.bl-table tr:last-child td{border-bottom:0;}
.bl-table th{background:var(--bl-bg2);font-weight:700;color:var(--bl-ink);}
.bl-table table:not(.bl-table-fixed) th{white-space:nowrap;}         /* fixed tables must wrap instead of overflow */
.bl-embed-code{margin:14px 0;border:1px solid var(--bl-line);border-radius:var(--bl-r-sm);overflow:hidden;}
.bl-embed-code iframe{display:block;width:100%;height:380px;border:0;background:#fff;}
.bl-xcard{display:inline-flex;align-items:center;gap:8px;margin:12px 0;padding:10px 14px;border:1px solid var(--bl-line);border-radius:var(--bl-r-sm);
  font-weight:600;text-decoration:none;background:var(--bl-surface);}
.bl-reviewbar{margin:6px 0 14px;padding:11px 16px;border-radius:var(--bl-r-sm);border:1px solid #F3E2B3;background:#FFF8E6;color:#6B4700;font-size:.9rem;}
.bl-reviewbar b{margin-right:6px;}
.bl-layout.bl-layout--full{grid-template-columns:1fr;}
.bl-p code,.bl-list code,.bl-quote code,.bl-table code,.bl-callout code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;
  background:var(--bl-bg2);border:1px solid var(--bl-line);padding:1px 5px;border-radius:5px;}

/* ============ v1466 code highlighting + reader progress ============ */
.bl-code .hk{color:#7CC5FF}
.bl-code .hs{color:#9EE6A0}
.bl-code .hc{color:#7A88A8;font-style:italic}
.bl-code .hn{color:#F0A3A3}
/* per-reader progress toggles */
.bl-section .lbl{position:relative}
.blq-done{margin-left:10px;padding:2px 10px;border:1px solid var(--bl-line,#E6E9EF);border-radius:999px;background:#fff;color:var(--bl-mut,#5B6474);
  font:inherit;font-size:.72rem;font-weight:600;cursor:pointer;vertical-align:middle}
.blq-done:hover{border-color:#1E88E5;color:#1565C0}
.blq-done[aria-pressed="true"]{background:#E9F7EE;border-color:#8FD3A6;color:#1E7A3D}
.blq-done[aria-pressed="true"]::before{content:"\2713 ";font-weight:700}
.bl-toc a.is-done::before{content:"\2713";color:#2E7D32;font-weight:700;margin-right:6px;font-size:.85em}
/* mini progress in the TOC rail */
.blq-prog{margin-top:12px;padding-top:12px;border-top:1px solid var(--bl-line,#E6E9EF)}
.blq-prog-bar{height:6px;border-radius:4px;background:#E6E9EF;overflow:hidden}
.blq-prog-bar i{display:block;height:100%;width:0;background:#1E88E5;transition:width .3s}
.blq-prog-lbl{display:inline-block;margin-top:6px;font-size:.72rem;color:var(--bl-mut,#5B6474)}
.blq-resume{display:block;margin-top:8px;padding:6px 10px;border:1px solid #CFE3F7;border-radius:8px;background:#F5F9FE;color:#1565C0;
  font:inherit;font-size:.75rem;font-weight:600;cursor:pointer;text-align:left;width:100%}
.blq-resume:hover{background:#E9F2FC}
/* reading-progress bar pinned to the top of the viewport */
.blq-readbar{position:fixed;top:0;left:0;right:0;height:3px;background:transparent;z-index:60;pointer-events:none}
.blq-readbar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#1E88E5,#42A5F5)}
