/* ==========================================================================
   Jadwal Pelajaran SMA Negeri 1 Singosari
   Sistem token tunggal. Satu aksen, satu skala radius, satu palet netral.
   Tanpa build step. Tanpa font eksternal.
   ========================================================================== */

:root {
  color-scheme: light;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Netral dingin, diselaraskan dengan navy sekolah */
  --bg:        #eaeef5;
  --surface:   #ffffff;
  --surface-2: #f4f7fb;
  --surface-3: #e9eef6;
  --ink:       #131c29;
  --ink-2:     #3d4b62;
  --ink-3:     #6a7891;
  --line:      #dbe2ee;
  --line-2:    #c2cdde;

  /* Brand dari situs resmi sekolah */
  --brand:      #003366;
  --brand-2:    #0d4c8b;
  --brand-ink:  #ffffff;
  --accent:     #a86400;
  --accent-ink: #ffffff;
  --accent-soft:#fdf1dd;

  --ring: #0d4c8b;

  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;

  --sh-1: 0 1px 2px rgba(0, 41, 79, .07);
  --sh-3: 0 18px 46px -18px rgba(0, 41, 79, .38);

  --z-sticky: 40;
  --z-pop: 60;

  --mp-l: 58%;
  --mp-l2: 91%;
  --mp-ink-l: 42%;
  --mp-ink-l2: 24%;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg:        #0c1220;
  --surface:   #131b2b;
  --surface-2: #182135;
  --surface-3: #1f2a41;
  --ink:       #e9eef7;
  --ink-2:     #b3c1d6;
  --ink-3:     #8494ad;
  --line:      #26324a;
  --line-2:    #33415d;

  --brand:      #04203f;
  --brand-2:    #7fb2ea;
  --brand-ink:  #ffffff;
  --accent:     #e8a33d;
  --accent-ink: #23180a;
  --accent-soft:#2a2318;

  --ring: #7fb2ea;

  --sh-1: 0 1px 2px rgba(0, 0, 0, .45);
  --sh-3: 0 18px 46px -18px rgba(0, 0, 0, .80);

  --mp-l: 26%;
  --mp-l2: 19%;
  --mp-ink-l: 62%;
  --mp-ink-l2: 80%;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }

svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 14px;
  border-radius: var(--r-2); border: 1px solid var(--line); box-shadow: var(--sh-3);
  text-decoration: none; font-weight: 600;
  transition: top .15s ease;
}
.skip:focus { top: 12px; }

:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--r-1);
}

/* ---------------------------------------------------------------- masthead */

.masthead {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.masthead__inner {
  max-width: 1400px; margin: 0 auto;
  padding: 10px 20px;
  display: flex; align-items: center; gap: 20px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex: 0 0 auto;
}
.brand__logo { height: 34px; width: auto; max-width: 100%; display: block; }
.brand__divider { width: 1px; height: 26px; background: rgba(255, 255, 255, .28); }
.brand__label {
  color: #fff; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1.15;
  opacity: .92;
}

.masthead__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 1 1 auto; justify-content: flex-end; }

/* ------------------------------------------------------------------ search */

.search { position: relative; flex: 1 1 340px; max-width: 420px; }
.search__icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--brand-2); pointer-events: none;
}
.search__input {
  width: 100%; padding: 9px 62px 9px 36px;
  border: 1px solid transparent; border-radius: var(--r-2);
  background: rgba(255, 255, 255, .14); color: #fff;
  font: inherit; font-size: 14px;
  transition: background .15s ease, border-color .15s ease;
}
.search__input::placeholder { color: rgba(255, 255, 255, .68); }
.search__input:focus {
  background: var(--surface); color: var(--ink);
  border-color: var(--brand-2); outline: none;
  box-shadow: 0 0 0 3px rgba(127, 178, 234, .35);
}
.search__input:focus::placeholder { color: var(--ink-3); }
.search__input::-webkit-search-cancel-button { display: none; }

.search__kbd {
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%);
  font: 600 11px/1 var(--font-mono); color: rgba(255, 255, 255, .70);
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 5px;
  padding: 3px 5px; pointer-events: none;
}
.search__input:focus ~ .search__kbd { display: none; }
.search__clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; display: grid; place-items: center;
  border: 0; border-radius: var(--r-1); background: transparent; cursor: pointer;
  color: rgba(255, 255, 255, .8);
}
.search__clear svg { width: 14px; height: 14px; }
.search__clear:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.search__input:focus ~ .search__clear { color: var(--ink-3); }
.search__input:focus ~ .search__clear:hover { background: var(--surface-3); color: var(--ink); }

.results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-3);
  box-shadow: var(--sh-3); z-index: var(--z-pop);
  max-height: min(60vh, 420px); overflow: auto;
  padding: 6px;
}
.results[hidden] { display: none; }
.results__head {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 6px 10px 8px; color: var(--ink-3);
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.result {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: baseline;
  padding: 9px 10px; border-radius: var(--r-2); cursor: pointer; text-align: left;
  width: 100%; border: 0; background: transparent; font: inherit;
}
.result:hover, .result[aria-selected="true"] { background: var(--surface-2); }
.result__kelas { font-weight: 700; color: var(--brand-2); }
.result__mapel { font-weight: 600; }
.result__mapel small { font-weight: 400; color: var(--ink-3); }
.result__meta { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
.results__empty { padding: 18px 12px; text-align: center; color: var(--ink-3); }
.results mark { background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: 0 2px; }
html[data-theme="dark"] .results mark { color: var(--accent); }

/* ------------------------------------------------------------------- tools */

.tools { display: flex; gap: 6px; flex: 0 0 auto; }
.iconbtn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-2);
  background: rgba(255, 255, 255, .08); color: #fff;
  cursor: pointer; text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.iconbtn svg { width: 17px; height: 17px; }
.iconbtn:hover { background: rgba(255, 255, 255, .20); border-color: rgba(255, 255, 255, .40); }
.iconbtn .i-moon { display: none; }
html[data-theme="dark"] .iconbtn .i-sun { display: none; }
html[data-theme="dark"] .iconbtn .i-moon { display: block; }

/* -------------------------------------------------------------- contextbar */

.contextbar {
  position: sticky; top: 57px; z-index: calc(var(--z-sticky) - 1);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.contextbar__inner {
  max-width: 1400px; margin: 0 auto;
  padding: 9px 20px;
  display: flex; align-items: center; gap: 14px;
}

.seg {
  display: flex; gap: 2px; padding: 3px; flex: 0 0 auto;
  background: var(--surface-3); border-radius: var(--r-2);
}
.seg__btn {
  border: 0; background: transparent; color: var(--ink-2);
  padding: 7px 14px; border-radius: 8px; font-weight: 650; font-size: 13.5px;
  cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-on { background: var(--brand); color: var(--brand-ink); box-shadow: var(--sh-1); }

.daytabs { display: flex; gap: 4px; overflow-x: auto; min-width: 0; scrollbar-width: none; padding: 2px; }
.daytabs::-webkit-scrollbar { display: none; }
.daytab {
  border: 1px solid transparent; background: transparent; color: var(--ink-2);
  padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13px;
  cursor: pointer; white-space: nowrap; transition: .15s ease;
}
.daytab:hover { background: var(--surface-2); color: var(--ink); }
.daytab.is-on { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
html[data-theme="dark"] .daytab.is-on { color: #08131f; }
.daytab.is-today::after { content: ""; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 13px; border-radius: var(--r-2); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
  font-weight: 650; font-size: 13.5px; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { border-color: var(--line-2); background: var(--surface-2); }
.btn--today { margin-left: auto; flex: 0 0 auto; }
.btn--today.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--ghost { padding: 7px 11px; font-size: 13px; }
.btn.is-done { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.i-cal { stroke-width: 1.6; }

/* ------------------------------------------------------------------- shell */

.shell {
  max-width: 1400px; margin: 0 auto;
  padding: 20px;
  display: grid; grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px; align-items: start;
}

.rail {
  position: sticky; top: 112px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-3); box-shadow: var(--sh-1);
  overflow: hidden; max-height: calc(100vh - 132px); display: flex; flex-direction: column;
}
.rail__head {
  padding: 13px 14px 11px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.rail__title { font-size: 12px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.rail__count { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rail__body { padding: 12px 14px 14px; overflow: auto; }

.fieldset { margin: 0 0 14px; }
.fieldset:last-child { margin-bottom: 0; }
.fieldset__label {
  display: block; margin-bottom: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}

.gradegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kelasgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }

.pick {
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2);
  padding: 9px 4px; border-radius: var(--r-2);
  font-weight: 650; font-size: 13.5px; cursor: pointer; text-align: center;
  transition: .15s ease; font-variant-numeric: tabular-nums;
}
.pick:hover { border-color: var(--line-2); color: var(--ink); background: var(--surface-3); }
.pick.is-on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.railfilter { position: relative; margin-bottom: 8px; }
.railfilter input {
  width: 100%; padding: 8px 10px 8px 30px;
  border: 1px solid var(--line); border-radius: var(--r-2);
  background: var(--surface-2); color: var(--ink); font: inherit; font-size: 13.5px;
}
.railfilter input::placeholder { color: var(--ink-3); }
.railfilter svg { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--ink-3); pointer-events: none; }

.gurulist { display: flex; flex-direction: column; gap: 2px; }
.guruitem {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  border: 0; background: transparent; color: var(--ink-2);
  padding: 7px 9px; border-radius: var(--r-2); cursor: pointer;
  text-align: left; font: inherit; font-size: 13.5px; font-weight: 550;
}
.guruitem:hover { background: var(--surface-2); color: var(--ink); }
.guruitem.is-on { background: var(--brand); color: var(--brand-ink); font-weight: 650; }
.guruitem.is-on .guruitem__n { color: rgba(255, 255, 255, .78); }
.guruitem__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guruitem__n { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.rail__none { padding: 14px 4px; color: var(--ink-3); font-size: 13px; text-align: center; }

/* ------------------------------------------------------------------- board */

.board {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-3); box-shadow: var(--sh-1);
  padding: 18px 18px 20px; min-width: 0;
}

.board__head {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.board__id { min-width: 0; }
.crumb {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.board__title { font-size: 26px; font-weight: 750; letter-spacing: -.015em; line-height: 1.12; }
.board__sub { grid-column: 1 / 2; color: var(--ink-3); font-size: 13px; }
.board__actions { grid-row: 1 / 3; grid-column: 2 / 3; display: flex; gap: 8px; align-self: center; }

.note {
  margin-top: 14px; padding: 10px 13px;
  background: var(--accent-soft); color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-2); font-size: 13.5px;
}
.note[hidden] { display: none; }

/* -------------------------------------------------------------------- grid */

.grid { margin-top: 16px; }

.tableview { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.sched { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 600px; }

table.sched th, table.sched td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0; text-align: center; }
table.sched tr > *:last-child { border-right: 0; }

table.sched thead th {
  background: var(--surface-2); color: var(--ink-2);
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  padding: 10px 8px; border-bottom: 1px solid var(--line-2);
}
table.sched thead th.is-today { color: var(--accent); }
table.sched thead th.is-today::after {
  content: "hari ini"; display: block;
  font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-top: 2px;
}
table.sched th.jam, table.sched td.jam {
  width: 58px; background: var(--surface-2); color: var(--ink-3);
  font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums;
  position: sticky; left: 0; z-index: 2;
}
table.sched td.jam { border-right: 1px solid var(--line); }

td.slot { padding: 4px !important; vertical-align: top; min-width: 104px; }

.mp {
  display: block; padding: 7px 8px; border-radius: var(--r-2);
  border: 1px solid hsl(var(--h, 210) 38% 78%);
  background: hsl(var(--h, 210) var(--mp-l) var(--mp-l2));
  color: hsl(var(--h, 210) var(--mp-ink-l) var(--mp-ink-l2));
  transition: opacity .15s ease, box-shadow .15s ease;
}
.mp__kode { display: block; font-weight: 750; font-size: 13px; line-height: 1.25; }
.mp__guru { display: block; font-size: 11.5px; opacity: .82; margin-top: 2px; line-height: 1.2; }
.mp__tl {
  display: inline-block; margin-left: 4px; vertical-align: 1px;
  font-size: 9.5px; font-weight: 750; letter-spacing: .05em;
  border: 1px solid currentColor; border-radius: 4px; padding: 0 3px; opacity: .8;
}
.mp--plain {
  background: var(--surface-2); border-color: var(--line); color: var(--ink-3);
  font-weight: 600; font-size: 12.5px;
}
td.slot.is-empty .mp--plain { background: transparent; border-color: transparent; }

.grid.is-searching .mp:not(.is-hit) { opacity: .28; }
.mp.is-hit { box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px var(--accent-soft); }

/* kartu untuk layar kecil */
.cardview { display: none; }
.daygroup { margin-bottom: 16px; }
.daygroup:last-child { margin-bottom: 0; }
.daygroup__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 12px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); padding-bottom: 7px; border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.daygroup.is-today .daygroup__head { color: var(--accent); border-bottom-color: var(--accent); }
.rowlist { display: flex; flex-direction: column; gap: 6px; }
.rowitem { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: stretch; }
.rowitem__jam {
  display: grid; place-items: center; background: var(--surface-2);
  border-radius: var(--r-2); color: var(--ink-3); font-weight: 700; font-size: 12.5px;
  font-variant-numeric: tabular-nums; padding: 6px 2px; text-align: center; line-height: 1.1;
}
.cardview .mp { padding: 8px 10px; }

/* ------------------------------------------------------------------ legend */

.legend { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.legend__head {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 9px;
}
.legend__items { display: flex; flex-wrap: wrap; gap: 6px; }
.lg {
  border: 1px solid hsl(var(--h, 210) 38% 78%);
  background: hsl(var(--h, 210) var(--mp-l) var(--mp-l2));
  color: hsl(var(--h, 210) var(--mp-ink-l) var(--mp-ink-l2));
  padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 650;
  cursor: pointer; transition: box-shadow .15s ease, transform .15s ease;
}
.lg:hover { box-shadow: 0 0 0 2px var(--line-2); }
.lg.is-on { box-shadow: 0 0 0 2px var(--accent); }
.lg--plain { background: var(--surface-2); border-color: var(--line); color: var(--ink-2); }

.legend__note { margin-top: 10px; color: var(--ink-3); font-size: 12px; }

.printhead { display: none; }
.printhead__school { font-size: 15px; font-weight: 750; letter-spacing: -.01em; }
.printhead__doc { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.empty { padding: 40px 16px; text-align: center; color: var(--ink-3); }
.empty strong { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 4px; }

/* -------------------------------------------------------------------- foot */

.foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 8px; }
.foot__inner {
  max-width: 1400px; margin: 0 auto; padding: 18px 20px 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 12.5px;
}
.foot__src { max-width: 62ch; }
.foot__stats { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- responsif */

@media (max-width: 1080px) {
  .shell { grid-template-columns: 240px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; padding: 14px; gap: 14px; }
  .rail { position: static; max-height: none; }
  .rail__body { padding-bottom: 14px; }
  .kelasgrid { grid-template-columns: repeat(6, 1fr); }
  .cardview { display: block; }
  .tableview { display: none; }
  .board { padding: 14px; }
  .board__head { grid-template-columns: 1fr; }
  .board__actions { grid-row: auto; grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .board__sub { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .masthead { position: static; }
  .masthead__inner { padding: 9px 14px; gap: 12px; flex-wrap: wrap; }
  .brand__label { display: none; }
  .brand__divider { display: none; }
  .masthead__tools { flex: 1 1 100%; }
  .search { max-width: none; flex: 1 1 auto; }
  .contextbar { top: auto; position: static; }
  .contextbar__inner { padding: 9px 14px; gap: 10px; flex-wrap: wrap; }
  .daytabs { order: 3; flex: 1 1 100%; }
  .btn--today { margin-left: 0; }
  .board__title { font-size: 22px; }
  .result { grid-template-columns: 56px 1fr; }
  .result__meta { grid-column: 2 / 3; }
}

@media (max-width: 420px) {
  .kelasgrid { grid-template-columns: repeat(4, 1fr); }
  .iconbtn { width: 34px; height: 34px; }
}

/* ---------------------------------------------------------- gerak & cetak */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  @page { margin: 12mm; }
  .masthead, .contextbar, .foot, .legend, .board__actions, .note, .daytabs, .skip { display: none !important; }
  html[data-theme="dark"] { color-scheme: light; }
  :root, html[data-theme="dark"] {
    --bg: #ffffff; --surface: #ffffff; --surface-2: #ffffff; --surface-3: #ffffff;
    --ink: #111111; --ink-2: #333333; --ink-3: #555555; --line: #bbbbbb; --line-2: #999999;
    --accent: #7a4a00; --accent-soft: #f4e6cd; --brand-2: #0d4c8b;
    --mp-l: 45%; --mp-l2: 90%; --mp-ink-l: 45%; --mp-ink-l2: 20%;
  }
  body { background: #fff; font-size: 11.5px; }
  .shell { display: block; padding: 0; max-width: none; }
  .rail { display: none; }
  .board { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  .printhead { display: block; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid #111; }
  .crumb { color: #444; }
  .board__head { border-bottom: 2px solid #111; padding-bottom: 8px; }
  .tableview { display: block !important; overflow: visible; }
  .cardview { display: none !important; }
  table.sched { min-width: 0; }
  table.sched thead th { position: static; background: #eee; }
  table.sched th.jam, table.sched td.jam { position: static; background: #eee; }
  .mp { break-inside: avoid; }
  tr, .mp { page-break-inside: avoid; }
}
