/* Atlas Research Journal v3 - route-owned visual system */
:root {
  --notes-cyan: #4adcf0;
  --notes-cyan-strong: #12bfd8;
  --notes-green: #2ed39b;
  --notes-gold: #f2b84b;
  --notes-ink: #020b15;
  --notes-panel: rgba(4, 19, 33, 0.9);
  --notes-panel-soft: rgba(8, 31, 49, 0.78);
  --notes-line: rgba(88, 220, 244, 0.23);
  --notes-copy: #edf8ff;
  --notes-muted: #a9bed0;
  --notes-instant: 110ms;
  --notes-fast: 180ms;
  --notes-standard: 280ms;
  --notes-deliberate: 520ms;
  --notes-ceremony: 900ms;
  --notes-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --notes-exit: cubic-bezier(0.4, 0, 1, 1);
  --notes-emphasis: cubic-bezier(0.2, 0.9, 0.25, 1.15);
}

html[data-theme="light"] {
  --notes-ink: #edf7fb;
  --notes-panel: rgba(255, 255, 255, 0.91);
  --notes-panel-soft: rgba(238, 248, 252, 0.92);
  --notes-line: rgba(7, 95, 124, 0.23);
  --notes-copy: #061524;
  --notes-muted: #4b6072;
  --notes-cyan: #087a9b;
  --notes-cyan-strong: #056783;
  --notes-green: #087d5c;
  --notes-gold: #946600;
}

body[data-atlas-notes="journal"] {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  overflow-x: clip;
  background-color: var(--notes-ink);
  background-image:
    linear-gradient(rgba(74, 220, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 220, 240, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--notes-copy);
}

body[data-atlas-notes="journal"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 73, 88, 0.18), transparent 34%),
    linear-gradient(90deg, transparent, rgba(21, 133, 147, 0.06) 48%, transparent);
}

body[data-atlas-notes="journal"] .top { display: none; }

body[data-atlas-notes="journal"] main.notes-journal-shell {
  width: min(calc(100% - 32px), 2080px);
  min-width: 0;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 118px 0 96px;
}

.notes-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 48px;
  align-items: end;
  min-height: 560px;
  padding: 64px clamp(28px, 5vw, 92px);
  border: 1px solid var(--notes-line);
  background:
    linear-gradient(128deg, rgba(7, 32, 49, 0.96) 0 55%, rgba(4, 15, 27, 0.9) 55%),
    var(--notes-panel);
  box-shadow: inset 0 1px 0 rgba(205, 250, 255, 0.07), 0 36px 100px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .notes-hero {
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.97) 0 55%, rgba(224, 242, 248, 0.96) 55%),
    var(--notes-panel);
  box-shadow: 0 28px 80px rgba(7, 50, 70, 0.12);
}

.notes-kicker,
.notes-section-kicker,
.notes-hero-state,
.notes-metric span,
.notes-field-head span,
.notes-field-legend,
.notes-stage-kicker,
.notes-stage-meta,
.notes-filter,
.notes-search label,
.card-eyebrow,
.card-read,
.notes-footer {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.notes-kicker,
.notes-section-kicker,
.notes-field-head span,
.notes-stage-kicker {
  color: var(--notes-cyan);
  font-size: 13px;
  font-weight: 800;
}

.notes-hero h1 {
  max-width: 850px;
  margin: 24px 0;
  font-size: clamp(48px, 5.4vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.notes-hero-copy > p:not(.notes-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--notes-muted);
  font-size: 20px;
  line-height: 1.65;
}

.notes-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.notes-primary,
.notes-secondary,
.notes-stage-action,
.notes-proof-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--notes-line);
  color: var(--notes-copy);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform var(--notes-fast) var(--notes-enter), border-color var(--notes-fast), background var(--notes-fast);
}

body[data-atlas-notes="journal"] .notes-primary {
  border-color: var(--notes-cyan);
  background: var(--notes-cyan);
  color: #00131e !important;
}

.notes-secondary,
.notes-stage-action,
.notes-proof-action { background: rgba(10, 42, 57, 0.44); }
html[data-theme="light"] .notes-secondary,
html[data-theme="light"] .notes-stage-action,
html[data-theme="light"] .notes-proof-action { background: rgba(255, 255, 255, 0.64); }

.notes-primary:hover,
.notes-secondary:hover,
.notes-stage-action:hover,
.notes-proof-action:hover {
  transform: translateY(-2px);
  border-color: var(--notes-cyan);
}

.notes-hero-proof {
  position: relative;
  padding: 30px;
  border: 1px solid var(--notes-line);
  background: rgba(1, 10, 19, 0.7);
  overflow: hidden;
}

html[data-theme="light"] .notes-hero-proof { background: rgba(255, 255, 255, 0.74); }

.notes-hero-proof::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--notes-cyan);
}

.notes-hero-state {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--notes-cyan);
  font-size: 12px;
  font-weight: 800;
}

.notes-hero-proof h2 {
  margin: 26px 0 14px;
  font-size: 34px;
  line-height: 1.08;
}

.notes-hero-proof p {
  margin: 0;
  color: var(--notes-muted);
  font-size: 16px;
  line-height: 1.6;
}

.notes-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border: 1px solid var(--notes-line);
}

.notes-metric {
  min-width: 0;
  padding: 18px;
}

.notes-metric + .notes-metric { border-left: 1px solid var(--notes-line); }
.notes-metric strong { display: block; color: var(--notes-cyan); font-size: 30px; line-height: 1; }
.notes-metric span { display: block; margin-top: 8px; color: var(--notes-muted); font-size: 9px; }

.notes-chronicle {
  display: grid;
  grid-template-columns: minmax(540px, 1.12fr) minmax(380px, 0.88fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 72px;
}

.notes-field,
.notes-stage {
  position: relative;
  min-width: 0;
  min-height: 620px;
  border: 1px solid var(--notes-line);
  background: var(--notes-panel);
  overflow: hidden;
}

.notes-field {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px;
  perspective: 1000px;
}

.notes-field::before,
.notes-stage::before,
.notes-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74, 220, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 220, 240, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.notes-field-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notes-field-head strong { font-size: 17px; }

.notes-orbit-field {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.notes-orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(74, 220, 240, 0.42);
  border-radius: 50%;
  background: rgba(2, 12, 22, 0.92);
  box-shadow: 0 0 0 12px rgba(74, 220, 240, 0.055), 0 0 48px rgba(46, 211, 155, 0.18);
}

.notes-orbit-core img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
}

.notes-orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(74, 220, 240, 0.25);
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.notes-orbit-ring--one {
  width: 74%;
  height: 74%;
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(12deg);
  animation: notes-orbit-one 24s linear infinite;
}

.notes-orbit-ring--two {
  width: 88%;
  height: 55%;
  transform: translate(-50%, -50%) rotateX(38deg) rotateZ(-21deg);
  border-color: rgba(46, 211, 155, 0.32);
  animation: notes-orbit-two 31s linear infinite reverse;
}

.notes-orbit-ring--three {
  width: 58%;
  height: 92%;
  transform: translate(-50%, -50%) rotateY(62deg) rotateZ(18deg);
  border-style: dashed;
  border-color: rgba(242, 184, 75, 0.3);
  animation: notes-orbit-three 27s linear infinite;
}

@keyframes notes-orbit-one {
  to { transform: translate(-50%, -50%) rotateX(66deg) rotateZ(372deg); }
}
@keyframes notes-orbit-two {
  to { transform: translate(-50%, -50%) rotateX(38deg) rotateZ(339deg); }
}
@keyframes notes-orbit-three {
  to { transform: translate(-50%, -50%) rotateY(62deg) rotateZ(378deg); }
}

.notes-field-node {
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  z-index: 6;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(74, 220, 240, 0.4);
  border-radius: 50%;
  background: #061827;
  color: var(--notes-copy);
  box-shadow: 0 0 0 7px rgba(74, 220, 240, 0.035);
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 900;
  transition: transform var(--notes-fast) var(--notes-emphasis), background var(--notes-fast), box-shadow var(--notes-fast), border-color var(--notes-fast);
}

html[data-theme="light"] .notes-field-node { background: #f6fcff; }
.notes-field-node[data-kind="pulse"] { border-color: rgba(74, 220, 240, 0.62); }
.notes-field-node[data-kind="method"] { border-color: rgba(46, 211, 155, 0.68); }
.notes-field-node[data-kind="radar"] { border-color: rgba(242, 184, 75, 0.76); }
.notes-field-node:hover,
.notes-field-node[aria-pressed="true"] {
  transform: translate(-50%, -50%) scale(1.22);
  border-color: var(--notes-cyan);
  background: var(--notes-cyan);
  color: #00131d;
  box-shadow: 0 0 0 10px rgba(74, 220, 240, 0.1), 0 0 34px rgba(74, 220, 240, 0.34);
}

.notes-field-legend {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--notes-muted);
  font-size: 10px;
}

.notes-field-legend span { display: inline-flex; align-items: center; gap: 8px; }
.notes-field-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--notes-cyan); }
.notes-field-legend span:nth-child(2) i { background: var(--notes-green); }
.notes-field-legend span:nth-child(3) i { background: var(--notes-gold); }

.notes-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px;
}

.notes-stage > * { position: relative; z-index: 2; }
.notes-stage-meta { margin: 18px 0 0; color: var(--notes-muted); font-size: 11px; }
.notes-stage h2 { margin: 42px 0 20px; font-size: 46px; line-height: 1.03; }
.notes-stage-copy { margin: 0; color: var(--notes-muted); font-size: 18px; line-height: 1.7; }
.notes-stage-signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px 0 28px;
  border: 1px solid var(--notes-line);
}
.notes-stage-signal div { padding: 18px 14px; }
.notes-stage-signal div + div { border-left: 1px solid var(--notes-line); }
.notes-stage-signal span { display: block; color: var(--notes-muted); font: 800 9px/1.3 "JetBrains Mono", monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.notes-stage-signal strong { display: block; margin-top: 9px; color: var(--notes-cyan); font-size: 14px; }
.notes-stage-action { width: 100%; }

.notes-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: center;
  margin-top: 24px;
  padding: 38px 44px;
  border-left: 4px solid var(--notes-gold);
  background: var(--notes-panel-soft);
}
.notes-proof h2 { margin: 10px 0 0; font-size: 30px; }
.notes-proof-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--notes-line); border: 1px solid var(--notes-line); }
.notes-proof-chain div { min-height: 96px; padding: 18px; background: var(--notes-panel); }
.notes-proof-chain span { display: block; color: var(--notes-gold); font: 900 10px/1 "JetBrains Mono", monospace; }
.notes-proof-chain strong { display: block; margin-top: 12px; font-size: 14px; line-height: 1.3; }

.notes-archive {
  position: relative;
  margin-top: 72px;
  padding: 48px;
  border: 1px solid var(--notes-line);
  background: var(--notes-panel);
  overflow: hidden;
}
.notes-archive > * { position: relative; z-index: 2; }
.notes-archive-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.notes-archive h2 { margin: 14px 0 0; font-size: 44px; }
.notes-search { min-width: min(100%, 440px); }
.notes-search label { display: block; margin-bottom: 8px; color: var(--notes-muted); font-size: 10px; }
.notes-search input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid var(--notes-line);
  border-radius: 0;
  background: rgba(1, 10, 18, 0.78);
  color: var(--notes-copy);
  font: 600 16px/1.2 "Inter", system-ui, sans-serif;
  outline: none;
}
html[data-theme="light"] .notes-search input { background: #fff; }
.notes-search input:focus { border-color: var(--notes-cyan); box-shadow: 0 0 0 3px rgba(74, 220, 240, 0.12); }

.notes-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.notes-filter {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--notes-line);
  border-radius: 0;
  background: transparent;
  color: var(--notes-muted);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.notes-filter[aria-pressed="true"] { border-color: var(--notes-cyan); background: var(--notes-cyan); color: #00131d; }
.notes-filter-count { color: var(--notes-cyan); }

body[data-atlas-notes="journal"] .notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-atlas-notes="journal"] .note-card {
  position: relative;
  min-width: 0;
  min-height: 280px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--notes-line);
  border-radius: 0;
  background: rgba(1, 11, 20, 0.76);
  color: var(--notes-copy);
  overflow: hidden;
  transition: transform var(--notes-fast) var(--notes-enter), border-color var(--notes-fast), background var(--notes-fast);
}
html[data-theme="light"] body[data-atlas-notes="journal"] .note-card { background: rgba(255, 255, 255, 0.8); }
body[data-atlas-notes="journal"] .note-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--notes-cyan);
}
body[data-atlas-notes="journal"] .note-card[data-note-kind="method"]::before { background: var(--notes-green); }
body[data-atlas-notes="journal"] .note-card[data-note-kind="radar"]::before { background: var(--notes-gold); }
body[data-atlas-notes="journal"] .note-card:hover,
body[data-atlas-notes="journal"] .note-card[data-note-selected="true"] {
  transform: translateY(-4px);
  border-color: var(--notes-cyan);
  background: rgba(7, 32, 47, 0.9);
}
html[data-theme="light"] body[data-atlas-notes="journal"] .note-card:hover,
html[data-theme="light"] body[data-atlas-notes="journal"] .note-card[data-note-selected="true"] { background: #fff; }
body[data-atlas-notes="journal"] .note-card[hidden] { display: none; }
body[data-atlas-notes="journal"] .card-eyebrow { color: var(--notes-cyan); font-size: 10px; line-height: 1.5; }
body[data-atlas-notes="journal"] .card-title { margin: 18px 0 14px; font-size: 22px; line-height: 1.2; letter-spacing: 0; }
body[data-atlas-notes="journal"] .card-desc { flex: 1; margin: 0 0 24px; color: var(--notes-muted); font-size: 15px; line-height: 1.55; }
body[data-atlas-notes="journal"] .card-read { color: var(--notes-cyan); font-size: 10px; }

.notes-empty {
  min-height: 180px;
  display: none;
  place-items: center;
  padding: 24px;
  border: 1px dashed var(--notes-line);
  color: var(--notes-muted);
  text-align: center;
}
.notes-empty[data-visible="true"] { display: grid; }

.notes-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 0;
  padding: 26px 8px 0;
  border-top: 1px solid var(--notes-line);
  color: var(--notes-muted);
  font-size: 10px;
}
.notes-footer a {
  min-width: 46px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--notes-cyan);
  text-decoration: none;
}

body[data-atlas-notes="journal"].is-notes-ready .notes-hero,
body[data-atlas-notes="journal"].is-notes-ready .notes-chronicle,
body[data-atlas-notes="journal"].is-notes-ready .notes-proof,
body[data-atlas-notes="journal"].is-notes-ready .notes-archive {
  animation: notes-reveal var(--notes-deliberate) var(--notes-enter) both;
}
body[data-atlas-notes="journal"].is-notes-ready .notes-chronicle { animation-delay: 70ms; }
body[data-atlas-notes="journal"].is-notes-ready .notes-proof { animation-delay: 120ms; }
body[data-atlas-notes="journal"].is-notes-ready .notes-archive { animation-delay: 170ms; }
@keyframes notes-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  body[data-atlas-notes="journal"] main.notes-journal-shell { width: min(calc(100% - 24px), 2080px) !important; }
  .notes-hero { grid-template-columns: 1fr; min-height: 0; }
  .notes-chronicle { grid-template-columns: 1fr; }
  .notes-field, .notes-stage { min-height: 560px; }
  .notes-proof { grid-template-columns: 1fr; }
  body[data-atlas-notes="journal"] .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body[data-atlas-notes="journal"] { padding-bottom: calc(96px + env(safe-area-inset-bottom)); background-size: 48px 48px; }
  body[data-atlas-notes="journal"] main.notes-journal-shell { width: 100% !important; padding: 16px 0 56px !important; }
  .notes-hero { gap: 32px; padding: 32px 20px 34px; border-left: 0; border-right: 0; background: var(--notes-panel); }
  .notes-hero h1 { margin: 18px 0; font-size: 42px; line-height: 1; }
  .notes-hero-copy > p:not(.notes-kicker) { font-size: 17px; line-height: 1.55; }
  .notes-hero-actions { display: grid; grid-template-columns: 1fr; }
  .notes-primary, .notes-secondary { width: 100%; box-sizing: border-box; }
  .notes-hero-proof { padding: 24px 20px; }
  .notes-hero-proof h2 { font-size: 28px; }
  .notes-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .notes-metric { padding: 14px 10px; }
  .notes-metric strong { font-size: 24px; }
  .notes-metric span { letter-spacing: 0.04em; }
  .notes-chronicle { gap: 0; margin-top: 34px; }
  .notes-field, .notes-stage { min-height: 0; border-left: 0; border-right: 0; }
  .notes-field { padding: 22px 16px; }
  .notes-field-head { align-items: flex-start; }
  .notes-field-head strong { max-width: 175px; text-align: right; font-size: 14px; }
  .notes-orbit-field { width: min(100%, 430px); }
  .notes-orbit-core { width: 90px; height: 90px; }
  .notes-orbit-core img { width: 62px; height: 62px; }
  .notes-field-node { width: 46px; height: 46px; }
  .notes-stage { padding: 32px 20px; }
  .notes-stage h2 { margin: 30px 0 16px; font-size: 35px; }
  .notes-stage-copy { font-size: 16px; line-height: 1.58; }
  .notes-stage-signal { margin-top: 28px; }
  .notes-stage-signal div { padding: 14px 9px; }
  .notes-stage-signal strong { font-size: 12px; }
  .notes-proof { gap: 24px; margin-top: 14px; padding: 30px 20px; }
  .notes-proof-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes-proof-chain div:nth-child(3) { border-top: 1px solid var(--notes-line); }
  .notes-proof-chain div:nth-child(4) { border-top: 1px solid var(--notes-line); }
  .notes-archive { margin-top: 34px; padding: 34px 0 24px; border-left: 0; border-right: 0; }
  .notes-archive-head { display: grid; padding: 0 20px; }
  .notes-archive h2 { font-size: 36px; }
  .notes-search { min-width: 0; width: 100%; }
  .notes-filters { flex-wrap: nowrap; overflow-x: auto; padding: 0 20px 6px; scrollbar-width: none; }
  .notes-filters::-webkit-scrollbar { display: none; }
  .notes-filter { flex: 0 0 auto; }
  body[data-atlas-notes="journal"] .notes-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 16px;
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  body[data-atlas-notes="journal"] .notes-grid::-webkit-scrollbar { display: none; }
  body[data-atlas-notes="journal"] .note-card {
    flex: 0 0 min(82vw, 360px);
    min-height: 330px;
    padding: 24px;
    scroll-snap-align: start;
  }
  body[data-atlas-notes="journal"] .note-card[hidden] { display: none; }
  .notes-empty { margin: 0 20px; }
  .notes-footer { margin: 18px 20px 0; padding-bottom: 18px; }
}

@media (max-width: 380px) {
  .notes-hero { padding-left: 16px; padding-right: 16px; }
  .notes-hero h1 { font-size: 38px; }
  .notes-field-head { display: grid; }
  .notes-field-head strong { max-width: none; text-align: left; }
  .notes-field-legend { gap: 10px; letter-spacing: 0.05em; }
  .notes-stage-signal { grid-template-columns: 1fr; }
  .notes-stage-signal div + div { border-left: 0; border-top: 1px solid var(--notes-line); }
}

@media (min-width: 1900px) {
  body[data-atlas-notes="journal"] main.notes-journal-shell { width: min(calc(100% - 128px), 2320px) !important; max-width: none !important; padding-top: 144px; }
  .notes-hero { min-height: 690px; grid-template-columns: minmax(0, 1.34fr) minmax(500px, 0.66fr); }
  .notes-chronicle { grid-template-columns: minmax(760px, 1.25fr) minmax(560px, 0.75fr); }
  .notes-field, .notes-stage { min-height: 760px; }
  .notes-orbit-field { width: 660px; }
  body[data-atlas-notes="journal"] .notes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  body[data-atlas-notes="journal"] *,
  body[data-atlas-notes="journal"] *::before,
  body[data-atlas-notes="journal"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
