:root {
  color-scheme: dark;
  --bg: #0a101c;
  --panel: #101c2b;
  --raised: #152438;
  --line: #243549;
  --text: #edf4fa;
  --body: #b4c4d3;
  --muted: #8197ad;
  --teal: #64ddc6;
  --orange: #edb26b;
  --red: #f2948e;
  --blue: #85aff4;
  --purple: #b39bf1;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--body);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--teal);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 80px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid #1e2b3c;
  background: #0a101cf2;
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.brand-light {
  font-weight: 440;
  color: var(--teal);
}
.brand-mark {
  width: 31px;
  height: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  transform: rotate(-6deg);
}
.brand-mark i {
  display: block;
  width: 27px;
  height: 7px;
  border: 1.7px solid var(--teal);
  border-radius: 50%;
}
.brand-mark i:nth-child(2) {
  border-color: #64ddc699;
}
.brand-mark i:nth-child(3) {
  border-color: #64ddc644;
}
.header-label {
  border-left: 1px solid #2f3a4b;
  padding-left: 25px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 25px;
  align-items: center;
}
.language-control select {
  border: 1px solid #31465b;
  border-radius: 6px;
  background: #132132;
  color: var(--text);
  font-size: 11px;
  padding: 7px 10px;
  cursor: pointer;
}
.assay-link {
  font-size: 11px;
  text-decoration: none;
  font-weight: 650;
}
.assay-link span {
  color: var(--teal);
  margin-left: 5px;
}
.landing {
  max-width: 1210px;
  margin: auto;
  padding: 0 26px 65px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 1fr;
  align-items: center;
  gap: 38px;
  min-height: 386px;
  padding: 48px 0 36px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.5;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px #64ddc611;
}
.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(35px, 3.8vw, 52px);
  font-weight: 670;
  line-height: 1.13;
  letter-spacing: -0.052em;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-description {
  max-width: 615px;
  font-size: 14px;
  line-height: 1.8;
  margin: 21px 0 0;
  color: #9db0c4;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.hero-tags span {
  font-size: 10px;
  border: 1px solid #2d4054;
  border-radius: 5px;
  padding: 6px 9px;
  color: #9cb3c8;
  background: #111e2a;
}
.hero-art {
  height: 280px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, #13413955, transparent 65%);
  z-index: -1;
}
.art-orbit {
  position: absolute;
  border: 1px solid #31534777;
  transform: rotate(-23deg);
  border-radius: 50%;
}
.orbit-one {
  width: 290px;
  height: 195px;
}
.orbit-two {
  width: 205px;
  height: 265px;
  transform: rotate(29deg);
  border-style: dashed;
  opacity: 0.65;
}
.art-core {
  width: 122px;
  height: 139px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #315b54;
  border-radius: 18px;
  background: linear-gradient(160deg, #18372f, #102027);
  box-shadow: 0 12px 70px #64ddc60b;
  transform: rotate(-4deg);
}
.art-core svg {
  width: 70px;
  height: 78px;
  stroke: var(--teal);
  stroke-width: 1.4;
}
.art-core span {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #9bc9bb;
}
.art-node {
  position: absolute;
  padding: 9px 14px;
  background: #152633;
  border: 1px solid #3a505e;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 22px #0003;
}
.art-node i {
  display: inline-block;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--teal);
  margin-left: 9px;
}
.node-cpu {
  top: 33px;
  left: 16px;
}
.node-sql {
  top: 79px;
  right: 1px;
}
.node-io {
  bottom: 40px;
  left: 7px;
}
.node-wait {
  bottom: 26px;
  right: 23px;
}
.node-wait i {
  background: var(--orange);
}
.art-caption {
  position: absolute;
  bottom: -21px;
  font-size: 10px;
  color: #719388;
}
.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 1fr;
  gap: 20px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 28px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 640;
}
.panel-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.pill {
  border: 1px solid #385267;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 9px;
  white-space: nowrap;
  color: #a7c0d4;
  font-weight: 700;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.upload-panel > .muted {
  margin: 13px 0 20px;
}
.dropzone {
  padding: 23px 18px;
  min-height: 202px;
  border: 1px dashed #456578;
  border-radius: 9px;
  background: linear-gradient(145deg, #19343b44, #14203233);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}
.dropzone:hover,
.dropzone.dragging,
.dropzone:focus-within {
  background: #1b3c404f;
  border-color: var(--teal);
}
.dropzone.disabled {
  opacity: 0.45;
  pointer-events: none;
}
.upload-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--teal);
  border: 1px solid #305950;
  background: #203e3d;
  border-radius: 10px;
  margin-bottom: 12px;
}
.upload-icon svg {
  width: 23px;
}
.dropzone strong {
  font-size: 13px;
  color: var(--text);
}
.drop-pick {
  font-size: 11px;
  margin-top: 7px;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dropzone small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 21px;
  line-height: 1.6;
}
.upload-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 21px;
}
.upload-actions p {
  max-width: 210px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  border-radius: 6px;
  padding: 12px 17px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  min-height: 41px;
}
.button-primary {
  background: var(--teal);
  color: #092922;
  border: 1px solid var(--teal);
}
.button-primary:hover:not(:disabled) {
  background: #96eddc;
}
.button-secondary {
  background: #122736;
  border: 1px solid #38586c;
  color: #b3d9dd;
}
.button-secondary:hover {
  border-color: var(--teal);
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--teal);
  font-size: 11px;
  padding: 5px 0;
}
.file-list-heading {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.file-list {
  padding: 0;
  list-style: none;
  margin: 10px 0;
  display: grid;
  gap: 6px;
  max-height: 240px;
  overflow: auto;
}
.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  background: #152539;
  border: 1px solid #2a4154;
  border-radius: 6px;
  font-size: 11px;
}
.file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}
.file-size {
  white-space: nowrap;
  font-size: 10px;
  color: var(--muted);
}
.remove-file {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 18px;
}
.remove-file:hover {
  color: var(--red);
}
.insight-panel {
  background: linear-gradient(140deg, #142333, #0f1a28);
  display: flex;
  flex-direction: column;
}
.insight-panel h2 {
  max-width: 280px;
  margin: 1px 0 25px;
  font-size: 24px;
}
.feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}
.feature-list li {
  display: flex;
  gap: 15px;
}
.feature-list li > span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 750;
  padding-top: 3px;
}
.feature-list strong {
  font-size: 12px;
  color: #d9e6f0;
}
.feature-list p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin: 5px 0 0;
}
.privacy-note {
  border-top: 1px solid #2b3d4c;
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.privacy-note > span {
  color: var(--teal);
  font-size: 22px;
}
.privacy-note p {
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.privacy-note a {
  color: #b2c9d7;
  text-underline-offset: 3px;
}
.process-panel,
.error-panel {
  margin-top: 20px;
}
.process-panel h2,
.error-panel h2 {
  font-size: 20px;
}
.process-panel p,
.error-panel p {
  font-size: 12px;
  line-height: 1.6;
}
.progress-track {
  height: 7px;
  border-radius: 5px;
  background: #26374a;
  overflow: hidden;
}
.progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2b988b, var(--teal));
  transition: width 0.2s;
}
.progress-track.indeterminate > span {
  width: 35% !important;
  animation: sweep 1.8s ease-in-out infinite;
}
@keyframes sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(310%);
  }
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.progress-meta strong {
  color: var(--teal);
}
.process-steps {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 15px;
  font-size: 10px;
  color: #657f97;
}
.process-steps .active {
  color: var(--teal);
}
.process-steps .done {
  color: #b8d3d0;
}
.error-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-color: #784c4d;
}
.error-panel .eyebrow {
  color: var(--red);
}
.error-text,
#error-description {
  color: #e9aaa3;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.service-error-detail {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.service-error-detail summary {
  cursor: pointer;
}
.method-note {
  margin-top: 29px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.method-note p {
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
  color: #7e93a8;
}
.method-note > a {
  margin-left: auto;
  flex: none;
  font-size: 10px;
  color: #a4bebf;
  white-space: nowrap;
  text-underline-offset: 4px;
  padding-top: 2px;
}
.note-icon {
  color: var(--teal);
  font-size: 14px;
}
.site-footer {
  border-top: 1px solid #253043;
  background: #101827;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1300px;
  margin: auto;
  padding: 25px 30px;
}
.assayware-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  text-decoration: none;
  color: #aab8cb;
  white-space: nowrap;
}
.assayware-credit img {
  width: 135px;
  height: auto;
}
.footer-inner > p {
  color: #7f91a9;
  font-size: 10px;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 10px;
}
.footer-links a {
  text-underline-offset: 4px;
}
.dashboard {
  max-width: 1490px;
  margin: auto;
  padding: 32px 30px 70px;
}
.dashboard-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.dashboard-top h1 {
  font-size: 31px;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.04em;
}
.dashboard-top .eyebrow {
  margin-bottom: 8px;
}
.dashboard-top p {
  font-size: 12px;
  margin: 10px 0 0;
  color: var(--muted);
}
.dashboard-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.dashboard-controls select,
.control-select,
.search-field {
  padding: 10px 12px;
  border: 1px solid #344a60;
  border-radius: 6px;
  color: var(--text);
  background: #142336;
  font-size: 12px;
  max-width: 100%;
  min-height: 39px;
}
.dashboard-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}
.report-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  display: flex;
  gap: 2px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin: 26px 0 0;
  scroll-margin-top: 0;
}
.report-context { display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:18px; color:var(--muted); font-size:11px; line-height:1.6; }
.report-context strong { color:var(--teal); font-weight:600; }
.environment-details { margin-bottom:16px; }
.environment-details .identity-grid { margin-bottom:0; }
.report-tabs [role="tab"] {
  flex: none;
  border: 0;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  padding: 13px 16px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.report-tabs [role="tab"]:hover,
.report-tabs [role="tab"][aria-selected="true"] {
  color: var(--teal);
  border-color: var(--teal);
  background: #142b2d55;
}
.report-tabs [role="tab"]:focus-visible {
  outline-offset: -4px;
}
.paginated-list > div:first-child {
  scroll-margin-top: 75px;
}
.paged-findings > div:first-child {
  display: grid;
  gap: 12px;
}
.recommendation-filters .control-select {
  min-width: 150px;
  max-width: 100%;
}
.recommendation-filters .control-select:first-child {
  max-width: 360px;
}
.diagnostic-coverage {
  margin-top: 18px;
}
.diagnostic-rule .badge {
  margin-left: 10px;
}
.check-triggered {
  color: var(--orange);
  border-color: #675439;
}
.check-unavailable {
  color: var(--muted);
}
.check-not_triggered {
  color: var(--teal);
  border-color: #326b61;
}
.report-section {
  margin-top: 28px;
  scroll-margin-top: 75px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 21px;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
.section-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.section-index {
  color: var(--teal);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  display: block;
}
.identity-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: #294052;
  border: 1px solid #294052;
  border-radius: 9px;
  overflow: hidden;
  margin-top: 22px;
}
.identity-item {
  background: #122132;
  padding: 15px 17px;
  min-width: 0;
}
.identity-item dt {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 7px;
}
.identity-item dd {
  margin: 0;
  font-size: 12px;
  color: #dce8f2;
  overflow-wrap: anywhere;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.metric-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  padding: 18px 19px;
  min-width: 0;
}
.metric-card:first-child {
  border-top: 2px solid var(--teal);
}
.metric-card .metric-label {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.metric-card strong {
  font-size: 27px;
  line-height: 1.25;
  font-weight: 640;
  letter-spacing: -0.04em;
  display: block;
  color: var(--text);
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.metric-card .metric-unit {
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 4px;
  font-weight: 500;
}
.metric-card small {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 8px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.inner-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  padding: 22px;
  min-width: 0;
}
.inner-panel h3 {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 15px;
  font-weight: 600;
}
.inner-panel .muted {
  font-size: 10px;
}
.chart-bars {
  display: grid;
  gap: 13px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.4fr) minmax(65px, 2fr) 70px;
  gap: 12px;
  align-items: center;
  font-size: 10px;
}
.bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #bbcfdd;
}
.bar-track {
  height: 8px;
  border-radius: 3px;
  background: #223246;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  min-width: 1px;
  border-radius: 3px;
  background: var(--teal);
}
.bar-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #d9e8f2;
}
.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0;
  color: var(--muted);
  font-size: 9px;
}
.legend > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
}
.chart-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin: 17px 0 0;
}
.empty-state {
  border: 1px dashed #385065;
  border-radius: 7px;
  padding: 24px;
  color: #8fa7bc;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}
.finding-list {
  display: grid;
  gap: 12px;
}
.finding-card {
  border: 1px solid #2c4257;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  background: #111f30;
  padding: 20px;
}
.finding-card.severity-high {
  border-left-color: var(--red);
}
.finding-card.severity-medium {
  border-left-color: var(--orange);
}
.finding-card > header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.finding-card h3 {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}
.finding-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 9px;
}
.badge {
  display: inline-block;
  border: 1px solid #3b5063;
  border-radius: 4px;
  padding: 3px 6px;
  color: #a9c3d6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.badge.high {
  color: #f3aca5;
  background: #6b36352f;
  border-color: #6c4548;
}
.badge.medium {
  color: #e8bc84;
  background: #5843273b;
  border-color: #675439;
}
.badge.info {
  color: #a0c3f7;
  background: #2745673b;
  border-color: #3e5573;
}
.finding-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #9cb3c8;
  margin: 10px 0 0;
}
.evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.evidence {
  border: 1px solid #2c4157;
  background: #0b1726;
  border-radius: 5px;
  padding: 7px 10px;
  max-width: 100%;
}
.evidence span {
  font-size: 9px;
  color: #879fb7;
  display: block;
}
.evidence strong {
  font-size: 12px;
  display: block;
  color: #d6e7f1;
  font-weight: 600;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.action-box {
  border: 1px solid #2d4d4b;
  border-radius: 6px;
  background: #18332e35;
  padding: 12px 14px;
  margin-top: 14px;
}
.action-box > strong {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
}
.action-box p {
  margin-top: 5px;
  color: #abcac5;
}
.finding-card details {
  margin-top: 12px;
}
.finding-card summary,
.source-table summary {
  cursor: pointer;
  font-size: 10px;
  color: #bbd2df;
  line-height: 1.6;
}
.finding-card ul {
  padding-left: 19px;
  font-size: 11px;
  line-height: 1.8;
  color: #9cb3c8;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 13px;
}
.source-links a {
  color: #8bbfc3;
  font-size: 10px;
  text-underline-offset: 4px;
}
.potential {
  color: var(--orange) !important;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  min-width: 500px;
}
.data-table th {
  padding: 11px 13px;
  color: #819fb6;
  background: #122135;
  white-space: nowrap;
  font-weight: 600;
  border-bottom: 1px solid #2d4358;
}
.data-table td {
  padding: 11px 13px;
  vertical-align: top;
  border-bottom: 1px solid #223447;
  line-height: 1.6;
  color: #bbcede;
  max-width: 470px;
  overflow-wrap: anywhere;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #182a3d55;
}
.data-table .numeric {
  text-align: right;
  white-space: nowrap;
}
.data-table .sql-id {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--teal);
}
.delta-up {
  color: var(--orange) !important;
}
.delta-down {
  color: var(--teal) !important;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.table-toolbar .search-field {
  min-width: 240px;
  flex: 1;
}
.table-toolbar label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.table-toolbar p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.sql-detail {
  background: #0c1725;
}
.sql-detail td {
  padding: 18px;
}
.sql-detail dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 14px;
}
.sql-detail dt {
  font-size: 9px;
  color: var(--muted);
}
.sql-detail dd {
  font-size: 11px;
  margin: 4px 0 0;
  color: var(--text);
}
pre.sql-text {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #add2cb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  background: #081420;
  border: 1px solid #293c4c;
  border-radius: 6px;
  padding: 15px;
  max-height: 350px;
  overflow: auto;
  margin: 12px 0 0;
}
.expand-button {
  border: 1px solid #36556a;
  background: #142b3d;
  color: var(--teal);
  border-radius: 4px;
  width: 25px;
  height: 25px;
  font-size: 14px;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted);
}
.pagination button {
  border: 1px solid #385064;
  background: #15283a;
  border-radius: 5px;
  color: #bdd9e6;
  padding: 7px 11px;
  font-size: 10px;
}
.source-table {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 7px;
  padding: 14px 17px;
  margin: 9px 0;
}
.source-table summary {
  display: list-item;
  font-size: 11px;
}
.source-table .table-scroll {
  margin-top: 13px;
}
.source-table small {
  font-size: 9px;
  color: var(--muted);
  margin-left: 8px;
}
.warning-list {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}
.warning-list li {
  border-left: 2px solid #837345;
  padding: 8px 13px;
  font-size: 11px;
  line-height: 1.8;
  color: #acbecd;
  background: #61572d12;
}
.timeline {
  display: grid;
  gap: 10px;
}
.timeline-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 2fr 85px;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.timeline-row > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-track {
  height: 20px;
  background: #152537;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.timeline-interval {
  position: absolute;
  height: 100%;
  background: #316c64;
  border: 1px solid #63bbaa;
  border-radius: 3px;
  min-width: 3px;
}
.timeline-row.selected .timeline-interval {
  background: #64ddc666;
}
.timeline-row small {
  text-align: right;
  color: var(--muted);
  font-size: 9px;
}
.comparison-strip {
  padding: 13px 17px;
  border: 1px solid #355368;
  border-radius: 7px;
  font-size: 11px;
  margin-bottom: 15px;
  color: #aecbda;
  background: #142636;
  line-height: 1.6;
}
.capacity-gauge {
  height: 18px;
  border-radius: 4px;
  overflow: hidden;
  background: #223649;
  display: flex;
  margin: 14px 0 7px;
}
.capacity-gauge > span {
  height: 100%;
  display: block;
}
.capacity-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.plain-page {
  width: min(100% - 48px, 820px);
  margin: auto;
  padding: 65px 0 85px;
  min-height: 73vh;
}
.plain-page h1 {
  font-size: 42px;
  letter-spacing: -0.045em;
  color: var(--text);
  margin: 0 0 19px;
}
.plain-page > p {
  font-size: 14px;
  line-height: 1.8;
  color: #a7bdce;
}
.plain-page section {
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 25px;
  border-radius: 10px;
}
.plain-page h2 {
  font-size: 19px;
  color: var(--text);
  margin: 0 0 10px;
}
.plain-page section p {
  font-size: 12px;
  line-height: 1.9;
  margin: 8px 0;
}
.plain-page section a {
  color: var(--teal);
}
.not-found {
  padding-top: 100px;
}
.not-found .error-code {
  font-size: 90px;
  font-weight: 750;
  letter-spacing: -0.07em;
  color: var(--teal);
  margin: 0 0 12px;
}
.not-found .button {
  margin-top: 20px;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 51px;
  }
  .dashboard {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 1100px) {
  .identity-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero {
    grid-template-columns: 1.55fr 1fr;
  }
  .hero h1 {
    font-size: 40px;
  }
  .header-label {
    display: none;
  }
  .three-col {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner > p {
    display: none;
  }
  .bar-row {
    grid-template-columns: minmax(95px, 1.4fr) minmax(45px, 2fr) 58px;
    gap: 8px;
  }
  .panel {
    padding: 24px;
  }
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    min-height: 0;
  }
  .hero-art {
    display: none;
  }
  .hero h1 {
    font-size: 44px;
  }
  .upload-layout {
    grid-template-columns: 1fr;
  }
  .insight-panel h2 {
    max-width: none;
    font-size: 22px;
    margin-bottom: 20px;
  }
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .feature-list li {
    gap: 10px;
  }
  .privacy-note {
    margin-top: 22px;
  }
  .method-note {
    flex-wrap: wrap;
  }
  .method-note > a {
    margin-left: 27px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .dashboard-top {
    flex-direction: column;
  }
  .dashboard-controls {
    width: 100%;
  }
  .dashboard-controls label {
    flex: 1;
  }
  .dashboard-controls select {
    width: 100%;
  }
  .dashboard {
    padding: 28px 22px 50px;
  }
  .report-tabs [role="tab"] {
    padding: 12px;
  }
  .identity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-links {
    gap: 14px;
  }
  .sql-detail dl {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
    gap: 7px;
  }
  .brand-mark {
    width: 25px;
  }
  .brand-mark i {
    width: 23px;
  }
  .header-actions {
    gap: 10px;
  }
  .assay-link {
    display: none;
  }
  .language-control select {
    font-size: 10px;
    padding: 6px 8px;
  }
  .landing {
    padding: 0 18px 40px;
  }
  .hero {
    padding: 34px 0 29px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 17px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .hero-tags {
    margin-top: 19px;
  }
  .hero-tags span {
    font-size: 9px;
  }
  .panel {
    padding: 20px;
  }
  .panel h2 {
    font-size: 21px;
  }
  .panel-heading {
    gap: 10px;
    align-items: flex-start;
  }
  .pill {
    font-size: 8px;
  }
  .dropzone {
    padding: 22px 12px;
  }
  .dropzone small {
    max-width: 245px;
  }
  .upload-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .upload-actions p {
    max-width: none;
    text-align: center;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .privacy-note {
    margin-top: 21px;
  }
  .error-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 24px 20px;
  }
  .footer-links {
    margin: 0;
    gap: 24px;
  }
  .dashboard {
    padding: 24px 16px 45px;
  }
  .dashboard-top h1 {
    font-size: 28px;
  }
  .dashboard-controls {
    align-items: stretch;
  }
  .dashboard-controls label {
    flex-basis: 100%;
  }
  .dashboard-controls .button {
    width: 100%;
  }
  .report-tabs {
    margin: 21px 0;
  }
  .identity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .identity-item {
    padding: 12px;
  }
  .identity-item dd {
    font-size: 11px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .metric-card {
    padding: 15px;
  }
  .metric-card strong {
    font-size: 24px;
  }
  .metric-card:last-child {
    grid-column: 1/-1;
  }
  .inner-panel {
    padding: 17px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .three-col {
    grid-template-columns: 1fr;
  }
  .bar-row {
    grid-template-columns: minmax(105px, 1.3fr) minmax(45px, 1fr) 58px;
    font-size: 9px;
  }
  .finding-card {
    padding: 16px;
  }
  .finding-card h3 {
    font-size: 14px;
  }
  .finding-card > header {
    flex-wrap: wrap;
  }
  .evidence {
    padding: 7px 8px;
  }
  .timeline-row {
    grid-template-columns: 90px 1fr 53px;
    font-size: 9px;
  }
  .timeline-row small {
    font-size: 8px;
  }
  .table-toolbar {
    align-items: stretch;
  }
  .table-toolbar .search-field {
    min-width: 0;
    flex-basis: 100%;
  }
  .table-toolbar label {
    flex-wrap: wrap;
  }
  .recommendation-filters .control-select,
  .recommendation-filters .control-select:first-child {
    width: 100%;
    max-width: none;
  }
  .diagnostic-rule .badge {
    display: table;
    margin: 7px 0 0;
  }
  .table-toolbar select {
    font-size: 10px;
  }
  .sql-detail dl {
    grid-template-columns: 1fr 1fr;
  }
  .plain-page {
    width: calc(100% - 36px);
    padding: 43px 0 55px;
  }
  .plain-page h1 {
    font-size: 33px;
  }
  .plain-page section {
    padding: 20px;
  }
  .plain-page > p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
