.md3-crew-week { padding: 16px; min-width: 0; overflow-wrap: anywhere; color: var(--md-sys-color-on-surface); }
.md3-crew-week__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 16px; }
.md3-crew-week input, .md3-crew-week button, .md3-crew-week a { min-height: 48px; min-width: 48px; }
.md3-crew-week input { max-width: 100%; font-size: 16px; background: var(--md-sys-color-surface-container); color: var(--md-sys-color-on-surface); }
.md3-crew-week__sheet form, .md3-crew-week__sheet label { display: grid; gap: 8px; min-width: 0; margin-block: 8px; }
.md3-crew-week a { display: inline-flex; align-items: center; color: var(--md-sys-color-primary); }
.md3-crew-week__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 16px; }
.md3-crew-week .md3-card { padding: 16px; min-width: 0; background: var(--md-sys-color-surface-container-low); border-radius: var(--md-sys-shape-corner-medium); }
.md3-crew-week__job { padding-block: 8px; overflow-wrap: anywhere; }
.md3-crew-week__warning { color: var(--md-sys-color-on-error-container); background: var(--md-sys-color-error-container); padding: 8px; border-radius: var(--md-sys-shape-corner-small); }
.md3-crew-week :focus-visible { outline: 2px solid var(--md-sys-color-primary); outline-offset: 2px; }
.md3-crew-week__sheet { position: fixed; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 85dvh; box-sizing: border-box; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.md3-crew-week__sheet::before { content: ""; display: block; width: 32px; height: 4px; margin: 0 auto 16px; border-radius: var(--md-sys-shape-corner-full); background: var(--md-sys-color-on-surface-variant); }
.md3-crew-week__sheet::backdrop { background: var(--md-sys-color-scrim); }
@media (min-width: 600px) {
  .md3-crew-week { padding: 24px; }
  .md3-crew-week__sheet { margin: auto; max-width: 560px; border-radius: var(--md-sys-shape-corner-extra-large); }
  .md3-crew-week__sheet::before { display: none; }
}
