.duration-preview {
  font-size: 0.875rem;
  color: #254fd1;
  background: #edf2ff;
  padding: 10px 12px;
  border-radius: 7px;
  margin: 0 0 20px;
}
.workspace {
  min-width: 0;
}
.topbar strong {
  overflow-wrap: anywhere;
}
.workspace > *,
.form-grid > * {
  min-width: 0;
}
.table-scroll:focus-visible {
  outline: 3px solid #6387eb;
  outline-offset: 3px;
}
.shift-card {
  min-height: 74px;
}
.add-cell {
  min-height: 44px;
}
.back-link,
.open-week {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
summary:focus-visible {
  outline: 3px solid #6387eb;
  outline-offset: 3px;
}
.my-position {
  overflow-wrap: anywhere;
}
.my-navigation > div {
  min-width: 0;
}
.notice {
  overflow-wrap: anywhere;
}
button[aria-busy="true"] {
  opacity: 0.7;
}
.publication-note {
  font-size: 0.875rem;
}
.badge {
  font-size: 0.875rem;
}
.employee-name small,
.shift-card small,
.overview-shift,
.no-shifts,
.my-footer {
  font-size: 0.8125rem;
}
@media (max-width: 600px) {
  .brand strong {
    font-size: 1rem;
  }
  .topbar .brand {
    min-width: 0;
  }
  .topbar nav {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .topbar nav a {
    flex: 0 0 auto;
  }
  .page-heading h1 {
    font-size: 1.75rem;
  }
  .heading-actions {
    gap: 8px;
  }
  .week-table .employee-column {
    width: 155px;
  }
  .week-table {
    min-width: 1110px;
  }
  .schedule-toolbar {
    padding: 12px;
  }
  .week-actions details {
    width: 100%;
    max-width: none;
  }
  .week-actions summary {
    font-size: 0.875rem;
  }
  .hours-section {
    margin-top: 24px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions > * {
    flex: 1;
  }
  .my-schedule .empty-state {
    padding: 36px 20px;
  }
  .login h1 {
    font-size: 1.875rem;
  }
}
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .browser-print {
    display: none !important;
  }
}
.employee-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.selection-actions button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.8125rem;
}
.employee-checks label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.employee-checks input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}
.employee-checks small {
  display: block;
  color: #607087;
}
@media (max-width: 700px) {
  .employee-checks {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .topbar,
  .schedule-toolbar,
  .week-actions,
  .add-cell,
  .heading-actions,
  .publication-note {
    display: none;
  }
  .table-scroll {
    overflow: visible;
  }
  .week-table {
    min-width: 0;
  }
  .workspace {
    padding: 0 !important;
  }
  .shift-card strong {
    white-space: normal;
  }
  .employee-column {
    position: static;
  }
}
.table-scroll,
.add-cell {
  position: relative;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.settings-grid h2 {
  font-size: 1.125rem;
  margin: 0 0 20px;
}
.settings-icon {
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 18px;
}
.brand-image {
  object-fit: contain;
  background: transparent;
}
.brand {
  white-space: normal;
  max-width: 40%;
}
.brand img {
  flex-shrink: 0;
}
.calendar-export {
  margin-bottom: 24px;
}
.calendar-export p {
  line-height: 1.6;
}
@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .brand {
    max-width: 100%;
  }
  .topbar nav {
    margin-left: 0;
  }
  .topbar {
    flex-wrap: wrap;
  }
}
