/* Copyright (c) 2026 Dismo Industries LLC. Proprietary - all rights reserved. */
/* The class host view (/class/host/) and shared screen (/class/screen/). */

.cfh-page, .cfs-page { background: var(--cf-bg-page); color: var(--cf-ink); }
.cfh, .cfs { font-family: var(--cf-font-display); box-sizing: border-box; }
.cfh *, .cfs * { box-sizing: border-box; }
.cfh { max-width: 1280px; margin: 0 auto; padding: 88px 24px 48px; }

.cfh-kicker { font-family: var(--cf-font-mono); font-size: 11px; letter-spacing: .14em; color: var(--cf-cyan); margin: 0 0 6px; }
.cfh-muted { color: var(--cf-ink-dim); }
.cfh-mono { font-family: var(--cf-font-mono); }
.cfh-error { color: var(--cf-magenta); }
.cfh-link { background: none; border: none; padding: 0; color: var(--cf-cyan); font: inherit; text-decoration: underline; cursor: pointer; }
.cfh .cf-btn:disabled { background: var(--cf-bg-elev); color: var(--cf-ink-mute); box-shadow: none; cursor: not-allowed; filter: none; }
.cfh-btn-ghost, .cfh .cfh-btn-ghost { background: transparent; color: var(--cf-cyan); box-shadow: inset 0 0 0 1px rgba(104, 225, 253, .5); }
/* Buttons on the class pages are the site's standard flat buttons (small radius, no cut corners), like Save and Get one. */
.cfh .cf-btn, .cfh-viewer .cf-btn, .cfs .cf-btn, .cg .cf-btn { clip-path: none; border-radius: 4px; box-shadow: none; }
.cfh .cfh-btn-ghost, .cfh-viewer .cfh-btn-ghost, .cg .cg-ghost { box-shadow: inset 0 0 0 1px rgba(104, 225, 253, .5); }

/* sign-in */
.cfh-signin { max-width: 520px; margin: 40px auto; padding: 28px; background: var(--cf-bg-card); border: 1px solid var(--cf-bg-line); }
.cfh-signin h1 { margin: 0 0 12px; font-size: clamp(1.6rem, 5vw, 2.2rem); }
.cfh-signin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 16px 0; }
.cfh-key-form { display: grid; gap: 8px; margin-top: 12px; }
.cfh-key-form input { padding: 10px 12px; background: var(--cf-bg-deep); color: var(--cf-ink); border: 1px solid var(--cf-ink-faint); font: inherit; }
.cfs .cfh-signin { margin-top: 12vh; }

/* header */
.cfh-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 20px 24px; background: var(--cf-bg-card); border: 1px solid var(--cf-bg-line); border-left: 3px solid var(--cf-magenta); }
.cfh-head-main { min-width: 0; flex: 1 1 320px; }
.cfh-head h1 { margin: 0 0 10px; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; overflow-wrap: anywhere; }
.cfh-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.cfh-head-code { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; min-width: 0; }
.cfh-code-label { margin: 0; font-family: var(--cf-font-mono); font-size: 11px; letter-spacing: .14em; color: var(--cf-ink-dim); text-transform: uppercase; }
.cfh-code-big { margin: 0; font-family: var(--cf-font-mono); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: .08em; color: var(--cf-yellow); }
.cfh-join-link { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; font-size: 13px; overflow-wrap: anywhere; }
.cfh-head-code .cfh-confirm { justify-content: flex-end; }
.cfh-screen-btn { align-self: flex-end; margin-top: 4px; }
.cfh-ends { font-family: var(--cf-font-mono); font-size: 13px; color: var(--cf-ink-dim); }

.cfh-pill { display: inline-block; padding: 3px 10px; font-family: var(--cf-font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; white-space: nowrap; }
.cfh-state-waiting { color: var(--cf-ink-dim); }
.cfh-state-running { color: var(--cf-green); }
.cfh-state-paused { color: var(--cf-yellow); }
.cfh-state-ended { color: var(--cf-magenta); }
.cfh-approval-pending { color: var(--cf-yellow); }
.cfh-approval-approved { color: var(--cf-green); }
.cfh-approval-hidden { color: var(--cf-ink-mute); }

.cfh-status { min-height: 1.4em; margin: 10px 0; color: var(--cf-cyan); }

/* layout */
.cfh-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cfh-col { display: grid; gap: 20px; min-width: 0; }
.cfh-card { background: var(--cf-bg-card); border: 1px solid var(--cf-bg-line); padding: 18px 20px; min-width: 0; }
.cfh-card h2 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.cfh-card h3 { margin: 0 0 6px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cf-ink-dim); }
.cfh-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.cfh-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cfh-btn-row .cf-btn, .cfh-confirm .cf-btn { align-self: center; }
.cfh-control-row { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--cf-bg-line); }
.cfh-control-row p { margin: 0 0 8px; }
.cfh-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: var(--cf-bg-elev); }
.cfh-timer-custom { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 8px; }
.cfh-timer-custom .cf-btn { align-self: stretch; }
.cfh-timer-custom input { box-sizing: border-box; width: 110px; padding: 0 10px; font-size: 13px; background: var(--cf-bg-deep); color: var(--cf-ink); border: 1px solid var(--cf-ink-faint); border-radius: 4px; font: inherit; }
.cfh-clock-left { font-family: var(--cf-font-mono); font-size: 1.1rem; color: var(--cf-yellow); }
.cfh-controls textarea { width: 100%; min-height: 58px; margin-bottom: 8px; padding: 10px; background: var(--cf-bg-deep); color: var(--cf-ink); border: 1px solid var(--cf-ink-faint); font: inherit; resize: vertical; }
.cfh-count { margin-left: auto; font-family: var(--cf-font-mono); font-size: 12px; }
.cfh-current { padding: 8px 10px; background: var(--cf-bg-elev); border-left: 3px solid var(--cf-yellow); overflow-wrap: anywhere; }

/* roster */
.cfh-filter { font-size: 14px; color: var(--cf-ink-dim); cursor: pointer; }
.cfh-people, .cfh-projects, .cfh-subs, .cfh-assets { list-style: none; margin: 0; padding: 0; }
.cfh-person { border-top: 1px solid var(--cf-bg-line); }
.cfh-person.is-stuck { border-left: 3px solid var(--cf-magenta); }
.cfh-person-row { display: grid; grid-template-columns: 14px minmax(0, 1.4fr) minmax(0, 1fr) auto auto; align-items: center; gap: 4px 12px; width: 100%; padding: 10px 8px; background: none; border: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cfh-person-row:hover, .cfh-person.is-open .cfh-person-row { background: var(--cf-bg-elev); }
.cfh-person-name { min-width: 0; overflow-wrap: anywhere; }
.cfh-person-step { color: var(--cf-ink-dim); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.cfh-person-num { font-family: var(--cf-font-mono); font-size: 12px; color: var(--cf-ink-dim); white-space: nowrap; }
.cfh-stuck { grid-column: 2 / -1; justify-self: start; padding: 2px 8px; background: rgba(255, 43, 184, .15); color: var(--cf-magenta); font-size: 13px; font-weight: 600; }
.cfh-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cf-ink-faint); }
.cfh-dot.is-online { background: var(--cf-green); box-shadow: 0 0 8px var(--cf-green); }
.cfh-person-detail { display: grid; gap: 10px; padding: 6px 8px 14px 34px; background: var(--cf-bg-elev); }
.cfh-project-btn { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 8px 10px; background: var(--cf-bg-card); border: 1px solid var(--cf-bg-line); color: inherit; font: inherit; text-align: left; cursor: pointer; margin-bottom: 6px; }
.cfh-project-btn:hover { border-color: var(--cf-cyan); }
.cfh-project-name { font-weight: 600; color: var(--cf-cyan); }
.cfh-project-btn .cfh-muted { font-size: 13px; }

/* show and tell */
.cfh-banner { margin: 0 0 12px; padding: 10px 12px; background: rgba(255, 216, 74, .1); border-left: 3px solid var(--cf-yellow); }
.cfh-sub { padding: 12px; margin-bottom: 10px; background: var(--cf-bg-elev); border: 1px solid transparent; }
.cfh-sub.is-featured { border-color: var(--cf-green); box-shadow: 0 0 0 1px var(--cf-green), 0 0 18px rgba(77, 255, 175, .2); }
.cfh-sub p { margin: 4px 0 8px; font-size: 14px; }
.cfh-sub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.cfh-sub-name { background: none; border: none; padding: 0; color: var(--cf-ink); font: inherit; font-weight: 700; font-size: 1.05rem; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--cf-ink-faint); overflow-wrap: anywhere; }
.cfh-flag { padding: 8px 10px; background: rgba(255, 43, 184, .15); color: var(--cf-magenta); font-weight: 700; border-left: 3px solid var(--cf-magenta); }
.cfh-why { font-size: 13px; }

/* usage */
.cfh-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cfh-tile { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--cf-bg-elev); }
.cfh-tile-value { font-family: var(--cf-font-mono); font-size: 1.15rem; font-weight: 700; }
.cfh-tile-label { font-size: 12px; color: var(--cf-ink-dim); text-transform: uppercase; letter-spacing: .06em; }

/* read-only code */
.cfh-code { display: flex; flex-direction: column; min-width: 0; }
.cfh-code-tabs { display: flex; flex-wrap: wrap; gap: 2px; }
.cfh-code-tab { padding: 6px 12px; background: var(--cf-bg-elev); color: var(--cf-ink-dim); border: none; font-family: var(--cf-font-mono); font-size: 12px; cursor: pointer; }
.cfh-code-tab[aria-selected="true"] { background: var(--cf-bg-deep); color: var(--cf-cyan); box-shadow: inset 0 2px 0 var(--cf-cyan); }
.cfh-code-body { margin: 0; padding: 14px; background: var(--cf-bg-deep); color: var(--cf-ink); font-family: var(--cf-font-mono); font-size: 13px; line-height: 1.5; overflow: auto; max-height: 60vh; min-height: 200px; white-space: pre; tab-size: 2; }
/* A drawing tab: lit dots on the dark screen, scaled by a whole number so every dot stays square. */
.cfh-art-body { white-space: normal; }
.cfh-art-caption { margin: 0 0 10px; color: var(--cf-ink-dim); font-size: 12px; }
.cfh-art-frames { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.cfh-art-more { margin: 10px 0 0; }
.cfh-code-more { margin: 6px 0; font-size: 12px; }
.cfh-art-frame { display: block; max-width: 100%; height: auto; image-rendering: crisp-edges; image-rendering: pixelated; background: #000; outline: 1px solid var(--cf-bg-line); }

/* project viewer */
.cfh-viewer { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 20px; background: var(--cf-bg-card); color: var(--cf-ink); border: 1px solid var(--cf-ink-faint); font-family: var(--cf-font-display); }
.cfh-viewer::backdrop { background: rgba(8, 5, 15, .8); }
.cfh-viewer h2 { margin: 0; font-size: 1.4rem; overflow-wrap: anywhere; }
.cfh-viewer h3 { margin: 16px 0 6px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cf-ink-dim); }
.cfh-viewer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.cfh-viewer-head p { margin: 4px 0 0; }
.cfh-viewer-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cfh-viewer-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cfh-stage { width: 100%; max-width: 360px; min-height: 40px; }
.cfh-assets li { padding: 4px 0; font-family: var(--cf-font-mono); font-size: 13px; border-bottom: 1px solid var(--cf-bg-line); }
.cfh-copy-status { margin: 0; color: var(--cf-green); }
.cfh-copy-status a { color: var(--cf-cyan); }

@media (max-width: 900px) {
  .cfh-grid, .cfh-viewer-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .cfh { padding: 76px 16px 32px; }
  .cfh-head { padding: 16px; }
  .cfh-head-code { align-items: flex-start; text-align: left; }
  .cfh-join-link, .cfh-head-code .cfh-confirm { justify-content: flex-start; }
  .cfh-screen-btn { align-self: flex-start; }
  .cfh-card { padding: 14px; }
  .cfh-person-detail { padding-left: 12px; }
  .cfh-viewer { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; margin: 0; padding: 14px; }
  .cfh-code-body { max-height: 45vh; }
}

/* ---------- shared screen ---------- */
.cfs-page { background: var(--cf-bg-deep); min-height: 100vh; margin: 0; }
.cfs { display: flex; flex-direction: column; min-height: 100vh; padding: 0 clamp(16px, 3vw, 48px) 24px; overflow-x: hidden; }
.cfs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--cf-bg-line); font-size: clamp(14px, 1.4vw, 20px); }
.cfs-bar-name { font-weight: 700; color: var(--cf-ink-dim); text-transform: uppercase; letter-spacing: .06em; min-width: 0; overflow-wrap: anywhere; }
.cfs-bar-join { color: var(--cf-yellow); font-family: var(--cf-font-mono); }
.cfs-bar .cfs-clock { margin: 0; font-size: inherit; }
.cfs-fullscreen { margin-left: auto; }
.cfs-stage-area { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cfs-idle { text-align: center; padding: 4vh 0; }
.cfs-title { margin: 8px 0; font-size: clamp(2.4rem, 7vw, 6rem); line-height: 1.05; overflow-wrap: anywhere; }
.cfs-host { margin: 0 0 4vh; font-size: clamp(1.1rem, 2.4vw, 2rem); color: var(--cf-ink-dim); }
.cfs-join { margin: 0 auto; padding: 18px 28px; display: inline-block; max-width: 100%; background: var(--cf-bg-card); border: 1px solid var(--cf-ink-faint); font-size: clamp(1.1rem, 3vw, 2.6rem); overflow-wrap: anywhere; }
.cfs-join-code { font-family: var(--cf-font-mono); color: var(--cf-yellow); letter-spacing: .06em; white-space: nowrap; }
.cfs-theme { margin: 4vh 0 0; font-size: clamp(1.2rem, 3vw, 2.4rem); color: var(--cf-cyan); overflow-wrap: anywhere; }
.cfs-clock { margin: 3vh 0 0; font-family: var(--cf-font-mono); font-weight: 700; font-size: clamp(1.6rem, 5vw, 4.5rem); color: var(--cf-yellow); }
.cfs-featured { padding: 2vh 0; min-width: 0; }
.cfs-featured-head { margin-bottom: 2vh; }
.cfs-app-name { margin: 0; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.05; color: var(--cf-cyan); overflow-wrap: anywhere; }
.cfs-by { margin: 6px 0 0; font-size: clamp(1.1rem, 2.4vw, 2rem); color: var(--cf-ink-dim); }
.cfs-featured-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.cfs-emu-col { min-width: 0; display: flex; flex-direction: column; align-items: center; }
/* The device is about 1.35 times as tall as it is wide, so its width is capped by the height left under the header: it fits 1280x800 and stays large on a 1080p projector. */
.cfs-emu { width: 100%; max-width: min(620px, calc((100vh - 290px) / 1.35)); }
.cfs-run-status { margin: 8px 0 0; color: var(--cf-ink-dim); font-size: 1.1rem; text-align: center; }
.cfs-code-col { min-width: 0; }
.cfs-code-col .cfh-code-tab { font-size: 15px; padding: 8px 14px; }
.cfs-code-col .cfh-code-body { font-size: clamp(15px, 1.25vw, 22px); max-height: 68vh; }
.cfs-foot { min-height: 0; }
/* The lesson slide: one screenful, type sized by a fit step in the page script. */
.cfs.has-slide { height: 100vh; min-height: 0; overflow: hidden; }
.cfs.has-slide .cfs-bar { font-size: clamp(16px, 1.9vw, 34px); }
.cfs.has-slide .cfs-stage-area { min-height: 0; justify-content: stretch; }
.cfs-slide { --cfs-slide-fs: 32px; flex: 1; min-height: 0; overflow: hidden; padding: 2vh 0 1vh; font-size: var(--cfs-slide-fs); animation: cfs-slide-in .4s ease-out; }
.cfs-slide-title { margin: 0 0 .4em; font-size: 1.7em; line-height: 1.1; color: var(--cf-cyan); overflow-wrap: anywhere; }
.cfs-slide-goal { margin: 0 0 .7em; font-size: 1.15em; color: var(--cf-yellow); overflow-wrap: anywhere; }
.cfs-slide-steps { margin: 0; padding-left: 1.4em; line-height: 1.25; }
.cfs-slide-steps li { margin: 0 0 .45em; padding-left: .2em; overflow-wrap: anywhere; }
.cfs-slide-steps li::marker { color: var(--cf-yellow); font-weight: 700; }
@keyframes cfs-slide-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cfs-slide { animation: none; } }
.cfs-announce { margin: 12px 0 0; padding: 14px 20px; background: var(--cf-bg-card); border-left: 4px solid var(--cf-yellow); font-size: clamp(1.1rem, 2.4vw, 2.2rem); overflow-wrap: anywhere; }
.cfs-announce[hidden], .cfs-clock[hidden] { display: none; }

@media (max-width: 820px) {
  .cfs-featured-body { grid-template-columns: minmax(0, 1fr); }
  .cfs-code-col .cfh-code-body { font-size: 14px; max-height: 50vh; }
}
.cfh-review { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--cf-bg-line); }
.cfh-review p { margin: 0 0 8px; }
.cfh-review-status { color: var(--cf-magenta); }
.cfh-viewer > .cfh-flag { margin: 0 0 12px; }
.cfh-stage[hidden] { display: none; }
/* The projector shows only the class: no floating feedback button. */
.cfs-page #cf-feedback-btn { display: none; }
@media (max-width: 600px) {
  .cfh-person-row { grid-template-columns: 14px minmax(0, 1fr) auto auto; }
  .cfh-person-step { grid-column: 2 / -1; grid-row: 2; }
  .cfh-stuck { grid-column: 2 / -1; grid-row: 3; }
}

/* ---------- Guide panel (host view) ---------- */
.cfh-guide-btn { align-self: flex-end; }
.cfh-guide { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-sheet); width: min(480px, 100vw); overflow-y: auto; overflow-x: hidden; padding: 18px 20px 32px; background: var(--cf-bg-card); color: var(--cf-ink); border-left: 1px solid var(--cf-ink-faint); box-shadow: -12px 0 32px rgba(0, 0, 0, .45); font-family: var(--cf-font-display); box-sizing: border-box; }
.cfh-guide[hidden] { display: none; }
.cfh-guide *, .cfh-guide-print * { box-sizing: border-box; }
.cfh-guide .cf-btn { clip-path: none; border-radius: 4px; box-shadow: none; }
.cfh-guide .cfh-btn-ghost { box-shadow: inset 0 0 0 1px rgba(104, 225, 253, .5); }
.cfh-guide-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.cfh-guide-head h2 { margin: 0; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; }
.cfh-guide-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.cfh-guide-pick label { font-family: var(--cf-font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cf-ink-dim); }
.cfh-guide-pick select { flex: 1 1 200px; min-width: 0; max-width: 100%; padding: 8px 10px; background: var(--cf-bg-deep); color: var(--cf-ink); border: 1px solid var(--cf-ink-faint); border-radius: 4px; font: inherit; }
.cfh-guide h3, .cfh-guide-print h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--cf-cyan); overflow-wrap: anywhere; }
.cfh-guide h4 { margin: 14px 0 4px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cf-ink-dim); }
.cfh-guide p, .cfh-guide li { overflow-wrap: anywhere; }
.cfh-guide p { margin: 0 0 8px; }
.cfh-guide ul, .cfh-guide ol { margin: 0 0 8px; padding-left: 1.3em; }
.cfh-guide li { margin-bottom: 4px; }
.cfh-guide-say { margin: 0; padding: 10px 12px; background: var(--cf-bg-elev); border-left: 3px solid var(--cf-yellow); font-size: 1.02rem; line-height: 1.45; }
.cfh-guide-note { color: var(--cf-ink-dim); font-size: 14px; }
.cfh-guide-step { padding: 12px 0; border-top: 1px solid var(--cf-bg-line); border-bottom: 1px solid var(--cf-bg-line); }
.cfh-guide-handouts { margin-top: 14px; }
.cfh-guide-handouts ul { list-style: none; padding: 0; }
.cfh-guide-handouts li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--cf-bg-line); }
.cfh-guide-actions { margin: 14px 0; }
.cfh-guide-more { margin-top: 8px; border-top: 1px solid var(--cf-bg-line); }
.cfh-guide-more summary { padding: 10px 0; cursor: pointer; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; }
.cfh-guide-table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.cfh-guide-table th, .cfh-guide-table td { padding: 5px 6px; border-bottom: 1px solid var(--cf-bg-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.cfh-guide-table th:first-child, .cfh-guide-table td:first-child { width: 3.4em; }
.cfh-guide-table th:nth-child(2), .cfh-guide-table td:nth-child(2) { width: 30%; }
@media (max-width: 600px) {
  .cfh-guide { padding: 14px 14px 28px; width: 100vw; max-width: 100vw; }
  .cfh-guide-btn { align-self: flex-start; }
}

/* "Print the guide": only the guide goes to paper. */
.cfh-guide-print { display: none; }
@media print {
  html.cfh-printing body > *:not(#cfh-guide-print) { display: none !important; }
  html.cfh-printing, html.cfh-printing body { background: #fff !important; color: #000 !important; }
  html.cfh-printing .cfh-guide-print { display: block; font-family: Arial, Helvetica, sans-serif; color: #000; font-size: 11pt; line-height: 1.4; }
  .cfh-guide-print h1 { font-size: 20pt; margin: 0 0 8pt; }
  .cfh-guide-print h2 { font-size: 15pt; margin: 16pt 0 6pt; border-bottom: 1pt solid #000; }
  .cfh-guide-print h3 { color: #000; font-size: 13pt; margin: 12pt 0 4pt; }
  .cfh-guide-print h4 { font-size: 10pt; text-transform: uppercase; letter-spacing: .06em; margin: 8pt 0 2pt; }
  .cfh-guide-print p, .cfh-guide-print ul, .cfh-guide-print ol { margin: 0 0 6pt; }
  .cfh-guide-print .cfh-guide-say { margin: 0 0 6pt; padding: 4pt 8pt; border-left: 3pt solid #000; }
  .cfh-guide-print .cfh-guide-notes { break-inside: auto; }
  .cfh-guide-print h3, .cfh-guide-print h4 { break-after: avoid; page-break-after: avoid; }
  .cfh-guide-print .cfh-guide-table { width: 100%; border-collapse: collapse; }
  .cfh-guide-print .cfh-guide-table th, .cfh-guide-print .cfh-guide-table td { border: 1pt solid #000; padding: 3pt 5pt; text-align: left; vertical-align: top; }
}
