.timetable { display: flex; flex-direction: column; height: 100%; animation: fadeIn 0.2s ease-out; } .timetable-scroll { flex: 1; overflow-y: auto; padding: 8px 0 16px; } .timetable-inner { position: relative; cursor: crosshair; user-select: none; } .timetable-inner-dragging { cursor: ns-resize; } .timetable-inner-block-dragging { cursor: grabbing; } .timetable-hour { position: absolute; left: 0; right: 0; height: 0; pointer-events: none; } .timetable-hour-label { position: absolute; left: 0; width: 44px; padding-right: 6px; text-align: right; font-size: 9.5px; color: var(--text-muted); letter-spacing: 0.04em; transform: translateY(-50%); } .timetable-hour-line { position: absolute; left: 44px; right: 0; top: 0; height: 1px; background: var(--border); } .timetable-now-line { position: absolute; left: 44px; right: 0; height: 1px; background: var(--accent); opacity: 0.5; pointer-events: none; z-index: 1; } .timetable-now-line::before { content: ''; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 1; } .timetable-block { position: absolute; cursor: grab; background: var(--accent-dim); border-left: 2px solid var(--accent); border-radius: 0 4px 4px 0; padding: 3px 6px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 1px; transition: background 0.1s; } .timetable-block:hover { background: rgba(136, 136, 136, 0.2); } [data-theme="light"] .timetable-block:hover { background: rgba(68, 68, 68, 0.14); } .timetable-block-live { border-left-color: var(--success); background: rgba(74, 222, 128, 0.06); } [data-theme="light"] .timetable-block-live { background: rgba(22, 163, 74, 0.06); } .timetable-block-live .timetable-block-name { animation: pulse 2.5s ease-in-out infinite; } .timetable-block-dragging { cursor: grabbing; z-index: 5; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); transition: none; } .timetable-block-resize-handle { position: absolute; bottom: 0; left: 0; right: 0; height: 8px; cursor: ns-resize; } .timetable-block:hover .timetable-block-resize-handle::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; border-radius: 1px; background: var(--accent); opacity: 0.5; } .timetable-block-name { font-size: 11px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .timetable-block-dur { font-size: 10px; color: var(--text-dim); font-family: var(--font-mono); } .timetable-state { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-display); font-style: italic; color: var(--text-dim); font-size: 13px; } .timetable-state small { font-size: 11px; color: var(--text-muted); } .timetable-drag-preview { position: absolute; background: var(--accent-dim); border-left: 2px solid var(--accent); border-radius: 0 4px 4px 0; pointer-events: none; z-index: 2; display: flex; align-items: flex-start; padding: 3px 6px; } .timetable-drag-label { font-size: 10px; color: var(--text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; } .timetable-draft-form { position: absolute; z-index: 10; background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); cursor: default; } .draft-time { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text-dim); font-variant-numeric: tabular-nums; } .draft-dur { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); } .draft-input { background: var(--bg); border: 1px solid var(--border-strong); border-radius: 4px; padding: 6px 8px; font-size: 12px; color: var(--text); width: 100%; user-select: text; cursor: text; } .draft-input:focus { border-color: var(--accent); } .draft-actions { display: flex; gap: 6px; justify-content: flex-end; } .draft-cancel { padding: 4px 10px; font-size: 11px; color: var(--text-muted); border-radius: 4px; cursor: pointer; } .draft-cancel:hover { color: var(--text); background: var(--bg-hover); } .draft-save { padding: 4px 12px; font-size: 11px; font-weight: 500; background: var(--cta-bg); color: var(--cta-text); border-radius: 4px; cursor: pointer; transition: opacity 0.1s; } .draft-save:disabled { opacity: 0.5; cursor: default; }