/* Календарь смен соискателя (shift-calendar.mjs). Токены --blue, --ink, --line, --muted — из catalogue-ui.css. */
.shift-calendar { --shift-going: #0968f9; --shift-pending: #b07400; --shift-done: #1a7f45; --shift-missed: #c4321f; display: grid; gap: 14px; min-width: 0; }

.shift-cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shift-cal-month { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.shift-cal-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line, #dce6f0); border-radius: 12px; background: #fff; font-size: 22px; line-height: 1; color: var(--ink, #08152b); }
.shift-cal-arrow:hover { border-color: var(--blue, #0968f9); }

.shift-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.shift-cal-weekday { padding-bottom: 4px; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted, #53647a); text-transform: uppercase; letter-spacing: .06em; }
.shift-cal-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; aspect-ratio: 1 / 1; max-height: 64px; padding: 0; border: 1px solid transparent; border-radius: 12px; background: #f6f9fc; font-variant-numeric: tabular-nums; }
.shift-cal-day:hover { border-color: var(--line, #dce6f0); }
.shift-cal-num { font-size: 14px; font-weight: 700; }
.shift-cal-day.is-today .shift-cal-num { color: var(--blue, #0968f9); font-weight: 800; }
.shift-cal-day.is-today { border-color: var(--blue, #0968f9); }
.shift-cal-day.has-shift.is-going { background: #e7f0ff; }
.shift-cal-day.has-shift.is-confirm, .shift-cal-day.has-shift.is-pending { background: #fff6e0; }
.shift-cal-day.has-shift.is-done { background: #e8f6ee; }
.shift-cal-day.has-shift.is-missed { background: #fff3f1; }
.shift-cal-day.is-selected { border-color: var(--ink, #08152b); box-shadow: inset 0 0 0 1px var(--ink, #08152b); }
.shift-cal-dots { display: flex; gap: 3px; height: 6px; }

.shift-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--shift-going); }
.shift-dot.is-confirm, .shift-dot.is-pending { background: transparent; box-shadow: inset 0 0 0 1.5px var(--shift-pending); }
.shift-dot.is-done { background: var(--shift-done); }
.shift-dot.is-missed { background: var(--shift-missed); }

.shift-cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted, #53647a); }
.shift-cal-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.shift-cal-legend .shift-dot { width: 8px; height: 8px; }

.shift-cal-details { display: grid; gap: 10px; }
.shift-cal-subtitle { margin: 6px 0 0; font-size: 14px; font-weight: 800; }
.shift-cal-empty { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted, #53647a); }

.shift-entry { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line, #dce6f0); border-left: 4px solid var(--shift-going); border-radius: 12px; background: #fff; min-width: 0; }
.shift-entry.is-confirm, .shift-entry.is-pending { border-left-color: var(--shift-pending); }
.shift-entry.is-done { border-left-color: var(--shift-done); }
.shift-entry.is-missed { border-left-color: var(--shift-missed); }
.shift-entry-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.shift-entry-when { font-size: 13px; font-weight: 800; color: var(--ink, #08152b); }
.shift-entry-title { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.shift-entry-place { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.shift-entry-meta { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted, #53647a); overflow-wrap: anywhere; }
.shift-entry-link { justify-self: start; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--blue, #0968f9); }

.shift-pill { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #e7f0ff; color: #0758d4; }
.shift-pill.is-confirm, .shift-pill.is-pending { background: #fff6e0; color: #8a5a00; }
.shift-pill.is-done { background: #e8f6ee; color: var(--shift-done); }
.shift-pill.is-missed { background: #fff3f1; color: var(--shift-missed); }
