:root {
  --bg: #05080a;
  --panel: #0c1115;
  --panel2: #11181e;
  --border: #253039;
  --text: #f4f7f9;
  --muted: #94a2ad;
  --cyan: #00dff5;
  --cyan2: #13b7d8;
  --danger: #ff656b;
  --warning: #ffc75b;
  --good: #39ddb1;
  --radius: 11px;
  --font: Inter, Arial, "Helvetica Neue", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}
body {
  margin: 0;
  background: radial-gradient(circle at 80% 0, rgba(0, 223, 245, 0.06), transparent 28%), var(--bg);
  min-height: 100vh;
}
button,
input {
  font: inherit;
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 10, 0.96);
  backdrop-filter: blur(12px);
}
.brand {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.brand img {
  width: 126px;
  height: 54px;
  object-fit: contain;
}
.brand-copy {
  padding-left: 25px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.18em;
}
.brand-copy span {
  font-size: 9px;
  color: var(--theme-accent-ink, var(--cyan));
  letter-spacing: 0.15em;
  margin-top: 5px;
}
.menu-button {
  display: none;
  background: none;
  color: var(--theme-ink, #fff);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 11px;
}
.shell {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
}
.sidebar {
  border-right: 1px solid var(--border);
  padding: 28px 18px;
  min-height: calc(100vh - 82px);
  background: var(--theme-sidebar, #080d10);
  position: sticky;
  top: 82px;
  height: calc(100vh - 82px);
  overflow: auto;
}
.sidebar nav > p {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--theme-muted, #63717b);
  font-weight: 800;
  margin: 20px 12px 8px;
}
.sidebar nav > p:first-child {
  margin-top: 0;
}
.sidebar button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--theme-muted, #9aa6af);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 25px 1fr 10px;
  text-align: left;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 12px;
}
.sidebar button:after {
  content: "›";
  opacity: 0.45;
}
.sidebar button:hover,
.sidebar button.active {
  background: rgba(0, 223, 245, 0.08);
  color: var(--theme-ink, #fff);
}
.sidebar button.active {
  box-shadow: inset 3px 0 var(--cyan);
}
.sidebar-note {
  margin: 28px 10px 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.sidebar-note strong {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--theme-accent-ink, var(--cyan));
}
.sidebar-note p {
  font-size: 10px;
  line-height: 1.55;
  color: var(--theme-muted, #66747f);
}
.workspace {
  padding: 42px;
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}
.heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.heading > div:first-child > p {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--theme-accent-ink, var(--cyan));
  font-weight: 800;
  margin: 0 0 8px;
}
.heading h1 {
  font-size: 31px;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.heading > div:first-child > span {
  color: var(--muted);
  font-size: 13px;
}
.domain-state {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
  background: var(--panel);
}
.domain-state > span {
  color: var(--theme-accent-ink, var(--cyan));
}
.domain-state div {
  display: flex;
  flex-direction: column;
}
.domain-state strong {
  font-size: 12px;
}
.domain-state small {
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}
.audit-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}
.audit-form label {
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.audit-form label span {
  color: var(--theme-muted, #62717c);
  font-size: 13px;
}
.audit-form input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--theme-ink, #fff);
  width: 100%;
  font-size: 14px;
  padding: 10px 4px;
}
.audit-form button,
.primary,
.tool button,
.report-button {
  border: 0;
  border-radius: 9px;
  background: var(--cyan);
  color: #031014;
  font-weight: 800;
  font-size: 11px;
  padding: 0 20px;
  min-height: 44px;
  cursor: pointer;
}
.audit-form button:disabled,
.primary:disabled,
.tool button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.status-strip {
  display: flex;
  justify-content: space-between;
  color: var(--theme-muted, #71808b);
  font-size: 10px;
  padding: 8px 3px 22px;
}
.status-strip span:last-child {
  color: var(--theme-accent-ink, var(--cyan));
}
.error {
  border: 1px solid rgba(255, 101, 107, 0.35);
  background: rgba(255, 101, 107, 0.1);
  color: var(--theme-danger-ink, #ff9599);
  padding: 13px;
  border-radius: 9px;
  margin: 12px 0;
  font-size: 12px;
}
.hidden {
  display: none !important;
}
.panel {
  background: linear-gradient(
    145deg,
    var(--theme-card, rgba(18, 26, 31, 0.94)),
    var(--theme-card, rgba(10, 15, 19, 0.96))
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.panel-heading h2 {
  font-size: 16px;
  margin: 0 0 5px;
}
.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 13px;
}
.score-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 22px;
}
.score-ring {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--cyan) calc(var(--score) * 1%), var(--theme-track, #1d282f) 0);
  position: relative;
}
.score-ring:before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--theme-card, #0c1216);
}
.score-ring > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.score-ring strong {
  font-size: 36px;
}
.score-ring span {
  font-size: 8px;
  color: var(--muted);
}
.score-copy h2 {
  font-size: 19px;
  margin: 0 0 9px;
}
.score-copy p,
.lead {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
}
.priority-card strong {
  font-size: 45px;
  color: var(--theme-accent-ink, var(--cyan));
  display: block;
  margin-top: 20px;
}
.priority-card span {
  font-size: 11px;
}
.priority-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.metric-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 13px 0;
}
.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.metric,
.category {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  padding: 16px;
}
.metric > span,
.category > span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric strong,
.category strong {
  font-size: 24px;
  display: block;
  margin: 9px 0 5px;
}
.metric p,
.category p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.bar {
  height: 4px;
  background: var(--theme-track, #1f2a31);
  border-radius: 5px;
  overflow: hidden;
  margin: 8px 0;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--cyan);
}
.section {
  margin-top: 14px;
}
.findings {
  display: grid;
  gap: 9px;
}
.finding {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 17px;
  background: var(--panel);
}
.badge {
  height: max-content;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
}
.pass {
  color: var(--good);
  background: rgba(57, 221, 177, 0.1);
}
.warning,
.közepes {
  color: var(--warning);
  background: rgba(255, 199, 91, 0.1);
}
.fail,
.magas {
  color: var(--danger);
  background: rgba(255, 101, 107, 0.1);
}
.alacsony {
  color: var(--theme-accent-ink, var(--cyan));
  background: rgba(0, 223, 245, 0.1);
}
.finding h3 {
  font-size: 14px;
  margin: 0 0 6px;
}
.finding p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin: 4px 0;
}
.finding .action {
  border-left: 2px solid var(--cyan);
  padding-left: 10px;
  margin-top: 10px;
  color: var(--theme-ink, #d9e1e6);
}
.two-col,
.tool-grid,
.narrative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.rows {
  display: grid;
}
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.row:last-child {
  border-bottom: 0;
}
.row strong,
.row span {
  font-size: 11px;
}
.row span {
  color: var(--muted);
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chips span {
  border: 1px solid rgba(0, 223, 245, 0.25);
  background: rgba(0, 223, 245, 0.06);
  color: var(--theme-accent-ink, var(--cyan));
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 10px;
}
.callout {
  border-left: 3px solid var(--cyan);
  background: rgba(0, 223, 245, 0.04);
  padding: 13px 15px;
  margin-top: 16px;
  color: var(--theme-body, #aeb9c1);
  font-size: 11px;
  line-height: 1.6;
}
.loading {
  min-height: 310px;
  display: grid;
  place-items: center;
  text-align: center;
}
.loading i {
  display: block;
  width: 42px;
  height: 42px;
  border: 3px solid var(--theme-line, #25323a);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
.loading h2 {
  font-size: 18px;
}
.loading p {
  color: var(--muted);
  font-size: 11px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 11px 10px;
  font-size: 10px;
  vertical-align: top;
}
th {
  color: var(--theme-muted, #6f7c86);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
td strong {
  font-size: 11px;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  max-width: 380px;
  overflow-wrap: anywhere;
}
.scroll {
  overflow: auto;
}
.tool h3 {
  font-size: 15px;
  margin: 0;
}
.tool > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  min-height: 35px;
}
.tool button {
  margin: 12px 0;
}
.tool a,
a {
  color: var(--theme-accent-ink, var(--cyan));
}
.tool-result {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 8px;
}
.tool-result > strong {
  font-size: 26px;
}
.tool-result ul {
  padding-left: 17px;
  color: var(--muted);
  font-size: 10px;
}
.competitor-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 8px;
}
.competitor-form input {
  background: var(--theme-sidebar, #080d10);
  color: var(--theme-ink, #fff);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  min-width: 0;
}
.competitor-form button {
  border: 0;
  border-radius: 8px;
  background: var(--cyan);
  font-weight: 800;
  padding: 0 16px;
}
.narrative-grid article {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 15px;
}
.narrative-grid h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.narrative-grid p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
}
.report-cover {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--theme-inset, #020405);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 30px;
  margin-bottom: 13px;
}
.report-cover img {
  width: 180px;
}
.report-cover h2 {
  font-size: 28px;
  margin: 7px 0;
}
.report-cover span {
  font-size: 10px;
  color: var(--theme-accent-ink, var(--cyan));
  letter-spacing: 0.15em;
}
.report-cover p {
  font-size: 11px;
  color: var(--muted);
}
.report-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-top: 12px;
}
.view-intro {
  margin-bottom: 13px;
}
.view-intro p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.limitations {
  padding-left: 18px;
}
.limitations li {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 6px 0;
}
details summary {
  cursor: pointer;
  color: var(--theme-accent-ink, var(--cyan));
  font-size: 10px;
}
details ul {
  padding-left: 16px;
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 35px;
  padding: 20px 0;
  color: var(--theme-muted, #586670);
  font-size: 9px;
}
@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 145px 1fr auto;
    padding: 0 18px;
  }
  .menu-button {
    display: block;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 15;
    left: -270px;
    top: 82px;
    width: 258px;
    transition: left 0.2s;
  }
  .sidebar.open {
    left: 0;
  }
  .workspace {
    padding: 28px 18px;
  }
  .overview-grid,
  .two-col,
  .tool-grid,
  .narrative-grid {
    grid-template-columns: 1fr;
  }
  .category-grid,
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .competitor-form {
    grid-template-columns: 1fr;
  }
  .heading {
    flex-direction: column;
  }
  .domain-state {
    align-self: stretch;
  }
  .score-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .score-ring {
    margin: auto;
  }
}
@media (max-width: 560px) {
  .brand-copy {
    display: none;
  }
  .topbar {
    grid-template-columns: 1fr auto;
  }
  .audit-form {
    grid-template-columns: 1fr;
  }
  .category-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .workspace {
    padding: 22px 12px;
  }
  .heading h1 {
    font-size: 25px;
  }
  .finding {
    grid-template-columns: 1fr;
  }
  .report-cover {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media print {
  .topbar,
  .sidebar,
  .audit-form,
  .status-strip,
  footer,
  .heading,
  .no-print {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .workspace {
    padding: 0;
    max-width: none;
  }
  .panel {
    break-inside: avoid;
    color: #10151a;
    background: #fff;
    border-color: #ccd3d8;
  }
  .view-content {
    color: #10151a;
  }
  .report-cover {
    background: var(--theme-card, #10151a);
  }
  .metric,
  .category,
  .finding {
    background: #fff;
    color: #10151a;
    border-color: #ccd3d8;
  }
  .metric p,
  .category p,
  .finding p,
  .lead {
    color: var(--theme-muted, #4d5962);
  }
}

/* Olvashatósági finomhangolás: a minimum szövegméret asztali nézetben 12 px. */
body {
  font-size: 16px;
  line-height: 1.55;
}
.brand-copy strong {
  font-size: 15px;
}
.brand-copy span {
  font-size: 11px;
}
.sidebar nav > p {
  font-size: 11px;
}
.sidebar button {
  font-size: 14px;
  padding: 12px;
}
.sidebar-note strong {
  font-size: 11px;
}
.sidebar-note p {
  font-size: 12px;
}
.heading > div:first-child > p {
  font-size: 12px;
}
.heading h1 {
  font-size: 34px;
}
.heading > div:first-child > span {
  font-size: 15px;
  line-height: 1.55;
}
.domain-state strong {
  font-size: 14px;
}
.domain-state small {
  font-size: 11px;
}
.audit-form label span {
  font-size: 14px;
}
.audit-form input {
  font-size: 16px;
}
.audit-form button,
.primary,
.tool button,
.report-button {
  font-size: 13px;
}
.status-strip {
  font-size: 12px;
}
.panel {
  padding: 25px;
}
.panel-heading h2 {
  font-size: 19px;
}
.panel-heading p {
  font-size: 13px;
  line-height: 1.45;
}
.score-ring span {
  font-size: 10px;
}
.score-copy h2 {
  font-size: 22px;
}
.score-copy p,
.lead {
  font-size: 14px;
  line-height: 1.7;
}
.priority-card span {
  font-size: 13px;
}
.priority-card p {
  font-size: 13px;
}
.metric > span,
.category > span {
  font-size: 11px;
  line-height: 1.4;
}
.metric strong,
.category strong {
  font-size: 29px;
}
.metric p,
.category p {
  font-size: 12px;
  line-height: 1.55;
}
.badge {
  font-size: 11px;
  padding: 6px 10px;
}
.finding h3 {
  font-size: 17px;
}
.finding p {
  font-size: 13px;
  line-height: 1.65;
}
.row strong,
.row span {
  font-size: 13px;
  line-height: 1.5;
}
.chips span {
  font-size: 12px;
}
.callout {
  font-size: 13px;
  line-height: 1.7;
}
.loading h2 {
  font-size: 21px;
}
.loading p {
  font-size: 13px;
}
.tool h3 {
  font-size: 18px;
}
.tool > p {
  font-size: 13px;
  line-height: 1.65;
}
.tool-result > strong {
  font-size: 30px;
}
.tool-result ul {
  font-size: 12px;
  line-height: 1.6;
}
.competitor-form input {
  font-size: 14px;
}
.competitor-form button {
  font-size: 13px;
}
.narrative-grid h3 {
  font-size: 16px;
}
.narrative-grid p {
  font-size: 13px;
  line-height: 1.65;
}
.report-cover span {
  font-size: 12px;
}
.report-cover p {
  font-size: 13px;
}
.limitations li {
  font-size: 13px;
  line-height: 1.7;
}
table {
  min-width: 800px;
}
th {
  font-size: 11px;
}
td {
  font-size: 12px;
  line-height: 1.5;
}
td strong {
  font-size: 13px;
}
td small {
  font-size: 11px;
  line-height: 1.45;
}
details summary {
  font-size: 12px;
}
details ul {
  font-size: 12px;
  line-height: 1.6;
}
footer {
  font-size: 11px;
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }
  .heading h1 {
    font-size: 28px;
  }
  .heading > div:first-child > span {
    font-size: 14px;
  }
  .panel {
    padding: 20px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .score-copy p,
  .lead {
    font-size: 13px;
  }
  .metric strong,
  .category strong {
    font-size: 27px;
  }
  .sidebar button {
    font-size: 14px;
  }
}

.audit-symbol {
  color: #031014;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 0;
  vertical-align: -1px;
}
.gsc-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gsc-controls select {
  min-height: 44px;
  min-width: min(430px, 100%);
  flex: 1;
  background: var(--theme-sidebar, #080d10);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0 13px;
  font-size: 14px;
}
.secondary {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  padding: 0 17px;
  font-weight: 700;
  cursor: pointer;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.connection-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  padding: 18px;
  display: grid;
  gap: 7px;
}
.connection-card strong {
  font-size: 16px;
}
.connection-card span {
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
}
.connection-card.connected span {
  color: var(--good);
  background: rgba(57, 221, 177, 0.1);
}
.connection-card.pending span {
  color: var(--warning);
  background: rgba(255, 199, 91, 0.1);
}
.connection-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.setup-steps {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.setup-steps > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px;
  background: var(--theme-sidebar, #080d10);
}
.setup-steps strong {
  color: var(--theme-accent-ink, var(--cyan));
  font-size: 15px;
}
.setup-steps span {
  font-size: 13px;
  line-height: 1.55;
}
.setup-steps code {
  overflow-wrap: anywhere;
  color: var(--theme-accent-ink, var(--cyan));
}
.sidebar-home {
  display: block;
  margin: 0 10px 22px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--theme-accent-ink, var(--cyan));
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.sidebar-home:hover {
  background: rgba(0, 223, 245, 0.08);
}
@media (max-width: 760px) {
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .gsc-controls {
    align-items: stretch;
  }
  .gsc-controls select,
  .gsc-controls button {
    width: 100%;
  }
}

/* Egyszerűbb felület az eredeti DIMA fekete és türkiz színekkel. */
:root {
  --bg: #05080a;
  --panel: #0c1115;
  --panel2: #11181e;
  --border: #253039;
  --text: #f4f7f9;
  --muted: #b8c5c9;
  --cyan: #00dff5;
  --cyan2: #00dff5;
  --radius: 10px;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
html,
body {
  background: var(--bg);
}
.topbar {
  height: 72px;
  background: var(--bg);
  backdrop-filter: none;
}
.shell {
  grid-template-columns: 260px minmax(0, 1fr);
}
.sidebar {
  top: 72px;
  height: calc(100vh - 72px);
  min-height: calc(100vh - 72px);
  background: var(--theme-sidebar, #080d10);
  padding: 21px 15px;
}
.sidebar nav > p {
  color: var(--theme-body, #a6b6bb);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin: 18px 11px 8px;
}
.sidebar button {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--theme-ink, #d1dadd);
  line-height: 1.35;
  text-align: left;
  font-size: 14px;
}
.sidebar button:after {
  display: none;
}
.sidebar button:hover,
.sidebar button.active {
  background: rgba(0, 223, 245, 0.08);
  color: var(--theme-ink, #fff);
}
.sidebar button.active {
  box-shadow: none;
  border-left: 3px solid var(--cyan);
  padding-left: 9px;
}
.sidebar-home {
  color: var(--theme-ink, #d6e5e7);
  border-color: var(--border);
  font-size: 14px;
}
.sidebar-home:hover {
  background: rgba(0, 223, 245, 0.08);
}
.sidebar-note p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.sidebar-note strong {
  font-size: 11px;
  letter-spacing: 0.06em;
}
.nav-group + .nav-group {
  border-top: 1px solid var(--border);
  margin-top: 19px;
  padding-top: 17px;
}
.nav-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 11px 10px;
}
.nav-group-heading h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--theme-accent-ink, var(--cyan));
  margin: 0;
}
.nav-group-heading > span {
  font-size: 11px;
  color: var(--theme-accent-ink, var(--cyan));
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 6px;
}
.nav-group-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 11px 10px;
}
.sidebar .nav-report {
  margin-top: 6px;
  font-weight: 700;
  color: var(--theme-accent-ink, var(--cyan));
}
.nav-group-help {
  padding-bottom: 2px;
}
.nav-group-help button {
  font-weight: 700;
}
.workspace {
  max-width: 1280px;
  padding: 34px;
}
.heading {
  margin-bottom: 19px;
}
.heading h1 {
  font-size: 31px;
}
.heading > div:first-child > p {
  letter-spacing: 0.06em;
  color: var(--theme-accent-ink, var(--cyan));
}
.domain-state {
  padding: 10px 14px;
  min-width: 180px;
}
.domain-state small {
  font-size: 12px;
}
.audit-form {
  margin-bottom: 4px;
}
.audit-form button,
.primary,
.tool button,
.report-button,
.competitor-form button {
  background: var(--cyan);
  color: #031014;
  font-size: 14px;
  min-height: 46px;
  border-radius: 7px;
}
.form-help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 12px;
}
.status-strip {
  font-size: 12px;
  color: var(--theme-body, #a7b6bc);
  padding: 8px 3px 17px;
}
.panel,
.metric,
.category,
.connection-card,
.setup-steps > div {
  background: var(--panel);
  border-color: var(--border);
}
.panel {
  padding: 22px;
}
.panel-heading p {
  font-size: 14px;
  color: var(--muted);
}
.metric > span,
.category > span {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}
.metric p,
.category p {
  font-size: 13px;
}
.view-guide {
  background: var(--panel);
  border-color: var(--border);
  border-left: 3px solid var(--cyan);
  margin-bottom: 13px;
}
.view-guide strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}
.view-guide p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--theme-ink, #d0dadd);
  margin: 0;
}
.glossary {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 10px;
}
.glossary summary {
  color: var(--theme-accent-ink, var(--cyan));
  font-size: 13px;
  font-weight: 700;
}
.glossary dl {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}
.glossary dl > div {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  gap: 12px;
}
.glossary dt {
  font-weight: 700;
  font-size: 13px;
}
.glossary dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.setup-details {
  border-top: 1px solid var(--border);
  margin-top: 17px;
  padding-top: 12px;
}
.setup-details summary {
  color: var(--theme-accent-ink, var(--cyan));
  font-size: 14px;
  font-weight: 700;
}
.finding,
.narrative-grid article {
  background: var(--panel);
}
.callout {
  background: rgba(0, 223, 245, 0.04);
  color: var(--theme-ink, #d3dfe1);
  border-color: var(--cyan);
}
.row span,
.row strong {
  font-size: 14px;
}
.lead {
  font-size: 14px;
}
.tool > p,
.narrative-grid p,
.limitations li {
  font-size: 14px;
}
.tool a,
a {
  color: var(--theme-accent-ink, var(--cyan));
}
.badge.alacsony,
.chips span {
  color: var(--theme-accent-ink, var(--cyan));
}
.score-ring {
  background: conic-gradient(var(--cyan) calc(var(--score) * 1%), var(--theme-track, #1d282f) 0);
}
.score-ring:before {
  background: var(--panel);
}
@media (max-width: 980px) {
  .sidebar {
    top: 72px;
  }
  .workspace {
    padding: 25px 18px;
  }
}
@media (max-width: 560px) {
  .workspace {
    padding: 21px 13px;
  }
  .panel {
    padding: 19px;
  }
  .view-guide p {
    font-size: 14px;
  }
  .metric p,
  .category p {
    font-size: 13px;
  }
  .glossary dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Pro: szerkeszthető mérési terv és visszakereshető bizonyítékok. */
.pro-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pro-form-grid label,
.pro-question-label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}
.pro-form-full {
  grid-column: 1/-1;
}
.pro-form-grid input,
#proQuestions {
  width: 100%;
  min-width: 0;
  background: var(--theme-sidebar, #080d10);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
.pro-question-label {
  margin-bottom: 7px;
}
#proQuestions {
  resize: vertical;
  min-height: 170px;
}
.pro-form-grid input:focus,
#proQuestions:focus {
  outline: 2px solid var(--theme-accent-ink, var(--cyan));
  outline-offset: 2px;
}
.pro-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 17px 0;
}
.pro-options label,
.pro-confirm {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.55;
}
.pro-options input,
.pro-confirm input {
  accent-color: var(--cyan);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
}
.pro-confirm {
  margin: 16px 0;
}
.pro-action {
  margin-top: 16px;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.sample-list {
  display: grid;
  gap: 12px;
}
.sample-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  min-width: 0;
}
.sample-card summary {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.sample-card .form-help {
  margin: 14px 0;
}
.ai-answer p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}
.ai-sources {
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-bottom: 17px;
}
.code-example {
  background: var(--theme-sidebar, #080d10);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.metric strong {
  overflow-wrap: anywhere;
}
.connection-card span {
  max-width: 100%;
  width: fit-content;
}
@media (max-width: 560px) {
  .pro-form-grid {
    grid-template-columns: 1fr;
  }
  .pro-options {
    display: grid;
  }
  .pro-form-full {
    grid-column: auto;
  }
}
