/* "כמו במערכת": the day view (view A), its menu, its "הוספה" dialog and its print layout.
   No inline styles anywhere: positions, sizes and colors of blocks are set through the CSSOM (top, height, --c, --ink).
   Rows are `--row` tall (16px on screen); every position is a multiple of it, so print can use another row height. */

.dayview {
  --row: 16px;
  --time-w: 54px;
  --head-h: 48px;
  padding: 12px 24px 24px;
}

.week-body.drawer-open .dayview {
  padding-inline: 16px;
}

.dy-print {
  display: none;
}

/* ---------- toolbar ---------- */

/* three groups that wrap as a whole (never a button alone): the days, the counter with the idle-staff toggle, and the buttons */
.dy-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-bottom: 12px;
}

.dy-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dy-actions {
  display: flex;
  gap: 8px;
  margin-inline-start: auto;
}

.dy-days {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}

.dy-day {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-inline-start: 1px solid var(--line);
  background: #fff;
  color: #3a4651;
  font-size: 15px;
  cursor: pointer;
}

.dy-day:first-child {
  border-inline-start: 0;
}

.dy-day-date {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.dy-day:hover:not(.on) {
  background: var(--accent-soft);
}

.dy-day.on {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.dy-day.on .dy-day-date {
  color: rgba(255, 255, 255, 0.85);
}

.dy-day:focus-visible,
.dy-tick:focus-visible,
.dy-block:focus-visible,
.dy-menu-item:focus-visible {
  outline: 3px solid #9db9de;
  outline-offset: -2px;
}

.dy-count {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.dy-bar {
  width: 70px;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #cdd9ea;
}

.dy-bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}

.dy-idle-toggle {
  color: #52606d;
  font-size: 13.5px;
}

.dy-notes:not([hidden]) {
  margin-bottom: 10px;
}

.dy-note {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 13.5px;
}

/* ---------- שונה אחרי הזנה ---------- */

.dy-changed {
  margin-bottom: 12px;
  padding: 10px 14px 8px;
  border: 1px solid #f0d58a;
  border-inline-start: 4px solid #e0a100;
  border-radius: var(--radius);
  background: #fff5d9;
}

.dy-changed h2 {
  margin: 0 0 2px;
  font-size: 15px;
}

.dy-changed .small {
  margin: 0 0 6px;
}

.dy-changed-list {
  display: grid;
  gap: 2px;
  max-height: 168px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.dy-changed-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}

.dy-changed-line .check {
  min-width: 0;
}

.dy-changed-text {
  font-size: 13.5px;
}

.dy-tag {
  padding: 0 8px;
  border-radius: 999px;
  background: #fbe6a6;
  color: #6b4a00;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dy-tag.removed {
  background: var(--danger-soft);
  color: var(--danger);
}

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

.dy-scroll {
  /* as wide as the columns can be (at most 200px each, more for a column that needs it), and no wider than the page */
  width: min(100%, calc(var(--cols-w, 200px) + var(--time-w)));
  /* as tall as the window allows from where the grid starts (dayview.js `fitGrid` measures it) */
  max-height: var(--grid-max, calc(100vh - var(--header-h) - var(--stepper-h) - 190px));
  min-height: 360px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.07);
}

.dy-grid {
  display: flex;
  min-width: min-content;
}

.dy-col {
  display: flex;
  flex: 1 0 var(--col-w, 120px);
  flex-direction: column;
  min-width: var(--col-w, 120px);
  max-width: max(200px, var(--col-w, 120px));
  border-inline-start: 1px solid var(--line-strong);
}

.dy-timecol {
  max-width: none;
  position: sticky;
  inset-inline-start: 0;
  z-index: 7;
  flex: 0 0 var(--time-w);
  min-width: var(--time-w);
  border-inline-start: 0;
  border-inline-end: 1px solid var(--line-strong);
  background: var(--panel-2);
}

.dy-head {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  height: var(--head-h);
  padding: 4px 3px;
  border-bottom: 1px solid var(--line-strong);
  background: #f3f5f8;
  text-align: center;
}

.dy-head-time {
  z-index: 8;
  color: var(--muted);
  font-size: 12px;
}

.dy-name {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-inactive {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.dy-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 15px;
  white-space: nowrap;
}

.dy-type span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dy-sw {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c, #d9d9d9);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.18);
}

.dy-body {
  position: relative;
  height: calc(var(--row) * var(--rows));
  background: #e6e6e6;
}

.dy-time-body {
  background: var(--panel-2);
}

.dy-win {
  position: absolute;
  inset-inline: 0;
  background: #fff;
  cursor: cell;
}

.dy-win:hover {
  background: #f4f8fd;
}

/* the lines: every quarter hour, every half hour and every hour, a little darker each */
.dy-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(40, 50, 60, 0.24) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(40, 50, 60, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(40, 50, 60, 0.06) 1px, transparent 1px);
  background-size: 100% calc(var(--row) * 4), 100% calc(var(--row) * 2), 100% var(--row);
  background-position: 0 var(--off-h, 0), 0 var(--off-m, 0), 0 0;
}

.dy-tl {
  position: absolute;
  inset-inline: 0;
  z-index: 2;
  height: var(--row);
  color: #5b6672;
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.dy-tl.h {
  color: #2f3a45;
  font-weight: 700;
}

/* ---------- blocks ----------
   Shapes (block-el.js): .single (15 min or less: one line), .compact (30 min: two lines), .plain (longer), .multi (a
   group: several names), .lanes (side by side with others in one column). Whatever does not fit is in the tooltip. */

.dy-block {
  position: absolute;
  inset-inline: 2px;
  z-index: 2;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.25);
  color: var(--ink, #1f2933);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.dy-block.generated {
  cursor: pointer;
}

.dy-bgc {
  position: absolute;
  inset: 0;
  background: var(--c, #d9d9d9);
}

.dy-txt {
  position: relative;
  height: 100%;
  padding: 3px 6px 0;
}

.dy-t {
  overflow: hidden;
  padding-inline-end: var(--bp, 0);
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-n {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-tm {
  font-size: 11px;
  line-height: 12px;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: end;
  text-align-last: auto;
  font-variant-numeric: tabular-nums;
}

/* the marks sit at the left edge of a plain block: the flags on top, the tick and the lock at the bottom */
.dy-marks {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  direction: ltr;
  pointer-events: none;
}

.dy-flags,
.dy-foot {
  display: flex;
  align-items: center;
  gap: 3px;
}

.dy-marks .dy-foot {
  margin-top: auto;
}

.dy-flag {
  display: inline-block;
  height: 15px;
  padding: 0 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 13px;
  white-space: nowrap;
}

.dy-flag.lock {
  height: auto;
  padding: 0;
  font-size: 11px;
  line-height: 13px;
}

.dy-flag.sub {
  border-color: #f0a030;
  background: #fff1d6;
  color: #a34a00;
}

.dy-flag.t30 {
  border-color: #2f8a3a;
  background: #fff;
  color: #1f5a22;
  direction: ltr;
  unicode-bidi: bidi-override;
}

.dy-flag.changed {
  width: 15px;
  padding: 0;
  border-color: #d9b100;
  border-radius: 50%;
  background: #fff6cc;
  color: #5c4a00;
  text-align: center;
}

.dy-tick {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 2px solid var(--ink, #1f2933);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.65;
  cursor: pointer;
  pointer-events: auto;
}

.dy-tick:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.55);
}

.dy-tick.on {
  border-color: rgba(255, 255, 255, 0.95);
  background: #1f8a4c;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.25);
}

/* a block that is already in the hospital system: dimmed */
.dy-block.entered {
  --ink: #3a4651;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}

.dy-block.entered .dy-bgc {
  opacity: 0.45;
}

.dy-block.invalid {
  z-index: 3;
  outline: 2px solid #e11d2e;
  outline-offset: 0;
}

/* a line of a block: text that gives way (with an ellipsis) and marks that do not */
.dy-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  height: 14px;
}

.dy-row > .dy-t,
.dy-row > .dy-n {
  flex: 1 1 0;
  min-width: 0;
  padding-inline-end: 0;
}

.dy-row > .dy-tm {
  flex: 0 0 auto;
  line-height: 14px;
}

.dy-row > .dy-flags,
.dy-row > .dy-foot {
  flex: 0 0 auto;
  direction: ltr;
}

.dy-row > .dy-foot:last-child,
.dy-row > .dy-flags:last-child {
  margin-inline-start: auto;
}

.dy-row .dy-tick {
  width: 14px;
  height: 14px;
  border-width: 2px;
  font-size: 9px;
}

.dy-row .dy-flag {
  height: 14px;
  line-height: 12px;
}

.dy-row .dy-flag.lock {
  height: auto;
  line-height: 14px;
}

/* a line whose last item (the time) goes out of sight, whole, when it does not fit: the type is never cut for it */
.dy-row.dy-give {
  flex-wrap: wrap;
  overflow: hidden;
}

.dy-row.dy-give > .dy-t {
  flex: 1 0 auto;
  max-width: 100%;
}

/* a group's names that are cut are counted by "+N", with no ellipsis in front of it */
.dy-block.compact.multi .dy-n {
  text-overflow: clip;
}

/* 30 minutes: two lines; the flags "מחליף" and "שונה" take the place of the time */
.dy-block.compact .dy-txt {
  padding-top: 2px;
}

/* a name that is cut has priority over "30׳" and the lock on its line (block-fit.js) */
.dy-block.no-t30 .dy-t30-group,
.dy-block.no-lock .dy-flag.lock {
  display: none;
}

/* 15 minutes or less: one line, "name · type", and the tick */
.dy-block.single .dy-txt {
  padding-top: 0;
}

.dy-one {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
}

/* the names keep their room (and end in an ellipsis only when they alone are longer than the line); the type takes
   what is left, and ends in an ellipsis */
.dy-names {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dy-rest {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dy-one .dy-t {
  display: inline;
  overflow: visible;
  padding: 0;
}

/* the spaces around the dot stay, though the type's box starts with them */
.dy-sep {
  white-space: pre;
}

.dy-nm-line {
  font-weight: 600;
}

/* the type gives way, whole, when there is no room left for any of it (block-fit.js) */
.dy-block.no-type .dy-rest {
  display: none;
}

.dy-block.single .dy-tick {
  width: 12px;
  height: 12px;
  font-size: 8px;
}

/* a group: the names run on, wrapping, under the line of the type and the time */
.dy-block.plain.multi .dy-n {
  overflow: visible;
  font-size: 12px;
  line-height: 13px;
  text-overflow: clip;
  white-space: normal;
}

.dy-nm {
  white-space: nowrap;
}

/* names that did not fit at full size */
.dy-block.plain.multi.tight .dy-n {
  font-size: 11px;
  line-height: 12px;
}

/* the names that still did not fit are counted, never dropped without a sign */
.dy-more {
  display: inline-block;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  color: #1f2933;
  font-size: 11px;
  font-weight: 800;
  line-height: 13px;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.dy-block.dragging {
  opacity: 0.35;
}

.dy-block.flash {
  z-index: 4;
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  animation: dy-flash 0.7s ease-in-out 3;
}

@keyframes dy-flash {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(47, 93, 155, 0);
  }
  40% {
    box-shadow: 0 0 0 7px rgba(47, 93, 155, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dy-block.flash {
    animation: none;
  }
}

.dy-ghost {
  position: absolute;
  inset-inline: 2px;
  z-index: 5;
  padding: 2px 6px;
  border: 2px dashed var(--accent);
  border-radius: 6px;
  background: rgba(47, 93, 155, 0.16);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.dy-ghost.no {
  border-color: var(--danger);
  background: rgba(198, 40, 40, 0.14);
  color: var(--danger);
}

.dy-ghost-time {
  direction: ltr;
  unicode-bidi: isolate;
}

body.dy-dragging,
body.dy-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}

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

.dy-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 10px;
  color: #4a5560;
  font-size: 12.5px;
}

.dy-leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dy-leg .dy-sw {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.dy-leg-sep {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

.dy-leg .dy-tick.legend {
  display: inline-grid;
  width: 15px;
  height: 15px;
  font-style: normal;
  pointer-events: none;
}

.dy-leg .dy-flag {
  height: 15px;
}

.dy-leg-bad {
  display: inline-block;
  width: 14px;
  height: 12px;
  border: 2px solid #e11d2e;
  border-radius: 3px;
}

.dy-leg-grey {
  display: inline-block;
  width: 14px;
  height: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #e6e6e6;
}

.dy-hint {
  margin-inline-start: auto;
}

/* ---------- the block menu ---------- */

.dy-menu {
  position: fixed;
  z-index: 70;
  min-width: 220px;
  max-width: 340px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.22);
}

.dy-menu-head {
  margin-bottom: 4px;
  padding: 6px 10px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.dy-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  text-align: start;
  cursor: pointer;
}

.dy-menu-item:hover:not(:disabled),
.dy-menu-item:focus-visible {
  background: var(--accent-soft);
}

.dy-menu-item:disabled {
  color: var(--muted);
  cursor: default;
}

.dy-menu-item.danger {
  color: var(--danger);
}

.dy-menu-item.danger:hover:not(:disabled),
.dy-menu-item.danger:focus-visible {
  background: var(--danger-soft);
}

.dy-menu-check {
  flex: 0 0 16px;
  color: var(--ok);
  font-weight: 800;
  text-align: center;
}

.dy-menu-sep {
  margin: 4px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.dy-menu-note {
  max-width: 300px;
  margin: 0 0 4px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- the "הוספה" dialog ---------- */

.modal:has(.dy-add) {
  width: 520px;
}

.dy-add h2 {
  font-size: 1.1rem;
}

.dy-add input[type='radio'],
.dy-add input[type='checkbox'] {
  flex: 0 0 auto;
  width: auto;
}

.dy-add .radio-row {
  margin-bottom: 4px;
}

.dy-add-list {
  max-height: 190px;
  margin-top: 6px;
  padding: 2px 10px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dy-add-row {
  display: flex;
  width: 100%;
  min-height: 30px;
  gap: 8px;
}

.dy-add-row[hidden] {
  display: none;
}

.dy-add-note {
  margin-inline-start: auto;
  font-size: 12px;
}

.dy-add-times {
  display: flex;
  gap: 16px;
}

.dy-add-times .field {
  flex: 1;
}

.dy-add .field > select {
  width: 100%;
}

/* ---------- print: one day (or the week) on A4 landscape, ten columns to a page ----------
   The rules for the printed pages (.dy-print ...) are not inside @media print: the pages are in the document all
   the time but hidden, so they cost the screen nothing, and the same rules lay them out when dayview.js measures them
   off-screen (body.dy-measuring) to check that every name of a group is written. */

/* off-screen, at the width of the paper (A4 landscape less the 10mm margins), for the measurement */
body.dy-measuring .dy-print {
  position: fixed;
  top: 0;
  left: -10000px;
  display: block;
  width: 277mm;
  visibility: hidden;
  pointer-events: none;
}

.dy-print-title {
  margin: 0 0 4px;
  font-size: 11pt;
  line-height: 1.2;
}

.dy-print-empty {
  font-size: 11pt;
}

/* a page of fewer columns than a full one is not stretched across the paper: it is as wide as the share of its columns
   (--page-weight of --page-cols, set by dayview.js), after the time column */
.dy-print .dy-grid {
  width: calc(11mm + var(--page-weight, 10) * (100% - 11mm) / var(--page-cols, 10));
  min-width: 0;
  border: 1px solid #888;
}

/* a column's share of the page is its weight: more for side-by-side blocks and for the names of a group */
.dy-print .dy-col {
  flex: var(--col-weight, 1) 1 0;
  min-width: 0;
  max-width: none;
  border-inline-start-color: #888;
}

.dy-print .dy-timecol {
  position: static;
  flex: 0 0 11mm;
  min-width: 0;
  background: #fff;
}

.dy-print .dy-head {
  position: static;
  height: 11mm;
  padding: 1mm 0.5mm;
  background: #eee;
  border-bottom-color: #888;
}

.dy-print .dy-name,
.dy-print .dy-type,
.dy-print .dy-head-time {
  font-size: 9pt;
  line-height: 1.15;
}

.dy-print .dy-name {
  color: #000;
}

.dy-print .dy-type {
  color: #333;
}

.dy-print .dy-body {
  background: #dcdcdc;
}

.dy-print .dy-time-body {
  background: #fff;
}

.dy-print .dy-win {
  background: #fff;
  cursor: auto;
}

.dy-print .dy-tl {
  color: #000;
  font-size: 9pt;
  line-height: var(--row);
}

.dy-print .dy-block {
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.45);
  cursor: auto;
  break-inside: avoid;
}

.dy-print .dy-txt {
  padding: 0.5mm 1mm 0;
}

.dy-print .dy-t,
.dy-print .dy-n,
.dy-print .dy-tm,
.dy-print .dy-one,
.dy-print .dy-block.plain.multi .dy-n,
.dy-print .dy-block.plain.multi.tight .dy-n {
  font-size: 9pt;
  line-height: 1.1;
}

.dy-print .dy-row {
  height: auto;
  min-height: 0;
}

.dy-print .dy-row > .dy-tm {
  line-height: 1.1;
}

/* one line in a 15-minute row: no room above or below the text */
.dy-print .dy-block.single .dy-txt {
  padding: 0 1mm;
}

.dy-print .dy-block.single .dy-one {
  line-height: 1;
}

/* the printed flags are 9pt like the rest of the text; a flag's line is no taller than a line of text, so that the
   two lines of a 30-minute block fit its height */
.dy-print .dy-flag {
  height: auto;
  padding: 0 1mm;
  font-size: 9pt;
  line-height: 1;
}

.dy-print .dy-block.compact .dy-txt {
  padding-top: 0;
}

.dy-print .dy-block.compact .dy-row {
  height: 13px;
}

.dy-print .dy-more {
  font-size: 9pt;
  line-height: 1.1;
}

.dy-print .dy-lines {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
}

@media print {
  body.dy-printing {
    min-width: 0;
    background: #fff;
  }

  body.dy-printing .app-header,
  body.dy-printing #app > .notice,
  body.dy-printing .stepper,
  body.dy-printing .week-banners,
  body.dy-printing .drawer-host,
  body.dy-printing #modal-root,
  body.dy-printing #warn-root,
  body.dy-printing .dy-menu,
  body.dy-printing .dy-screen {
    display: none !important;
  }

  body.dy-printing .week-body,
  body.dy-printing .week-body.drawer-open {
    padding: 0 !important;
  }

  body.dy-printing .dayview {
    padding: 0;
  }

  body.dy-printing .dy-print {
    display: block;
  }

  body.dy-printing .dy-print * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .dy-print-page {
    break-after: page;
    break-inside: auto;
  }

  .dy-print-page:last-child {
    break-after: auto;
  }
}
