/* Продавцы: карточка на человека — смены полоской, цифры, связи «карта ↔ кассир». */

.st-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 10px; }
.st-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.st-days { margin-left: auto; }
.st-note { font-size: 12.5px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.45; }
.st-alert { border: 1px solid var(--danger, #c0392b); border-left-width: 4px; border-radius: 6px; padding: 10px 14px; margin-bottom: 12px; line-height: 1.45; }
.st-ok { border: 1px solid var(--border); border-left: 4px solid var(--success, #2e7d32); border-radius: 6px; padding: 10px 14px; margin-bottom: 12px; }
.st-empty { padding: 18px; color: var(--text-muted); }

.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 12px; }
.st-person { padding: 14px 16px; }
.st-person--hot { box-shadow: inset 4px 0 0 var(--danger, #c0392b); }
.st-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.st-name { font-size: 16px; font-weight: 700; }
.st-meta { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
.st-badge { display: inline-block; font-size: 11px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--border); }
.st-badge--warn { border-color: var(--warning, #b7791f); color: var(--warning, #b7791f); }

.st-strip { display: flex; flex-wrap: wrap; gap: 3px; margin: 10px 0 8px; }
.st-day { width: 24px; height: 22px; line-height: 22px; text-align: center; font-size: 11px; border-radius: 4px;
  background: var(--bg-stripe); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.st-day--on { background: var(--text, #111); color: var(--bg, #fff); font-weight: 700; }

.st-nums { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.st-nums b { font-variant-numeric: tabular-nums; }
.st-cards { font-size: 13px; margin-top: 6px; }
.st-muted { color: var(--text-muted); font-size: 12px; }
.mono { font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 12.5px; }

.st-links-h { margin: 12px 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--text-muted); }
.st-link { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--border); font-size: 12.5px; line-height: 1.45; }
.st-link-main { min-width: 0; }
.st-link-nums { font-variant-numeric: tabular-nums; }
.st-why { color: var(--text-muted); }
.st-lv { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  padding: 0 5px; border-radius: 3px; border: 1px solid currentColor; white-space: nowrap; }
.st-lv--A { color: var(--danger, #c0392b); }
.st-lv--B { color: var(--warning, #b7791f); }
.st-lv--C { color: var(--text-muted); }

.st-eps { width: 100%; font-size: 12.5px; }
.st-eps tr.st-mine td { font-weight: 600; }
.st-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.st-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-muted); }
.st-form .st-wide { grid-column: 1 / -1; }
.st-form input, .st-form select, .st-addcard input, .st-addcard select { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--bg); }
.st-sub { margin: 16px 0 6px; font-weight: 700; font-size: 13px; }
.st-addcard { display: flex; gap: 6px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .st-days { margin-left: 0; }
  .st-form { grid-template-columns: 1fr; }
}
