
/* Nujiz Premium Quality Report - scoped to image quality tool */
body[data-tool-id="inspect"] .smart-result,
body[data-tool-id="quality"] .smart-result,
body[data-tool-id="inspect-image-quality"] .smart-result {
  border:0;
}

.nq-report {
  --nq-accent:#7554e8;
  --nq-soft:#f1edff;
  --nq-ink:#19243b;
  --nq-muted:#69758b;
  color:var(--nq-ink);
  font-size:14px;
  line-height:1.6;
  background:#fff;
  border:1px solid #e5e8f0;
  border-radius:22px;
  padding:24px;
  box-shadow:0 12px 36px rgba(24,35,66,.07);
}

.nq-excellent {--nq-accent:#159c76;--nq-soft:#e7f8f1}
.nq-good {--nq-accent:#5179d9;--nq-soft:#eaf0ff}
.nq-fair {--nq-accent:#d49327;--nq-soft:#fff4df}
.nq-low {--nq-accent:#d35b5b;--nq-soft:#fff0ee}

.nq-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-bottom:22px;
  border-bottom:1px solid #edf0f5;
}

.nq-eyebrow {
  display:block;
  color:var(--nq-muted);
  font-size:12px;
  font-weight:600;
}

.nq-heading h3 {
  margin:7px 0 12px;
  font-size:clamp(18px,2.5vw,25px);
  line-height:1.35;
  color:var(--nq-ink);
}

.nq-status {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--nq-soft);
  color:var(--nq-accent);
  padding:7px 13px;
  border-radius:30px;
  font-size:13px;
  font-weight:800;
}

.nq-status-dot {
  width:8px;
  height:8px;
  border-radius:50%;
  background:currentColor;
}

.nq-gauge {
  flex:0 0 132px;
  width:132px;
  height:132px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:conic-gradient(
    var(--nq-accent) calc(var(--nq-score)*1%),
    #e9edf4 0
  );
}

.nq-gauge-inner {
  width:110px;
  height:110px;
  border-radius:50%;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.nq-gauge-inner strong {
  font-size:39px;
  line-height:1.1;
  color:var(--nq-ink);
  font-weight:800;
}

.nq-gauge-inner small {
  font-size:12px;
  color:var(--nq-muted);
}

.nq-section-title {
  margin:23px 0 13px;
  font-weight:800;
  font-size:15px;
}

.nq-metrics {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.nq-metric {
  background:#f7f9fc;
  border:1px solid #edf0f5;
  border-radius:14px;
  padding:16px;
  min-width:0;
}

.nq-metric-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:13px;
}

.nq-metric-head span {
  color:var(--nq-muted);
  font-size:13px;
}

.nq-metric-head strong {
  color:var(--nq-ink);
  font-size:16px;
  font-weight:800;
}

.nq-progress {
  height:7px;
  border-radius:20px;
  background:#e3e8f1;
  overflow:hidden;
}

.nq-progress span {
  display:block;
  height:100%;
  border-radius:20px;
  background:var(--nq-accent);
}

.nq-advice {
  margin-top:18px;
  padding:17px 19px;
  border-radius:15px;
  background:var(--nq-soft);
  border-inline-start:4px solid var(--nq-accent);
}

.nq-advice-title {
  color:var(--nq-accent);
  font-size:14px;
  font-weight:800;
}

.nq-report .nq-advice p {
  margin:8px 0 0;
  color:var(--nq-ink);
  font-size:13px;
  line-height:1.9;
}

.nq-report .quality-enhance-action {
  margin-top:17px;
  width:100%;
  min-height:48px;
}

html[data-theme="dark"] .nq-report,
body.dark-mode .nq-report {
  --nq-ink:#f1f4fa;
  --nq-muted:#aeb8c9;
  background:#1b2230;
  border-color:#394354;
}

html[data-theme="dark"] .nq-gauge-inner,
body.dark-mode .nq-gauge-inner {
  background:#1b2230;
}

html[data-theme="dark"] .nq-metric,
body.dark-mode .nq-metric {
  background:#252e3e;
  border-color:#394354;
}

html[data-theme="dark"] .nq-heading,
body.dark-mode .nq-heading {
  border-color:#394354;
}

html[data-theme="dark"] .nq-advice,
body.dark-mode .nq-advice {
  background:#263b39;
}

@media(max-width:600px) {
  .nq-report {padding:15px;border-radius:17px}
  .nq-heading {gap:10px}
  .nq-gauge {flex-basis:96px;width:96px;height:96px}
  .nq-gauge-inner {width:80px;height:80px}
  .nq-gauge-inner strong {font-size:29px}
  .nq-gauge-inner small {font-size:10px}
  .nq-metrics {gap:8px}
  .nq-metric {padding:12px}
  .nq-metric-head {flex-wrap:wrap;gap:4px}
  .nq-metric-head strong {font-size:14px}
}
