/* Scoped Schedule layout adapted from Schedule Lab 7ce54bc. */
.schedule-view .schedule-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.schedule-view .schedule-title .page-title { margin:0; }
.schedule-view .schedule-title .page-create-button { background:var(--green, #264e3d); border-color:var(--green, #264e3d); }
body.has-bottom-navigation .schedule-view .pool-launcher { bottom:calc(var(--app-navigation-height) + 28px); }
body.navigation-keyboard-open .schedule-view .pool-launcher { visibility:hidden; }
.schedule-view .repetition-settings .field .inline-check { display:flex; min-height:44px; }
.schedule-view .information-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.schedule-view .information-heading > label { margin:0; }
.schedule-view .information-edit { border:0; background:transparent; color:var(--green); cursor:pointer; min-width:44px; min-height:44px; padding:8px; font:inherit; font-size:12px; }
.schedule-view .information-summary { margin:4px 0; white-space:pre-wrap; line-height:1.6; overflow-wrap:anywhere; }
#schedule-settings .settings-managed-fields { border:0; margin:0; padding:0; min-width:0; }
#schedule-settings .settings-section { margin-bottom:24px; }
#schedule-settings .settings-section h2 { margin:12px 0; font-size:1rem; }
#schedule-settings .settings-row input:not([type=checkbox]),
#schedule-settings .settings-row select { width:125px; max-width:48%; }
#schedule-settings [data-settings-status] { font-size:0.9rem; min-height:1.5em; overflow-wrap:anywhere; }
#schedule-settings .schedule-settings-conflict { border:1px solid var(--line-soft); padding:12px; margin-top:8px; }
#schedule-settings .schedule-settings-conflict button { margin:4px 4px 0 0; }
.schedule-view .suggestion-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-height: 100px;
  padding: 13px 15px;
  border: 1px dashed #929c95;
  border-radius: 0;
  background: #f0f2f0;
  color: #34443c;
  text-align: left;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.schedule-view .suggestion-card strong { font-weight: 600; }
.schedule-view .suggestion-status,
.schedule-view .suggestion-card small { color: #56645b; font-size: 12px; }
.schedule-view .suggestion-time { font-variant-numeric: tabular-nums; }
.schedule-view .schedule-location { display:flex; align-items:center; gap:4px; max-width:100%; min-width:0; font-size:12px; line-height:1.4; overflow-wrap:anywhere; color:#56645b; }
.schedule-view .schedule-location .icon { flex:0 0 14px; width:14px; height:14px; }
.schedule-view .compact-suggestion .schedule-location,
.schedule-view .week-event .schedule-location { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.schedule-view .task-content > .schedule-location { margin:4px 0; }
.schedule-view .suggestion-overlap { min-width: 0; padding: 8px 0; }
.schedule-view .overlap-boundary { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.schedule-view .overlap-items { position: relative; min-height: 100px; margin-bottom: 12px; }
.schedule-view .overlap-items .suggestion-card,
.schedule-view .overlap-entry { position: absolute; width: calc(50% - 5px); min-height: 44px; overflow: hidden; }
.schedule-view .overlap-items .suggestion-card { left: 0; padding: 8px; }
.schedule-view .overlap-entry {
  right: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 5px 6px; background: var(--green-soft); border: 1px solid var(--green-line); text-align: left; line-height: 1.3;
}
.schedule-view .overlap-entry strong { overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; font-size: 12px; flex-shrink: 0; }
.schedule-view .overlap-entry span { font-size: 11px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.schedule-view .week-day > .suggestion-card { position: absolute; left: 4px; width: calc(100% - 8px); min-height: 44px; padding: 5px; z-index: 3; gap: 1px; overflow: hidden; font-size: 12px; }
.schedule-view .week-day > .suggestion-card .suggestion-status { display: none; }
.schedule-view .is-drop-target { outline: 2px solid var(--green-line); outline-offset: 2px; }
.schedule-view.drag-active .suggestion-card { touch-action: none; }

.dashboard-title-row .schedule-entry {
  display: inline-flex;
  align-items: center;
}

.schedule-view {
  color-scheme: light;
  --paper: #fff;
  --surface: #fff;
  --ink: #203b32;
  --text: #34443c;
  --muted: #7b857d;
  --line: #e4e8df;
  --green: #264e3d;
  --green-soft: #eef3eb;
  --green-line: #ceddca;
  --orange: #bc7149;
  --orange-soft: #fbf1e8;
  --danger: #a94539;
  --radius: 13px;
  font-family: 'Segoe UI','Microsoft YaHei','PingFang SC',system-ui,sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.schedule-view * {
  box-sizing: border-box;
}
.schedule-view {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.6;
}
.schedule-view button,
.schedule-view input,
.schedule-view textarea,
.schedule-view select {
  font: inherit;
}
.schedule-view button {
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.schedule-view button,
.schedule-view a,
.schedule-view input,
.schedule-view textarea,
.schedule-view select,
.schedule-view [tabindex] {
  -webkit-tap-highlight-color: transparent;
}
.schedule-view button:disabled {
  cursor: not-allowed;
  opacity: .48;
}
.schedule-view button:focus-visible,
.schedule-view a:focus-visible,
.schedule-view [tabindex]:focus-visible {
  outline: 3px solid #99b9a1;
  outline-offset: 4px;
}
.schedule-view input:focus-visible,
.schedule-view textarea:focus-visible,
.schedule-view select:focus-visible {
  outline: 2px solid #83a28c;
  outline-offset: 2px;
}
.schedule-view button svg,
.schedule-view a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.schedule-view svg {
  vertical-align: middle;
}
.schedule-view button>svg+span {
  margin-left: 7px;
}
.schedule-view [hidden] {
  display: none!important;
}
.schedule-view .schedule-original {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0.5rem 0 0;
}
.schedule-view a {
  color: var(--green);
  text-underline-offset: 3px;
}
.schedule-view h1,
.schedule-view h2,
.schedule-view h3,
.schedule-view p {
  margin-top: 0;
}
.schedule-view h1,
.schedule-view h2,
.schedule-view h3 {
  color: var(--ink);
}
.schedule-view .schedule-shell {
  width: min(1360px,100%);
  margin: 0 auto;
  padding: 26px 48px 58px;
}
.schedule-view .topbar {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.schedule-view .brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #f9faf6;
  background: var(--green);
  border-radius: 10px;
  font-size: 20px;
}
.schedule-view .brand-mark svg {
  width: 20px;
  height: 20px;
}
.schedule-view .brand {
  font-family: Georgia,'Times New Roman',serif;
  color: var(--ink);
  font-size: 25px;
  letter-spacing: -.9px;
  line-height: 1.2;
}
.schedule-view .brand small {
  display: block;
  margin-top: 3px;
  font: 10px/1.2 'Segoe UI',sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.schedule-view .version {
  align-self: center;
  margin-left: 1px;
  padding: 2px 7px;
  border: 1px solid #d9dfd3;
  border-radius: 5px;
  color: #7c8578;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .3px;
}
.schedule-view .top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.schedule-view .local-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.schedule-view .local-label:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8ba883;
}
.schedule-view .workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 27px;
}
.schedule-view .eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.schedule-view .page-title {
  margin: 0 0 5px;
  font-size: clamp(25px,3vw,32px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -1px;
}
.schedule-view .page-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.schedule-view .view-switch {
  flex-shrink: 0;
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  background: #e9ece3;
  border: 1px solid #e1e6da;
  border-radius: 10px;
}
.schedule-view .view-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 82px;
  min-height: 35px;
  border: 0;
  border-radius: 7px;
  color: #7b8579;
  background: transparent;
  font-size: 12px;
  transition: background .18s,color .18s,box-shadow .18s;
}
.schedule-view .view-switch button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 4px #203b3210;
  font-weight: 600;
}
.schedule-view .view-switch button svg {
  width: 15px;
  height: 15px;
}
.schedule-view .toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.schedule-view .date-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.schedule-view .date-heading {
  margin: 0 10px 0 5px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.35px;
  font-variant-numeric: tabular-nums;
}
.schedule-view .date-heading small {
  margin-left: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}
.schedule-view .icon-button {
  display: inline-flex;
  width: 32px;
  height: 32px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #627064;
  font-size: 20px;
  line-height: 1;
}
.schedule-view .icon-button:hover {
  background: #e8ede2;
  color: var(--green);
}
.schedule-view .icon-button:active {
  transform: scale(.96);
}
.schedule-view .today-button {
  min-height: 30px;
  padding: 3px 11px;
  border: 1px solid #dfe4d8;
  border-radius: 6px;
  background: transparent;
  color: #6b7969;
  font-size: 11px;
  white-space: nowrap;
}
.schedule-view .today-button:hover {
  background: white;
}
.schedule-view .toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.schedule-view .button {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background .16s,border-color .16s,transform .16s;
}
.schedule-view .button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.schedule-view .button.primary:hover {
  background: #1d3e30;
  border-color: #1d3e30;
}
.schedule-view .button.secondary {
  background: #fff;
  border-color: #dce2d7;
  color: #455e4b;
}
.schedule-view .button.secondary:hover {
  background: #f2f6ed;
  border-color: #c7d5c0;
}
.schedule-view .button.ghost {
  background: transparent;
  color: #667960;
}
.schedule-view .button.ghost:hover {
  background: #e9eee3;
}
.schedule-view .button.danger {
  border-color: #eccfc7;
  background: #fff7f3;
  color: var(--danger);
}
.schedule-view .button.danger:hover {
  border-color: #ddb4a9;
  background: #ffefea;
}
.schedule-view .button.small {
  min-height: 29px;
  padding: 5px 10px;
  font-size: 11px;
}
.schedule-view .button:active {
  transform: translateY(1px);
}
.schedule-view .schedule-panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid #e2e7dc;
  border-radius: var(--radius);
  overflow: hidden;
}
.schedule-view .schedule-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 57px;
  padding: 17px 25px;
  border-bottom: 1px solid #eef0e9;
}
.schedule-view .schedule-heading h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
}
.schedule-view .subtle {
  color: var(--muted);
  font-size: 11px;
}
.schedule-view .legend {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8a9187;
  font-size: 10px;
}
.schedule-view .legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.schedule-view .legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #93a88a;
}
.schedule-view .legend .fixed-dot,
.schedule-view .legend i.fixed {
  background: #789873;
}
.schedule-view .legend .block-dot,
.schedule-view .legend i.block {
  background: #c99a72;
}
.schedule-view .legend .meal-dot,
.schedule-view .legend i.meal {
  background: #d5caaa;
}
.schedule-view .day-timeline {
  position: relative;
  padding: 22px 26px 30px;
}
.schedule-view .anchor-event {
  position: relative;
  margin: 0 0 1px;
}
.schedule-view .anchor-time {
  position: relative;
  color: #455e4c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.schedule-view .anchor-time.start {
  padding: 7px 0 8px 2px;
}
.schedule-view .anchor-time.end {
  padding: 8px 0 7px 2px;
}
.schedule-view .anchor-time:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 48px;
  right: 0;
  border-top: 1px solid #f0f2ec;
}
.schedule-view .event-card {
  padding: 15px 18px 16px;
  border: 1px solid #dce6d6;
  border-left: 3px solid #7c9c71;
  border-radius: 7px;
  background: #f1f5ed;
  cursor: pointer;
  transition: border-color .18s,background .18s,box-shadow .18s;
}
.schedule-view .event-card:hover {
  background: #ebf2e6;
  border-color: #c9d9bf;
  box-shadow: 0 2px 8px #203b3205;
}
.schedule-view .event-card.block {
  border-color: #f0dfcf;
  border-left-color: #c28b60;
  background: #fdf5ed;
}
.schedule-view .event-card.block:hover {
  border-color: #e4c9b3;
  background: #fcf0e4;
}
.schedule-view .event-card.done {
  opacity: .65;
  background: #f3f4ee;
}
.schedule-view .event-card.done h3 {
  text-decoration: line-through;
  text-decoration-color: #9ba995;
}
.schedule-view .event-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}
.schedule-view .type-label {
  color: #78906e;
  font-size: 9px;
  letter-spacing: 1.1px;
  line-height: 1.5;
}
.schedule-view .block .type-label {
  color: #bc916d;
}
.schedule-view .event-actions {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: -6px -7px -3px 0;
}
.schedule-view .event-actions button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #8b9c82;
  padding: 4px 5px;
  min-width: 28px;
  min-height: 28px;
}
.schedule-view .event-actions button:hover {
  color: var(--ink);
  background: #dfe9d6;
}
.schedule-view .block .event-actions button:hover {
  background: #f2e1cf;
}
.schedule-view .event-card h3 {
  margin: 0 0 7px;
  color: #2d4938;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.35px;
  overflow-wrap: anywhere;
}
.schedule-view .event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  color: #7c8b72;
  font-size: 11px;
}
.schedule-view .event-details>span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.schedule-view .event-details svg {
  width: 12px;
  height: 12px;
}
.schedule-view .event-notes {
  margin: 7px 0 0;
  color: #839178;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.schedule-view .event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 10px;
  color: #839478;
}
.schedule-view .event-meta svg {
  width: 11px;
  height: 11px;
}
.schedule-view .block .event-details,
.schedule-view .block .event-notes,
.schedule-view .block .event-meta {
  color: #a08b76;
}
.schedule-view .badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 1px solid #d9e3d0;
  border-radius: 4px;
  background: #f6f8f2;
  color: #738367;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 400;
}
.schedule-view .badge.warning {
  color: #ac7a50;
  background: #fff5e8;
  border-color: #efdcc2;
}
.schedule-view .source-deleted {
  color: #a87855;
  font-size: 10px;
}
.schedule-view .free-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
  padding: 8px 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #9ba590;
  cursor: pointer;
  transition: min-height .22s ease,padding .22s ease,margin .22s ease,background .18s ease,border-color .18s ease;
}
.schedule-view .free-slot:hover {
  background: #fafbf7;
}
.schedule-view .slot-boundary {
  position: relative;
  flex-shrink: 0;
  padding-left: 1px;
  color: #9ba58f;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  z-index: 1;
}
.schedule-view .slot-boundary.end {
  margin-top: 5px;
}
.schedule-view .slot-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  padding: 12px 3px;
  min-height: 34px;
  transition: padding .22s,min-height .22s;
}
.schedule-view .slot-line {
  flex: 1;
  height: 1px;
  min-width: 20px;
  background-image: linear-gradient(to right,#e2e7db 50%,transparent 0);
  background-size: 7px 1px;
  background-repeat: repeat-x;
}
.schedule-view .slot-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #acb3a4;
  font-size: 10px;
}
.schedule-view .slot-label svg {
  width: 12px;
  height: 12px;
}
.schedule-view .slot-duration {
  font-size: 9px;
  color: #b0b7a7;
  white-space: nowrap;
}
.schedule-view .meal-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px dashed #e4dac2;
  border-radius: 5px;
  background: #f8f6ec;
  color: #a79b7d;
  font-size: 10px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.schedule-view .meal-hint svg {
  width: 11px;
  height: 11px;
}
.schedule-view .free-slot .meal-hint {
  margin-left: auto;
}
.schedule-view .free-slot.is-target {
  min-height: 158px;
  margin: 3px 0;
  padding: 12px;
  background: #eff5e8;
  border-color: #9ab587;
  box-shadow: inset 0 0 0 1px #ffffffa0;
}
.schedule-view .free-slot.is-target .slot-boundary {
  color: #4c6c3f;
  font-weight: 600;
  font-size: 11px;
}
.schedule-view .free-slot.is-target .slot-content {
  flex: 1;
  padding: 12px 1px;
}
.schedule-view .free-slot.is-target .slot-line {
  display: none;
}
.schedule-view .free-slot.is-target .slot-label {
  color: #61844f;
}
.schedule-view .free-slot.is-target .slot-duration {
  color: #789066;
}
.schedule-view .free-slot.is-compressed {
  min-height: 43px;
  padding: 4px 0;
  opacity: .6;
}
.schedule-view .free-slot.is-compressed .slot-content {
  min-height: 8px;
  padding: 1px 2px;
}
.schedule-view .free-slot.is-compressed .slot-label,
.schedule-view .free-slot.is-compressed .slot-duration,
.schedule-view .free-slot.is-compressed .meal-hint {
  display: none;
}
.schedule-view .drag-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  color: var(--green);
  background: #fffdf9d9;
  border: 1px solid #d3e0c8;
  border-left: 3px solid #73995d;
  border-radius: 6px;
  box-shadow: 0 3px 8px #304b2210;
}
.schedule-view .drag-preview strong {
  font-size: 14px;
  font-weight: 600;
}
.schedule-view .drag-preview small {
  margin-left: auto;
  color: #879a78;
  font-size: 10px;
}
.schedule-view .drag-preview .preview-time {
  font-variant-numeric: tabular-nums;
  color: #5c7b4b;
  font-size: 11px;
}
.schedule-view .drag-ghost {
  position: fixed;
  z-index: 900;
  pointer-events: none;
  max-width: 230px;
  padding: 11px 17px;
  color: #fff;
  background: #294e3de8;
  border: 1px solid #56755c;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 8px 30px #1734242b;
  transform: translate(-50%,-115%) rotate(-2deg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-view.drag-active,
.schedule-view.drag-active * {
  user-select: none;
  -webkit-user-select: none;
  cursor: grabbing!important;
}
.schedule-view.drag-active {
  overscroll-behavior: none;
}
.schedule-view .candidate-panel {
  position: sticky;
  top: 22px;
  min-width: 0;
  padding: 21px 20px 17px;
  border: 1px solid #e1e6d9;
  border-radius: var(--radius);
  background: #f0f2e9;
}
.schedule-view .pool-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.schedule-view .pool-heading h2 {
  margin: 0 0 4px;
  color: #37513a;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.3px;
}
.schedule-view .pool-heading p {
  margin: 0;
  color: #929d88;
  font-size: 10px;
}
.schedule-view .pool-heading .icon-button {
  width: 29px;
  height: 29px;
  background: #e3e9d9;
  color: #5e7851;
  border-radius: 7px;
}
.schedule-view .pool-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 15px;
  border-bottom: 1px solid #dfe5d5;
}
.schedule-view .pool-tabs button {
  padding: 7px 0 10px;
  margin-bottom: -1px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #8c9981;
  font-size: 11px;
}
.schedule-view .pool-tabs button.active {
  color: #405b36;
  border-bottom-color: #638351;
  font-weight: 600;
}
.schedule-view .pool-tabs .count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 17px;
  height: 17px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 9px;
  background: #e0e7d7;
  color: #738763;
}
.schedule-view .task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 10px;
}
.schedule-view .swipe-shell {
  position: relative;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
}
.schedule-view .swipe-underlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  background: #f7e1df;
  color: #a33e37;
  font-size: 11px;
  border-radius: 8px;
}
.schedule-view .swipe-underlay svg {
  width: 16px;
  height: 16px;
}
.schedule-view .task-card {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  padding: 13px 13px 12px 16px;
  border: 1px solid #e1e7d7;
  border-radius: 8px;
  background: #fcfdf9;
  touch-action: pan-y;
  cursor: grab;
  transition: box-shadow .16s,border-color .16s,opacity .16s;
  -webkit-user-select: none;
  user-select: none;
}
.schedule-view .task-card:hover {
  border-color: #bdcdb0;
  box-shadow: 0 3px 9px #28442006;
}
.schedule-view .task-card:active {
  cursor: grabbing;
}
.schedule-view .task-card.is-dragging {
  opacity: .42;
  border-style: dashed;
  background: #e9efdf;
}
.schedule-view .task-card.is-swiping {
  transition: none;
}
.schedule-view .task-color {
  display: block;
  position: absolute;
  top: 17px;
  left: 0;
  height: 18px;
  width: 3px;
  background: #8aa66f;
  border-radius: 0 2px 2px 0;
}
.schedule-view .swipe-shell:nth-child(3n + 2) .task-color {
  background: #c7a377;
}
.schedule-view .swipe-shell:nth-child(3n) .task-color {
  background: #9aa9b6;
}
.schedule-view .task-title {
  padding-right: 25px;
  margin: 0 0 4px;
  color: #41523b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.schedule-view .task-note {
  margin: 0 0 8px;
  color: #9aa48f;
  font-size: 10px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.schedule-view .task-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
  color: #97a188;
  font-size: 9px;
  line-height: 1.5;
}
.schedule-view .task-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.schedule-view .task-meta svg {
  width: 10px;
  height: 10px;
}
.schedule-view .task-menu {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 27px;
  height: 27px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #a4ad99;
  font-size: 19px;
}
.schedule-view .task-menu:hover {
  color: #536b47;
  background: #edf2e4;
}
.schedule-view .pool-footer {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #dfe5d5;
  color: #a0aa92;
  font-size: 10px;
  line-height: 1.9;
}
.schedule-view .pool-footer p {
  margin-bottom: 0;
}
.schedule-view .pool-footer strong {
  font-weight: 400;
  color: #7f9270;
}
.schedule-view .pool-footer .button {
  width: 100%;
  margin-top: 9px;
}
.schedule-view .mobile-pool-hint {
  display: none;
  color: #94a087;
  font-size: 10px;
}
.schedule-view .selection-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 15px;
  padding: 10px 14px;
  border: 1px solid #cbdcbc;
  border-radius: 8px;
  background: #edf4e6;
  color: #567442;
  font-size: 12px;
}
.schedule-view .selection-banner button {
  flex-shrink: 0;
}
.schedule-view .storage-banner {
  margin: 16px 0;
  padding: 12px 15px;
  border: 1px solid #edd7b5;
  border-radius: 8px;
  background: #fff8e9;
  color: #986f33;
  font-size: 12px;
}
.schedule-view .empty-state {
  padding: 40px 15px;
  text-align: center;
  color: #9ba58e;
  font-size: 12px;
}
.schedule-view .empty-state h3 {
  margin: 9px 0 7px;
  color: #718767;
  font-size: 14px;
  font-weight: 500;
}
.schedule-view .empty-state p {
  margin-bottom: 14px;
  font-size: 11px;
}
.schedule-view .empty-state svg {
  width: 28px;
  height: 28px;
  color: #b3c1a4;
}
.schedule-view .week-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #ccd5c1 transparent;
}
.schedule-view .week-grid {
  display: grid;
  grid-template-columns: 48px repeat(var(--schedule-days,7),minmax(105px,1fr));
  min-width: 790px;
  position: relative;
}
.schedule-view .week-header,
.schedule-view .week-body {
  display: contents;
}
.schedule-view .week-day-heading {
  position: relative;
  padding: 13px 3px 12px;
  border: 0;
  border-bottom: 1px solid #e8ecdf;
  border-left: 1px solid #f0f2e9;
  background: #fff;
  text-align: center;
  color: #8c9980;
  font-size: 10px;
  cursor: pointer;
}
.schedule-view .week-day-heading:hover {
  background: #f5f8ef;
}
.schedule-view .week-day-heading strong {
  display: block;
  width: 29px;
  height: 29px;
  margin: 4px auto 0;
  color: #647656;
  font-size: 16px;
  font-weight: 500;
  line-height: 29px;
  border-radius: 50%;
}
.schedule-view .week-day-heading.today strong,
.schedule-view .week-day-heading.is-today strong {
  background: var(--green);
  color: #fff;
}
.schedule-view .week-day-heading.active,
.schedule-view .week-day-heading.selected {
  background: #f4f7ee;
}
.schedule-view .week-day-heading button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.schedule-view .week-time-column,
.schedule-view .week-times,
.schedule-view .week-ruler,
.schedule-view .week-hours {
  position: relative;
  min-height: 960px;
  background: #fff;
}
.schedule-view .week-corner {
  border-bottom: 1px solid #e8ecdf;
}
.schedule-view .hour-label {
  position: absolute;
  left: 0;
  width: 43px;
  padding-right: 7px;
  color: #a4ae98;
  font-size: 9px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: right;
  transform: translateY(-50%);
}
.schedule-view .hour-label:first-child {
  transform: translateY(4px);
}
.schedule-view .week-day {
  position: relative;
  height: 960px;
  border-left: 1px solid #ebeee4;
  background-color: #fff;
  background-image: repeating-linear-gradient(to bottom,transparent 0,transparent 65px,#eef1e7 65px,#eef1e7 66px);
}
.schedule-view .week-day.today,
.schedule-view .week-day.is-today {
  background-color: #fcfdf9;
}
.schedule-view .week-event {
  position: absolute;
  left: 4px;
  right: 4px;
  z-index: 3;
  padding: 6px 6px 5px 7px;
  min-height: 20px;
  border: 1px solid #d8e3cd;
  border-left: 2px solid #85a372;
  border-radius: 4px;
  background: #ecf2e5;
  color: #587444;
  overflow: hidden;
  cursor: pointer;
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
}
.schedule-view .week-event.block {
  background: #fbf0e4;
  border-color: #edddc8;
  border-left-color: #c49464;
  color: #a17a51;
}
.schedule-view .week-event.done {
  opacity: .55;
}
.schedule-view .week-event strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
}
.schedule-view .week-event small {
  display: block;
  opacity: .75;
  font-size: 8px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-view .week-event:hover {
  filter: brightness(.97);
  z-index: 4;
}
.schedule-view .week-slot {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  min-height: 8px;
  cursor: crosshair;
  border: 1px solid transparent;
}
.schedule-view .week-slot:hover {
  background: #e9f2df88;
  border-color: #d4e1c7;
}
.schedule-view .week-slot.is-target {
  background: #dfeccf;
  outline: 2px solid #91af78;
  outline-offset: -2px;
}
.schedule-view .week-meal {
  position: absolute;
  left: 2px;
  right: 2px;
  z-index: 2;
  padding: 2px 4px;
  border: 1px dashed #e9dec5;
  border-radius: 3px;
  background: #f5f1e47d;
  color: #b3a585;
  pointer-events: none;
  font-size: 8px;
  line-height: 1.4;
  overflow: hidden;
}
.schedule-view .week-drop-preview {
  position: absolute;
  left: 3px;
  right: 3px;
  z-index: 6;
  min-height: 28px;
  padding: 6px;
  border: 1px solid #7c9d63;
  border-radius: 5px;
  background: #e7f0da;
  color: #456730;
  box-shadow: 0 3px 10px #30442116;
  pointer-events: none;
  font-size: 10px;
  line-height: 1.5;
}
.schedule-view .week-drop-preview strong {
  display: block;
  font-weight: 500;
}
.schedule-view dialog.modal {
  width: min(510px,calc(100vw - 32px));
  max-height: min(88vh,850px);
  padding: 0;
  border: 1px solid #dce4d3;
  border-radius: 15px;
  background: #fdfefb;
  color: var(--text);
  box-shadow: 0 20px 80px #1d3c2b2b;
  overflow: hidden;
}
.schedule-view dialog.modal > form {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  width: 100%;
}
.schedule-view dialog.modal::backdrop {
  background: #18332550;
  backdrop-filter: blur(3px);
}
.schedule-view dialog.modal[open] {
  animation: schedule-modal-appear .18s ease-out;
}
.schedule-view dialog.dialog-small {
  width: min(430px,calc(100vw - 32px));
}
.schedule-view .modal-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 25px 17px;
  border-bottom: 1px solid #e8eddf;
}
.schedule-view .modal-header h2 {
  margin: 0;
  color: #2c4c35;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.4px;
}
.schedule-view .modal-header p {
  margin: 4px 0 0;
  color: #91a086;
  font-size: 11px;
}
.schedule-view .modal-header .icon-button {
  flex-shrink: 0;
  margin: -7px -8px -7px 0;
}
.schedule-view .modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: 22px 25px;
}
.schedule-view .modal-body>p:last-child {
  margin-bottom: 0;
}
.schedule-view .modal-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  padding: 17px 25px 21px;
  border-top: 1px solid #e8eddf;
}
.schedule-view .modal-footer .button.danger {
  margin-right: auto;
}
.schedule-view .modal-footer .footer-note {
  margin-right: auto;
  max-width: 180px;
  color: #a1ad94;
  font-size: 10px;
}
.schedule-view .form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 17px 14px;
}
.schedule-view .field {
  min-width: 0;
}
.schedule-view .field.full {
  grid-column: 1/-1;
}
.schedule-view .field label,
.schedule-view .field>span {
  display: block;
  margin-bottom: 6px;
  color: #667d57;
  font-size: 11px;
  font-weight: 500;
}
.schedule-view .field label small {
  margin-left: 5px;
  color: #a1ae95;
  font-size: 10px;
  font-weight: 400;
}
.schedule-view .field input,
.schedule-view .field select,
.schedule-view .field textarea {
  display: block;
  width: 100%;
  min-height: 39px;
  padding: 9px 11px;
  border: 1px solid #dce4d2;
  border-radius: 7px;
  background: #fff;
  color: #3c573d;
  font-size: 12px;
  line-height: 1.4;
  appearance: auto;
}
.schedule-view .field input[type=date],
.schedule-view .field input[type=time] {
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.schedule-view .field textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.7;
}
.schedule-view .field input::placeholder,
.schedule-view .field textarea::placeholder {
  color: #b2bcaa;
}
.schedule-view .field input:focus,
.schedule-view .field textarea:focus,
.schedule-view .field select:focus {
  border-color: #91aa7c;
}
.schedule-view .field small,
.schedule-view .field .help-copy {
  display: block;
  margin-top: 5px;
  color: #a2ae97;
  font-size: 10px;
  line-height: 1.6;
}
.schedule-view .checkbox-field,
.schedule-view .inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718564;
  font-size: 12px;
  cursor: pointer;
}
.schedule-view .checkbox-field input,
.schedule-view .inline-check input {
  width: 15px;
  height: 15px;
  min-height: 0;
  padding: 0;
  margin: 0;
  accent-color: var(--green);
  flex-shrink: 0;
}
.schedule-view .checkbox-field label {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}
.schedule-view .help-copy {
  color: #96a38b;
  font-size: 11px;
  line-height: 1.8;
}
.schedule-view .form-error {
  margin: 15px 0 0;
  padding: 10px 13px;
  border: 1px solid #ebcec5;
  border-radius: 7px;
  background: #fff6f1;
  color: #a6654c;
  font-size: 11px;
  line-height: 1.7;
}
.schedule-view .form-error:empty {
  display: none;
}
.schedule-view .callout {
  margin: 0 0 17px;
  padding: 13px 15px;
  border: 1px solid #dbe6cd;
  border-radius: 8px;
  background: #f0f5e9;
  color: #748866;
  font-size: 12px;
  line-height: 1.8;
}
.schedule-view .callout.warning {
  color: #a17e47;
  background: #fdf6e8;
  border-color: #eddfbf;
}
.schedule-view .callout.danger {
  color: #a76b53;
  background: #fff4ed;
  border-color: #efcec1;
}
.schedule-view .callout p {
  margin: 0 0 7px;
}
.schedule-view .callout p:last-child {
  margin-bottom: 0;
}
.schedule-view .callout strong {
  color: inherit;
  font-weight: 600;
}
.schedule-view .detail-list {
  margin: 0 0 20px;
}
.schedule-view .detail-list>div {
  display: flex;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0e7;
  font-size: 12px;
}
.schedule-view .detail-list dt {
  flex: 0 0 66px;
  color: #9aa78e;
}
.schedule-view .detail-list dd {
  margin: 0;
  color: #557149;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.schedule-view .settings-section+.settings-section {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #e4eadb;
}
.schedule-view .settings-section h3 {
  margin: 0 0 12px;
  color: #4c6940;
  font-size: 13px;
  font-weight: 500;
}
.schedule-view .settings-section p {
  margin-bottom: 14px;
}
.schedule-view .settings-section .checkbox-field {
  margin-bottom: 12px;
}
.schedule-view .settings-section .form-grid {
  gap: 11px 14px;
}
.schedule-view .task-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: #ecf3e3;
  border-radius: 5px;
  color: #7c9368;
  font-size: 10px;
}
.schedule-view .task-status.done {
  background: #eef0e8;
  color: #9ca68f;
}
.schedule-view .task-manager-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.schedule-view .task-manager-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e9d9;
  border-radius: 8px;
  background: #fff;
}
.schedule-view .task-manager-row strong {
  color: #4c6542;
  font-size: 12px;
  font-weight: 500;
}
.schedule-view .task-manager-row small {
  display: block;
  color: #9aab8c;
  font-size: 10px;
}
.schedule-view .task-manager-row .icon-button {
  flex-shrink: 0;
}
.schedule-view .toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 27px;
  max-width: min(520px,calc(100vw - 30px));
  padding: 12px 18px;
  border: 1px solid #476447;
  border-radius: 9px;
  background: #2c4735;
  color: #edf5e7;
  box-shadow: 0 6px 25px #1d3c2b20;
  font-size: 12px;
  line-height: 1.5;
  transform: translate(-50%,20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .2s,opacity .2s,visibility .2s;
}
.schedule-view .toast.show {
  transform: translate(-50%,0);
  opacity: 1;
  visibility: visible;
}
.schedule-view .toast button {
  pointer-events: auto;
  flex-shrink: 0;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid #a1b991;
  background: transparent;
  color: #d6e9c7;
  font-size: 11px;
}
.schedule-view .toast button:hover {
  color: white;
}
@keyframes schedule-modal-appear {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.schedule-view .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.schedule-view .brand em {
  font-weight: 400;
  color: #7d9177;
}
.schedule-view .brand .version {
  margin-left: 3px;
}
.schedule-view .title-dot {
  color: #a3b191;
}
.schedule-view .local-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8f9b88;
  font-size: 10px;
  letter-spacing: .2px;
}
.schedule-view .local-indicator i {
  width: 5px;
  height: 5px;
  background: #91a27f;
  border-radius: 50%;
}
.schedule-view .date-heading>span {
  display: inline-block;
  margin-left: 12px;
  color: #8b9881;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}
.schedule-view .schedule-heading>div>span {
  display: block;
  margin-top: 3px;
  color: #9ba58e;
  font-size: 10px;
}
.schedule-view .event-card {
  display: block;
  width: 100%;
  text-align: left;
}
.schedule-view .event-topline>svg {
  width: 13px;
  height: 13px;
  color: #93a484;
}
.schedule-view .block .event-topline>svg {
  color: #bca080;
}
.schedule-view .event-details {
  align-items: center;
  gap: 6px;
}
.schedule-view .event-details>svg {
  width: 12px;
  height: 12px;
}
.schedule-view .event-meta>span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.schedule-view .event-meta span:last-child:not(:first-child) {
  margin-left: 2px;
}
.schedule-view .event-meta>span>svg {
  width: 10px;
  height: 10px;
}
.schedule-view .day-strip {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 9px;
  padding: 16px 25px 13px;
  border-bottom: 1px solid #edf0e6;
}
.schedule-view .day-strip button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #98a18e;
  font-size: 10px;
}
.schedule-view .day-strip button strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.schedule-view .day-strip button:hover {
  background: #f1f5e9;
}
.schedule-view .day-strip button.selected {
  background: #eaf0e1;
  border-color: #dce5d0;
  color: #506d40;
}
.schedule-view .day-strip button.is-today:not(.selected) {
  color: #728a61;
}
.schedule-view .day-strip button i {
  position: absolute;
  bottom: 3px;
  width: 3px;
  height: 3px;
  background: #8caa73;
  border-radius: 50%;
}
.schedule-view .timeline-end {
  padding: 5px 20px 25px;
  text-align: center;
  color: #b0b9a6;
  font-size: 10px;
  letter-spacing: 1px;
}
.schedule-view .app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 27px;
  padding-top: 16px;
  border-top: 1px solid #e0e5d8;
  color: #a9b19f;
  font-size: 9px;
  letter-spacing: .1px;
}
.schedule-view .pool-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 4px;
  border-radius: 4px;
  color: #78905f;
  background: #e0e8d5;
  font-size: 10px;
  font-weight: 400;
}
.schedule-view .pool-context {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 13px;
  color: #95a087;
  font-size: 9px;
}
.schedule-view .pool-context span {
  color: #acb49f;
}
.schedule-view .task-content {
  padding-right: 6px;
}
.schedule-view .task-color {
  background: var(--task-accent,#8aa66f)!important;
}
.schedule-view .task-grip {
  display: flex;
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #b5bda9;
}
.schedule-view .task-grip svg {
  width: 14px;
  height: 14px;
}
.schedule-view .task-meta {
  padding-right: 10px;
}
.schedule-view .task-card.is-selected {
  border-color: #9bb183;
  background: #f6f9ef;
  box-shadow: 0 0 0 1px #9bb18330;
}
.schedule-view .add-task-button {
  width: 100%;
  margin-top: 13px;
  border-style: dashed!important;
  background: transparent!important;
  color: #82936f!important;
  font-size: 11px;
  min-height: 36px;
}
.schedule-view .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 3px 0;
  color: #7c9269;
  font-size: 10px;
}
.schedule-view .text-button:hover {
  color: #3f6836;
}
.schedule-view .text-button svg {
  width: 12px;
  height: 12px;
}
.schedule-view .pool-footer>.text-button {
  width: auto;
  margin-top: 8px;
  justify-content: flex-start;
}
.schedule-view .pool-footer>p>svg {
  width: 11px;
  height: 11px;
  vertical-align: -1px;
}
.schedule-view .selection-banner>button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e8a59;
}
.schedule-view .selection-banner>button svg {
  width: 13px;
  height: 13px;
}
.schedule-view .selection-banner {
  font-size: 10px;
}
.schedule-view .storage-banner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.schedule-view .storage-banner span {
  flex: 1;
}
.schedule-view .storage-banner .button {
  flex-shrink: 0;
}
.schedule-view .slot-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  height: auto;
  background: none;
}
.schedule-view .slot-line:after {
  content: '';
  flex: 1;
  min-width: 12px;
  height: 1px;
  background-image: linear-gradient(to right,#e2e7db 50%,transparent 0);
  background-size: 7px 1px;
  background-repeat: repeat-x;
}
.schedule-view .slot-line .slot-duration {
  order: 3;
}
.schedule-view .slot-content {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 9px 3px;
}
.schedule-view .slot-instruction {
  font-size: 9px;
  color: #b7beaf;
  transition: color .16s;
}
.schedule-view .free-slot:hover .slot-instruction {
  color: #8c9e7b;
}
.schedule-view .free-slot .meal-hint {
  align-self: flex-end;
  margin-top: 1px;
}
.schedule-view .free-slot.is-target .slot-line,
.schedule-view .free-slot.is-target .slot-instruction {
  display: none;
}
.schedule-view .free-slot.is-compressed .slot-line,
.schedule-view .free-slot.is-compressed .slot-instruction {
  display: none;
}
.schedule-view .free-slot.is-target .slot-content {
  justify-content: center;
  align-items: stretch;
  width: 100%;
  padding: 9px 1px;
}
.schedule-view .free-slot.is-extension {
  background: #f3f7ed;
  border-color: #d9e5cc;
  opacity: .85;
}
.schedule-view .free-slot.is-extension .slot-boundary {
  color: #8ca17b;
}
.schedule-view .drag-preview {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}
.schedule-view .drag-preview>span {
  color: #6a8558;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.schedule-view .drag-preview small {
  margin: 2px 0 0;
  font-size: 9px;
}
.schedule-view .drag-ghost {
  display: flex;
  align-items: center;
  gap: 6px;
  transform: rotate(-2deg);
  max-width: 230px;
  min-width: 130px;
  white-space: normal;
}
.schedule-view .drag-ghost>svg {
  width: 12px;
  height: 12px;
  color: #a8be9e;
}
.schedule-view .drag-ghost strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.schedule-view .drag-ghost small {
  display: block;
  margin-top: 2px;
  color: #b8c9ad;
  font-size: 8px;
}
.schedule-view .week-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 73px;
  border-bottom: 1px solid #e8ecdf;
  color: #a2ac97;
  font-size: 9px;
}
.schedule-view .all-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px 0;
  border-bottom: 1px solid #e6ecde;
}
.schedule-view .all-task-row:first-child {
  padding-top: 0;
}
.schedule-view .all-task-row:last-child {
  border: 0;
}
.schedule-view .all-task-row strong {
  font-size: 12px;
  font-weight: 500;
  color: #4c6740;
}
.schedule-view .all-task-row small {
  display: block;
  margin-top: 4px;
  color: #a3af96;
  font-size: 10px;
}
.schedule-view .all-task-row>div:last-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.schedule-view .all-task-row .button {
  padding: 6px 8px;
  min-height: 29px;
  font-size: 10px;
}
.schedule-view .all-task-row .text-button {
  padding: 5px;
}
.schedule-view .slot-task-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.schedule-view .slot-task-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px;
  border: 1px solid #e1e8d7;
  border-radius: 7px;
  background: #fff;
  text-align: left;
}
.schedule-view .slot-task-option:hover {
  background: #f3f7ec;
  border-color: #bfd0ad;
}
.schedule-view .slot-task-option strong {
  color: #587347;
  font-size: 12px;
  font-weight: 500;
}
.schedule-view .slot-task-option span {
  flex-shrink: 0;
  color: #9eae8e;
  font-size: 10px;
}
.schedule-view .slot-task-option svg {
  width: 12px;
  height: 12px;
}
.schedule-view .confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 13px;
}
.schedule-view .meal-setting+.meal-setting {
  margin-top: 19px;
}
.schedule-view .meal-setting>.inline-check {
  margin-bottom: 10px;
}
.schedule-view .inline-check+.inline-check {
  margin-top: 8px;
}
.schedule-view .field label>span {
  display: inline;
  margin-left: 4px;
  font-size: 9px;
  color: #a1ae95;
  font-weight: 400;
}
.schedule-view .help-guide {
  font-size: 12px;
  line-height: 1.9;
  color: #829475;
}
.schedule-view .help-guide h3 {
  margin: 19px 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: #59734a;
}
.schedule-view .help-guide p {
  margin-bottom: 10px;
}
.schedule-view .help-guide>p:first-child {
  margin-top: 0;
}
.schedule-view .help-guide .button {
  margin-top: 10px;
}
@media(min-width:1450px) {
  .schedule-view .schedule-shell {
    padding-top: 34px;
  }
  .schedule-view .workspace-header {
    padding-top: 42px;
    padding-bottom: 34px;
  }
}
@media(max-width:1050px) {
  .schedule-view .schedule-shell {
    padding: 23px 28px 45px;
  }
  .schedule-view .candidate-panel {
    padding: 18px 16px 15px;
  }
  .schedule-view .day-timeline {
    padding: 18px 21px 25px;
  }
  .schedule-view .schedule-heading {
    padding: 16px 20px;
  }
  .schedule-view .legend {
    gap: 9px;
    font-size: 9px;
  }
  .schedule-view .event-card {
    padding: 13px 15px;
  }
  .schedule-view .date-heading {
    font-size: 15px;
  }
  .schedule-view .toolbar-actions .button {
    padding: 8px 12px;
  }
  .schedule-view .day-strip {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media(max-width:760px) {
  .schedule-view .schedule-shell {
    padding: 18px 18px 45px;
  }
  .schedule-view .topbar {
    padding-bottom: 18px;
    gap: 9px;
  }
  .schedule-view .brand {
    font-size: 23px;
    gap: 8px;
  }
  .schedule-view .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }
  .schedule-view .version {
    font-size: 9px;
    padding: 1px 5px;
  }
  .schedule-view .top-actions {
    gap: 3px;
  }
  .schedule-view .top-actions .local-label,
  .schedule-view .local-indicator {
    display: none;
  }
  .schedule-view .workspace-header {
    padding: 26px 0 22px;
    align-items: flex-start;
    gap: 12px;
  }
  .schedule-view .page-title {
    font-size: 25px;
    letter-spacing: -.7px;
  }
  .schedule-view .page-subtitle {
    max-width: 245px;
    font-size: 10px;
    line-height: 1.8;
  }
  .schedule-view .eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .schedule-view .view-switch {
    margin-top: 23px;
    padding: 3px;
    border-radius: 8px;
    gap: 1px;
  }
  .schedule-view .view-switch button {
    min-width: 45px;
    min-height: 30px;
    font-size: 10px;
    gap: 4px;
    border-radius: 5px;
  }
  .schedule-view .view-switch button svg {
    display: none;
  }
  .schedule-view .toolbar {
    gap: 12px;
    padding: 14px 0;
  }
  .schedule-view .date-navigation {
    gap: 3px;
    flex: 1;
  }
  .schedule-view .date-heading {
    margin: 0 4px;
    font-size: 14px;
    letter-spacing: -.45px;
  }
  .schedule-view .date-heading small,
  .schedule-view .date-heading>span {
    display: block;
    margin: 0;
    font-size: 9px;
    line-height: 1.6;
  }
  .schedule-view .date-navigation .icon-button {
    width: 26px;
    height: 30px;
    font-size: 17px;
  }
  .schedule-view .today-button {
    min-height: 25px;
    margin-left: 4px;
    padding: 3px 7px;
    font-size: 10px;
  }
  .schedule-view .toolbar-actions {
    gap: 5px;
  }
  .schedule-view .toolbar-actions .button {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 10px;
    gap: 4px;
  }
  .schedule-view .toolbar-actions .button svg {
    width: 13px;
    height: 13px;
  }
  .schedule-view .toolbar-actions .button.secondary {
    padding: 7px;
  }
  .schedule-view .toolbar-actions .button.secondary>svg {
    display: none;
  }
  .schedule-view .candidate-panel {
    position: relative;
    top: auto;
    order: -1;
    width: 100%;
    padding: 15px 15px 12px;
    border-radius: 10px;
  }
  .schedule-view .pool-heading {
    align-items: center;
    margin-bottom: 7px;
  }
  .schedule-view .pool-heading h2 {
    margin-bottom: 0;
    font-size: 13px;
  }
  .schedule-view .pool-heading p {
    display: none;
  }
  .schedule-view .pool-heading>.eyebrow,
  .schedule-view .pool-heading .eyebrow {
    display: none;
  }
  .schedule-view .pool-heading .icon-button {
    width: 26px;
    height: 26px;
    font-size: 17px;
  }
  .schedule-view .pool-tabs {
    gap: 19px;
    margin-bottom: 9px;
  }
  .schedule-view .pool-tabs button {
    padding: 3px 0 7px;
    font-size: 10px;
  }
  .schedule-view .pool-tabs .count {
    min-width: 15px;
    height: 15px;
    font-size: 8px;
  }
  .schedule-view .pool-context {
    margin-bottom: 9px;
    font-size: 8px;
  }
  .schedule-view .task-list {
    flex-direction: row;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1px 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #cdd8bf transparent;
  }
  .schedule-view .swipe-shell {
    flex: 0 0 185px;
    scroll-snap-align: start;
  }
  .schedule-view .task-card {
    min-height: 107px;
    height: 100%;
    padding: 11px 12px 10px 14px;
  }
  .schedule-view .task-title {
    font-size: 12px;
    padding-right: 20px;
  }
  .schedule-view .task-note {
    font-size: 9px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .schedule-view .task-meta {
    font-size: 8px;
    gap: 6px;
    margin-top: 6px;
  }
  .schedule-view .task-menu {
    top: 5px;
    right: 5px;
    font-size: 17px;
  }
  .schedule-view .pool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 9px;
    margin-top: 8px;
    padding-top: 8px;
    font-size: 9px;
    line-height: 1.6;
  }
  .schedule-view .pool-footer .button {
    width: auto;
    margin: 0;
    padding: 5px 7px;
    min-height: 25px;
    font-size: 9px;
    white-space: nowrap;
  }
  .schedule-view .pool-footer p {
    margin: 0;
  }
  .schedule-view .pool-footer p:nth-child(2) {
    display: none;
  }
  .schedule-view .pool-footer>.text-button {
    width: auto;
    margin: 0;
    font-size: 9px;
  }
  .schedule-view .add-task-button {
    margin-top: 8px;
    min-height: 29px;
    font-size: 10px;
  }
  .schedule-view .mobile-pool-hint {
    display: block;
    margin: 6px 0 0;
    font-size: 9px;
  }
  .schedule-view .schedule-panel {
    width: 100%;
    border-radius: 10px;
  }
  .schedule-view .schedule-heading {
    min-height: 49px;
    padding: 13px 16px;
    gap: 6px;
  }
  .schedule-view .schedule-heading h2 {
    font-size: 11px;
  }
  .schedule-view .schedule-heading>div>span {
    font-size: 9px;
  }
  .schedule-view .legend {
    gap: 8px;
    font-size: 8px;
  }
  .schedule-view .legend i {
    width: 5px;
    height: 5px;
  }
  .schedule-view .day-strip {
    gap: 4px;
    padding: 10px 12px;
  }
  .schedule-view .day-strip button {
    min-height: 45px;
    font-size: 9px;
    gap: 2px;
  }
  .schedule-view .day-strip button strong {
    font-size: 14px;
  }
  .schedule-view .day-timeline {
    padding: 15px 17px 24px;
  }
  .schedule-view .anchor-time {
    font-size: 10px;
  }
  .schedule-view .event-card {
    padding: 12px 13px 13px;
  }
  .schedule-view .event-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .schedule-view .event-details {
    gap: 5px 12px;
    font-size: 10px;
  }
  .schedule-view .event-notes {
    font-size: 10px;
  }
  .schedule-view .event-meta {
    margin-top: 8px;
    font-size: 9px;
  }
  .schedule-view .type-label {
    font-size: 8px;
  }
  .schedule-view .free-slot {
    min-height: 76px;
  }
  .schedule-view .slot-content {
    gap: 4px 6px;
    padding: 9px 1px;
  }
  .schedule-view .slot-label {
    font-size: 9px;
  }
  .schedule-view .slot-duration,
  .schedule-view .slot-boundary {
    font-size: 9px;
  }
  .schedule-view .slot-instruction {
    font-size: 8px;
  }
  .schedule-view .meal-hint {
    padding: 3px 5px;
    font-size: 8px;
  }
  .schedule-view .free-slot.is-target {
    min-height: 144px;
    padding: 10px;
  }
  .schedule-view .free-slot.is-target .slot-boundary {
    font-size: 10px;
  }
  .schedule-view .free-slot.is-compressed {
    min-height: 40px;
  }
  .schedule-view .drag-preview {
    padding: 10px;
    gap: 4px 7px;
  }
  .schedule-view .drag-preview strong {
    font-size: 12px;
  }
  .schedule-view .drag-preview small {
    font-size: 8px;
  }
  .schedule-view .drag-ghost {
    padding: 9px 13px;
    font-size: 11px;
    max-width: 180px;
  }
  .schedule-view .week-grid {
    grid-template-columns: 40px repeat(var(--schedule-days,7),112px);
    min-width: 824px;
  }
  .schedule-view .hour-label {
    width: 36px;
    padding-right: 6px;
    font-size: 8px;
  }
  .schedule-view .week-day-heading {
    padding-top: 10px;
  }
  .schedule-view .selection-banner {
    margin-bottom: 12px;
    font-size: 11px;
  }
  .schedule-view .toast {
    bottom: 17px;
    padding: 11px 15px;
    font-size: 11px;
    gap: 17px;
  }
  .schedule-view .app-footer {
    margin-top: 19px;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 8px;
  }
  .schedule-view .storage-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .schedule-view .pool-context span {
    font-size: 8px;
  }
}
@media(max-width:410px) {
  .schedule-view .schedule-shell {
    padding-left: 13px;
    padding-right: 13px;
  }
  .schedule-view .brand {
    font-size: 21px;
  }
  .schedule-view .workspace-header {
    gap: 6px;
  }
  .schedule-view .page-title {
    font-size: 23px;
  }
  .schedule-view .page-subtitle {
    max-width: 210px;
    font-size: 9px;
  }
  .schedule-view .view-switch button {
    min-width: 40px;
  }
  .schedule-view .date-heading {
    font-size: 12px;
    margin: 0 2px;
  }
  .schedule-view .date-navigation .icon-button {
    width: 22px;
  }
  .schedule-view .toolbar-actions .button {
    padding: 7px 8px;
  }
  .schedule-view .toolbar-actions .button svg {
    width: 11px;
    height: 11px;
  }
  .schedule-view .day-timeline {
    padding-left: 14px;
    padding-right: 14px;
  }
  .schedule-view .schedule-heading {
    padding-left: 14px;
    padding-right: 14px;
  }
  .schedule-view .legend {
    gap: 6px;
  }
  .schedule-view .modal-header {
    padding: 20px 19px 15px;
  }
  .schedule-view .modal-header h2 {
    font-size: 17px;
  }
  .schedule-view .modal-body {
    padding: 19px;
  }
  .schedule-view .modal-footer {
    padding: 15px 19px 19px;
    gap: 7px;
  }
  .schedule-view .modal-footer .button {
    padding-left: 11px;
    padding-right: 11px;
  }
  .schedule-view .form-grid {
    gap: 15px 10px;
  }
  .schedule-view .field input,
  .schedule-view .field select,
  .schedule-view .field textarea {
    padding: 9px;
    font-size: 12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .schedule-view *,
  .schedule-view *:before,
  .schedule-view *:after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
    scroll-behavior: auto!important;
  }
}
.schedule-view .task-repeat { font-size: 12px; color: var(--muted, #637265); margin: 7px 0 0; line-height: 1.6; }
.schedule-view .day-reminder-row { padding:8px 0; }
.schedule-view .day-segment-reminders { display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:8px 0; }
.schedule-view .reminder-point { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; background: #eef3ee; border: 1px solid #b9c9bc; color: #31543b; border-radius: 5px; text-align: left; cursor: pointer; max-width: 100%; }
.schedule-view .reminder-point span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-view .week-reminder { position: absolute; z-index: 5; left: 3px; right: 3px; height: 28px; padding: 3px 5px; font-size: 11px; box-shadow: 0 1px 4px #ffffffb0; }
@media(max-width:760px) {
  .schedule-view .field input,
  .schedule-view .field select,
  .schedule-view .field textarea {
    font-size: 16px;
  }
  .schedule-view .button {
    min-height: 40px;
  }
  .schedule-view .icon-button,
  .schedule-view .date-navigation .icon-button {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .schedule-view .task-menu {
    width: 36px;
    height: 36px;
  }
  .schedule-view .view-switch button {
    min-height: 40px;
  }
}
@media(max-width:760px) {
  .schedule-view .toolbar .button,
  .schedule-view .modal-footer .button {
    min-height: 40px;
  }
  .schedule-view .task-card .task-menu {
    width: 36px;
    height: 36px;
  }
  .schedule-view .pool-heading .icon-button {
    width: 36px;
    height: 36px;
  }
}
.schedule-view .task-title {
  font-size: 14px;
}
.schedule-view .task-note {
  font-size: 12px;
  line-height: 1.65;
  color: #6c7965;
}
.schedule-view .task-meta {
  font-size: 11px;
  color: #718064;
}
.schedule-view .anchor-time {
  font-size: 12px;
}
.schedule-view .slot-boundary {
  font-size: 11px;
  color: #7b896f;
}
.schedule-view .slot-label,
.schedule-view .slot-duration {
  font-size: 11px;
  color: #7a8870;
}
.schedule-view .slot-instruction {
  font-size: 11px;
  color: #829079;
}
.schedule-view .event-notes,
.schedule-view .event-details {
  font-size: 12px;
  color: #687b5d;
}
.schedule-view .event-meta {
  font-size: 11px;
  color: #738466;
}
.schedule-view .schedule-heading>div>span {
  font-size: 11px;
}
.schedule-view .pool-context,
.schedule-view .pool-context span {
  font-size: 10px;
}
.schedule-view .help-copy {
  font-size: 12px;
  color: #75866a;
}
.schedule-view .field label {
  font-size: 12px;
}
.schedule-view .legend {
  font-size: 11px;
}
.schedule-view .pool-footer p,
.schedule-view .pool-footer .text-button {
  font-size: 11px;
}
.schedule-view .meal-hint {
  font-size: 11px;
  color: #95845e;
}
.schedule-view .page-subtitle {
  font-size: 12px;
}
@media(max-width:760px) {
  .schedule-view .task-title {
    font-size: 14px;
  }
  .schedule-view .task-note {
    font-size: 12px;
  }
  .schedule-view .task-meta {
    font-size: 11px;
  }
  .schedule-view .task-card {
    min-height: 136px;
  }
  .schedule-view .slot-boundary,
  .schedule-view .anchor-time,
  .schedule-view .free-slot.is-target .slot-boundary {
    font-size: 12px;
  }
  .schedule-view .slot-label,
  .schedule-view .slot-duration {
    font-size: 11px;
  }
  .schedule-view .slot-instruction {
    font-size: 11px;
  }
  .schedule-view .event-notes,
  .schedule-view .event-details {
    font-size: 13px;
  }
  .schedule-view .event-meta,
  .schedule-view .type-label {
    font-size: 11px;
  }
  .schedule-view .page-subtitle {
    font-size: 11px;
    max-width: 230px;
  }
  .schedule-view .help-copy {
    font-size: 13px;
  }
  .schedule-view .field label {
    font-size: 13px;
  }
  .schedule-view .pool-context,
  .schedule-view .pool-context span {
    font-size: 10px;
  }
  .schedule-view .schedule-heading>div>span,
  .schedule-view .pool-footer p,
  .schedule-view .pool-footer .text-button {
    font-size: 11px;
  }
}
.schedule-view .week-hours {
  position: sticky;
  min-height: 0;
  left: 0;
  z-index: 7;
  background: #fff;
}
.schedule-view .week-header {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 10;
  background: #fff;
}
@media(max-width:760px) {
  .schedule-view .task-card {
    touch-action: pan-x pan-y;
  }
}
body.schedule-pool-open {
  overflow: hidden;
}
.schedule-view .pool-launcher-dock {
  /* Align the fixed button to the time table without reserving a column. */
  display: flex;
  justify-content: flex-end;
  height: 0;
  padding-inline-end: 8px;
  pointer-events: none;
}
.schedule-view .pool-launcher {
  position: fixed;
  bottom: max(64px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid #41624d;
  border-radius: 999px;
  background: #264e3d;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 4px 18px #193c2726;
  pointer-events: auto;
  transition: background .16s,opacity .16s;
}
.schedule-view .pool-launcher:hover {
  background: #1d3e30;
}
.schedule-view .launcher-count {
  min-width: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ffffff24;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}
.schedule-view .pool-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s .22s;
}
.schedule-view .pool-layer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.schedule-view .pool-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #163b292c;
  opacity: 0;
  transition: opacity .22s;
}
.schedule-view .pool-layer.is-open .pool-backdrop {
  opacity: 1;
}
.schedule-view .candidate-panel.candidate-drawer {
  position: absolute;
  inset: 0 0 0 auto;
  order: initial;
  display: flex;
  flex-direction: column;
  width: min(360px,calc(100vw - 40px));
  height: 100%;
  margin: 0;
  padding: max(22px,env(safe-area-inset-top)) 20px max(18px,env(safe-area-inset-bottom));
  border: 1px solid #d8e1cd;
  border-right: 0;
  border-radius: 15px 0 0 15px;
  background: var(--surface);
  box-shadow: -10px 0 40px #1a3b241c;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .22s ease;
}
.schedule-view .pool-layer.is-open .candidate-drawer {
  transform: translateX(0);
}
.schedule-view .candidate-drawer .pool-heading {
  flex-shrink: 0;
  align-items: center;
  margin-bottom: 14px;
}
.schedule-view .candidate-drawer .pool-heading h2 {
  font-size: 17px;
}
.schedule-view .pool-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.schedule-view .candidate-drawer .pool-heading .icon-button {
  width: 38px;
  height: 38px;
}
.schedule-view .candidate-drawer .pool-tabs {
  flex-shrink: 0;
  margin-bottom: 12px;
}
.schedule-view .candidate-drawer .pool-tabs button {
  min-height: 40px;
  padding: 6px 0 10px;
  font-size: 13px;
}
.schedule-view .candidate-drawer .pool-context {
  flex-shrink: 0;
  margin-bottom: 12px;
  font-size: 11px;
}
.schedule-view .candidate-drawer .pool-context span {
  font-size: 10px;
}
.schedule-view .candidate-drawer .task-list {
  flex: 1;
  flex-direction: column;
  min-height: 0;
  gap: 11px;
  padding: 3px 2px 8px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: none;
  overscroll-behavior: contain;
}
.schedule-view .candidate-drawer .swipe-shell {
  flex: 0 0 auto;
  width: 100%;
  scroll-snap-align: none;
}
.schedule-view .candidate-drawer .task-card {
  height: auto;
  min-height: 112px;
  padding: 15px 15px 14px 18px;
  touch-action: pan-y;
}
.schedule-view .candidate-drawer .task-title {
  font-size: 15px;
}
.schedule-view .candidate-drawer .task-note {
  font-size: 12px;
  line-height: 1.7;
}
.schedule-view .candidate-drawer .task-meta {
  margin-top: 9px;
  font-size: 12px;
}
.schedule-view .candidate-drawer .task-menu {
  top: 5px;
  right: 5px;
}
.schedule-view .candidate-drawer .swipe-underlay {
  visibility: hidden;
  font-size: 12px;
}
.schedule-view .candidate-drawer .is-swiping .swipe-underlay {
  visibility: visible;
}
.schedule-view .candidate-drawer .add-task-button {
  flex-shrink: 0;
  min-height: 42px;
  font-size: 12px;
  margin-top: 12px;
}
.schedule-view .candidate-drawer .pool-footer {
  display: block;
  flex-shrink: 0;
  margin-top: 13px;
  padding-top: 12px;
}
.schedule-view .candidate-drawer .pool-footer p,
.schedule-view .candidate-drawer .pool-footer p:nth-child(2) {
  display: block;
  margin: 3px 0;
  font-size: 11px;
  line-height: 1.7;
}
.schedule-view .candidate-drawer .pool-footer .text-button {
  min-height: 36px;
  font-size: 12px;
  margin-top: 3px;
}
.schedule-view .schedule-selection {
  margin: 12px 18px 0;
  font-size: 12px;
}
.schedule-view .schedule-draft-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.schedule-view .schedule-draft-row span {
  flex: 1 1 10em;
  overflow-wrap: anywhere;
}
.schedule-view.drag-active .pool-layer {
  visibility: hidden;
  pointer-events: none;
  transition: none;
}
.schedule-view.drag-active .pool-backdrop {
  opacity: 0;
  transition: none;
}
.schedule-view.drag-active .pool-launcher {
  opacity: 0;
  pointer-events: none;
}
@media(max-width:760px) {
  .schedule-view .candidate-panel.candidate-drawer {
    padding: 18px 17px max(14px,env(safe-area-inset-bottom));
  }
  .schedule-view .candidate-drawer .task-card {
    min-height: 112px;
  }
  .schedule-view .candidate-drawer .pool-heading .eyebrow {
    display: none;
  }
  .schedule-view .schedule-selection {
    margin: 10px 14px 0;
    line-height: 1.7;
  }
}
@media(prefers-reduced-motion:reduce) {
  .schedule-view .pool-layer,
  .schedule-view .pool-backdrop,
  .schedule-view .candidate-drawer {
    transition-duration: .01ms;
  }
}
.schedule-view .workspace-header .schedule-title { display:contents; }
.schedule-view .workspace-header .page-title { flex:1; }
.schedule-view .workspace-header { align-items:center; }
.schedule-view .workspace-header .view-switch { order:1; align-self:center; margin:0; }
.schedule-view .workspace-header .page-create-button { order:2; color:#fff; }
