/* working.css - the Working screen (progress card). */

.working { max-width: 720px; margin: 0 auto; }

.work-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.work-clocks { display: flex; gap: 20px; flex: none; text-align: right; }
.work-clock .wc-v { font-size: 20px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.work-clock .wc-l { font-size: 11.5px; color: var(--muted); font-weight: 600; }

.work-current { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--brand-tint); border-radius: var(--r-md); font-size: 13.5px; color: var(--navy); font-weight: 600; margin: 16px 0 22px; }
[data-theme="dark"] .work-current { color: var(--ink); }
.work-current .ic { width: 18px; height: 18px; flex: none; }

.work-foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; }

/* Reconnecting banner */
.reconnect { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--warn-text); background: var(--warn-bg); border-radius: var(--r-pill); padding: 6px 12px; }
.reconnect .ic { width: 15px; height: 15px; }
.reconnect .ic.spin { animation: clm-spin .9s linear infinite; }
@keyframes clm-spin { to { transform: rotate(360deg); } }

/* Failed card */
.failed-card { max-width: 560px; margin: 0 auto; text-align: center; }
.failed-card .fc-ic { width: 56px; height: 56px; border-radius: var(--r-pill); background: var(--danger-bg); color: var(--danger); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.failed-card .fc-ic .ic { width: 28px; height: 28px; }
.failed-card h2 { font-size: 19px; margin-bottom: 6px; }
.failed-card .fc-msg { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.failed-card .fc-where { font-size: 12.5px; color: var(--muted); font-family: var(--mono); margin-bottom: 20px; }
.failed-card .fc-actions { display: flex; gap: 10px; justify-content: center; }
