#jobPlaybook .playbook-job { display: block; max-width: 32rem; margin: 1rem 0; }
#jobPlaybook .playbook-stadium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 24%);
  gap: .75rem;
  padding: .75rem;
  border: 1px solid #536455;
  border-radius: .75rem;
  background: #1d2721;
  color: #f4f7ec;
}
#jobPlaybook .formation-field {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem;
  border: 3px solid #edf4dc;
  min-height: 24rem;
}
#jobPlaybook .formation-endzone {
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #162c20;
  color: #f3d678;
  border-left: 2px solid #edf4dc;
  font: 900 clamp(.85rem, 2.1vw, 1.55rem)/1 system-ui, sans-serif;
  letter-spacing: .12em;
}
#jobPlaybook .formation-away {
  transform: none;
  background: #e7c364;
  color: #213224;
}
#jobPlaybook .formation-turf {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: repeating-linear-gradient(90deg, #25643e 0 10%, #2b7146 10% 20%);
}
#jobPlaybook .formation-yards {
  position: absolute;
  inset: 0 10%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
#jobPlaybook .formation-yards div {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  padding: .75rem 0;
  width: 1px;
  background: #d3e9c9aa;
}
#jobPlaybook .formation-yards span {
  color: #edf4dc;
  font: 800 clamp(.65rem, 1.4vw, 1.05rem)/1 system-ui, sans-serif;
  letter-spacing: .06em;
}
#jobPlaybook .formation-yards span:first-child { transform: rotate(180deg); }
#jobPlaybook .formation-midfield {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: #f4f4db;
  opacity: .24;
  font: italic 950 clamp(3rem, 11vw, 8rem)/1 system-ui, sans-serif;
  letter-spacing: -.10em;
}
#jobPlaybook .formation-lineup {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  padding: 3rem 1rem;
}
#jobPlaybook .formation-row { text-align: center; }
#jobPlaybook .formation-row h3 {
  display: inline-block;
  margin: 0 0 .6rem;
  padding: .25rem .65rem;
  border-radius: .3rem;
  background: #11261c;
  color: #f9f8ee;
  font-size: .875rem;
}
#jobPlaybook .formation-row p {
  margin: 0;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 4px #10261a;
}
#jobPlaybook .formation-row ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#jobPlaybook .formation-marker {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .25rem;
  width: 6rem;
  min-width: 0;
}
#jobPlaybook .formation-disc {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  color: #172a21;
  background: #fcf8e8;
  border: 2px solid #1c3527;
  border-radius: 50%;
  box-shadow: 0 3px 0 #12241c77;
  font: 900 1.1rem/1 system-ui, sans-serif;
}
#jobPlaybook .formation-marker.unit .formation-disc { border-radius: .45rem; background: #efcb72; }
#jobPlaybook .formation-marker strong {
  max-width: 100%;
  padding: .15rem .3rem;
  border-radius: .2rem;
  background: #142a20;
  color: #fff;
  overflow-wrap: anywhere;
  font-size: .875rem;
  line-height: 1.2;
}
#jobPlaybook .formation-sideline {
  display: grid;
  align-content: start;
  gap: 1rem;
  border: 1px solid #718575;
  border-radius: .3rem;
  padding: .75rem .5rem;
  background: repeating-linear-gradient(0deg, #29392d 0 7px, #2c3c31 7px 14px);
}
#jobPlaybook .formation-sideline p { font-size: .875rem; }
#jobPlaybook .playbook-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
#jobPlaybook .playbook-lane { padding: .75rem; border: 1px solid #627465; border-radius: .5rem; }
#jobPlaybook .playbook-lane h3 { margin: 0 0 .5rem; }
#jobPlaybook .playbook-lane select { width: 100%; }
#jobPlaybook .playbook-lane ul { list-style: none; padding: 0; margin: .5rem 0 0; }
#jobPlaybook .playbook-lane li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
  border-top: 1px solid #627465;
  overflow-wrap: anywhere;
}
#jobPlaybook .playbook-lane li span { display: block; font-size: .875rem; }
#jobPlaybook .playbook-rentals, #jobPlaybook .playbook-notes { margin: 1rem 0; }
#jobPlaybook .playbook-rentals summary { cursor: pointer; font-weight: 700; }
#jobPlaybook .playbook-rentals form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin-top: .75rem; }
#jobPlaybook .playbook-rentals form label { flex: 1 1 11rem; }
#jobPlaybook .playbook-notes { display: block; }
#jobPlaybook .playbook-notes textarea { width: 100%; }
#jobPlaybook #playbookStatus { min-height: 1.5em; margin-bottom: 0; }
@media (max-width: 720px) {
  #jobPlaybook .playbook-stadium { grid-template-columns: minmax(0, 1fr); padding: .5rem; }
  #jobPlaybook .formation-field { grid-template-columns: 1.5rem minmax(0, 1fr) 1.5rem; min-height: 20rem; }
  #jobPlaybook .formation-sideline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 450px) {
  #jobPlaybook .formation-lineup { padding-inline: .25rem; }
  #jobPlaybook .formation-marker { width: 4.75rem; }
  #jobPlaybook .playbook-controls { grid-template-columns: minmax(0, 1fr); }
}
