/* Premium palyabeosztas. Az adatokat az app.js state.fieldSchedule tombje adja. */

.field-schedule-premium {
  --fs-bg: #ffffff;
  --fs-surface: #f7fafb;
  --fs-surface-strong: #eef4f6;
  --fs-line: #d5e1e7;
  --fs-line-strong: #b9ccd5;
  --fs-text: #14283b;
  --fs-muted: #617487;
  --fs-green: #07845b;
  --fs-green-bright: #16c982;
  --fs-green-soft: #e3f8ee;
  --fs-gold: #b97709;
  --fs-gold-soft: #fff2cf;
  --fs-red: #c5424d;
  --fs-red-soft: #fdebed;
  --fs-shadow: 0 16px 38px rgba(8, 30, 48, 0.1);
  min-width: 0;
  color: var(--fs-text);
}

html[data-color-mode="dark"] .field-schedule-premium {
  --fs-bg: #071725;
  --fs-surface: #0a1c2b;
  --fs-surface-strong: #102537;
  --fs-line: #1d3b4e;
  --fs-line-strong: #31576c;
  --fs-text: #edf6f8;
  --fs-muted: #9eb2c0;
  --fs-green: #2de08d;
  --fs-green-bright: #25d786;
  --fs-green-soft: #0c3026;
  --fs-gold: #f5bd48;
  --fs-gold-soft: #342914;
  --fs-red: #ff7278;
  --fs-red-soft: #371923;
  --fs-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.field-schedule-command {
  min-width: 0;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-bg);
  box-shadow: var(--fs-shadow);
}

.field-schedule-premium-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-premium-head > div:first-child {
  min-width: 0;
}

.field-schedule-premium-head > div:first-child > span,
.field-schedule-editor form > header span {
  color: var(--fs-green);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-schedule-premium-head h4 {
  margin: 5px 0 4px;
  color: var(--fs-text);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: 0;
}

.field-schedule-premium-head p {
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.9rem;
}

.field-schedule-excel-import {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 16px 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--fs-line);
  border-left: 4px solid var(--fs-green);
  border-radius: 7px;
  background: var(--fs-surface);
}

.field-schedule-excel-import-copy,
.field-schedule-excel-import-action {
  min-width: 0;
}

.field-schedule-excel-import-copy span {
  color: var(--fs-green);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.field-schedule-excel-import-copy h4 {
  margin: 4px 0;
  color: var(--fs-text);
  font-size: 1rem;
}

.field-schedule-excel-import-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.field-schedule-excel-import-action {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.field-schedule-excel-import-action .primary-action {
  min-height: 42px;
  white-space: nowrap;
}

.field-schedule-excel-import-action small {
  color: var(--fs-muted);
  font-size: 0.68rem;
}

.field-schedule-excel-import-status {
  display: grid;
  grid-column: 1 / -1;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--fs-line);
  color: var(--fs-muted);
  font-size: 0.76rem;
}

.field-schedule-excel-import-status strong {
  color: var(--fs-text);
}

.field-schedule-excel-import-status ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 18px;
}

.field-schedule-excel-import-status li::marker {
  color: var(--fs-gold);
}

.field-schedule-head-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.field-schedule-head-actions .primary-action {
  min-height: 44px;
  border-radius: 6px;
}

.field-schedule-head-actions .field-schedule-top-create {
  display: inline-flex;
  min-width: 208px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 18px;
  border-radius: 7px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.field-schedule-head-actions .field-schedule-top-create svg {
  width: 19px;
  height: 19px;
}

.field-schedule-scope {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--fs-line);
  border-radius: 7px;
  background: var(--fs-surface);
}

.field-schedule-scope button,
.field-schedule-time-strip button,
.field-schedule-date-strip button {
  color: var(--fs-muted);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.field-schedule-scope button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 5px;
  font-weight: 800;
}

.field-schedule-scope button:hover,
.field-schedule-time-strip button:hover,
.field-schedule-date-strip button:hover {
  color: var(--fs-text);
  border-color: var(--fs-line-strong);
  background: var(--fs-surface-strong);
}

.field-schedule-scope button.is-active,
.field-schedule-time-strip button.is-active,
.field-schedule-date-strip button.is-active {
  color: #06261c;
  border-color: var(--fs-green-bright);
  background: var(--fs-green-bright);
}

.field-schedule-date-strip,
.field-schedule-time-strip {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.field-schedule-date-strip {
  gap: 5px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-surface);
}

.field-schedule-date-strip button {
  display: grid;
  flex: 1 0 76px;
  min-height: 61px;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 6px;
}

.field-schedule-date-strip small {
  color: inherit;
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
}

.field-schedule-date-strip strong {
  color: inherit;
  font-size: 1.15rem;
}

.field-schedule-time-strip {
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-time-strip > span {
  flex: 0 0 auto;
  margin-right: 4px;
  color: var(--fs-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-schedule-time-strip button {
  flex: 0 0 auto;
  min-width: 64px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 5px;
  font-weight: 850;
}

.field-schedule-pitch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 14px;
  padding: 18px;
}

.field-schedule-pitch-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fs-line);
  border-radius: 7px;
  background: var(--fs-surface);
}

.field-schedule-pitch-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.field-schedule-pitch-card > header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-pitch-card > header > span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #06261c;
  border-radius: 6px;
  background: var(--fs-green-bright);
  font-size: 0.9rem;
  font-weight: 950;
}

.field-schedule-pitch-card > header > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.field-schedule-pitch-card > header strong {
  color: var(--fs-text);
  font-size: 0.9rem;
}

.field-schedule-pitch-card > header small {
  color: var(--fs-muted);
  font-size: 0.69rem;
}

.field-schedule-pitch {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 8;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-width: 0;
  margin: 14px;
  overflow: hidden;
  border: 3px solid rgba(233, 255, 244, 0.84);
  border-radius: 5px;
  background-color: #0a6945;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 9%, rgba(0, 0, 0, 0.035) 9% 18%);
  box-shadow: inset 0 0 0 2px rgba(3, 65, 43, 0.35);
}

.field-schedule-pitch::before,
.field-schedule-pitch::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 12%;
  height: 42%;
  content: "";
  border: 2px solid rgba(233, 255, 244, 0.62);
  transform: translateY(-50%);
  pointer-events: none;
}

.field-schedule-pitch::before {
  left: -2px;
  border-left: 0;
}

.field-schedule-pitch::after {
  right: -2px;
  border-right: 0;
}

.field-schedule-halfway {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(233, 255, 244, 0.58);
  transform: translateX(-50%);
  pointer-events: none;
}

.field-schedule-center-circle {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 18%;
  aspect-ratio: 1;
  border: 2px solid rgba(233, 255, 244, 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.field-schedule-single-pitch {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.field-schedule-single-pitch[role="button"] {
  cursor: pointer;
}

.field-schedule-single-pitch[role="button"]:hover,
.field-schedule-single-pitch[role="button"]:focus-visible {
  outline: 0;
  background-color: #0d8055;
  box-shadow: inset 0 0 0 3px rgba(122, 242, 185, 0.78);
}

.field-schedule-single-pitch.is-occupied {
  background-color: #075437;
}

.field-schedule-single-pitch-caption {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 14px;
  color: rgba(230, 255, 243, 0.76);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-schedule-goal {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 5%;
  height: 27%;
  border: 2px solid rgba(233, 255, 244, 0.8);
  background: rgba(233, 255, 244, 0.08);
  transform: translateY(-50%);
  pointer-events: none;
}

.field-schedule-goal-left {
  left: -2px;
  border-left: 0;
}

.field-schedule-goal-right {
  right: -2px;
  border-right: 0;
}

.field-schedule-center-spot {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(233, 255, 244, 0.9);
  box-shadow: 0 0 0 2px rgba(7, 84, 55, 0.32);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.field-schedule-single-pitch-programs {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(76%, 360px);
  gap: 5px;
  justify-self: center;
}

.field-schedule-single-pitch > em {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(230, 255, 243, 0.8);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.field-schedule-single-pitch > em svg {
  width: 14px;
}

.field-schedule-all-stage.is-small .field-schedule-orientation {
  display: none;
}

.field-schedule-zone {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 8px;
  color: rgba(236, 255, 246, 0.86);
  border: 1px solid rgba(233, 255, 244, 0.22);
}

.field-schedule-zone.b1 { grid-area: 1 / 1; }
.field-schedule-zone.b2 { grid-area: 2 / 1; }
.field-schedule-zone.j1 { grid-area: 1 / 2; }
.field-schedule-zone.j2 { grid-area: 2 / 2; }

.field-schedule-zone[role="button"] {
  cursor: pointer;
}

.field-schedule-zone[role="button"]:hover,
.field-schedule-zone[role="button"]:focus-visible {
  outline: 0;
  background: rgba(45, 224, 141, 0.16);
  box-shadow: inset 0 0 0 2px rgba(122, 242, 185, 0.78);
}

.field-schedule-zone > b {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  color: rgba(230, 255, 243, 0.3);
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.field-schedule-zone > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(92%, 230px);
  min-width: 0;
  gap: 5px;
}

.field-schedule-program {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 2px;
  padding: 7px 9px;
  color: #ecfff7;
  border: 1px solid rgba(133, 241, 190, 0.42);
  border-left: 4px solid #72efb4;
  border-radius: 5px;
  background: rgba(3, 30, 24, 0.84);
  text-align: left;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

button.field-schedule-program {
  cursor: pointer;
}

button.field-schedule-program:hover,
button.field-schedule-program:focus-visible {
  outline: 2px solid #9dffd1;
  outline-offset: 1px;
}

.field-schedule-program.match {
  border-color: rgba(255, 207, 101, 0.58);
  border-left-color: #f8bd48;
  background: rgba(55, 38, 6, 0.9);
}

.field-schedule-program > span {
  color: #72efb4;
  font-size: 0.52rem;
  font-weight: 950;
  text-transform: uppercase;
}

.field-schedule-program.match > span {
  color: #ffd879;
}

.field-schedule-program > strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-schedule-program > small {
  overflow: hidden;
  color: #b9d7ca;
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-schedule-program > em {
  color: #ffd879;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.field-schedule-full-program {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  display: grid;
  width: min(54%, 340px);
  gap: 5px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.field-schedule-half-program {
  position: absolute;
  z-index: 4;
  top: 10px;
  bottom: 10px;
  display: grid;
  width: calc(50% - 18px);
  min-width: 0;
  align-content: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(145, 245, 198, 0.44);
  border-radius: 6px;
  background: rgba(3, 57, 40, 0.22);
  box-shadow: inset 0 0 24px rgba(12, 237, 132, 0.08);
  pointer-events: none;
}

.field-schedule-half-program.left {
  left: 10px;
}

.field-schedule-half-program.right {
  right: 10px;
}

.field-schedule-half-program .field-schedule-program,
.field-schedule-full-program .field-schedule-program {
  pointer-events: auto;
}

.field-schedule-empty {
  margin: 0 18px 18px;
  padding: 14px;
  color: var(--fs-muted);
  border: 1px dashed var(--fs-line-strong);
  border-radius: 6px;
  background: var(--fs-surface);
  text-align: center;
}

.field-schedule-editor {
  margin-top: 14px;
  border: 1px solid var(--fs-line);
  border-left: 5px solid var(--fs-green);
  border-radius: 8px;
  background: var(--fs-bg);
  box-shadow: var(--fs-shadow);
}

.field-schedule-editor[hidden] {
  display: none;
}

.field-schedule-editor form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.field-schedule-editor form > header,
.field-schedule-editor form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.field-schedule-editor form > header > div {
  display: grid;
  gap: 3px;
}

.field-schedule-editor form > header strong {
  color: var(--fs-text);
  font-size: 1.1rem;
}

.field-schedule-editor form > header > button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--fs-muted);
  border: 1px solid var(--fs-line);
  border-radius: 50%;
  background: var(--fs-surface);
  cursor: pointer;
}

.field-schedule-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.field-schedule-editor label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: var(--fs-muted);
  font-size: 0.75rem;
  font-weight: 850;
}

.field-schedule-editor :where(input, select, textarea) {
  width: 100%;
  min-width: 0;
  color: var(--fs-text);
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-surface);
}

.field-schedule-editor :where(input, select) {
  min-height: 44px;
  padding: 0 12px;
}

.field-schedule-editor textarea {
  padding: 11px 12px;
  resize: vertical;
}

.field-schedule-editor .field-schedule-delete {
  color: var(--fs-red);
  border-color: color-mix(in srgb, var(--fs-red) 45%, var(--fs-line));
  background: var(--fs-red-soft);
}

@media (max-width: 1120px) {
  .field-schedule-premium-head {
    align-items: stretch;
    flex-direction: column;
  }

  .field-schedule-head-actions {
    justify-content: space-between;
  }

  .field-schedule-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .field-schedule-pitch-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-pitch-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .field-schedule-pitch {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .field-schedule-premium-head,
  .field-schedule-pitch-grid,
  .field-schedule-editor form {
    padding: 14px;
  }

  .field-schedule-excel-import {
    grid-template-columns: minmax(0, 1fr);
    margin-right: 10px;
    margin-left: 10px;
    padding: 14px;
  }

  .field-schedule-excel-import-action {
    justify-items: stretch;
  }

  .field-schedule-excel-import-action .primary-action {
    width: 100%;
  }

  .field-schedule-date-strip,
  .field-schedule-time-strip {
    padding-right: 14px;
    padding-left: 14px;
  }

  .field-schedule-date-strip button {
    flex-basis: 58px;
    min-height: 58px;
  }

  .field-schedule-date-strip small {
    font-size: 0.58rem;
  }

  .field-schedule-date-strip strong {
    font-size: 1rem;
  }

  .field-schedule-head-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .field-schedule-scope {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-schedule-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-pitch {
    aspect-ratio: 4 / 3;
    margin: 10px;
  }

  .field-schedule-zone {
    padding: 5px;
  }

  .field-schedule-zone > span {
    width: 96%;
  }

  .field-schedule-program {
    padding: 5px 6px;
  }

  .field-schedule-program > strong {
    font-size: 0.62rem;
  }

  .field-schedule-program > small {
    display: none;
  }

  .field-schedule-editor form > footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .field-schedule-editor form > footer button {
    width: 100%;
  }

  .field-schedule-editor {
    overflow: hidden;
    margin-right: 10px;
    margin-left: 10px;
  }

  .field-schedule-editor form {
    width: 100%;
    min-width: 0;
  }

  .field-schedule-editor form > header {
    align-items: flex-start;
  }

  .field-schedule-editor label,
  .field-schedule-editor :where(input, select, textarea) {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-schedule-premium * {
    scroll-behavior: auto !important;
  }
}

/* 2026 command center: the production schedule mirrors the approved preview. */
.field-schedule-command {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--fs-green-soft) 42%, transparent), transparent 210px),
    var(--fs-bg);
}

.field-schedule-premium-head {
  padding: 26px;
  background: color-mix(in srgb, var(--fs-bg) 94%, var(--fs-green-soft));
}

.field-schedule-premium-head > div:first-child > span,
.field-schedule-all-stage > header span,
.field-schedule-own-stage > header span,
.field-schedule-stats > header span {
  color: var(--fs-green);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.field-schedule-head-actions {
  align-items: stretch;
}

.field-schedule-scope {
  padding: 4px;
}

.field-schedule-scope button {
  display: flex;
  min-width: 178px;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  text-align: left;
}

.field-schedule-scope button svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.field-schedule-scope button span,
.field-schedule-scope button small,
.field-schedule-scope button strong {
  display: block;
  min-width: 0;
}

.field-schedule-scope button small {
  color: inherit;
  font-size: 0.55rem;
  font-weight: 900;
}

.field-schedule-scope button strong {
  margin-top: 3px;
  color: inherit;
  font-size: 0.83rem;
}

.field-schedule-week-control {
  display: flex;
  min-width: 240px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--fs-line);
  border-radius: 7px;
  background: var(--fs-surface);
}

.field-schedule-week-control button {
  display: grid;
  width: 40px;
  height: 52px;
  place-items: center;
  color: var(--fs-text);
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.field-schedule-week-control button:hover,
.field-schedule-week-control button:focus-visible {
  color: var(--fs-green);
  outline: 0;
  background: var(--fs-surface-strong);
}

.field-schedule-week-control button svg {
  width: 18px;
}

.field-schedule-week-control span,
.field-schedule-week-control small,
.field-schedule-week-control strong {
  display: block;
  min-width: 0;
  text-align: center;
}

.field-schedule-week-control small {
  color: var(--fs-muted);
  font-size: 0.55rem;
  font-weight: 900;
}

.field-schedule-week-control strong {
  margin-top: 3px;
  color: var(--fs-text);
  font-size: 0.76rem;
  white-space: nowrap;
}

.field-schedule-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-surface);
}

.field-schedule-summary article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-right: 1px solid var(--fs-line);
}

.field-schedule-summary article:last-child {
  border-right: 0;
}

.field-schedule-summary svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--fs-green);
}

.field-schedule-summary span,
.field-schedule-summary small,
.field-schedule-summary strong,
.field-schedule-summary em {
  display: block;
  min-width: 0;
}

.field-schedule-summary small {
  color: var(--fs-muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-schedule-summary strong {
  margin-top: 4px;
  color: var(--fs-text);
  font-size: 1.55rem;
  line-height: 1;
}

.field-schedule-summary em {
  margin-top: 4px;
  color: var(--fs-muted);
  font-size: 0.57rem;
  font-style: normal;
}

.field-schedule-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-bg);
}

.field-schedule-toolbar .field-schedule-date-strip {
  border: 0;
  background: transparent;
}

.field-schedule-date-strip button {
  position: relative;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  place-items: start;
  min-height: 70px;
  padding: 10px 12px;
  text-align: left;
}

.field-schedule-date-strip button small {
  grid-column: 1 / -1;
}

.field-schedule-date-strip button strong {
  align-self: end;
}

.field-schedule-date-strip button em {
  display: grid;
  align-self: end;
  width: 22px;
  height: 22px;
  place-items: center;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
  opacity: 0.72;
}

.field-schedule-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-left: 1px solid var(--fs-line);
}

.field-schedule-toolbar-actions label {
  display: flex;
  width: 220px;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-surface);
}

.field-schedule-toolbar-actions label svg {
  width: 17px;
  flex: 0 0 auto;
  color: var(--fs-muted);
}

.field-schedule-toolbar-actions input {
  width: 100%;
  min-width: 0;
  color: var(--fs-text);
  border: 0;
  outline: 0;
  background: transparent;
}

.field-schedule-toolbar-actions > button,
.field-schedule-stats-controls > button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--fs-text);
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-surface);
  font-weight: 850;
  cursor: pointer;
}

.field-schedule-toolbar-actions > button.is-active,
.field-schedule-toolbar-actions > button:hover {
  color: #06261c;
  border-color: var(--fs-green-bright);
  background: var(--fs-green-bright);
}

.field-schedule-toolbar-actions button svg {
  width: 18px;
}

.field-schedule-list-toggle.is-training svg {
  color: var(--fs-green);
}

.field-schedule-list-toggle.is-match svg {
  color: var(--fs-gold);
}

.field-schedule-toolbar-actions > .field-schedule-list-toggle.is-match.is-active,
.field-schedule-toolbar-actions > .field-schedule-list-toggle.is-match:hover {
  color: #4a3003;
  border-color: var(--fs-gold);
  background: #f8e6ba;
}

.field-schedule-list-view {
  margin: 18px;
  overflow: hidden;
  border: 1px solid var(--fs-line);
  border-left: 5px solid var(--fs-green);
  border-radius: 7px;
  background: var(--fs-surface);
}

.field-schedule-list-view.is-match {
  border-left-color: var(--fs-gold);
}

.field-schedule-list-view > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-list-view > header span {
  color: var(--fs-green);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.field-schedule-list-view.is-match > header span {
  color: var(--fs-gold);
}

.field-schedule-list-view h4 {
  margin: 4px 0;
  color: var(--fs-text);
  font-size: 1.2rem;
}

.field-schedule-list-view p {
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.78rem;
}

.field-schedule-list-view > header button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: var(--fs-muted);
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-bg);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  cursor: pointer;
}

.field-schedule-list-view > header button:hover,
.field-schedule-list-view > header button:focus-visible {
  color: var(--fs-text);
  border-color: var(--fs-green);
}

.field-schedule-list-view > header button svg {
  width: 16px;
}

.field-schedule-list-entries {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.field-schedule-list-entries > li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-list-entries > li:last-child {
  border-bottom: 0;
}

.field-schedule-list-entries time {
  display: grid;
  min-height: 50px;
  place-content: center;
  text-align: center;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-bg);
}

.field-schedule-list-entries time small {
  color: var(--fs-muted);
  font-size: 0.55rem;
  font-weight: 900;
}

.field-schedule-list-entries time strong {
  color: var(--fs-text);
  font-size: 1.15rem;
}

.field-schedule-list-copy {
  min-width: 0;
}

.field-schedule-list-copy > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.field-schedule-list-copy em {
  flex: 0 0 auto;
  padding: 3px 6px;
  color: #075438;
  border: 1px solid var(--fs-green-bright);
  border-radius: 999px;
  background: var(--fs-green-soft);
  font-size: 0.53rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.field-schedule-list-view.is-match .field-schedule-list-copy em {
  color: #684306;
  border-color: var(--fs-gold);
  background: #fff4d8;
}

.field-schedule-list-copy h5 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--fs-text);
  font-size: 0.91rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-schedule-list-copy p,
.field-schedule-list-copy > small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--fs-muted);
  font-size: 0.69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-schedule-list-copy p svg {
  width: 14px;
  flex: 0 0 auto;
  color: var(--fs-green);
}

.field-schedule-list-copy > small {
  display: block;
}

.field-schedule-list-time {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.field-schedule-list-time strong {
  color: var(--fs-text);
  font-size: 0.96rem;
}

.field-schedule-list-time small {
  color: var(--fs-muted);
  font-size: 0.64rem;
}

.field-schedule-list-time em {
  max-width: 170px;
  margin-top: 4px;
  color: #8a5a08;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 850;
}

.field-schedule-list-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 36px 20px;
  color: var(--fs-muted);
  text-align: center;
}

.field-schedule-list-empty svg {
  width: 28px;
  color: var(--fs-green);
}

.field-schedule-list-view.is-match .field-schedule-list-empty svg {
  color: var(--fs-gold);
}

.field-schedule-list-empty strong {
  color: var(--fs-text);
}

.field-schedule-list-empty span {
  font-size: 0.74rem;
}

.field-schedule-stats {
  margin: 18px;
  overflow: hidden;
  border: 1px solid var(--fs-line);
  border-left: 5px solid var(--fs-green);
  border-radius: 7px;
  background: var(--fs-surface);
}

.field-schedule-stats > header,
.field-schedule-all-stage > header,
.field-schedule-own-stage > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-stats h4,
.field-schedule-all-stage h4,
.field-schedule-own-stage h4 {
  margin: 4px 0;
  color: var(--fs-text);
  font-size: 1.2rem;
}

.field-schedule-stats p,
.field-schedule-all-stage p,
.field-schedule-own-stage p {
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.78rem;
}

.field-schedule-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 12px 22px;
  color: var(--fs-muted);
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-bg);
  font-size: 0.72rem;
  font-weight: 850;
}

.field-schedule-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.field-schedule-legend-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 13%, transparent);
}

.field-schedule-legend-dot.training {
  color: #26df92;
  background: #26df92;
}

.field-schedule-legend-dot.match {
  color: #f7bd45;
  background: #f7bd45;
}

.field-schedule-legend-dot.away {
  color: #5fc8df;
  background: #5fc8df;
}

.field-schedule-legend-dot.review {
  color: #ff6c7b;
  background: #ff6c7b;
}

.field-schedule-stats-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-schedule-stats-controls select {
  min-height: 44px;
  padding: 0 34px 0 12px;
  color: var(--fs-text);
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-bg);
}

.field-schedule-stats-controls button {
  width: 44px;
  padding: 0;
}

.field-schedule-stats-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-stats-kpis article {
  padding: 18px 20px;
  border-right: 1px solid var(--fs-line);
}

.field-schedule-stats-kpis article:last-child {
  border-right: 0;
}

.field-schedule-stats-kpis small,
.field-schedule-stats-kpis strong {
  display: block;
}

.field-schedule-stats-kpis small {
  color: var(--fs-muted);
  font-size: 0.66rem;
  font-weight: 850;
}

.field-schedule-stats-kpis strong {
  margin-top: 7px;
  color: var(--fs-green);
  font-size: 1.8rem;
}

.field-schedule-stats-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.field-schedule-stats-body > section {
  padding: 20px;
}

.field-schedule-stats-body > section + section {
  border-left: 1px solid var(--fs-line);
}

.field-schedule-stats-body h5 {
  margin: 0 0 14px;
  color: var(--fs-text);
  font-size: 0.9rem;
}

.field-schedule-stat-row {
  display: grid;
  grid-template-columns: 90px minmax(60px, 1fr) 24px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--fs-muted);
  font-size: 0.72rem;
}

.field-schedule-stat-row > i {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--fs-line);
}

.field-schedule-stat-row > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--fs-green-bright);
}

.field-schedule-stat-row strong {
  color: var(--fs-text);
  text-align: right;
}

.field-schedule-match-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.field-schedule-match-categories article {
  display: grid;
  min-width: 0;
  min-height: 82px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px 8px;
  padding: 12px;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-bg);
}

.field-schedule-match-categories svg {
  width: 18px;
  color: var(--fs-gold);
}

.field-schedule-match-categories span {
  overflow: hidden;
  color: var(--fs-muted);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-schedule-match-categories strong {
  grid-column: 1 / -1;
  color: var(--fs-text);
  font-size: 1.25rem;
}

.field-schedule-all-stage,
.field-schedule-own-stage {
  margin: 18px;
  overflow: hidden;
  border: 1px solid var(--fs-line);
  border-radius: 7px;
  background: var(--fs-surface);
}

.field-schedule-facility-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 250px)) 1fr;
  gap: 8px;
  align-items: stretch;
  padding: 14px 18px;
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-bg);
}

.field-schedule-facility-switch > button {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  color: var(--fs-muted);
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-surface);
  text-align: left;
  cursor: pointer;
}

.field-schedule-facility-switch > button.is-active {
  color: #075438;
  border-color: var(--fs-green-bright);
  background: var(--fs-green-soft);
  box-shadow: inset 4px 0 var(--fs-green-bright);
}

.field-schedule-facility-switch svg {
  width: 24px;
  flex: 0 0 auto;
  color: var(--fs-green);
}

.field-schedule-facility-switch span,
.field-schedule-facility-switch small,
.field-schedule-facility-switch strong {
  display: block;
  min-width: 0;
}

.field-schedule-facility-switch small {
  color: inherit;
  font-size: 0.55rem;
  font-weight: 900;
}

.field-schedule-facility-switch strong {
  margin-top: 3px;
  color: inherit;
  font-size: 0.78rem;
}

.field-schedule-facility-switch > em {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--fs-muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.field-schedule-facility-switch > em svg {
  width: 16px;
}

.field-schedule-time-switcher {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-bg);
}

.field-schedule-time-switcher > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-right: 1px solid var(--fs-line);
}

.field-schedule-time-switcher > header svg {
  width: 20px;
  color: var(--fs-green);
}

.field-schedule-time-switcher > header span,
.field-schedule-time-switcher > header small,
.field-schedule-time-switcher > header strong {
  display: block;
  min-width: 0;
}

.field-schedule-time-switcher > header small {
  color: var(--fs-green);
  font-size: 0.55rem;
  font-weight: 900;
}

.field-schedule-time-switcher > header strong {
  margin-top: 3px;
  color: var(--fs-text);
  font-size: 0.78rem;
}

.field-schedule-time-switcher > div {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 12px;
}

.field-schedule-time-switcher > div > button {
  min-width: 82px;
  min-height: 54px;
  flex: 0 0 auto;
  color: var(--fs-text);
  border: 1px solid var(--fs-line);
  border-bottom: 3px solid var(--fs-green);
  border-radius: 6px;
  background: var(--fs-surface);
  cursor: pointer;
}

.field-schedule-time-switcher > div > button.is-active {
  color: #075438;
  border-color: var(--fs-green-bright);
  background: var(--fs-green-soft);
}

.field-schedule-time-switcher button strong,
.field-schedule-time-switcher button small {
  display: block;
}

.field-schedule-time-switcher button strong {
  font-size: 0.94rem;
}

.field-schedule-time-switcher button small {
  margin-top: 4px;
  color: inherit;
  font-size: 0.55rem;
}

.field-schedule-create-trigger,
.field-schedule-readonly {
  display: inline-flex;
  min-width: 180px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 12px 10px 0;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
}

.field-schedule-create-trigger {
  color: #06261c;
  border: 1px solid var(--fs-green-bright);
  background: var(--fs-green-bright);
  cursor: pointer;
}

.field-schedule-readonly {
  color: var(--fs-muted);
  border: 1px solid var(--fs-line);
  background: var(--fs-surface);
}

.field-schedule-create-trigger svg,
.field-schedule-readonly svg {
  width: 18px;
}

.field-schedule-orientation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--fs-line);
}

.field-schedule-orientation > div {
  display: grid;
  grid-template-columns: repeat(4, 36px);
  gap: 4px;
}

.field-schedule-orientation b {
  display: grid;
  height: 32px;
  place-items: center;
  color: #063928;
  border-radius: 4px;
  background: var(--fs-green-soft);
  font-size: 0.68rem;
}

.field-schedule-orientation p {
  display: grid;
  gap: 2px;
  text-align: right;
}

.field-schedule-orientation strong,
.field-schedule-orientation span {
  display: block;
}

.field-schedule-orientation strong {
  color: var(--fs-text);
  font-size: 0.72rem;
}

.field-schedule-orientation span {
  color: var(--fs-muted);
  font-size: 0.62rem;
}

.field-schedule-pitch-grid {
  padding: 20px;
  background: color-mix(in srgb, var(--fs-surface) 84%, var(--fs-green-soft));
}

.field-schedule-zone.is-free > em {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  color: rgba(232, 255, 244, 0.78);
  border: 1px dashed rgba(232, 255, 244, 0.42);
  border-radius: 4px;
  background: rgba(1, 39, 27, 0.32);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 850;
}

.field-schedule-zone.is-free > em svg {
  width: 12px;
  height: 12px;
}

.field-schedule-own-stage {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--fs-green-soft) 65%, transparent), transparent 48%),
    var(--fs-surface);
}

.field-schedule-own-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px;
  padding: 17px;
  border: 1px solid var(--fs-line);
  border-left: 5px solid var(--fs-green-bright);
  border-radius: 7px;
  background: var(--fs-bg);
}

.field-schedule-own-identity > svg {
  width: 34px;
  height: 34px;
  color: var(--fs-green);
}

.field-schedule-own-identity span,
.field-schedule-own-identity small,
.field-schedule-own-identity strong,
.field-schedule-own-identity p {
  display: block;
  min-width: 0;
}

.field-schedule-own-identity small {
  color: var(--fs-green);
  font-size: 0.58rem;
  font-weight: 900;
}

.field-schedule-own-identity strong {
  margin-top: 3px;
  color: var(--fs-text);
  font-size: 1.05rem;
}

.field-schedule-own-identity p {
  margin-top: 3px;
}

.field-schedule-own-grid {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.field-schedule-own-card {
  display: grid;
  grid-template-columns: 145px minmax(240px, 0.8fr) minmax(350px, 1.4fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fs-line);
  border-left: 6px solid var(--fs-green-bright);
  border-radius: 7px;
  background: var(--fs-bg);
}

.field-schedule-own-time {
  display: grid;
  align-content: center;
  padding: 22px;
  border-right: 1px solid var(--fs-line);
}

.field-schedule-own-time small {
  color: var(--fs-green);
  font-size: 0.6rem;
  font-weight: 950;
}

.field-schedule-own-time strong {
  margin-top: 8px;
  color: var(--fs-text);
  font-size: 2.15rem;
  line-height: 1;
}

.field-schedule-own-time span {
  margin-top: 7px;
  color: var(--fs-muted);
  font-size: 0.72rem;
}

.field-schedule-own-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
}

.field-schedule-own-copy > em {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: #063928;
  border-radius: 5px;
  background: var(--fs-green-soft);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 950;
}

.field-schedule-own-copy > em svg {
  width: 14px;
}

.field-schedule-own-copy h5 {
  margin: 0;
  color: var(--fs-text);
  font-size: 1.45rem;
}

.field-schedule-own-copy > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(80px, auto);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-surface);
}

.field-schedule-own-copy > div > svg {
  width: 20px;
  color: var(--fs-green);
}

.field-schedule-own-copy > div span,
.field-schedule-own-copy > div small,
.field-schedule-own-copy > div strong {
  display: block;
}

.field-schedule-own-copy > div small {
  color: var(--fs-muted);
  font-size: 0.52rem;
  font-weight: 900;
}

.field-schedule-own-copy > div strong {
  margin-top: 3px;
  color: var(--fs-text);
  font-size: 0.76rem;
}

.field-schedule-own-pitch {
  min-width: 0;
  padding: 12px;
  border-left: 1px solid var(--fs-line);
  background: var(--fs-surface);
}

.field-schedule-own-pitch .field-schedule-pitch-card {
  height: 100%;
}

.field-schedule-own-pitch .field-schedule-pitch-card > header {
  display: none;
}

.field-schedule-own-pitch .field-schedule-pitch {
  height: calc(100% - 20px);
  min-height: 190px;
  aspect-ratio: auto;
  margin: 10px;
}

.field-schedule-own-empty {
  display: grid;
  min-height: 230px;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin: 18px;
  color: var(--fs-muted);
  border: 1px dashed var(--fs-line-strong);
  border-radius: 7px;
  background: var(--fs-bg);
  text-align: center;
}

.field-schedule-own-empty svg {
  width: 38px;
  height: 38px;
  color: var(--fs-green);
}

.field-schedule-own-empty strong {
  color: var(--fs-text);
}

.field-schedule-editor {
  margin: 18px;
}

.field-schedule-editor [data-field-match-category][hidden] {
  display: none;
}

html[data-color-mode="dark"] .field-schedule-facility-switch > button.is-active,
html[data-color-mode="dark"] .field-schedule-time-switcher > div > button.is-active,
html[data-color-mode="dark"] .field-schedule-orientation b,
html[data-color-mode="dark"] .field-schedule-own-copy > em {
  color: #a8f4ce;
}

@media (max-width: 1240px) {
  .field-schedule-premium-head {
    flex-direction: column;
  }

  .field-schedule-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .field-schedule-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-toolbar-actions {
    justify-content: flex-end;
    border-top: 1px solid var(--fs-line);
    border-left: 0;
  }

  .field-schedule-own-card {
    grid-template-columns: 125px minmax(220px, 1fr);
  }

  .field-schedule-own-pitch {
    grid-column: 1 / -1;
    border-top: 1px solid var(--fs-line);
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .field-schedule-head-actions {
    flex-direction: column;
  }

  .field-schedule-scope,
  .field-schedule-week-control,
  .field-schedule-head-actions .field-schedule-top-create {
    width: 100%;
  }

  .field-schedule-head-actions .field-schedule-top-create {
    min-width: 0;
  }

  .field-schedule-scope button {
    flex: 1 1 0;
  }

  .field-schedule-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-schedule-summary article:nth-child(2) {
    border-right: 0;
  }

  .field-schedule-summary article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--fs-line);
  }

  .field-schedule-stats-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-stats-body > section + section {
    border-top: 1px solid var(--fs-line);
    border-left: 0;
  }

  .field-schedule-time-switcher {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .field-schedule-create-trigger,
  .field-schedule-readonly {
    grid-column: 1 / -1;
    min-height: 46px;
    margin: 0 12px 12px;
  }
}

@media (max-width: 820px) {
  .field-schedule-stats-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-schedule-stats-kpis article:nth-child(2) {
    border-right: 0;
  }

  .field-schedule-stats-kpis article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--fs-line);
  }

  .field-schedule-match-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-schedule-facility-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-schedule-facility-switch > em {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .field-schedule-own-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-own-time {
    grid-template-columns: auto auto 1fr;
    align-items: end;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--fs-line);
  }

  .field-schedule-own-time strong {
    margin: 0;
  }
}

@media (max-width: 620px) {
  .field-schedule-premium-head {
    padding: 18px 14px;
  }

  .field-schedule-scope button {
    min-width: 0;
    min-height: 58px;
    padding: 8px;
  }

  .field-schedule-scope button svg {
    width: 19px;
  }

  .field-schedule-scope button small {
    display: none;
  }

  .field-schedule-scope button strong {
    font-size: 0.72rem;
  }

  .field-schedule-summary article {
    gap: 9px;
    padding: 15px 13px;
  }

  .field-schedule-summary svg {
    width: 20px;
  }

  .field-schedule-summary strong {
    font-size: 1.25rem;
  }

  .field-schedule-date-strip {
    padding: 10px 8px;
  }

  .field-schedule-date-strip button {
    flex-basis: 54px;
    min-height: 61px;
    padding: 8px;
  }

  .field-schedule-toolbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px;
  }

  .field-schedule-toolbar-actions.is-list-only {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-schedule-toolbar-actions label {
    width: auto;
  }

  .field-schedule-toolbar-actions > button span {
    display: none;
  }

  .field-schedule-list-view {
    margin: 10px;
  }

  .field-schedule-list-view > header {
    padding: 16px 14px;
  }

  .field-schedule-list-view > header button span {
    display: none;
  }

  .field-schedule-list-entries > li {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 14px;
  }

  .field-schedule-list-time {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-items: start;
    align-items: center;
    gap: 7px;
    text-align: left;
  }

  .field-schedule-list-time em {
    max-width: none;
    margin-top: 0;
  }

  .field-schedule-stats,
  .field-schedule-all-stage,
  .field-schedule-own-stage,
  .field-schedule-editor {
    margin: 10px;
  }

  .field-schedule-stats > header,
  .field-schedule-all-stage > header,
  .field-schedule-own-stage > header {
    padding: 16px 14px;
  }

  .field-schedule-stats > header {
    flex-direction: column;
  }

  .field-schedule-stats-controls {
    width: 100%;
  }

  .field-schedule-stats-controls select {
    flex: 1 1 auto;
    min-width: 0;
  }

  .field-schedule-stats-kpis article {
    padding: 14px;
  }

  .field-schedule-match-categories {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-facility-switch {
    gap: 6px;
    padding: 10px;
  }

  .field-schedule-legend {
    gap: 10px 16px;
    padding: 11px 14px;
    font-size: 0.68rem;
  }

  .field-schedule-facility-switch > button {
    min-height: 68px;
    padding: 9px;
  }

  .field-schedule-facility-switch > button svg {
    display: none;
  }

  .field-schedule-time-switcher {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-time-switcher > header {
    border-right: 0;
    border-bottom: 1px solid var(--fs-line);
  }

  .field-schedule-time-switcher > div {
    padding: 9px;
  }

  .field-schedule-time-switcher > div > button {
    min-width: 74px;
  }

  .field-schedule-orientation {
    align-items: flex-start;
    flex-direction: column;
  }

  .field-schedule-orientation p {
    text-align: left;
  }

  .field-schedule-pitch-grid {
    padding: 10px;
  }

  .field-schedule-own-identity {
    margin: 10px;
    padding: 13px;
  }

  .field-schedule-own-grid {
    padding: 0 10px 10px;
  }

  .field-schedule-own-time,
  .field-schedule-own-copy {
    padding: 16px;
  }

  .field-schedule-own-time strong {
    font-size: 1.7rem;
  }

  .field-schedule-own-copy h5 {
    font-size: 1.2rem;
  }

  .field-schedule-own-copy > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .field-schedule-own-copy > div span:last-child {
    grid-column: 2;
  }
}

@media (max-width: 430px) {
  .field-schedule-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-summary article,
  .field-schedule-summary article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--fs-line);
  }

  .field-schedule-summary article:last-child {
    border-bottom: 0;
  }

  .field-schedule-scope button strong {
    font-size: 0.64rem;
  }

  .field-schedule-week-control strong {
    font-size: 0.68rem;
  }

  .field-schedule-stats-kpis {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-schedule-stats-kpis article,
  .field-schedule-stats-kpis article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--fs-line);
  }

  .field-schedule-stats-kpis article:last-child {
    border-bottom: 0;
  }
}
