.link-status-shell { max-width: 760px; }
.link-status-shell .manual-card + .manual-card { margin-top: 0; }
.status-query-modes { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.status-query-modes button { flex: 1; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-weight: 700; cursor: pointer; }
.status-query-modes button[aria-pressed="true"] { color: var(--blue-dark); background: var(--bg); box-shadow: 0 2px 8px rgba(30, 60, 90, .1); }
.status-query-modes button:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
.batch-help { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.batch-query-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.batch-query-actions .manual-primary { flex: 1; }
.batch-results { min-width: 0; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.batch-results-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.batch-result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.batch-results-heading h3 { margin: 0; font-size: 17px; }
.batch-summary { color: var(--text); font-size: 13px; line-height: 1.8; }
.batch-table-wrap { max-width: 100%; overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; }
.batch-status-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; font-variant-numeric: tabular-nums; }
.batch-status-table th, .batch-status-table td { padding: 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.batch-status-table th { color: var(--muted); background: var(--panel); }
.batch-status-table tr:last-child td { border-bottom: 0; }
.batch-status-table tr[data-tone="success"] td:nth-child(4) { color: var(--blue-dark); font-weight: 750; }
.batch-status-table tr[data-tone="danger"] td:nth-child(4) { color: var(--red); }
.back-submit-link { display: inline-flex; margin-top: 18px; color: var(--blue-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.link-status-result[data-tone="pending"] .status-icon { position: relative; display: block; width: min(280px, 72vw); height: 12px; margin-bottom: 24px; overflow: hidden; color: transparent; border: 1px solid rgba(77, 167, 225, .34); border-radius: 999px; background: rgba(68, 116, 154, .2); box-shadow: 0 8px 22px rgba(30, 141, 181, .14); animation: pending-progress-enter .35s ease-out; }
.link-status-result[data-tone="pending"] .status-icon::before { content: ''; position: absolute; inset: 1px auto 1px -42%; width: 42%; border-radius: inherit; background: linear-gradient(90deg, #36c8a3, #3f9df4); box-shadow: 0 0 14px rgba(54, 200, 163, .42); animation: pending-progress-sweep 1.35s ease-in-out infinite; }
@keyframes pending-progress-enter { from { opacity: 0; transform: scaleX(.72); } }
@keyframes pending-progress-sweep { 0% { left: -42%; } 100% { left: 100%; } }
.link-status-result[data-tone="processing"] .status-icon { background: linear-gradient(145deg, #64b8ff, #318fe9); }
.link-status-result[data-tone="paused"] .status-icon { background: linear-gradient(145deg, #f1b84b, #d98a1d); box-shadow: 0 12px 28px rgba(217, 138, 29, .2); }
.link-status-result[data-tone="danger"] .status-icon { background: linear-gradient(145deg, #ff8d94, #df5962); box-shadow: 0 12px 28px rgba(223, 89, 98, .2); }
.link-status-details { display: grid; width: min(520px, 100%); margin: 24px auto; border: 1px solid var(--line); border-radius: 10px; text-align: left; }
.link-status-details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
.link-status-details > div + div { border-top: 1px solid var(--line); }
.link-status-details dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.link-status-details dd { margin: 0; color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.link-status-details dd:empty { color: var(--muted); }
.link-status-result .status-actions a { text-decoration: none; }
@media (max-width: 480px) {
  .link-status-details > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .link-status-result[data-tone="pending"] .status-icon,
  .link-status-result[data-tone="pending"] .status-icon::before { animation: none; }
  .link-status-result[data-tone="pending"] .status-icon::before { inset: 1px; width: auto; }
}
