/*! Satnam Siri WaheGuru Sahib Ji */
.gb-dashboard, .gb-workspace, .gb-result-summary, .gb-results-panel,
.gb-drop-zone, .gb-scan-stage, .gb-results, .gb-panel, .gb-rail { padding: 0; }
.gb-dashboard svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; }
.gb-dashboard button svg, .gb-dashboard .gb-chip svg { font-size: 15px; }
.gb-dashboard {
  color-scheme: dark;
  --gb-page: #08090e;
  --gb-surface: #10121a;
  --gb-surface-2: #171a25;
  --gb-ink: #f4f3f8;
  --gb-muted: #a3a5b5;
  --gb-line: rgba(183, 184, 211, 0.14);
  --gb-line-strong: rgba(158, 150, 235, 0.48);
  --gb-fill: #202333;
  --gb-fill-dark: #8d80f7;
  --gb-orange: #ff6b2c;
  --gb-violet: #8d80f7;
  --gb-violet-soft: #b0a7ff;
  --gb-teal: #35d6c2;
  --gb-danger: #ff5f79;
  --gb-success: #4cdda4;
  --gb-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.gb-dashboard * { box-sizing: border-box; }
.gb-dashboard :not(*) { overflow-x: clip; background: var(--gb-page); }
.gb-dashboard { margin: 0; overflow-x: clip; color: var(--gb-ink); background: radial-gradient(circle at 68% 12%, rgba(91, 76, 190, 0.12), transparent 30rem), radial-gradient(circle at 8% 40%, rgba(255, 107, 44, 0.05), transparent 25rem), var(--gb-page); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.gb-dashboard button, .gb-dashboard input { font: inherit; }
.gb-dashboard button { color: inherit; }
.gb-dashboard a:focus-visible, .gb-dashboard button:focus-visible, .gb-dashboard input:focus-visible, .gb-dashboard select:focus-visible, .gb-dashboard textarea:focus-visible, .gb-dashboard summary:focus-visible, .gb-dashboard [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gb-dashboard [hidden] { display: none !important; }

.gb-page { max-width: 1440px; margin: 0 auto; padding: 18px; }
.gb-dashboard { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 920px; overflow: clip; border: 1px solid var(--gb-line-strong); border-radius: 18px; background: var(--gb-surface); box-shadow: var(--gb-shadow); }
.gb-rail { display: flex; flex-direction: column; gap: 20px; padding: 24px 18px; border-right: 1px solid var(--gb-line); background: var(--gb-surface-2); }
.gb-brand { padding: 2px 8px 22px; border-bottom: 1px solid var(--gb-line); }
.gb-brand h1, .gb-heading h2, .gb-stage-head h3, .gb-results h3, .gb-panel h3, .gb-single-source h3 { margin: 0; line-height: 1.2; }
.gb-brand h1 { font-size: 22px; }
.gb-kicker { margin: 0 0 7px; color: var(--gb-muted); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.gb-nav { display: grid; gap: 8px; }
.gb-nav-item { display: grid; grid-template-columns: 26px minmax(0, 1fr) 10px; align-items: center; gap: 10px; min-height: 70px; padding: 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; }
.gb-nav-item:hover { border-color: var(--gb-line); }
.gb-nav-item.is-active { border-color: var(--gb-line-strong); background: var(--gb-surface); }
.gb-icon-slot, .gb-status-slot { display: block; border: 1px solid var(--gb-line-strong); background: var(--gb-fill); }
.gb-icon-slot { width: 25px; height: 25px; border-radius: 6px; }
.gb-status-slot { width: 8px; height: 8px; border-radius: 50%; }
.gb-nav-copy { min-width: 0; }
.gb-nav-copy strong, .gb-nav-copy small { display: block; }
.gb-nav-copy strong { font-size: 13px; line-height: 1.25; }
.gb-nav-copy small { margin-top: 4px; overflow: hidden; color: var(--gb-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.gb-privacy { margin-top: auto; padding: 13px; border: 1px dashed var(--gb-line-strong); border-radius: 9px; color: var(--gb-muted); font-size: 11px; }
.gb-main { min-width: 0; padding: 34px; }
.gb-heading { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--gb-line); }
.gb-heading h2 { font-size: clamp(26px, 3vw, 38px); }
.gb-heading p:last-child { max-width: 760px; margin: 9px 0 0; color: var(--gb-muted); }

.gb-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gb-button, .gb-text-button, .gb-dialog-close { min-height: 42px; border: 1px solid var(--gb-line-strong); border-radius: 8px; background: var(--gb-surface); font-weight: 700; cursor: pointer; }
.gb-button { padding: 9px 15px; }
.gb-button:hover:not(:disabled), .gb-text-button:hover:not(:disabled), .gb-dialog-close:hover { background: var(--gb-fill); }
.gb-button.is-primary { border-width: 2px; background: #dedede; }
.gb-button.is-danger { border-style: dashed; }
.gb-button.is-quiet { border-style: dashed; color: var(--gb-muted); }
.gb-button:disabled, .gb-text-button:disabled { cursor: not-allowed; opacity: 0.45; }
.gb-text-button { min-height: 34px; padding: 5px 9px; border-color: transparent; background: transparent; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.gb-control-row, .gb-stage-actions, .gb-toolbar-actions, .gb-scan-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.gb-drop-zone, .gb-single-source { display: grid; place-items: center; min-height: 430px; padding: 34px; border: 2px dashed var(--gb-line-strong); border-radius: 14px; background: var(--gb-surface-2); text-align: center; transition: background 160ms ease, border-color 160ms ease; }
.gb-drop-zone.is-dragging { border-style: solid; background: #dddddd; }
.gb-report-dialog.gb-export-dialog { width: min(560px, calc(100vw - 28px)); }
.gb-export-formats, .gb-export-scope { display: grid; gap: 8px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--gb-line); border-radius: 10px; background: var(--gb-surface-2); }
.gb-export-formats legend, .gb-export-scope legend { padding: 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gb-muted); }
.gb-export-formats label, .gb-export-scope label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; min-height: 24px; padding: 4px 0; cursor: pointer; }
.gb-export-formats input, .gb-export-scope input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gb-orange); }
.gb-export-formats strong, .gb-export-scope strong { display: block; font-size: 14px; }
.gb-export-formats small, .gb-export-scope small { display: block; margin-top: 2px; color: var(--gb-muted); font-size: 12px; }
.gb-export-values { padding: 14px 16px; border: 1px solid var(--gb-line); border-radius: 10px; background: var(--gb-surface-2); }
.gb-export-values-main { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; min-height: 24px; cursor: pointer; }
.gb-export-values-main input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gb-orange); }
.gb-export-values-main strong { display: block; font-size: 14px; }
.gb-export-values-main small { display: block; margin-top: 3px; color: var(--gb-muted); font-size: 12px; line-height: 1.5; }
.gb-export-warn { display: flex; gap: 7px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--gb-line-strong); border-radius: 8px; background: var(--gb-surface); font-size: 12px; line-height: 1.5; }
.gb-export-warn svg { flex: none; margin-top: 2px; color: var(--gb-orange); }

.gb-picking { position: fixed; left: 50%; bottom: 22px; z-index: 11; display: flex; align-items: center; gap: 12px; max-width: min(460px, calc(100vw - 44px)); padding: 12px 16px; border: 2px solid var(--gb-line-strong); border-radius: 9px; background: var(--gb-surface); box-shadow: var(--gb-shadow); transform: translateX(-50%); }
.gb-picking p { flex: 1 1 auto; margin: 0; font-size: 13px; font-weight: 700; }
.gb-picking .gb-text-button { flex: 0 0 auto; }
.gb-picking-spin { width: 26px; height: 26px; border: 2px solid var(--gb-line-strong); border-top-color: var(--gb-orange); border-radius: 50%; animation: gb-picking-turn 900ms linear infinite; }
@keyframes gb-picking-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gb-picking-spin { animation: none; } }
:root[data-theme="light"] .gb-dashboard .gb-picking { background: #14161f; color: #ffffff; border-color: transparent; }
:root[data-theme="light"] .gb-dashboard .gb-picking .gb-text-button { color: #ffffff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .gb-dashboard .gb-picking { background: #14161f; color: #ffffff; border-color: transparent; }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-picking .gb-text-button { color: #ffffff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
}
.gb-second-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; }
.gb-second-try .gb-text-button { flex: none; }
.gb-drop-content { max-width: 680px; }
.gb-drop-zone h3, .gb-single-source h3 { margin-top: 18px; font-size: clamp(22px, 3vw, 31px); }
.gb-drop-zone p, .gb-single-source p { color: var(--gb-muted); }
.gb-large-icon-slot { position: relative; width: 92px; height: 72px; margin: 0 auto; border: 2px solid var(--gb-line-strong); border-radius: 10px; background: var(--gb-fill); }
.gb-large-icon-slot::before { content: ''; position: absolute; top: -12px; left: 12px; width: 30px; height: 15px; border: 2px solid var(--gb-line-strong); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--gb-fill); }
.gb-large-icon-slot span::before, .gb-large-icon-slot span::after { content: ''; position: absolute; left: 50%; width: 2px; background: var(--gb-line-strong); transform: translateX(-50%); }
.gb-large-icon-slot span::before { top: 22px; height: 24px; }
.gb-large-icon-slot span::after { top: 20px; width: 13px; height: 13px; border-right: 2px solid var(--gb-line-strong); border-bottom: 2px solid var(--gb-line-strong); background: transparent; transform: translateX(-50%) rotate(45deg); }
.gb-microcopy { margin: 16px 0 0; font-size: 12px; }
.gb-scan-stage, .gb-result-summary, .gb-results-panel, .gb-panel { overflow: hidden; border: 1px solid var(--gb-line); border-radius: 13px; background: var(--gb-surface); }
.gb-stage-head, .gb-results-toolbar, .gb-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--gb-line); }
.gb-stage-actions { justify-content: flex-end; }

.gb-scanner-shell { position: relative; display: grid; place-items: center; min-height: 340px; overflow: hidden; border-bottom: 1px solid var(--gb-line); background: #e4e4e4; }
.gb-scanner-shell::before, .gb-scanner-shell::after { content: ''; position: absolute; background: var(--gb-line); opacity: 0.65; }
.gb-scanner-shell::before { width: min(560px, 88%); height: 1px; }
.gb-scanner-shell::after { width: 1px; height: 260px; }
.gb-scanner-visual { position: relative; width: 250px; height: 250px; border: 1px solid var(--gb-line-strong); border-radius: 50%; background: var(--gb-surface-2); box-shadow: inset 0 0 0 32px #e1e1e1, inset 0 0 0 33px var(--gb-line); }
.gb-orbit, .gb-sweep, .gb-scan-core { position: absolute; display: block; border-radius: 50%; }
.gb-orbit { border: 1px dashed var(--gb-line-strong); }
.gb-orbit.is-one { inset: 40px; }
.gb-orbit.is-two { inset: 74px; border-style: solid; }
.gb-scan-core { inset: 104px; z-index: 3; background: var(--gb-line-strong); }
.gb-sweep { top: 50%; left: 50%; z-index: 2; width: 116px; height: 2px; border-radius: 0; background: var(--gb-line-strong); transform-origin: 0 50%; }
.gb-sweep::after { content: ''; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gb-line-strong); }
.gb-scanner-shell[data-scan-state='running'] .gb-scanner-visual { animation: gb-pulse 1.4s ease-in-out infinite; }
.gb-scanner-shell[data-scan-state='running'] .gb-sweep { animation: gb-sweep 1.25s linear infinite; }
.gb-scanner-shell[data-scan-state='complete'] .gb-scanner-visual { box-shadow: inset 0 0 0 32px #d8d8d8, inset 0 0 0 35px var(--gb-line-strong); }
.gb-scanner-shell[data-scan-state='stopped'] .gb-sweep { transform: rotate(28deg); }
.gb-scan-readout { position: absolute; right: max(28px, 7%); bottom: 28px; z-index: 4; display: grid; padding: 10px 13px; border: 1px solid var(--gb-line-strong); border-radius: 8px; background: var(--gb-surface); text-align: right; }
.gb-scan-readout strong { font-size: 20px; line-height: 1.15; }
.gb-scan-readout span { color: var(--gb-muted); font-size: 11px; text-transform: uppercase; }
.gb-current-file { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 14px 20px 10px; }
.gb-current-file span { color: var(--gb-muted); font-size: 12px; text-transform: uppercase; }
.gb-current-file strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-progress { height: 10px; margin: 0 20px 14px; overflow: hidden; border: 1px solid var(--gb-line-strong); border-radius: 99px; background: var(--gb-surface-2); }
.gb-progress span { display: block; width: 0; height: 100%; background: var(--gb-fill-dark); transition: width 120ms linear; }
.gb-queue-types { margin: 0 20px 14px; color: var(--gb-muted); font-size: 12px; }
.gb-tiers { margin: 0 20px 16px; padding: 14px 16px; border: 1px solid var(--gb-line); border-radius: 10px; background: var(--gb-surface-2); }
.gb-tiers.is-compact { margin: 8px 0 0; padding: 0; border: 0; background: none; }
.gb-tiers.is-compact > summary { padding: 4px 0; color: var(--gb-violet-soft); cursor: pointer; font-size: 12px; }
.gb-tiers.is-compact .gb-tier-list { padding-top: 8px; max-width: 520px; }
.gb-tiers-head h4 { margin: 0 0 3px; }
.gb-tiers-head p { margin: 0 0 12px; color: var(--gb-muted); font-size: 12px; }
.gb-tier-list { display: grid; gap: 8px; }
.gb-tier { display: flex; align-items: flex-start; gap: 9px; padding: 8px 10px; border: 1px solid var(--gb-line); border-radius: 8px; background: var(--gb-surface); cursor: pointer; }
.gb-tier:hover { border-color: var(--gb-line-strong); }
.gb-tier.is-locked { cursor: default; }
.gb-tier input { width: 17px; height: 17px; margin-top: 1px; flex: none; accent-color: #595959; }
.gb-tier-copy { min-width: 0; }
.gb-tier-copy strong, .gb-tier-copy small { display: block; }
.gb-tier-copy small { margin-top: 2px; color: var(--gb-muted); font-size: 12px; }
.gb-tier-always { display: inline-block; padding: 1px 6px; border-radius: 99px; background: var(--gb-fill); color: var(--gb-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.gb-tier-empty { margin: 0; color: var(--gb-muted); font-size: 12px; }
.gb-queue-preview { margin: 0 20px 16px; border: 1px dashed var(--gb-line); border-radius: 8px; color: var(--gb-muted); font-size: 12px; }
.gb-queue-preview summary { padding: 9px 12px; cursor: pointer; }
.gb-queue-preview ol { max-height: 150px; margin: 0; overflow: auto; padding: 0 12px 12px 36px; }
.gb-queue-preview li { padding: 3px 0; overflow-wrap: anywhere; }
.gb-scan-status { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 14px 20px; border-top: 1px solid var(--gb-line-strong); background: var(--gb-surface-2); }
.gb-scan-status p { margin: 0; }
.gb-stage-footnote { margin: 0; padding: 11px 20px; border-top: 1px solid var(--gb-line); color: var(--gb-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.gb-stage-footnote svg { margin-right: 5px; color: var(--gb-teal); }
.gb-scan-stage:not([data-scan-state='complete']) + .gb-results .gb-stage-footnote { display: none; }
.gb-scan-controls { flex: 0 0 auto; }
@keyframes gb-sweep { to { transform: rotate(360deg); } }
@keyframes gb-pulse { 50% { transform: scale(1.025); } }

.gb-results { display: grid; min-width: 0; gap: 18px; margin-top: 20px; }
.gb-result-summary, .gb-results-panel { min-width: 0; max-width: 100%; }
.gb-summary-heading { align-items: flex-start; }
.gb-summary-heading p:last-child, .gb-results-toolbar p { margin: 6px 0 0; color: var(--gb-muted); }
.gb-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 18px 20px; }
.gb-metric { display: grid; min-height: 94px; padding: 14px; border: 1px dashed var(--gb-line-strong); border-radius: 9px; background: var(--gb-surface-2); }
.gb-metric strong { font-size: 27px; line-height: 1.1; }
.gb-metric span { align-self: end; color: var(--gb-muted); font-size: 12px; }
.gb-result-summary[data-quiet='true'] .gb-metric-grid { display: none; }
.gb-limit-link { display: inline-flex; align-items: center; min-height: 24px; padding: 1px 8px; border: 1px solid var(--gb-line-strong); border-radius: 99px; background: transparent; color: var(--gb-violet-soft); cursor: pointer; font: inherit; font-weight: 700; }
.gb-limit-link:hover, .gb-limit-link:focus-visible { color: var(--gb-ink); background: var(--gb-fill); }
.gb-session-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 20px 2px; color: var(--gb-muted); font-size: 12px; }
.gb-session-line svg { color: var(--gb-violet-soft); }
.gb-session-detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--gb-line); border-radius: 9px; background: var(--gb-line); }
.gb-session-detail dl div { min-height: 78px; padding: 12px; background: var(--gb-surface); }
.gb-session-detail dt { color: var(--gb-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.gb-session-detail dd { margin: 5px 0 0; }
.gb-results-toolbar h3 { margin: 0; }
.gb-toolbar-actions { justify-content: flex-end; }
.gb-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; contain: inline-size; }
.gb-results-table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
.gb-results-table th, .gb-results-table td { padding: 13px 12px; border-bottom: 1px solid var(--gb-line); text-align: left; vertical-align: middle; }
.gb-results-table th { background: var(--gb-surface-2); color: var(--gb-muted); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.gb-results-table th:nth-child(1) { width: 48px; }
.gb-results-table th:nth-child(2) { width: 52px; }
.gb-results-table th:nth-child(3) { width: auto; }
.gb-results-table th:nth-child(4) { width: 140px; }
.gb-results-table th:nth-child(5) { width: 176px; }
.gb-results-table th:nth-child(6) { width: 132px; }
.gb-results-table tr:last-child td { border-bottom: 0; }
.gb-results-table tbody > tr:not(.gb-details-row) td:nth-child(5) { white-space: nowrap; }
.gb-check-cell { text-align: center !important; }
.gb-check-cell input { width: 18px; height: 18px; accent-color: #595959; }
.gb-file-cell { min-width: 0; }
.gb-file-cell strong, .gb-file-cell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-file-cell small { margin-top: 2px; color: var(--gb-muted); }
.gb-file-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gb-file-text { min-width: 0; flex: 1 1 auto; }
.gb-file-cell .gb-file-text small { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; }
.gb-file-cell .gb-file-text small .gb-path { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-file-cell .gb-file-text small .gb-path-size { flex: none; white-space: nowrap; }
.gb-file-cell .gb-file-text small .gb-copy-path { flex: none; }
.gb-thumb { display: grid; flex: none; place-items: center; width: 48px; height: 48px; padding: 0; overflow: hidden; border: 1px solid var(--gb-line-strong); border-radius: 8px; background: var(--gb-fill); color: var(--gb-muted); cursor: pointer; }
.gb-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gb-thumb.is-generic { border-style: dashed; border-color: var(--gb-line); cursor: default; }
.gb-thumb.is-generic svg { font-size: 18px; }
.gb-thumb:not(.is-generic):hover, .gb-thumb:not(.is-generic):focus-visible { border-color: var(--gb-violet); }
.gb-check-none { display: inline-block; color: var(--gb-muted); cursor: default; }
.gb-row-actions { display: grid; gap: 6px; justify-items: stretch; }
.gb-row-actions .gb-text-button { width: 100%; min-height: 40px; }
.gb-result-row.is-expandable { cursor: pointer; }
.gb-result-row.is-expandable:hover td { background: var(--gb-surface-2); }
.gb-result-badge { display: inline-block; padding: 4px 8px; border: 1px solid var(--gb-line-strong); border-radius: 99px; background: var(--gb-surface-2); font-size: 11px; font-weight: 800; }
.gb-result-badge.is-review { border-style: dashed; }
.gb-result-badge.is-cleaned { border-width: 2px; }
.gb-details-row td { padding: 0; background: var(--gb-surface-2); }
.gb-inline-detail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 18px 24px 20px 60px; border-bottom: 1px solid var(--gb-line-strong); }
.gb-inline-detail h4 { margin: 0 0 8px; }
.gb-inline-detail ul { margin: 0; padding-left: 20px; }
.gb-inline-detail li { padding: 3px 0; }
.gb-inline-limit { color: var(--gb-muted); font-size: 12px; }
.gb-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 16px; border-top: 1px solid var(--gb-line); color: var(--gb-muted); font-size: 12px; }
.gb-table-footer div { display: flex; gap: 5px; }

.gb-empty-panel { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 14px; padding: 22px 20px; }
.gb-empty-panel-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 12px; color: var(--gb-teal); font-size: 21px; }
.gb-empty-panel.is-limited .gb-empty-panel-mark { color: var(--gb-violet-soft); }
.gb-empty-panel strong { display: block; font-size: 17px; }
.gb-empty-panel p { margin: 5px 0 0; color: var(--gb-muted); font-size: 13px; }
.gb-empty-panel-next { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.gb-empty-panel-next .gb-text-button { min-height: 30px; padding: 4px 8px; }
.gb-single-source { min-height: 360px; }
.gb-single-file-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--gb-line); border-radius: 10px; }
.gb-single-file-strip span { color: var(--gb-muted); }
.gb-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gb-panel header { padding: 16px 18px; border-bottom: 1px solid var(--gb-line); }
.gb-panel header p { margin: 5px 0 0; color: var(--gb-muted); }
.gb-panel-body { padding: 18px; }
.gb-form-stack { display: grid; gap: 11px; }
.gb-input-action-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.gb-input-control { min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid var(--gb-line-strong); border-radius: 8px; background: var(--gb-surface); }
.gb-field-note { margin: 0; color: var(--gb-muted); font-size: 12px; }
.gb-fingerprint-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gb-fingerprint-head > div { min-width: 0; }
.gb-hash-list { display: grid; padding: 18px; }
.gb-hash-list div { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--gb-line); font-weight: 700; }
.gb-hash-list div:last-child { border-bottom: 0; }
#hash-tag { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
#hash-tag-label { white-space: nowrap; }
.gb-hash-list > div > span { display: block; height: 16px; border-radius: 4px; background: var(--gb-fill); }
.gb-hash-list .gb-hash-prefix { display: inline; height: auto; border-radius: 0; background: none; animation: none; color: var(--gb-muted); font-weight: 500; }
.gb-hash-list #hash-tag-label { height: auto; background: none; animation: none; }
.gb-placeholder-list { display: grid; gap: 12px; padding: 18px; }
.gb-placeholder-list div { min-height: 68px; border: 1px dashed var(--gb-line); border-radius: 8px; background: var(--gb-surface-2); }
.gb-identity-panel { overflow: hidden; }
.gb-verdict { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 13px; margin-top: 14px; padding: 14px; border: 1px solid currentColor; border-radius: 11px; }
.gb-verdict-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 12px; font-size: 22px; }
.gb-verdict strong { display: block; font-size: 18px; }
.gb-verdict small { display: block; margin-top: 3px; color: var(--gb-muted); font-size: 12px; }
.gb-verdict[data-verdict='good'] { color: var(--gb-success); background: rgba(76, 221, 164, 0.07); }
.gb-verdict[data-verdict='bad'] { color: var(--gb-danger); background: rgba(255, 95, 121, 0.07); }
.gb-identity-hero { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--gb-line); background: linear-gradient(135deg, rgba(141, 128, 247, 0.08), transparent 58%); }
.gb-identity-hero h3 { margin: 0; font-size: 22px; }
.gb-identity-hero p { margin: 5px 0 0; color: var(--gb-muted); }
.gb-identity-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 14px; background: rgba(141, 128, 247, 0.08); color: var(--gb-violet-soft); font-size: 22px; }
.gb-identity-mark.is-clear { color: var(--gb-teal); background: rgba(53, 214, 194, 0.08); }
.gb-identity-mark.is-review { color: #ff9f70; background: rgba(255, 107, 44, 0.08); }
.gb-identity-verdict { padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; color: var(--gb-violet-soft); font-size: 11px; font-weight: 850; white-space: nowrap; }
.gb-identity-verdict.is-clear { color: var(--gb-teal); }
.gb-identity-verdict.is-review { color: #ff9f70; }
.gb-identity-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--gb-line); }
.gb-identity-facts div { min-width: 0; padding: 15px 16px; background: #11141d; }
.gb-identity-facts span, .gb-identity-facts strong { display: block; }
.gb-identity-facts span { margin-bottom: 5px; color: var(--gb-muted); font-size: 10px; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.gb-identity-facts strong { overflow-wrap: anywhere; color: #f5f4f9; }
.gb-identity-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 20px; }
.gb-identity-signals > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 12px; border: 1px solid rgba(183, 184, 211, 0.13); border-radius: 9px; background: rgba(141, 128, 247, 0.025); }
.gb-identity-signals > div > i { color: var(--gb-violet-soft); font-size: 18px; }
.gb-identity-signals strong, .gb-identity-signals small { display: block; }
.gb-identity-signals small { margin-top: 3px; color: var(--gb-muted); overflow-wrap: anywhere; }
.gb-identity-boundary { margin: 0 20px 20px; padding: 11px 13px; border: 1px dashed rgba(53, 214, 194, 0.26); border-radius: 9px; background: rgba(53, 214, 194, 0.04); color: var(--gb-muted); font-size: 12px; }
.gb-identity-boundary i { margin-right: 5px; color: var(--gb-teal); }
.gb-report-dialog { width: min(760px, calc(100vw - 28px)); max-height: min(820px, calc(100vh - 28px)); padding: 0; overflow: hidden; border: 1px solid var(--gb-line-strong); border-radius: 14px; background: var(--gb-surface); color: var(--gb-ink); box-shadow: var(--gb-shadow); }
.gb-report-dialog::backdrop { background: rgba(30, 30, 30, 0.62); }
.gb-clean-dialog { width: min(560px, calc(100vw - 28px)); }
.gb-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 480px) {
  .gb-clean-dialog .gb-dialog-footer { flex-direction: column; align-items: stretch; gap: 8px; }
  .gb-clean-dialog .gb-dialog-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .gb-clean-dialog .gb-dialog-footer .gb-button { width: 100%; justify-content: center; }
  .gb-clean-dialog #clean-confirm { order: -1; }
  .gb-clean-dialog #clean-cancel { order: 1; }
}
.gb-clean-dialog .gb-dialog-body { display: grid; gap: 14px; }
.gb-clean-dialog .gb-dialog-body > p { margin: 0; }
.gb-replace { display: grid; gap: 10px; padding: 12px 13px; border: 1px solid var(--gb-line-strong); border-radius: 9px; background: var(--gb-surface-2); }
.gb-replace-main { display: flex; align-items: flex-start; gap: 10px; min-height: 30px; cursor: pointer; }
.gb-replace-main input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--gb-orange); }
.gb-replace-main input:disabled { cursor: default; }
.gb-replace-main strong { display: block; font-size: 14px; }
.gb-replace-main small { display: block; margin-top: 2px; color: var(--gb-muted); font-size: 12px; }
.gb-replace-gate { display: grid; gap: 9px; padding: 10px 12px; border: 1px solid var(--gb-orange); border-radius: 8px; }
.gb-replace-warn { display: flex; align-items: flex-start; gap: 7px; margin: 0; font-size: 12px; }
.gb-replace-warn svg { flex: none; margin-top: 2px; color: var(--gb-orange); }
.gb-replace-agree { display: flex; align-items: center; gap: 9px; min-height: 30px; font-size: 13px; cursor: pointer; }
.gb-replace-agree input { width: 18px; height: 18px; flex: none; accent-color: var(--gb-orange); }
.gb-replace-note { display: flex; align-items: flex-start; gap: 7px; margin: 10px 0 0; padding: 9px 11px; border: 1px solid var(--gb-line-strong); border-radius: 8px; color: var(--gb-ink-soft); font-size: 12px; line-height: 1.5; }
.gb-replace-note svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--gb-orange); }
.gb-replace.is-locked .gb-replace-main { cursor: not-allowed; }
.gb-replace.is-locked .gb-replace-main strong { color: var(--gb-muted); }
.gb-replace.is-locked .gb-replace-main input { cursor: not-allowed; }
.gb-clean-progress { display: grid; gap: 7px; }
.gb-clean-progress .gb-progress { width: 100%; }
.gb-clean-progress p { margin: 0; }
.gb-preview-stage { display: grid; place-items: center; min-height: 220px; padding: 14px; border: 1px solid var(--gb-line); border-radius: 10px; background: var(--gb-fill); }
.gb-preview-stage img { max-width: 100%; max-height: min(60vh, 520px); object-fit: contain; }
.gb-preview-stage img.is-small { width: min(100%, 420px); height: auto; image-rendering: pixelated; }
.gb-dialog-frame { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: inherit; }
.gb-dialog-head, .gb-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--gb-surface-2); }
.gb-dialog-head { border-bottom: 1px solid var(--gb-line); }
.gb-dialog-head h2 { margin: 0; overflow-wrap: anywhere; }
.gb-dialog-footer { border-top: 1px solid var(--gb-line); }
.gb-dialog-footer p { margin: 0; color: var(--gb-muted); font-size: 12px; }
.gb-dialog-close { min-width: 58px; padding: 7px 10px; }
.gb-dialog-body { overflow: auto; padding: 20px; }
.gb-report-lead { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.gb-report-lead div { padding: 12px; border: 1px dashed var(--gb-line-strong); border-radius: 8px; }
.gb-report-lead strong, .gb-report-lead span { display: block; }
.gb-report-lead span { color: var(--gb-muted); font-size: 11px; }
.gb-report-finding { margin-top: 10px; padding: 14px; border: 1px solid var(--gb-line); border-radius: 8px; }
.gb-report-finding h3 { margin: 0 0 5px; }
.gb-report-finding p { margin: 5px 0; }
.gb-report-evidence { padding: 9px; border-left: 3px solid var(--gb-line-strong); background: var(--gb-surface-2); color: var(--gb-muted); font-family: Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.gb-toast { position: fixed; right: 22px; bottom: 22px; z-index: 10; max-width: min(390px, calc(100vw - 44px)); padding: 12px 16px; border: 2px solid var(--gb-line-strong); border-radius: 9px; background: var(--gb-surface); box-shadow: var(--gb-shadow); font-weight: 700; }

@media (max-width: 980px) {
  .gb-page { padding: 10px; }
  .gb-dashboard { display: block; min-height: 0; }
  .gb-rail { gap: 14px; border-right: 0; border-bottom: 1px solid var(--gb-line); }
  .gb-brand { padding-bottom: 12px; }
  .gb-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gb-nav-item { grid-template-columns: 24px minmax(0, 1fr); min-height: 68px; }
  .gb-status-slot, .gb-nav-copy small, .gb-privacy { display: none; }
  .gb-main { padding: 26px 20px; }
}

@media (max-width: 760px) {
  .gb-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gb-nav-item:last-child { grid-column: 1 / -1; }
  .gb-drop-zone { min-height: 360px; padding: 26px 18px; }
  .gb-stage-head, .gb-results-toolbar, .gb-summary-heading, .gb-scan-status { align-items: stretch; flex-direction: column; }
  .gb-stage-actions, .gb-toolbar-actions, .gb-scan-controls { justify-content: flex-start; }
  .gb-scanner-shell { min-height: 300px; }
  .gb-scanner-visual { width: 210px; height: 210px; box-shadow: inset 0 0 0 27px #e1e1e1, inset 0 0 0 28px var(--gb-line); }
  .gb-orbit.is-one { inset: 34px; }
  .gb-orbit.is-two { inset: 63px; }
  .gb-scan-core { inset: 87px; }
  .gb-sweep { width: 98px; }
  .gb-scan-readout { right: 16px; bottom: 16px; }
  .gb-current-file { grid-template-columns: 1fr; gap: 2px; }
  .gb-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gb-session-detail dl, .gb-two-column { grid-template-columns: 1fr; }
  .gb-results-table { min-width: 0; table-layout: auto; }
  .gb-results-table thead, .gb-results-table tbody { display: block; }
  .gb-results-table thead tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); }
  .gb-results-table thead th { width: auto; }
  .gb-results-table thead th:nth-child(n + 4) { display: none; }
  .gb-results-table tbody > tr:not(.gb-details-row) { display: grid; grid-template-columns: 44px minmax(0, 1fr) 118px; grid-template-rows: auto auto; border-bottom: 1px solid var(--gb-line); }
  .gb-results-table tbody > tr:not(.gb-details-row) td { width: auto; border-bottom: 0; }
  .gb-results-table tbody > tr:not(.gb-details-row) td:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.gb-results-table tbody > tr:not(.gb-details-row) td:nth-child(2) { grid-column: 1; grid-row: 1 / 3; align-self: end; }
  .gb-results-table tbody > tr:not(.gb-details-row) td:nth-child(3) { grid-column: 2; grid-row: 1; }
  .gb-results-table tbody > tr:not(.gb-details-row) td:nth-child(4) { grid-column: 3; grid-row: 1; }
  .gb-results-table tbody > tr:not(.gb-details-row) td:nth-child(5) { grid-column: 2; grid-row: 2; padding-top: 0; color: var(--gb-muted); font-size: 12px; }
  .gb-results-table tbody > tr:not(.gb-details-row) td:nth-child(6) { grid-column: 3; grid-row: 2; padding-top: 0; }
  .gb-details-row { display: block; }
  .gb-details-row td { display: block; width: 100%; }
  .gb-table-scroll { border-bottom: 1px solid var(--gb-line); }
  .gb-inline-detail { grid-template-columns: 1fr; padding-left: 24px; }
  .gb-report-lead { grid-template-columns: 1fr; }
  .gb-identity-facts, .gb-identity-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .gb-page { padding: 0; }
  .gb-dashboard { border-right: 0; border-left: 0; border-radius: 0; }
  .gb-rail { padding: 14px; }
  .gb-brand h1 { font-size: 19px; }
  .gb-nav-item { min-height: 61px; padding: 8px; }
  .gb-nav-copy strong { font-size: 12px; }
  .gb-main { padding: 22px 14px; }
  .gb-heading h2 { font-size: 27px; }
  .gb-drop-zone { min-height: 330px; }
  .gb-control-row, .gb-toolbar-actions { display: grid; grid-template-columns: 1fr; }
  .gb-control-row .gb-button, .gb-toolbar-actions .gb-button { width: 100%; }
  .gb-scanner-shell { min-height: 260px; }
  .gb-scanner-visual { width: 178px; height: 178px; box-shadow: inset 0 0 0 22px #e1e1e1, inset 0 0 0 23px var(--gb-line); }
  .gb-orbit.is-one { inset: 29px; }
  .gb-orbit.is-two { inset: 53px; }
  .gb-scan-core { inset: 74px; }
  .gb-sweep { width: 83px; }
  .gb-scan-readout { right: 10px; bottom: 10px; padding: 7px 9px; }
  .gb-scan-readout strong { font-size: 16px; }
  .gb-metric-grid { padding: 14px; gap: 8px; }
  .gb-metric { min-height: 82px; padding: 11px; }
  .gb-metric strong { font-size: 23px; }
  .gb-summary-heading, .gb-results-toolbar, .gb-stage-head { padding: 16px; }
  .gb-session-detail { padding: 0 14px 14px; }
  .gb-single-file-strip, .gb-input-action-row { grid-template-columns: 1fr; }
  .gb-dialog-head, .gb-dialog-footer { padding: 13px; }
  .gb-dialog-footer { align-items: stretch; flex-direction: column; }
  .gb-identity-hero { grid-template-columns: 46px minmax(0, 1fr); padding: 16px; }
  .gb-identity-mark { width: 44px; height: 44px; }
  .gb-identity-verdict { grid-column: 1 / -1; justify-self: start; }
  .gb-identity-facts, .gb-identity-signals { grid-template-columns: 1fr; }
  .gb-identity-signals { padding: 14px; }
  .gb-identity-boundary { margin: 0 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .gb-dashboard *, .gb-dashboard *::before, .gb-dashboard *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.gb-rail-mark, .gb-heading-icon { display: grid; place-items: center; border: 1px solid rgba(141, 128, 247, 0.48); background: linear-gradient(145deg, rgba(141, 128, 247, 0.24), rgba(141, 128, 247, 0.06)); color: var(--gb-violet-soft); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(91, 76, 190, 0.16); }
.gb-heading-pills span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid rgba(53, 214, 194, 0.42); border-radius: 999px; background: rgba(53, 214, 194, 0.07); color: var(--gb-teal); font-size: 11px; font-weight: 700; }
.gb-dashboard { overflow: clip; border-color: rgba(183, 184, 211, 0.16); background: rgba(13, 15, 22, 0.92); box-shadow: var(--gb-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.gb-rail { position: relative; overflow: hidden; border-color: var(--gb-line); background: linear-gradient(180deg, rgba(22, 24, 36, 0.98), rgba(12, 14, 21, 0.98)); }
.gb-rail::before { content: ''; position: absolute; top: -120px; left: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(141, 128, 247, 0.11); filter: blur(5px); pointer-events: none; }
.gb-brand { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding-left: 5px; border-color: var(--gb-line); }
.gb-brand-copy { min-width: 0; }
.gb-rail-mark { width: 40px; height: 40px; border-radius: 11px; font-size: 18px; }
.gb-brand h1 { color: #fff; letter-spacing: -0.03em; }
.gb-kicker { color: #85889c; }
.gb-nav-item { position: relative; border-color: transparent; color: var(--gb-muted); transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease; }
.gb-nav-item:hover { border-color: rgba(141, 128, 247, 0.3); background: rgba(141, 128, 247, 0.05); color: var(--gb-ink); transform: translateX(2px); }
.gb-nav-item.is-active { border-color: rgba(141, 128, 247, 0.38); background: linear-gradient(90deg, rgba(141, 128, 247, 0.16), rgba(141, 128, 247, 0.04)); color: #fff; box-shadow: inset 3px 0 0 var(--gb-violet); }
.gb-icon-slot { display: grid; place-items: center; border-color: rgba(141, 128, 247, 0.28); background: rgba(141, 128, 247, 0.08); color: var(--gb-violet-soft); }
.gb-status-slot { border: 0; background: #52566a; box-shadow: 0 0 0 4px rgba(82, 86, 106, 0.1); }
.gb-nav-item.is-active .gb-status-slot { background: var(--gb-teal); box-shadow: 0 0 12px rgba(53, 214, 194, 0.65); }
.gb-nav-copy strong { color: inherit; }
.gb-privacy { display: block; border-color: rgba(53, 214, 194, 0.25); background: rgba(53, 214, 194, 0.05); color: var(--gb-muted); }
.gb-privacy > i { color: var(--gb-teal); }
.gb-privacy strong { color: var(--gb-ink); font-size: 12px; }
.gb-privacy span { display: block; margin-top: 5px; }

.gb-main { background: radial-gradient(circle at 90% 8%, rgba(141, 128, 247, 0.055), transparent 30rem); }
.gb-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: var(--gb-line); }
.gb-heading-title { display: flex; align-items: center; gap: 16px; }
.gb-heading-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 13px; font-size: 24px; }
.gb-heading h2 { color: #f8f7fb; letter-spacing: -0.045em; text-shadow: 0 1px 18px rgba(255, 255, 255, 0.04); }
.gb-heading p:last-child { color: var(--gb-muted); }
.gb-heading-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.gb-heading-pills span:last-child { border-color: var(--gb-line); background: var(--gb-surface-2); color: var(--gb-muted); }
.gb-button, .gb-text-button, .gb-dialog-close { border-color: rgba(183, 184, 211, 0.2); background: linear-gradient(180deg, #1a1d29, #131620); color: #eeedf5; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 5px 14px rgba(0, 0, 0, 0.18); transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease; }
.gb-button, .gb-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.gb-button i, .gb-text-button i { flex: 0 0 auto; margin-right: 0; line-height: 1; }
.gb-button:hover:not(:disabled), .gb-text-button:hover:not(:disabled), .gb-dialog-close:hover { border-color: rgba(141, 128, 247, 0.62); background: linear-gradient(180deg, #24283a, #191c29); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 9px 24px rgba(0, 0, 0, 0.26); }
.gb-button.is-primary { border: 1px solid #eceaf7; background: linear-gradient(180deg, #fff, #e7e5ef); color: #161720; box-shadow: 0 9px 26px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.12); }
.gb-button.is-primary:hover:not(:disabled) { border-color: #fff; background: #fff; box-shadow: 0 12px 34px rgba(141, 128, 247, 0.2); }
.gb-button.is-danger { border-color: rgba(255, 95, 121, 0.5); background: rgba(255, 95, 121, 0.08); color: #ff9aac; }
.gb-button.is-quiet { border-color: rgba(141, 128, 247, 0.28); background: rgba(141, 128, 247, 0.055); color: var(--gb-violet-soft); }
.gb-text-button { box-shadow: none; color: var(--gb-violet-soft); text-decoration: none; }
.gb-drop-zone, .gb-single-source { position: relative; isolation: isolate; overflow: hidden; border-color: rgba(141, 128, 247, 0.48); background: linear-gradient(145deg, rgba(141, 128, 247, 0.11), rgba(16, 18, 26, 0.88) 42%, rgba(53, 214, 194, 0.025)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 20px 55px rgba(0, 0, 0, 0.18); }
.gb-drop-zone::before, .gb-single-source::before { content: ''; position: absolute; z-index: -1; top: -50%; left: 15%; width: 70%; height: 150%; background: linear-gradient(90deg, transparent, rgba(141, 128, 247, 0.08), transparent); transform: rotate(18deg); animation: gb-drop-glow 6s ease-in-out infinite; }
.gb-drop-zone::after, .gb-single-source::after { content: ''; position: absolute; z-index: -1; right: 12%; bottom: -90px; width: 220px; height: 180px; border-radius: 50%; background: rgba(53, 214, 194, 0.05); filter: blur(24px); }
.gb-drop-zone.is-dragging { border-color: var(--gb-teal); background: rgba(53, 214, 194, 0.09); box-shadow: 0 0 0 4px rgba(53, 214, 194, 0.08), 0 24px 70px rgba(0, 0, 0, 0.3); }
.gb-drop-zone h3, .gb-single-source h3 { color: #fff; letter-spacing: -0.035em; }
.gb-large-icon-slot { display: grid; place-items: center; width: 84px; height: 84px; border: 1px solid rgba(141, 128, 247, 0.52); border-radius: 24px; background: linear-gradient(145deg, rgba(141, 128, 247, 0.25), rgba(141, 128, 247, 0.07)); color: var(--gb-violet-soft); font-size: 34px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 44px rgba(91, 76, 190, 0.2); transform: rotate(-2deg); }
.gb-large-icon-slot::before, .gb-large-icon-slot span::before, .gb-large-icon-slot span::after { display: none; }
.gb-icon-pulse { position: absolute; inset: -10px; display: block !important; border: 1px solid rgba(141, 128, 247, 0.24); border-radius: 30px; animation: gb-icon-breathe 2.8s ease-in-out infinite; }
.gb-microcopy { color: #b9bcca !important; }
@keyframes gb-drop-glow { 0%, 100% { transform: translateX(-18%) rotate(18deg); opacity: 0.3; } 50% { transform: translateX(28%) rotate(18deg); opacity: 0.9; } }
@keyframes gb-icon-breathe { 50% { inset: -16px; opacity: 0.15; } }

.gb-scan-stage, .gb-result-summary, .gb-results-panel, .gb-panel { border-color: rgba(183, 184, 211, 0.16); background: rgba(15, 17, 25, 0.94); box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035); }
.gb-stage-head, .gb-results-toolbar, .gb-summary-heading { border-color: var(--gb-line); background: linear-gradient(180deg, rgba(24, 27, 39, 0.86), rgba(17, 19, 28, 0.86)); }
.gb-stage-head h3, .gb-results h3, .gb-panel h3 { color: #f7f6fb; }
.gb-scanner-shell { background: radial-gradient(circle at center, rgba(141, 128, 247, 0.18), transparent 9rem), repeating-radial-gradient(circle at center, transparent 0, transparent 40px, rgba(141, 128, 247, 0.055) 41px, transparent 42px), linear-gradient(145deg, #0c0e15, #11141e); }
.gb-scanner-shell::before, .gb-scanner-shell::after { background: linear-gradient(90deg, transparent, rgba(141, 128, 247, 0.22), transparent); }
.gb-scanner-shell::after { background: linear-gradient(180deg, transparent, rgba(141, 128, 247, 0.22), transparent); }
.gb-scanner-visual { border-color: rgba(141, 128, 247, 0.52); background: radial-gradient(circle at 50% 45%, rgba(141, 128, 247, 0.18), rgba(10, 12, 18, 0.92) 64%); box-shadow: inset 0 0 0 32px rgba(141, 128, 247, 0.04), inset 0 0 0 33px rgba(141, 128, 247, 0.25), 0 0 80px rgba(91, 76, 190, 0.18); }
.gb-orbit { border-color: rgba(176, 167, 255, 0.38); }
.gb-orbit.is-two { border-color: rgba(53, 214, 194, 0.3); }
.gb-sweep { height: 2px; background: linear-gradient(90deg, rgba(141, 128, 247, 0.05), var(--gb-violet)); box-shadow: 18px 0 24px rgba(141, 128, 247, 0.45); }
.gb-sweep::after { background: var(--gb-violet-soft); box-shadow: 0 0 13px rgba(176, 167, 255, 0.9); }
.gb-scan-core { display: grid; place-items: center; z-index: 4; background: linear-gradient(145deg, var(--gb-violet-soft), #6e5ee8); color: #fff; box-shadow: 0 0 26px rgba(141, 128, 247, 0.75); }
.gb-scanner-shell[data-scan-state='running'] .gb-orbit.is-one { animation: gb-orbit-spin 5s linear infinite; }
.gb-scanner-shell[data-scan-state='running'] .gb-orbit.is-two { animation: gb-orbit-spin 3.5s linear infinite reverse; }
.gb-scanner-shell[data-scan-state='complete'] { background: radial-gradient(circle at center, rgba(76, 221, 164, 0.16), transparent 10rem), #0c1115; }
.gb-scanner-shell[data-scan-state='complete'] .gb-scanner-visual { border-color: rgba(76, 221, 164, 0.62); box-shadow: inset 0 0 0 32px rgba(76, 221, 164, 0.05), inset 0 0 0 35px rgba(76, 221, 164, 0.3), 0 0 70px rgba(76, 221, 164, 0.16); }
.gb-scanner-shell[data-scan-state='complete'] .gb-scan-core { background: linear-gradient(145deg, #79eabb, #2eba82); box-shadow: 0 0 26px rgba(76, 221, 164, 0.65); }
.gb-scanner-shell[data-scan-state='stopped'] .gb-scan-core { background: linear-gradient(145deg, #ff8ba0, #d93d5d); box-shadow: 0 0 26px rgba(255, 95, 121, 0.45); }
.gb-scan-readout { border-color: rgba(141, 128, 247, 0.35); background: rgba(11, 13, 20, 0.84); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38); backdrop-filter: blur(12px); }
.gb-scan-readout strong { color: #fff; font-variant-numeric: tabular-nums; }
.gb-scan-readout span { color: var(--gb-violet-soft); }
.gb-current-file { border-top: 1px solid rgba(255, 255, 255, 0.025); background: #11141d; }
.gb-current-file span { color: var(--gb-violet-soft); }
.gb-progress { height: 8px; border-color: rgba(141, 128, 247, 0.22); background: #090b11; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45); }
.gb-progress span { position: relative; background: linear-gradient(90deg, #695adb, var(--gb-violet-soft), var(--gb-teal)); box-shadow: 0 0 14px rgba(141, 128, 247, 0.55); }
.gb-queue-preview { border-color: rgba(141, 128, 247, 0.18); background: rgba(141, 128, 247, 0.025); }
.gb-queue-preview summary { color: var(--gb-violet-soft); }
.gb-scan-status { border-color: rgba(141, 128, 247, 0.2); background: linear-gradient(90deg, rgba(141, 128, 247, 0.08), rgba(17, 20, 29, 0.98) 40%); }
@keyframes gb-orbit-spin { to { transform: rotate(360deg); } }

.gb-summary-heading { display: flex; align-items: center; }
.gb-summary-copy { min-width: 0; }
.gb-summary-heading h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -0.035em; }
.gb-summary-heading p { max-width: 760px; }
.gb-summary-total { display: none; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid rgba(53, 214, 194, 0.32); border-radius: 999px; background: rgba(53, 214, 194, 0.06); color: var(--gb-teal); font-size: 11px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.gb-summary-actions { display: none; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gb-metric-grid { background: rgba(8, 10, 15, 0.26); }
.gb-metric { grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 12px; min-width: 0; border-color: rgba(183, 184, 211, 0.14); background: linear-gradient(145deg, rgba(29, 32, 46, 0.92), rgba(19, 21, 31, 0.92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035); text-align: left; }
.gb-metric > i { grid-column: 1; grid-row: 1 / 3; display: grid; place-items: center; align-self: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 11px; color: var(--gb-violet-soft); background: rgba(141, 128, 247, 0.08); font-size: 17px; line-height: 1; }
.gb-metric strong { grid-column: 2; grid-row: 1; align-self: end; color: #fff; font-variant-numeric: tabular-nums; }
.gb-metric span { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; color: var(--gb-muted); }
.gb-metric.is-findings > i { color: var(--gb-teal); background: rgba(53, 214, 194, 0.07); }
.gb-metric.is-clear > i { color: #79e3b6; background: rgba(121, 227, 182, 0.07); }
.gb-metric.is-limited > i { color: #85889b; background: rgba(133, 136, 155, 0.07); }
.gb-metric-action { appearance: none; width: 100%; font: inherit; cursor: pointer; transition: transform 150ms ease, border-color 150ms ease, background 150ms ease; }
.gb-metric-action strong { font-size: 15px; }
.gb-metric-action:hover { border-color: rgba(141, 128, 247, 0.6); background: linear-gradient(145deg, rgba(44, 43, 70, 0.96), rgba(24, 26, 39, 0.96)); transform: translateY(-2px); }
.gb-metric-action[aria-expanded='true'] { border-color: rgba(141, 128, 247, 0.72); background: rgba(141, 128, 247, 0.12); }
.gb-session-detail dl { border-color: var(--gb-line); background: var(--gb-line); }
.gb-session-detail dl div { background: #11141d; }
.gb-session-detail dt { color: var(--gb-violet-soft); }
.gb-results-table th { border-color: var(--gb-line); background: #151823; color: #8f92a5; }
.gb-results-table td { border-color: var(--gb-line); }
.gb-results-table tbody > tr:not(.gb-details-row) { transition: background 140ms ease; }
.gb-results-table tbody > tr:not(.gb-details-row):hover { background: rgba(141, 128, 247, 0.035); }
.gb-results-table tbody > tr.gb-empty-results-row { display: table-row; }
.gb-results-table tbody > tr.gb-empty-results-row:hover { background: transparent; }
.gb-results-table tbody > tr.gb-empty-results-row > td { width: 100%; padding: 0; }
.gb-empty-results { display: grid; justify-items: center; gap: 8px; width: 100%; min-height: 250px; padding: 38px 24px; text-align: center; }
.gb-empty-results-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 3px; border: 1px solid rgba(141, 128, 247, 0.35); border-radius: 15px; background: rgba(141, 128, 247, 0.08); color: var(--gb-violet-soft); font-size: 22px; }
.gb-empty-results strong { max-width: 460px; color: #f4f3f8; font-size: 17px; }
.gb-empty-results > span:not(.gb-empty-results-icon) { max-width: 520px; color: var(--gb-muted); }
.gb-empty-results .gb-button { margin-top: 8px; }
.gb-check-cell input { accent-color: var(--gb-violet); }
.gb-file-cell strong { color: #f5f4f9; }
.gb-file-cell small { color: #818496; }
.gb-result-badge { display: inline-flex; align-items: center; gap: 5px; border-color: rgba(183, 184, 211, 0.24); background: #1b1e2a; color: #b9bbca; white-space: nowrap; }
.gb-result-badge.is-review { border-color: rgba(255, 107, 44, 0.46); background: rgba(255, 107, 44, 0.08); color: #ffad87; }
.gb-result-badge.is-cleaned { border-color: rgba(53, 214, 194, 0.46); background: rgba(53, 214, 194, 0.08); color: #7ee7d9; }
.gb-result-badge.is-clear { border-color: rgba(76, 221, 164, 0.35); background: rgba(76, 221, 164, 0.06); color: #82e7bd; }
.gb-result-badge.is-limited { color: #a5a8ba; }
.gb-details-row td { background: linear-gradient(90deg, rgba(141, 128, 247, 0.07), rgba(17, 20, 29, 0.96)); }
.gb-inline-detail { border-color: rgba(141, 128, 247, 0.23); }
.gb-inline-detail h4 { color: #fff; }
.gb-inline-detail li::marker { color: var(--gb-violet); }
.gb-table-footer { border-color: var(--gb-line); background: #10131b; }
.gb-panel header { border-color: var(--gb-line); background: linear-gradient(180deg, #181b27, #12151e); }
.gb-single-file-strip { border-color: rgba(141, 128, 247, 0.24); background: rgba(141, 128, 247, 0.04); }
.gb-input-control { border-color: rgba(183, 184, 211, 0.25); background: #0c0e15; color: #f5f4f9; }
.gb-input-control::placeholder { color: #66697a; }
.gb-hash-list > div > span, .gb-placeholder-list div { background: linear-gradient(90deg, #1c1f2c, #272b3c, #1c1f2c); background-size: 220% 100%; animation: gb-placeholder-shimmer 3.5s linear infinite; }
.gb-placeholder-list div { border-color: rgba(141, 128, 247, 0.14); }
@keyframes gb-placeholder-shimmer { to { background-position: -220% 0; } }

.gb-stage-footnote { border-color: rgba(255, 107, 44, 0.28); color: var(--gb-muted); }
.gb-stage-footnote strong { color: #ecebf2; }
.gb-report-dialog { border-color: rgba(141, 128, 247, 0.38); background: #10121a; box-shadow: 0 35px 120px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.035); }
.gb-report-dialog::backdrop { background: rgba(3, 4, 7, 0.78); backdrop-filter: blur(8px); }
.gb-dialog-head, .gb-dialog-footer { border-color: var(--gb-line); background: linear-gradient(180deg, #1a1d29, #131620); }
.gb-dialog-close { min-width: 40px; width: 40px; padding: 7px; color: var(--gb-muted); }
.gb-dialog-body { background: radial-gradient(circle at 80% 0, rgba(141, 128, 247, 0.08), transparent 22rem), #0e1017; }
.gb-report-lead div { position: relative; padding-left: 48px; border-color: rgba(141, 128, 247, 0.2); background: rgba(141, 128, 247, 0.035); }
.gb-report-lead div > i { position: absolute; top: 50%; left: 14px; color: var(--gb-violet-soft); font-size: 21px; transform: translateY(-50%); }
.gb-report-finding { border-color: rgba(183, 184, 211, 0.16); background: #141722; }
.gb-report-evidence { border-color: var(--gb-violet); background: #0b0d13; color: #aeb0c1; }
.gb-toast { border-color: rgba(53, 214, 194, 0.5); background: rgba(14, 19, 24, 0.94); color: #dffaf5; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 35px rgba(53, 214, 194, 0.08); backdrop-filter: blur(14px); }
.gb-toast::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--gb-teal); color: #07110f; font-weight: 900; }

@media (max-width: 980px) {
  .gb-heading { align-items: stretch; flex-direction: column; }
  .gb-heading-pills { justify-content: flex-start; }
  .gb-rail { background: linear-gradient(135deg, rgba(22, 24, 36, 0.98), rgba(12, 14, 21, 0.98)); }
}

@media (max-width: 600px) {
  .gb-heading-title { gap: 11px; }
  .gb-heading-icon { width: 42px; height: 42px; border-radius: 11px; font-size: 19px; }
  .gb-heading-pills span { padding: 5px 8px; }
  .gb-metric { grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; }
  .gb-metric > i { width: 32px; height: 32px; border-radius: 9px; }
}

.gb-scan-stage[data-scan-state='ready'] .gb-scanner-shell, .gb-scan-stage[data-scan-state='ready'] .gb-current-file, .gb-scan-stage[data-scan-state='ready'] .gb-progress { display: none; }
.gb-scan-stage[data-scan-state='ready'] { overflow: visible; margin-bottom: 92px; }
.gb-scan-stage[data-scan-state='ready'] .gb-queue-preview { margin-top: 18px; }
.gb-scan-stage[data-scan-state='ready'] .gb-scan-status { position: fixed; right: max(18px, calc((100vw - 1440px) / 2 + 52px)); bottom: 18px; left: max(322px, calc((100vw - 1440px) / 2 + 322px)); z-index: 18; min-height: 76px; border: 2px solid transparent; border-radius: 14px; background: linear-gradient(#11141d, #11141d) padding-box, linear-gradient(100deg, #ff4f64, #ff7a1a, #ffd84a, #ff4f64) border-box; background-size: 100% 100%, 260% 100%; box-shadow: 0 22px 70px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 122, 26, 0.16); backdrop-filter: blur(18px); animation: gb-warm-cycle 3.4s linear infinite; }
.gb-scan-stage[data-scan-state='ready'] .gb-scan-status p { color: #f6f2ec; font-weight: 750; }
.gb-scan-stage[data-scan-state='ready'] .gb-scan-status p::before { content: '→'; display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 9px; border-radius: 50%; background: #ff8a22; color: #140b06; font-weight: 950; vertical-align: middle; }
.gb-scan-stage[data-scan-state='ready'] #start-scan { min-width: 170px; border-color: transparent; background: linear-gradient(105deg, #ff4f64, #ff7a1a, #ffd84a, #ff6a28, #ff4f64); background-size: 260% 100%; color: #160c06; box-shadow: 0 10px 30px rgba(255, 111, 32, 0.3); animation: gb-warm-cycle 3.4s linear infinite; }
.gb-scan-stage[data-scan-state='ready'] #start-scan:hover { border-color: #fff0c2; background: linear-gradient(105deg, #ff6576, #ff912f, #ffe16b, #ff7c38, #ff6576); background-size: 260% 100%; color: #100804; box-shadow: 0 13px 38px rgba(255, 130, 34, 0.42); }
.gb-scan-stage[data-scan-state='running'] .gb-queue-preview { display: none; }

@keyframes gb-warm-cycle { to { background-position: 260% 0; } }
.gb-scan-stage[data-scan-state='complete'] { display: none; }
.gb-scan-stage[data-scan-state='stopped'] { position: sticky; top: 12px; z-index: 9; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.2fr); overflow: hidden; border-color: rgba(141, 128, 247, 0.38); background: rgba(13, 15, 22, 0.92); box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05); backdrop-filter: blur(18px); }
.gb-scan-stage[data-scan-state='stopped'] .gb-scanner-shell, .gb-scan-stage[data-scan-state='stopped'] .gb-current-file, .gb-scan-stage[data-scan-state='stopped'] .gb-progress, .gb-scan-stage[data-scan-state='stopped'] .gb-queue-preview { display: none; }
.gb-scan-stage[data-scan-state='stopped'] .gb-stage-head { border: 0; background: linear-gradient(90deg, rgba(141, 128, 247, 0.12), transparent); }
.gb-scan-stage[data-scan-state='stopped'] .gb-scan-status { min-height: 0; border: 0; border-left: 1px solid var(--gb-line); background: transparent; }
.gb-scan-stage[data-scan-state='stopped'] .gb-kicker { color: #ff9aac; }
.gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-result-summary { border-color: rgba(141, 128, 247, 0.38); background: rgba(13, 15, 22, 0.94); box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05); backdrop-filter: blur(18px); }
.gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-summary-total { display: inline-flex; }
.gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-summary-actions,
.gb-scan-stage[data-scan-state='stopped'] + .gb-results .gb-summary-actions { display: flex; }
.gb-scanner-visual::after { content: ''; position: absolute; inset: 12px; z-index: 1; border-radius: 50%; background: conic-gradient(from -35deg, rgba(141, 128, 247, 0.34), rgba(53, 214, 194, 0.06) 18%, transparent 29%); opacity: 0; }
.gb-scanner-shell[data-scan-state='running'] .gb-scanner-visual::after { opacity: 1; animation: gb-scan-cone 3.1s linear infinite reverse; }
.gb-scan-particle { --from-x: 0px; --from-y: 0px; position: absolute; top: 50%; left: 50%; z-index: 5; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(176, 167, 255, 0.5); border-radius: 7px; background: #171a27; color: var(--gb-violet-soft); font-size: 11px; opacity: 0; }
.gb-scan-particle.is-one { --from-x: -142px; --from-y: -82px; animation-delay: 0s !important; }
.gb-scan-particle.is-two { --from-x: 132px; --from-y: -96px; animation-delay: 0.55s !important; }
.gb-scan-particle.is-three { --from-x: 146px; --from-y: 72px; animation-delay: 1.1s !important; }
.gb-scan-particle.is-four { --from-x: -130px; --from-y: 92px; animation-delay: 1.65s !important; }
.gb-scanner-shell[data-scan-state='running'] .gb-scan-particle { animation: gb-file-ingest 2.2s cubic-bezier(0.35, 0, 0.6, 1) infinite; }
.gb-scanner-shell[data-scan-state='running'] .gb-scan-core { animation: gb-core-pulse 1.1s ease-in-out infinite; }
@keyframes gb-scan-cone { to { transform: rotate(360deg); } }
@keyframes gb-file-ingest { 0% { opacity: 0; transform: translate(var(--from-x), var(--from-y)) scale(0.6) rotate(-12deg); } 20% { opacity: 1; } 78% { opacity: 0.85; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.16) rotate(18deg); } }
@keyframes gb-core-pulse { 50% { transform: scale(1.16); box-shadow: 0 0 38px rgba(141, 128, 247, 0.92); } }

.gb-result-tools { display: grid; grid-template-columns: minmax(250px, 1.6fr) minmax(150px, 0.75fr) minmax(160px, 0.85fr) auto; align-items: end; gap: 12px; padding: 16px 20px 10px; border-bottom: 1px solid rgba(183, 184, 211, 0.08); background: #10131b; }
.gb-results-panel { scroll-margin-top: 230px; }
.gb-result-tools label { display: grid; gap: 6px; min-width: 0; }
.gb-result-tools label > span { color: #8f92a5; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.gb-result-tools input, .gb-result-tools select { width: 100%; min-width: 0; height: 42px; padding: 8px 11px; border: 1px solid rgba(183, 184, 211, 0.22); border-radius: 8px; outline: 0; background: #0b0d13; color: #f1f0f6; }
.gb-result-tools input:focus, .gb-result-tools select:focus { border-color: var(--gb-violet); box-shadow: 0 0 0 3px rgba(141, 128, 247, 0.12); }
.gb-result-tools input::placeholder { color: #696c7d; }
.gb-result-tools select { cursor: pointer; }
.gb-clear-filters { align-self: end; }
.gb-rollup { margin: 0 16px 12px; padding: 0; border: 1px solid var(--gb-line); border-radius: 9px; background: var(--gb-surface-2); }
.gb-rollup > summary { padding: 12px 14px; color: var(--gb-violet-soft); cursor: pointer; font-size: 14px; font-weight: 700; }
.gb-rollup-group { padding: 0 13px 10px; }
.gb-rollup-group h5 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 6px 0; font-size: 12px; }
.gb-rollup-verdict { padding: 1px 7px; border: 1px solid var(--gb-line-strong); border-radius: 99px; font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.gb-rollup-verdict.is-in { border-style: dashed; }
.gb-rollup-group ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.gb-rollup-group li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 13px; border-bottom: 1px solid var(--gb-line); font-size: 12px; }
.gb-rollup-group li:last-child { border-bottom: 0; }
.gb-rollup-pick { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 30px; padding: 2px 0; cursor: pointer; }
.gb-rollup-pick input { width: 17px; height: 17px; flex: none; accent-color: #595959; }
.gb-rollup-pick input:disabled { cursor: default; }
.gb-rollup-group li span { flex: none; color: var(--gb-muted); }
.gb-result-filter-status { margin: 0; padding: 8px 20px; border-bottom: 1px solid var(--gb-line); background: #0d1017; color: #7f8294; font-size: 11px; }
.gb-table-scroll { max-height: min(100vh, 900px); overflow: auto; scrollbar-color: rgba(141, 128, 247, 0.55) #0b0d13; scrollbar-width: thin; }
.gb-results-table thead { position: sticky; top: 0; z-index: 5; box-shadow: 0 9px 22px rgba(0, 0, 0, 0.28); }
.gb-results-table thead th { background: rgba(21, 24, 35, 0.97); backdrop-filter: blur(12px); }

@media (max-width: 900px) {
  .gb-scan-stage[data-scan-state='stopped'] { top: 10px; grid-template-columns: 1fr; }
  .gb-scan-stage[data-scan-state='stopped'] .gb-scan-status { border-top: 1px solid var(--gb-line); border-left: 0; }
  .gb-result-tools { grid-template-columns: minmax(0, 1fr) minmax(150px, 0.7fr); }
  .gb-result-search { grid-column: 1 / -1; }
  .gb-results-panel { scroll-margin-top: 260px; }
}

@media (max-width: 980px) {
  .gb-scan-stage[data-scan-state='ready'] .gb-scan-status { right: 16px; left: 16px; }
}

@media (max-width: 760px) {
  .gb-summary-heading { align-items: stretch; }
  .gb-summary-actions { justify-content: flex-start; }
  .gb-results-table tbody > tr.gb-empty-results-row { display: block; }
  .gb-results-table tbody > tr.gb-empty-results-row > td { display: block; grid-column: auto; grid-row: auto; width: 100%; }
}

@media (max-width: 600px) {
  .gb-scan-stage[data-scan-state='stopped'], .gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-result-summary { position: static; }
  .gb-results-panel { scroll-margin-top: 76px; }
  .gb-scan-stage[data-scan-state='stopped'] .gb-stage-actions { display: none; }
  .gb-result-tools { grid-template-columns: 1fr; padding: 14px; }
  .gb-result-search { grid-column: auto; }
  .gb-result-filter-status { padding-right: 14px; padding-left: 14px; }
  .gb-table-scroll { max-height: calc(100vh - 92px); }
  .gb-results-table thead tr { position: sticky; top: 0; z-index: 5; }
  .gb-result-badge { white-space: normal; }
  .gb-empty-results { min-height: 290px; padding: 34px 18px; }
  .gb-scan-stage[data-scan-state='ready'] { margin-bottom: 138px; }
  .gb-scan-stage[data-scan-state='ready'] .gb-scan-status { right: 8px; bottom: 8px; left: 8px; }
  .gb-scan-stage[data-scan-state='ready'] #start-scan { width: 100%; }
}
.gb-dashboard .gb-row-number { width: 3.5rem; padding-right: 0; color: var(--gb-muted); font-variant-numeric: tabular-nums; text-align: right; }
.gb-dashboard .gb-file-cell { max-width: 30rem; }
.gb-dashboard .gb-file-cell small { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gb-dashboard .gb-path { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-dashboard .gb-path-size { flex: 0 0 auto; }
.gb-dashboard .gb-copy-path { flex: 0 0 auto; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid var(--gb-line); border-radius: 7px; background: var(--gb-fill); color: var(--gb-ink-soft); cursor: pointer; font-size: 13px; }
.gb-dashboard .gb-copy-path:hover, .gb-dashboard .gb-copy-path:focus-visible { border-color: var(--gb-line-strong); color: var(--gb-ink); background: var(--gb-fill); }
@media (max-width: 720px) {
  .gb-dashboard .gb-row-number { width: 2.25rem; }
  .gb-dashboard .gb-file-cell { max-width: 16rem; }
}

:root[data-theme="light"] .gb-dashboard {
  color-scheme: light;
  --gb-page: #f2f4fa;
  --gb-surface: #ffffff;
  --gb-surface-2: #f6f7fc;
  --gb-ink: #14161f;
  --gb-muted: #55596c;
  --gb-line: rgba(26, 29, 56, 0.14);
  --gb-line-strong: rgba(93, 79, 214, 0.38);
  --gb-fill: #eceff8;
  --gb-fill-dark: #5d4fd6;
  --gb-orange: #c4490c;
  --gb-violet: #5849cf;
  --gb-violet-soft: #6558dd;
  --gb-teal: #0d7d6e;
  --gb-danger: #c02339;
  --gb-success: #0f7550;
  --gb-shadow: 0 18px 50px rgba(26, 29, 56, 0.12);
}
:root[data-theme="light"] .gb-dashboard { background: radial-gradient(circle at 68% 12%, rgba(93, 79, 214, 0.07), transparent 30rem), radial-gradient(circle at 8% 40%, rgba(196, 73, 12, 0.04), transparent 25rem), var(--gb-page); border-color: var(--gb-line); box-shadow: var(--gb-shadow); }
:root[data-theme="light"] .gb-dashboard .gb-rail { background: linear-gradient(180deg, #ffffff, #f4f6fc); border-color: var(--gb-line); }
:root[data-theme="light"] .gb-dashboard .gb-rail::before { background: rgba(93, 79, 214, 0.07); }
:root[data-theme="light"] .gb-dashboard .gb-drop-zone,
:root[data-theme="light"] .gb-dashboard .gb-single-source,
:root[data-theme="light"] .gb-dashboard .gb-scan-stage,
:root[data-theme="light"] .gb-dashboard .gb-result-summary,
:root[data-theme="light"] .gb-dashboard .gb-results-panel,
:root[data-theme="light"] .gb-dashboard .gb-metric-grid,
:root[data-theme="light"] .gb-dashboard .gb-metric,
:root[data-theme="light"] .gb-dashboard .gb-panel header,
:root[data-theme="light"] .gb-dashboard .gb-report-dialog,
:root[data-theme="light"] .gb-dashboard .gb-dialog-head,
:root[data-theme="light"] .gb-dashboard .gb-dialog-footer,
:root[data-theme="light"] .gb-dashboard .gb-dialog-body,
:root[data-theme="light"] .gb-dashboard .gb-report-finding,
:root[data-theme="light"] .gb-dashboard .gb-scanner-shell,
:root[data-theme="light"] .gb-dashboard .gb-scanner-visual,
:root[data-theme="light"] .gb-dashboard .gb-scan-readout,
:root[data-theme="light"] .gb-dashboard .gb-scan-status,
:root[data-theme="light"] .gb-dashboard .gb-session-detail dl div,
:root[data-theme="light"] .gb-dashboard .gb-identity-facts div,
:root[data-theme="light"] .gb-dashboard .gb-table-footer,
:root[data-theme="light"] .gb-dashboard .gb-result-tools,
:root[data-theme="light"] .gb-dashboard .gb-details-row td,
:root[data-theme="light"] .gb-dashboard .gb-stage-head,
:root[data-theme="light"] .gb-dashboard .gb-results-toolbar,
:root[data-theme="light"] .gb-dashboard .gb-summary-head { background: var(--gb-surface); border-color: var(--gb-line); }
:root[data-theme="light"] .gb-dashboard .gb-input-control,
:root[data-theme="light"] .gb-dashboard .gb-result-tools input,
:root[data-theme="light"] .gb-dashboard .gb-result-tools select,
:root[data-theme="light"] .gb-dashboard .gb-current-file,
:root[data-theme="light"] .gb-dashboard .gb-progress,
:root[data-theme="light"] .gb-dashboard .gb-hash-list span,
:root[data-theme="light"] .gb-dashboard .gb-placeholder-list div,
:root[data-theme="light"] .gb-dashboard .gb-report-evidence,
:root[data-theme="light"] .gb-dashboard .gb-result-filter-status { background: var(--gb-surface-2); border-color: var(--gb-line); color: var(--gb-ink); }
:root[data-theme="light"] .gb-dashboard .gb-button,
:root[data-theme="light"] .gb-dashboard .gb-text-button,
:root[data-theme="light"] .gb-dashboard .gb-dialog-close { background: var(--gb-surface); border-color: var(--gb-line); color: var(--gb-ink); }
:root[data-theme="light"] .gb-dashboard .gb-button:hover:not(:disabled),
:root[data-theme="light"] .gb-dashboard .gb-text-button:hover:not(:disabled) { background: var(--gb-fill); border-color: var(--gb-line-strong); }
:root[data-theme="light"] .gb-dashboard .gb-results-table th,
:root[data-theme="light"] .gb-dashboard .gb-results-table thead th { background: var(--gb-surface-2); color: var(--gb-muted); }
:root[data-theme="light"] .gb-dashboard .gb-report-dialog::backdrop { background: rgba(26, 29, 56, 0.38); }
:root[data-theme="light"] .gb-dashboard .gb-result-badge { background: var(--gb-surface-2); border-color: var(--gb-line); }
:root[data-theme="light"] .gb-dashboard .gb-toast { background: #14161f; color: #ffffff; border-color: transparent; }
:root[data-theme="light"] .gb-dashboard .gb-scan-particle { background: var(--gb-violet); }
:root[data-theme="light"] .gb-dashboard .gb-metric-action:hover { background: var(--gb-fill); }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .gb-dashboard {
    color-scheme: light;
    --gb-page: #f2f4fa;
    --gb-surface: #ffffff;
    --gb-surface-2: #f6f7fc;
    --gb-ink: #14161f;
    --gb-muted: #55596c;
    --gb-line: rgba(26, 29, 56, 0.14);
    --gb-line-strong: rgba(93, 79, 214, 0.38);
    --gb-fill: #eceff8;
    --gb-fill-dark: #5d4fd6;
    --gb-orange: #c4490c;
    --gb-violet: #5849cf;
    --gb-violet-soft: #6558dd;
    --gb-teal: #0d7d6e;
    --gb-danger: #c02339;
    --gb-success: #0f7550;
    --gb-shadow: 0 18px 50px rgba(26, 29, 56, 0.12);
  }
  :root:not([data-theme="dark"]) .gb-dashboard { background: radial-gradient(circle at 68% 12%, rgba(93, 79, 214, 0.07), transparent 30rem), radial-gradient(circle at 8% 40%, rgba(196, 73, 12, 0.04), transparent 25rem), var(--gb-page); border-color: var(--gb-line); box-shadow: var(--gb-shadow); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-rail { background: linear-gradient(180deg, #ffffff, #f4f6fc); border-color: var(--gb-line); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-rail::before { background: rgba(93, 79, 214, 0.07); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-drop-zone,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-single-source,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-result-summary,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-results-panel,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-metric-grid,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-metric,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-panel header,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-report-dialog,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-head,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-footer,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-body,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-report-finding,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-scanner-shell,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-scanner-visual,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-scan-readout,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-scan-status,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-session-detail dl div,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-identity-facts div,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-table-footer,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-result-tools,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-details-row td,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-stage-head,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-results-toolbar,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-summary-head { background: var(--gb-surface); border-color: var(--gb-line); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-input-control,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-result-tools input,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-result-tools select,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-current-file,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-progress,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-hash-list span,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-placeholder-list div,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-report-evidence,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-result-filter-status { background: var(--gb-surface-2); border-color: var(--gb-line); color: var(--gb-ink); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-button,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-text-button,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-close { background: var(--gb-surface); border-color: var(--gb-line); color: var(--gb-ink); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-button:hover:not(:disabled),
  :root:not([data-theme="dark"]) .gb-dashboard .gb-text-button:hover:not(:disabled) { background: var(--gb-fill); border-color: var(--gb-line-strong); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-results-table th,
  :root:not([data-theme="dark"]) .gb-dashboard .gb-results-table thead th { background: var(--gb-surface-2); color: var(--gb-muted); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-report-dialog::backdrop { background: rgba(26, 29, 56, 0.38); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-result-badge { background: var(--gb-surface-2); border-color: var(--gb-line); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-toast { background: #14161f; color: #ffffff; border-color: transparent; }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-scan-particle { background: var(--gb-violet); }
  :root:not([data-theme="dark"]) .gb-dashboard .gb-metric-action:hover { background: var(--gb-fill); }
}

:root[data-theme="light"] .gb-dashboard .gb-brand h1,
:root[data-theme="light"] .gb-dashboard .gb-button,
:root[data-theme="light"] .gb-dashboard .gb-button.is-danger,
:root[data-theme="light"] .gb-dashboard .gb-dialog-close,
:root[data-theme="light"] .gb-dashboard .gb-drop-zone h3,
:root[data-theme="light"] .gb-dashboard .gb-empty-results strong,
:root[data-theme="light"] .gb-dashboard .gb-file-cell strong,
:root[data-theme="light"] .gb-dashboard .gb-heading h2,
:root[data-theme="light"] .gb-dashboard .gb-identity-facts strong,
:root[data-theme="light"] .gb-dashboard .gb-identity-mark.is-review,
:root[data-theme="light"] .gb-dashboard .gb-identity-verdict.is-review,
:root[data-theme="light"] .gb-dashboard .gb-inline-detail h4,
:root[data-theme="light"] .gb-dashboard .gb-input-control,
:root[data-theme="light"] .gb-dashboard .gb-metric strong,
:root[data-theme="light"] .gb-dashboard .gb-nav-item.is-active,
:root[data-theme="light"] .gb-dashboard .gb-stage-footnote strong,
:root[data-theme="light"] .gb-dashboard .gb-panel h3,
:root[data-theme="light"] .gb-dashboard .gb-result-badge.is-review,
:root[data-theme="light"] .gb-dashboard .gb-result-tools input,
:root[data-theme="light"] .gb-dashboard .gb-result-tools select,
:root[data-theme="light"] .gb-dashboard .gb-results h3,
:root[data-theme="light"] .gb-dashboard .gb-scan-core,
:root[data-theme="light"] .gb-dashboard .gb-scan-readout strong,
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='ready'] .gb-scan-status p,
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] .gb-kicker,
:root[data-theme="light"] .gb-dashboard .gb-single-source h3,
:root[data-theme="light"] .gb-dashboard .gb-stage-head h3,
:root[data-theme="light"] .gb-dashboard .gb-text-button { color: var(--gb-ink); }
 { color: var(--gb-orange); }

@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-brand h1,
:root:not([data-theme="dark"]) .gb-dashboard .gb-button,
:root:not([data-theme="dark"]) .gb-dashboard .gb-button.is-danger,
:root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-close,
:root:not([data-theme="dark"]) .gb-dashboard .gb-drop-zone h3,
:root:not([data-theme="dark"]) .gb-dashboard .gb-empty-results strong,
:root:not([data-theme="dark"]) .gb-dashboard .gb-file-cell strong,
:root:not([data-theme="dark"]) .gb-dashboard .gb-heading h2,
:root:not([data-theme="dark"]) .gb-dashboard .gb-identity-facts strong,
:root:not([data-theme="dark"]) .gb-dashboard .gb-identity-mark.is-review,
:root:not([data-theme="dark"]) .gb-dashboard .gb-identity-verdict.is-review,
:root:not([data-theme="dark"]) .gb-dashboard .gb-inline-detail h4,
:root:not([data-theme="dark"]) .gb-dashboard .gb-input-control,
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric strong,
:root:not([data-theme="dark"]) .gb-dashboard .gb-nav-item.is-active,
:root:not([data-theme="dark"]) .gb-dashboard .gb-stage-footnote strong,
:root:not([data-theme="dark"]) .gb-dashboard .gb-panel h3,
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-badge.is-review,
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-tools input,
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-tools select,
:root:not([data-theme="dark"]) .gb-dashboard .gb-results h3,
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-core,
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-readout strong,
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='ready'] .gb-scan-status p,
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] .gb-kicker,
:root:not([data-theme="dark"]) .gb-dashboard .gb-single-source h3,
:root:not([data-theme="dark"]) .gb-dashboard .gb-stage-head h3,
:root:not([data-theme="dark"]) .gb-dashboard .gb-text-button { color: var(--gb-ink); }
 { color: var(--gb-orange); }
}

:root[data-theme="light"] .gb-dashboard .gb-kicker,
:root[data-theme="light"] .gb-dashboard .gb-metric.is-limited > i,
:root[data-theme="light"] .gb-dashboard .gb-results-table th,
:root[data-theme="light"] .gb-dashboard .gb-file-cell small,
:root[data-theme="light"] .gb-dashboard .gb-result-tools label > span,
:root[data-theme="light"] .gb-dashboard .gb-result-filter-status { color: var(--gb-muted); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-kicker,
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric.is-limited > i,
:root:not([data-theme="dark"]) .gb-dashboard .gb-results-table th,
:root:not([data-theme="dark"]) .gb-dashboard .gb-file-cell small,
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-tools label > span,
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-filter-status { color: var(--gb-muted); }
}

.gb-dashboard .gb-check-cell input, .gb-dashboard #select-all { width: 24px; height: 24px; margin: 0; accent-color: var(--gb-violet); cursor: pointer; }
.gb-dashboard .gb-check-cell, .gb-dashboard .gb-results-table th:first-child { padding: 0; }
.gb-dashboard .gb-check-cell label, .gb-dashboard .gb-select-all-wrap { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin: 0; cursor: pointer; }
.gb-dashboard .gb-result-badge { white-space: normal; }
.gb-dashboard .gb-results-table td:nth-child(4) { min-width: 8.5rem; }

:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-result-summary,
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='stopped'],
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] .gb-stage-head,
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] .gb-scan-status,
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='ready'] .gb-scan-status { background: var(--gb-surface); border-color: var(--gb-line); color: var(--gb-ink); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-result-summary,
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='stopped'],
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] .gb-stage-head,
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] .gb-scan-status,
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='ready'] .gb-scan-status { background: var(--gb-surface); border-color: var(--gb-line); color: var(--gb-ink); }
}

:root[data-theme="light"] .gb-dashboard .gb-scan-stage,
:root[data-theme="light"] .gb-dashboard .gb-result-summary,
:root[data-theme="light"] .gb-dashboard .gb-results-panel { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); }
:root[data-theme="light"] .gb-dashboard .gb-scan-readout,
:root[data-theme="light"] .gb-dashboard .gb-progress { box-shadow: none; }
:root[data-theme="light"] .gb-dashboard .gb-results-table thead { box-shadow: 0 6px 14px rgba(26, 29, 56, 0.07); }
:root[data-theme="light"] .gb-dashboard .gb-button.is-primary { box-shadow: 0 4px 12px rgba(26, 29, 56, 0.07); }
:root[data-theme="light"] .gb-dashboard .gb-report-dialog { box-shadow: 0 24px 70px rgba(26, 29, 56, 0.22); }
:root[data-theme="light"] .gb-dashboard .gb-toast { box-shadow: 0 12px 30px rgba(26, 29, 56, 0.24); }
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='ready'] .gb-scan-status { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); }
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); }
:root[data-theme="light"] .gb-dashboard .gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-result-summary { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); backdrop-filter: none; position: static; }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage,
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-summary,
:root:not([data-theme="dark"]) .gb-dashboard .gb-results-panel { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-readout,
:root:not([data-theme="dark"]) .gb-dashboard .gb-progress { box-shadow: none; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-results-table thead { box-shadow: 0 6px 14px rgba(26, 29, 56, 0.07); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-button.is-primary { box-shadow: 0 4px 12px rgba(26, 29, 56, 0.07); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-report-dialog { box-shadow: 0 24px 70px rgba(26, 29, 56, 0.22); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-toast { box-shadow: 0 12px 30px rgba(26, 29, 56, 0.24); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='ready'] .gb-scan-status { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='stopped'] { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-scan-stage[data-scan-state='complete'] + .gb-results .gb-result-summary { box-shadow: 0 10px 26px rgba(26, 29, 56, 0.10); backdrop-filter: none; position: static; }
}

:root[data-theme="light"] .gb-dashboard .gb-summary-heading,
:root[data-theme="light"] .gb-dashboard .gb-main,
:root[data-theme="light"] .gb-dashboard .gb-session-detail dl,
:root[data-theme="light"] .gb-dashboard .gb-report-dialog,
:root[data-theme="light"] .gb-dashboard .gb-dialog-head,
:root[data-theme="light"] .gb-dashboard .gb-dialog-footer,
:root[data-theme="light"] .gb-dashboard .gb-dialog-body { background: var(--gb-surface); background-image: none; border-color: var(--gb-line); color: var(--gb-ink); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-summary-heading,
:root:not([data-theme="dark"]) .gb-dashboard .gb-main,
:root:not([data-theme="dark"]) .gb-dashboard .gb-session-detail dl,
:root:not([data-theme="dark"]) .gb-dashboard .gb-report-dialog,
:root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-head,
:root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-footer,
:root:not([data-theme="dark"]) .gb-dashboard .gb-dialog-body { background: var(--gb-surface); background-image: none; border-color: var(--gb-line); color: var(--gb-ink); }
}

.gb-dashboard .gb-report-rows { display: grid; gap: 2px; margin: 10px 0 0; }
.gb-dashboard .gb-report-rows > div { display: grid; grid-template-columns: fit-content(12rem) minmax(0, 1fr); gap: 4px 14px; padding: 7px 0; border-top: 1px solid var(--gb-line); }
.gb-dashboard .gb-report-rows > div:first-child { border-top: 0; }
.gb-dashboard .gb-report-rows dt { margin: 0; color: var(--gb-muted); font-size: 13px; overflow-wrap: anywhere; }
.gb-dashboard .gb-report-rows dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.gb-dashboard .gb-report-rows code { display: block; margin-top: 5px; padding: 6px 9px; border-radius: 7px; background: var(--gb-surface-2); font-size: 12px; overflow-wrap: anywhere; }
.gb-dashboard .gb-report-where { display: inline-block; margin-left: 8px; color: var(--gb-muted); font-size: 12px; }
@media (max-width: 620px) {
  .gb-dashboard .gb-report-rows > div { grid-template-columns: minmax(0, 1fr); }
}

:root[data-theme="light"] .gb-dashboard .gb-result-badge.is-review { color: #a33c07; border-color: rgba(163, 60, 7, 0.42); background: rgba(196, 73, 12, 0.09); }
:root[data-theme="light"] .gb-dashboard .gb-result-badge.is-cleaned { color: #0b6b5e; border-color: rgba(11, 107, 94, 0.45); background: rgba(13, 125, 110, 0.10); }
:root[data-theme="light"] .gb-dashboard .gb-result-badge.is-clear { color: #0d6a48; border-color: rgba(13, 106, 72, 0.38); background: rgba(15, 117, 80, 0.09); }
:root[data-theme="light"] .gb-dashboard .gb-result-badge.is-limited { color: #4f5364; border-color: var(--gb-line); background: var(--gb-surface-2); }
:root[data-theme="light"] .gb-dashboard .gb-metric.is-clear > i { color: #0d6a48; background: rgba(15, 117, 80, 0.09); }
:root[data-theme="light"] .gb-dashboard .gb-metric.is-limited > i { color: #4f5364; background: rgba(79, 83, 100, 0.08); }
:root[data-theme="light"] .gb-dashboard .gb-metric.is-findings > i { color: #0b6b5e; background: rgba(13, 125, 110, 0.09); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-badge.is-review { color: #a33c07; border-color: rgba(163, 60, 7, 0.42); background: rgba(196, 73, 12, 0.09); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-badge.is-cleaned { color: #0b6b5e; border-color: rgba(11, 107, 94, 0.45); background: rgba(13, 125, 110, 0.10); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-badge.is-clear { color: #0d6a48; border-color: rgba(13, 106, 72, 0.38); background: rgba(15, 117, 80, 0.09); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-result-badge.is-limited { color: #4f5364; border-color: var(--gb-line); background: var(--gb-surface-2); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric.is-clear > i { color: #0d6a48; background: rgba(15, 117, 80, 0.09); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric.is-limited > i { color: #4f5364; background: rgba(79, 83, 100, 0.08); }
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric.is-findings > i { color: #0b6b5e; background: rgba(13, 125, 110, 0.09); }
}

.gb-dashboard .gb-text-button { white-space: nowrap; }
.gb-dashboard [data-toggle-row] svg { transition: transform 140ms ease; }
.gb-dashboard [data-toggle-row][aria-expanded="true"] svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .gb-dashboard [data-toggle-row] svg { transition: none; }
}

.gb-dashboard .gb-session-facts { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 12px 16px; border: 1px solid var(--gb-line); border-radius: 12px 12px 0 0; }
.gb-dashboard .gb-session-facts > div { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.gb-dashboard .gb-session-facts dt { margin: 0; color: var(--gb-muted); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.gb-dashboard .gb-session-facts dd { margin: 0; font-weight: 600; }
.gb-dashboard .gb-session-limits { margin: 0; padding: 4px 20px 18px; color: var(--gb-muted); font-size: 12px; }
@media (max-width: 620px) {
}

:root[data-theme="light"] .gb-dashboard .gb-panel,
:root[data-theme="light"] .gb-dashboard .gb-panel-body,
:root[data-theme="light"] .gb-dashboard .gb-identity-hero,
:root[data-theme="light"] .gb-dashboard .gb-identity-facts,
:root[data-theme="light"] .gb-dashboard .gb-hash-list,
:root[data-theme="light"] .gb-dashboard .gb-hash-list > div,
:root[data-theme="light"] .gb-dashboard .gb-single-source,
:root[data-theme="light"] .gb-dashboard .gb-field-note,
:root[data-theme="light"] .gb-dashboard .gb-identity-boundary,
:root[data-theme="light"] .gb-dashboard .gb-drop-content { background-color: var(--gb-surface); border-color: var(--gb-line); color: var(--gb-ink); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-panel,
:root:not([data-theme="dark"]) .gb-dashboard .gb-panel-body,
:root:not([data-theme="dark"]) .gb-dashboard .gb-identity-hero,
:root:not([data-theme="dark"]) .gb-dashboard .gb-identity-facts,
:root:not([data-theme="dark"]) .gb-dashboard .gb-hash-list,
:root:not([data-theme="dark"]) .gb-dashboard .gb-hash-list > div,
:root:not([data-theme="dark"]) .gb-dashboard .gb-single-source,
:root:not([data-theme="dark"]) .gb-dashboard .gb-field-note,
:root:not([data-theme="dark"]) .gb-dashboard .gb-identity-boundary,
:root:not([data-theme="dark"]) .gb-dashboard .gb-drop-content { background-color: var(--gb-surface); border-color: var(--gb-line); color: var(--gb-ink); }
}
:root[data-theme="light"] .gb-dashboard .gb-microcopy { color: var(--gb-muted) !important; }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-microcopy { color: var(--gb-muted) !important; }
}

.gb-dashboard .gb-hash-list div { grid-template-columns: 82px minmax(0, 1fr) 32px; align-items: center; }
.gb-dashboard .gb-hash-list span { height: auto; min-height: 16px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; background: none; animation: none; }
.gb-dashboard .gb-hash-list span:empty { height: 16px; border-radius: 4px; background: var(--gb-fill); }
.gb-dashboard .gb-hash-list .gb-copy-path { justify-self: end; }
.gb-dashboard .gb-hash-list span:empty + .gb-copy-path { visibility: hidden; }

.gb-dashboard .gb-single-results { display: grid; gap: 12px; padding: 18px; }
.gb-dashboard .gb-single-results:empty { display: none; }
.gb-dashboard .gb-single-results > .gb-field-note { margin: 0; }
.gb-dashboard .gb-single-results .gb-report-finding { margin: 0; }

.gb-dashboard .gb-code-lines { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; }
.gb-dashboard .gb-code-lines input { width: 5.5rem; padding: 7px 9px; border: 1px solid var(--gb-line); border-radius: 8px; background: var(--gb-surface-2); color: var(--gb-ink); font: inherit; }
.gb-dashboard .gb-code-view { max-height: 46vh; margin: 10px 0 0; padding: 12px 14px; overflow: auto; border: 1px solid var(--gb-line); border-radius: 10px; background: var(--gb-surface-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.6; white-space: pre; tab-size: 2; }
.gb-dashboard .gb-expand { margin-left: 8px; }
:root[data-theme="light"] .gb-dashboard .gb-panel { box-shadow: 0 8px 20px rgba(26, 29, 56, 0.07); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-panel { box-shadow: 0 8px 20px rgba(26, 29, 56, 0.07); }
}

:root[data-theme="light"] .gb-dashboard .gb-button.is-primary { background: var(--gb-violet); background-image: none; color: #ffffff; border-color: var(--gb-violet); box-shadow: none; }
:root[data-theme="light"] .gb-dashboard .gb-button.is-primary:hover:not(:disabled) { background: #4b3cc4; border-color: #4b3cc4; box-shadow: none; }
:root[data-theme="light"] .gb-dashboard .gb-button, .gb-text-button, .gb-dialog-close { background: var(--gb-surface); border-color: var(--gb-line-strong); color: var(--gb-ink); box-shadow: none; }
:root[data-theme="light"] .gb-dashboard .gb-button:hover:not(:disabled), .gb-text-button:hover:not(:disabled), .gb-dialog-close:hover { background: var(--gb-fill); border-color: var(--gb-violet); box-shadow: none; }
:root[data-theme="light"] .gb-dashboard .gb-button:disabled, .gb-text-button:disabled { background: var(--gb-surface-2); border-color: var(--gb-line); color: #8a8ea0; box-shadow: none; }
:root[data-theme="light"] .gb-dashboard .gb-report-dialog { box-shadow: 0 20px 56px rgba(26, 29, 56, 0.20); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-button.is-primary { background: var(--gb-violet); background-image: none; color: #ffffff; border-color: var(--gb-violet); box-shadow: none; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-button.is-primary:hover:not(:disabled) { background: #4b3cc4; border-color: #4b3cc4; box-shadow: none; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-button, .gb-text-button, .gb-dialog-close { background: var(--gb-surface); border-color: var(--gb-line-strong); color: var(--gb-ink); box-shadow: none; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-button:hover:not(:disabled), .gb-text-button:hover:not(:disabled), .gb-dialog-close:hover { background: var(--gb-fill); border-color: var(--gb-violet); box-shadow: none; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-button:disabled, .gb-text-button:disabled { background: var(--gb-surface-2); border-color: var(--gb-line); color: #8a8ea0; box-shadow: none; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-report-dialog { box-shadow: 0 20px 56px rgba(26, 29, 56, 0.20); }
}

:root[data-theme="light"] .gb-dashboard .gb-metric { border-style: solid; border-color: var(--gb-line); background: var(--gb-surface-2); box-shadow: none; }
:root[data-theme="light"] .gb-dashboard .gb-metric-grid { padding-bottom: 0; margin-bottom: 14px; }
:root[data-theme="light"] .gb-dashboard .gb-metric-action { border-style: solid; border-color: var(--gb-line-strong); }
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric { border-style: solid; border-color: var(--gb-line); background: var(--gb-surface-2); box-shadow: none; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric-grid { padding-bottom: 0; margin-bottom: 14px; }
:root:not([data-theme="dark"]) .gb-dashboard .gb-metric-action { border-style: solid; border-color: var(--gb-line-strong); }
}
.gb-dashboard .gb-report-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 0; }
.gb-dashboard .gb-report-meta .gb-report-where { margin-left: 0; }
.gb-dashboard .gb-report-also { color: var(--gb-muted); font-size: 12px; }

/* webk · v0.21.0 */
