/* Planning calendar */

.scheduler_toolbar {
    gap: 10px;
}

.scheduler_toolbar_buttons,
.scheduler_month_controls,
.scheduler_header_actions {
    width: 100%;
}

.scheduler_month_controls,
.scheduler_header_actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scheduler_header_actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scheduler_month_controls .button,
.scheduler_header_actions .button {
    width: 100%;
    min-width: 0;
}

.scheduler_day {
    min-height: 72px;
    padding: 3px;
}

.scheduler_day_number {
    margin-bottom: 3px;
    font-size: 11px;
}

.scheduler_task_chip {
    padding: 3px;
    font-size: 0;
}

.scheduler_task_chip::before {
    content: attr(data-time);
    font-size: 9px;
}

.scheduler_modal {
    padding: 4px;
}

.scheduler_task_panel {
    width: 100%;
    max-height: calc(100vh - 8px);
    padding: 10px;
}

.scheduler_task_panel h2 {
    margin-right: 38px;
}

.scheduler_form_grid {
    grid-template-columns: 1fr;
}

.scheduler_field.full,
.scheduler_notify_row,
.scheduler_item_link {
    grid-column: 1;
}

.scheduler_link_header {
    align-items: stretch;
    flex-direction: column;
}

.scheduler_link_header .button {
    width: 100%;
}

.scheduler_notify_row {
    align-items: center;
}

.scheduler_notify_hint {
    margin-top: 0;
}

.scheduler_form_actions {
    margin: 12px -10px -10px;
    padding: 8px 10px;
    bottom: -10px;
}

.scheduler_form_actions .button {
    flex: 1 1 0;
    min-width: 0;
}

.scheduler_delete {
    flex: 0 0 42px !important;
    overflow: hidden;
    font-size: 0;
}

.scheduler_delete i {
    font-size: 12px;
}

.scheduler_picker {
    inset: 48px 4px 54px;
    padding: 8px;
}

.scheduler_picker_item {
    grid-template-columns: 44px minmax(0, 1fr);
}

.scheduler_picker_item > small:last-child {
    display: none;
}

.scheduler_picker_icon {
    width: 42px;
    height: 42px;
}

.inventory_recommendation_menu {
    width: min(260px, calc(100vw - 16px));
    min-width: 0;
}
