.fullstack-results {
  max-width: var(--content-max, 960px);
  margin: 0 auto;
  padding: 0 1rem 2rem;
  scroll-margin-top: 5.5rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.fullstack-results .attack-path-results {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.fullstack-results .attack-path-results:not(.hidden) {
  padding-top: 0.5rem;
}

.fullstack-results .pdf-download {
  margin-bottom: 1rem;
}

.attack-path-results {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.attack-path-results.hidden {
  display: none;
}

.ap-section-title {
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.ap-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  vertical-align: middle;
}

.ap-empty {
  margin-bottom: 0.5rem;
  font-style: italic;
}

.ap-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  overflow-anchor: none;
}

.ap-stat {
  flex: 1 1 120px;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
}

.ap-stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.ap-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.ap-trust-chain-note {
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fde047;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.ap-card {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.ap-card--composite {
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.08);
}

.ap-card--trust-chain {
  background: linear-gradient(
    145deg,
    rgba(250, 204, 21, 0.11) 0%,
    rgba(250, 204, 21, 0.04) 38%,
    var(--surface) 72%,
    rgba(250, 204, 21, 0.07) 100%
  );
  border-color: rgba(250, 204, 21, 0.42);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.14),
    0 0 20px rgba(250, 204, 21, 0.16),
    0 0 44px rgba(250, 204, 21, 0.08),
    inset 0 1px 0 rgba(250, 204, 21, 0.12);
}

.ap-card--trust-chain.ap-card--composite {
  border-color: rgba(250, 204, 21, 0.48);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.16),
    0 0 24px rgba(250, 204, 21, 0.18),
    0 0 48px rgba(250, 204, 21, 0.09),
    inset 0 1px 0 rgba(250, 204, 21, 0.14);
}

.ap-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ap-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.ap-severity {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.ap-severity--CRITICAL { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.ap-severity--HIGH { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
.ap-severity--MEDIUM { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.ap-severity--LOW { background: rgba(96, 165, 250, 0.12); color: #60a5fa; }

.ap-trust-badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
  background: rgba(250, 204, 21, 0.22);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.28);
}

.ap-narrative {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.ap-swimlane-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1rem;
  font-style: italic;
}

.ap-swimlane {
  margin: 0.5rem 0 1rem;
  padding: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.ap-swimlane-headers {
  display: none;
}

.ap-lane-col {
  flex: 0 0 auto;
  min-width: 150px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ap-lane-col .ap-lane-head {
  text-align: center;
}

.ap-lane-head {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: var(--surface);
  border: 1px dashed var(--border);
  color: var(--muted);
}

.ap-lane-head--cicd { color: #22d3ee; border-color: rgba(34, 211, 238, 0.25); }
.ap-lane-head--iac { color: #a78bfa; border-color: rgba(167, 139, 250, 0.25); }
.ap-lane-head--network { color: #4ade80; border-color: rgba(74, 222, 128, 0.25); }
.ap-lane-head--identity { color: #fbbf24; border-color: rgba(251, 191, 36, 0.25); }
.ap-lane-head--ai { color: #f472b6; border-color: rgba(244, 114, 182, 0.25); }

.ap-swimlane-body {
  display: flex;
  align-items: flex-end;
  gap: 0;
  width: max-content;
  max-width: none;
  min-width: min(100%, 480px);
  padding-bottom: 0.25rem;
}

.ap-lane {
  flex: 0 0 auto;
  min-width: 150px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.ap-connector {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(34, 211, 238, 0.55);
  cursor: default;
  outline: none;
}

.ap-connector:focus-visible .ap-connector-track {
  opacity: 1;
}

.ap-connector--across {
  width: 1.75rem;
  align-self: center;
  margin-top: 1.85rem;
  padding: 0.35rem 0;
}

.ap-connector--down {
  min-height: 1.25rem;
  padding: 0.2rem 0;
}

.ap-connector-track {
  display: block;
  position: relative;
  background: rgba(148, 163, 184, 0.28);
}

.ap-connector--across .ap-connector-track {
  width: 100%;
  height: 1px;
}

.ap-connector--across .ap-connector-track::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid rgba(34, 211, 238, 0.65);
  border-top: 1.5px solid rgba(34, 211, 238, 0.65);
  transform: translateY(-50%) rotate(45deg);
}

.ap-connector--down .ap-connector-track {
  width: 1px;
  height: 0.75rem;
  margin: 0 auto;
}

.ap-connector--down .ap-connector-track::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid rgba(34, 211, 238, 0.65);
  border-bottom: 1.5px solid rgba(34, 211, 238, 0.65);
  transform: translateX(-50%) rotate(45deg);
}

.ap-connector:hover .ap-connector-track,
.ap-connector:focus .ap-connector-track {
  background: rgba(34, 211, 238, 0.35);
}

.ap-connector:hover .ap-connector-track::after,
.ap-connector:focus .ap-connector-track::after {
  border-color: rgba(34, 211, 238, 0.95);
}

.ap-connector-tip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 0.45rem);
  width: max-content;
  max-width: 220px;
  padding: 0.45rem 0.6rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 2;
}

.ap-connector--down .ap-connector-tip {
  left: calc(100% + 0.55rem);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.ap-connector:hover .ap-connector-tip,
.ap-connector:focus .ap-connector-tip {
  opacity: 1;
}

.ap-graph {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 0.5rem 0 0.75rem;
}

.ap-node {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 200px;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  text-align: left;
  width: 100%;
}

.ap-node--interactive {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ap-node--interactive:hover {
  border-color: rgba(34, 211, 238, 0.45);
}

.ap-node--active {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2);
}

.ap-node--has-fix {
  border-color: rgba(45, 212, 191, 0.35);
}

.ap-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.ap-node-fix {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
}

.ap-node-sev {
  margin-top: 0.45rem;
  display: inline-block;
}

.ap-node-detail {
  margin: 0.35rem 0 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
}

.ap-node-detail.hidden {
  display: none;
}

.ap-detail-action {
  margin: 0 0 0.45rem;
  color: var(--text);
  line-height: 1.45;
}

.ap-detail-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.ap-detail-meta code {
  font-family: var(--mono);
  font-size: 0.75rem;
  word-break: break-all;
}

.ap-detail-fix {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
}

.ap-detail-fix-link {
  color: #2dd4bf;
  text-decoration: none;
  font-weight: 600;
}

.ap-detail-fix-link:hover {
  text-decoration: underline;
}

.ap-detail-impact,
.ap-detail-suggested-fix {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.45;
}

.ap-detail-suggested-fix {
  color: #99f6e4;
}

.intent-impact,
.intent-suggested-fix,
.contra-suggested-fix {
  width: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
}

.intent-suggested-fix,
.contra-suggested-fix {
  color: #99f6e4;
}

.findings-section {
  margin: 1.5rem 0;
}

.findings-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
}

.findings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.findings-table th,
.findings-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.findings-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface);
}

.findings-loc {
  font-family: var(--mono);
  font-size: 0.72rem;
  word-break: break-all;
}

.findings-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.findings-toggle:hover {
  border-color: var(--accent);
}

.findings-detail-row.hidden {
  display: none;
}

.findings-detail-panel {
  padding: 0.35rem 0 0.15rem;
  font-size: 0.78rem;
  line-height: 1.45;
}

.findings-detail-panel p {
  margin: 0.25rem 0;
}

.mfs-item--highlight {
  border-color: rgba(45, 212, 191, 0.65);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ap-node-layer {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.ap-node-title {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.4;
  margin: 0 0 0.35rem;
}

.ap-node-file {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  word-break: break-all;
}

.ap-edge {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.1rem;
}

.ap-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.ap-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.ap-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: var(--radius);
}

.ap-toolbar-text {
  flex: 1 1 200px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.45;
}

.ap-toolbar-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.mfs-card {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: var(--radius);
}

.mfs-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.regression-card {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left-width: 3px;
}

.regression-card--regressing {
  background: rgba(248, 113, 113, 0.06);
  border-left-color: #f87171;
}

.regression-card--improving {
  background: rgba(74, 222, 128, 0.06);
  border-left-color: var(--success);
}

.regression-card--stable {
  background: var(--surface-2);
  border-left-color: #94a3b8;
}

.regression-card--mixed {
  background: rgba(251, 191, 36, 0.06);
  border-left-color: #fbbf24;
}

.regression-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.regression-headline {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.regression-summary {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.regression-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.regression-stat {
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.regression-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.regression-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mfs-headline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

.mfs-summary {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.mfs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mfs-item {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.mfs-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.mfs-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mfs-title {
  font-size: 0.9rem;
}

.mfs-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-family: var(--mono);
}

.mfs-remediation,
.mfs-loses {
  font-size: 0.82rem;
  color: var(--text);
  margin: 0.2rem 0 0;
  line-height: 1.45;
}

.mfs-loses {
  color: var(--muted);
  font-size: 0.78rem;
}

.ap-layer--cicd .ap-node-layer { color: #22d3ee; }
.ap-layer--iac .ap-node-layer { color: #a78bfa; }
.ap-layer--network .ap-node-layer { color: #4ade80; }
.ap-layer--identity .ap-node-layer { color: #fbbf24; }
.ap-layer--ai .ap-node-layer { color: #f472b6; }

.results-tab-panels {
  min-width: 0;
  max-width: 100%;
}

.results-tab-panel {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.intent-card,
.contra-section,
.findings-section,
.ap-paths-section {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.intent-card h2,
.contra-section h2,
.findings-section h2,
.ap-paths-section h2,
.ap-paths-section .ap-section-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.intent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.intent-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
}

.intent-loc {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  width: 100%;
}

.contra-card {
  margin-bottom: 1rem;
}

.contra-sides {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.contra-side {
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contra-side-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.contra-side-claim {
  font-size: 0.85rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.contra-side-file {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
  word-break: break-all;
}

.contra-vs {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .fullstack-results {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    overflow-x: clip;
  }

  .fullstack-results .results-tab-panels,
  .fullstack-results .results-tab-panel,
  .fullstack-results .paginated-section,
  .fullstack-results .paginated-body {
    min-width: 0;
    max-width: 100%;
  }

  .fullstack-results .intent-card,
  .fullstack-results .contra-section,
  .fullstack-results .findings-section,
  .fullstack-results .ap-paths-section,
  .fullstack-results .mfs-card {
    padding: 1rem 0.85rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  .fullstack-results .ap-paths-section .ap-card {
    padding: 0.85rem 0.75rem;
    margin-bottom: 0.85rem;
  }

  .fullstack-results .ap-paths-section .ap-card:last-child {
    margin-bottom: 0;
  }

  .ap-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ap-card-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ap-swimlane {
    padding: 0.55rem;
    margin-left: 0;
    margin-right: 0;
  }

  .ap-swimlane-body {
    min-width: 0;
  }

  .ap-lane {
    min-width: 118px;
    max-width: 160px;
  }

  .ap-lane-col {
    min-width: 118px;
    max-width: 160px;
  }

  .ap-connector-tip {
    display: none;
  }

  .ap-chain {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    max-width: 100%;
  }

  .ap-node {
    min-width: 118px;
    max-width: 160px;
  }

  .mfs-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .contra-sides {
    grid-template-columns: 1fr;
  }

  .contra-vs {
    justify-content: center;
    padding: 0.25rem 0;
  }

  .contra-side-claim,
  .intent-item strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Findings: card layout instead of wide table */
  .fullstack-results .findings-table-wrap {
    overflow-x: visible;
    border: none;
    background: transparent;
  }

  .fullstack-results .findings-table thead {
    display: none;
  }

  .fullstack-results .findings-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .fullstack-results .findings-table tr.findings-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .fullstack-results .findings-table tr.findings-detail-row {
    display: block;
    margin: -0.35rem 0 0.65rem;
    padding: 0 0.85rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
  }

  .fullstack-results .findings-table tr.findings-detail-row.hidden {
    display: none;
  }

  .fullstack-results .findings-table tr.findings-row td,
  .fullstack-results .findings-table tr.findings-detail-row td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
  }

  .fullstack-results .findings-table tr.findings-row td:nth-child(3) {
    font-weight: 600;
    line-height: 1.35;
  }

  .fullstack-results .findings-table tr.findings-row td:nth-child(2),
  .fullstack-results .findings-table tr.findings-row td:nth-child(4) {
    font-size: 0.78rem;
    color: var(--muted);
  }

  .fullstack-results .findings-actions {
    margin-top: 0.15rem;
  }
}

.upload-section--locked .upload-card {
  opacity: 0.92;
}

.multi-repo-upload {
  margin-top: 0.5rem;
}

.multi-repo-list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.multi-repo-count {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.multi-repo-count.hidden {
  display: none;
}

.multi-repo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.multi-repo-item-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.multi-repo-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.multi-repo-filename {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-repo-meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
}

.multi-repo-upload .dropzone--compact {
  margin-top: 0;
  padding: 1.1rem 1rem;
}

.multi-repo-upload .dropzone--compact .dropzone-icon svg {
  width: 36px;
  height: 36px;
}

.multi-repo-upload .dropzone--compact .dropzone-title {
  font-size: 0.95rem;
}

.multi-repo-upload .dropzone--compact .dropzone-hint {
  font-size: 0.8rem;
}

.multi-repo-quota-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.multi-repo-summary {
  margin-bottom: 1.5rem;
}

.multi-repo-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.multi-repo-summary-card {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.multi-repo-summary-name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.multi-repo-summary-meta,
.multi-repo-summary-sev {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.multi-repo-summary-score {
  color: var(--text);
  font-weight: 600;
}

.ap-repo-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-2);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  vertical-align: middle;
}

.fullstack-subnav-shell {
  margin-top: 0.5rem;
}

.fullstack-mode-panels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fullstack-mode-panel:not(.is-active) {
  display: none;
}

.ap-card-header-actions,
.insight-item-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.intent-item .insight-item-actions {
  margin-left: auto;
}
