.notes-app {
  --notes-reading: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  --notes-text-rail: 680px;
  --notes-wide-rail: 680px;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  color: #ddd7df;
  background: #0d0910;
  scrollbar-color: #746d77 #151018;
}

.app-window[data-app="notes"] {
  top: clamp(48px, 8vh, 88px);
  left: clamp(280px, 27vw, 430px);
  width: min(620px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 110px));
  min-width: 520px;
  min-height: 360px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - var(--taskbar-h) - 12px);
  border: 1px solid #57505a;
  box-shadow: none;
  resize: both;
  overflow: hidden;
  background: #100c12;
}

.app-window[data-app="notes"][data-maximized="true"] {
  position: fixed;
  inset: 0 0 var(--taskbar-h) 0;
  width: auto !important;
  height: auto !important;
  max-width: none;
  max-height: none;
  resize: none;
}

.app-window[data-app="notes"][data-maximized="true"] .notes-app {
  --notes-text-rail: 680px;
  --notes-wide-rail: 680px;
}

.app-window[data-app="notes"][data-maximized="true"] .app-window__bar { cursor: default; }
.app-window[data-app="notes"] #maximizeWindow { display: inline-grid; place-items: center; }

.app-window[data-app="notes"] .app-window__content {
  display: block;
  height: calc(100% - 31px);
  min-height: 0;
  padding: 0;
}

.app-window[data-app="notes"] .notes-app { display: block; }
.app-window[data-app="notes"] .app-window__stamp,
.app-window[data-app="notes"] .app-window__copy { display: none; }

.app-window[data-app="notes"] .notes-app[data-view="directory"] {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.notes-system-menu,
.notes-system-address,
.notes-system-status {
  color: var(--system-chrome-text);
  background: var(--system-chrome-bg);
  border-color: var(--system-chrome-border);
  font-family: var(--mono);
}

.notes-system-menu {
  display: flex;
  min-height: var(--system-menu-height);
  align-items: center;
  gap: var(--system-menu-gap);
  padding: 0 var(--system-menu-padding-x);
  border-bottom: 1px solid var(--system-menu-divider);
  font: var(--system-menu-font);
}

.notes-system-address {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 35px;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--system-chrome-border);
  font: var(--system-menu-font);
}

.notes-system-address output {
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--system-chrome-border);
  color: var(--system-chrome-text);
  background: var(--system-field-bg);
  box-shadow: inset 1px 1px 0 var(--system-field-inset);
}

.notes-system-status {
  display: flex;
  min-height: var(--system-status-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border-top: 1px solid var(--system-chrome-border);
  color: #756b77;
  font-size: 8px;
}

.notes-app[data-view="reader"] [data-notes-directory-chrome] {
  display: none;
}

.notes-directory {
  min-height: 0;
  overflow: auto;
  padding: 0;
}

.notes-directory__preface {
  margin: 2px 0 34px;
  color: #b9b0ba;
  text-align: left;
  font: 700 10px/1.6 var(--mono);
  letter-spacing: .04em;
}

.notes-directory__preface::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  background: #c6689b;
  content: "";
  vertical-align: 1px;
}

.notes-directory__groups {
  max-width: 620px;
  padding: 22px 25px 32px;
}

.notes-directory__group + .notes-directory__group { margin-top: 36px; }

.notes-directory__group h2 {
  margin: 0 0 8px;
  color: #c6689b;
  font: 700 9px/1 var(--mono);
  letter-spacing: .15em;
}

.notes-directory__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  align-items: center;
  padding: 3px 5px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.notes-directory__row:hover,
.notes-directory__row:focus-visible {
  background: transparent;
  outline: 0;
}

.notes-directory__row + .notes-directory__row { margin-top: 18px; }

.notes-directory__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.notes-directory__text {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.notes-directory__copy strong {
  display: block;
  font-family: var(--notes-reading);
  font-size: 13px;
  font-weight: 500;
  color: #e5dfe6;
  line-height: 1.45;
}

.notes-directory__summary {
  display: block;
  overflow: hidden;
  color: #918996;
  font-family: var(--notes-reading);
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notes-directory__copy small {
  display: block;
  align-self: start;
  padding-top: 4px;
  text-align: right;
  color: #817987;
  font: 700 9px/1 var(--mono);
}

.notes-directory__arrow { display: none; }

.notes-directory__row:hover .notes-directory__copy strong,
.notes-directory__row:focus-visible .notes-directory__copy strong {
  color: #ff83c5;
  text-decoration: underline;
  text-decoration-color: #ff83c5;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.notes-directory__row:hover .notes-directory__summary,
.notes-directory__row:focus-visible .notes-directory__summary {
  color: #c9c2ca;
}

.notes-reader {
  display: grid;
  grid-template-rows: 34px minmax(0, 1fr);
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
}

.notes-reader[hidden] { display: none; }

.notes-reader__nav {
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 48px);
  background: transparent;
}

.notes-reader__scroll {
  min-height: 0;
  overflow: auto;
  scrollbar-color: #8d8790 #ded9e2;
}

.notes-reader__article {
  width: 100%;
  max-width: calc(var(--notes-wide-rail) + 96px);
  margin: 0 auto;
  padding: 42px clamp(24px, 5vw, 48px) 100px;
}

.notes-reader__back {
  display: block;
  width: max-content;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  color: #c6689b;
  background: transparent;
  font: 700 10px/1.3 var(--mono);
  text-decoration: none;
  cursor: pointer;
}

.notes-reader__back:hover,
.notes-reader__back:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.notes-reader__article header,
.notes-reader__body > :not(.notes-process):not(.notes-theme-records):not(.notes-project-gallery) {
  width: min(100%, var(--notes-text-rail));
  margin-right: auto;
  margin-left: auto;
}

.notes-reader__article header { margin-bottom: 52px; }
.notes-reader__article h1 {
  margin: 0 0 13px;
  color: #f1edf2;
  font-family: var(--notes-reading);
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.35;
}

.notes-reader__meta {
  margin: 0 0 30px;
  color: #c65d97;
  font: 700 9px/1.5 var(--mono);
}

.notes-reader__intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: #514851;
  font-family: var(--notes-reading);
  font-size: 13.5px;
  line-height: 1.85;
}

.notes-reader__intro[hidden] { display: none; }

.notes-reader__origin {
  display: block;
  margin: 0;
  padding: 17px 20px 18px;
  background: rgba(180, 130, 158, .07);
  color: #5f555f;
}

.notes-reader__editorial { box-sizing: border-box; }

.notes-reader__origin[hidden] { display: none; }

.notes-reader__origin-source {
  margin: 0 0 7px;
  color: #a74c7c;
  font: 700 9px/1.5 var(--mono);
  letter-spacing: .06em;
}

.notes-reader__editorial-note {
  margin: 0;
  font: 400 12.5px/1.75 var(--notes-reading);
}

.notes-reader__editorial-stats {
  display: flex;
  gap: 14px;
  margin: 9px 0 0;
  color: #8f818a;
  font: 700 8px/1.5 var(--mono);
}

.notes-reader__editorial-stats[hidden] { display: none; }

.notes-reader__body {
  color: #d2ccd5;
  font-family: var(--notes-reading);
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: .012em;
}

.notes-reader__body h2,
.notes-reader__body h3 {
  margin: 0;
  color: #f0eaf1;
  font-family: var(--notes-reading);
  line-height: 1.5;
}

.notes-reader__body h2 {
  margin-top: clamp(58px, 8vw, 82px);
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 650;
}

.notes-reader__body h2::before {
  display: block;
  width: 18px;
  height: 2px;
  margin-bottom: 16px;
  background: #c65d97;
  content: "";
}

.notes-reader__body h3 {
  margin-top: 34px;
  margin-bottom: 13px;
  color: #473d47;
  font-size: 15px;
  font-weight: 600;
}

.notes-reader__body p {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.notes-article-lede {
  margin-bottom: 38px !important;
  color: #403640;
  font-size: 15px;
  line-height: 2.05;
}

.notes-article-subhead {
  margin-top: 30px !important;
  margin-bottom: 10px !important;
  color: #302730;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.notes-article-kicker {
  margin-top: 38px !important;
  margin-bottom: 4px !important;
  color: #8b5d76;
  font-family: var(--notes-reading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.notes-reader__body a {
  color: #a43f76;
  text-decoration-color: #c879a3;
  text-underline-offset: 3px;
}

.notes-reader__body > ul,
.notes-reader__body > ol {
  margin: 8px 0 30px;
  padding: 0;
  list-style: none;
}

.notes-reader__body > ul > li,
.notes-reader__body > ol > li {
  position: relative;
  padding-left: 22px;
}

.notes-reader__body > ul > li::before {
  position: absolute;
  top: .86em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c15b90;
  content: "";
}

.notes-reader__body li + li { margin-top: .65em; }

.notes-resource-list {
  margin-top: 2px !important;
}

.notes-resource-list > li {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 18px;
  padding: 8px 0;
  line-height: 1.85;
}

.notes-resource-list > li::before { display: none; }
.notes-resource-list > li + li { margin-top: .7em; }

.notes-resource-list a,
.notes-resource-list strong {
  margin-right: .35em;
  color: #8b466c;
  font-size: inherit;
  font-weight: 600;
}

.notes-resource-list span { color: inherit; }

.notes-checklist > li { padding-top: 2px; padding-bottom: 2px; }

.notes-reader__body blockquote {
  margin: 34px auto 40px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: #665a64;
  font-size: 14px;
  line-height: 1.95;
}

.notes-reader__body blockquote::before { content: none; }

.notes-reader__body blockquote p:last-child { margin-bottom: 0; }

.notes-editorial-note {
  margin-bottom: 30px !important;
  padding: 13px 0 0;
  border-top: 1px solid rgba(159, 80, 122, .28);
  background: transparent;
  color: #5f555f;
  font-size: 12px;
  line-height: 1.75;
}

.notes-project-gallery {
  width: min(100%, var(--notes-text-rail));
  margin: 38px auto 46px;
}

.notes-project-gallery__label {
  margin-bottom: 14px !important;
  color: #a64d7c;
  font: 700 9px/1.4 var(--mono);
  letter-spacing: .1em;
  text-align: left;
}

.notes-project-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 600px);
  margin: 0 auto;
}

.notes-project-shot {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.notes-project-shot img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 0;
}

.notes-project-shot figcaption {
  padding: 9px 2px 0;
  color: #736873;
  font: 700 8px/1.55 var(--mono);
  letter-spacing: .06em;
  text-align: left;
}

.notes-article-figure {
  margin-top: 40px !important;
  margin-bottom: 46px !important;
}

.notes-article-figure img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.notes-article-figure--portrait img {
  width: min(100%, 215px);
}

.notes-article-figure figcaption {
  max-width: 560px;
  margin: 10px auto 0;
  color: #81757e;
  font: 400 10px/1.65 var(--notes-reading);
  text-align: center;
}

.notes-article-figure figcaption a {
  color: #98607d;
}

.notes-code-structure {
  overflow-x: auto;
  margin-top: 24px;
  margin-bottom: 34px;
  padding: 22px 4px;
  border: 0;
  border-top: 1px solid rgba(159, 80, 122, .26);
  border-bottom: 1px solid rgba(159, 80, 122, .26);
  background: rgba(232, 227, 231, .42);
  color: #3f363f;
  font: 500 11px/1.75 var(--mono);
  white-space: pre;
}

.notes-code-figure {
  margin: 24px 0 34px;
}

.notes-code-figure .notes-code-structure {
  margin-top: 0;
  margin-bottom: 0;
}

.notes-memory-note {
  margin-top: 34px;
  margin-bottom: 42px;
  padding: 4px 24px;
  background: transparent;
  color: #ddd6df;
}

.notes-memory-note::before { content: none; }

.notes-memory-note small,
.notes-record small,
.notes-review > header small {
  display: block;
  margin-bottom: 10px;
  color: #cf6b9f;
  font: 700 9px/1.4 var(--mono);
  letter-spacing: .08em;
}

.notes-memory-note p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.95;
}

.notes-theme-records {
  display: block;
  width: min(100%, var(--notes-wide-rail));
  margin: 40px auto 48px;
}

.notes-record {
  padding: 0;
  border: 0;
  background: transparent;
}

.notes-record h4,
.notes-review h4 {
  margin: 0 0 14px;
  color: #eee8ef;
  font-family: var(--notes-reading);
  font-size: 16px;
  font-weight: 600;
}

.notes-record p:last-child { margin-bottom: 0; }

.notes-theme-records .notes-record + .notes-record { margin-top: 42px; }

.notes-theme-records__reflection {
  width: min(100%, var(--notes-text-rail));
  margin: 30px auto;
  padding: 0 24px;
  border: 0;
  color: #9d949f;
  font-size: 12px;
}

.notes-review {
  margin-top: 34px;
  margin-bottom: 46px;
  border: 0;
  background: transparent;
}

.notes-review > header,
.notes-review > section {
  padding: 0;
}

.notes-review > header {
  background: #181219;
}

.notes-review > section + section {
  margin-top: 28px;
  border: 0;
}

.notes-review h5 {
  margin: 0 0 10px;
  color: #d76da4;
  font: 700 9px/1.4 var(--mono);
  letter-spacing: .1em;
}

.notes-review ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: notes-review;
}

.notes-review li {
  position: relative;
  padding-left: 30px;
  counter-increment: notes-review;
}

.notes-review li + li { margin-top: 12px; }

.notes-review li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: #c26296;
  content: "0" counter(notes-review);
  font: 700 8px/1.5 var(--mono);
}

.notes-review p:last-child,
.notes-review li:last-child { margin-bottom: 0; }

.notes-process {
  width: min(100%, var(--notes-wide-rail));
  margin: 40px auto 50px;
  padding: 0;
  border: 0;
}

.notes-process figcaption {
  color: #c66a9b;
  font: 700 9px/1.4 var(--mono);
  letter-spacing: .12em;
}

.notes-process__list {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.notes-process__step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 38px;
  color: #ddd7df;
}

.notes-process__step:not(:last-child)::after {
  position: absolute;
  top: 28px;
  bottom: -10px;
  left: 9px;
  border-left: 1px dotted #6d5062;
  content: "";
}

.notes-process__step span {
  color: #df6fa9;
  font: 700 9px/1 var(--mono);
}

.notes-process__step strong {
  font-family: var(--notes-reading);
  font-size: 13px;
  font-weight: 500;
}

.notes-app[data-view="reader"] {
  overflow: hidden;
  color: #241d25;
  background: #f1edf1;
  scrollbar-color: #8d8790 #ded9e2;
}

.notes-app[data-view="reader"] .notes-reader__article h1,
.notes-app[data-view="reader"] .notes-reader__body,
.notes-app[data-view="reader"] .notes-reader__body h2,
.notes-app[data-view="reader"] .notes-reader__body h3,
.notes-app[data-view="reader"] .notes-record h4,
.notes-app[data-view="reader"] .notes-review h4,
.notes-app[data-view="reader"] .notes-process__step {
  color: #241d25;
}

.notes-app[data-view="reader"] .notes-reader__body h2 {
  color: #241d25;
}

.notes-app[data-view="reader"] .notes-reader__intro,
.notes-app[data-view="reader"] .notes-reader__origin,
.notes-app[data-view="reader"] .notes-theme-records__reflection {
  color: #514851;
}

.notes-app[data-view="reader"] .notes-memory-note {
  color: #3f373f;
  padding: 4px 24px;
  border: 0;
  background: transparent;
}

.notes-app[data-view="reader"] .notes-record {
  padding: 0;
  border: 0;
  background: transparent;
}

.notes-app[data-view="reader"] .notes-review {
  border: 0;
  background: transparent;
}

.notes-app[data-view="reader"] .notes-review > header { background: transparent; }
.notes-app[data-view="reader"] .notes-review > section + section { border: 0; }
.notes-app[data-view="reader"] .notes-process { border: 0; }

.notes-app[data-article="karen-horney"] .notes-inline-emphasis {
  color: #a64d7c;
  font-weight: 600;
}

.notes-app[data-article="karen-horney"] .notes-heading-accent,
.notes-app[data-article="karen-horney"] .notes-reader__body .notes-heading-emphasis {
  color: #a64d7c;
}

.app-window[data-app="notes"][data-maximized="true"] .notes-reader__article h1 {
  font-size: 28px;
}

@media (min-width: 900px) {
  .app-window[data-app="notes"][data-maximized="true"] .notes-project-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: min(100%, 600px);
  }

  .app-window[data-app="notes"][data-maximized="true"] .notes-process__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }

  .app-window[data-app="notes"][data-maximized="true"] .notes-process__step {
    display: block;
    min-height: 0;
  }

  .app-window[data-app="notes"][data-maximized="true"] .notes-process__step span,
  .app-window[data-app="notes"][data-maximized="true"] .notes-process__step strong {
    display: block;
  }

  .app-window[data-app="notes"][data-maximized="true"] .notes-process__step strong {
    margin-top: 10px;
    font-size: 14px;
  }

  .app-window[data-app="notes"][data-maximized="true"] .notes-process__step:not(:last-child)::after {
    top: 4px;
    right: -18px;
    bottom: auto;
    left: auto;
    width: 8px;
    border: 0;
    color: #7c536b;
    content: "→";
    font: 700 10px/1 var(--mono);
  }

}

@media (max-width: 680px) {
  .app-window[data-app="notes"] {
    top: 4%;
    left: 10px;
    width: calc(100vw - 20px);
    height: calc(100vh - 82px);
    min-width: 0;
    min-height: 0;
    resize: none;
  }
  .notes-directory__groups { padding: 20px 18px 32px; }
  .notes-directory__copy { display: block; }
  .notes-directory__copy small { margin-top: 4px; text-align: left; }
  .notes-reader__nav { padding: 0 22px; }
  .notes-reader__article { padding: 28px 22px 70px; }

  .notes-reader__body h2 {
    margin-top: 48px;
    font-size: 19px;
  }

  .notes-project-gallery {
    margin-top: 32px;
    margin-bottom: 40px;
  }

  .notes-project-gallery__grid,
  .notes-resource-list > li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Life as Playground — refined article treatment */
.notes-app[data-article="life-as-playground"] {
  --notes-game-surface: #f8f3ed;
  background: #f6f1ea;
  scrollbar-color: #978d94 #e5ded9;
}

.notes-app[data-article="life-as-playground"] .notes-reader__article > header {
  margin-bottom: 42px;
}

.notes-app[data-article="life-as-playground"] .notes-reader__origin {
  padding: 23px 25px 25px;
  background: #eee8e8;
}

.notes-app[data-article="life-as-playground"] .notes-reader__origin-source {
  margin-bottom: 15px;
  color: #bd3d78;
  font-size: 10px;
  font-weight: 400;
}

.notes-app[data-article="life-as-playground"] .notes-reader__editorial-note {
  color: #4d434b;
  font-size: 14px;
  line-height: 1.9;
}

.notes-app[data-article="life-as-playground"] .notes-editorial-paragraph {
  display: block;
}

.notes-app[data-article="life-as-playground"] .notes-editorial-paragraph + .notes-editorial-paragraph {
  margin-top: 13px;
}

.notes-app[data-article="life-as-playground"] .notes-reader__body::before {
  display: block;
  width: min(100%, var(--notes-text-rail));
  margin: 0 auto 24px;
  color: #94858e;
  content: "原文";
  font: 400 10px/1.4 var(--mono);
  letter-spacing: .08em;
}

.notes-app[data-article="life-as-playground"] .notes-reading-mark {
  padding: 0 .08em;
  color: inherit;
  background: linear-gradient(transparent 60%, rgba(195, 63, 124, .2) 60%);
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.notes-app[data-article="life-as-playground"] .notes-reading-strong {
  color: inherit;
  background: transparent;
  font-weight: 650;
}

.notes-app[data-article="life-as-playground"] .notes-theme-name {
  padding: 0;
  color: inherit;
  background: transparent;
  font-weight: 600;
  text-decoration: none;
}

.notes-app[data-article="life-as-playground"] .notes-theme-explainer {
  padding: 0 .08em;
  color: inherit;
  background: linear-gradient(transparent 60%, rgba(195, 63, 124, .2) 60%);
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.notes-app[data-article="life-as-playground"] .notes-reader__body > .notes-record--memory {
  width: min(100%, 600px);
  margin-right: auto;
  margin-left: auto;
  margin-top: 38px;
  margin-bottom: 48px;
}

.notes-app[data-article="life-as-playground"] .notes-reader__body > .notes-theme-records {
  width: min(100%, 600px);
  margin-right: auto;
  margin-left: auto;
  margin-top: 40px;
  margin-bottom: 50px;
}

.notes-app[data-article="life-as-playground"] .notes-reader__body > .notes-theme-records--continuation {
  margin-top: 18px;
}

.notes-app[data-article="life-as-playground"] .notes-record {
  overflow: hidden;
  padding: 0;
  border: 1px solid #746b73;
  background: var(--notes-game-surface);
  box-shadow: 6px 6px 0 rgba(89, 71, 83, .12);
}

.notes-app[data-article="life-as-playground"] .notes-record__bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  color: #f6f0f4;
  background: #211b23;
  font: 400 10px/1.2 var(--mono);
  letter-spacing: .1em;
}

.notes-app[data-article="life-as-playground"] .notes-record__time {
  display: block;
  text-align: right;
}

.notes-app[data-article="life-as-playground"] .notes-record__time strong {
  display: block;
  color: #fff;
  font: 400 15px/1 var(--mono);
  letter-spacing: .03em;
}

.notes-app[data-article="life-as-playground"] .notes-record__time small {
  display: block;
  margin-top: 4px;
  color: #dd8cb1;
  font: 400 7px/1 var(--mono);
  letter-spacing: .14em;
}

.notes-app[data-article="life-as-playground"] .notes-record__log {
  color: #d68aad;
  font-size: 9px;
}

.notes-app[data-article="life-as-playground"] .notes-record__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 22px;
  padding: 26px 25px 29px;
}

.notes-app[data-article="life-as-playground"] .notes-record__copy {
  min-width: 0;
  font-family: var(--sans);
}

.notes-app[data-article="life-as-playground"] .notes-record__index,
.notes-app[data-article="life-as-playground"] .notes-record__context {
  display: block;
  color: #94868e;
  font: 400 8px/1.4 var(--mono);
  letter-spacing: .1em;
}

.notes-app[data-article="life-as-playground"] .notes-record__index {
  margin-bottom: 15px;
}

.notes-app[data-article="life-as-playground"] .notes-record__context {
  margin: -8px 0 17px;
  color: #312832;
}

.notes-app[data-article="life-as-playground"] .notes-record h4 {
  margin: 0 0 18px;
  color: #b53a73;
  font: 400 16px/1.35 var(--mono);
}

.notes-app[data-article="life-as-playground"] .notes-record p {
  margin-bottom: 13px;
  font: 400 13px/1.82 var(--sans);
  letter-spacing: 0;
}

.notes-app[data-article="life-as-playground"] .notes-record__art {
  width: 132px;
  margin: 0;
  align-self: start;
}

.notes-app[data-article="life-as-playground"] .notes-game-scene {
  display: block;
  width: 132px;
  height: auto;
  border: 2px solid #70676e;
  background: #100e12;
  box-shadow: 3px 3px 0 rgba(63, 49, 58, .14);
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.notes-app[data-article="life-as-playground"] .notes-record__art figcaption {
  margin-top: 10px;
  color: #92838c;
  font: 400 7px/1.4 var(--mono);
  letter-spacing: .1em;
  text-align: center;
}

.notes-app[data-article="life-as-playground"] .notes-theme-records .notes-record + .notes-record {
  margin-top: 0;
}

.notes-app[data-article="life-as-playground"] .notes-reader__body > .notes-review {
  display: block;
  width: min(100%, 600px);
  margin-right: auto;
  margin-left: auto;
  margin-top: 38px;
  margin-bottom: 48px;
  padding: 22px 25px 24px;
  border: 1px solid #524a50;
  background: var(--notes-game-surface);
  box-shadow: 4px 4px 0 rgba(89, 71, 83, .08);
  font-family: var(--notes-reading);
  font-size: 13px;
  line-height: 1.72;
}

.notes-app[data-article="life-as-playground"] .notes-review__header {
  padding: 0;
}

.notes-app[data-article="life-as-playground"] .notes-review__header > small {
  display: block;
  margin-bottom: 10px;
  color: #8d7f88;
  font: 400 9px/1.4 var(--mono);
  letter-spacing: .09em;
}

.notes-app[data-article="life-as-playground"] .notes-review h4 {
  margin: 0 0 9px;
  color: #312832;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
}

.notes-app[data-article="life-as-playground"] .notes-review h4 strong {
  margin-left: .18em;
  color: #bd3d78;
  font: inherit;
}

.notes-app[data-article="life-as-playground"] .notes-review__metric {
  margin: 0 0 20px;
  padding: 14px 0;
  border-top: 1px solid #cec2c7;
  border-bottom: 1px solid #cec2c7;
}

.notes-app[data-article="life-as-playground"] .notes-review__metric strong {
  display: block;
  color: #bd3d78;
  font: 400 26px/1.1 var(--mono);
}

.notes-app[data-article="life-as-playground"] .notes-review__metric span {
  color: #81747c;
  font-size: 11px;
}

.notes-app[data-article="life-as-playground"] .notes-review > section {
  padding: 15px 0 0;
}

.notes-app[data-article="life-as-playground"] .notes-review > section + section {
  margin-top: 14px;
  border-top: 0;
}

.notes-app[data-article="life-as-playground"] .notes-review h5 {
  color: #a44876;
  font-weight: 400;
}

.notes-app[data-article="life-as-playground"] .notes-process {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 29px;
  width: min(100%, 560px);
  margin: 42px auto 50px;
  padding: 0;
  background: transparent;
}

.notes-app[data-article="life-as-playground"] .notes-process figcaption {
  display: block;
  margin: 0;
  padding-top: 12px;
  color: #3f353e;
  letter-spacing: 0;
}

.notes-app[data-article="life-as-playground"] .notes-process figcaption small {
  color: #a44876;
  font: 400 8px/1.2 var(--mono);
  letter-spacing: .12em;
}

.notes-app[data-article="life-as-playground"] .notes-process figcaption strong {
  display: block;
  margin-top: 11px;
  font-family: var(--notes-reading);
  font-size: 14px;
  font-weight: 500;
}

.app-window[data-app="notes"] .notes-app[data-article="life-as-playground"] .notes-process__list {
  display: block;
  margin: 0;
  border-top: 1px solid #d1c5ca;
}

.app-window[data-app="notes"] .notes-app[data-article="life-as-playground"] .notes-process__step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  min-height: 0;
  align-items: baseline;
  padding: 12px 0 11px;
  border-bottom: 1px solid #d1c5ca;
  color: #3f353e;
}

.notes-app[data-article="life-as-playground"] .notes-process__step:not(:last-child)::after {
  display: none;
}

.notes-app[data-article="life-as-playground"] .notes-process__step span {
  color: #bd3d78;
  font-weight: 400;
}

.notes-app[data-article="life-as-playground"] .notes-process__step strong {
  margin: 0;
  font-family: var(--notes-reading);
  font-size: 14px;
  font-weight: 500;
}

.notes-app[data-article="life-as-playground"] .notes-process__step small {
  grid-column: 3;
  margin: 0;
  color: #93858e;
  font: 400 7px/1.2 var(--mono);
  letter-spacing: .09em;
}

@media (max-width: 680px) {
  .notes-app[data-article="life-as-playground"] .notes-reader__origin {
    padding: 20px;
  }

  .notes-app[data-article="life-as-playground"] .notes-record__body {
    grid-template-columns: minmax(0, 1fr);
    padding: 25px 22px 29px;
  }

  .notes-app[data-article="life-as-playground"] .notes-record__art {
    grid-row: 1;
    width: 132px;
    margin-bottom: 4px;
  }

  .notes-app[data-article="life-as-playground"] .notes-game-scene {
    width: 132px;
  }

  .notes-app[data-article="life-as-playground"] .notes-review {
    display: block;
    padding: 22px 21px 25px;
  }

  .notes-app[data-article="life-as-playground"] .notes-process {
    display: block;
    padding: 0;
  }

  .notes-app[data-article="life-as-playground"] .notes-process figcaption {
    display: block;
  }

  .app-window[data-app="notes"] .notes-app[data-article="life-as-playground"] .notes-process__list {
    margin-top: 18px;
  }

  .app-window[data-app="notes"] .notes-app[data-article="life-as-playground"] .notes-process__step {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .notes-app[data-article="life-as-playground"] .notes-process__step small {
    grid-column: 2;
    margin-top: 5px;
  }
}

.notes-app[data-article="ai-mini-program"] {
  --notes-game-surface: #f8f3ed;
  background: #f6f1ea;
  scrollbar-color: #978d94 #e5ded9;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__article > header {
  margin-bottom: 42px;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__origin {
  padding: 23px 25px 25px;
  background: #eee8e8;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__origin-source {
  margin-bottom: 15px;
  color: #bd3d78;
  font-size: 10px;
  font-weight: 400;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__editorial-note {
  color: #4d434b;
  font-size: 14px;
  line-height: 1.9;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body {
  line-height: 1.92;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body > p {
  margin-bottom: .72em;
}

.notes-app[data-article="ai-mini-program"] .notes-article-lede {
  margin-bottom: 32px !important;
  line-height: 1.92;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body h2::before {
  display: none;
}

.notes-app[data-article="ai-mini-program"] .notes-project-gallery {
  margin-top: 34px;
  margin-bottom: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.notes-app[data-article="ai-mini-program"] .notes-project-gallery--demo {
  width: min(100%, 650px);
}

.notes-app[data-article="ai-mini-program"] .notes-project-gallery--demo .notes-project-gallery__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.notes-app[data-article="ai-mini-program"] .notes-project-gallery--demo .notes-project-shot img {
  aspect-ratio: .468;
  object-fit: contain;
  object-position: center bottom;
}

.notes-app[data-article="ai-mini-program"] .notes-project-gallery--demo .notes-project-shot:nth-child(1) img,
.notes-app[data-article="ai-mini-program"] .notes-project-gallery--demo .notes-project-shot:nth-child(3) img {
  object-fit: cover;
  object-position: center bottom;
}

.notes-app[data-article="ai-mini-program"] .notes-project-gallery--single {
  width: min(100%, 560px);
}

.notes-app[data-article="ai-mini-program"] .notes-project-gallery--single .notes-project-gallery__grid {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 480px);
  margin-left: 0;
}

.notes-app[data-article="ai-mini-program"] .notes-project-shot figcaption {
  color: #736873;
  font-weight: 400;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body > .notes-resource-table {
  width: min(100%, 600px);
  margin: 18px auto 36px;
  border: 1px solid #514950;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: var(--notes-game-surface);
  box-shadow: 5px 5px 0 rgba(89, 71, 83, .1);
}

.notes-app[data-article="ai-mini-program"] .notes-resource-table th,
.notes-app[data-article="ai-mini-program"] .notes-resource-table td {
  padding: 12px 16px;
  border: 0;
  vertical-align: top;
  text-align: left;
  font-size: 13px;
  line-height: 1.75;
}

.notes-app[data-article="ai-mini-program"] .notes-resource-table th {
  width: 29%;
  color: #312832;
  font-weight: 650;
}

.notes-app[data-article="ai-mini-program"] .notes-resource-table td {
  color: #5b5059;
  font-weight: 400;
}

.notes-app[data-article="ai-mini-program"] .notes-resource-table a {
  color: #312832;
  font-weight: inherit;
  text-decoration-color: #bd3d78;
}

.notes-app[data-article="ai-mini-program"] .notes-code-structure {
  width: 100%;
  margin: 24px auto 38px;
  padding: 22px 24px;
  border: 1px solid #514950;
  background: var(--notes-game-surface);
  box-shadow: 4px 4px 0 rgba(89, 71, 83, .08);
  color: #312832;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body > .notes-code-figure {
  width: min(100%, 600px);
  margin-right: auto;
  margin-left: auto;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body h2 {
  margin-top: clamp(52px, 7vw, 68px);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 650;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: #312832;
  font-size: 15px;
  font-weight: 600;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body h4 {
  width: min(100%, var(--notes-text-rail));
  margin: 20px auto 8px;
  color: #352c35;
  font-family: var(--notes-reading);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.notes-app[data-article="ai-mini-program"] .notes-article-lede + h2 {
  margin-top: 0;
}

.notes-app[data-article="ai-mini-program"] .notes-heading-number {
  display: inline-block;
  width: 34px;
  color: #bd3d78;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  vertical-align: .12em;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body h2 .notes-heading-number {
  font-size: 13px;
  font-weight: 500;
  vertical-align: .08em;
}

.notes-app[data-article="ai-mini-program"] .notes-reader__body > .notes-tutorial-tip {
  box-sizing: border-box;
  width: min(100%, 600px);
  margin: 38px auto 44px;
  padding: 20px 22px 18px;
  background: #eee8e8;
  color: #4f444d;
  font-size: 13px;
  line-height: 1.82;
  border: 0;
}

.notes-app[data-article="ai-mini-program"] .notes-tutorial-tip .notes-article-kicker {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.notes-app[data-article="ai-mini-program"] .notes-tutorial-tip .notes-article-subhead {
  margin-top: 18px !important;
  font-size: 13.5px;
}

.notes-app[data-article="ai-mini-program"] .notes-tutorial-tip p:last-child {
  margin-bottom: 0;
}

.notes-app[data-article="ai-mini-program"] .notes-numbered-list {
  counter-reset: notes-ai-list;
}

.notes-app[data-article="ai-mini-program"] .notes-numbered-list > li {
  counter-increment: notes-ai-list;
}

.notes-app[data-article="ai-mini-program"] .notes-numbered-list > li::before {
  position: absolute;
  top: .2em;
  left: 0;
  color: #bd3d78;
  content: counter(notes-ai-list) ".";
  font: 400 10px/1.8 var(--mono);
}

.notes-app[data-article="ai-mini-program"] .notes-editorial-note {
  margin-top: 20px;
  margin-bottom: 30px !important;
  border-top-color: #cec2c7;
}

.notes-app[data-article="ai-mini-program"] .notes-reading-mark {
  padding: 0 .08em;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(transparent 60%, #efd0df 60%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.notes-app[data-article="ai-mini-program"] .notes-reading-mark strong {
  color: #312832;
  text-decoration: none;
}

@media (max-width: 680px) {
  .notes-app[data-article="ai-mini-program"] .notes-project-gallery--demo .notes-project-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .notes-app[data-article="ai-mini-program"] .notes-reader__body > .notes-resource-table {
    display: block;
    width: min(100%, 600px);
  }

  .notes-app[data-article="ai-mini-program"] .notes-resource-table tbody,
  .notes-app[data-article="ai-mini-program"] .notes-resource-table tr,
  .notes-app[data-article="ai-mini-program"] .notes-resource-table th,
  .notes-app[data-article="ai-mini-program"] .notes-resource-table td {
    display: block;
    width: 100%;
  }

  .notes-app[data-article="ai-mini-program"] .notes-resource-table th {
    padding-bottom: 2px;
  }

  .notes-app[data-article="ai-mini-program"] .notes-resource-table td {
    padding-top: 2px;
  }

}

/* Shared NOTES editorial preface */
.notes-app[data-article="life-as-playground"] .notes-reader__origin,
.notes-app[data-article="ai-mini-program"] .notes-reader__origin,
.notes-app[data-article="karen-horney"] .notes-reader__origin,
.notes-app[data-article="psychological-boundaries"] .notes-reader__origin {
  padding: 23px 25px 25px;
  border-radius: 0;
  background: #eee8e8;
}

.notes-app[data-article="life-as-playground"] .notes-reader__origin-source,
.notes-app[data-article="ai-mini-program"] .notes-reader__origin-source,
.notes-app[data-article="karen-horney"] .notes-reader__origin-source,
.notes-app[data-article="psychological-boundaries"] .notes-reader__origin-source {
  margin-bottom: 15px;
  color: #bd3d78;
  font-size: 10px;
  font-weight: 400;
}

.notes-app[data-article="life-as-playground"] .notes-reader__editorial-note,
.notes-app[data-article="ai-mini-program"] .notes-reader__editorial-note,
.notes-app[data-article="karen-horney"] .notes-reader__editorial-note,
.notes-app[data-article="psychological-boundaries"] .notes-reader__editorial-note {
  color: #4d434b;
  font-family: var(--notes-reading);
  font-size: 14px;
  line-height: 1.9;
}

.notes-app[data-article="life-as-playground"] .notes-editorial-paragraph,
.notes-app[data-article="ai-mini-program"] .notes-editorial-paragraph,
.notes-app[data-article="karen-horney"] .notes-editorial-paragraph,
.notes-app[data-article="psychological-boundaries"] .notes-editorial-paragraph {
  display: block;
}

.notes-app[data-article="life-as-playground"] .notes-editorial-paragraph + .notes-editorial-paragraph,
.notes-app[data-article="ai-mini-program"] .notes-editorial-paragraph + .notes-editorial-paragraph,
.notes-app[data-article="karen-horney"] .notes-editorial-paragraph + .notes-editorial-paragraph,
.notes-app[data-article="psychological-boundaries"] .notes-editorial-paragraph + .notes-editorial-paragraph {
  margin-top: 13px;
}

/* Karen Horney — portrait-led essay using the approved NOTES reading system */
.notes-app[data-article="karen-horney"] {
  --notes-horney-paper: #f6f1ea;
  --notes-horney-surface: #f8f3ed;
  --notes-horney-ink: #30272e;
  --notes-horney-muted: #81747c;
  --notes-horney-pink: #bf4e84;
  background: #f6f1ea;
  scrollbar-color: #978d94 #e5ded9;
}

.notes-app[data-article="karen-horney"] .notes-reader,
.notes-app[data-article="karen-horney"] .notes-reader__article {
  background: var(--notes-horney-paper);
}

.notes-app[data-article="karen-horney"] .notes-reader__article > header {
  margin-bottom: 38px;
}

.notes-app[data-article="karen-horney"] .notes-reader__title-line {
  display: block;
}

.notes-app[data-article="karen-horney"] .notes-reader__title-line + .notes-reader__title-line {
  margin-top: .12em;
}

.notes-app[data-article="karen-horney"] .notes-reader__body {
  color: var(--notes-horney-ink);
  line-height: 1.92;
}

.notes-app[data-article="life-as-playground"] .notes-reader__body,
.notes-app[data-article="ai-mini-program"] .notes-reader__body,
.notes-app[data-article="karen-horney"] .notes-reader__body {
  color: #4d434b;
}

.notes-app[data-article="life-as-playground"] .notes-reader__body > p,
.notes-app[data-article="ai-mini-program"] .notes-reader__body > p,
.notes-app[data-article="karen-horney"] .notes-reader__body > p {
  color: inherit;
}

.notes-app[data-article="karen-horney"] .notes-reader__body > p {
  margin-bottom: 1.05em;
}

.notes-app[data-article="karen-horney"] .notes-article-lede {
  margin-bottom: 28px !important;
  line-height: 1.92;
}

.notes-app[data-article="karen-horney"] .notes-reader__body h2::before {
  display: none;
}

.notes-app[data-article="karen-horney"] .notes-reader__body h2 {
  margin-top: clamp(54px, 7vw, 70px);
  margin-bottom: 20px;
  color: var(--notes-horney-ink);
  font-size: 18px;
  font-weight: 650;
}

.notes-app[data-article="karen-horney"] .notes-reader__body h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--notes-horney-ink);
  font-size: 15px;
  font-weight: 600;
}

.notes-app[data-article="karen-horney"] .notes-reader__body .notes-heading-child {
  box-sizing: border-box;
  display: block;
  margin: 0 0 10px;
}

.notes-app[data-article="karen-horney"] .notes-reader__body > .notes-horney-types {
  box-sizing: border-box;
  display: block;
  width: min(100%, 600px);
  margin: 32px auto 24px;
  padding: 22px 26px 24px;
  border: 1px solid #514950;
  background: #f6f1ea;
  box-shadow: 5px 5px 0 rgba(89, 71, 83, .1);
}

.notes-app[data-article="karen-horney"] .notes-horney-types__eyebrow {
  margin: 0 0 20px;
  color: var(--notes-horney-muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.4;
}

.notes-app[data-article="karen-horney"] .notes-horney-type {
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.notes-app[data-article="karen-horney"] .notes-horney-type + .notes-horney-type {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d8cfd5;
}

.notes-app[data-article="karen-horney"] .notes-horney-type__meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--notes-horney-pink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.notes-app[data-article="karen-horney"] .notes-horney-type__meta small {
  color: var(--notes-horney-pink);
  font: inherit;
  font-weight: 400;
  letter-spacing: .08em;
}

.notes-app[data-article="karen-horney"] .notes-horney-type__meta strong {
  font: inherit;
}

.notes-app[data-article="karen-horney"] .notes-horney-type__meta em {
  color: var(--notes-horney-pink);
  font-family: inherit;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .02em;
}

.notes-app[data-article="karen-horney"] .notes-horney-type__meta em::before {
  margin-right: 6px;
  content: "/";
}

.notes-app[data-article="karen-horney"] .notes-horney-type__title {
  display: block;
  margin-top: 6px;
  color: var(--notes-horney-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.notes-app[data-article="karen-horney"] .notes-horney-type > p {
  margin: 0 0 .56em;
  color: #4d434b;
  font-size: 14px;
  line-height: 1.88;
}

.notes-app[data-article="karen-horney"] .notes-horney-type > p:last-child {
  margin-bottom: 0;
}

.notes-app[data-article="karen-horney"] .notes-reader__body > .notes-horney-types-summary {
  margin-top: 0;
  margin-bottom: 30px;
}

.notes-app[data-article="karen-horney"] .notes-heading-number {
  display: inline-block;
  width: 38px;
  color: var(--notes-horney-pink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  vertical-align: .1em;
}

.notes-app[data-article="karen-horney"] .notes-reader__body h2 .notes-heading-number {
  font-size: 13px;
}

.notes-app[data-article="karen-horney"] .notes-reader__body > .notes-article-figure {
  width: min(100%, 600px);
  margin-right: auto;
  margin-left: auto;
}

.notes-app[data-article="karen-horney"] .notes-article-figure--horney-hero {
  margin-top: 26px !important;
  margin-bottom: 34px !important;
}

.notes-app[data-article="karen-horney"] .notes-article-figure--horney-hero img {
  width: 100%;
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1) contrast(.96);
}

.notes-app[data-article="karen-horney"] .notes-reader__body > .notes-article-figure--horney-freud {
  width: min(100%, 500px);
  margin-top: 32px !important;
  margin-bottom: 38px !important;
}

.notes-app[data-article="karen-horney"] .notes-reader__body > .notes-article-figure--horney-ending {
  width: min(100%, 500px);
  margin: 44px auto 24px !important;
}

.notes-app[data-article="karen-horney"] .notes-article-figure--horney-ending img {
  display: block;
  width: 100%;
  height: auto;
}

.notes-app[data-article="karen-horney"] .notes-article-figure--horney-freud img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.notes-app[data-article="karen-horney"] .notes-article-figure--horney-history {
  margin-top: 42px !important;
  margin-bottom: 46px !important;
}

.notes-app[data-article="karen-horney"] .notes-horney-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.notes-app[data-article="karen-horney"] .notes-horney-history-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: grayscale(1) sepia(.08) contrast(.94);
}

.notes-app[data-article="karen-horney"] .notes-horney-history-item:first-child img {
  object-position: center 40%;
}

.notes-app[data-article="karen-horney"] .notes-horney-history-item p {
  margin: 9px 0 0;
  color: var(--notes-horney-muted);
  font-size: 10px;
  line-height: 1.6;
}

.notes-app[data-article="karen-horney"] .notes-article-figure--horney-history > figcaption {
  margin-top: 17px;
}

.notes-app[data-article="karen-horney"] .notes-inline-emphasis {
  color: inherit;
  font-weight: 700;
  background: linear-gradient(transparent 60%, #efd0df 60%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.notes-app[data-article="karen-horney"] .notes-inline-bold {
  color: inherit;
  font-weight: 700;
  background: none;
}

.notes-app[data-article="karen-horney"] .notes-heading-accent,
.notes-app[data-article="karen-horney"] .notes-reader__body .notes-heading-emphasis {
  color: var(--notes-horney-ink);
}

@media (max-width: 680px) {
  .notes-app[data-article="life-as-playground"] .notes-reader__origin,
  .notes-app[data-article="ai-mini-program"] .notes-reader__origin,
  .notes-app[data-article="karen-horney"] .notes-reader__origin,
.notes-app[data-article="psychological-boundaries"] .notes-reader__origin {
    padding: 20px;
  }

  .notes-app[data-article="ai-mini-program"] .notes-reader__body > .notes-resource-table {
    display: block;
    width: min(100%, 600px);
  }

  .notes-app[data-article="karen-horney"] .notes-heading-number {
    width: 32px;
  }

  .notes-app[data-article="karen-horney"] .notes-reader__body > .notes-horney-types {
    padding: 18px 18px 20px;
  }

  .notes-app[data-article="karen-horney"] .notes-horney-types__eyebrow {
    margin-bottom: 18px;
  }

  .notes-app[data-article="karen-horney"] .notes-horney-type + .notes-horney-type {
    margin-top: 18px;
    padding-top: 18px;
  }

  .notes-app[data-article="karen-horney"] .notes-horney-type__title {
    font-size: 17px;
  }

  .notes-app[data-article="karen-horney"] .notes-article-figure--horney-hero img {
    aspect-ratio: 1.55 / 1;
  }

  .notes-app[data-article="karen-horney"] .notes-horney-history-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .notes-app[data-article="karen-horney"] .notes-horney-history-item img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Psychological boundaries — method-card field notes */
.notes-app[data-article="psychological-boundaries"] {
  --notes-boundary-paper: #f6f1ea;
  --notes-boundary-ink: #312832;
  --notes-boundary-copy: #4d434b;
  --notes-boundary-muted: #81747c;
  --notes-boundary-accent: #bd3d78;
  background: var(--notes-boundary-paper);
  scrollbar-color: #978d94 #e5ded9;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader,
.notes-app[data-article="psychological-boundaries"] .notes-reader__article {
  background: var(--notes-boundary-paper);
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__article > header {
  margin-bottom: 38px;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__body {
  color: var(--notes-boundary-copy);
  line-height: 1.92;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__body > p {
  margin-bottom: .9em;
  color: inherit;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__body h2::before {
  display: none;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__body h2 {
  margin-top: clamp(54px, 7vw, 70px);
  margin-bottom: 20px;
  color: var(--notes-boundary-ink);
  font-size: 18px;
  font-weight: 650;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__body h3 {
  color: var(--notes-boundary-ink);
  font-size: 15px;
  font-weight: 650;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__body > .notes-boundary-hall {
  width: min(100%, 320px);
  margin: 28px auto 44px;
  border: 0;
  box-shadow: none;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-hall img {
  width: 100%;
  background: var(--notes-boundary-paper);
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-hall figcaption {
  margin-top: 11px;
  color: var(--notes-boundary-muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-hall figcaption a {
  color: inherit;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-index {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-index__number {
  color: var(--notes-boundary-accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-index--violation {
  margin-top: 34px;
  margin-bottom: 9px;
}

.notes-app[data-article="psychological-boundaries"] .notes-reader__body > .notes-boundary-practices {
  box-sizing: border-box;
  display: grid;
  gap: 16px;
  width: min(100%, 620px);
  margin: 32px auto 0;
  padding: 0 5px 5px 0;
  background: transparent;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-practice {
  box-sizing: border-box;
  padding: 20px 22px 22px;
  border: 1px solid #514950;
  background: #eee8e8;
  box-shadow: 5px 5px 0 #d8cfd5;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-practice .notes-boundary-index {
  grid-template-columns: 62px minmax(0, 1fr);
  margin: 0 0 10px;
  align-items: start;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-index--practice .notes-boundary-index__number {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 1px;
  font-size: 12px;
  line-height: 1.05;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-index--practice .notes-boundary-index__number small {
  color: var(--notes-boundary-muted);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .08em;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-practice > p {
  margin: 0 0 .62em 62px;
  color: var(--notes-boundary-copy);
  font-size: 14px;
  line-height: 1.88;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-practice > p:last-child {
  margin-bottom: 0;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-quote {
  margin: 13px 0 0 62px;
  padding: 1px 0 1px 15px;
  border: 0;
  border-left: 2px solid #c65d97;
  background: transparent;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-quote p {
  margin: 0;
  color: var(--notes-boundary-copy);
  font-size: 12.5px;
  line-height: 1.82;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-quote p + p {
  margin-top: 9px;
}

.notes-app[data-article="psychological-boundaries"] .notes-boundary-emphasis {
  color: inherit;
  font-weight: 700;
  background: linear-gradient(transparent 60%, #efd0df 60%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

@media (max-width: 680px) {
  .notes-app[data-article="psychological-boundaries"] .notes-reader__body > .notes-boundary-hall {
    width: min(88%, 300px);
    margin-top: 24px;
    margin-bottom: 38px;
  }

  .notes-app[data-article="psychological-boundaries"] .notes-reader__body > .notes-boundary-practices {
    width: 100%;
    gap: 14px;
  }

  .notes-app[data-article="psychological-boundaries"] .notes-boundary-practice {
    padding: 18px;
    box-shadow: 3px 3px 0 #d8cfd5;
  }

  .notes-app[data-article="psychological-boundaries"] .notes-boundary-index {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .notes-app[data-article="psychological-boundaries"] .notes-boundary-practice .notes-boundary-index {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .notes-app[data-article="psychological-boundaries"] .notes-boundary-practice > p {
    margin-left: 52px;
    font-size: 15px;
  }

  .notes-app[data-article="psychological-boundaries"] .notes-boundary-quote {
    margin-left: 52px;
  }

  .notes-app[data-article="psychological-boundaries"] .notes-boundary-quote p {
    font-size: 12.5px;
  }
}
