#view-schedule[data-schedule-batch-c="ready"] .mini-nav-arrows {
    display: none;
}

#view-schedule[data-schedule-batch-c="ready"] .mini-calendar-header {
    justify-content: flex-start;
}

#view-schedule[data-schedule-batch-c="ready"] .mini-calendar-container::before {
    content: "日付ジャンプ";
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted, #64748b);
    font-size: 12px;
    font-weight: 700;
}

#view-schedule .calendar-day.batch-c-selected {
    box-shadow: inset 0 0 0 2px var(--color-primary, #2563eb);
}

#view-schedule .mini-calendar-day.batch-c-selected:not(.today) {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
}

.schedule-batch-c-modal {
    max-width: 560px !important;
}

.schedule-batch-c-modal .required-mark,
.schedule-inline-error {
    color: var(--color-error, #dc2626);
}

.schedule-inline-error {
    margin: -6px 0 12px;
    font-size: 13px;
    font-weight: 600;
}

.schedule-conflict-warning {
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    background: #fffbeb;
    color: #78350f;
}

.schedule-conflict-warning[hidden],
.schedule-inline-error[hidden] {
    display: none;
}

.schedule-conflict-warning strong {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.schedule-conflict-warning p {
    margin: 6px 0 10px;
    font-size: 13px;
    line-height: 1.5;
}

.schedule-conflict-warning label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.schedule-conflict-warning input {
    width: 16px;
    height: 16px;
}

.schedule-batch-c-timeline {
    display: grid;
    gap: 20px;
    padding: 4px 0 24px;
}

.schedule-batch-c-month {
    color: var(--text-muted, #64748b);
    font-size: 13px;
    font-weight: 700;
}

.schedule-batch-c-section,
.schedule-batch-c-past {
    display: grid;
    gap: 8px;
}

.schedule-batch-c-section h4,
.schedule-batch-c-past summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--text-primary, #172033);
    font-size: 15px;
    font-weight: 700;
}

.schedule-batch-c-section h4 span,
.schedule-batch-c-past summary span {
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    text-align: center;
    font-size: 12px;
}

.schedule-batch-c-past summary {
    cursor: pointer;
    list-style-position: inside;
}

.schedule-batch-c-past[open] summary {
    margin-bottom: 8px;
}

.schedule-batch-c-item {
    display: grid;
    grid-template-columns: minmax(132px, 172px) minmax(0, 1fr);
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #d7e0ea;
    border-left: 3px solid #0ea5a4;
    border-radius: 6px;
    background: #fff;
}

.schedule-batch-c-item time {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.schedule-batch-c-item-main {
    min-width: 0;
}

.schedule-batch-c-item-main > strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--text-primary, #172033);
    font-size: 15px;
}

.schedule-batch-c-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 8px;
    color: var(--text-muted, #64748b);
    font-size: 12px;
}

.schedule-batch-c-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.schedule-batch-c-meta i {
    color: #0f766e;
}

.schedule-batch-c-empty {
    margin: 0;
    padding: 14px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    color: var(--text-muted, #64748b);
    font-size: 13px;
}

@media (max-width: 720px) {
    .schedule-batch-c-item {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .schedule-batch-c-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .schedule-batch-c-meta span {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 440px) {
    .schedule-batch-c-meta {
        grid-template-columns: 1fr;
    }
}
