/* ===== schedule-upload-autodetect-v1 ===== */

.schedule-upload-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:10px}
.schedule-upload-btn,.schedule-upload-clear{border:none;border-radius:14px;padding:12px 14px;font-weight:900;cursor:pointer;box-shadow:var(--shadow-card)}
.schedule-upload-btn{background:linear-gradient(90deg,#0ea5e9,#2563eb);color:#fff}
.schedule-upload-clear{background:rgba(15,23,42,.08);color:var(--text-main)}
.schedule-upload-preview{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.schedule-upload-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(37,99,235,.10);color:var(--text-main);font-weight:800;border:1px solid rgba(37,99,235,.16);max-width:100%}
.schedule-upload-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
body.dark-mode .schedule-upload-clear{background:rgba(255,255,255,.08)}
.schedule-note-media{margin-top:10px;display:flex;flex-direction:column;gap:10px}
.schedule-note-image{max-width:min(100%,320px);border-radius:14px;border:1px solid var(--border);box-shadow:var(--shadow-card)}
.schedule-note-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.schedule-note-file{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;background:rgba(37,99,235,.10);color:var(--text-main);font-weight:900;text-decoration:none;border:1px solid rgba(37,99,235,.16);max-width:100%}
.schedule-note-file:hover{text-decoration:none;filter:brightness(0.98)}
