.show-scheduling-page {
  max-width: 100%;
  overflow-x: hidden;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.show-list-head,
.show-event-card-head,
.show-stage-head,
.show-plan-summary > div:first-child {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.show-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 12px;
}
.show-list-head h2,
.show-plan-summary h2,
.show-dialog h2 { margin: 0; font-size: 20px; }
.show-list-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.show-list-count { margin: 4px 0 0 auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.show-date-nav {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}
.show-date-nav > div { min-width: 0; display: grid; gap: 2px; text-align: center; }
.show-date-nav strong { font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 18px; overflow-wrap: anywhere; }
.show-date-nav span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.show-date-nav > button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-control);
  background: var(--surface);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}
.show-list-head > #showToday { min-height: 44px; }
.show-list-tools { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.show-list-tools .btn { min-height: 44px; }
.show-create-unavailable { flex: 1 0 100%; max-width: 100%; margin: 0; color: var(--red); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.show-event-list { display: grid; gap: 10px; }

.show-event-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-card);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}
.show-event-card:active { background: var(--ui-surface-muted); }
.show-cancelled-card { cursor: default; }
.show-cancelled-card:active { background: var(--surface); }
.show-event-card-head > div:first-child { min-width: 0; display: grid; gap: 3px; }
.show-event-card-head strong { font-size: 17px; overflow-wrap: anywhere; }
.show-event-card-head span:not(.badge) { color: var(--muted); font-size: 12px; }
.show-statuses { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.show-event-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.show-plan-states { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.show-event-card dl,
.show-plan-summary dl,
.show-dialog dl { display: grid; gap: 7px; margin: 12px 0 0; }
.show-event-card dl > div,
.show-plan-summary dl > div,
.show-dialog dl > div { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 8px; }
.show-event-card dt,
.show-plan-summary dt,
.show-dialog dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.show-event-card dd,
.show-plan-summary dd,
.show-dialog dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }

.show-state {
  max-width: 100%;
  padding: 24px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.show-state.compact { margin-bottom: 14px; padding: 14px; text-align: left; }
.show-state strong { display: block; }
.show-state p { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }
.show-state .btn { margin-top: 14px; }
.show-state.is-error { color: var(--red); }
.show-skeleton { height: 14px; margin: 0 auto 9px; border-radius: 4px; background: var(--ui-line-soft); }
.show-skeleton.short { width: 58%; }

.show-plan-summary { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.show-plan-summary > div:first-child > h2 { min-width: 0; overflow-wrap: anywhere; }
.show-plan-scope { margin: 12px 0 0; color: var(--ui-action); font-size: 14px; font-weight: 700; }
.show-source-note {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 12px;
  border-left: 4px solid var(--ui-warning);
  background: var(--ui-surface-muted);
}
.show-source-note > div,
.show-source-note > details > div { min-width: 0; display: flex; justify-content: space-between; gap: 12px; }
.show-source-note > details > summary { min-height: var(--ui-touch-min); padding: 10px 0; cursor: pointer; }
.show-source-note > details > div + div { margin-top: 8px; }
.show-source-note > details > p { margin-top: 10px; color: var(--ui-text-secondary); }
.show-source-note span { color: var(--muted); font-size: 12px; font-weight: 700; }
.show-source-note strong { text-align: right; overflow-wrap: anywhere; }
.show-source-note p { margin: 0; color: var(--ui-warning); font-size: 13px; line-height: 1.5; }
.show-headcount-panel { min-width: 0; margin: 14px 0; }
.show-headcount-panel > p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.show-headcount-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.show-headcount-summary > div { min-width: 0; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--ui-radius-control); background: var(--ui-surface-muted); }
.show-headcount-summary span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.show-headcount-summary strong { font-size: 20px; overflow-wrap: anywhere; }
.show-headcount-unavailable { margin: 8px 0; padding: 10px 12px; border-left: 4px solid var(--ui-warning); background: var(--ui-surface-muted); color: var(--ui-warning); overflow-wrap: anywhere; }

#showPlanForm { min-width: 0; }
.show-stage { min-width: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.show-stage:first-child { border-top: 0; }
.show-stage > summary { cursor: pointer; list-style: none; }
.show-stage > summary::-webkit-details-marker { display: none; }
.show-stage-head { align-items: baseline; margin-bottom: 9px; }
.show-stage-head h3 { min-width: 0; margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.show-stage-head > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.show-slot-list { display: grid; gap: 8px; }
.show-role-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.show-role-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.show-role-card-head strong { min-width: 0; overflow-wrap: anywhere; }
.show-role-card-head span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.show-position-list { display: grid; gap: 8px; }
.show-position-row {
  display: grid;
  grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 10px;
  font-size: 16px;
}
.show-position-row.show-slot { padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.show-position-label { min-width: 0; display: grid; gap: 4px; align-self: start; }
.show-position-label strong { overflow-wrap: anywhere; }
.show-position-label span { color: var(--muted); font-size: 12px; }
.show-position-fields {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.show-position-row > .show-position-fields:only-child { grid-column: 1 / -1; }
.show-position-fields > span { grid-column: 1; }
.show-position-fields > .show-candidate-open { grid-column: 2; grid-row: 2; justify-self: end; min-height: 44px; font-size: 16px; white-space: nowrap; }
.show-position-fields > strong { min-width: 0; grid-column: 2; grid-row: 1; text-align: right; overflow-wrap: anywhere; }
.show-position-fields.is-unassigned > strong { color: var(--ui-warning); }
.show-position-fields > .show-slot-note { grid-column: 1 / -1; }
.show-position-row select,
.show-position-row textarea { box-sizing: border-box; min-width: 0; width: 100%; }
.show-slot {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-control);
  background: var(--surface);
}
.show-slot-label { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.show-slot-label strong { min-width: 0; overflow-wrap: anywhere; }
.show-slot-label > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.show-slot label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.show-slot select,
.show-slot textarea,
.show-actions .btn,
.show-dialog .btn { min-height: 44px; }
.show-slot select:disabled { background: var(--ui-surface-muted); color: var(--muted); }
.show-slot-note { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.show-block-reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  margin: 8px 0 0;
  color: var(--red);
  font-size: 12px;
  line-height: 1.45;
}
.show-block-reason[hidden] { display: none; }
.show-warning-reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  margin: 8px 0 0;
  color: var(--ui-warning);
  font-size: 12px;
  line-height: 1.45;
}
.show-warning-reason[hidden] { display: none; }
.show-exception { margin-top: 9px; }
.show-exception.is-hidden { display: none; }
.show-exception textarea { min-height: 76px; }

.show-readonly-slot {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, .8fr);
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}
.show-readonly-slot:last-child { border-bottom: 0; }
.show-readonly-slot span { min-width: 0; overflow-wrap: anywhere; }
.show-readonly-slot strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }

.show-ack-list { margin-top: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.show-ack-list > div:not(.show-stage-head) { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(112px, auto); gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.show-ack-list strong { color: var(--ui-success); text-align: right; overflow-wrap: anywhere; }
.show-ack-list strong.is-pending { color: var(--ui-warning); }
.show-ack-list > p { color: var(--muted); }

.show-actions { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom)); display: flex; gap: 8px; margin-top: 12px; padding: 9px; border: 1px solid var(--line); border-radius: var(--ui-radius-card); background: var(--ui-surface-veil); }
.show-actions:empty { display: none; }
.show-actions > .btn { flex: 1 1 calc(50% - 4px); min-width: max-content; min-height: 44px; font-size: 16px; white-space: nowrap; }
.show-actions > :not(.btn) { flex: 1 1 100%; min-width: 0; }
.show-actions > label textarea { box-sizing: border-box; width: 100%; min-height: 44px; font-size: 16px; }
.show-actions > .btn.danger { color: var(--ui-danger); border-color: var(--ui-danger); background: var(--surface); }
.show-manager-theaters { display: flex; gap: 8px; margin: 18px 0; }
.show-manager-theaters .btn { flex: 1 1 0; min-width: 0; min-height: 44px; font-size: 16px; }
.show-manager-theaters .btn[aria-pressed="true"] { color: var(--ui-action-contrast); border-color: var(--ui-action); background: var(--ui-action); }
[data-show-manager-panel][hidden] { display: none !important; }
.show-save-progress { flex: 1 1 100%; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.show-save-progress strong { color: var(--ink); }

.show-dialog {
  box-sizing: border-box;
  width: min(calc(100% - 28px), 440px);
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-card);
  background: var(--surface);
  color: var(--ink);
}
.show-dialog::backdrop { background: var(--ui-overlay); }
.show-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.show-dialog-head .icon-btn { flex: 0 0 44px; min-width: 44px; min-height: 44px; }
#showActionDialog > label { display: grid; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 13px; }
#showActionDialog select,
#showActionDialog textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
#showActionDialog textarea { min-height: 88px; resize: vertical; }
.show-create-form { display: grid; gap: 12px; }
.show-create-form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.show-create-form input,
.show-create-form select,
.show-create-form button { box-sizing: border-box; min-width: 0; min-height: 44px; max-width: 100%; }
.show-create-form input,
.show-create-form select { width: 100%; }
.show-create-preview { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--ui-radius-control); background: var(--ui-surface-muted); font-size: 13px; line-height: 1.45; }
.show-zhucun-stage-picker { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--ui-radius-control); }
.show-zhucun-stage-picker > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.show-zhucun-stage-choice,
.show-zhucun-confirm { min-width: 0; display: flex !important; align-items: center; gap: 7px; color: var(--ink) !important; overflow-wrap: anywhere; }
.show-zhucun-stage-choice { min-height: 44px; }
.show-zhucun-stage-choice span { min-width: 0; white-space: normal; overflow-wrap: normal; }
.show-zhucun-stage-choice input[type="checkbox"] { width: auto !important; flex: 0 0 20px; min-width: 20px !important; max-width: 20px; }
.show-zhucun-stage-choice input,
.show-zhucun-confirm input { flex: 0 0 auto; min-width: 18px !important; min-height: 18px !important; }
.show-zhayan-notice,
.show-zhuyan-notice { margin: 10px 0; color: var(--ui-warning); font-size: 13px; line-height: 1.5; }
.show-dialog dl > div { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 0; border-bottom: 1px solid var(--line); }
#showActionDialog dl > div { grid-template-columns: 42px minmax(0, 1fr); align-items: start; }
#showActionDialog dd { min-width: 0; text-align: left; overflow-wrap: anywhere; }
.show-dialog p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.show-cancel-impact { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.show-dialog-actions { display: flex; gap: 8px; margin-top: 14px; }
.show-dialog-actions .btn { flex: 1 1 0; }
#showCreateEventDialog {
  width: min(calc(100% - 24px), 560px);
  max-height: calc(var(--show-create-viewport-height, 100dvh) - 24px);
  padding: 0;
  overflow: hidden;
}
#showCreateEventForm {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  max-height: calc(var(--show-create-viewport-height, 100dvh) - 24px);
}
#showCreateEventDialog .show-dialog-head { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.show-dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; }
#showCreateFields { display: grid; gap: 12px; }
#showCreateEventDialog .show-dialog-actions {
  margin: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.show-create-stage-summary { margin: 10px 0 0; }
.show-create-ready,
.show-create-blocked { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--ui-radius-control); background: var(--ui-surface-muted); }
.show-create-ready { color: var(--ui-success) !important; }
.show-create-warning { color: var(--ui-warning) !important; }
.show-create-blocked { border-left: 4px solid var(--red); color: var(--ink); }
.show-create-blocked ul { margin: 8px 0; padding-left: 20px; }
.show-create-blocked p { margin: 0; }
.show-publish-dialog { max-width: 100%; padding-bottom: calc(18px + env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
.show-publish-dialog .btn { min-height: 44px; }
.show-shortage-empty { margin: 12px 0; padding: 10px 12px; background: var(--ui-surface-muted); }
.show-shortage-list { min-width: 0; display: grid; gap: 8px; margin: 14px 0; overflow-wrap: anywhere; }
.show-shortage-list h3 { margin: 0 0 2px; font-size: 16px; }
.show-shortage-row { min-width: 0; display: grid; grid-template-columns: minmax(96px, .8fr) minmax(0, 1.7fr); gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--ui-radius-control); background: var(--ui-surface-muted); }
.show-shortage-row > strong { min-width: 0; overflow-wrap: anywhere; }
.show-shortage-row dl { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.show-shortage-row dl > div { min-width: 0; display: grid; gap: 3px; padding: 0; border: 0; }
.show-shortage-row dt { color: var(--muted); font-size: 12px; }
.show-shortage-row dd { min-width: 0; margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.show-publish-final { min-width: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.show-publish-final[hidden] { display: none; }
.show-cancel-dialog { max-width: 100%; overflow-wrap: anywhere; }
.show-cancel-dialog .btn { min-height: 44px; }
.show-cancel-reason { min-width: 0; display: grid; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.show-cancel-reason textarea { box-sizing: border-box; min-width: 0; width: 100%; max-width: 100%; min-height: 88px; resize: vertical; }
.show-cancel-counts { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.show-cancel-counts > div { min-width: 0; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--ui-radius-control); background: var(--ui-surface-muted); }
.show-cancel-counts span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.show-cancel-counts strong { overflow-wrap: anywhere; }
.show-cancel-warning,
.show-cancel-blocked,
.show-cancelled-final { padding: 10px 12px; border-left: 4px solid var(--ui-warning); background: var(--ui-surface-muted); overflow-wrap: anywhere; }
.show-cancel-blocked,
.show-cancelled-final { border-left-color: var(--red); color: var(--red) !important; }
.show-cancel-final { min-width: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.show-cancel-final[hidden] { display: none; }
.show-cancelled-detail { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.show-cancel-management,
.show-cancelled-plan { min-width: 0; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.show-cancel-management h3,
.show-cancelled-plan h3 { margin: 0 0 10px; }
.show-cancel-management dl { display: grid; gap: 7px; }
.show-cancel-management dl > div { min-width: 0; display: grid; grid-template-columns: minmax(88px, auto) minmax(0, 1fr); gap: 8px; }
.show-cancel-management dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.show-cancel-management dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.show-archive-filter { min-width: 0; display: grid; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.show-archive-filter input { min-height: 44px; min-width: 0; border: 1px solid var(--line); border-radius: var(--ui-radius-control); background: var(--surface); color: var(--ink); }

.show-zhucun-manager,
.show-zhucun-actor { min-width: 0; display: grid; gap: 14px; margin-top: 14px; }
.show-zhucun-heading { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.show-zhucun-heading h3,
.show-zhucun-story h3,
.show-zhucun-story h4 { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.show-zhucun-heading .btn { min-height: 44px; }
.show-zhucun-story { min-width: 0; display: grid; gap: 8px; }
.show-zhucun-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.show-zhucun-card { box-sizing: border-box; min-width: 0; max-width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--ui-radius-card); background: var(--surface); overflow-wrap: anywhere; }
.show-zhucun-card > summary { min-height: 44px; cursor: pointer; font-weight: 800; list-style: none; }
.show-zhucun-card > summary::-webkit-details-marker { display: none; }
.show-zhucun-card > p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.show-zhucun-roles { min-width: 0; display: grid; gap: 8px; margin-top: 8px; }
.show-zhucun-role { min-width: 0; display: grid; grid-template-columns: minmax(72px, .55fr) minmax(0, 1fr); gap: 7px; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.show-zhucun-role > span { min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.show-zhucun-role > strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.show-zhucun-role select,
.show-zhucun-role textarea,
.show-zhucun-stage-status select,
.show-zhucun-stage-reason textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
.show-zhucun-role textarea { grid-column: 2; min-height: 54px; }
.show-zhucun-role textarea.is-hidden { display: none; }
.show-zhucun-role.is-self { border: 2px solid var(--ui-action); border-radius: var(--ui-radius-control); padding: 8px; background: var(--ui-badge-info-bg); }
.show-zhucun-role em { display: inline-flex; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--ui-action); color: var(--ui-action-contrast); font-size: 12px; font-style: normal; }
.show-zhucun-self { min-width: 0; display: grid; gap: 4px; padding: 10px; border: 2px solid var(--ui-action); border-radius: var(--ui-radius-control); background: var(--ui-badge-info-bg); color: var(--ui-action); overflow-wrap: anywhere; }
.show-zhucun-stage-status,
.show-zhucun-stage-reason { min-width: 0; display: grid; gap: 5px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.show-zhucun-actual-role { grid-template-columns: minmax(68px, .55fr) minmax(0, 1fr); }
.show-zhucun-actual-role textarea { grid-column: 2; }
.show-zhucun-card.is-not-performed .show-zhucun-roles { opacity: .58; }
.show-zhucun-actions .btn { min-height: 44px; }
.show-zhucun-manager .show-zhucun-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.show-zhucun-manager .show-zhucun-heading .btn { flex: 0 0 auto; padding-inline: 10px; white-space: nowrap; }
.show-zhucun-manager .show-zhucun-card { padding: 0; overflow: hidden; }
.show-zhucun-manager .show-zhucun-card[open] { border-color: var(--ui-action); }
.show-zhucun-manager .show-zhucun-card > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 10px; align-items: center; min-height: 90px; padding: 15px; }
.show-zhucun-stage-title { min-width: 0; }
.show-zhucun-stage-title strong { display: block; color: var(--ui-text); font-size: 20px; font-weight: 750; white-space: nowrap; }
.show-zhucun-stage-title small { display: block; margin-top: 4px; color: var(--ui-text-secondary); font-size: 13px; font-weight: 400; }
.show-zhucun-stage-progress { text-align: right; }
.show-zhucun-stage-progress small { display: block; margin-top: 5px; color: var(--ui-text-secondary); font-size: 12px; font-weight: 400; white-space: nowrap; }
.show-zhucun-progress-status { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.show-zhucun-progress-status.is-pending { color: var(--ui-warning); background: var(--ui-badge-warning-bg); }
.show-zhucun-progress-status.is-complete { color: var(--ui-success); background: var(--ui-badge-success-bg); }
.show-zhucun-chevron { display: inline-block; color: var(--ui-text-secondary); font-size: 22px; font-weight: 400; line-height: 1; transform: rotate(90deg); }
.show-zhucun-manager details[open] > summary .show-zhucun-chevron { transform: rotate(-90deg); }
.show-zhucun-manager .show-zhucun-roles { gap: 0; margin: 0; padding: 0 15px 10px; }
.show-zhucun-manager .show-zhucun-role { grid-template-columns: minmax(48px, auto) auto minmax(0, 1fr); gap: 10px; min-height: 68px; padding: 10px 0; }
.show-zhucun-manager .show-zhucun-role > span { font-size: 16px; }
.show-zhucun-manager .show-zhucun-role > strong { text-align: right; font-size: 16px; font-weight: 600; }
.show-zhucun-manager .show-zhucun-role.is-unassigned > strong { color: var(--ui-warning); font-weight: 500; }
.show-zhucun-manager .show-zhucun-role .btn { grid-column: 2 / -1; grid-row: 2; justify-self: end; min-height: 44px; min-width: 68px; padding: 7px 8px; font-size: 16px; white-space: nowrap; }
.show-zhucun-manager .show-zhucun-role.is-unassigned .btn { border-color: var(--ui-action); color: var(--ui-action); background: var(--ui-badge-success-bg); }
.show-zhucun-plan-progress { padding: 15px; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-card); background: var(--ui-surface); }
.show-zhucun-plan-progress > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.show-zhucun-plan-progress > div > strong { color: var(--ui-text); font-size: 24px; }
.show-zhucun-plan-progress small { color: var(--ui-text-secondary); font-size: 13px; font-weight: 400; }
.show-zhucun-plan-progress progress { display: block; width: 100%; height: 6px; margin: 12px 0 9px; overflow: hidden; border: 0; border-radius: 999px; background: var(--ui-surface-muted); color: var(--ui-action); accent-color: var(--ui-action); }
.show-zhucun-plan-progress progress::-webkit-progress-bar { background: var(--ui-surface-muted); }
.show-zhucun-plan-progress progress::-webkit-progress-value { background: var(--ui-action); border-radius: 999px; }
.show-zhucun-plan-progress progress::-moz-progress-bar { background: var(--ui-action); border-radius: 999px; }
.show-zhucun-plan-progress p { margin: 0; color: var(--ui-text-secondary); font-size: 13px; }
.show-zhucun-open-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.show-zhucun-open-heading h4 { margin: 0; font-size: 17px; }
.show-zhucun-open-heading > span { color: var(--ui-text-secondary); font-size: 12px; }
.show-zhucun-closed { border-top: 1px solid var(--ui-line); margin-top: 6px; padding-top: 8px; }
.show-zhucun-closed > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; color: var(--ui-text-secondary); font-size: 14px; }
.show-zhucun-closed > summary::-webkit-details-marker { display: none; }
.show-zhucun-closed-list { display: grid; gap: 8px; padding-bottom: 10px; }
.show-zhucun-closed-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 11px 13px; border-radius: var(--ui-radius-control); background: var(--ui-surface-muted); font-size: 14px; }
.show-zhucun-closed-list > div > span:last-child { color: var(--ui-text-secondary); }
.show-zhucun-manager summary:focus-visible { outline: 3px solid var(--ui-action); outline-offset: -3px; border-radius: var(--ui-radius-control); }

.show-zhucun-graphic-sheet { min-width: 0; display: grid; gap: 12px; }
.show-zhucun-graphic-table {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.show-zhucun-graphic-table caption {
  padding: 10px;
  border: 1px solid var(--line);
  border-bottom: 0;
  font-weight: 800;
  text-align: center;
}
.show-zhucun-graphic-table th,
.show-zhucun-graphic-table td {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.show-zhucun-graphic-table thead th { font-weight: 800; }
.show-zhucun-graphic-table tbody th {
  width: 104px;
  background: var(--ui-surface-muted);
}
.show-zhucun-graphic-table tbody th span,
.show-zhucun-graphic-table tbody th small {
  display: block;
  overflow-wrap: anywhere;
}
.show-zhucun-graphic-table tbody th small { margin-top: 3px; color: var(--muted); font-weight: 500; }
.show-zhucun-graphic-cell { height: 72px; }
.show-zhucun-graphic-cell.show-graphic-cell {
  display: table-cell;
  border-right: 1px solid var(--line);
}
.show-zhucun-graphic-cell .show-graphic-people {
  min-height: 30px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 6px 0 0;
}
.show-zhucun-cell-role { display: block; overflow-wrap: anywhere; }
.show-zhucun-graphic-empty { color: var(--muted); }
.show-graphic-thumbnail .show-zhucun-graphic-sheet {
  width: 100%;
  font-size: clamp(6px, 1.35vw, 11px);
}
.show-graphic-thumbnail .show-zhucun-graphic-table th,
.show-graphic-thumbnail .show-zhucun-graphic-table td { padding: 5px 3px; }
.show-graphic-complete[data-graphic-complete="full"] .show-zhucun-graphic-sheet,
.show-graphic-complete[data-graphic-complete="full"] .show-zhucun-graphic-table {
  width: 960px;
}
.show-candidate-open { min-height: 44px; }
.show-candidate-group-open { width: 100%; min-height: 44px; margin-top: 18px; font-size: 16px; }
.show-candidate-picker {
  width: min(560px, calc(100vw - 20px));
  max-height: min(760px, calc(100dvh - 20px));
  padding: 0;
  overflow: hidden;
}
.show-candidate-picker > form {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(760px, calc(100dvh - 20px));
}
.show-candidate-picker .show-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.show-candidate-picker .show-dialog-head h2,
.show-candidate-picker .show-dialog-head p { margin: 0; }
.show-candidate-search { min-width: 0; display: grid; gap: 5px; }
.show-candidate-search input { width: 100%; min-width: 0; }
.show-candidate-picker .show-dialog-head > .show-candidate-search,
.show-candidate-picker .show-candidate-selected { grid-column: 1 / -1; }
.show-candidate-picker .show-dialog-body { display: grid; gap: 10px; }
.show-candidate-picker .show-dialog-actions {
  margin: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.show-candidate-picker input,
.show-candidate-picker textarea { box-sizing: border-box; min-height: 44px; }
.show-candidate-group-exceptions { display: grid; gap: 10px; }
.show-candidate-list { display: grid; gap: 7px; min-width: 0; }
.show-candidate-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.show-candidate-row { display: grid; gap: 3px; width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--ui-radius-control); background: var(--surface); color: var(--text); text-align: left; }
.show-candidate-row[aria-pressed="true"] { border-color: var(--ui-action); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ui-action) 20%, transparent); }
.show-candidate-row:disabled { opacity: .58; }
.show-candidate-row strong,
.show-candidate-row span { min-width: 0; overflow-wrap: anywhere; }
.show-candidate-row span,
.show-candidate-selected { color: var(--muted); font-size: 13px; }

.show-graphic-roster {
  min-width: 0;
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.show-graphic-roster-title {
  min-width: 0;
  margin: 0;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.show-my-positions {
  box-sizing: border-box;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-card);
  background: var(--surface);
}
.show-my-positions h3 { margin: 0 0 8px; font-size: 17px; }
.show-my-positions p { margin: 0; color: var(--muted); line-height: 1.5; }
.show-my-positions > div { display: grid; gap: 8px; }
.show-my-position-static {
  box-sizing: border-box;
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-control);
  background: var(--ui-surface-muted);
  overflow-wrap: anywhere;
}
.show-my-position-static strong,
.show-my-position-static span { min-width: 0; overflow-wrap: anywhere; }
.show-my-position-static span { color: var(--muted); }
.show-ack-footer {
  flex: 1 1 100%;
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.show-actions { flex-wrap: wrap; }
.show-actions .form-error { flex: 1 1 100%; }
.show-actions .form-error:empty { display: none; }
.show-graphic-warning {
  margin: 0;
  padding: 10px 12px;
  border-left: 4px solid var(--ui-warning);
  background: var(--ui-surface-muted);
  color: var(--ui-warning);
  line-height: 1.5;
}
.show-graphic-thumbnail {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-card);
  background: var(--ui-surface-muted);
  cursor: zoom-in;
}
.show-graphic-thumbnail .show-graphic-canvas {
  width: 100%;
  min-width: 0;
  font-size: clamp(6px, 1.45vw, 11px);
}
.show-graphic-complete {
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  min-width: 0;
}
.show-graphic-complete[data-graphic-complete="thumbnail"] {
  width: 100%;
}
.show-graphic-complete[data-graphic-complete="thumbnail"] > .show-graphic-canvas {
  width: 100%;
}
.show-graphic-complete[data-graphic-complete="full"] {
  width: max-content;
}
.show-graphic-complete[data-graphic-complete="full"] > .show-graphic-outer {
  width: 960px;
}
.show-graphic-complete[data-graphic-complete="full"] > .show-graphic-inner {
  width: 1120px;
}
.show-graphic-canvas {
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.show-graphic-canvas > h3 {
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 1.35em;
}
.show-graphic-outer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.show-graphic-main-entrance {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 1px solid var(--line);
}
.show-graphic-group-title {
  display: block;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow-wrap: anywhere;
}
.show-graphic-main-pair,
.show-graphic-jili-pair {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.show-graphic-main-pair > :first-child,
.show-graphic-jili-pair > :first-child {
  border-right: 1px solid var(--line);
}
.show-graphic-jili-position .show-graphic-cell-head strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.show-graphic-cell {
  box-sizing: border-box;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(42px, 1fr);
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.show-graphic-cell:last-child { border-right: 0; }
.show-graphic-cell-head {
  min-width: 0;
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 42px;
  padding: 7px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.show-graphic-cell-head strong,
.show-graphic-cell-head span { overflow-wrap: anywhere; }
.show-graphic-cell-head > span { color: var(--muted); }
.show-graphic-change-label {
  color: var(--ui-warning) !important;
  font-weight: 800;
}
.show-graphic-people {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 8px;
}
.show-graphic-person {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-wrap: anywhere;
  text-align: center;
}
.show-graphic-self-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--ui-action);
  color: var(--ui-action-contrast);
  font-size: .82em;
  font-weight: 800;
}
.show-graphic-cell.is-self {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--ui-action);
  outline-offset: -3px;
  background: var(--ui-badge-info-bg);
}
.show-graphic-cell.is-changed {
  box-shadow: inset 0 0 0 3px var(--ui-warning);
  background: var(--ui-badge-warning-bg);
}
.show-graphic-cell.is-self.is-changed {
  outline-color: var(--ui-action);
  box-shadow: inset 0 0 0 3px var(--ui-warning);
  background: var(--ui-badge-info-bg);
}
.show-graphic-tall { min-height: 210px; }
.show-graphic-inner-grid {
  display: grid;
  grid-template-columns: 1.5fr 2.7fr 1fr 1.15fr;
  align-items: stretch;
}
.show-graphic-jili {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 1px solid var(--line);
}
.show-graphic-modern {
  min-width: 0;
  border-right: 1px solid var(--line);
}
.show-graphic-modern-head,
.show-graphic-modern-rows {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.show-graphic-modern-head > span,
.show-graphic-modern-role {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 38px;
  padding: 6px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow-wrap: anywhere;
}
.show-graphic-modern-head > span:last-child { border-right: 0; }
.show-graphic-modern-position {
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}
.show-graphic-modern-position .show-graphic-cell-head {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.show-graphic-side-column { min-height: 100%; }
.show-graphic-footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border-top: 1px solid var(--line);
}
.show-graphic-footer > * {
  min-width: 0;
  min-height: 52px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.show-graphic-fixed-note {
  display: grid;
  place-items: center;
  padding: 9px;
  text-align: center;
  overflow-wrap: anywhere;
}
.show-graphic-text {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius-card);
  background: var(--surface);
}
.show-graphic-text summary {
  min-height: 44px;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
}
.show-graphic-text section { padding: 0 12px 12px; }
.show-graphic-text h4 { margin: 10px 0 6px; }
.show-graphic-text ul { display: grid; gap: 7px; margin: 0; padding: 0; }
.show-graphic-text li {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 10px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.show-graphic-text li > * { min-width: 0; overflow-wrap: anywhere; }
.show-graphic-text em { color: var(--ui-warning); font-style: normal; }
.show-graphic-thumbnail:focus-visible,
.show-graphic-dialog button:focus-visible {
  outline: 3px solid var(--ui-action);
  outline-offset: 2px;
}

.show-graphic-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
}
.show-graphic-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
.show-graphic-dialog::backdrop { background: var(--ui-overlay-strong); }
.show-graphic-dialog-head {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.show-graphic-dialog-head h2 { min-width: 0; margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.show-graphic-dialog-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.show-graphic-dialog-tools button { min-width: 44px; min-height: 44px; }
.show-graphic-dialog-viewport {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  overflow: auto;
  padding: 12px;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
  cursor: grab;
  background: var(--ui-surface-muted);
}
.show-graphic-dialog-viewport.is-dragging { cursor: grabbing; }
[data-graphic-full-panel] {
  box-sizing: border-box;
  display: block;
  width: max-content;
  min-width: 0;
  overflow: hidden;
  transform: none;
}
[data-graphic-full-panel] .show-graphic-complete {
  width: max-content;
  transform-origin: top left;
}

@media (max-width: 420px) {
  .show-list-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    align-items: start;
  }
  .show-list-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: initial;
  }
  .show-date-nav { width: 100%; grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .show-event-facts { grid-template-columns: minmax(0, 1fr); }
  .show-create-unavailable { grid-column: 1 / -1; }
  .show-zhucun-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 640px) {
  #showCreateEventDialog .show-zhucun-stage-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .show-scheduling-page { box-sizing: border-box; width: 100%; max-width: 100%; overflow-x: hidden; padding: 12px; }
  .show-graphic-roster,
  .show-graphic-thumbnail,
  .show-graphic-text { width: 100%; max-width: 100%; }
  .show-graphic-dialog-head { display: grid; align-items: start; }
  .show-graphic-dialog-tools { display: grid; grid-template-columns: repeat(4, minmax(44px, 1fr)); }
  .show-graphic-dialog-tools button { padding: 7px 5px; }
  .show-graphic-text li { grid-template-columns: minmax(0, 1fr); }
  .show-source-note > div,
  .show-source-note > details > div { display: grid; gap: 4px; }
  .show-source-note strong { text-align: left; }
  .show-event-card-head { display: grid; }
  .show-list-head { align-items: center; }
  .show-list-tools { flex-wrap: wrap; }
  .show-statuses { justify-content: flex-start; }
  .show-readonly-slot { grid-template-columns: minmax(0, 1fr) minmax(84px, .72fr); }
  .show-actions { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .show-cancel-dialog .show-dialog-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .show-headcount-summary { grid-template-columns: minmax(0, 1fr); }
  .show-shortage-row { grid-template-columns: minmax(0, 1fr); }
  .show-shortage-row dl { grid-template-columns: minmax(0, 1fr); }
  .show-publish-dialog .show-dialog-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .show-cancel-counts { grid-template-columns: minmax(0, 1fr); }
  .show-cancel-management dl > div { grid-template-columns: minmax(0, 1fr); }
  .show-zhucun-grid,
  .show-zhucun-card,
  .show-zhucun-role,
  .show-my-positions,
  .show-my-position-static { width: 100%; max-width: 100%; min-width: 0; }
  .show-zhucun-heading { align-items: flex-start; }
}

/* Receiving views: current assignments first; management action bars stay unchanged. */
.show-scheduling-page.show-receiver-page {
  overflow-x: clip;
  padding: 18px 16px calc(100px + env(safe-area-inset-bottom));
}
.show-receiver { max-width: 760px; margin: 0 auto; min-width: 0; }
.show-receiver [hidden] { display: none !important; }
.show-receiver-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.show-receiver-heading h1 { font: 700 26px/1.3 var(--ui-font-display); margin: 4px 0 14px; overflow-wrap: anywhere; }
.show-receiver-time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-bottom: 18px; }
.show-receiver-time strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.show-receiver-time > span { font-size: 18px; color: var(--muted); }
.show-receiver-time small { margin-left: auto; font-size: 13px; color: var(--muted); }
.show-receiver-notice { border-left: 3px solid var(--ui-warning); background: var(--ui-badge-warning-bg); border-radius: 0 12px 12px 0; padding: 10px 12px; margin: 0 0 18px; }
.show-receiver-notice strong { display: block; font-size: 16px; line-height: 1.5; }
.show-receiver-notice p { font-size: 14px; line-height: 1.5; margin: 2px 0 0; }
.show-receiver-notice.tone-danger { border-color: var(--ui-danger); background: var(--ui-badge-danger-bg); }
.show-receiver-notice.tone-danger strong { color: var(--ui-danger); }
.show-receiver-notice.tone-warning strong { color: var(--ui-warning); }
.show-receiver-notice.tone-neutral { border-color: var(--line); background: var(--ui-surface-muted); }
.show-receiver-notice.tone-neutral strong { font-size: 14px; font-weight: 500; }
.show-receiver-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 16px; gap: 6px; }
.show-receiver-tabs button { position: relative; background: transparent; border: 0; min-height: 48px; font: inherit; color: var(--muted); }
.show-receiver-tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.show-receiver-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; height: 3px; background: var(--ui-action); left: 24%; right: 24%; bottom: -1px; border-radius: 4px; }
.show-receiver .show-my-positions { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.show-receiver .show-receiver-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.show-receiver-section-heading h3 { margin: 0; font-size: 18px; }
.show-receiver-section-heading small { margin-left: auto; color: var(--ui-text-secondary); font-size: 12px; }
.show-receiver-group { min-width: 0; margin-top: 20px; }
.show-receiver-group-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.show-receiver-group-heading h2 { margin: 0; font-size: 18px; }
.show-receiver-group-heading small { color: var(--ui-text-secondary); font-size: 12px; }
.show-receiver-positions { min-width: 0; border: 1px solid var(--ui-line); border-radius: 14px; overflow: hidden; background: var(--ui-surface); }
.show-receiver-position { box-sizing: border-box; display: grid; grid-template-columns: 62px minmax(0, 1fr) 12px; align-items: start; gap: 10px; width: 100%; min-width: 0; min-height: 86px; padding: 16px 14px; border: 0; border-bottom: 1px solid var(--ui-line); background: transparent; color: var(--ui-text); text-align: left; font-family: var(--ui-font-body); }
.show-receiver-position:last-child { border-bottom: 0; }
.show-receiver-position > span { min-width: 0; }
.show-receiver-position-stage { color: var(--ui-text); font-size: 18px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.show-receiver-position-step { padding-top: 3px; color: var(--ui-text-secondary); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.show-receiver-position-title { display: block; font-size: 18px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.show-receiver-position-context { display: block; font-size: 14px; color: var(--ui-text-secondary); line-height: 1.5; margin-top: 4px; overflow-wrap: anywhere; }
.show-receiver-position-locate { display: block; margin-top: 8px; color: var(--ui-action); font-size: 12px; line-height: 1.5; }
.show-receiver-position:focus-visible { outline: 3px solid var(--ui-action); outline-offset: -3px; }
.show-receiver-cancelled { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0 0 18px; background: var(--surface); }
.show-receiver-cancelled h3 { margin: 0; font-size: 16px; }
.show-receiver-cancelled ul { padding-left: 22px; margin: 10px 0 0; }
.show-receiver-cancelled li { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
.show-receiver-cancelled li span { display: block; font-size: 14px; color: var(--muted); }
.show-receiver-actions { position: static; display: grid; gap: 10px; margin: 18px 0 0; }
.show-receiver-actions .btn { min-height: 48px; width: 100%; }
.show-receiver-actions > p { margin: 0; font-size: 13px; text-align: center; color: var(--muted); }
.show-receiver-actions .form-error:empty { display: none; }
.show-receiver .zhucun-live-home-entry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 12px 0; padding: 10px 12px; min-height: 44px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-surface-muted); box-shadow: none; color: var(--ui-action); text-decoration: none; }
.show-receiver .zhucun-live-home-entry strong { font-size: 14px; }
.show-receiver .zhucun-live-home-entry span { color: var(--ui-text-secondary); font-size: 13px; }
.show-receiver-theaters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.show-receiver-theaters .btn { min-height: 44px; }
.show-receiver-theaters [aria-pressed="true"] { border-color: var(--ui-action); color: var(--ui-action); background: var(--ui-surface-muted); }
.show-receiver-region { margin-bottom: 22px; }
.show-receiver-region > h3 { font-size: 18px; margin: 0 0 12px; }
.show-receiver-region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.show-receiver-region-cell { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow-wrap: anywhere; scroll-margin-block: 120px; }
.show-receiver-region-cell.is-self { border: 2px solid var(--ui-action); padding: 11px; background: var(--ui-badge-success-bg); }
.show-receiver-region-cell h4 { font-size: 16px; line-height: 1.45; margin: 0 0 10px; }
.show-receiver-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; font-size: 16px; line-height: 1.5; }
.show-receiver-names .show-graphic-person { display: inline-flex; flex-wrap: wrap; gap: 4px; font-size: 16px; }
.show-receiver-names .show-graphic-person.is-self { font-weight: 700; }
.show-receiver-names .show-graphic-self-label { font-size: 12px; min-width: 22px; min-height: 22px; }
.show-receiver .show-graphic-thumbnail { display: none; }
.show-receiver .show-graphic-roster-title { font-size: 16px; }
.show-receiver .show-graphic-dialog .show-graphic-canvas,
.show-receiver .show-graphic-dialog .show-zhucun-graphic-table { font-size: 16px; }
.show-receiver .show-graphic-dialog .show-zhucun-graphic-sheet { min-width: 980px; }
.show-receiver .show-graphic-dialog .show-graphic-person { font-size: 16px; }
.show-receiver .show-graphic-dialog .show-graphic-cell { scroll-margin: 24px; }
.show-graphic-position-status:empty { display: none; }
.show-graphic-position-status { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.show-receiver-event { display: grid; gap: 8px; padding: 16px; }
.show-receiver-event > strong { font-size: 20px; }
.show-receiver-event > span { overflow-wrap: anywhere; }
.show-receiver-event-status { font-size: 14px; font-weight: 700; }
.show-receiver-event-status.tone-danger { color: var(--ui-danger); }
.show-receiver-event-status.tone-warning { color: var(--ui-warning); }
.show-receiver-event-status.tone-neutral { color: var(--muted); font-weight: 500; }
.show-receiver-event-time { font-size: 17px; font-weight: 600; }
.show-receiver-event-positions { font-size: 16px; line-height: 1.5; }
.show-receiver-event-plans { color: var(--muted); font-size: 13px; }
.show-scheduling-page .show-receiver-event-plans .badge.status { color: var(--muted); background: transparent; border: 0; padding: 0 10px 0 0; font-weight: 400; }
.show-receiver-list-group h3 { font-size: 16px; margin: 22px 0 12px; }
.show-receiver-archive { margin-top: 18px; }
.show-receiver button:focus-visible,
.show-receiver a:focus-visible,
.show-receiver [tabindex="-1"]:focus-visible { outline: 3px solid var(--ui-action); outline-offset: 3px; }
@media (max-width: 390px) {
  .show-scheduling-page.show-receiver-page { padding: 16px 12px calc(100px + env(safe-area-inset-bottom)); }
}


.show-execution-summary { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.show-end-button { color: var(--ui-danger); border-color: var(--ui-danger); background: var(--surface); }
.show-execution-summary .show-end-button { width: 100%; }
.show-execution-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.show-end-result { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--ui-badge-success-bg); }
.show-end-result strong { display: block; }
.show-end-result p { margin: 5px 0 0; font-size: 14px; }
.show-event-execution-card .actions { display: flex; gap: 12px; margin-top: 16px; }
.show-event-execution-card .actions .btn { flex: 1; min-width: 0; }
.show-event-execution-card .form-error:empty { display: none; }
.show-action-scope { list-style: none; margin: 16px 0; padding: 0; border-block: 1px solid var(--line); }
.show-action-scope li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.show-action-scope span { color: var(--muted); }
.show-execution-heading { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; }
.show-execution-heading h2 { margin: 0; font-size: 20px; }
.show-execution-summary ul { list-style: none; padding: 0; margin: 12px 0; }
.show-execution-summary li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.show-execution-summary li small { grid-column: 1 / -1; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.show-execution-summary .btn, .show-reader-tools .btn, #showReturnReading { min-height: 44px; font-size: 16px; }
.show-execution-summary .form-error:empty { display: none; }
.show-execution-summary:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.show-execution-compact { padding: 8px 0; margin: 8px 0; color: var(--muted); font-size: 16px; }
.show-reader-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.show-reader-tools .form-error { flex-basis: 100%; }
.show-reader-tools .form-error:empty { display: none; }
