.n26-preview-body {
  color-scheme: light dark;
  --n26-ink: #173a35;
  --n26-muted: #61736e;
  --n26-brand: #277066;
  --n26-brand-dark: #1a514a;
  --n26-accent: #b86743;
  --n26-canvas: #f3f5f0;
  --n26-panel: #ffffff;
  --n26-panel-soft: #f8faf7;
  --n26-border: #dce5df;
  --n26-grid: #edf1ed;
  --n26-shadow: 0 18px 48px rgb(28 57 49 / 7%);
  margin: 0;
  background: var(--n26-canvas);
  color: var(--n26-ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

.n26-root,
.n26-root * {
  box-sizing: border-box;
}

.n26-screen,
.n26-screen * {
  box-sizing: border-box;
}

.n26-screen {
  --n26-ink: #173a35;
  --n26-muted: #61736e;
  --n26-brand: #277066;
  --n26-brand-dark: #1a514a;
  --n26-accent: #b86743;
  --n26-canvas: #f3f5f0;
  --n26-panel: #ffffff;
  --n26-panel-soft: #f8faf7;
  --n26-border: #dce5df;
  --n26-grid: #edf1ed;
  --n26-shadow: 0 18px 48px rgb(28 57 49 / 7%);
  color: var(--n26-ink);
}

.n26-root {
  min-height: 100vh;
  background: var(--n26-canvas);
  color: var(--n26-ink);
}

.n26-root [hidden] {
  display: none !important;
}

.n26-screen [hidden] {
  display: none !important;
}

.n26-root button,
.n26-root select {
  font: inherit;
}

.n26-root button {
  color: inherit;
}

.n26-root button:focus-visible,
.n26-root select:focus-visible,
.n26-root a:focus-visible,
.n26-root summary:focus-visible,
.n26-root [tabindex="0"]:focus-visible,
.n26-screen button:focus-visible,
.n26-screen select:focus-visible,
.n26-screen a:focus-visible,
.n26-screen summary:focus-visible,
.n26-screen [tabindex="0"]:focus-visible,
.n26-main:focus-visible {
  outline: 3px solid #c97d4e;
  outline-offset: 3px;
}

.n26-skip {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--n26-ink);
  color: white;
}

.n26-skip:focus {
  transform: translateY(0);
}

.n26-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 10px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--n26-border);
  background: var(--n26-panel);
}

.n26-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--n26-brand-dark);
  color: white !important;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.n26-topbar-copy {
  display: grid;
  gap: 0;
}

.n26-topbar-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.n26-topbar-copy span,
.n26-context-muted {
  color: var(--n26-muted);
  font-size: 11px;
}

.n26-draft-label {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid var(--n26-border);
  border-radius: 999px;
  color: var(--n26-muted);
  font-size: 11px;
  font-weight: 650;
}

.n26-workspace {
  display: grid;
  grid-template-columns: minmax(220px, 258px) minmax(0, 1fr);
  min-height: calc(100vh - 66px);
}

.n26-sidebar {
  position: sticky;
  top: 66px;
  align-self: start;
  display: flex;
  height: calc(100vh - 66px);
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  padding: 24px 15px 18px;
  border-right: 1px solid var(--n26-border);
  background: var(--n26-panel-soft);
}

.n26-sidebar-label,
.n26-sidebar-foot {
  margin: 0;
  padding: 0 11px;
  color: var(--n26-muted);
  font-size: 10px;
  letter-spacing: .1em;
}

.n26-sidebar-label {
  margin-bottom: 10px;
  font-weight: 750;
}

.n26-sidebar-foot {
  margin-top: auto;
  padding-top: 19px;
  font-size: 10px;
  letter-spacing: 0;
  line-height: 1.4;
}

.n26-nav-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  transition: background .16s ease, border-color .16s ease;
}

.n26-nav-item:hover {
  background: var(--n26-panel);
}

.n26-nav-item[aria-current="page"] {
  border-color: #c6ddd3;
  background: #eaf2ed;
  color: var(--n26-brand-dark);
  font-weight: 700;
}

.n26-nav-number {
  padding-top: 1px;
  color: var(--n26-brand);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.n26-main {
  min-width: 0;
  padding: 0 clamp(16px, 3vw, 44px) 34px;
}

.n26-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 53px;
  border-bottom: 1px solid var(--n26-border);
  color: var(--n26-muted);
  font-size: 11px;
}

.n26-pages {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.n26-page {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px) 0 18px;
  animation: n26-enter .22s ease both;
}

@keyframes n26-enter {
  from { opacity: .65; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.n26-page-heading {
  margin-bottom: 23px;
}

.n26-overline {
  display: inline-flex;
  align-items: center;
  color: var(--n26-brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.n26-page-heading h1 {
  max-width: 900px;
  margin: 7px 0 0;
  color: var(--n26-ink);
  font-size: clamp(26px, 3vw, 39px);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.n26-screen-body,
.n26-page > .n26-google-audit {
  min-width: 0;
}

.n26-description {
  max-width: 880px;
  margin: 0 0 20px;
  color: var(--n26-muted);
  font-size: 14px;
  line-height: 1.6;
}

.n26-screen-note,
.n26-method-note,
.n26-annotation {
  color: var(--n26-muted);
  font-size: 11px;
  line-height: 1.55;
}

.n26-screen-note {
  margin: 22px 0 0;
  padding: 11px 13px;
  border-left: 3px solid var(--n26-accent);
  border-radius: 0 8px 8px 0;
  background: var(--n26-panel-soft);
}

.n26-method-note,
.n26-annotation {
  margin: 14px 0 0;
}

.n26-control-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 15px;
}

.n26-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--n26-border);
  border-radius: 11px;
  background: var(--n26-panel);
}

.n26-chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--n26-muted) !important;
  font-size: 11px !important;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.n26-chip:hover {
  background: var(--n26-panel-soft);
  color: var(--n26-ink) !important;
}

.n26-chip[aria-pressed="true"] {
  border-color: #c4d9d1;
  background: #eaf2ed;
  color: var(--n26-brand-dark) !important;
}

.n26-channel-controls {
  max-width: 100%;
  overflow-x: auto;
}

.n26-channel-chip {
  padding-inline: 9px;
}

.n26-channel-icon,
.n26-stage-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

.n26-select-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--n26-muted);
  font-size: 11px;
  font-weight: 650;
}

.n26-select-label select {
  min-height: 36px;
  padding: 6px 30px 6px 10px;
  border: 1px solid var(--n26-border);
  border-radius: 8px;
  background: var(--n26-panel);
  color: var(--n26-ink);
}

.n26-stat-grid,
.n26-search-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.n26-stat-tile,
.n26-search-card,
.n26-reading,
.n26-conclusion-card,
.n26-audit-card,
.n26-paired-example,
.n26-cjm-card {
  border: 1px solid var(--n26-border);
  border-radius: 14px;
  background: var(--n26-panel);
  box-shadow: var(--n26-shadow);
}

.n26-stat-tile {
  display: grid;
  min-height: 142px;
  align-content: start;
  gap: 8px;
  padding: 17px 17px 15px;
}

.n26-stat-tile > span {
  color: var(--n26-muted);
  font-size: 11px;
  font-weight: 700;
}

.n26-stat-tile strong {
  color: var(--n26-brand-dark);
  font-size: clamp(22px, 2.2vw, 30px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.n26-stat-tile small {
  color: var(--n26-muted);
  font-size: 10px;
  line-height: 1.45;
}

.n26-overview-cjm {
  margin-top: 29px;
}

.n26-section-heading {
  margin-bottom: 13px;
}

.n26-section-heading h3 {
  margin: 5px 0 0;
  font-size: 18px;
  letter-spacing: -.02em;
}

.n26-cjm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.n26-cjm-card {
  position: relative;
  min-height: 181px;
  padding: 16px 15px 14px;
  box-shadow: none;
}

.n26-cjm-card .n26-stage-icon {
  width: 26px;
  height: 26px;
}

.n26-cjm-card > span {
  position: absolute;
  top: 18px;
  right: 15px;
  color: #9aaca4;
  font-size: 11px;
  font-weight: 800;
}

.n26-cjm-card h3 {
  margin: 11px 0 5px;
  font-size: 14px;
}

.n26-cjm-card p {
  margin: 0 0 12px;
  color: var(--n26-muted);
  font-size: 11px;
  line-height: 1.45;
}

.n26-cjm-card b {
  color: var(--n26-brand-dark);
  font-size: 10px;
}

.n26-rank-panel,
.n26-matrix-panel,
.n26-source-view,
.n26-source-channel,
.n26-journey-view,
.n26-stage-card {
  min-width: 0;
}

.n26-rank-panel {
  padding: 15px 16px 13px;
  border: 1px solid var(--n26-border);
  border-radius: 14px;
  background: var(--n26-panel);
  box-shadow: var(--n26-shadow);
}

.n26-rank-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px 16px;
  margin-bottom: 10px;
  color: var(--n26-muted);
  font-size: 11px;
}

.n26-rank-meta b {
  color: var(--n26-ink);
  font-variant-numeric: tabular-nums;
}

.n26-table-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--n26-grid);
  border-radius: 10px;
  background: var(--n26-panel);
  scrollbar-color: #aabbb2 transparent;
  scrollbar-width: thin;
}

.n26-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--n26-ink);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.n26-rank-table {
  min-width: 680px;
}

.n26-screen .n26-table th,
.n26-screen .n26-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--n26-grid);
  color: var(--n26-ink);
  text-align: right;
  white-space: nowrap;
}

.n26-table thead th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: var(--n26-panel-soft);
  color: var(--n26-muted);
  font-size: 10px;
  font-weight: 750;
}

.n26-table thead th:first-child,
.n26-table tbody th:first-child,
.n26-table tfoot th {
  text-align: left;
}

.n26-table tbody th {
  font-weight: 650;
}

.n26-table tbody tr:hover td,
.n26-table tbody tr:hover th {
  background: var(--n26-panel-soft);
}

.n26-table tfoot th,
.n26-table tfoot td {
  border-bottom: 0;
  background: var(--n26-panel-soft);
  font-weight: 800;
}

.n26-rank-number {
  color: var(--n26-muted);
  font-size: 10px;
}

.n26-brand-cell {
  display: inline-flex;
  min-width: 128px;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.n26-brand-logo {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--n26-grid);
  border-radius: 7px;
  background: white;
}

.n26-logo-image {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.n26-brand-initial {
  background: #e8f0eb;
  color: var(--n26-brand-dark);
  font-size: 9px;
  font-weight: 800;
}

.n26-count {
  color: var(--n26-ink);
  font-weight: 750;
}

.n26-metric-cell {
  min-width: 118px;
  color: var(--n26-brand-dark);
  font-weight: 750;
}

.n26-value {
  display: none;
}

.n26-value.is-active {
  display: inline;
}

.n26-citations {
  color: var(--n26-muted);
}

.n26-other-row {
  color: var(--n26-muted);
}

.n26-more,
.n26-page-step {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 12px;
  border: 1px solid var(--n26-border);
  border-radius: 9px;
  background: var(--n26-panel);
  color: var(--n26-brand-dark) !important;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.n26-more:disabled,
.n26-page-step:disabled {
  cursor: default;
  opacity: .42;
}

.n26-more:not(:disabled):hover,
.n26-page-step:not(:disabled):hover {
  border-color: #b3cec3;
  background: #eff5f0;
}

.n26-reading {
  padding: 18px 19px;
  box-shadow: none;
}

.n26-reading h3 {
  margin: 8px 0 7px;
  font-size: 18px;
}

.n26-reading p {
  margin: 0;
  color: var(--n26-muted);
  font-size: 12px;
}

.n26-reading .n26-reading-foot {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--n26-grid);
  font-size: 10px;
}

.n26-matrix-panel,
.n26-stage-matrix {
  padding: 13px;
  border: 1px solid var(--n26-border);
  border-radius: 14px;
  background: var(--n26-panel);
  box-shadow: var(--n26-shadow);
}

.n26-matrix {
  min-width: 870px;
}

.n26-matrix > thead th:first-child,
.n26-matrix > tbody th:first-child {
  position: sticky;
  z-index: 2;
  left: 0;
  min-width: 185px;
  background: var(--n26-panel);
}

.n26-matrix > thead th:first-child {
  background: var(--n26-panel-soft);
}

.n26-matrix-heading {
  display: flex;
  min-width: 92px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  white-space: normal;
  text-align: center;
}

.n26-matrix-heading img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.n26-matrix-heading span {
  color: var(--n26-ink);
  font-size: 10px;
  font-weight: 750;
}

.n26-matrix-heading small {
  color: var(--n26-muted);
  font-size: 9px;
  font-weight: 500;
}

.n26-matrix-value,
.n26-stage-cell {
  display: grid;
  gap: 3px;
  color: var(--n26-brand-dark);
  text-align: center;
}

.n26-matrix-value b,
.n26-stage-cell b {
  font-size: 12px;
}

.n26-matrix-value small,
.n26-stage-cell small {
  color: var(--n26-muted);
  font-size: 9px;
}

.n26-matrix-empty,
.n26-matrix-empty td {
  color: #97a59e;
}

.n26-stage-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 13px;
  overflow-x: auto;
  padding: 2px 2px 5px;
}

.n26-stage-tab {
  display: flex;
  min-width: 155px;
  min-height: 63px;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--n26-border);
  border-radius: 10px;
  background: var(--n26-panel);
  color: var(--n26-muted);
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  font-weight: 650;
}

.n26-stage-tab[aria-pressed="true"] {
  border-color: #a9c9bb;
  background: #eaf2ed;
  color: var(--n26-brand-dark);
}

.n26-stage-card {
  margin-bottom: 12px;
  padding: 15px;
  border: 1px solid var(--n26-border);
  border-radius: 14px;
  background: var(--n26-panel);
}

.n26-stage-card-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 11px;
  margin-bottom: 13px;
}

.n26-stage-card-head .n26-stage-icon {
  width: 30px;
  height: 30px;
}

.n26-stage-card-head span {
  color: var(--n26-brand);
  font-size: 10px;
  font-weight: 800;
}

.n26-stage-card-head h3 {
  margin: 2px 0 3px;
  font-size: 14px;
}

.n26-stage-card-head p {
  margin: 0;
  color: var(--n26-muted);
  font-size: 11px;
}

.n26-stage-card-head > strong {
  color: var(--n26-brand-dark);
  font-size: 20px;
  text-align: right;
}

.n26-stage-card-head > strong small {
  display: block;
  color: var(--n26-muted);
  font-size: 9px;
  font-weight: 550;
}

.n26-stage-table-wrap .n26-rank-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.n26-stage-table-wrap .n26-rank-meta {
  display: none;
}

.n26-stage-matrix {
  margin-top: 15px;
}

.n26-stage-matrix > .n26-controls {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  overflow-x: auto;
}

.n26-rank-shift {
  min-height: 12px;
  color: var(--n26-muted);
  font-size: 9px;
  font-weight: 750;
}

.n26-source-bases {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.n26-source-bases span {
  padding: 6px 9px;
  border: 1px solid var(--n26-border);
  border-radius: 8px;
  background: var(--n26-panel);
  color: var(--n26-muted);
  font-size: 10px;
}

.n26-source-bases b {
  margin-left: 4px;
  color: var(--n26-ink);
}

.n26-source-table {
  min-width: 760px;
}

.n26-type-cell {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.n26-type-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--n26-brand);
}

.n26-source-cell {
  display: grid;
  gap: 2px;
  text-align: right;
}

.n26-source-cell b {
  color: var(--n26-brand-dark);
}

.n26-source-cell small {
  color: var(--n26-muted);
  font-size: 9px;
}

.n26-source-coverage,
.n26-unknown-line {
  margin: 13px 0 0;
  color: var(--n26-muted);
  font-size: 11px;
  line-height: 1.55;
}

.n26-classification {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--n26-border);
  border-radius: 9px;
  background: var(--n26-panel);
  color: var(--n26-muted);
  font-size: 11px;
}

.n26-classification summary,
.n26-audit-card summary,
.n26-paired-example summary {
  cursor: pointer;
  color: var(--n26-brand-dark);
  font-weight: 700;
}

.n26-classification p {
  margin-bottom: 0;
}

.n26-search-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 18px;
}

.n26-search-card {
  padding: 17px;
  box-shadow: none;
}

.n26-search-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--n26-grid);
}

.n26-search-card header > img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.n26-search-card h3 {
  margin: 2px 0 0;
  font-size: 15px;
}

.n26-search-card .n26-overline {
  font-size: 9px;
}

.n26-search-card-metric {
  display: grid;
  gap: 2px;
  margin: 14px 0 12px;
}

.n26-search-card-metric b {
  color: var(--n26-brand-dark);
  font-size: 29px;
  font-variant-numeric: tabular-nums;
}

.n26-search-card-metric b small {
  color: var(--n26-muted);
  font-size: 16px;
}

.n26-search-card-metric span {
  color: var(--n26-muted);
  font-size: 11px;
}

.n26-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--n26-muted);
  font-size: 10px;
}

.n26-mini-stats b {
  margin-left: 3px;
  color: var(--n26-ink);
}

.n26-status-pill {
  display: inline-flex;
  margin-top: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f8eee7;
  color: #8b4e30;
  font-size: 9px;
  font-weight: 700;
}

.n26-card-context {
  margin: 10px 0 0;
  color: var(--n26-muted);
  font-size: 11px;
}

.n26-paired-example {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 17px;
  box-shadow: none;
}

.n26-paired-example > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--n26-border);
}

.n26-paired-example h3 {
  margin: 5px 0 8px;
  font-size: 15px;
}

.n26-paired-example p,
.n26-audit-card p {
  color: var(--n26-muted);
  font-size: 11px;
  line-height: 1.6;
}

.n26-paired-example details,
.n26-audit-card details {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--n26-grid);
}

.n26-conclusion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.n26-conclusion-card {
  min-height: 210px;
  padding: 18px;
  box-shadow: none;
}

.n26-conclusion-card h3 {
  margin: 9px 0 8px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.n26-conclusion-card p {
  margin: 0 0 14px;
  color: var(--n26-ink);
  font-size: 12px;
  line-height: 1.6;
}

.n26-conclusion-card small {
  display: block;
  padding-top: 10px;
  border-top: 1px solid var(--n26-grid);
  color: var(--n26-muted);
  font-size: 10px;
  line-height: 1.5;
}

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

.n26-audit-card {
  padding: 15px;
  box-shadow: none;
}

.n26-audit-card h3 {
  margin: 5px 0 7px;
  font-size: 14px;
}

.n26-audit-card p {
  margin: 6px 0;
}

.n26-journal-line {
  padding-left: 9px;
  border-left: 2px solid var(--n26-border);
}

.n26-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px auto 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--n26-border);
}

.n26-page-nav > span {
  color: var(--n26-muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.n26-page-step {
  margin: 0;
}

.n26-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .n26-preview-body,
  .n26-screen {
    --n26-ink: #e5eee9;
    --n26-muted: #a3b5ac;
    --n26-brand: #8ac3b0;
    --n26-brand-dark: #b5dccb;
    --n26-accent: #e19b72;
    --n26-canvas: #101a18;
    --n26-panel: #182522;
    --n26-panel-soft: #1d2d29;
    --n26-border: #32453f;
    --n26-grid: #2b3d37;
    --n26-shadow: 0 18px 48px rgb(0 0 0 / 14%);
  }

  .n26-nav-item[aria-current="page"],
  .n26-chip[aria-pressed="true"],
  .n26-stage-tab[aria-pressed="true"] {
    border-color: #49695b;
    background: #263d34;
    color: #d5eadf !important;
  }

  .n26-brand-logo {
    border-color: #dfe9e3;
  }

  .n26-brand-initial {
    background: #274239;
    color: #d5eadf;
  }

  .n26-status-pill {
    background: #412d22;
    color: #e8b293;
  }

  .n26-page-step:not(:disabled):hover,
  .n26-more:not(:disabled):hover {
    background: #263d34;
  }
}

html[data-theme="dark"] .n26-screen {
  --n26-ink: #e5eee9;
  --n26-muted: #a3b5ac;
  --n26-brand: #8ac3b0;
  --n26-brand-dark: #b5dccb;
  --n26-accent: #e19b72;
  --n26-canvas: #101a18;
  --n26-panel: #182522;
  --n26-panel-soft: #1d2d29;
  --n26-border: #32453f;
  --n26-grid: #2b3d37;
  --n26-shadow: 0 18px 48px rgb(0 0 0 / 14%);
}

html[data-theme="dark"] .n26-screen .n26-nav-item[aria-current="page"],
html[data-theme="dark"] .n26-screen .n26-chip[aria-pressed="true"],
html[data-theme="dark"] .n26-screen .n26-stage-tab[aria-pressed="true"] {
  border-color: #49695b;
  background: #263d34;
  color: #d5eadf !important;
}

html[data-theme="dark"] .n26-screen .n26-brand-logo {
  border-color: #dfe9e3;
}

html[data-theme="dark"] .n26-screen .n26-brand-initial {
  background: #274239;
  color: #d5eadf;
}

html[data-theme="dark"] .n26-screen .n26-status-pill {
  background: #412d22;
  color: #e8b293;
}

html[data-theme="dark"] .n26-screen .n26-page-step:not(:disabled):hover,
html[data-theme="dark"] .n26-screen .n26-more:not(:disabled):hover {
  background: #263d34;
}

html[data-theme="dark"] .n26-screen .n26-table th,
html[data-theme="dark"] .n26-screen .n26-table td {
  color: var(--n26-ink) !important;
}

html[data-theme="dark"] section.screen.n26-screen[id^="new-"] .n26-table th,
html[data-theme="dark"] section.screen.n26-screen[id^="new-"] .n26-table td {
  color: var(--n26-ink) !important;
}

@media (max-width: 1120px) {
  .n26-workspace {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .n26-stat-grid,
  .n26-cjm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n26-rank-meta {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .n26-workspace {
    display: flex;
    flex-direction: column;
  }

  .n26-sidebar {
    position: sticky;
    z-index: 8;
    top: 66px;
    display: flex;
    width: 100%;
    min-width: 0;
    height: 72px;
    min-height: 72px;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--n26-border);
    scrollbar-width: thin;
  }

  .n26-sidebar-label,
  .n26-sidebar-foot {
    display: none;
  }

  .n26-nav-item {
    width: 148px;
    min-width: 148px;
    height: 56px;
    flex: 0 0 148px;
    grid-template-columns: 23px minmax(0, 1fr);
    align-items: center;
    padding: 5px 8px;
    font-size: 10px;
  }

  .n26-main {
    padding-inline: 14px;
  }

  .n26-toolbar {
    min-height: 43px;
    font-size: 9px;
  }

  .n26-context-muted {
    display: none;
  }

  .n26-page {
    padding-top: 22px;
  }

  .n26-page-heading {
    margin-bottom: 17px;
  }

  .n26-page-heading h1 {
    font-size: 27px;
  }

  .n26-description {
    font-size: 12px;
  }

  .n26-stat-grid,
  .n26-cjm-grid,
  .n26-search-cards,
  .n26-paired-example,
  .n26-conclusion-grid,
  .n26-audit-grid {
    grid-template-columns: 1fr;
  }

  .n26-stat-tile {
    min-height: 116px;
  }

  .n26-cjm-card {
    min-height: 150px;
  }

  .n26-paired-example > div + div {
    padding: 15px 0 0;
    border-top: 1px solid var(--n26-border);
    border-left: 0;
  }

  .n26-control-row {
    align-items: stretch;
    gap: 7px;
  }

  .n26-controls {
    max-width: 100%;
    overflow-x: auto;
  }

  .n26-chip {
    padding-inline: 9px;
    font-size: 10px !important;
  }

  .n26-rank-panel {
    padding: 10px;
  }

  .n26-rank-meta {
    gap: 7px;
  }

  .n26-stage-tabs {
    margin-inline: -2px;
  }

  .n26-stage-tab {
    min-width: 145px;
  }

  .n26-stage-card {
    padding: 10px;
  }

  .n26-matrix-panel,
  .n26-stage-matrix {
    padding: 8px;
  }

  .n26-page-nav {
    position: static;
    padding: 10px 0;
    background: var(--n26-canvas);
  }
}

@media (prefers-reduced-motion: reduce) {
  .n26-root *,
  .n26-root *::before,
  .n26-root *::after,
  .n26-screen *,
  .n26-screen *::before,
  .n26-screen *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Revision 1.1: use the shared research dashboard palette, scale and shell. */
.n26-preview-body,
.n26-root,
.n26-screen {
  --n26-ink: var(--text);
  --n26-muted: var(--muted);
  --n26-brand: var(--blue);
  --n26-brand-dark: var(--blue);
  --n26-accent: var(--blue);
  --n26-canvas: var(--bg);
  --n26-panel: var(--bg);
  --n26-panel-soft: var(--surface);
  --n26-border: var(--line);
  --n26-grid: var(--line);
  --n26-shadow: var(--shadow);
}

html[data-theme="dark"] .n26-screen {
  --n26-ink: var(--text);
  --n26-muted: var(--muted);
  --n26-brand: var(--blue);
  --n26-brand-dark: var(--blue);
  --n26-accent: var(--blue);
  --n26-canvas: var(--bg);
  --n26-panel: var(--bg);
  --n26-panel-soft: var(--surface);
  --n26-border: var(--line);
  --n26-grid: var(--line);
  --n26-shadow: var(--shadow);
}

.n26-preview-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

.n26-root {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.n26-preview-masthead {
  min-height: 64px;
  height: 64px;
}

.n26-preview-masthead button[data-n26-toc-toggle] {
  display: inline-flex;
  width: auto;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--text);
  font-size: 14px;
}

.n26-preview-masthead button[data-n26-toc-toggle] img {
  width: 22px;
  height: 22px;
}

.n26-toc {
  z-index: 30;
}

.n26-toc[hidden] {
  display: none !important;
}

.n26-nav-item {
  width: 100%;
  min-height: 42px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  padding: 8px 20px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.3;
}

.n26-nav-item[aria-current="page"] {
  border-color: var(--blue);
  background: var(--blue-fade);
  color: var(--blue);
}

.n26-nav-number {
  color: var(--muted);
  font-size: 13px;
}

.n26-main {
  min-width: 0;
  padding: 0;
}

.n26-preview-context {
  max-width: 1320px;
  margin: 8px auto 0;
  padding: 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.n26-page {
  position: relative;
  display: flex;
  min-height: calc(100vh - 64px);
  align-items: flex-start;
  padding: 20px 44px 76px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  animation: none;
}

.n26-page-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 0;
}

.n26-page-overline {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.n26-page h1 {
  max-width: 1160px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.n26-screen-body {
  min-width: 0;
  color: var(--text);
}

.n26-description {
  max-width: 1050px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.n26-overline {
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .04em;
}

.n26-screen-note,
.n26-method-note,
.n26-annotation,
.n26-source-coverage,
.n26-unknown-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.n26-screen-note {
  max-width: 1180px;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.n26-method-note,
.n26-annotation {
  margin: 10px 0 0;
}

.n26-control-row {
  gap: 8px 14px;
  margin-bottom: 12px;
}

.n26-controls {
  gap: 4px;
  padding: 3px;
  border-radius: 8px;
  background: var(--surface);
}

.n26-chip {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: 600;
}

.n26-chip:hover {
  background: var(--blue-fade);
  color: var(--blue) !important;
}

.n26-chip[aria-pressed="true"],
.n26-stage-tab[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue-fade);
  color: var(--blue) !important;
}

.n26-channel-alias {
  margin-left: 3px;
  color: var(--muted);
  font-size: .78em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.n26-select-label {
  font-size: 14px;
}

.n26-select-label select {
  min-height: 38px;
  border-radius: 6px;
  font-size: 14px;
}

.n26-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.n26-stat-tile,
.n26-search-card,
.n26-reading,
.n26-conclusion-card,
.n26-audit-card,
.n26-paired-example,
.n26-cjm-card {
  border-color: var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
}

.n26-stat-tile {
  min-height: 116px;
  gap: 6px;
  padding: 14px 16px;
}

.n26-stat-tile > span,
.n26-stat-tile small {
  color: var(--muted);
  font-size: 14px;
}

.n26-stat-tile strong {
  color: var(--blue);
  font-size: clamp(28px, 2.7vw, 40px);
}

.n26-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: 26px;
}

.n26-overview-copy {
  min-width: 0;
}

.n26-overview-image {
  display: block;
  width: 100%;
  max-height: min(40vh, 315px);
  object-fit: contain;
}

.n26-overview-reading {
  margin-top: 10px;
  padding: 12px 16px;
  border-left: 4px solid var(--blue);
  background: var(--blue-fade);
}

.n26-overview-reading b {
  color: var(--blue);
  font-size: 14px;
}

.n26-overview-reading p {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 14px;
}

.n26-overview-cjm {
  margin-top: 18px;
}

.n26-section-heading {
  margin-bottom: 8px;
}

.n26-section-heading h3 {
  font-size: 20px;
}

.n26-cjm-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.n26-cjm-card {
  min-height: 125px;
  padding: 12px 13px;
}

.n26-cjm-card .n26-stage-icon {
  width: 24px;
  height: 24px;
}

.n26-cjm-card > span {
  color: var(--muted);
  font-size: 13px;
}

.n26-cjm-card h3 {
  margin: 7px 0 4px;
  color: var(--text);
  font-size: 16px;
}

.n26-cjm-card p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.n26-cjm-card b {
  color: var(--blue);
  font-size: 13px;
}

.n26-rank-layout,
.n26-matrix-layout,
.n26-source-view-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(245px, .95fr);
  align-items: start;
  gap: 16px;
}

.n26-rank-main,
.n26-matrix-layout > div,
.n26-source-view-layout > div {
  min-width: 0;
}

.n26-rank-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.n26-rank-meta {
  gap: 7px 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.n26-rank-meta b {
  color: var(--text);
}

.n26-table-scroll {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--bg);
  scrollbar-color: var(--muted) transparent;
}

.n26-table {
  width: 100%;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}

.n26-rank-table {
  min-width: 660px;
}

.n26-screen .n26-table th,
.n26-screen .n26-table td {
  padding: 6px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.n26-rank-table tbody th,
.n26-rank-table tbody td {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.n26-rank-table .n26-brand-logo {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.n26-rank-table .n26-logo-image {
  width: 17px;
  height: 17px;
}

.n26-table thead th {
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.n26-table tbody th {
  font-weight: 600;
}

.n26-table tbody tr:hover td,
.n26-table tbody tr:hover th {
  background: var(--blue-fade);
}

.n26-table tfoot th,
.n26-table tfoot td {
  background: var(--surface);
  color: var(--text);
}

.n26-brand-cell {
  min-width: 130px;
  gap: 7px;
}

.n26-brand-logo {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  border-color: var(--line);
  border-radius: 5px;
}

.n26-logo-image {
  width: 23px;
  height: 23px;
}

.n26-brand-initial {
  background: var(--blue-fade);
  color: var(--blue);
  font-size: 11px;
}

.n26-count,
.n26-metric-cell {
  color: var(--blue);
  font-size: 15px;
}

.n26-rank-number {
  font-size: 13px;
}

.n26-reading {
  position: sticky;
  top: 84px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  background: var(--surface);
}

.n26-reading h3 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.n26-reading p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.42;
}

.n26-reading .n26-reading-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.n26-matrix-panel,
.n26-stage-matrix {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.n26-matrix {
  min-width: 850px;
  font-size: 14px;
}

.n26-matrix-heading img {
  width: 24px;
  height: 24px;
}

.n26-matrix-heading span {
  font-size: 14px;
}

.n26-matrix-heading small {
  color: var(--muted);
  font-size: 12px;
}

.n26-matrix-value b,
.n26-stage-cell b {
  color: var(--blue);
  font-size: 15px;
}

.n26-matrix-value small,
.n26-stage-cell small {
  color: var(--muted);
  font-size: 12px;
}

.n26-stage-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.n26-stage-tabs {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.n26-stage-tab {
  min-height: 42px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
}

.n26-stage-tab[aria-pressed="true"] {
  color: var(--blue);
}

.n26-stage-all-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.n26-reset {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.n26-reset:hover {
  background: var(--blue-fade);
}

.n26-stage-card {
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.n26-stage-card-head h3 {
  color: var(--text);
  font-size: 18px;
}

.n26-stage-card-head p {
  color: var(--muted);
  font-size: 14px;
}

.n26-stage-card-head > strong {
  color: var(--blue);
  font-size: 24px;
}

.n26-stage-table-wrap .n26-rank-panel {
  padding: 0;
}

.n26-stage-table-wrap .n26-rank-meta {
  font-size: 13px;
}

.n26-rank-shift {
  color: var(--blue);
  font-size: 13px;
}

.n26-source-bases {
  gap: 8px;
  margin-bottom: 10px;
}

.n26-source-bases span {
  padding: 8px 10px;
  border-color: var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.n26-source-bases b {
  color: var(--text);
  font-size: 16px;
}

.n26-source-table {
  min-width: 760px;
}

.n26-source-table .n26-type-icon,
.n26-page-type-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

html[data-theme="dark"] .n26-page-type-icon {
  filter: invert(1);
}

.n26-site-examples {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.n26-site-examples > b {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.n26-site-examples > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.n26-site-example {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
}

.n26-site-example img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.n26-source-reading {
  position: sticky;
}

.n26-search-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.n26-search-card {
  padding: 18px;
}

.n26-search-card h3,
.n26-conclusion-card h3 {
  color: var(--text);
  font-size: 20px;
}

.n26-search-card-metric b {
  color: var(--blue);
  font-size: 34px;
}

.n26-search-card-metric span,
.n26-mini-stats span,
.n26-card-context {
  color: var(--muted);
  font-size: 14px;
}

.n26-paired-example {
  margin-top: 14px;
  padding: 18px;
  border-radius: 10px;
  box-shadow: none;
}

.n26-paired-example h3 {
  color: var(--text);
  font-size: 20px;
}

.n26-paired-example p,
.n26-paired-example details {
  color: var(--muted);
  font-size: 14px;
}

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

.n26-conclusion-card {
  padding: 18px;
}

.n26-conclusion-card p {
  color: var(--text);
  font-size: 15px;
}

.n26-conclusion-card small {
  color: var(--blue);
  font-size: 14px;
}

.n26-page-nav {
  position: fixed;
  z-index: 18;
  right: 24px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 6px 18px var(--shadow);
}

.n26-page-step {
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}

.n26-page-step:not(:disabled):hover,
.n26-more:not(:disabled):hover {
  border-color: var(--blue);
  background: var(--blue-fade);
  color: var(--blue);
}

.n26-page-step:disabled {
  color: var(--muted);
  opacity: .6;
}

.n26-page-nav > span {
  color: var(--muted);
  font-size: 13px;
}

.n26-more {
  min-height: 36px;
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
}

.n26-preview-context,
.n26-screen-note {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .n26-page {
    padding-inline: 28px;
  }

  .n26-rank-layout,
  .n26-matrix-layout,
  .n26-source-view-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(230px, .85fr);
  }
}

@media (max-width: 760px) {
  .n26-preview-masthead {
    gap: 8px;
    padding-inline: 12px;
  }

  .n26-preview-masthead .subject {
    font-size: 14px;
  }

  .n26-preview-masthead .brand {
    gap: 7px;
    padding-right: 10px;
  }

  .n26-preview-masthead .brand b {
    display: none;
  }

  .n26-preview-masthead button[data-n26-toc-toggle] {
    padding-inline: 7px;
  }

  .n26-preview-masthead button[data-n26-toc-toggle] span {
    display: none;
  }

  .n26-preview-context {
    margin-top: 6px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .n26-page {
    min-height: calc(100vh - 64px);
    align-items: flex-start;
    padding: 22px 14px 78px;
  }

  .n26-page-overline {
    font-size: 14px;
  }

  .n26-page h1 {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .n26-description {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .n26-overview-grid,
  .n26-rank-layout,
  .n26-matrix-layout,
  .n26-source-view-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .n26-overview-image {
    max-height: 220px;
  }

  .n26-stat-grid,
  .n26-cjm-grid,
  .n26-search-cards,
  .n26-conclusion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n26-stat-tile {
    min-height: 105px;
    padding: 11px;
  }

  .n26-stat-tile strong {
    font-size: 28px;
  }

  .n26-cjm-card {
    min-height: 145px;
  }

  .n26-cjm-card p {
    font-size: 12px;
  }

  .n26-rank-layout,
  .n26-matrix-layout,
  .n26-source-view-layout {
    gap: 10px;
  }

  .n26-reading {
    position: static;
    padding: 14px;
  }

  .n26-reading h3 {
    font-size: 18px;
  }

  .n26-reading p {
    font-size: 14px;
  }

  .n26-control-row {
    align-items: flex-start;
    gap: 7px;
  }

  .n26-controls {
    max-width: 100%;
    overflow-x: auto;
  }

  .n26-chip {
    min-height: 38px;
    padding-inline: 9px;
    font-size: 13px !important;
  }

  .n26-stage-tabs-row {
    align-items: flex-start;
  }

  .n26-stage-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 0 5px;
  }

  .n26-stage-tab {
    min-width: max-content;
    font-size: 13px;
  }

  .n26-reset {
    min-width: 42px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .n26-source-bases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n26-conclusion-card {
    padding: 13px;
  }

  .n26-conclusion-card h3 {
    font-size: 17px;
  }

  .n26-conclusion-card p,
  .n26-conclusion-card small {
    font-size: 13px;
  }

  .n26-page-nav {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    width: max-content;
    max-width: 100%;
    margin: 10px auto 8px;
    justify-content: space-between;
    padding: 5px;
  }

  .n26-page-step {
    min-height: 38px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .n26-screen-note {
    padding-right: 4px;
  }
}

html[data-theme="dark"] .n26-screen .n26-chip[aria-pressed="true"],
html[data-theme="dark"] .n26-screen .n26-stage-tab[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue-fade);
  color: var(--blue) !important;
}

html[data-theme="dark"] .n26-screen .n26-brand-initial {
  border-color: var(--line);
  background: var(--blue-fade);
  color: var(--blue);
}

html[data-theme="dark"] .n26-screen .n26-page-type-icon {
  filter: invert(1);
}

/* Вертикальные лейблы и рейтинги повторяют действующие экраны рынка. */
.n26-page-overline {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.n26-channel-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin: 0 0 8px;
}

.n26-channel-group {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.n26-channel-group .market-channel-icons {
  gap: 7px;
}

.n26-channel-group .market-channel-icons img {
  width: 19px;
  height: 19px;
}

.n26-rank-meta {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 6px;
}

#n26-preview .market-reading {
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}

.n26-rank-meta .n26-select-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.n26-rank-meta select {
  min-height: 32px;
  padding: 4px 26px 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.market-chart-head .n26-citations-base {
  display: block;
  font-size: 10px;
  line-height: 1.1;
  color: var(--muted);
}

.market-row[data-n26-ai-sov-leader="true"] .market-bar > span {
  background: var(--blue);
}

.cjm-rank-change {
  flex: none;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cjm-rank-change.is-up {
  color: #17835c;
}

.cjm-rank-change.is-down {
  color: #bd4a45;
}

.cjm-rank-change.is-flat {
  color: var(--muted);
}

.n26-stage-tabs-row {
  align-items: center;
}

.n26-journey-mode-toggle {
  margin-left: auto;
}

.n26-stage-card-head {
  margin-bottom: 10px;
}

.n26-stage-card .market-row {
  min-height: 34px;
}

.n26-stage-card .market-reading {
  padding: 19px;
}

.n26-stage-card .market-compare {
  margin: 14px 0;
  padding: 14px 0;
}

.n26-stage-card .market-reading h3 {
  font-size: clamp(20px, 1.75vw, 25px);
}

.n26-stage-card .market-source-note {
  margin: 4px 0 0 !important;
}

.n26-source-table .n26-type-cell {
  flex-wrap: wrap;
  row-gap: 4px;
}

.n26-site-example-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.n26-site-example-icons img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
  border-radius: 3px;
}

.n26-site-example-more {
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.n26-page-nav {
  position: static;
  inset: auto;
  width: max-content;
  max-width: calc(100% - 28px);
  margin: 16px auto 20px;
  box-shadow: none;
}

.n26-page {
  padding-bottom: 26px;
}

@media screen and (min-width: 801px) and (max-height: 800px) {
  .n26-page {
    padding-top: 13px;
    padding-bottom: 22px;
  }

  .n26-page h1 {
    margin-bottom: 7px;
    font-size: clamp(32px, 3vw, 42px);
  }

  .n26-description {
    margin-bottom: 7px;
    font-size: 16px;
  }

  .n26-channel-line {
    margin-bottom: 5px;
  }

  .n26-page .market-row {
    min-height: 32px;
  }
}

@media (max-width: 800px) {
  .n26-page {
    padding-bottom: 24px;
  }

  .n26-channel-line {
    gap: 10px 16px;
  }

  .n26-channel-group {
    gap: 7px;
    font-size: 12px;
  }

  .n26-channel-group .market-channel-icons {
    gap: 4px;
  }

  .n26-channel-group .market-channel-icons img {
    width: 17px;
    height: 17px;
  }

  .n26-stage-tabs-row {
    align-items: flex-start;
  }

  .n26-journey-mode-toggle {
    margin-left: 0;
  }

  .n26-stage-card .market-row {
    min-height: 0;
  }

  .cjm-rank-change {
    margin-left: 4px;
  }
}

@media screen and (min-width: 801px) {
  .n26-journey-control-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
  }

  .n26-journey-control-row > .n26-controls {
    flex: 0 0 auto;
  }

  .n26-journey-control-row > .n26-journey-mode-toggle {
    margin-left: auto;
  }

  .n26-stage-tabs {
    flex-wrap: nowrap;
    gap: 5px;
  }

  .n26-stage-tabs .n26-stage-tab {
    min-height: 36px;
    padding: 5px 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .n26-stage-tabs-row {
    gap: 8px;
    margin-bottom: 8px;
  }

  .n26-stage-tabs-row .n26-reset {
    min-height: 36px;
    margin-left: auto;
    padding: 5px 9px;
    font-size: 13px;
    white-space: nowrap;
  }

  .n26-stage-card {
    padding: 9px 10px;
  }

  .n26-stage-card-head {
    margin-bottom: 6px;
  }

  .n26-stage-card-head h3 {
    margin: 3px 0;
    font-size: 16px;
  }

  .n26-stage-card-head p {
    margin: 3px 0;
    font-size: 12px;
  }

  .n26-stage-card-head > strong {
    font-size: 20px;
  }

  .n26-stage-card-head > strong small {
    font-size: 10px;
  }

  .n26-stage-card .market-reading {
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .n26-stage-card .market-reading h3 {
    margin: 8px 0 !important;
    font-size: 20px;
  }

  .n26-stage-card .market-reading p {
    font-size: 14px;
    line-height: 1.32;
  }

  .n26-stage-card .market-compare {
    margin: 9px 0;
    padding: 9px 0;
  }
}

@media screen and (min-width: 801px) and (max-height: 800px) {
  .n26-page {
    padding-top: 8px;
  }

  .n26-page h1 {
    margin-bottom: 4px;
    font-size: clamp(34px, 2.8vw, 38px);
  }

  .n26-description {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.3;
  }

  .n26-journey-control-row .n26-chip,
  .n26-journey-control-row .n26-channel-chip {
    min-height: 30px;
    padding-block: 4px;
    font-size: 12px !important;
  }

  .n26-journey-control-row .n26-controls {
    padding: 2px;
  }

  .n26-journey-control-row .n26-select-label {
    font-size: 12px;
  }

  .n26-stage-tabs-row {
    margin-bottom: 5px;
  }

  .n26-stage-tabs .n26-stage-tab {
    min-height: 31px;
    padding-block: 4px;
  }

  .n26-stage-card-head h3 {
    margin: 2px 0;
    font-size: 15px;
  }

  .n26-stage-card-head p {
    margin: 2px 0;
    line-height: 1.2;
  }

  .n26-stage-card .market-row {
    min-height: 28px;
  }

  .n26-stage-card .market-brand b {
    font-size: 14px;
    white-space: nowrap;
  }

  .n26-stage-card .market-chart-head {
    padding-bottom: 4px;
    font-size: 12px;
  }

  .n26-stage-card .n26-more {
    min-height: 26px;
    margin-top: 3px;
    padding: 3px 8px;
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  .n26-journey-control-row {
    flex-wrap: wrap;
  }

  .n26-journey-mode-toggle {
    margin-left: 0;
  }

  .n26-stage-tabs-row {
    flex-wrap: wrap;
  }
}

/* Compact tables inside the shared dashboard, with the same controls in preview. */
.n26-screen [data-n26-metric-group] .n26-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.n26-screen [data-n26-metric-group] svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.n26-screen .n26-matrix-heading .n26-channel-alias {
  display: inline;
  font-size: .8em;
  font-weight: 400;
}

.n26-screen .market-reading {
  border-left: 3px solid var(--blue);
}

html[data-theme="dark"] .n26-screen img[src$="/chatgpt.svg"],
html[data-theme="dark"] .n26-screen img[src$="/gigachat.svg"],
html[data-theme="dark"] .n26-screen img[src$="/perplexity.svg"],
html[data-theme="dark"] .n26-screen .n26-stage-icon {
  filter: brightness(0) invert(1);
}

.n26-screen .model-eyebrow-label {
  background: transparent;
  padding: 0;
}

.n26-screen .n26-matrix-panel .n26-brand-cell {
  display: flex;
  justify-content: flex-start;
  text-align: left;
}

.n26-screen .n26-matrix-panel .n26-table tbody td:first-child {
  text-align: left;
}

.n26-screen-body[data-journey-mode="matrix"] .n26-stage-tabs-row {
  display: none;
}

.n26-screen-body[data-journey-mode="matrix"] > .n26-annotation {
  display: none;
}

.n26-stage-matrix-controls {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.n26-stage-matrix-controls .n26-controls {
  margin-bottom: 0;
}

.n26-overview .direction-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.n26-overview .direction-brand-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  overflow: hidden;
}

.n26-overview .direction-brand-icon img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.n26-overview .direction-brand-icon img.brand-cian {
  filter: brightness(0) invert(1);
}

.n26-overview .direction-brand-icon img.brand-domclick {
  position: absolute;
  width: 128px;
  height: 128px;
  max-width: none;
  left: -10px;
  top: -49px;
}

@media (max-width: 800px) {
  .n26-stage-matrix-controls {
    flex-wrap: wrap;
  }

  .n26-overview .direction-brand-icon {
    width: 29px;
    height: 29px;
  }

  .n26-overview .direction-brand-icon img {
    width: 25px;
    height: 25px;
  }

  .n26-overview .direction-brand-icon img.brand-domclick {
    width: 116px;
    height: 116px;
    left: -9px;
    top: -44px;
  }
}

@media screen and (min-width: 801px) {
  .n26-screen .n26-matrix-layout,
  .n26-screen .n26-source-view-layout {
    grid-template-columns: minmax(0, 1fr) minmax(265px, 300px);
    gap: 16px;
  }

  .n26-screen .n26-matrix-panel .n26-matrix,
  .n26-screen .n26-source-table,
  .n26-screen .n26-stage-matrix .n26-matrix {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .n26-screen .n26-matrix-panel .n26-matrix th:first-child {
    width: 190px;
    min-width: 0;
  }

  .n26-screen .n26-source-table th:first-child {
    width: 230px;
  }

  .n26-screen .n26-stage-matrix .n26-matrix th:first-child {
    width: 180px;
    min-width: 0;
  }

  .n26-screen .n26-matrix-heading {
    min-width: 0;
    gap: 2px;
    line-height: 1.08;
  }

  .n26-screen .n26-matrix-heading img {
    width: 20px;
    height: 20px;
  }

  .n26-screen .n26-matrix-heading span {
    font-size: 12px;
    line-height: 1.08;
  }

  .n26-screen .n26-matrix-heading small {
    font-size: 11px;
    line-height: 1.05;
  }

  .n26-screen .n26-matrix-heading .n26-channel-alias {
    font-size: .8em;
  }

  .n26-screen .n26-matrix-panel .n26-table th,
  .n26-screen .n26-matrix-panel .n26-table td,
  .n26-screen .n26-stage-matrix .n26-table th,
  .n26-screen .n26-stage-matrix .n26-table td,
  .n26-screen .n26-source-table th,
  .n26-screen .n26-source-table td {
    padding: 3px 4px;
  }

  .n26-screen .n26-matrix-panel .n26-brand-cell {
    min-width: 0;
    gap: 6px;
    font-size: 14px;
    line-height: 1.1;
  }

  .n26-screen .n26-matrix-panel .n26-brand-logo {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .n26-screen .n26-matrix-panel .market-logo {
    width: 22px;
    height: 22px;
  }

  .n26-screen .n26-matrix-panel .market-logo img {
    width: 20px;
    height: 20px;
  }

  .n26-screen .n26-matrix-panel .market-logo img.market-logo-domclick {
    width: 88px;
    height: 88px;
    left: -7px;
    top: -34px;
  }

  .n26-screen .n26-matrix-panel .n26-logo-image {
    width: 19px;
    height: 19px;
  }

  .n26-screen .n26-matrix-panel .n26-matrix-value,
  .n26-screen .n26-source-cell {
    gap: 0;
    line-height: 1.05;
  }

  .n26-screen .n26-matrix-panel .n26-matrix-value b,
  .n26-screen .n26-source-cell b {
    font-size: 14px;
  }

  .n26-screen .n26-matrix-panel .n26-matrix-value small,
  .n26-screen .n26-source-cell small {
    font-size: 11px;
    line-height: 1.05;
  }

  .n26-screen .n26-stage-matrix .n26-brand-cell {
    min-width: 0;
    font-size: 13px;
    line-height: 1.1;
    gap: 5px;
  }

  .n26-screen .n26-stage-matrix .n26-brand-logo {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .n26-screen .n26-stage-matrix .n26-logo-image {
    width: 18px;
    height: 18px;
  }

  .n26-screen .n26-stage-matrix .market-logo {
    width: 20px;
    height: 20px;
  }

  .n26-screen .n26-stage-matrix .market-logo img {
    width: 18px;
    height: 18px;
  }

  .n26-screen .n26-stage-matrix .market-logo img.market-logo-domclick {
    width: 80px;
    height: 80px;
    left: -6px;
    top: -31px;
  }

  .n26-screen .n26-stage-matrix .n26-stage-cell {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    line-height: 1.05;
    white-space: nowrap;
  }

  .n26-screen .n26-stage-matrix .n26-stage-cell b {
    font-size: 13px;
  }

  .n26-screen .n26-stage-matrix .n26-stage-cell small,
  .n26-screen .n26-stage-matrix .n26-rank-shift {
    font-size: 10px;
  }

  .n26-screen .n26-source-table .n26-type-cell {
    min-width: 0;
    gap: 3px 5px;
    font-size: 13px;
    line-height: 1.12;
  }

  .n26-screen .n26-source-table .n26-type-icon,
  .n26-screen .n26-source-table .n26-page-type-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .n26-screen .n26-site-example-icons {
    gap: 3px;
    margin-left: 2px;
  }

  .n26-screen .n26-site-example-icons img {
    width: 15px;
    height: 15px;
  }

  .n26-screen .n26-matrix-more,
  .n26-screen .n26-stage-matrix [data-n26-stage-matrix-expand],
  .n26-screen .n26-rank-panel .n26-more {
    min-height: 28px;
    margin-top: 4px;
    padding: 3px 9px;
    font-size: 13px;
  }

  .n26-screen .n26-matrix-panel[data-n26-matrix-expanded="true"] .n26-model-table-scroll {
    max-height: min(50vh, 390px);
    overflow-y: auto;
  }

  .n26-screen .n26-stage-matrix[data-n26-matrix-expanded="true"] .n26-stage-table-scroll {
    max-height: min(45vh, 340px);
    overflow-y: auto;
  }

  .n26-screen .n26-rank-panel .market-row {
    min-height: 30px;
  }

  .n26-screen .n26-stage-card .market-row {
    min-height: 25px;
  }

  .n26-screen .n26-stage-card .market-other {
    min-height: 22px;
    font-size: 12px;
  }

  .n26-screen .n26-stage-card .n26-rank-panel .n26-more {
    min-height: 24px;
    margin-top: 2px;
    padding: 2px 8px;
    font-size: 12px;
  }

  .n26-screen .n26-source-bases span {
    padding: 5px 8px;
    font-size: 12px;
  }
}
