/* LIGHT READING THEME for the guide pages: paper-white content, dark top bar and footer kept (Tim 2026-11-26/27). Loaded after guide.css. */
body { background: #f6f7f9; color: #3a4350; }
.docs-layout, .docs-content { background: #ffffff; }
.docs-layout { box-shadow: 0 0 0 1px #e6e9ee; }
footer { background: #070c18; }
.docs-sidebar, .docs-sidebar[class] { background: transparent; border-right: 1px solid #e3e7ec; scrollbar-color: #c9d1da transparent; }
.sidebar-section-label { color: #08776b; }
.sidebar-link { color: #4b5563; }
.sidebar-link:hover { color: #0b1320; background: #eceff3; }
.sidebar-link.active { color: #08776b; background: #e3f4f1; border-left-color: #0db5a0; }
.sidebar-link.active::before { box-shadow: none; }
.breadcrumb, .breadcrumb a { color: #6b7684; }
.breadcrumb a:hover { color: #08776b; }
.page-title { color: #0b1320; }
.page-subtitle { color: #4b5563; }
.section-h2 { color: #0b1320; }
.section-h2::before { box-shadow: none; }
.section-h3 { color: #1b2430; }
.prose { color: #3a4350; }
.prose strong { color: #0b1320; }
:where(.docs-content) a:where(:not(.doc-nav-prev, .doc-nav-next)), .prose a, .field-desc a { color: #08776b; }
.docs-content hr { background: linear-gradient(90deg, #d5dbe2, #d5dbe2 60%, transparent); }
.step-card { background: #f8fafb; border-color: #e3e7ec; }
.step-card:hover { background: #f3f6f8; border-color: #cfd8e0; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: #D9771F; border: 2px solid #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.25); color: #ffffff; font-family: "Inter", -apple-system, "Segoe UI", sans-serif; font-size: 0.85rem; font-weight: 700; }
.step-card-title { color: #0b1320; }
.step-card-body p { color: #3a4350; }
.callout-info { background: #eef9f7; border-color: #c4ebe4; border-left-color: #0db5a0; }
.callout-warn { background: #fff7e8; border-color: #f6dfb0; border-left-color: #e0a020; }
.callout-info .callout-body { color: #1f4f49; }
.callout-warn .callout-body { color: #5c4210; }
.callout-info .callout-body strong { color: #08584f; }
.callout-warn .callout-body strong { color: #4a3200; }
.field-list { border-color: #e3e7ec; }
.field-fasttab { color: #08776b; background: #f3f8f7; border-bottom-color: #e3e7ec; }
.field-row { border-bottom-color: #edf0f3; }
.field-row:hover { background: #fafbfc; }
.field-name { color: #0b1320; }
.field-desc { color: #3a4350; }
.field-desc strong { color: #0b1320; }
pre { background: #f6f7f9; border-color: #e3e7ec; color: #2f353c; }
code { background: #eef4f3; border-color: #d6e6e3; color: #08584f; }
.doc-nav-links { border-top-color: #e3e7ec; }
.doc-nav-prev, .doc-nav-next { background: #f8fafb; border-color: #e3e7ec; }
.doc-nav-prev:hover, .doc-nav-next:hover { background: #f3f6f8; border-color: #cfd8e0; }
.nav-dir { color: #6b7684; }
.nav-page { color: #0b1320; }
.screenshot { border-color: #dde2e8; box-shadow: 0 2px 10px rgba(11,19,32,0.08); }
.mockup .screen { box-shadow: 0 2px 4px rgba(11,19,32,0.06), 0 8px 24px rgba(11,19,32,0.10); }
.mockup figcaption { color: #5b6573; }
.mockup figcaption strong { color: #1b2430; }
.mockup .illustration-note { color: #1b2430; }
.docs-sidebar { --dock-rgb: 11,19,32; --dock-base: 0.72; }

/* --- MOCK-UP 2: steps as a timeline (no cards): orange number, thin line down to the next step --- */
.step-cards { gap: 0; margin-bottom: 2rem; }
.step-card, .step-card:hover { position: relative; background: none; border: none; border-radius: 0; overflow: visible; padding-left: 2.9rem; transition: none; }
.step-card::before { content: ""; position: absolute; left: 14px; top: 38px; bottom: 6px; width: 2px; border-radius: 1px; background: #e3e7ec; }
.step-card:last-child::before { display: none; }
.step-card-header { padding: 0; gap: 0; min-height: 30px; }
.step-num { position: absolute; left: 0; top: 0; }
.step-card-title { font-size: 1rem; }
.step-card-body { padding: 0.45rem 0 2rem 0; }
.step-card-body p { font-size: 0.9rem; line-height: 1.75; }

/* --- MOCK-UP 3: one-line captions --- */
.mockup figcaption { margin-top: 0.55rem; font-size: 0.8rem; color: #5b6573; }
.mockup figcaption .cap-tag { display: inline-block; margin-right: 0.35rem; padding: 0 0.4rem; border-radius: 4px; background: #eef0f3; color: #5b6573; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; vertical-align: 1px; }

/* --- MOCK-UP 4: reading measure about 80 characters; screens keep the full width --- */
.prose, .page-subtitle, .step-card-body p, .docs-content ul.prose, .docs-content ol.prose, .callout, .mockup figcaption { max-width: 38rem; }
.docs-content .prose, .docs-content .page-subtitle, .docs-content .step-card-body p, .docs-content .callout, .docs-content .mockup figcaption { max-width: 38rem; }

/* --- CLIPS: short silent loops (MP4), play when in view, pause button, still image when motion is reduced --- */
.mockup.clip .clip-frame { position: relative; }
.mockup.clip video { display: block; width: 100%; height: auto; border-radius: 7px; cursor: pointer; background: #f6f7f9; }
.clip-toggle { position: absolute; right: 0.6rem; bottom: 0.6rem; padding: 0.2rem 0.7rem; border: none; border-radius: 999px; background: rgba(11,19,32,0.72); color: #ffffff; font: 600 0.72rem/1.6 'Inter', -apple-system, 'Segoe UI', sans-serif; cursor: pointer; }
.clip-toggle:hover, .clip-toggle:focus-visible { background: #0b1320; outline: 2px solid #E8963A; outline-offset: 2px; }

/* --- CALLOUTS, editorial: no box, no fill, no glyph; a thin rule and a small label --- */
.callout, .callout-info, .callout-warn { display: block; background: none; border: none; border-left: 2px solid #cfe9e4; border-radius: 0; padding: 0.15rem 0 0.15rem 1.1rem; margin: 1.5rem 0; }
.callout-warn { border-left-color: #f0d39a; }
.callout-icon { display: none; }
.callout-body, .callout-info .callout-body, .callout-warn .callout-body { font-size: 0.9rem; line-height: 1.75; color: #3a4350; }
.callout-body::before { display: block; margin-bottom: 0.2rem; font: 600 0.68rem/1.4 'JetBrains Mono', monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.callout-info .callout-body::before { content: "Note"; color: #08776b; }
.callout-warn .callout-body::before { content: "Watch out"; color: #9a5a00; }
.callout-body strong, .callout-info .callout-body strong, .callout-warn .callout-body strong { color: #0b1320; font-weight: 600; }
.callout-body a { color: #08776b; }
/* Tim likes the tint: keep a soft fill, square-ish corners, no thick bar, no glyph */
.callout, .callout-info { border: none; border-radius: 4px; padding: 0.85rem 1.15rem 0.9rem; background: #eef8f6; }
.callout-warn { border: none; border-radius: 4px; padding: 0.85rem 1.15rem 0.9rem; background: #fdf5e6; }
/* Icons on the label line (Tim 2026-11-26): warning triangle (Watch out), info circle (Note), lightbulb (Tip) */
.callout-body::before { padding-left: 1.45rem; min-height: 1.1rem; background-repeat: no-repeat; background-position: 0 50%; background-size: 1.05rem 1.05rem; }
.callout-warn .callout-body::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8 22.4 20.6a1 1 0 0 1-.87 1.5H2.47a1 1 0 0 1-.87-1.5L12 2.8Z' fill='%23C98A0B'/%3E%3Cpath d='M12 9v5.2' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.8' r='1.4' fill='%23fff'/%3E%3C/svg%3E"); }
.callout-info .callout-body::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%2308776b'/%3E%3Ccircle cx='12' cy='7.4' r='1.45' fill='%23fff'/%3E%3Cpath d='M12 11v6.2' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.callout-tip { border: none; border-radius: 4px; padding: 0.85rem 1.15rem 0.9rem; background: #fdf8e1; }
.callout-tip .callout-body::before { content: "Tip"; color: #8a6a00; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a7 7 0 0 0-4.2 12.6c.7.55 1.2 1.3 1.2 2.2v.7h6v-.7c0-.9.5-1.65 1.2-2.2A7 7 0 0 0 12 2.5Z' fill='%23D4A21A'/%3E%3Crect x='9' y='19' width='6' height='1.8' rx='.9' fill='%238a6a00'/%3E%3Crect x='10' y='21.6' width='4' height='1.6' rx='.8' fill='%238a6a00'/%3E%3Cpath d='M10.2 12.5 12 10l1.8 2.5' stroke='%23fff' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.callout-body::before { padding-left: 1.95rem; min-height: 1.5rem; line-height: 1.5rem; background-size: 1.45rem 1.45rem; font-size: 0.72rem; margin-bottom: 0.3rem; }
.callout, .callout-info, .callout-warn, .callout-tip { border-radius: 10px; }

/* ICON SET B, chosen by Tim 2026-11-26: thin outline icons (Lucide shapes, ISC licence) on the label line */
.callout-tip .callout-body::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B58A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E"); }
.callout-warn .callout-body::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C98A0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"); }
.callout-info .callout-body::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308776b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E"); }

/* FastTab headings in field tables (Tim 2026-11-26: "a bit pale"): read like BC's own FastTab name */
.field-fasttab { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; font-size: 0.92rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #0b1320; background: #f1f4f6; border-bottom: 1px solid #e3e7ec; padding: 0.7rem 1.1rem 0.65rem; }
.field-fasttab::after { content: ""; display: block; width: 2.2rem; height: 2px; margin-top: 0.35rem; border-radius: 1px; background: #0db5a0; }

/* Field tables (Tim 2026-11-26: "required looks lost", "font/size/spacing looks odd"): one font family, a clear Required tag */
.field-name { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; font-size: 0.9rem; font-weight: 600; line-height: 1.5; color: #0b1320; }
.field-desc { font-size: 0.875rem; line-height: 1.7; }
.field-row { padding: 0.85rem 1.1rem; }
.field-name .req { display: inline-block; margin-left: 0.45rem; padding: 0 0.42rem; border-radius: 4px; background: #fdecec; color: #b42318; font-size: 0.68rem; font-weight: 600; line-height: 1.45rem; letter-spacing: 0.02em; vertical-align: 0.1em; text-transform: none; }
.field-name .req::first-letter { text-transform: uppercase; }

/* Sidebar group labels (Tim 2026-11-26: "firm up the sidebar labels too"): normal case, semibold, dark */
.sidebar-section-label { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #0b1320; margin-bottom: 0.35rem; }
.sidebar-section { margin-bottom: 1.5rem; }

/* Previous / Next (Tim 2026-11-26): quieter cards; label small normal case, page name in link teal */
.doc-nav-links { margin-top: 3rem; padding-top: 1.75rem; border-top-color: #e3e7ec; }
.doc-nav-prev, .doc-nav-next { background: #ffffff; border: 1px solid #e3e7ec; border-radius: 10px; padding: 0.8rem 1.1rem; }
.doc-nav-prev:hover, .doc-nav-next:hover { background: #ffffff; border-color: #0db5a0; transform: none; box-shadow: 0 2px 8px rgba(11,19,32,0.06); }
.nav-dir { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; font-size: 0.75rem; letter-spacing: 0; text-transform: none; color: #6b7684; margin-bottom: 0.1rem; }
.nav-page { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; font-size: 0.95rem; font-weight: 600; color: #08776b; }
.nav-arrow { color: #08776b; transition: transform 0.15s ease; }
.doc-nav-prev:hover .nav-arrow { transform: translateX(-3px); }
.doc-nav-next:hover .nav-arrow { transform: translateX(3px); }

/* ONE READING COLUMN (Tim 2026-11-26: "why doesn't text fit the width"): text, callouts, field tables and
   step text share one right-hand edge (46rem); only screenshots, clips and drawn screens run wider. */
.docs-content .prose, .docs-content .page-subtitle, .docs-content .callout, .docs-content .field-list,
.docs-content .mockup figcaption, .docs-content hr { max-width: 46rem; }
.docs-content .step-card-header, .docs-content .step-card-body > p, .docs-content .step-card-body > ul, .docs-content .step-card-body > .callout { max-width: calc(46rem - 2.9rem); }
.docs-content .prose, .docs-content .step-card-body p { font-size: 0.95rem; line-height: 1.75; }
.docs-content .doc-nav-links { max-width: 46rem; }
.docs-content .mockup:not(:has(.shot)) { max-width: 46rem; }

/* Real screenshots over drawn screens: a screenshot uses the whole column; select it to open it full size. */
.mockup:has(.screen.shot):not(.dialog) { max-width: none; }
.mockup .screen.shot { overflow: visible; }
.mockup .screen.shot a { display: block; }
.mockup .screen.shot img { display: block; width: 100%; height: auto; border-radius: 7px; }

/* Page-level styles written for the dark theme (customer portal install, availability scheduling). */
.preview figcaption { color: #5b6573; }
.docs-content p.prose.either { color: #6b7684; }
.section-h4 { color: #1b2430; }
.command .where { color: #44505e; background: #e9f5f3; border-color: #cfe9e4; }
.command:not(.file) pre { background: #0b1320; color: #e6edf3; border-color: #0b1320; }
.to-hand { border-top-color: #cfe9e4; }
.to-hand div { border-bottom-color: #edf0f3; }
.to-hand dt { color: #0b1320; }
