/* Three lightweight themes. Shared print rules keep lesson text regular and readable. */
.sheet.th-lime {
  --s-bg:#f6f5ee;--s-card:#fffef8;--s-ink:#24291f;--s-mut:#57614b;
  --s-acc:#486313;--s-line:#ced3bc;--s-rad:12px;--s-hfont:Unbounded,sans-serif;
}
.sheet.th-orbit {
  --s-bg:#131d43;--s-card:#1b294f;--s-ink:#f5f7ff;--s-mut:#c3cdeb;
  --s-acc:#a4f0e0;--s-label-ink:#a4f0e0;--s-line:#4c5b82;--s-rad:18px;
  --s-hfont:Unbounded,sans-serif;
}
.sheet.th-cherry {
  --s-bg:#fff8ef;--s-card:#fffdf7;--s-ink:#492932;--s-mut:#805966;
  --s-acc:#a72b45;--s-line:#e7b9be;--s-rad:14px;--s-hfont:Manrope,sans-serif;
}
/* Lime club: a track stripe, fluorescent tabs and crisp numbered-card rhythm. */
.sheet.paper-sheet.th-lime:not(.print-friendly) {
  background:linear-gradient(90deg,#d8fa45 0 9px,transparent 9px),#f6f5ee;
}
.sheet.paper-sheet.th-lime:not(.print-friendly)::before {
  content:"";position:absolute;right:0;top:0;width:100px;height:9px;
  background:repeating-linear-gradient(90deg,#24291f 0 9px,#d8fa45 9px 18px);pointer-events:none;
}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-title {font-family:Manrope,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:-.025em;color:#24291f}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-head {border-bottom:2px solid #24291f}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-tag {
  background:#d8fa45;color:#24291f;padding:5px 9px;border-radius:99px;letter-spacing:.06em;
}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-dayh {
  background:#d8fa45;color:#24291f;border:1px solid #bbc879;border-radius:99px;
}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-dayh:nth-child(3n) {background:#24291f;color:#e7faaf;border-color:#24291f}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-cell {
  background:color-mix(in srgb,var(--subject-color,#acb68a) 8%,#fffef8);
  border-color:#ced3bc;border-left:3px solid color-mix(in srgb,var(--subject-color,#8c9b67) 50%,#a8b484);
  border-radius:3px 10px 10px 3px;
}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-cell.cat-empty {background:#eceede;border:1px dashed #c1c9ac}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-cell.is-painted {background:color-mix(in srgb,var(--cell-fill) 25%,#fffef8);border-left-color:var(--cell-fill)}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-span {background:#e9eddb;color:#445332;border-style:dashed;border-radius:99px}
.sheet.paper-sheet.th-lime:not(.print-friendly) .s-badge {background:#24291f;color:#e7faaf}
/* Orbit: dark blue instrument panels with a quiet aurora behind the header. */
.sheet.paper-sheet.th-orbit:not(.print-friendly) {
  background:radial-gradient(ellipse at 94% 0%,#394980 0%,#1b2a58 23%,#131d43 60%);
}
.sheet.paper-sheet.th-orbit:not(.print-friendly)::before {
  content:"";position:absolute;right:22px;top:15px;width:165px;height:43px;
  border:1px solid #96b9e85c;border-radius:50%;transform:rotate(-14deg);pointer-events:none;
}
.sheet.paper-sheet.th-orbit:not(.print-friendly)::after {
  content:"";position:absolute;right:56px;top:14px;width:7px;height:7px;
  border-radius:50%;background:#b9f6e9;box-shadow:0 0 14px #b9f6e966;pointer-events:none;
}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-head {border-bottom:1px solid #677aa4}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-title {color:#f5f7ff;letter-spacing:-.04em}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-tag {color:#cceaff;background:#1a2b50;padding:5px 8px;border:1px solid #526790;border-radius:5px}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-dayh {color:#192649;background:#ccd5ff;border-radius:7px 7px 2px 2px;border-bottom:2px solid #95a9e5}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-dayh:nth-child(3n) {background:#b6ecdf;border-color:#78b7ad}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-cell {
  background:color-mix(in srgb,var(--subject-color,#96a7db) 8%,#1b294f);
  border-color:#536187;border-radius:7px;
}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-cell.cat-empty {background:#172142;border:1px dashed #465378}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-cell.is-painted {background:color-mix(in srgb,var(--cell-fill) 14%,#1b294f);border-color:color-mix(in srgb,var(--cell-fill) 50%,#9faed0)}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-span {background:#223351;color:#d8e6f7;border-color:#536987;border-radius:4px}
.sheet.paper-sheet.th-orbit:not(.print-friendly) .s-badge {background:#b6ecdf;color:#192649}
/* Cherry: cream stationery, gingham edges and a double-ruled header. */
.sheet.paper-sheet.th-cherry:not(.print-friendly) {
  background:linear-gradient(90deg,#a72b451a 50%,transparent 50%) 0 0 / 16px 16px repeat-x,
    linear-gradient(#a72b451a 50%,transparent 50%) 0 0 / 16px 16px repeat-x,#fff8ef;
}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-head {border-bottom:3px double #bd5065}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-title {color:#9d2941;font-style:normal;letter-spacing:-.04em}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-tag {color:#9d2941;border:1px solid #d99ba6;border-radius:3px;padding:4px 8px;background:#fffdf7;transform:rotate(-3deg)}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-dayh {color:#fff7f0;background:#a72b45;border-radius:12px 12px 4px 4px}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-dayh:nth-child(2n+1) {background:#f7cbd2;color:#7c2539}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-cell {
  background:color-mix(in srgb,var(--subject-color,#cb6b7a) 6%,#fffdf7);
  border-color:#e7bdc2;border-radius:7px;box-shadow:0 1px 0 #eed6ce;
}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-cell.cat-empty {background:#fbefe9;border:1px dashed #dcbfc0;box-shadow:none}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-cell.is-painted {background:color-mix(in srgb,var(--cell-fill) 20%,#fffdf7)}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-span {background:#fce6e6;color:#823b4b;border:1px dashed #d599a4;border-radius:99px}
.sheet.paper-sheet.th-cherry:not(.print-friendly) .s-badge {color:#fff7f0;background:#a72b45}
/* Small style signatures also survive the ink-saving treatment. */
.sheet.paper-sheet.th-lime.print-friendly .s-head {border-bottom:2px solid #486313}
.sheet.paper-sheet.th-lime.print-friendly .s-dayh {border-radius:99px}
.sheet.paper-sheet.th-orbit.print-friendly .s-head {border-bottom:1px solid #405bb9}
.sheet.paper-sheet.th-orbit.print-friendly .s-dayh {border-bottom:1px solid #8495c9;border-radius:7px 7px 2px 2px}
.sheet.paper-sheet.th-cherry.print-friendly .s-head {border-bottom:3px double #a72b45}
.sheet.paper-sheet.th-cherry.print-friendly .s-dayh {border-radius:12px 12px 4px 4px}
.sheet.paper-sheet:is(.th-lime,.th-orbit,.th-cherry) .s-cell {padding-left:4px;padding-right:4px}
.sheet.paper-sheet:is(.th-lime,.th-orbit,.th-cherry) .s-subj {hyphens:auto;hyphenate-limit-chars:6 3 3}
.mini-meta>div {min-width:0}.mini-meta small {display:block;font:400 10px/1.5 Manrope,sans-serif;color:var(--tx2);margin-top:5px}
.mini-meta .theme-fresh {flex-shrink:0;font-size:9px;padding:4px 7px;border-radius:99px;background:var(--p2);color:var(--tx)}
