/* Program module: field screens used with gloves on a phone (acknowledgments, toolbox talk
   delivery, crew sign-in and the kiosk). Tap targets are at least 56 px. */
.program-field .program-huge,
.program-huge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  margin: 10px 0;
  font-size: 18px;
}
.program-big {
  min-height: 52px;
  font-size: 15px;
}
.program-field h2 {
  font-size: 24px;
  overflow-wrap: anywhere;
}
.program-bigcheck {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  margin: 10px 0;
  border: 2px solid #D8D1C4;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
}
.program-bigcheck input {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
}
.program-bigcheck:has(input:checked) {
  border-color: #2e8b4a;
  background: #f1faf3;
}
.program-message {
  padding: 10px 12px;
  border-left: 4px solid #181818;
  background: #F6F4EF;
}
.program-segbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.program-seg-btn {
  flex: 1 1 110px;
  min-height: 52px;
  padding: 8px 12px;
  border: 2px solid #D8D1C4;
  border-radius: 8px;
  background: white;
  color: #292929;
  font-weight: 700;
}
.program-seg-btn.active {
  border-color: #181818;
  background: #181818;
  color: white;
}
.program-roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.program-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  min-height: 64px;
  padding: 10px 12px;
  border: 2px solid #D8D1C4;
  border-radius: 8px;
  background: white;
  color: #181818;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.program-name small {
  font-size: 12px;
  font-weight: 400;
  color: #5C5851;
}
.program-name.program-signed {
  border-color: #2e8b4a;
  background: #e8f5ec;
  color: #1d6b35;
  cursor: default;
}
.program-name.program-other {
  border-style: dashed;
}
.program-sign {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}
.program-sign-label {
  font-weight: 700;
}
.program-sign-pad {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  border: 2px dashed #827B70;
  border-radius: 8px;
  background: white;
  touch-action: none;
  cursor: crosshair;
}
.program-sign-clear {
  align-self: flex-end;
  min-height: 40px;
}
.program-sig {
  width: 150px;
  height: 50px;
}
.program-attendance {
  margin: 0;
  padding-left: 22px;
}
.program-attendance li {
  padding: 8px 0;
  border-bottom: 1px solid #F0EDE6;
}
.program-attendance li > span {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}
.program-attendance small {
  color: #5C5851;
}
.program-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.program-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
}
.program-filebtns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.program-filebtn {
  position: relative;
  min-height: 52px;
  overflow: hidden;
}
.program-fileinput {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.program-finish {
  margin-top: 16px;
  flex-direction: column;
}
.program-qr {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}
.program-qr svg {
  width: 240px;
  height: 240px;
}
.program-kioskbox input {
  width: 100%;
  font-family: monospace;
}
.program-kiosk {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}
.program-kiosk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.program-kiosk-logo {
  width: 120px;
}
.program-kiosk-title {
  font-size: 26px;
  letter-spacing: 0;
}
.program-field-form input,
.program-field-form select,
.program-kiosk input {
  min-height: 52px;
  font-size: 18px;
}
.program-panel h3 {
  margin-top: 14px;
}
@media (max-width: 700px) {
  .program-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .program-kiosk {
    padding: 12px;
  }
}
