.parser-summary-trigger {
  display: grid;
  gap: 4px;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid rgba(130, 158, 188, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink, #182331);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.parser-summary-trigger-title { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: var(--dashboard-font-strong); }
.parser-summary-counts { color: var(--muted, #657184); font-size: 10px; }
.parser-summary-trigger[aria-expanded="true"] { border-color: #73b8ff; box-shadow: 0 0 0 3px #168aff12; }
.parser-summary-popover {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  background: #f8fafdfc;
  color: #182331;
  box-shadow: 0 16px 50px #20364d30;
  overflow: auto;
  font: 13px/1.45 var(--dashboard-font-family);
}
.parser-summary-heading { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #e3e9f1; }
.parser-summary-heading button { border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; font: 22px/1 var(--dashboard-font-family); padding: 4px 8px; }
.parser-summary-scroll { max-height: 280px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #a5b6ca transparent; }
.parser-summary-popover table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; color: inherit; font: inherit; }
.parser-summary-popover th { position: sticky; top: 0; z-index: 1; background: #edf2f8; color: #657184; font-size: 11px; }
.parser-summary-popover th, .parser-summary-popover td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3e9f1; }
.parser-summary-popover th:first-child { width: 24%; }
.parser-summary-popover th:nth-child(2) { width: 16%; }
.parser-summary-popover th:nth-child(3) { width: 27%; }
.parser-summary-popover td:first-child { font-weight: var(--dashboard-font-medium); overflow-wrap: anywhere; }
.parser-summary-loaded-at { white-space: nowrap; font-variant-numeric: tabular-nums; }
.parser-summary-comment { white-space: pre-wrap; overflow-wrap: anywhere; }
.parser-summary-badge { display: inline-block; padding: 3px 7px; border-radius: 7px; font-size: 11px; font-weight: var(--dashboard-font-strong); white-space: nowrap; }
.parser-summary-badge.is-ok { color: #187943; background: #e0f4e8; }
.parser-summary-badge.is-stopped { color: #73501b; background: #fff0d2; }
.parser-summary-badge.is-error { color: #b2303c; background: #ffe5e8; }
.parser-summary-empty { padding: 16px; margin: 0; }
.parser-comment-editor { min-width: 220px; margin-bottom: 12px; }
.parser-comment-editor label { display: grid; gap: 5px; font-size: 11px; }
.parser-comment-editor textarea { box-sizing: border-box; width: 100%; min-height: 68px; max-height: 180px; resize: vertical; border: 1px solid #b7c9df; border-radius: 9px; padding: 9px; font-family: inherit; font-size: 13px; line-height: 1.4; background: #fff; color: #182331; }
.parser-comment-editor textarea:disabled { opacity: .55; }
.parser-comment-editor small { display: block; font-size: 10px; margin-top: 5px; color: #657184; }
.parser-comment-editor small.is-error { color: #bc2639; }
.parser-comment-editor button { margin-top: 6px; }
body[data-dashboard-theme="dark"] .parser-summary-trigger {
  background: #1c1c1e;
  border-color: rgba(142, 142, 147, .28);
  color: #f5f5f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
body[data-dashboard-theme="dark"] .parser-summary-trigger:hover {
  border-color: rgba(174, 174, 178, .42);
  background: #202022;
}
body[data-dashboard-theme="dark"] .parser-summary-trigger[aria-expanded="true"] {
  border-color: rgba(10, 132, 255, .68);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .05);
}
body[data-dashboard-theme="dark"] .parser-summary-counts { color: rgba(235, 235, 245, .62) !important; }
body[data-dashboard-theme="dark"] .parser-summary-popover { background: #1c1c1e; color: #f5f5f7; border-color: rgba(142, 142, 147, .32); }
body[data-dashboard-theme="dark"] .parser-summary-popover table,
body[data-dashboard-theme="dark"] .parser-summary-popover td { background: #1c1c1e !important; color: #f5f5f7 !important; }
body[data-dashboard-theme="dark"] .parser-summary-popover th { background: #252527 !important; color: rgba(235, 235, 245, .68) !important; }
body[data-dashboard-theme="dark"] .parser-summary-badge.is-ok { background: #1d4934 !important; color: #91ebaf !important; }
body[data-dashboard-theme="dark"] .parser-summary-badge.is-stopped { background: #4c3d20 !important; color: #f5d38a !important; }
body[data-dashboard-theme="dark"] .parser-summary-badge.is-error { background: #502b36 !important; color: #ffb0ba !important; }
body[data-dashboard-theme="dark"] .parser-summary-popover :is(th,td), body[data-dashboard-theme="dark"] .parser-summary-heading { border-color: rgba(142, 142, 147, .22); }
body[data-dashboard-theme="dark"] .parser-comment-editor textarea { background: #1c1c1e !important; color: #f5f5f7 !important; border-color: rgba(142, 142, 147, .38); }
body[data-dashboard-theme="dark"] .parser-comment-editor small { color: rgba(235, 235, 245, .68) !important; }
body[data-dashboard-theme="dark"] .parser-comment-editor small.is-error { color: #ff99a5 !important; }
.updates-instruction-image { margin: 18px 0 0; }
.updates-instruction-image img { display: block; width: 100%; max-width: 1040px; height: auto; border-radius: 14px; }
.updates-instruction-image figcaption { margin-top: 6px; color: var(--muted, #657184); font-size: 12px; }
@media (max-width: 480px) {
  .hero-status-row .parser-summary-trigger { min-width: 0; width: max-content; }
  .parser-summary-popover th, .parser-summary-popover td { padding: 9px 6px; font-size: 11px; }
  .parser-summary-popover th:first-child { width: 24%; }
  .parser-summary-popover th:nth-child(2) { width: 18%; }
  .parser-summary-popover th:nth-child(3) { width: 30%; }
  .parser-summary-badge { font-size: 10px; padding: 3px 5px; }
}

.parser-summary-counts { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 720px) {
  .hero-status-row .parser-summary-trigger {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
  }
  .hero-status-row .parser-summary-trigger-title {
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
  }
  .hero-status-row .parser-summary-counts { display: none; }
}
