/* Versand-Überwachung: genutzt in der App (Variablen aus styles.css) und im Kundenportal (portal.css stellt dieselben bereit). */
.vs-page { padding-bottom: 40px; }
.vs-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; justify-content: space-between; margin: 4px 0 12px; }
.vs-stand { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1 1 320px; min-width: 0; overflow-wrap: anywhere; }
.vs-stand b { color: var(--text); }
.vs-muted { color: var(--text-faint); font-size: 12px; }
.vs-warn { margin-top: 6px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--warning-soft); color: var(--warning); font-size: 13px; }
.vs-problems { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.vs-problem { padding: 9px 12px; border-radius: var(--radius-md); font-size: 13.5px; line-height: 1.45; border: 1px solid transparent; }
.vs-problem.vs-rot { background: var(--danger-soft); color: #ffb3c1; border-color: rgba(255, 92, 122, .35); }
.vs-problem.vs-gelb { background: var(--warning-soft); color: var(--warning); }
.vs-problem.vs-ok { background: rgba(62, 207, 142, .12); color: #7edcb8; }
.vs-bad { color: var(--danger); }
.vs-good { color: #3ecf8e; }
.vs-hint { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 6px 0 10px; }
.vs-h { font-size: 14px; margin: 22px 0 8px; color: var(--text); }
.vs-empty { font-size: 13px; color: var(--text-faint); padding: 10px 0; }
.vs-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.vs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vs-table th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--text-faint); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--bg-elevated); }
.vs-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.vs-table tbody tr:last-child td { border-bottom: none; }
.vs-table .vs-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs-table .vs-items { min-width: 180px; color: var(--text-muted); }
.vs-table a { color: var(--text); }
.vs-row-bad td { background: var(--danger-soft); }
.vs-weeks td { min-width: 70px; }
.vs-barcell { display: flex; align-items: center; gap: 6px; min-width: 140px; }
.vs-bar { display: inline-block; height: 8px; border-radius: 4px; }
.vs-bar-h { background: var(--text-muted); }
.vs-bar-d { background: #3ecf8e; }
.vs-bar-bad { background: var(--danger); }
.vs-barval { font-variant-numeric: tabular-nums; font-size: 12.5px; white-space: nowrap; }
.vs-details { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 12px; background: var(--bg-elevated); }
.vs-details > summary { cursor: pointer; font-weight: 600; font-size: 13.5px; }
.vs-details[open] > summary { margin-bottom: 10px; }
.vs-form { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.vs-row { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-row > .vs-field { flex: 1 1 200px; }
.vs-field { display: flex; flex-direction: column; gap: 4px; }
.vs-field > span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.vs-field small { color: var(--text-faint); font-size: 11.5px; }
.vs-check { display: flex; gap: 8px; align-items: flex-start; color: var(--text-muted); line-height: 1.4; }
.vs-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-primary { background: var(--accent); color: var(--accent-ink); }
.vs-primary:hover { background: var(--accent); color: var(--accent-ink); opacity: .9; }
.vs-danger { color: var(--danger); }
.vs-link { background: none; border: none; color: var(--text-muted); text-decoration: underline; padding: 0; font: inherit; font-size: 12.5px; cursor: pointer; align-self: flex-start; }
.vs-connect { margin-top: 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 14px 16px; background: var(--bg-elevated); }
.vs-steps { margin: 8px 0 14px; padding-left: 20px; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.vs-steps b { color: var(--text); }
.vs-steps a { color: var(--text); }
.vs-connect code, .vs-form code { background: var(--bg-elevated-2); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
@media (max-width: 560px) {
  .vs-table { font-size: 12.5px; }
  .vs-table th, .vs-table td { padding: 7px 8px; }
}
.vs-copy { cursor: copy; user-select: all; overflow-wrap: anywhere; }
.vs-steps li { margin-bottom: 6px; }
.vs-check.vs-sub { padding-left: 26px; }
.vs-check input:disabled + * , .vs-check:has(input:disabled) { opacity: .55; }
