/* Activity planner — a wall planner for field coordination.
   Ink on cool paper; the day scale and every number set in mono, the way a
   printed planner sets them. Colour belongs to activity type and nothing else. */

:root {
  --paper:      #EDF1F7;
  --card:       #FFFFFF;
  --ink:        #16233B;
  --ink-2:      #56637E;
  --ink-3:      #8A94A8;
  --rule:       #D3DAE8;
  --rule-soft:  #E6EBF3;
  --teal:       #0E7C86;
  --teal-ink:   #0A5A62;
  --amber:      #B26A05;
  --weekend:    rgba(22, 35, 59, .045);
  --danger:     #A3182F;

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

  --col: 38px;      /* minimum width of one day column */
  --lane-h: 30px;
  --radius: 5px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F141D;
    --card: #171E2A;
    --ink: #E3E9F4;
    --ink-2: #9AA6BC;
    --ink-3: #6E7A91;
    --rule: #2A3345;
    --rule-soft: #212938;
    --teal: #3FB0B8;
    --teal-ink: #7FD3D9;
    --amber: #D99A2B;
    --weekend: rgba(255, 255, 255, .04);
    --danger: #E4788A;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
a { color: var(--teal-ink); }

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- top bar ---------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  height: 56px;
  background: var(--card);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 15px; height: 15px; border-radius: 3px;
  background: var(--teal);
  box-shadow: 6px 0 0 -3px var(--amber), 12px 0 0 -6px var(--ink-3);
}
.brand-name { font-size: 15px; letter-spacing: -.01em; color: var(--ink-2); }
.brand-name b { color: var(--ink); font-weight: 700; }

.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a, .signout button {
  font: inherit;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 0;
  background: none;
  cursor: pointer;
}
.topnav a:hover, .signout button:hover { background: var(--rule-soft); color: var(--ink); }
.topnav a.on { color: var(--ink); background: var(--rule-soft); font-weight: 600; }
.signout { margin: 0 0 0 4px; padding-left: 10px; border-left: 1px solid var(--rule); }
.who { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-left: 6px; }

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

.shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  align-items: start;
  min-height: calc(100vh - 56px);
}

.rail {
  position: sticky;
  top: 56px;
  padding: 20px 18px;
  border-right: 1px solid var(--rule);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
.rail-fold > summary { display: none; }
.facet { margin-bottom: 20px; }
.field { margin-bottom: 20px; }

.options { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.options li label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  margin-left: -6px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-2);
}
.options li label:hover { background: var(--rule-soft); color: var(--ink); }
.options input { accent-color: var(--teal); margin: 0; }
.options .swatch { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.options .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.options .n { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.options li.checked label { color: var(--ink); font-weight: 600; }

.clear {
  border: 0; background: none; cursor: pointer; padding: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.clear:hover { color: var(--teal-ink); }
.clear[hidden] { display: none; }

input[type="search"], input[type="text"], input[type="date"], input[type="time"],
input[type="password"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 7px 9px;
}
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline-offset: 0; }

.rail-foot { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--rule); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-size: 13.5px; font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--teal); color: #fff;
  text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: var(--card); color: var(--ink-2); border-color: var(--rule); }
.btn.ghost:hover { color: var(--ink); border-color: var(--ink-3); filter: none; }
.btn.sm { padding: 5px 10px; font-size: 12.5px; }
.btn.danger { background: none; color: var(--danger); border-color: transparent; }
.btn.danger:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); filter: none; }

/* --- stage ------------------------------------------------------------ */

.stage { padding: 22px 24px 60px; min-width: 0; }
.stage-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 4px;
}
.monthnav { display: flex; align-items: center; gap: 6px; }
.monthnav h1 { font-size: 25px; min-width: 200px; }
.monthnav > button:not(.btn) {
  font: inherit; font-size: 20px; line-height: 1;
  width: 30px; height: 30px;
  border: 1px solid var(--rule); background: var(--card); color: var(--ink-2);
  border-radius: var(--radius); cursor: pointer;
}
.monthnav > button:not(.btn):hover { color: var(--ink); border-color: var(--ink-3); }
.monthnav .btn { margin-left: 6px; }

.viewtoggle { display: flex; background: var(--rule-soft); border-radius: var(--radius); padding: 2px; }
.viewtoggle button {
  font: inherit; font-size: 13px; padding: 5px 12px;
  border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: 4px;
}
.viewtoggle button.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(22,35,59,.12); }

.summary { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin: 0 0 16px; letter-spacing: .04em; }
.empty { color: var(--ink-2); font-size: 14px; padding: 40px 0; text-align: center; }

/* --- the planner ------------------------------------------------------ */

.planner-scroll { overflow-x: auto; padding-bottom: 6px; }
.planner {
  display: grid;
  /* Day columns are sized in JS: flexible tracks would stretch to fit bar text
     instead of holding one day each. */
  grid-template-columns: repeat(31, var(--col));
  width: max-content;
  min-width: 100%;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 7px;
  row-gap: 4px;
  padding-bottom: 8px;
}

/* Epi-week is the planning unit these teams actually use, so it heads the scale. */
.wk {
  grid-row: 1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-3);
  padding: 7px 0 5px 7px;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-soft);
  white-space: nowrap;
  overflow: hidden;
}
.wk:first-of-type { border-left: 0; }

.day {
  grid-row: 2;
  text-align: center;
  padding: 5px 0 7px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
}
.day .dow { display: block; font-size: 9.5px; color: var(--ink-3); letter-spacing: .06em; }
.day .num { display: block; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.day.is-weekend .num { color: var(--ink-3); }
.day.is-today .num {
  color: #fff; background: var(--amber);
  border-radius: 3px; display: inline-block; min-width: 21px; padding: 0 3px;
}

.band { grid-row: 3 / -1; pointer-events: none; }
.band.weekend { background: var(--weekend); }
.band.today { box-shadow: inset 1px 0 0 var(--amber), inset -1px 0 0 var(--amber); }

.bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--lane-h);
  margin: 0 2px;
  padding: 0 8px 0 9px;
  border-radius: 4px;
  border: 0;
  font: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  color: var(--ink);
  background: color-mix(in srgb, var(--c) 15%, var(--card));
  box-shadow: inset 3px 0 0 var(--c);
}
.bar:hover { background: color-mix(in srgb, var(--c) 26%, var(--card)); }
.bar .bar-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
.bar .bar-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }

/* Short bars let the name run past the block, into the days reserved for it. */
.bar.spill { overflow: visible; }
.bar.spill .bar-name {
  position: absolute;
  left: 9px;
  white-space: nowrap;
  overflow: visible;
  text-shadow: 0 0 3px var(--card), 0 0 3px var(--card);
}
.bar.continues-left { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; box-shadow: none; }
.bar.continues-right { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.bar.st-completed { opacity: .62; }
.bar.st-cancelled {
  background: repeating-linear-gradient(-45deg,
    transparent 0 5px, color-mix(in srgb, var(--c) 22%, var(--card)) 5px 10px);
  box-shadow: inset 3px 0 0 var(--ink-3);
}
.bar.st-cancelled .bar-name { text-decoration: line-through; color: var(--ink-2); }
.bar.st-ongoing { box-shadow: inset 3px 0 0 var(--c), 0 0 0 1px var(--c); }

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

.grid-calendar { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 7px; overflow: hidden; margin-bottom: 20px; }
.grid-header { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--rule-soft); border-bottom: 1px solid var(--rule); text-align: center; }
.grid-header > div { font-family: var(--mono); font-size: 11px; padding: 8px 4px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.grid-body { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 0; }
.grid-cell { min-height: 110px; border-right: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); padding: 4px; display: flex; flex-direction: column; gap: 4px; }
.grid-cell:nth-child(7n) { border-right: 0; }
.grid-cell.empty { background: var(--paper); opacity: 0.5; }
.grid-cell-date { font-family: var(--mono); font-size: 13px; color: var(--ink-2); text-align: right; margin-bottom: 2px; padding-right: 4px; }
.grid-cell.is-today .grid-cell-date { color: #fff; background: var(--amber); border-radius: 3px; display: inline-block; width: fit-content; align-self: flex-end; padding: 0 4px; }
.grid-cell-items { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.grid-item { display: flex; align-items: flex-start; gap: 4px; text-align: left; padding: 3px 6px; border: 0; border-radius: 3px; background: color-mix(in srgb, var(--c) 12%, var(--card)); color: var(--ink); cursor: pointer; font: inherit; font-size: 11px; line-height: 1.2; width: 100%; white-space: normal; word-wrap: break-word; border-left: 2px solid var(--c); }
.grid-item:hover { background: color-mix(in srgb, var(--c) 22%, var(--card)); }
.grid-item.st-completed { opacity: 0.6; }
.grid-item.st-cancelled { text-decoration: line-through; opacity: 0.6; }
.grid-item-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; display: none; margin-top: 3px; }
.grid-item-title { white-space: normal; font-weight: 500; word-break: break-word; }

/* --- agenda ----------------------------------------------------------- */

.agenda { display: grid; gap: 2px; }
.agenda-day {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
.agenda-day.is-today .date-num { color: var(--amber); }
.agenda-date { font-family: var(--mono); padding-top: 2px; }
.agenda-date .date-num { font-size: 19px; font-weight: 600; display: block; letter-spacing: -.02em; }
.agenda-date .date-dow { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.agenda-items { display: grid; gap: 6px; }
.agenda-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--c);
  border-radius: var(--radius);
  padding: 9px 12px;
}
.agenda-item:hover { border-color: var(--rule); }
.agenda-item .title { font-weight: 600; font-size: 14px; }
.agenda-item .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.agenda-item .when { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--rule-soft);
  color: var(--ink-2);
  vertical-align: 1px;
}
.tag.st-planned   { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal-ink); }
.tag.st-ongoing   { background: color-mix(in srgb, var(--amber) 18%, transparent); color: var(--amber); }
.tag.st-completed { background: var(--rule-soft); color: var(--ink-3); }
.tag.st-cancelled { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

/* --- detail sheet ----------------------------------------------------- */

.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(10, 17, 30, .32); }
.sheet-body {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(400px, 100%);
  background: var(--card);
  border-left: 1px solid var(--rule);
  padding: 26px 26px 40px;
  overflow-y: auto;
  animation: slide .18s ease-out;
}
@keyframes slide { from { transform: translateX(14px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .sheet-body { animation: none; } }
.sheet-close {
  position: absolute; top: 14px; right: 16px;
  font-size: 22px; line-height: 1; width: 30px; height: 30px;
  border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: var(--radius);
}
.sheet-close:hover { background: var(--rule-soft); color: var(--ink); }
.sheet h2 { font-size: 20px; margin-bottom: 4px; padding-right: 30px; }
.sheet .type-line { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; font-size: 13px; color: var(--ink-2); }
.sheet .swatch { width: 9px; height: 9px; border-radius: 2px; }
.dl { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 9px 12px; font-size: 13.5px; }
.dl dt { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); padding-top: 3px; }
.dl dd { margin: 0; }
.sheet .notes { white-space: pre-wrap; }
.sheet-actions { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }

/* --- admin ------------------------------------------------------------ */

.page { max-width: 1080px; margin: 0 auto; padding: 26px 24px 80px; }
.page.narrow { max-width: 720px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 24px; }
.page-head p { margin: 4px 0 0; color: var(--ink-2); font-size: 13.5px; }

.flash {
  background: color-mix(in srgb, var(--teal) 10%, var(--card));
  border: 1px solid color-mix(in srgb, var(--teal) 30%, var(--rule));
  color: var(--teal-ink);
  border-radius: var(--radius);
  padding: 9px 13px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.warn {
  background: color-mix(in srgb, var(--amber) 10%, var(--card));
  border: 1px solid color-mix(in srgb, var(--amber) 34%, var(--rule));
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.warn strong { display: block; margin-bottom: 4px; }
.warn ul { margin: 0; padding-left: 18px; }
.err { color: var(--danger); font-size: 12.5px; margin: 4px 0 0; }
input.bad, select.bad { border-color: var(--danger); }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input[type="search"] { max-width: 260px; }
.toolbar select { width: auto; }

table.rows { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); border-radius: 7px; overflow: hidden; }
table.rows th {
  text-align: left; font-family: var(--mono); font-size: 10px; font-weight: 400;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3);
  padding: 10px 14px; border-bottom: 1px solid var(--rule); white-space: nowrap;
}
table.rows td { padding: 11px 14px; border-bottom: 1px solid var(--rule-soft); font-size: 13.5px; vertical-align: top; }
table.rows tr:last-child td { border-bottom: 0; }
table.rows tr:hover td { background: color-mix(in srgb, var(--rule-soft) 55%, transparent); }
table.rows .when { font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
table.rows .name { font-weight: 600; }
table.rows .sub { color: var(--ink-3); font-size: 12px; }
table.rows .actions { text-align: right; white-space: nowrap; }
table.rows .actions a, table.rows .actions button {
  font: inherit; font-size: 12.5px; color: var(--ink-2);
  background: none; border: 0; padding: 3px 6px; cursor: pointer; text-decoration: none; border-radius: 4px;
}
table.rows .actions a:hover { background: var(--rule-soft); color: var(--ink); }
table.rows .actions button:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }

.card { background: var(--card); border: 1px solid var(--rule); border-radius: 7px; padding: 20px 22px; }
.card + .card { margin-top: 18px; }
.card > h2 { font-size: 15px; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row { margin-bottom: 16px; }
.form-row > label, .form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.hint { font-size: 12px; color: var(--ink-3); margin: 5px 0 0; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.form-actions .spacer { margin-left: auto; }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px; }
.checks label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; padding: 4px 6px; border-radius: var(--radius); cursor: pointer; }
.checks label:hover { background: var(--rule-soft); }
.checks input { accent-color: var(--teal); }

.radios { display: flex; gap: 6px; flex-wrap: wrap; }
.radios label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; padding: 6px 11px;
  border: 1px solid var(--rule); border-radius: 999px; cursor: pointer;
}
.radios label:has(input:checked) { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); font-weight: 600; }

.lookup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; align-items: start; }
.lookup-list { list-style: none; margin: 0 0 14px; padding: 0; }
.lookup-list li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--rule-soft); }
.lookup-list form { display: contents; }
.lookup-list input[type="text"] { flex: 1 1 auto; min-width: 0; border-color: transparent; background: none; padding: 4px 6px; }
.lookup-list input[type="text"]:hover { border-color: var(--rule); background: var(--card); }
.lookup-list input[type="color"] { width: 26px; height: 26px; padding: 0; border: 1px solid var(--rule); border-radius: 4px; background: none; flex: none; }
.lookup-list .n { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.add-row { display: flex; gap: 8px; }

.login-wrap { max-width: 340px; margin: 12vh auto; }
.login-wrap .card { padding: 26px; }
.login-wrap h1 { font-size: 19px; margin-bottom: 4px; }
.login-wrap p.lede { color: var(--ink-2); font-size: 13.5px; margin: 0 0 20px; }

/* --- responsive ------------------------------------------------------- */

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--rule); padding: 12px 16px; }
  .rail-fold > summary {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
  }
  .rail-fold[open] > summary { margin-bottom: 16px; }
  .rail-fold > summary .chip {
    font-size: 10px; background: var(--teal); color: #fff; border-radius: 999px; padding: 1px 7px;
  }
  .stage { padding: 18px 16px 60px; }
  .grid2 { grid-template-columns: 1fr; }
  .viewtoggle [data-view="planner"] { display: none; }
}

@media print {
  .topbar, .rail, .viewtoggle, .rail-foot, .sheet, .monthnav button { display: none !important; }
  body { background: #fff; }
  .stage { padding: 0; }
  .planner-scroll { overflow: visible; }
  .planner { border-color: #999; }
  .bar { box-shadow: inset 3px 0 0 var(--c); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .band.weekend { background: #f0f0f0; print-color-adjust: exact; }
}
