.toern-logo-crop {
  display:block;
  width:112px;
  height:auto;
  flex:none;
}

.product {
  display: grid;
  gap: 5px;
  align-items: start;
}

.product > small { display: none; }

.auth-brand {
  display: grid;
  justify-items: start;
}

.login-logo {
  margin-bottom:7px;
}
.login-brand{transform:translateY(-55px)}
.login-brand .toern-logo-crop + small,
.auth-brand .toern-logo-crop + small{
  margin-top:0;
  color:#77cabc;
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
  line-height:1.4;
  text-transform:uppercase;
  white-space:nowrap;
}
.auth-brand > small { display: block; }

@media (max-width: 760px) {
  .login-brand{transform:none}
  .login-brand .toern-logo-crop + small,
  .auth-brand .toern-logo-crop + small{white-space:normal}
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 31, 35, .52);
  backdrop-filter: blur(7px);
}

.modal .modal-panel { position: relative; z-index: 101; }

.choice-field {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #dbe5e4;
  border-radius: 14px;
  background: #f7faf9;
}

.choice-field > strong,
.choice-field > small { display: block; }
.choice-field > small {
  margin: 2px 0 8px;
  color: #687977;
  line-height: 1.45;
}
.choice-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.choice-grid .check-row {
  min-width: 118px;
  padding: 11px 14px;
  border: 1px solid #ccd9d7;
  border-radius: 12px;
  background: white;
  cursor: pointer;
}

.month-stack { display: grid; gap: 24px; padding-bottom: 40px; }
.month-calendar { padding: 22px; overflow-x: auto; }
.month-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.month-title h3 { margin: 0; text-transform: capitalize; font-size: 1.35rem; }
.month-title span { color: #6a7d7a; font-size: .85rem; }
.weekdays,.month-grid { display: grid; grid-template-columns: repeat(7,minmax(128px,1fr)); min-width: 920px; }
.weekdays strong { padding: 0 8px 10px; color: #6a7d7a; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.month-grid { border-top: 1px solid #dce5e4; border-left: 1px solid #dce5e4; }
.calendar-day,.calendar-blank { min-height: 118px; height: auto; padding: 9px; border-right: 1px solid #dce5e4; border-bottom: 1px solid #dce5e4; background: #fff; align-self: stretch; overflow: visible; }
.calendar-blank { background: #f6f8f8; }
.calendar-day > b { display: block; margin-bottom: 7px; color: #526562; font-size: .8rem; }
.calendar-day.has-shifts { background: #fbfdfd; }
.calendar-day.clickable-day { text-align: left; color: inherit; cursor: pointer; }
.calendar-day.clickable-day:hover:not(:has(.calendar-shift:hover)) { background: #edf7f4; box-shadow: inset 0 0 0 2px #8bc6bc; }
.calendar-shift:hover { box-shadow: inset 0 0 0 2px rgba(16,72,79,.22); filter: saturate(1.08); }
.modal-delete { padding: 9px 13px; border-radius: 8px; color: white; font-size: 10px; font-weight: 800; }
.action-spacer { flex: 1; }
.pilot-shift-row { width: 100%; border: 0; border-top: 1px solid #eaf0ef; background: white; color: inherit; text-align: left; }
.pilot-shift-row.clickable:hover { background: #f4faf8; }
.detail-action:disabled { opacity: .45; cursor: not-allowed; }
.danger-action { color: #923f3f; }
.pending-note { margin-top: 15px; padding: 13px; border-radius: 10px; background: #fff5d9; color: #7c601d; font-size: 11px; }
.inline-action { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 17px; padding: 16px; border-radius: 12px; background: #f4f8f7; }
.inline-action label { display: grid; gap: 7px; color: #617579; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.inline-action input,.inline-action select { border: 1px solid #dce8e7; border-radius: 9px; padding: 11px; background: white; color: #10292f; }
.inline-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 8px; }
.copy-action { display: block; }
.copy-action .inline-actions { margin-top: 14px; }
.copy-picker { display: grid; gap: 10px; }
.copy-picker > strong { text-transform: capitalize; font-size: 13px; }
.copy-weekdays,.copy-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.copy-weekdays span { text-align: center; color: #788986; font-size: 8px; font-weight: 800; }
.copy-grid button,.copy-grid i { min-height: 38px; border: 1px solid #dce8e7; border-radius: 7px; background: white; color: #10292f; font-size: 10px; font-style: normal; }
.copy-grid button.selected { border-color: #0f7b6f; background: #dff1ec; color: #0f695f; box-shadow: inset 0 0 0 1px #0f7b6f; }
.calendar-day.unavailable-day { background: #fae8e8; box-shadow: inset 0 0 0 1px #e6b5b5; }
.unavailable-label { display: inline-block; margin-bottom: 6px; padding: 4px 6px; border-radius: 5px; background: #efcaca; color: #8f3f3f; font-size: 7px; font-weight: 800; }
.interest-list { margin-top: 16px; padding: 14px; border: 1px solid #dce8e7; border-radius: 11px; background: #f8fbfa; }
.interest-list > strong { display: block; margin-bottom: 8px; font-size: 10px; }
.interest-list > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid #e5eeec; font-size: 10px; }
.interest-list small { color: #6d8084; }
.day-shifts { display: grid; gap: 5px; max-height: none; overflow: visible; }
.calendar-shift { display: grid; width: 100%; min-height: 0; gap: 2px; padding: 7px 8px; border: 0; border-left: 3px solid #2474d2; border-radius: 8px; background: #dbeafe; color: inherit; text-align: left; font-size: .69rem; cursor: pointer; }
.calendar-shift.booked,.calendar-shift.completed { background: #dcfce7; border-left-color: #29945a; }
.calendar-shift.inquiry { background: #fef3c7; border-left-color: #d79b12; }
.calendar-shift.draft { background: #ffedd5; border-left-color: #ed7b22; }
.calendar-shift.cancelled,.calendar-shift.sick { opacity: .55; }
.calendar-shift strong,.calendar-shift span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
