.schedule-workflow{--sw-radius:20px;--sw-border:var(--sy-border,#e8e5e1);--sw-bg:var(--sy-bg-surface,#fff);--sw-muted:var(--sy-text-secondary,#77736c);--sw-main:var(--sy-text-primary,#34312c);color:var(--sw-main);display:grid;grid-template-columns:minmax(0,1fr);gap:20px;box-sizing:border-box;width:100%;min-width:0;max-width:none;margin:0;padding:20px 24px 36px;font-size:14px}
.schedule-workflow *{box-sizing:border-box}.schedule-workflow [hidden]{display:none!important}.schedule-workflow button{cursor:pointer;font:inherit}.schedule-workflow button:disabled{cursor:default;opacity:.55}
.sw-card{border:1px solid var(--sw-border);border-radius:var(--sw-radius);background:var(--sw-bg);padding:24px;min-width:0}.sw-card header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.sw-card h2{font-size:17px;margin:0;line-height:1.5}.sw-card h3{font-size:15px;margin:0}.sw-card p{font-size:13px;line-height:1.7;color:var(--sw-muted);margin:7px 0 0}
.sw-person{display:inline-flex;align-items:center;gap:8px;min-width:0}.sw-person img{width:30px;height:30px;border-radius:8px;object-fit:cover;background:var(--sy-bg-muted,#f4f2ee);flex-shrink:0}.sw-person b{font-weight:550;font-size:13px;overflow-wrap:anywhere}

.schedule-workflow[data-sw-page="home"] {
  grid-template-rows: auto minmax(min-content, 1fr);
  min-height: 100%;
  max-width: none;
  width: 100%;
  padding: 30px clamp(20px, 2.5vw, 48px) 38px;
}

body.attendance-active:has(#content > .schedule-workflow) #yueyueFoxAssistant {
  display: none;
}

.sw-home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 26px;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--sw-border);
}

.sw-home-header h1 {
  margin: 0;
  color: var(--sw-main);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 650;
}

.sw-home-summary {
  display: flex;
  align-items: center;
  gap: 16px 25px;
  margin: 0;
}

.sw-home-summary > .sw-person img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.sw-home-identity {
  display: grid;
  gap: 2px;
}

.sw-home-identity small {
  color: var(--sw-muted);
  font-size: 11px;
  line-height: 1.3;
}

.sw-home-quota {
  display: flex;
  align-items: center;
  gap: 12px 22px;
  flex-wrap: wrap;
  border-inline-start: 1px solid var(--sw-border);
  padding-inline-start: 22px;
}

.sw-home-quota-metric {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-home-quota-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--sy-primary-strong, #9a4b25);
  background: var(--sy-primary-soft, #f6e6da);
}

.sw-home-quota-metric + .sw-home-quota-metric .sw-home-quota-icon {
  color: var(--sw-muted);
  background: var(--sy-bg-hover, #eeece8);
}

.sw-home-quota dl {
  margin: 0;
}

.sw-home-quota dt,
.sw-home-quota dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  white-space: nowrap;
}

.sw-home-quota dt {
  color: var(--sw-muted);
}

.sw-home-quota dd {
  margin-top: 1px;
  font-size: 19px;
  line-height: 1.13;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.sw-home-quota dd small {
  font-size: 12px;
  font-weight: 500;
}

.sw-home-main {
  display: grid;
  align-items: center;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-block: clamp(28px, 5vh, 55px) clamp(36px, 10vh, 100px);
}

.sw-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 680px));
  justify-content: space-between;
  gap: clamp(26px, 2.8vw, 40px);
}

.schedule-workflow .sw-entry {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: clamp(260px, 32vh, 340px);
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--entry-line);
  border-radius: 24px;
  padding: clamp(22px, 2.65vw, 38px);
  color: var(--entry-ink);
  background: var(--entry-surface);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.sw-entry-plan {
  --entry-surface: #f7e6d8;
  --entry-hover: #f7e0cd;
  --entry-ink: #392318;
  --entry-muted: #644333;
  --entry-line: #e9cdb7;
  --entry-halo: #f1d4bc;
  --entry-action: #66331f;
  --entry-on-action: #fff8ee;
}

.sw-entry-history {
  --entry-surface: #e8efe7;
  --entry-hover: #e0ebe0;
  --entry-ink: #23352d;
  --entry-muted: #42584c;
  --entry-line: #ccddce;
  --entry-halo: #d8e5d8;
  --entry-action: #365548;
  --entry-on-action: #f6fcf6;
}

.sw-entry::before {
  content: "";
  z-index: -1;
  position: absolute;
  right: -9%;
  bottom: -29%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--entry-halo);
}

.sw-entry-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 57%;
}

.sw-entry-context,
.sw-entry-description {
  color: var(--entry-muted);
  line-height: 1.6;
}

.sw-entry-context {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sw-entry-copy strong {
  font-size: clamp(23px, 2.05vw, 33px);
  line-height: 1.2;
  font-weight: 700;
}

.sw-entry-description {
  max-width: 24em;
  font-size: 14px;
}

.sw-entry-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 10px;
  background: var(--entry-action);
  color: var(--entry-on-action);
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.sw-entry-art {
  position: absolute;
  right: -1%;
  bottom: -1%;
  width: 52%;
  height: 88%;
  object-fit: contain;
  object-position: 50% 80%;
  transform-origin: bottom right;
  transition: transform 190ms ease;
}

.schedule-workflow .sw-entry:hover {
  background-color: var(--entry-hover);
  border-color: var(--entry-action);
}

.sw-entry:hover .sw-entry-art {
  transform: translate(-3px, -4px);
}

.schedule-workflow .sw-entry:focus-visible {
  outline: 2px solid var(--entry-action);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .schedule-workflow[data-sw-page="home"] {
    padding: 18px clamp(16px, 4vw, 26px) 26px;
  }

  .sw-home-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
  }

  .sw-home-header h1 {
    font-size: 22px;
  }

  .sw-home-summary {
    gap: 10px 14px;
    flex-wrap: wrap;
  }

  .sw-home-quota {
    padding-inline-start: 12px;
  }

  .sw-home-main {
    align-items: start;
    width: 100%;
    padding-block: 0 8px;
  }

  .sw-entry-grid {
    width: 100%;
    gap: 16px;
    max-width: none;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-workflow .sw-entry {
    min-height: 204px;
    border-radius: 20px;
    padding: 20px;
  }

  .sw-entry-copy {
    gap: 7px;
  }

  .sw-entry-cta {
    margin-top: 7px;
  }
}

@media (max-width: 450px) {
  .sw-home-quota {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .sw-home-summary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-workflow .sw-entry,
  .sw-entry-art {
    transition: none;
  }

  .sw-entry:hover .sw-entry-art {
    transform: none;
  }
}

.schedule-workflow:not([data-sw-page="home"]) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  padding: 22px clamp(20px, 2.5vw, 48px) 36px;
  container: scheduling / inline-size;
}

#app .workspace-main > #content.view-attendance:has(> .schedule-workflow:not([data-sw-page="home"])) {
  overflow-x: hidden;
  overflow-y: auto;
}

.schedule-workflow:not([data-sw-page="home"]) .sw-card {
  --sw-radius: 14px;
  padding: 18px;
}

.schedule-workflow:not([data-sw-page="home"]) .sw-card header {
  margin-bottom: 13px;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.schedule-workflow .sw-page-head {
  display: flex;
  margin: 0;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  border-bottom: 1px solid var(--sw-border);
  padding-bottom: 13px;
}

.sw-page-head h1 {
  margin: 6px 0 0;
  color: var(--sw-main);
  font-size: 25px;
  line-height: 1.3;
  font-weight: 650;
}

.schedule-workflow button.sw-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--sw-muted);
  border: 0;
  background: transparent;
  font-size: 13px;
}

.sw-back:hover {
  color: var(--sw-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schedule-workflow :is(.sw-toolbar button, .sw-page-switch button, .sw-mode button, .sw-scope-choices button, .sw-pagination button, .sw-detail button, .sw-records button, .sw-primary, [data-sw-action="apply-minimum"], .sw-scope-empty button),
.schedule-workflow:not([data-sw-page="home"]) :is(select, input) {
  min-width: 0;
  min-height: 35px;
  padding: 6px 10px;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  color: var(--sw-main);
  background: var(--sw-bg);
  font: inherit;
  font-size: 13px;
}

.schedule-workflow :is(button, select, input, .sw-matrix-wrap):focus-visible {
  outline: 2px solid var(--sy-primary, #d96f39);
  outline-offset: 2px;
}

.schedule-workflow button.sw-primary {
  background: #9f4825;
  border-color: #9f4825;
  color: #fff;
}

.sw-page-switch,
.sw-mode {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: var(--sy-bg-muted, #f6f4f1);
  flex-wrap: wrap;
}

.schedule-workflow :is(.sw-page-switch, .sw-mode) button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  border-color: transparent;
  background: transparent;
  white-space: nowrap;
}

.schedule-workflow :is(.sw-page-switch, .sw-mode) button[aria-pressed="true"] {
  background: var(--sw-bg);
  border-color: var(--sw-border);
  font-weight: 650;
}

.sw-toolbar {
  display: flex;
  align-items: end;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.sw-field,
.sw-month-control,
.sw-read-scope {
  display: grid;
  gap: 5px;
  color: var(--sw-muted);
  font-size: 12px;
  font-weight: 550;
}

.sw-read-scope b {
  display: flex;
  align-items: center;
  min-height: 35px;
  padding-inline-end: 16px;
  color: var(--sw-main);
  font-size: 14px;
}

.sw-field select {
  width: clamp(155px, 15vw, 245px);
}

.sw-month-fields,
.sw-toolbar-extra,
.sw-settings-entry {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sw-month-fields input {
  width: 144px;
}

.sw-month-fields button,
.sw-toolbar-extra button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.sw-toolbar-extra {
  margin-inline-start: auto;
}

.sw-toolbar:has(.sw-settings-entry) .sw-toolbar-extra {
  margin-inline-start: 0;
}

.sw-settings-entry {
  margin-inline-start: auto;
}

.schedule-workflow .sw-week-switch button {
  justify-content: start;
}

.sw-week-switch small {
  font-size: 11px;
  font-weight: 400;
  color: var(--sw-muted);
}

.sw-error {
  margin: 0;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--sy-danger-soft, #fff0ec);
  color: var(--sy-danger, #a82d23);
}

.sw-scope-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  align-content: center;
  min-height: 160px;
}

.sw-scope-empty > svg {
  color: var(--sw-muted);
}

.sw-scope-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sw-scope-choices button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.schedule-workflow:not([data-sw-page="home"]) .sw-monthly-summary {
  padding-block: 14px;
}

.sw-monthly-summary dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 12px 16px;
  margin: 0;
}

.sw-monthly-summary dl > div + div {
  border-inline-start: 1px solid var(--sw-border);
  padding-inline-start: clamp(8px, 1.25vw, 20px);
}

.sw-monthly-summary dt {
  color: var(--sw-muted);
  font-size: 12px;
}

.sw-monthly-summary dd {
  margin: 4px 0 0;
  color: var(--sw-main);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.sw-monthly-summary dd small {
  color: var(--sw-muted);
  font-size: 11px;
  font-weight: 400;
}

.sw-history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(242px, 24%);
  gap: 14px;
  align-items: start;
}

.sw-history {
  min-width: 0;
}

.sw-calendar-head,
.sw-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.sw-calendar {
  border: 1px solid var(--sw-border);
  border-radius: 9px;
  overflow: hidden;
}

.sw-calendar-head {
  background: var(--sy-bg-muted, #f6f5f3);
  color: var(--sw-muted);
  font-size: 12px;
  text-align: center;
}

.sw-calendar-head span {
  padding: 8px 2px;
}

.sw-calendar-day,
.sw-calendar-blank {
  min-width: 0;
  min-height: clamp(64px, 8vh, 86px);
  padding: 7px 8px;
  background: var(--sw-bg);
  border: 0;
  border-top: 1px solid var(--sw-border);
  border-inline-end: 1px solid var(--sw-border);
}

.sw-calendar-grid > :nth-child(7n) {
  border-inline-end: 0;
}

.sw-calendar-day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  color: var(--sw-main);
  text-align: start;
}

.sw-calendar-day.is-weekend,
.sw-calendar-blank {
  background: var(--sy-bg-muted, #f8f7f5);
}

.sw-calendar-day:hover,
.schedule-workflow .sw-agenda-day:hover {
  background: var(--sy-bg-hover, #f3f1ee);
}

.schedule-workflow .sw-calendar-day:focus-visible {
  outline-offset: -3px;
}

.sw-calendar-day[aria-pressed="true"],
.sw-agenda-day[aria-pressed="true"] {
  outline: 1px solid var(--sy-primary, #db7239);
  outline-offset: -2px;
  background: var(--sy-primary-soft, #fff1e8);
}

.sw-day-label {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.sw-day-label b {
  font-size: 13px;
}

.sw-day-label small {
  color: #9f4825;
  font-size: 11px;
}

.sw-day-chips {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  flex-wrap: wrap;
}

.sw-day-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  max-width: 100%;
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--sw-tone-text, var(--sw-muted));
  background: var(--sw-tone-fill, var(--sy-bg-muted, #f8f7f5));
  line-height: 1.4;
  font-size: 11px;
  white-space: nowrap;
}

.sw-day-chip b {
  font-variant-numeric: tabular-nums;
}

.sw-day-empty {
  color: var(--sw-muted);
  font-size: 12px;
}

.sw-tone-work {
  --sw-tone-text: #2e664b;
  --sw-tone-fill: #e9f4eb;
}

.sw-tone-rest,
.sw-tone-migration_conflict {
  --sw-tone-text: #89521d;
  --sw-tone-fill: #faf0df;
}

.sw-tone-leave {
  --sw-tone-text: #6d5081;
  --sw-tone-fill: #f2edf7;
}

.sw-tone-comp_rest {
  --sw-tone-text: #355f83;
  --sw-tone-fill: #eaf2fa;
}

.sw-tone-public_holiday {
  --sw-tone-text: #8c4631;
  --sw-tone-fill: #faece4;
}

.sw-day-detail {
  position: sticky;
  top: 12px;
  align-self: start;
}

.sw-day-detail-list {
  max-height: 58vh;
  overflow: auto;
  padding-inline-end: 4px;
}

.sw-day-group + .sw-day-group {
  margin-top: 14px;
}

.sw-day-group ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.sw-day-group li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  padding: 6px 0;
}

.sw-day-group li + li {
  border-top: 1px solid var(--sw-border);
}

.sw-day-group li > p {
  grid-column: 1 / -1;
  margin: 0 0 3px 38px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sw-day-group li > small,
.sw-muted,
.sw-range {
  color: var(--sw-muted);
  font-size: 12px;
  font-weight: 400;
}

.sw-range {
  margin-inline-start: 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sw-agenda {
  display: grid;
  gap: 6px;
}

.schedule-workflow .sw-agenda-day {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  text-align: start;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  color: var(--sw-main);
  background: var(--sw-bg);
}

.sw-inline-empty {
  padding: 12px;
  border-radius: 8px;
  background: var(--sy-bg-muted, #f6f5f3);
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.6;
}

.sw-state,
.sw-member-status {
  display: inline-flex;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--sy-bg-muted, #f6f5f3);
  color: var(--sw-muted);
  font-size: 12px;
  white-space: nowrap;
}

.sw-state.is-open,
.sw-member-status.is-complete {
  background: #e9f4eb;
  color: #2e664b;
}

.sw-week-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--sy-bg-muted, #f6f5f3);
  color: var(--sw-muted);
  font-size: 13px;
}

.sw-week-meta b {
  color: var(--sw-main);
  font-variant-numeric: tabular-nums;
}

.sw-week-alert {
  color: #89521d;
}

.sw-week-meta small {
  margin-inline-start: auto;
  font-size: 12px;
}

.sw-matrix-wrap {
  max-width: 100%;
  margin-top: 12px;
  overflow: auto;
}

.sw-matrix,
.sw-quota-table,
.sw-records {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.sw-matrix {
  min-width: 780px;
  table-layout: fixed;
}

.sw-quota-table {
  min-width: 560px;
}

.sw-records {
  min-width: 690px;
}

.sw-matrix :is(th, td),
.sw-quota-table :is(th, td),
.sw-records :is(th, td) {
  padding: 9px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--sw-border);
}

.schedule-workflow table thead th {
  background: var(--sy-bg-muted, #f6f5f3);
  color: var(--sw-muted);
  font-weight: 550;
}

.sw-matrix thead th:first-child {
  width: clamp(132px, 13vw, 176px);
}

.sw-matrix thead th:last-child {
  width: 82px;
}

.sw-matrix th:first-child {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
}

.sw-matrix tbody th {
  background: var(--sw-bg);
}

.sw-matrix th small {
  display: block;
  margin-top: 3px;
  color: var(--sw-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.sw-matrix .sw-member-status {
  display: flex;
  margin: 4px 0;
}

.schedule-workflow .sw-matrix :is(select, input) {
  display: block;
  width: 100%;
  min-height: 31px;
  padding: 4px 5px;
  font-size: 12px;
}

.schedule-workflow .sw-matrix select {
  background-color: var(--sw-tone-fill, var(--sw-bg));
  color: var(--sw-tone-text, var(--sw-main));
}

.sw-matrix input {
  margin-top: 5px;
}

.sw-cell-hint {
  display: block;
  margin-top: 4px;
  color: var(--sw-muted);
  font-size: 11px;
}

.schedule-workflow .sw-matrix .sw-primary {
  background: var(--sy-primary-soft, #fff0e6);
  border-color: transparent;
  color: #86411f;
  padding-inline: 6px;
  white-space: nowrap;
  font-size: 12px;
}

.sw-settings {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.sw-settings input[type="number"] {
  width: 84px;
}

.sw-minimum-heading > div,
.sw-minimum-heading label,
.sw-pagination,
.sw-settings footer {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 8px;
}

.sw-minimum-heading label {
  color: var(--sw-muted);
  font-size: 12px;
}

.sw-minimum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 144px), 1fr));
  gap: 10px;
}

.sw-minimum-grid label {
  display: grid;
  min-width: 0;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  white-space: nowrap;
  font-size: 12px;
}

.sw-minimum-date,
.sw-minimum-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.sw-minimum-date b {
  font-size: 13px;
  font-weight: 550;
}

.sw-minimum-date small,
.sw-minimum-value > span {
  flex: 0 0 auto;
  color: var(--sw-muted);
  font-size: 12px;
}

.sw-minimum-grid input[type="number"] {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.sw-pagination {
  margin-top: 15px;
}

.sw-event-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sw-event-detail pre {
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

@container scheduling (max-width: 800px) {
  .sw-history-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sw-day-detail {
    position: static;
  }

  .sw-settings-entry {
    margin-inline-start: 0;
  }
}
