/* Shop Care card on the Shift Pass. */
.sc-card {
  --sc-shell: #1d2031;
  --sc-panel: #282b3e;
  --sc-ink: #fff4df;
  --sc-muted: #cec8c6;
  --sc-good: #a9e4c3;
  --sc-warn: #ffb89f;
  display: grid; gap: 4px; margin-bottom: 22px; padding: 18px;
  border: 1px solid #4c4b5d; border-radius: 20px;
  background: var(--sc-shell); color: var(--sc-ink); box-shadow: 0 8px 20px #15172726;
}
.sc-card[hidden] { display: none; }
.sc-card.is-compact { padding: 12px 16px; border-radius: 16px; }
.sc-compact { margin: 0; font-size: 14.5px; color: var(--sc-muted); line-height: 1.4; }
.sc-compact b { color: var(--sc-ink); }

.sc-head { display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; align-items: center; }
.sc-head-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); font-size: 24px; grid-row: span 2; }
.sc-head h2 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 900; }
.sc-head p { margin: 3px 0 0; color: var(--sc-muted); font-size: 14px; line-height: 1.35; }
.sc-count { grid-column: 2; justify-self: start; font-size: 12.5px; font-weight: 800; color: var(--navy); background: var(--yellow); border-radius: 999px; padding: 3px 9px; }

.sc-sec {
  margin: 14px 2px 6px; font: 700 11.5px/1.3 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .08em; text-transform: uppercase; color: var(--yellow);
}
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-job { background: var(--sc-panel); border-radius: 14px; padding: 11px 12px; }
.sc-job.is-done { background: #21342e; }
.sc-job.is-done b { text-decoration: line-through; text-decoration-color: var(--sc-good); opacity: .85; }
.sc-job.is-late { background: #3d2a2e; box-shadow: inset 0 0 0 1px var(--coral); }
.sc-job-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.sc-ic { font-size: 22px; text-align: center; }
.sc-text b { display: block; font-size: 15px; line-height: 1.3; }
.sc-text small { display: block; margin-top: 2px; color: var(--sc-muted); font-size: 12.5px; line-height: 1.35; }
.sc-text .sc-good, .sc-text .sc-mine { color: var(--sc-good); font-weight: 700; }
.sc-text .sc-taken { color: #ffd477; font-weight: 700; }
.sc-text .sc-late { color: var(--sc-warn); font-weight: 700; }
.sc-btn { min-height: 44px; padding: 8px 14px; border-radius: 11px; font-size: 14px; white-space: nowrap; }
.sc-tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1f8a5b; color: #fff; font-weight: 900; }

.sc-extras { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0 40px; }
.sc-link {
  min-height: 36px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--sc-muted); font: 700 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: underline; text-underline-offset: 3px;
}
.sc-link:focus-visible, .sc-btn:focus-visible, .sc-photo-add:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.sc-photo { margin: 10px 0 0 40px; display: grid; gap: 8px; }
.sc-photo img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; }
.sc-photo-add {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 88px; width: 100%;
  border: 2px dashed #768091; border-radius: 12px; background: transparent; color: var(--sc-ink);
  font: 700 14px/1.3 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer;
}
.sc-photo-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.sc-error { margin: 8px 2px 0; color: var(--sc-warn); font-size: 13.5px; font-weight: 700; }
.sc-announce { margin: 6px 2px 0; color: var(--sc-good); font-size: 13px; font-weight: 700; }
.sc-announce:empty { display: none; }
.sc-card button:disabled { opacity: .6; cursor: wait; }
