/*
 * Retro editorial theme
 * Warm paper, one-bit imagery, dense ruled grids and early-web restraint.
 * Loaded after experience.css so the existing interaction layer remains intact.
 */

.theme-pixel-editorial {
  --paper: #e6e2d6;
  --paper-lavender: #d8d4c7;
  --ink: #292922;
  --ink-soft: #55544b;
  --pink: #292922;
  --pink-bright: #292922;
  --pink-light: #777468;
  --cyan: #8d897c;
  --violet: #5d5c53;
  --violet-text: #292922;
  --yellow: #c9c5b8;
  --orange: #777468;
  --white: #eeeade;
  --line: rgba(41, 41, 34, 0.24);
  --line-strong: rgba(41, 41, 34, 0.78);
  --shadow-navy: none;
  --shadow-pink: none;
  --content: min(1540px, calc(100vw - 36px));
  --header-height: 54px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: none;
}

.theme-pixel-editorial::before {
  z-index: -2;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(41, 41, 34, 0.018) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  background-size: auto;
}

.theme-pixel-editorial::after {
  z-index: -1;
  opacity: 0.1;
  background-image: radial-gradient(circle, #292922 0 0.55px, transparent 0.7px);
  background-size: 4px 4px;
  mask-image: none;
}

.theme-pixel-editorial ::selection {
  color: var(--paper);
  background: var(--ink);
}

.theme-pixel-editorial button:focus-visible,
.theme-pixel-editorial a:focus-visible,
.theme-pixel-editorial input:focus-visible {
  outline: 2px dotted var(--ink);
  outline-offset: 3px;
}

.theme-pixel-editorial .skip-link {
  color: var(--paper);
  background: var(--ink);
}

/* Header: compact, ruled and deliberately browser-like. */
.theme-pixel-editorial .site-header {
  height: var(--header-height);
  padding: 0;
  gap: 0;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(216, 212, 199, 0.96);
  backdrop-filter: none;
  transition: none;
}

.theme-pixel-editorial .site-header.scrolled {
  height: var(--header-height);
  box-shadow: none;
}

.theme-pixel-editorial .header-logo {
  width: 92px;
  height: 100%;
  padding: 8px 12px;
  border-right: 1px solid var(--line-strong);
}

.theme-pixel-editorial .header-logo::before {
  display: grid;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  place-items: center;
  border: 1px solid var(--ink);
  content: "××\A××";
  font-family: var(--font-latin);
  font-size: 8px;
  line-height: 0.7;
  white-space: pre;
}

.theme-pixel-editorial .header-logo img {
  width: 48px;
  height: 24px;
  filter: grayscale(1) contrast(1.8);
  mix-blend-mode: multiply;
  object-position: center 51%;
}

.theme-pixel-editorial .site-nav {
  height: 100%;
  align-self: stretch;
  gap: 0;
}

.theme-pixel-editorial .site-nav a {
  min-height: 100%;
  padding: 0 20px;
  align-items: center;
  gap: 6px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 120ms linear, background-color 120ms linear;
}

.theme-pixel-editorial .site-nav a:first-child {
  border-left: 1px solid var(--line);
}

.theme-pixel-editorial .site-nav a::after {
  display: none;
}

.theme-pixel-editorial .site-nav a:hover,
.theme-pixel-editorial .site-nav a.active {
  color: var(--paper);
  background: var(--ink);
}

.theme-pixel-editorial .site-nav a:hover .nav-index,
.theme-pixel-editorial .site-nav a.active .nav-index {
  color: inherit;
}

.theme-pixel-editorial .nav-index {
  align-self: center;
  margin-top: 0;
  color: inherit;
  font-size: 9px;
}

.theme-pixel-editorial .header-actions {
  height: 100%;
  gap: 0;
}

.theme-pixel-editorial .header-share,
.theme-pixel-editorial .menu-toggle {
  height: 100%;
  min-height: 100%;
  border-width: 0 0 0 1px;
  border-color: var(--line-strong);
  border-radius: 0;
  color: var(--ink-soft);
  background: transparent;
}

.theme-pixel-editorial .header-share:hover,
.theme-pixel-editorial .menu-toggle:hover {
  color: var(--paper);
  background: var(--ink);
}

/* Homepage: three-column editorial spread. */
.theme-pixel-editorial .editorial-hero {
  display: grid;
  min-height: 100svh;
  padding-top: var(--header-height);
  grid-template-columns: minmax(250px, 1fr) minmax(420px, 1.03fr) minmax(250px, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
}

.theme-pixel-editorial .editorial-rail {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.theme-pixel-editorial .editorial-rail-left {
  border-right: 1px solid var(--line-strong);
}

.theme-pixel-editorial .editorial-rail-right {
  border-left: 1px solid var(--line-strong);
}

.theme-pixel-editorial .rail-block {
  padding: clamp(18px, 2.2vw, 34px);
  border-bottom: 1px solid var(--line);
}

.theme-pixel-editorial .rail-block:last-child {
  flex: 1;
  border-bottom: 0;
}

.theme-pixel-editorial .rail-label {
  margin: calc(clamp(18px, 2.2vw, 34px) * -1) calc(clamp(18px, 2.2vw, 34px) * -1) 20px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.09em;
  line-height: 1;
}

.theme-pixel-editorial .rail-block > p:not(.rail-label) {
  margin-top: 14px;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
}

.theme-pixel-editorial .rail-block > .rail-lead {
  margin-top: 0;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.38;
}

.theme-pixel-editorial .rail-links {
  background: rgba(41, 41, 34, 0.06);
}

.theme-pixel-editorial .rail-links a,
.theme-pixel-editorial .rail-links button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.theme-pixel-editorial .rail-links a:hover,
.theme-pixel-editorial .rail-links button:hover {
  color: var(--paper);
  background: var(--ink);
}

.theme-pixel-editorial .rail-note {
  position: relative;
  overflow: hidden;
}

.theme-pixel-editorial .rail-note::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  opacity: 0.35;
  background-image: radial-gradient(circle, var(--ink) 0 1.2px, transparent 1.35px);
  background-size: 5px 5px;
  content: "";
  clip-path: polygon(50% 0, 62% 34%, 100% 50%, 62% 64%, 50% 100%, 37% 64%, 0 50%, 37% 34%);
}

.theme-pixel-editorial .rail-stats {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.theme-pixel-editorial .rail-stats > div {
  display: grid;
  padding: 8px 0;
  grid-template-columns: 82px 1fr;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.theme-pixel-editorial .rail-stats dt,
.theme-pixel-editorial .rail-stats dd {
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.theme-pixel-editorial .rail-stats dd {
  font-weight: 600;
}

.theme-pixel-editorial .editorial-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #2d2d28;
}

.theme-pixel-editorial .editorial-art {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.65) brightness(0.86);
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.025);
}

.theme-pixel-editorial .halftone-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.34;
  background-image: radial-gradient(circle, #e6e2d6 0 1.2px, transparent 1.35px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.theme-pixel-editorial .visual-meta {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  padding: 8px 10px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(230, 226, 214, 0.72);
  color: var(--paper);
  background: rgba(41, 41, 34, 0.7);
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.theme-pixel-editorial .hero-identity {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 16px 22px 14px;
  grid-template-columns: minmax(70px, 0.42fr) minmax(180px, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(230, 226, 214, 0.93);
  text-align: left;
}

.theme-pixel-editorial .hero-identity > * {
  animation: none;
}

.theme-pixel-editorial .identity-logo,
.theme-pixel-editorial .identity-name-mark img {
  width: 100%;
  height: 48px;
  margin: 0;
  filter: grayscale(1) contrast(2.2);
  mix-blend-mode: multiply;
  object-fit: cover;
}

.theme-pixel-editorial .identity-logo {
  aspect-ratio: auto;
  object-position: center 48%;
}

.theme-pixel-editorial .identity-name-mark img {
  aspect-ratio: auto;
  object-position: center 51%;
}

/* Shared section system. */
.theme-pixel-editorial .section-heading {
  width: var(--content);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line-strong);
}

.theme-pixel-editorial .section-heading > div,
.theme-pixel-editorial .section-heading > p {
  padding: 24px;
}

.theme-pixel-editorial .section-heading > p {
  border: 0;
  border-left: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(41, 41, 34, 0.05);
  font-size: 15px;
}

.theme-pixel-editorial .section-heading .eyebrow {
  color: var(--ink-soft);
  font-size: 10px;
}

.theme-pixel-editorial .section-heading h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.theme-pixel-editorial .section-heading h2 span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-family: var(--font-latin);
  font-size: 0.32em;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

/* Video index: gapless contact sheet with one-bit covers. */
.theme-pixel-editorial .highlights,
.theme-pixel-editorial.page-videos .highlights {
  min-height: calc(100svh - var(--header-height));
  padding: calc(var(--header-height) + 34px) 0 72px;
  background: var(--paper);
}

.theme-pixel-editorial .highlight-grid {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.theme-pixel-editorial .highlight-card {
  overflow: hidden;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none !important;
  transition: background-color 120ms linear, color 120ms linear;
}

.theme-pixel-editorial .highlight-card::before {
  display: none;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  aspect-ratio: 4 / 3;
  opacity: 0.28;
  background-image: radial-gradient(circle, var(--paper) 0 1px, transparent 1.2px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
  content: "";
  pointer-events: none;
}

.theme-pixel-editorial .highlight-card:hover,
.theme-pixel-editorial .highlight-card.reveal.is-visible:hover {
  color: var(--paper);
  background: var(--ink);
  box-shadow: none;
  transform: none;
}

.theme-pixel-editorial .highlight-cover,
.theme-pixel-editorial .highlight-card:hover .highlight-cover {
  z-index: 0;
  margin: 0;
  border-bottom: 1px solid var(--line-strong);
  filter: none;
  transform: none;
}

.theme-pixel-editorial .highlight-card > *:not(.highlight-cover) {
  margin-right: 18px;
  margin-left: 18px;
}

.theme-pixel-editorial .highlight-topline {
  margin-top: 14px;
  margin-bottom: 10px;
}

.theme-pixel-editorial .highlight-type,
.theme-pixel-editorial .highlight-id {
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.theme-pixel-editorial .highlight-card h3 {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.42;
}

.theme-pixel-editorial .highlight-meta {
  margin-top: 18px;
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px solid currentColor;
}

.theme-pixel-editorial .highlight-meta strong {
  padding: 0;
  color: inherit;
  background: transparent;
  border-bottom: 1px solid currentColor;
}

/* Ledger: ruled archive, dense controls, no card effects. */
.theme-pixel-editorial .ledger-section {
  padding: 72px 0 88px;
  border-top: 0;
  background: var(--paper);
}

.theme-pixel-editorial .ledger-section::before {
  display: none;
}

.theme-pixel-editorial .control-panel {
  width: var(--content);
  margin-top: 28px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.theme-pixel-editorial .control-panel::before {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(41, 41, 34, 0.06);
  content: "FILTER DESK / SEARCH THE ARCHIVE";
  font-size: 10px;
  line-height: 1;
  text-align: left;
  transform: none;
}

.theme-pixel-editorial .control-topline {
  gap: 0;
  border-bottom: 1px solid var(--line-strong);
}

.theme-pixel-editorial .search-field {
  min-height: 48px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  background: transparent;
}

.theme-pixel-editorial .search-field input {
  background: transparent;
}

.theme-pixel-editorial .search-field:focus-within {
  outline: 0;
  box-shadow: none;
}

.theme-pixel-editorial .search-field input:focus-visible {
  outline: 0;
  outline-offset: 0;
}

.theme-pixel-editorial .control-actions {
  gap: 0;
}

.theme-pixel-editorial .control-actions button,
.theme-pixel-editorial .reset-button,
.theme-pixel-editorial .export-button {
  min-height: 48px;
  border: 0;
  border-left: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.theme-pixel-editorial .control-actions button:hover,
.theme-pixel-editorial .reset-button:hover,
.theme-pixel-editorial .export-button:hover {
  color: var(--paper);
  background: var(--ink);
  transform: none;
}

.theme-pixel-editorial .filter-groups {
  gap: 0;
}

.theme-pixel-editorial .filter-group {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.theme-pixel-editorial .filter-group + .filter-group {
  border-top: 0;
}

.theme-pixel-editorial .filter-options,
.theme-pixel-editorial .sort-options {
  gap: 0;
}

.theme-pixel-editorial .filter-options button,
.theme-pixel-editorial .sort-options button,
.theme-pixel-editorial .active-filter-chip,
.theme-pixel-editorial .clear-active-filters {
  margin: -1px 0 0 -1px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}

.theme-pixel-editorial .filter-options button:hover,
.theme-pixel-editorial .sort-options button:hover,
.theme-pixel-editorial .filter-options button.active,
.theme-pixel-editorial .sort-options button.active,
.theme-pixel-editorial .active-filter-chip:hover,
.theme-pixel-editorial .clear-active-filters:hover {
  color: var(--paper);
  background: var(--ink);
  transform: none;
}

.theme-pixel-editorial .sort-strip,
.theme-pixel-editorial .filter-summary {
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.theme-pixel-editorial .result-line {
  width: var(--content);
  margin-top: 20px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(41, 41, 34, 0.06);
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.theme-pixel-editorial .table-shell {
  width: var(--content);
  margin-top: -1px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.theme-pixel-editorial table {
  border-collapse: collapse;
}

.theme-pixel-editorial thead {
  color: var(--ink);
  background: rgba(41, 41, 34, 0.08);
}

.theme-pixel-editorial th,
.theme-pixel-editorial td {
  border-color: var(--line);
}

.theme-pixel-editorial th {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.theme-pixel-editorial .record-row:hover,
.theme-pixel-editorial .record-row.expanded {
  background: rgba(41, 41, 34, 0.075);
}

.theme-pixel-editorial .record-id,
.theme-pixel-editorial .kind-badge,
.theme-pixel-editorial .tag-pill,
.theme-pixel-editorial .source-link,
.theme-pixel-editorial .source-pending,
.theme-pixel-editorial .comment-count {
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.theme-pixel-editorial .kind-badge,
.theme-pixel-editorial .tag-pill,
.theme-pixel-editorial .source-link,
.theme-pixel-editorial .source-pending {
  border: 1px solid var(--line-strong);
}

.theme-pixel-editorial .tag-pill b {
  border-right: 1px solid var(--line-strong);
  color: inherit;
  background: rgba(41, 41, 34, 0.08);
}

.theme-pixel-editorial .expand-button,
.theme-pixel-editorial .record-share,
.theme-pixel-editorial .empty-state button {
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.theme-pixel-editorial .expand-button {
  transition: color 80ms linear, background-color 80ms linear;
}

.theme-pixel-editorial .expand-button:hover,
.theme-pixel-editorial .record-share:hover,
.theme-pixel-editorial .empty-state button:hover {
  color: var(--paper);
  background: var(--ink);
  transform: none;
}

.theme-pixel-editorial .detail-row > td {
  padding: 0;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(41, 41, 34, 0.045);
}

.theme-pixel-editorial .record-detail,
.theme-pixel-editorial .record-detail.analysis-detail {
  gap: 0;
  border: 0;
  background: transparent;
}

.theme-pixel-editorial .detail-column {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.theme-pixel-editorial .detail-column:last-child {
  border-right: 0;
}

.theme-pixel-editorial .detail-label {
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.theme-pixel-editorial .source-column .detail-label {
  display: block;
  width: max-content;
}

.theme-pixel-editorial .detail-actions {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
}

.theme-pixel-editorial .toast {
  border: 1px solid var(--paper);
  border-radius: 0;
  color: var(--paper);
  background: var(--ink);
  box-shadow: none;
}

/* Footer becomes the final ruled register row. */
.theme-pixel-editorial footer {
  padding: 0;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--paper-lavender);
  gap: 0;
}

.theme-pixel-editorial footer > * {
  min-height: 78px;
  padding: 18px 24px;
}

.theme-pixel-editorial footer > p,
.theme-pixel-editorial footer > a {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line-strong);
}

.theme-pixel-editorial footer > a:hover {
  color: var(--paper);
  background: var(--ink);
}

.theme-pixel-editorial .brand-swatch {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  clip-path: none;
}

.theme-pixel-editorial .brand-swatch i {
  height: 1px;
  background: var(--ink) !important;
}

@media (max-width: 1100px) {
  .theme-pixel-editorial .editorial-hero {
    grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.2fr);
  }

  .theme-pixel-editorial .editorial-rail-right {
    display: none;
  }

  .theme-pixel-editorial .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .theme-pixel-editorial {
    --header-height: 58px;
    --content: calc(100vw - 24px);
  }

  .theme-pixel-editorial .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .theme-pixel-editorial .site-nav {
    top: var(--header-height);
    height: auto;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-right: 0;
    background: var(--paper-lavender);
    box-shadow: none;
  }

  .theme-pixel-editorial .site-nav a,
  .theme-pixel-editorial .site-nav a:first-child {
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .theme-pixel-editorial .menu-toggle {
    display: block;
  }

  .theme-pixel-editorial .menu-toggle span {
    height: 1px;
    background: currentColor;
  }

  .theme-pixel-editorial .editorial-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .theme-pixel-editorial .editorial-rail-left,
  .theme-pixel-editorial .editorial-rail-right {
    border: 0;
  }

  .theme-pixel-editorial .editorial-visual {
    min-height: 72svh;
    grid-row: 1;
    border-bottom: 1px solid var(--line-strong);
  }

  .theme-pixel-editorial .editorial-rail-left {
    grid-row: 2;
  }

  .theme-pixel-editorial .editorial-rail-right {
    display: flex;
    grid-row: 3;
    border-top: 1px solid var(--line-strong);
  }

  .theme-pixel-editorial .rail-block:last-child {
    flex: none;
  }

  .theme-pixel-editorial .section-heading {
    grid-template-columns: 1fr;
  }

  .theme-pixel-editorial .section-heading > p {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .theme-pixel-editorial .control-panel {
    padding: 0;
    background: var(--paper);
    box-shadow: none;
  }

  .theme-pixel-editorial .drawer-heading {
    border-bottom: 1px solid var(--line-strong);
    background: rgba(41, 41, 34, 0.06);
  }

  .theme-pixel-editorial .drawer-heading strong,
  .theme-pixel-editorial .drawer-heading span {
    color: var(--ink);
  }

  .theme-pixel-editorial .drawer-apply {
    border-top: 1px solid var(--line-strong);
    background: var(--paper);
  }

  .theme-pixel-editorial .drawer-apply button,
  .theme-pixel-editorial .mobile-ledger-tools button {
    border: 1px solid var(--line-strong);
    border-radius: 0;
    color: var(--paper);
    background: var(--ink);
    box-shadow: none;
  }

  .theme-pixel-editorial .control-topline {
    border-bottom: 0;
  }

  .theme-pixel-editorial .search-field {
    border: 1px solid var(--line-strong);
  }

  .theme-pixel-editorial .filter-group,
  .theme-pixel-editorial .sort-strip,
  .theme-pixel-editorial .filter-summary {
    padding-right: 20px;
    padding-left: 20px;
  }

  .theme-pixel-editorial .record-row {
    border: 1px solid var(--line-strong);
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .theme-pixel-editorial .detail-row > td {
    border: 1px solid var(--line-strong);
  }

  .theme-pixel-editorial .detail-column {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .theme-pixel-editorial .header-logo {
    width: 76px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .theme-pixel-editorial .header-logo::before {
    display: none;
  }

  .theme-pixel-editorial .header-share {
    padding-right: 12px;
    padding-left: 12px;
  }

  .theme-pixel-editorial .header-share span {
    display: none;
  }

  .theme-pixel-editorial .editorial-visual {
    min-height: 64svh;
  }

  .theme-pixel-editorial .hero-identity {
    padding: 12px;
    grid-template-columns: 0.42fr 1fr;
  }

  .theme-pixel-editorial .identity-logo,
  .theme-pixel-editorial .identity-name-mark img {
    height: 38px;
  }

  .theme-pixel-editorial .rail-block {
    padding: 22px 18px;
  }

  .theme-pixel-editorial .rail-label {
    margin: -22px -18px 18px;
  }

  .theme-pixel-editorial .section-heading > div,
  .theme-pixel-editorial .section-heading > p {
    padding: 18px;
  }

  .theme-pixel-editorial .section-heading h2 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .theme-pixel-editorial .highlight-grid {
    grid-template-columns: 1fr;
  }

  .theme-pixel-editorial .highlights,
  .theme-pixel-editorial.page-videos .highlights,
  .theme-pixel-editorial .ledger-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 60px;
  }

  .theme-pixel-editorial .control-actions button,
  .theme-pixel-editorial .reset-button,
  .theme-pixel-editorial .export-button {
    border: 1px solid var(--line-strong);
  }

  .theme-pixel-editorial footer > * {
    min-height: auto;
  }

  .theme-pixel-editorial footer > p,
  .theme-pixel-editorial footer > a {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-pixel-editorial *,
  .theme-pixel-editorial *::before,
  .theme-pixel-editorial *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
