/* The textbook view of a guide (a sketch): guides/book/<slug>.html, run by
   js/book.js. A book on a desk: two pages and a spine on a landscape screen,
   one page on a portrait one, an ink layer on every page, notes pinned in the
   margins. The page colours of the ink are fixed (they are drawn on paper,
   which stays paper in the dark theme); everything round the book follows the
   site's tokens. */

:root {
  --bk-desk: var(--paper);
  --bk-bar: var(--paper-white);
  --bk-page-shadow: 0 1px 1px rgba(20, 45, 32, 0.16), 0 10px 28px rgba(20, 45, 32, 0.20);
  --bk-dim: transparent;
  --bk-bar-h: 52px;
  --z: 1;
}
:root[data-theme="dark"] {
  --bk-desk: #0f1814;
  --bk-page-shadow: 0 1px 1px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.55);
  --bk-dim: rgba(10, 20, 15, 0.10);
}

html, body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bk-desk);
}
body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
textarea { -webkit-user-select: text; user-select: text; }
[hidden] { display: none !important; }
button { color: inherit; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 2.5px solid var(--riso-pink-deep); outline-offset: 2px; }

.bk-app {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
}
.bk-app > * { grid-column: 1; }

/* ---------- top bar ---------- */
.bk-bar {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--bk-bar-h);
  padding: 6px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left));
  padding-top: max(6px, env(safe-area-inset-top));
  background: var(--bk-bar);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  z-index: 8;
}
.bk-bar svg, .bk-btn svg, .bk-nav svg, .bk-tool svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.bk-back {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); padding: 8px 6px; border-radius: 3px; flex: none;
}
.bk-back:hover { color: var(--riso-green-deep); }
.bk-title {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  white-space: nowrap; overflow: hidden;
}
.bk-title b { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
.bk-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--riso-green-deep); }
.bk-sketch {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border: 1px dashed var(--ink-dim); border-radius: 2px; color: var(--ink-dim);
}
.bk-bar-r { display: flex; gap: 8px; flex: none; }
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px; padding: 6px 13px;
  border: 1.5px solid var(--ink); border-radius: 3px;
  background: var(--paper-white); color: var(--ink);
  font-family: var(--font-display); font-size: 14.5px; font-weight: 650;
  text-decoration: none;
}
.bk-btn:hover { background: var(--paper); }
.bk-solid { background: var(--riso-green); border-color: var(--riso-green-deep); color: var(--on-brand); }
.bk-solid:hover { background: var(--riso-green-deep); }
.bk-icon { width: 38px; padding: 0; }

/* ---------- tools ---------- */
.bk-tools {
  grid-row: 2;
  justify-self: center;
  display: flex; align-items: center; gap: 2px;
  margin: 8px 12px 0;
  padding: 4px;
  background: var(--paper-white);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(17, 30, 24, .16);
  position: relative;
  z-index: 7;
  max-width: calc(100vw - 24px);
}
[data-mode="spread"] .bk-tools {
  grid-row: 3;
  align-self: center;
  justify-self: start;
  flex-direction: column;
  margin: 0 0 0 max(12px, env(safe-area-inset-left));
}
.bk-tool {
  position: relative;
  display: grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 4px;
  background: none; color: var(--ink);
  touch-action: manipulation;
}
.bk-tool:hover { background: color-mix(in srgb, var(--riso-green) 14%, transparent); }
.bk-tool[aria-pressed="true"] {
  background: var(--paper);
  box-shadow: inset 0 -3px 0 var(--riso-pink);
}
.bk-tool:disabled { opacity: .35; cursor: default; background: none; }
.bk-tool .sw {
  position: absolute; right: 5px; bottom: 5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--sw); border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px #1a3a2a;
}
.bk-tool .nib { fill: color-mix(in srgb, var(--ink) 6%, transparent); }
.bk-sep { width: 1.5px; height: 26px; margin: 0 4px; background: var(--line-strong); border-radius: 1px; }
[data-mode="spread"] .bk-sep { width: 26px; height: 1.5px; margin: 4px 0; }

/* ---------- the desk and the book ---------- */
.bk-stage {
  grid-row: 3;
  position: relative;
  overflow: hidden;
  touch-action: none;
  outline: none;
}
.bk-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/img/grain.svg");
  mix-blend-mode: multiply;
  opacity: .14;
  pointer-events: none;
}
:root[data-theme="dark"] .bk-stage::before { opacity: 0; }
.bk-stage[data-tool="pen"], .bk-stage[data-tool="hl"] { cursor: crosshair; }
.bk-stage[data-tool="eraser"] { cursor: cell; }
.bk-stage[data-tool="note"] { cursor: copy; }
.bk-zoomer {
  position: absolute; inset: 0;
  transform-origin: 0 0;
}
.bk-zoomer[data-anim] { transition: transform .22s ease-out; }
.bk-book { position: absolute; }
.bk-slot {
  position: absolute; top: 0;
  background: #fff;
  box-shadow: var(--bk-page-shadow);
}
.bk-slot:empty { display: none; }
.bk-slot-l { border-radius: 3px 0 0 3px; }
.bk-slot-r { border-radius: 0 3px 3px 0; }
[data-mode="single"] .bk-slot-l { display: none; }

/* the stack of pages either side: thicker where more of the book lies */
.bk-edge {
  position: absolute; top: 2px; bottom: 2px;
  background: repeating-linear-gradient(to right, #fbfbf8 0 1px, #d9ddd6 1px 2px);
  box-shadow: var(--bk-page-shadow);
}
.bk-edge-l { border-radius: 3px 0 0 3px; }
.bk-edge-r { border-radius: 0 3px 3px 0; }

/* one page, as it sits in a slot or on a turning leaf */
.pg {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  contain: layout paint;
}
.pg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  -webkit-user-drag: none;
}
.pg-shade { position: absolute; inset: 0; background: var(--bk-dim); }
.bk-slot-l .pg-shade { background: linear-gradient(to left, rgba(0,0,0,.20), rgba(0,0,0,.06) 2.5%, rgba(0,0,0,0) 8%), var(--bk-dim); }
.bk-slot-r .pg-shade { background: linear-gradient(to right, rgba(0,0,0,.22), rgba(0,0,0,.06) 2.5%, rgba(0,0,0,0) 8%), var(--bk-dim); }
[data-mode="single"] .bk-slot-r .pg-shade { background: linear-gradient(to right, rgba(0,0,0,.12), rgba(0,0,0,0) 3%), var(--bk-dim); }
.pg-hl, .pg-ink { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: hidden; }
.pg-hl { mix-blend-mode: multiply; }
.pg-pins { position: absolute; inset: 0; }
.pg-rev .pg-img { transform: scaleX(-1); opacity: .07; }
.pg-rev { background: #fbfbf7; }

/* a note, closed: a pin whose point is where it was dropped */
.pin {
  position: absolute;
  width: 28px; height: 30px; padding: 0;
  border: 0; background: none;
  transform: translate(-50%, -100%) scale(calc(1 / var(--z)));
  transform-origin: 50% 100%;
  pointer-events: auto;
  touch-action: none;
  --pc: #f6d55c;
}
.pin::before {
  content: "";
  position: absolute; left: 4px; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--pc);
  border: 1.6px solid #1a3a2a;
  box-shadow: -1px 2px 3px rgba(0,0,0,.25);
}
.pin::after {
  content: "";
  position: absolute; left: 11px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #1a3a2a;
}
.pin[data-c="pink"] { --pc: #ff9ec4; }
.pin[data-c="green"] { --pc: #7fdcae; }
.pin[data-open] { z-index: 2; }
.pin[data-open]::before { box-shadow: 0 0 0 3px rgba(227, 88, 156, .45); }

/* the turning leaf: strips that bend, each with a front and a back */
.bk-leaf {
  position: absolute; top: 0;
  width: 0;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 3;
}
.bk-strip {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
}
.bk-face {
  position: absolute; inset: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #fff;
}
.bk-face-back { transform: rotateY(180deg); }
.bk-face .pg { inset: auto; top: 0; }
.bk-face .pin { pointer-events: none; }
.bk-face-shade { position: absolute; inset: 0; pointer-events: none; }
.bk-fade { position: absolute; top: 0; }
.bk-cast {
  position: absolute; top: 0;
  pointer-events: none;
  z-index: 2;
  display: none;
}

/* ---------- Play it live ---------- */
.bk-chips { position: absolute; pointer-events: none; }
.bk-chip {
  position: absolute; bottom: 7px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px 0 9px;
  border: 1px solid var(--ink); border-radius: 3px;
  background: var(--paper-white); color: var(--ink);
  font-family: var(--font-display); font-size: 13px; font-weight: 650; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(17, 30, 24, .18);
  pointer-events: auto;
  transform: scale(calc(1 / var(--z)));
  transform-origin: 0 100%;
}
.bk-chip-r { transform-origin: 100% 100%; }
.bk-chip:hover { border-color: var(--riso-pink-deep); }
.bk-chip svg { width: 11px; height: 11px; fill: var(--riso-pink-deep); stroke: none; }
.bk-chip small { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--riso-green-deep); }

/* ---------- zoom, hint, loading, toast ---------- */
.bk-zoomhud {
  position: absolute; top: 12px; right: max(12px, env(safe-area-inset-right));
  z-index: 6;
  display: inline-flex; gap: 8px; align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line-strong); border-radius: 3px;
  background: var(--paper-white);
  font-family: var(--font-mono); font-size: 12px;
  box-shadow: 0 6px 22px rgba(17, 30, 24, .16);
}
.bk-zoomhud b { font-family: var(--font-display); font-size: 13.5px; }
.bk-hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 6;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px 14px 18px;
  background: var(--paper-white);
  border: 0; border-top: 3px solid var(--riso-pink); border-radius: 4px;
  box-shadow: 0 6px 22px rgba(17, 30, 24, .16);
}
.bk-hint p { font-size: 15px; line-height: 1.4; }
.bk-hint .bk-btn { flex: none; }
.bk-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim);
  pointer-events: none;
}
.bk-loading[hidden] { display: none; }
.bk-toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 30;
  transform: translateX(-50%);
  padding: 9px 16px;
  background: var(--ink); color: var(--paper-white);
  border-radius: 4px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 22px rgba(17, 30, 24, .16);
  pointer-events: none;
}

/* ---------- bottom bar: scrubber ---------- */
.bk-foot {
  grid-row: 4;
  display: flex; align-items: center; gap: 8px;
  padding: 6px max(10px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  background: var(--bk-bar);
  border-top: 1.5px solid var(--ink);
  position: relative; z-index: 8;
  min-width: 0;
}
.bk-nav {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--paper-white);
  touch-action: manipulation;
}
.bk-nav:disabled { opacity: .3; }
.bk-scrub {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: flex-end; gap: 3px;
  padding: 15px 6px 4px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: relative;
  touch-action: pan-x;
}
.bk-scrub::-webkit-scrollbar { display: none; }
.bk-th {
  position: relative; flex: none;
  width: 32px; height: 45px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 2px;
  background: #fff;
  overflow: visible;
}
[data-mode="spread"] .bk-th:nth-child(even) { margin-left: 7px; }
.bk-th img { width: 100%; height: 100%; display: block; border-radius: 1px; }
.bk-th[aria-current] { outline: 2.5px solid var(--riso-pink-deep); outline-offset: 1px; }
.bk-th[data-ch]::before {
  content: attr(data-ch);
  position: absolute; left: 0; top: -14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--riso-green-deep);
}
.bk-th[data-marked]::after {
  content: "";
  position: absolute; right: -3px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--riso-pink-deep); border: 1.5px solid var(--paper-white);
}
.bk-meta {
  flex: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  min-width: 92px;
  font-family: var(--font-mono);
}
.bk-pageno { font-size: 13px; color: var(--ink); white-space: nowrap; }
.bk-saved { font-size: 12px; color: var(--ink-dim); white-space: nowrap; transition: color .2s; }
.bk-saved[data-busy] { color: var(--riso-pink-deep); }

/* ---------- sheets: contents, export, clear ---------- */
.bk-sheet {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(10, 25, 18, .32);
}
.bk-sheet[hidden] { display: none; }
.bk-sheet-card {
  width: min(460px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 18px 20px 20px;
  background: var(--paper-white);
  border: 0; border-top: 3px solid var(--ink); border-radius: 4px;
  box-shadow: 0 12px 40px rgba(17, 30, 24, .22);
}
.bk-sheet-card p { font-size: 15px; line-height: 1.45; color: var(--ink-dim); }
.bk-sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk-sheet-h h2 { font-size: 20px; font-weight: 750; }
.bk-x {
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 4px;
  background: none; font-size: 26px; line-height: 1;
}
.bk-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bk-sheet-foot { margin-top: 14px; font-size: 13.5px !important; }
.bk-sheet-foot a { text-decoration: underline; text-decoration-color: var(--riso-pink); text-underline-offset: 3px; }
.bk-sheet-card p.bk-made { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line-strong); font-size: 12px; line-height: 1.5; }
.bk-made b { color: var(--ink); font-weight: 650; }
.bk-toc { list-style: none; display: grid; gap: 2px; }
.bk-toc button {
  width: 100%;
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: baseline; gap: 8px;
  padding: 9px 8px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: none; text-align: left;
  font-size: 15.5px; line-height: 1.3;
}
.bk-toc button:hover, .bk-toc button[aria-current] { background: color-mix(in srgb, var(--riso-green) 16%, transparent); }
.bk-toc .n { font-family: var(--font-mono); font-size: 12px; color: var(--riso-pink-deep); }
.bk-toc .p { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }
.bk-toc .hl {
  display: inline-block; margin-left: 6px; padding: 0 5px;
  border: 1px solid var(--riso-pink-deep); border-radius: 2px;
  font-family: var(--font-mono); font-size: 12px; color: var(--riso-pink-deep);
  vertical-align: 2px;
}

/* Teacher resources in the Contents sheet: teacher mode only (this page
   has no header.css, so the rule is here). */
html[data-audience="student"] [data-aud="teacher"] { display: none !important; }
.bk-teach { margin-top: 18px; padding-top: 12px; border-top: 1.5px solid var(--ink); }
.bk-teach[hidden] { display: none; }
.bk-teach h3 { font-size: 16px; font-weight: 750; }
.bk-teach > p { margin-top: 4px; font-size: 14px !important; }
.bk-lessons { list-style: none; display: grid; margin-top: 8px; }
.bk-lessons li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.bk-l-t { font-size: 15px !important; font-weight: 650; color: var(--ink) !important; line-height: 1.3 !important; }
.bk-l-t .n { display: inline-block; min-width: 24px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--riso-pink-deep); }
.bk-l-t .hl { display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px solid var(--riso-pink-deep); border-radius: 2px; font-family: var(--font-mono); font-size: 12px; color: var(--riso-pink-deep); vertical-align: 2px; }
.bk-l-m { margin: 2px 0 0 24px; font-family: var(--font-mono); font-size: 12px !important; }
.bk-l-ch { padding: 0 2px; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--riso-green-deep); text-underline-offset: 3px; cursor: pointer; }
.bk-l-pdf { display: inline-block; white-space: nowrap; margin-left: 10px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--riso-green-deep); text-underline-offset: 3px; }
.bk-l-files, .bk-l-more { margin-top: 10px; font-size: 13.5px !important; }
.bk-l-files a, .bk-l-more a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--riso-pink); text-underline-offset: 3px; }

/* ---------- note editor ---------- */
.bk-noteed {
  position: fixed; z-index: 35;
  width: 290px;
  padding: 10px;
  background: #fff6c9;
  color: #1a3a2a;
  border: 1px solid rgba(26, 58, 42, .35); border-radius: 2px 2px 2px 16px;
  box-shadow: 0 8px 24px rgba(26, 58, 42, .28);
}
.bk-noteed[data-c="pink"] { background: #ffe0ee; }
.bk-noteed[data-c="green"] { background: #ddf6e8; }
.bk-noteed[hidden] { display: none; }
.bk-noteed-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bk-noteed-sw { display: flex; gap: 6px; margin-right: auto; }
.bk-noteed-sw button {
  width: 26px; height: 26px; padding: 0; border-radius: 50%;
  border: 1.5px solid #1a3a2a; background: #f6d55c;
}
.bk-noteed-sw [data-nc="pink"] { background: #ff9ec4; }
.bk-noteed-sw [data-nc="green"] { background: #7fdcae; }
.bk-noteed-sw [aria-checked="true"] { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px #1a3a2a; }
.bk-noteed-del, .bk-noteed-ok {
  min-height: 32px; padding: 4px 11px;
  border: 1px solid #1a3a2a; border-radius: 3px;
  background: rgba(255, 255, 255, .6); color: #1a3a2a;
  font-size: 13.5px; font-weight: 650;
}
.bk-noteed-ok { background: #1a3a2a; color: #fff; }
.bk-noteed textarea {
  display: block; width: 100%;
  min-height: 96px; resize: vertical;
  padding: 8px;
  border: 1.2px solid rgba(26, 58, 42, .3); border-radius: 6px;
  background: rgba(255, 255, 255, .55);
  color: #1a3a2a;
  font-family: var(--font-display); font-size: 16px; line-height: 1.4;
}

/* ---------- narrow screens ---------- */
@media (max-width: 760px) {
  .bk-back span, .bk-btn span, .bk-sketch, .bk-code { display: none; }
  .bk-btn { width: 38px; padding: 0; }
  .bk-title { justify-content: flex-start; }
  .bk-title b { font-size: 15.5px; }
  .bk-tool { width: 38px; height: 38px; }
  .bk-meta { min-width: 64px; }
  .bk-saved { display: none; }
}
@media (max-width: 420px) {
  .bk-tool { width: 34px; height: 36px; }
  .bk-sep { margin: 0 2px; }
  .bk-nav { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-zoomer[data-anim] { transition: none; }
  .bk-btn, .bk-tool { transition: none; }
}

/* ---------- export: the marked pages, printed ---------- */
.bk-print { display: none; }
@media print {
  html, body { height: auto; overflow: visible; background: #fff; }
  body > :not(.bk-print) { display: none !important; }
  .bk-print { display: block; }
  .bk-pp {
    position: relative;
    overflow: hidden;
    break-after: page;
    page-break-after: always;
  }
  .bk-pp:last-child { break-after: auto; page-break-after: auto; }
  .bk-pp .pg { pointer-events: none; }
  .bk-pp .pg-shade { display: none; }
  .bk-pp .pin { transform: translate(-50%, -100%); }
  .bk-pnote {
    position: absolute;
    max-width: 34%;
    padding: 5pt 7pt;
    background: #fff3b8;
    border: 1pt solid #1a3a2a; border-radius: 3pt;
    color: #1a3a2a;
    font-family: var(--font-display); font-size: 8.5pt; line-height: 1.3;
    white-space: pre-wrap;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .bk-pnote[data-c="pink"] { background: #ffd9ea; }
  .bk-pnote[data-c="green"] { background: #d5f3e3; }
  .bk-pp img, .bk-pp svg, .pin::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
