/* V99 · one fluid outer axis for every public Field index surface.
 *
 * Earlier layers combined an explicit `calc(100% - 48px)` width with the
 * generic `.shell-width` padding and a 1240px cap.  That produced a second
 * inset and made Home, Archive, Sources and Contributions visibly narrower
 * than the shared header.  Keep readable copy constrained inside components,
 * but let their outer panels follow the viewport on one canonical track. */

.locus-shell {
  --field-page-edge: 24px;
  --field-page-track: calc(100% - (2 * var(--field-page-edge)));
}

.locus-shell .site-header__inner,
.home-screen .shell-width,
.archive-screen .archive-main,
.sources-screen .sources-main,
.contribution-center-screen .contribution-center-main {
  box-sizing: border-box;
  width: var(--field-page-track);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* The panels may grow; prose must not become a wall of text on wide screens. */
.home-screen .field-empty h3,
.home-screen .field-empty > p,
.archive-screen .archive-hero__copy,
.sources-screen .sources-hero__copy,
.contribution-center-screen .contribution-center-hero__copy {
  max-width: 72ch;
}

/* The wider V99 track restores the intended three-card desktop shelf for
 * multiday projects. Keep the existing two-column compact-desktop contract
 * below 1200px; mobile continues to use the one-card horizontal shelf owned
 * by home-v57.css. */
@media (min-width: 1200px) {
  .home-screen .home-project-list {
    grid-template-columns: repeat(3, minmax(360px, 1fr));
  }
}

/* V101 · dense wide-screen discovery and a calmer editorial index.
 *
 * A fluid page axis made the former two-column cards unnecessarily wide.
 * Three columns restore scan density on real desktop widths; compact desktop
 * keeps the existing two-column decision cards, and list/mobile modes retain
 * their dedicated layouts. */
@media (min-width: 1280px) {
  .home-screen main[data-home-layout="grid"] .home-event-list,
  .home-screen--week main[data-home-layout="grid"] .week-day .home-event-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-screen main[data-home-layout="grid"] .home-event-list .home-event:not(.home-event--text-only) {
    grid-template-columns: clamp(128px, 10vw, 156px) minmax(0, 1fr);
  }

  .home-screen main[data-home-layout="grid"] .home-event-list .home-event:not(.home-event--text-only) .home-event__media:not(.home-event__media--landscape),
  .home-screen main[data-home-layout="grid"] .home-event-list .home-event:not(.home-event--text-only) .home-event__media.home-event__media--landscape {
    width: 100%;
    max-width: none;
  }

  .home-screen main[data-home-layout="grid"] .home-event-list .home-event:not(.home-event--text-only) .home-event__content {
    padding: 17px 14px 12px 16px;
  }

  .home-screen main[data-home-layout="grid"] .home-event-list .home-event:not(.home-event--text-only) .home-event__title {
    font-size: clamp(18px, 1.2vw, 20px);
  }

  .home-screen main[data-home-layout="grid"] .home-event-list .home-event.home-event--text-only {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-screen main[data-home-layout="grid"] .home-event-list .home-event.home-event--text-only .home-event__content {
    grid-column: 1;
  }
}

/* Notes now share the same fluid page axis, while readable content remains
 * constrained inside each card.  The previous red monospaced label, section
 * spine and folded-corner ornaments competed with the actual source images. */
.notes-screen .notes-main.notes-index {
  box-sizing: border-box;
  width: var(--field-page-track);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.notes-screen .notes-section-head {
  min-height: 76px;
  margin-bottom: 18px;
  padding: 0 0 17px;
  align-items: end;
  border-bottom: 1px solid color-mix(in srgb, var(--notes-ink) 13%, transparent);
  border-left: 0;
}

.notes-screen .notes-section-head > div:first-child {
  display: grid;
  align-items: start;
  gap: 7px;
}

.notes-screen .notes-section-head .notes-section-kicker {
  color: color-mix(in srgb, var(--place, #147d69) 84%, var(--notes-ink));
  font: 700 11px/1.2 "Instrument Local", "PingFang SC", sans-serif;
  letter-spacing: 0.06em;
}

.notes-screen .notes-section-head h1,
.notes-screen .notes-section-head h2 {
  color: var(--notes-ink);
  font: 700 clamp(24px, 2vw, 30px)/1.12 var(--notes-serif);
  letter-spacing: -0.035em;
}

.notes-screen .notes-section-head__tools {
  gap: 14px;
}

.notes-screen .notes-view-switch {
  border-color: color-mix(in srgb, var(--notes-ink) 12%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--notes-card) 82%, transparent);
}

.notes-screen .curated-notes__grid {
  padding-left: 0;
}

.notes-screen .curated-note::before,
.notes-screen .curated-note::after {
  display: none;
}

.notes-screen .curated-note__meta {
  color: color-mix(in srgb, var(--place, #147d69) 76%, var(--notes-ink));
  font-family: "Instrument Local", "PingFang SC", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.035em;
}

/* Desktop recap shelves use one consistent editorial tile: source image first,
 * reading evidence beneath it.  The old 901–1279px fallback put the image at
 * the side and made the same card feel like a different component. */
@media (min-width: 901px) {
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-notes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note:nth-child(even):not(.curated-note--text-only) {
    display: grid;
    min-height: 586px;
    overflow: hidden;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "meta"
      "title"
      "byline"
      "summary"
      "quote"
      "tags"
      "footer";
    grid-template-rows: clamp(224px, 22vw, 276px) auto auto auto auto minmax(54px, 1fr) auto auto;
    column-gap: 0;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media {
    display: grid;
    width: 100%;
    height: clamp(224px, 22vw, 276px);
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--notes-v88-line);
    border-radius: 12px 12px 0 0;
    grid-area: media;
    grid-template-rows: minmax(0, 1fr);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media-frame,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media--portrait .curated-note__media-frame {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--artwork-focus, 50% 50%);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media--portrait img {
    object-fit: contain;
    background: color-mix(in srgb, var(--notes-paper) 92%, #d8d2c8 8%);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__meta {
    margin: 18px 22px 8px;
    grid-area: meta;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__byline,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__summary,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note blockquote,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__footer {
    margin-right: 22px;
    margin-left: 22px;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2 {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 5px;
    font-size: clamp(21px, 1.7vw, 25px);
    line-height: 1.28;
    grid-area: title;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__byline {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 12px;
    grid-area: byline;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__summary {
    display: -webkit-box;
    margin-top: 13px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.65;
    grid-area: summary;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note blockquote {
    display: -webkit-box;
    align-self: start;
    margin-top: 13px;
    margin-bottom: 10px;
    padding: 7px 0 7px 12px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.6;
    grid-area: quote;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags {
    max-height: 25px;
    margin-bottom: 8px;
    overflow: hidden;
    grid-area: tags;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__footer {
    min-height: 44px;
    margin-bottom: 13px;
    padding-top: 6px;
    grid-area: footer;
  }
}

@media (min-width: 1280px) {
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-notes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note:nth-child(even):not(.curated-note--text-only) {
    min-height: 556px;
    grid-template-rows: clamp(200px, 14vw, 230px) auto auto auto auto minmax(56px, 1fr) auto auto;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media {
    height: clamp(200px, 14vw, 230px);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__meta {
    margin: 17px 20px 8px;
    grid-area: meta;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__byline,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__summary,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note blockquote,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__footer {
    margin-right: 20px;
    margin-left: 20px;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2 {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 5px;
    font-size: 21px;
    line-height: 1.28;
    grid-area: title;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

}

/* Keep a scanned row geometrically stable while the pointer moves between
 * cards.  The older layers lifted whichever recap happened to be hovered,
 * making a level two/three-column shelf visibly jump by 2–3px.  Border and
 * shadow feedback remain sufficient without displacing the editorial grid. */
@media (hover: hover) and (pointer: fine) {
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note:hover,
  .notes-screen .notes-index[data-notes-layout="list"] .curated-note:hover {
    transform: none;
  }
}

/* Header actions are indivisible labels.  Compact desktop removes the lowest
 * priority shortcuts before it ever asks Chinese text to wrap or collide. */
@media (min-width: 901px) {
  .locus-shell .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(12px, 1.55vw, 24px);
  }

  .locus-shell .desktop-nav,
  .locus-shell .header-tools {
    min-width: 0;
    flex-wrap: nowrap;
  }

  .locus-shell .header-tools > *,
  .locus-shell .header-contribute,
  .locus-shell .header-matrix,
  .locus-shell .theme-toggle,
  .locus-shell .header-contribution-center,
  .locus-shell .header-plan {
    width: max-content;
    max-width: none;
    flex: none;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: keep-all;
  }
}

@media (min-width: 901px) and (max-width: 1279px) {
  .locus-shell .header-contribution-center {
    display: none;
  }

  .locus-shell .desktop-nav a {
    padding-inline: 11px;
    white-space: nowrap;
    word-break: keep-all;
  }

  .locus-shell .header-tools {
    gap: 6px;
  }

  .locus-shell .header-contribute,
  .locus-shell .header-matrix,
  .locus-shell .header-plan {
    padding-inline: 12px;
  }
}

@media (min-width: 901px) and (max-width: 1039px) {
  .locus-shell .header-matrix {
    display: none;
  }

  .locus-shell .locus-brand > img {
    height: 28px;
  }

  .locus-shell .desktop-nav {
    gap: 1px;
  }

  .locus-shell .desktop-nav a {
    padding-inline: 8px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .notes-screen .notes-section-head {
    min-height: 64px;
    margin-bottom: 14px;
    padding: 0 0 13px;
    align-items: end;
  }

  .notes-screen .notes-section-head > div:first-child {
    gap: 5px;
  }

  .notes-screen .notes-section-head h1,
  .notes-screen .notes-section-head h2 {
    font-size: 22px;
  }

  .notes-screen .notes-section-head__tools {
    gap: 8px;
  }
}

/* V102 · personal notes begin with a decision, not an empty table.
 * Remove the retired paper spine and use the same quiet editorial rhythm as
 * the recap shelf.  The actions explain the two honest ways into a note:
 * discover a concrete activity or bind a note to one already attended. */
.notes-screen .personal-notes {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-top: clamp(38px, 5vw, 58px);
  margin-inline: 0;
}

.notes-screen .personal-notes .notes-section-head {
  margin-bottom: 0;
}

.notes-screen .personal-notes .field-note-list,
.notes-screen .personal-notes .notes-zero--compact {
  margin-left: 0;
  padding-left: 0;
}

.notes-screen .personal-notes-empty {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(460px, .85fr);
  align-items: stretch;
  gap: 0;
  min-height: 236px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--notes-ink) 13%, transparent);
  border-left: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
}

.notes-screen .personal-notes-empty__copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  padding: 44px clamp(24px, 5vw, 72px);
}

.notes-screen .personal-notes-empty__copy strong {
  max-width: 18ch;
  margin: 0;
  color: var(--notes-ink);
  font: 700 clamp(26px, 2.6vw, 38px)/1.18 var(--notes-serif);
  letter-spacing: -0.035em;
}

.notes-screen .personal-notes-empty__copy p {
  max-width: 62ch;
  color: var(--notes-muted);
  font-size: 13px;
  line-height: 1.72;
}

.notes-screen .personal-notes-empty__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  align-content: center;
  gap: 16px;
  min-width: 0;
  padding: 30px clamp(18px, 2.4vw, 32px) 30px 30px;
  border-left: 1px solid color-mix(in srgb, var(--notes-ink) 11%, transparent);
}

.notes-screen .personal-notes-empty__action {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 152px;
  padding: 24px 26px;
  color: var(--notes-ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--notes-ink) 13%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--notes-card) 88%, transparent);
  box-shadow: 0 8px 20px rgba(48, 34, 24, 0.04);
  cursor: pointer;
}

.notes-screen .personal-notes-empty__action--primary {
  color: #fff;
  border-color: var(--place, #147d69);
  background: var(--place, #147d69);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--place, #147d69) 18%, transparent);
}

.notes-screen .personal-notes-empty__action span {
  font-size: 16px;
  font-weight: 780;
}

.notes-screen .personal-notes-empty__action small {
  color: var(--notes-muted);
  font-size: 13px;
  line-height: 1.6;
}

.notes-screen .personal-notes-empty__action--primary small {
  color: rgb(255 255 255 / 76%);
}

.notes-screen .personal-notes-empty__action:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--place, #147d69) 52%, #fff);
  outline-offset: 3px;
}

/* V102 · login is an account boundary, not an artificial paywall. */
.contribution-center-screen .center-access-boundary,
.contribution-center-screen .center-account-strip--authenticated {
  border: 1px solid var(--v63-line, #dfe5e1);
  background: var(--v63-surface, #fff);
  box-shadow: var(--v63-shadow-contact, 0 2px 8px rgb(24 40 34 / 6%));
}

.contribution-center-screen .center-access-boundary {
  display: grid;
  overflow: hidden;
  border-radius: 18px;
}

.contribution-center-screen .center-access-boundary > header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: end;
  gap: 28px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--v63-line, #dfe5e1);
}

.contribution-center-screen .center-access-boundary h2 {
  margin: 5px 0 0;
  color: var(--v63-ink, #13231e);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.contribution-center-screen .center-access-boundary > header p,
.contribution-center-screen .center-access-boundary__note,
.contribution-center-screen .center-account-strip--authenticated p {
  margin: 0;
  color: var(--v63-muted, #66716c);
  font-size: 13px;
  line-height: 1.7;
}

.contribution-center-screen .center-access-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1px;
  background: var(--v63-line, #dfe5e1);
}

.contribution-center-screen .center-access-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 24px 28px;
  background: color-mix(in srgb, var(--v63-place, #147d69) 4%, var(--v63-surface, #fff));
}

.contribution-center-screen .center-access-card--account {
  background: color-mix(in srgb, var(--v63-action-fill, #7b3481) 4%, var(--v63-surface, #fff));
}

.contribution-center-screen .center-access-card > span {
  color: var(--v63-place, #147d69);
  font-size: 11px;
  font-weight: 800;
}

.contribution-center-screen .center-access-card--account > span {
  color: var(--v63-action-fill, #7b3481);
}

.contribution-center-screen .center-access-card h3 {
  margin: 0;
  color: var(--v63-ink, #13231e);
  font-size: 22px;
  letter-spacing: -.025em;
}

.contribution-center-screen .center-access-card ul {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  color: var(--v63-muted, #66716c);
  font-size: 13px;
  line-height: 1.6;
  list-style: none;
}

.contribution-center-screen .center-access-card li {
  position: relative;
  padding-left: 17px;
}

.contribution-center-screen .center-access-card li::before {
  position: absolute;
  left: 0;
  color: var(--v63-place, #147d69);
  content: "✓";
}

.contribution-center-screen .center-access-card--account li::before {
  color: var(--v63-action-fill, #7b3481);
  content: "→";
}

.contribution-center-screen .center-access-card .button {
  justify-self: start;
  min-height: 44px;
  margin-top: 10px;
}

.contribution-center-screen .center-access-boundary__note {
  padding: 15px 28px;
  border-top: 1px solid var(--v63-line, #dfe5e1);
  background: color-mix(in srgb, var(--v63-surface-2, #f7f9f7) 88%, transparent);
}

.contribution-center-screen .center-access-boundary__note strong {
  color: var(--v63-ink, #13231e);
}

.contribution-center-screen .center-account-strip--authenticated {
  min-height: 66px;
  border-radius: 15px;
}

.contribution-center-screen .center-account-strip--authenticated > .center-account-strip__identity {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
}

.contribution-center-screen .center-account-strip--authenticated > .center-account-strip__identity span {
  color: var(--v63-place, #147d69);
  font-size: 11px;
  font-weight: 800;
}

.contribution-center-screen .center-account-strip--authenticated > .center-account-strip__identity strong {
  color: var(--v63-ink, #13231e);
}

.contribution-center-screen .center-account-strip--authenticated > p {
  flex: 1 1 420px;
}

.contribution-center-screen .center-account-strip--authenticated > [data-center-logout] {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 16px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .notes-screen .personal-notes-empty {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .notes-screen .personal-notes-empty__copy {
    padding: 24px 2px 20px;
  }

  .notes-screen .personal-notes-empty__actions {
    width: 100%;
    padding: 0 0 22px;
    border-left: 0;
  }

  .contribution-center-screen .center-access-boundary > header,
  .contribution-center-screen .center-access-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contribution-center-screen .center-access-boundary > header {
    gap: 8px;
    padding: 22px 18px 18px;
  }

  .contribution-center-screen .center-access-card {
    padding: 20px 18px;
  }

  .contribution-center-screen .center-access-card .button {
    width: 100%;
  }

  .contribution-center-screen .center-access-boundary__note {
    padding: 14px 18px;
  }

  .contribution-center-screen .center-account-strip--authenticated {
    align-items: flex-start;
    flex-direction: column;
  }

  .contribution-center-screen .center-account-strip--authenticated > p {
    flex: none;
  }

  .contribution-center-screen .center-account-strip--authenticated > [data-center-logout] {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .notes-screen .personal-notes-empty__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-screen .personal-notes-empty__action {
    width: 100%;
    min-height: 80px;
  }
}

@media (max-width: 900px) {
  .locus-shell {
    --field-page-edge: 12px;
  }

  /* Archive supplies the compact mobile topbar just like Sources and the
   * contribution center.  Because it also inherits `.home-screen`, legacy
   * Home rules kept the desktop header visible and stacked two sticky bars. */
  .archive-screen .site-header {
    display: none;
  }
}

/* V105 · scan-first activity rows + evidence-dense recap tiles.
 *
 * The list is a working index, not a second card gallery: time/status, title
 * and venue, evidence art and the next action therefore own fixed columns.
 * The recap grid borrows Open Source Radar's strongest idea — every cell has a
 * stable evidence bay and a compact, repeatable reading hierarchy — while
 * retaining Locus' quieter paper palette and source-attribution contract. */
@media (min-width: 901px) {
  .home-screen main[data-home-layout="list"] .home-event-list {
    gap: 10px;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--text-only,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--landscape-artwork {
    width: 100%;
    height: 160px;
    min-height: 160px;
    padding: 12px 16px 12px 18px;
    overflow: hidden;
    grid-template-columns: 112px minmax(0, 1fr) 100px 132px;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    column-gap: 18px;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgb(21 38 31 / 5%), 0 7px 20px rgb(21 38 31 / 5%);
    transform: none;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event::before {
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 3px;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__content,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--text-only .home-event__content,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--landscape-artwork .home-event__content {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 18px;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event > .home-event__content {
    grid-column: 1 / 5;
    grid-template-columns: 112px minmax(0, 1fr) 100px 132px;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__timing,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--text-only .home-event__timing {
    display: grid;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding-right: 16px;
    grid-column: 1;
    grid-row: 1 / 3;
    align-content: center;
    align-self: stretch;
    justify-items: start;
    gap: 9px;
    border-right: 1px solid color-mix(in srgb, var(--v63-line) 86%, transparent);
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__time {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__time strong {
    font-size: 17px;
    line-height: 1;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__time span,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event__access {
    font-size: 10px;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__title,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--text-only .home-event__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__venue,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--text-only .home-event__venue {
    display: flex;
    min-width: 0;
    margin: 8px 0 0;
    overflow: hidden;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.45;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__venue > span {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__media,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--landscape-artwork .home-event__media {
    width: 90px;
    height: 134px;
    margin: 0;
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
    border-radius: 10px;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event--landscape-artwork .home-event__media.home-event__media--landscape {
    width: 96px;
    height: 76px;
    aspect-ratio: auto;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__media.row-cover--official > img {
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: contain;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__actions,
  .home-screen main[data-home-layout="list"] .home-event-list .home-event--text-only .home-event__actions {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    grid-column: 4;
    grid-row: 1 / 3;
    align-self: center;
    align-items: center;
    justify-content: stretch;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event > .home-event__media {
    position: absolute;
    top: 50%;
    right: 174px;
    z-index: 2;
    transform: translateY(-50%);
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event__action {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding-inline: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .home-screen main[data-home-layout="list"] .home-event-list .home-event:hover {
    transform: none;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-notes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note:nth-child(even):not(.curated-note--text-only) {
    --notes-tile-media-height: 218px;
    display: grid;
    min-height: 548px;
    overflow: hidden;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "meta"
      "title"
      "byline"
      "summary"
      "quote"
      "tags"
      "footer";
    grid-template-rows: var(--notes-tile-media-height) auto auto auto auto minmax(48px, 1fr) auto auto;
    border-color: color-mix(in srgb, var(--notes-ink) 13%, transparent);
    border-radius: 13px;
    background: color-mix(in srgb, var(--notes-card) 98%, #fff 2%);
    box-shadow: 0 1px 2px rgba(45, 35, 25, 0.04), 0 7px 20px rgba(45, 35, 25, 0.055);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media {
    display: grid;
    width: 100%;
    height: var(--notes-tile-media-height);
    margin: 0;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--notes-v88-line);
    border-radius: 12px 12px 0 0;
    grid-area: media;
    grid-template-rows: minmax(0, 1fr);
    background: color-mix(in srgb, var(--notes-paper) 91%, #d8d2c8 9%);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media-frame,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media--portrait .curated-note__media-frame {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    place-items: center;
    overflow: hidden;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    margin-inline: auto;
    object-fit: cover;
    object-position: var(--artwork-focus, 50% 50%);
    image-rendering: auto;
    transform: none;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media--portrait img {
    object-fit: contain;
    background: color-mix(in srgb, var(--notes-paper) 92%, #d8d2c8 8%);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media img[width="1080"] {
    width: min(100%, 540px);
  }

  /* This source photograph is 640px wide. At a 2x display it must remain at
   * or below 320 CSS pixels rather than being stretched to a wide tile. */
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media img[width="640"] {
    width: min(100%, 320px);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media-frame > img {
    position: absolute;
    inset: 0;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media-frame > img[width="640"] {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media figcaption {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 9px;
    line-height: 1.35;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__meta {
    display: flex;
    min-width: 0;
    margin: 14px 16px 7px;
    gap: 7px;
    overflow: hidden;
    grid-area: meta;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__meta > * {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__byline,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__summary,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note blockquote,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__footer {
    margin-right: 16px;
    margin-left: 16px;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2 {
    display: -webkit-box;
    margin-bottom: 5px;
    overflow: hidden;
    color: var(--notes-ink);
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.025em;
    grid-area: title;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__byline {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.45;
    grid-area: byline;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__summary {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    color: color-mix(in srgb, var(--notes-ink) 76%, transparent);
    font-size: 11px;
    line-height: 1.58;
    grid-area: summary;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note blockquote {
    display: -webkit-box;
    align-self: start;
    margin-top: 10px;
    margin-bottom: 8px;
    padding: 7px 0 7px 10px;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.55;
    grid-area: quote;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags {
    display: flex;
    max-height: 24px;
    margin-bottom: 7px;
    gap: 4px;
    overflow: hidden;
    flex-wrap: nowrap;
    grid-area: tags;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags li {
    min-width: 0;
    padding: 3px 6px;
    overflow: hidden;
    font-size: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__footer {
    min-height: 42px;
    margin-bottom: 10px;
    padding-top: 5px;
    grid-area: footer;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__read,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__source {
    font-size: 9.5px;
    white-space: nowrap;
  }
}

@media (min-width: 1280px) {
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-notes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note:nth-child(even):not(.curated-note--text-only) {
    --notes-tile-media-height: 190px;
    min-height: 526px;
  }
}

@media (min-width: 1600px) {
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-notes__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note:nth-child(even):not(.curated-note--text-only) {
    --notes-tile-media-height: 178px;
    min-height: 514px;
  }
}

@media (max-width: 900px) {
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-notes__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note:nth-child(even):not(.curated-note--text-only) {
    display: grid;
    min-height: 0;
    overflow: hidden;
    padding: 0 0 14px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "meta"
      "title"
      "byline"
      "summary"
      "quote"
      "tags"
      "footer";
    grid-template-rows: auto auto auto auto auto auto auto auto;
    column-gap: 0;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media {
    display: grid;
    width: 100%;
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    grid-area: media;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media-frame,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media--portrait .curated-note__media-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__meta,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__byline,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__summary,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note blockquote,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__footer {
    display: initial;
    margin-right: 18px;
    margin-left: 18px;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__meta {
    display: flex;
    margin-top: 16px;
    grid-area: meta;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note h2 {
    display: -webkit-box;
    grid-area: title;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__byline { grid-area: byline; }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__summary {
    display: -webkit-box;
    grid-area: summary;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note blockquote {
    display: -webkit-box;
    grid-area: quote;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__tags {
    display: flex;
    grid-area: tags;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__footer {
    display: flex;
    grid-area: footer;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media--portrait img {
    object-fit: contain;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media img[width="640"] {
    display: block;
    width: min(100%, 320px);
    height: 100%;
    margin-inline: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }


  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media img[width="1080"] {
    display: block;
    width: min(100%, 540px);
    height: 100%;
    margin-inline: auto;
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media-frame,
  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media--portrait .curated-note__media-frame {
    max-height: 270px;
  }

  .notes-screen .notes-index[data-notes-layout="grid"] .curated-note__media-frame > img[width="640"] {
    height: min(100%, 255.5px);
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }
}
